WO2019206225A1 - Light supplement method and mobile terminal - Google Patents

Light supplement method and mobile terminal Download PDF

Info

Publication number
WO2019206225A1
WO2019206225A1 PCT/CN2019/084295 CN2019084295W WO2019206225A1 WO 2019206225 A1 WO2019206225 A1 WO 2019206225A1 CN 2019084295 W CN2019084295 W CN 2019084295W WO 2019206225 A1 WO2019206225 A1 WO 2019206225A1
Authority
WO
WIPO (PCT)
Prior art keywords
fill light
synchronization signal
frame synchronization
driving circuit
light
Prior art date
Application number
PCT/CN2019/084295
Other languages
French (fr)
Chinese (zh)
Inventor
丁浩
徐璟
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2019206225A1 publication Critical patent/WO2019206225A1/en

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

Definitions

  • the present disclosure relates to the field of terminals, and in particular, to a method of supplementing light and a mobile terminal.
  • a camera and a fill light are arranged in the mobile terminal, and the camera is used to collect image data or video data of the photographed object when the user performs photographing or face recognition, and the fill light is used to fill the photographing object.
  • the time point at which the camera starts to collect data and the time point at which the fill light is turned on are separately controlled.
  • the time required for the fill light to be illuminated is at least the time for acquiring two frames of images.
  • the fill light has a longer lighting time, resulting in a shorter life of the fill light and higher power consumption.
  • Embodiments of the present disclosure provide a method of filling light to solve the problem of short service life and high power consumption caused by long lighting time of the fill light.
  • a method of supplementing light comprising:
  • the backlight is turned on by the driving circuit with the frame synchronization signal as a trigger signal, and the frame synchronization signal is turned on.
  • the output pin is connected to an enable pin of the drive circuit of the fill light.
  • a mobile terminal in a second aspect, includes:
  • a driving circuit of the fill light configured to: when the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light, driving the fill light to be turned on by using the frame synchronization signal as a trigger signal
  • the frame synchronization signal output pin is connected to an enable pin of a driving circuit of the fill light.
  • a mobile terminal comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor.
  • a computer readable storage medium storing a computer program, the computer program being executed by a processor to implement the steps of the method of supplementing light as described in the first aspect.
  • the frame synchronization signal output pin of the camera is connected to the enable pin of the driving circuit of the fill light, so that the terminal device can frame the frame through the driving circuit when the frame synchronization signal is output to the driving circuit of the fill light.
  • the synchronization signal is used as the trigger signal to drive the fill light to be turned on, which can realize the synchronous control of the fill light and the camera acquisition data, so that the time of the fill light is at least the time of acquiring one frame of image can provide sufficient exposure for data acquisition. Brightness reduces the duration of the fill light, which increases the life of the fill light and reduces the power consumption of the fill light.
  • FIG. 1 is a schematic flow chart of a method of filling light according to an embodiment of the present disclosure.
  • FIG. 2 is a schematic flow diagram of a method of supplementing light in accordance with an embodiment of the present disclosure.
  • FIG. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a mobile terminal according to another embodiment of the present disclosure.
  • FIG. 1 is a schematic flow chart of a method of filling light according to an embodiment of the present disclosure.
  • the method shown in FIG. 1 can be performed by a mobile terminal, and the method shown in FIG. 1 includes:
  • the frame synchronization signal output pin (VSYNC_OUT) of the camera may also be referred to as a frame synchronization signal pin.
  • 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 to the enable pin of the driving circuit, so that the frame synchronization signal outputted by the frame synchronization signal output pin is directly output to the driving circuit.
  • the frequency of the frame sync signal is the same as the sampling frequency of the camera.
  • the specific implementation manner that the frame synchronization signal output pin is connected to the enable pin of the driving circuit of the fill light may be that the frame synchronization signal output pin is directly connected to the enable pin of the driving circuit of the fill light, or The frame sync signal output pin is indirectly connected to the enable pin of the fill lamp driving circuit.
  • the camera is a Complementary Metal Oxide Semiconductor Camera Module (CCM).
  • CCM Complementary Metal Oxide Semiconductor Camera Module
  • the camera is used for normal photography, in which case the fill light is a visible light fill light.
  • the camera is used for face recognition, in which case the fill light is an infrared fill light. Since the infrared light belongs to invisible light, the infrared fill light is used to fill the process of face recognition, which does not cause an uncomfortable feeling and can improve user comfort.
  • the fill light is an infrared fill light.
  • the method shown in FIG. 1 further includes: acquiring light information of a current environment, where the light information includes one of the following information: The intensity information, the illuminance information, and the illuminance information; determining, according to the optical information, whether a condition for turning on the fill light in the current environment is satisfied. It can be understood that the optical information can also include other parameter information for characterizing the light.
  • the light information includes illuminance information
  • the ambient light sensor in the mobile terminal detects the illuminance of the current environment, obtains the illuminance value, and then compares the obtained illuminance value with a preset illuminance threshold (for example, 2 lux), if obtained
  • a preset illuminance threshold for example, 2 lux
  • the fill light is an infrared fill light.
  • the method described in FIG. 1 further includes: detecting whether a user inputs a face recognition trigger operation for triggering face recognition. That is to say, when it is detected that the face recognition in the dark environment is triggered, when the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the infrared fill lamp, the frame is synchronized by the driving circuit. The signal acts as a trigger to drive the IR fill light on.
  • the face recognition triggering operation may be an operation of touching the power button when the mobile terminal is in the off-screen state, or a lifting operation when the mobile terminal is in the off-screen state, and may be through the three-axis set in the mobile terminal.
  • the gyroscope and gravity accelerometer detect if the user has a wrist lift operation.
  • the driving circuit using the frame synchronization signal as the trigger signal can be regarded as the enabling signal of the frame synchronization signal as the driving circuit.
  • the camera usually starts collecting data when the level of the frame sync signal pin is pulled high, the frame sync signal output is directly output to the drive when the level of the frame sync signal pin is pulled high.
  • the circuit acts as a trigger signal to cause the driver circuit to drive the fill light to be turned on, but the preset duration here is usually very short, for example 1 ms, so it can be ignored. It can be considered that the fill light is turned on and the camera starts collecting data at the same time.
  • driving the fill light to be turned on by using the frame synchronization signal as a trigger signal by the driving circuit specifically: outputting a target current at a timing of receiving the frame synchronization signal by the driving circuit to drive the infrared fill light to be turned on.
  • the camera on the mobile terminal is used for both ordinary photography and face recognition.
  • the transmittance of the infrared film of the camera is usually low when implemented, for example, , less than 1%.
  • the current of the infrared fill lamp will increase, and it is usually added to 1A or more. Excessive current will cause the IR fill light to turn on for a few hundred ms to reach the junction temperature and cannot be used. Therefore, the simulation can be performed according to the ambient brightness and the required fill light intensity, the current value of the target current that the drive circuit needs to output is determined, and the determined current value is preset in the mobile terminal, which can simplify the implementation of the mobile terminal.
  • the method of FIG. 1 further includes: determining a current value of the target current according to the optical information and the preset correspondence, where the preset correspondence includes a correspondence between the optical information and the current value.
  • the correspondence between the illuminance value and the current value is pre-configured in the mobile terminal. After the illuminance value of the current environment is obtained, the current value of the driving fill lamp can be obtained according to the obtained illuminance value and the corresponding relationship. . Therefore, it is possible to determine an appropriate driving current according to the brightness of the current environment, and to avoid the problem that the junction temperature of the fill lamp is always caused by the use of a large current.
  • the fact that the fill light is turned on substantially means that one light-off period of the fill light is triggered.
  • the fill light is turned on and off according to the period of the first time period, and the second time period is extinguished.
  • a light-off period of the fill light is completed, if the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light again, a light-off period of the fill light is triggered again.
  • the time point at which the camera collects data and the time point at which the fill light is turned on are separately controlled.
  • the duration of the fill light illumination is at least for one light-off period.
  • the opening of the fill light and the data acquisition are synchronously controlled. Therefore, in a lighting-off period, the time for the fill light to illuminate is at least the time for acquiring one frame of image, and the fill light The illumination time is reduced, so that the emission power of the fill light is reduced, thereby prolonging the effective working time of the fill light and improving the use time of the whole machine.
  • an experimental simulation is performed according to the junction temperature of the infrared fill lamp and the sampling frequency of the camera, and the duration of the fill light to be illuminated and the length of time required to be extinguished in a bright-off period are determined.
  • the duration of the fill light needs to be illuminated for 90 ms, and the duration required to be extinguished is 300 ms.
  • FIG. 2 is a schematic flow diagram of a method of filling light in accordance with an embodiment of the present disclosure.
  • the method shown in FIG. 2 can be performed by a mobile terminal, and the method shown in FIG. 2 includes:
  • the dark environment can be a light environment preset according to different rules or standards.
  • S220 The frame synchronization signal output by the camera is output to an enable control port of the driving circuit of the fill light.
  • the driving circuit of the fill light uses the frame synchronization signal as a trigger signal to drive the fill light to be on.
  • the method of filling light according to an embodiment of the present disclosure has been described in detail above with reference to FIGS. 1 and 2, and a mobile terminal according to an embodiment of the present disclosure will be described in detail below with reference to FIG.
  • the mobile terminal 30 shown in FIG. 3 includes:
  • a driving circuit 31 for the fill light configured to drive the fill light with the frame synchronization signal as a trigger signal when a frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light
  • the frame synchronization signal output pin is connected to an enable pin of a driving circuit of the fill light.
  • the frame synchronization signal output pin of the camera is connected to the enable pin of the driving circuit of the fill light, and can be frame-synchronized by the driving circuit when the frame synchronization signal is output to the driving circuit of the fill light.
  • the signal is used as the trigger signal to drive the fill light to be turned on, which can realize the synchronous control of the fill light and the data collected by the camera, so that the time of the fill light is at least the time of acquiring one frame of image can provide sufficient exposure brightness for data acquisition. , reducing the duration of the fill light, thereby increasing the life of the fill light and reducing the power consumption of the fill light.
  • the fill light is an infrared fill light.
  • the mobile terminal 30 further includes:
  • the processing unit 32 is configured to acquire optical information of a current environment, where the optical information includes one of the following information, before the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light Species: light intensity information, illuminance information, and lightness information;
  • processing unit 32 is further configured to:
  • the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light, it is detected whether the user inputs a face recognition triggering operation for triggering face recognition.
  • the driving circuit 31 of the fill light is specifically configured to:
  • a target current is output at a timing of receiving the frame synchronization signal to drive the infrared fill light to be turned on.
  • the driving circuit 31 of the fill light is further configured to:
  • a mobile terminal may refer to a flow of a method corresponding to an embodiment of the present disclosure, and each unit/module in the mobile terminal and the other operations and/or functions described above are respectively implemented in the method shown in FIG. The corresponding process, for the sake of brevity, will not be described here.
  • FIG. 4 is a schematic structural diagram of hardware of a mobile terminal that implements an embodiment of the present disclosure.
  • the mobile terminal 400 includes, but is not limited to, a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, and a memory 409. , processor 410, and power supply 411 and other components.
  • the mobile terminal structure shown in FIG. 4 does not constitute a limitation of the mobile terminal, and the mobile terminal may include more or less components than those illustrated, or combine some components, or different components. Arrangement.
  • the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle terminal, a wearable device, a pedometer, and the like.
  • the processor 410 is configured to: when the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light, the driving circuit drives the fill light by using the frame synchronization signal as a trigger signal.
  • the lamp is turned on, and the frame synchronization signal output pin is connected to an enable pin of the driving circuit of the fill lamp.
  • the frame synchronization signal output pin of the camera is connected to the enable pin of the driving circuit of the fill light, and can be frame-synchronized by the driving circuit when the frame synchronization signal is output to the driving circuit of the fill light.
  • the signal is used as the trigger signal to drive the fill light to be turned on, which can realize the synchronous control of the fill light and the data collected by the camera, so that the time of the fill light is at least the time of acquiring one frame of image can provide sufficient exposure brightness for data acquisition. , reducing the duration of the fill light, thereby increasing the life of the fill light and reducing the power consumption of the fill light.
  • the radio frequency unit 401 can be used for receiving and transmitting signals during the transmission and reception of information or during a call, and specifically, after receiving downlink data from the base station, processing the data to the processor 410; The uplink data is sent to the base station.
  • radio frequency 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.
  • the radio unit 401 can also communicate with the 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 to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 403 can convert the 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 a sound. Moreover, the audio output unit 403 can also provide audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 400.
  • the audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 404 is for receiving an audio or video signal.
  • the input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042 that images an still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode.
  • the data is processed.
  • the processed image frame can be displayed on the display unit 406.
  • the image frames processed by the graphics processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio unit 401 or the network module 402.
  • the microphone 4042 can receive sound and can process such sound as audio data.
  • the processed audio data can be converted to a format output that can be transmitted to the mobile communication base station via the radio unit 401 in the case of a telephone call mode.
  • the mobile terminal 400 also includes at least one type of sensor 405, such as a light sensor, motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 4061 when the mobile terminal 400 moves to the ear. / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the attitude of the mobile terminal (such as horizontal and vertical screen switching, related games).
  • sensor 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensor or the like, wherein the infrared sensor can measure the distance between the object and the mobile terminal by transmitting and receiving infrared light, and details are not described herein again.
  • the display unit 406 is for displaying information input by the user or information provided to the user.
  • the display unit 406 can include a display panel 4061.
  • the display panel 4061 can 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 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal.
  • the user input unit 407 includes a touch panel 4071 and other input devices 4072.
  • the touch panel 4071 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 4071 or near the touch panel 4071. operating).
  • the touch panel 4071 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 410 receives the commands from the processor 410 and executes them.
  • the touch panel 4071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the user input unit 407 may also include other input devices 4072.
  • the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, and are not described herein again.
  • the touch panel 4071 can be overlaid on the display panel 4061.
  • the touch panel 4071 detects a touch operation thereon or nearby, the touch panel 4071 transmits to the processor 410 to determine the type of the touch event, and then the processor 410 according to the touch.
  • the type of event provides a corresponding visual output on display panel 4061.
  • the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 can be integrated with the display panel 4061.
  • the input and output functions of the mobile terminal are implemented, and are not limited herein.
  • the interface unit 408 is an interface in which an external device is connected to the mobile terminal 400.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more.
  • the interface unit 408 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 400 or can be used at the mobile terminal 400 and externally Data is transferred between devices.
  • Memory 409 can 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 required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.).
  • the memory 409 may include a high speed random access memory, and may also include a nonvolatile 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 that connects various portions of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 409, and recalling data stored in the memory 409.
  • the mobile terminal performs various functions and processing data to perform overall monitoring on the mobile terminal.
  • the processor 410 may include one or more processing units; optionally, the processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, etc., and a modulation solution
  • the processor mainly handles wireless communication. It can be understood that the above modem processor may not be integrated into the processor 410.
  • the mobile terminal 400 may further include a power source 411 (such as a battery) for supplying power to various components.
  • a power source 411 such as a battery
  • the power source 411 may be logically connected to the processor 410 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the mobile terminal 400 includes a camera, a fill light, and some functional modules not shown, and details are not described herein again.
  • an embodiment of the present disclosure further provides a mobile terminal, including a processor 410, a memory 409, a computer program stored on the memory 409 and executable on the processor 410, the computer program being executed by the processor 410.
  • a mobile terminal including a processor 410, a memory 409, a computer program stored on the memory 409 and executable on the processor 410, the computer program being executed by the processor 410.
  • the embodiment of the present disclosure further provides a computer readable storage medium, where the computer program is stored on a computer program, and when the computer program is executed by the processor, the processes of the method shown in FIG. 1 are implemented, and the same can be achieved. Technical effects, to avoid repetition, will not be repeated here.
  • the computer readable storage medium such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • embodiments of the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure 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, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, 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 disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
  • embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or a combination of software and hardware aspects. Moreover, the present disclosure 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, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.

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

Disclosed are a light supplement method and a mobile terminal. The method comprises: driving, when a frame synchronization signal output by a frame synchronization signal output pin of a camera is output to a driver circuit of a light supplement lamp, the light supplement lamp to be turned on by means of the driver circuit by using the frame synchronization signal as a trigger signal, the frame synchronization signal output pin being connected to an enable pin of the driver circuit of the light supplement lamp.

Description

补光的方法和移动终端Filling method and mobile terminal
相关申请的交叉引用Cross-reference to related applications
本申请主张在2018年4月28日在中国提交的中国专利申请号No.201810400480.9的优先权,其全部内容通过引用包含于此。The present application claims priority to Chinese Patent Application No. 201 810 040 044, filed on Jan. 28, 2018, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本公开涉及终端领域,尤其涉及一种补光的方法和移动终端。The present disclosure relates to the field of terminals, and in particular, to a method of supplementing light and a mobile terminal.
背景技术Background technique
随着移动通信技术的迅猛发展,移动终端已成为人们生活必不可少的电子产品,而移动终端中的拍照功能或人脸识别功能是人们常用的功能之一。通常移动终端中会配置有摄像头和补光灯,摄像头用于在用户进行拍照或者人脸识别时对拍摄对象进行图像数据或视频数据的采集,补光灯用于对拍摄对象进行补光。With the rapid development of mobile communication technology, mobile terminals have become an indispensable electronic product for people's lives, and the camera function or face recognition function in mobile terminals is one of the commonly used functions. Generally, a camera and a fill light are arranged in the mobile terminal, and the camera is used to collect image data or video data of the photographed object when the user performs photographing or face recognition, and the fill light is used to fill the photographing object.
但相关技术中摄像头开始采集数据的时间点和补光灯开启的时间点是分开控制的,为了给数据采集提供足够的曝光亮度,要求补光灯的亮灯时长至少是采集两帧图像的时间,补光灯的亮灯时间较长,导致补光灯的使用寿命较短,耗电较高。However, in the related art, the time point at which the camera starts to collect data and the time point at which the fill light is turned on are separately controlled. In order to provide sufficient exposure brightness for data acquisition, the time required for the fill light to be illuminated is at least the time for acquiring two frames of images. The fill light has a longer lighting time, resulting in a shorter life of the fill light and higher power consumption.
发明内容Summary of the invention
本公开实施例提供一种补光的方法,以解决补光灯的亮灯时间长导致的使用寿命短,耗电高的问题。Embodiments of the present disclosure provide a method of filling light to solve the problem of short service life and high power consumption caused by long lighting time of the fill light.
第一方面,提供了一种补光的方法,该方法包括:In a first aspect, a method of supplementing light is provided, the method comprising:
在摄像头的帧同步信号输出脚输出的帧同步信号输出至补光灯的驱动电路时,通过所述驱动电路以所述帧同步信号作为触发信号驱动所述补光灯开启,所述帧同步信号输出脚与所述补光灯的驱动电路的使能脚相连。When the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light, the backlight is turned on by the driving circuit with the frame synchronization signal as a trigger signal, and the frame synchronization signal is turned on. The output pin is connected to an enable pin of the drive circuit of the fill light.
第二方面,提供了一种移动终端,该移动终端包括:In a second aspect, a mobile terminal is provided, where the mobile terminal includes:
补光灯的驱动电路,用于在摄像头的帧同步信号输出脚输出的帧同步信 号输出至所述补光灯的驱动电路时,以所述帧同步信号作为触发信号驱动所述补光灯开启,所述帧同步信号输出脚与所述补光灯的驱动电路的使能脚相连。a driving circuit of the fill light, configured to: when the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light, driving the fill light to be turned on by using the frame synchronization signal as a trigger signal The frame synchronization signal output pin is connected to an enable pin of a driving circuit of the fill light.
第三方面,提供了一种移动终端,该移动终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面所述的补光的方法的步骤。In a third aspect, a mobile terminal is provided, the mobile terminal comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor The steps of the method of filling light as described in the first aspect are achieved.
第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的补光的方法的步骤。In a fourth aspect, a computer readable storage medium is provided, the computer readable storage medium storing a computer program, the computer program being executed by a processor to implement the steps of the method of supplementing light as described in the first aspect.
在本公开实施例中,摄像头的帧同步信号输出脚与补光灯的驱动电路的使能脚相连,使得终端设备能够在帧同步信号输出至补光灯的驱动电路时,通过驱动电路以帧同步信号作为触发信号驱动补光灯开启,能够实现补光灯亮灯和摄像头采集数据的同步控制,使得补光灯的亮灯时长至少是采集一帧图像的时间即可以给数据采集提供足够的曝光亮度,减少了补光灯的亮灯时长,从而提高补光灯的使用寿命,降低补光灯的功耗。In the embodiment of the present disclosure, the frame synchronization signal output pin of the camera is connected to the enable pin of the driving circuit of the fill light, so that the terminal device can frame the frame through the driving circuit when the frame synchronization signal is output to the driving circuit of the fill light. The synchronization signal is used as the trigger signal to drive the fill light to be turned on, which can realize the synchronous control of the fill light and the camera acquisition data, so that the time of the fill light is at least the time of acquiring one frame of image can provide sufficient exposure for data acquisition. Brightness reduces the duration of the fill light, which increases the life of the fill light and reduces the power consumption of the fill light.
附图说明DRAWINGS
此处所说明的附图用来提供对本公开的进一步理解,构成本公开的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the disclosure, and are intended to be a In the drawing:
图1是根据本公开的一个实施例的补光的方法的示意性流程图。FIG. 1 is a schematic flow chart of a method of filling light according to an embodiment of the present disclosure.
图2是根据本公开的一个具体实施例的补光的方法的示意性流程图。2 is a schematic flow diagram of a method of supplementing light in accordance with an embodiment of the present disclosure.
图3是根据本公开一个实施例的移动终端的结构示意图。FIG. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
图4是根据本公开另一个实施例的移动终端的结构示意图。FIG. 4 is a schematic structural diagram of a mobile terminal according to another embodiment of the present disclosure.
具体实施方式detailed description
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创 造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present disclosure. It is obvious that the described embodiments are a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without departing from the scope of the present invention are within the scope of the present disclosure.
图1是根据本公开一个实施例的补光的方法的示意性流程图。图1所示的方法可以由移动终端执行,图1所示的方法包括:FIG. 1 is a schematic flow chart of a method of filling light according to an embodiment of the present disclosure. The method shown in FIG. 1 can be performed by a mobile terminal, and the method shown in FIG. 1 includes:
S110,在摄像头的帧同步信号输出脚输出的帧同步信号输出至补光灯的驱动电路时,通过所述驱动电路以所述帧同步信号作为触发信号驱动所述补光灯开启,所述帧同步信号输出脚与所述补光灯的驱动电路的使能脚相连。S110, when the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light, the backlight is turned on by the driving circuit by using the frame synchronization signal as a trigger signal, the frame The sync signal output pin is coupled to an enable pin of the fill lamp drive circuit.
需要说明的是,摄像头的帧同步信号输出脚(VSYNC_OUT)也可以称作帧同步信号引脚,当摄像头要曝光采集数据时,帧同步信号输出脚的电平被拉高,同时输出帧同步信号。帧同步信号输出脚与驱动电路的使能脚相连,使得帧同步信号输出脚输出的帧同步信号直接输出至驱动电路。帧同步信号的频率与摄像头的采样频率相同。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. When the camera is to expose the collected 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 to the enable pin of the driving circuit, so that the frame synchronization signal outputted by the frame synchronization signal output pin is directly output to the driving circuit. The frequency of the frame sync signal is the same as the sampling frequency of the camera.
还需要说明的是,帧同步信号输出脚与补光灯的驱动电路的使能脚相连的具体实现方式可以是帧同步信号输出脚与补光灯的驱动电路的使能脚直接相连,或者可以是帧同步信号输出脚与补光灯的驱动电路的使能脚间接相连。It should be noted that the specific implementation manner that the frame synchronization signal output pin is connected to the enable pin of the driving circuit of the fill light may be that the frame synchronization signal output pin is directly connected to the enable pin of the driving circuit of the fill light, or The frame sync signal output pin is indirectly connected to the enable pin of the fill lamp driving circuit.
可选地,在一些实施例中,摄像头为互补金属氧化物半导体摄像模组(Complementary Metal Oxide Semiconductor Camera Module,CCM)。Optionally, in some embodiments, the camera is a Complementary Metal Oxide Semiconductor Camera Module (CCM).
可选地,在一些实施例中,摄像头用于普通拍照,在这种情况下,补光灯为可见光补光灯。或者摄像头用于人脸识别,在这种情况下,补光灯为红外补光灯。由于红外光属于不可见光,使用红外补光灯对人脸识别的过程进行补光,不会让人产生不适的感觉,能够提高用户的舒适性。Optionally, in some embodiments, the camera is used for normal photography, in which case the fill light is a visible light fill light. Or the camera is used for face recognition, in which case the fill light is an infrared fill light. Since the infrared light belongs to invisible light, the infrared fill light is used to fill the process of face recognition, which does not cause an uncomfortable feeling and can improve user comfort.
可选地,作为一个例子,补光灯为红外补光灯,在S110之前,图1所示的方法还包括:获取当前环境的光信息,所述光信息包括以下信息中的一种:光强度信息、光照度信息和光亮度信息;根据所述光信息确定是否满足在所述当前环境下开启补光灯的条件。可以理解的是,光信息还可以包括其它用于表征光的参数信息。Optionally, as an example, the fill light is an infrared fill light. Before S110, the method shown in FIG. 1 further includes: acquiring light information of a current environment, where the light information includes one of the following information: The intensity information, the illuminance information, and the illuminance information; determining, according to the optical information, whether a condition for turning on the fill light in the current environment is satisfied. It can be understood that the optical information can also include other parameter information for characterizing the light.
举例来说,光信息包括光照度信息,通过移动终端中的环境光传感器检测当前环境的光照度,获取光照度值,然后将获取到的光照度值与预设光照度阈值(例如,2lux)进行对比,如果获取到的光照度值低于预设光照度阈值则确定满足在当前环境下开启红外补光灯的条件。在这里,可以将光照度 值低于预设光照度阈值的环境称为“暗环境”。For example, the light information includes illuminance information, the ambient light sensor in the mobile terminal detects the illuminance of the current environment, obtains the illuminance value, and then compares the obtained illuminance value with a preset illuminance threshold (for example, 2 lux), if obtained When the illuminance value is lower than the preset illuminance threshold, it is determined that the condition of turning on the infrared fill light in the current environment is satisfied. Here, an environment where the illuminance value is lower than the preset illuminance threshold can be referred to as a "dark environment."
进一步地,作为另一个例子,补光灯为红外补光灯,在S110之前,图1所述的方法还包括:检测用户是否输入用于触发人脸识别的人脸识别触发操作。也就是说,在检测到暗环境下的人脸识别被触发的情况下,在摄像头的帧同步信号输出脚输出的帧同步信号输出至红外补光灯的驱动电路时,通过驱动电路以帧同步信号作为触发信号驱动红外补光灯开启。Further, as another example, the fill light is an infrared fill light. Before S110, the method described in FIG. 1 further includes: detecting whether a user inputs a face recognition trigger operation for triggering face recognition. That is to say, when it is detected that the face recognition in the dark environment is triggered, when the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the infrared fill lamp, the frame is synchronized by the driving circuit. The signal acts as a trigger to drive the IR fill light on.
举例来说,人脸识别触发操作可以为在移动终端处于灭屏状态时触摸开关(Power)键的操作,或者移动终端处于灭屏状态时的抬腕操作,可以通过移动终端中设置的三轴陀螺仪和重力加速计检测用户是否有抬腕操作。For example, the face recognition triggering operation may be an operation of touching the power button when the mobile terminal is in the off-screen state, or a lifting operation when the mobile terminal is in the off-screen state, and may be through the three-axis set in the mobile terminal. The gyroscope and gravity accelerometer detect if the user has a wrist lift operation.
在本公开实施例中,可以理解的是,驱动电路以帧同步信号作为触发信号可以看作是将帧同步信号作为驱动电路的使能信号。虽然通常情况下当帧同步信号引脚的电平被拉高后间隔预设时长摄像头才开始采集数据,而当帧同步信号引脚的电平被拉高时输出的帧同步信号直接输出至驱动电路作为触发信号使得驱动电路驱动补光灯开启,但是这里的预设时长通常非常短,例如为1ms,因此可以忽略,可以认为补光灯的开启和摄像头开始采集数据是同时控制的。In the embodiment of the present disclosure, it can be understood that the driving circuit using the frame synchronization signal as the trigger signal can be regarded as the enabling signal of the frame synchronization signal as the driving circuit. Although the camera usually starts collecting data when the level of the frame sync signal pin is pulled high, the frame sync signal output is directly output to the drive when the level of the frame sync signal pin is pulled high. The circuit acts as a trigger signal to cause the driver circuit to drive the fill light to be turned on, but the preset duration here is usually very short, for example 1 ms, so it can be ignored. It can be considered that the fill light is turned on and the camera starts collecting data at the same time.
可选地,在一些实施例中,通过驱动电路以帧同步信号作为触发信号驱动补光灯开启,具体包括:通过驱动电路在接收到帧同步信号的时刻输出目标电流以驱动红外补光灯开启。Optionally, in some embodiments, driving the fill light to be turned on by using the frame synchronization signal as a trigger signal by the driving circuit, specifically: outputting a target current at a timing of receiving the frame synchronization signal by the driving circuit to drive the infrared fill light to be turned on. .
一般来说,移动终端上的摄像头既要用于普通拍照又要用于人脸识别,为了兼顾这两个需求,在实现的时候通常将摄像头的红外膜的透过率做的很低,例如,低于1%。在这种情况下,如果要进行人脸识别,红外补光灯的电流就要加大,通常要加到1A以上。而过大的电流将会导致红外补光灯亮灯几百ms就会达到结温而无法使用。因此,可以根据环境亮度和需要的补光强度进行仿真模拟,确定出驱动电路需要输出的目标电流的电流值,并将确定出的电流值预设在移动终端中,能够简化移动终端的实现。Generally speaking, the camera on the mobile terminal is used for both ordinary photography and face recognition. In order to balance these two requirements, the transmittance of the infrared film of the camera is usually low when implemented, for example, , less than 1%. In this case, if face recognition is to be performed, the current of the infrared fill lamp will increase, and it is usually added to 1A or more. Excessive current will cause the IR fill light to turn on for a few hundred ms to reach the junction temperature and cannot be used. Therefore, the simulation can be performed according to the ambient brightness and the required fill light intensity, the current value of the target current that the drive circuit needs to output is determined, and the determined current value is preset in the mobile terminal, which can simplify the implementation of the mobile terminal.
进一步地,在一些实施例中,图1所述的方法还包括:根据光信息和预设对应关系,确定目标电流的电流值,所述预设对应关系包括光信息和电流值的对应关系。Further, in some embodiments, the method of FIG. 1 further includes: determining a current value of the target current according to the optical information and the preset correspondence, where the preset correspondence includes a correspondence between the optical information and the current value.
举例来说,移动终端中预设有光照度值和电流值的对应关系,在获取到当前环境的光照度值之后,根据获取到的光照度值以及上述的对应关系可以得出驱动补光灯的电流值。由此,能够根据当前环境的亮度情况,确定合适的驱动电流,避免一直使用大电流导致补光灯结温的问题。For example, the correspondence between the illuminance value and the current value is pre-configured in the mobile terminal. After the illuminance value of the current environment is obtained, the current value of the driving fill lamp can be obtained according to the obtained illuminance value and the corresponding relationship. . Therefore, it is possible to determine an appropriate driving current according to the brightness of the current environment, and to avoid the problem that the junction temperature of the fill lamp is always caused by the use of a large current.
需要说明的是,在本公开实施例中,补光灯被开启实质是指补光灯的一次亮灭周期被触发。在一次亮灭周期中,补光灯按照照亮第一时长,熄灭第二时长的周期进行亮灭。当补光灯的一个亮灭周期结束后,如果摄像头的帧同步信号输出脚输出的帧同步信号再次输出至补光灯的驱动电路,则再次触发补光灯的一个亮灭周期。由于相关技术中,摄像头采集数据的时间点和补光灯开启的时间点是分开控制的,为了给数据采集提供足够的曝光亮度,在一个亮灭周期中,补光灯照亮的时长至少为采集两帧图像的时间。而在本公开实施例中,补光灯的开启和数据采集是同步控制的,因此在一个亮灭周期中,补光灯照亮的时间至少为采集一帧图像的时间即可,补光灯的照亮时间减少,使得补光灯的发射功率降低,从而延长补光灯的有效工作时间,提高整机的使用时长。It should be noted that, in the embodiment of the present disclosure, the fact that the fill light is turned on substantially means that one light-off period of the fill light is triggered. In one light-off period, the fill light is turned on and off according to the period of the first time period, and the second time period is extinguished. After a light-off period of the fill light is completed, if the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light again, a light-off period of the fill light is triggered again. In the related art, the time point at which the camera collects data and the time point at which the fill light is turned on are separately controlled. In order to provide sufficient exposure brightness for data acquisition, the duration of the fill light illumination is at least for one light-off period. The time to capture two frames of images. In the embodiment of the present disclosure, the opening of the fill light and the data acquisition are synchronously controlled. Therefore, in a lighting-off period, the time for the fill light to illuminate is at least the time for acquiring one frame of image, and the fill light The illumination time is reduced, so that the emission power of the fill light is reduced, thereby prolonging the effective working time of the fill light and improving the use time of the whole machine.
可选地,作为一个例子,根据红外补光灯的结温速度和摄像头的采样频率进行实验仿真模拟,确定在一个亮灭周期中补光灯需要照亮的时长和需要熄灭时长。例如,在一个亮灭周期中,补光灯需要照亮的时长为90ms,需要熄灭的时长为300ms。Optionally, as an example, an experimental simulation is performed according to the junction temperature of the infrared fill lamp and the sampling frequency of the camera, and the duration of the fill light to be illuminated and the length of time required to be extinguished in a bright-off period are determined. For example, in a lighting-off cycle, the duration of the fill light needs to be illuminated for 90 ms, and the duration required to be extinguished is 300 ms.
图2是根据本公开一个具体实施例的补光的方法的示意性流程图。图2所示的方法可以由移动终端执行,图2所示的方法包括:2 is a schematic flow diagram of a method of filling light in accordance with an embodiment of the present disclosure. The method shown in FIG. 2 can be performed by a mobile terminal, and the method shown in FIG. 2 includes:
S210,检测到暗环境下的人脸识别被触发。S210. It is detected that face recognition in a dark environment is triggered.
可以理解的是,暗环境可以是根据不同规则或标准预先设置的一种光环境。It can be understood that the dark environment can be a light environment preset according to different rules or standards.
S220,摄像头输出的帧同步信号输出至补光灯的驱动电路的使能控制端口。S220: The frame synchronization signal output by the camera is output to an enable control port of the driving circuit of the fill light.
S230,补光灯的驱动电路以帧同步信号作为触发信号,驱动补光灯亮。S230, the driving circuit of the fill light uses the frame synchronization signal as a trigger signal to drive the fill light to be on.
以上结合图1和图2详细描述了根据本公开实施例的补光的方法,下面将结合图3详细描述根据本公开实施例的移动终端。如图3所示移动终端30 包括:The method of filling light according to an embodiment of the present disclosure has been described in detail above with reference to FIGS. 1 and 2, and a mobile terminal according to an embodiment of the present disclosure will be described in detail below with reference to FIG. The mobile terminal 30 shown in FIG. 3 includes:
补光灯的驱动电路31,用于在摄像头的帧同步信号输出脚输出的帧同步信号输出至所述补光灯的驱动电路时,以所述帧同步信号作为触发信号驱动所述补光灯开启,所述帧同步信号输出脚与所述补光灯的驱动电路的使能脚相连。a driving circuit 31 for the fill light, configured to drive the fill light with the frame synchronization signal as a trigger signal when a frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light Turning on, the frame synchronization signal output pin is connected to an enable pin of a driving circuit of the fill light.
根据本公开实施例的移动终端,摄像头的帧同步信号输出脚与补光灯的驱动电路的使能脚相连,能够在帧同步信号输出至补光灯的驱动电路时,通过驱动电路以帧同步信号作为触发信号驱动补光灯开启,能够实现补光灯亮灯和摄像头采集数据的同步控制,使得补光灯的亮灯时长至少是采集一帧图像的时间即可以给数据采集提供足够的曝光亮度,减少了补光灯的亮灯时长,从而提高补光灯的使用寿命,降低补光灯的功耗。According to the mobile terminal of the embodiment of the present disclosure, the frame synchronization signal output pin of the camera is connected to the enable pin of the driving circuit of the fill light, and can be frame-synchronized by the driving circuit when the frame synchronization signal is output to the driving circuit of the fill light. The signal is used as the trigger signal to drive the fill light to be turned on, which can realize the synchronous control of the fill light and the data collected by the camera, so that the time of the fill light is at least the time of acquiring one frame of image can provide sufficient exposure brightness for data acquisition. , reducing the duration of the fill light, thereby increasing the life of the fill light and reducing the power consumption of the fill light.
可选地,作为一个实施例,所述补光灯为红外补光灯,如图3所示出的,所述移动终端30还包括:Optionally, as an embodiment, the fill light is an infrared fill light. As shown in FIG. 3, the mobile terminal 30 further includes:
处理单元32,用于在所述摄像头的帧同步信号输出脚输出的帧同步信号输出至所述补光灯的驱动电路之前,获取当前环境的光信息,所述光信息包括以下信息中的一种:光强度信息、光照度信息和光亮度信息;The processing unit 32 is configured to acquire optical information of a current environment, where the optical information includes one of the following information, before the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light Species: light intensity information, illuminance information, and lightness information;
根据所述光信息确定是否满足在所述当前环境下开启所述红外补光灯的条件。Determining, according to the optical information, whether a condition for turning on the infrared fill light in the current environment is satisfied.
可选地,作为一个实施例,所述处理单元32还用于:Optionally, as an embodiment, the processing unit 32 is further configured to:
在所述摄像头的帧同步信号输出脚输出的帧同步信号输出至所述补光灯的驱动电路之前,检测用户是否输入用于触发人脸识别的人脸识别触发操作。Before the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light, it is detected whether the user inputs a face recognition triggering operation for triggering face recognition.
可选地,作为一个实施例,所述补光灯的驱动电路31具体用于:Optionally, as an embodiment, the driving circuit 31 of the fill light is specifically configured to:
在接收到所述帧同步信号的时刻输出目标电流以驱动所述红外补光灯开启。A target current is output at a timing of receiving the frame synchronization signal to drive the infrared fill light to be turned on.
可选地,作为一个实施例,所述补光灯的驱动电路31还用于:Optionally, as an embodiment, the driving circuit 31 of the fill light is further configured to:
根据所述光信息和预设对应关系,确定所述目标电流的电流值,所述预设对应关系包括光信息和电流值的对应关系。And determining, according to the optical information and the preset correspondence, a current value of the target current, where the preset correspondence includes a correspondence between the optical information and the current value.
根据本公开实施例的移动终端可以参照对应本公开实施例的方法的流程,并且,该移动终端中的各个单元/模块和上述其他操作和/或功能分别为了实现 图1所示的方法中的相应流程,为了简洁,在此不再赘述。A mobile terminal according to an embodiment of the present disclosure may refer to a flow of a method corresponding to an embodiment of the present disclosure, and each unit/module in the mobile terminal and the other operations and/or functions described above are respectively implemented in the method shown in FIG. The corresponding process, for the sake of brevity, will not be described here.
图4为实现本公开实施例的移动终端的硬件结构示意图。如图4所示,该移动终端400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410、以及电源411等部件。本领域技术人员可以理解,图4中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。FIG. 4 is a schematic structural diagram of hardware of a mobile terminal that implements an embodiment of the present disclosure. As shown in FIG. 4, the mobile terminal 400 includes, but is not limited to, a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, and a memory 409. , processor 410, and power supply 411 and other components. It will be understood by those skilled in the art that the mobile terminal structure shown in FIG. 4 does not constitute a limitation of the mobile terminal, and the mobile terminal may include more or less components than those illustrated, or combine some components, or different components. Arrangement. In the embodiments of the present disclosure, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle terminal, a wearable device, a pedometer, and the like.
其中,处理器410,用于在摄像头的帧同步信号输出脚输出的帧同步信号输出至补光灯的驱动电路时,通过所述驱动电路以所述帧同步信号作为触发信号驱动所述补光灯开启,所述帧同步信号输出脚与所述补光灯的驱动电路的使能脚相连。The processor 410 is configured to: when the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light, the driving circuit drives the fill light by using the frame synchronization signal as a trigger signal. The lamp is turned on, and the frame synchronization signal output pin is connected to an enable pin of the driving circuit of the fill lamp.
根据本公开实施例的移动终端,摄像头的帧同步信号输出脚与补光灯的驱动电路的使能脚相连,能够在帧同步信号输出至补光灯的驱动电路时,通过驱动电路以帧同步信号作为触发信号驱动补光灯开启,能够实现补光灯亮灯和摄像头采集数据的同步控制,使得补光灯的亮灯时长至少是采集一帧图像的时间即可以给数据采集提供足够的曝光亮度,减少了补光灯的亮灯时长,从而提高补光灯的使用寿命,降低补光灯的功耗。According to the mobile terminal of the embodiment of the present disclosure, the frame synchronization signal output pin of the camera is connected to the enable pin of the driving circuit of the fill light, and can be frame-synchronized by the driving circuit when the frame synchronization signal is output to the driving circuit of the fill light. The signal is used as the trigger signal to drive the fill light to be turned on, which can realize the synchronous control of the fill light and the data collected by the camera, so that the time of the fill light is at least the time of acquiring one frame of image can provide sufficient exposure brightness for data acquisition. , reducing the duration of the fill light, thereby increasing the life of the fill light and reducing the power consumption of the fill light.
应理解的是,本公开实施例中,射频单元401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器410处理;另外,将上行的数据发送给基站。通常,射频单元401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元401还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 401 can be used for receiving and transmitting signals during the transmission and reception of information or during a call, and specifically, after receiving downlink data from the base station, processing the data to the processor 410; The uplink data is sent to the base station. Generally, radio frequency 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. In addition, the radio unit 401 can also communicate with the network and other devices through a wireless communication system.
移动终端通过网络模块402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides the user with wireless broadband Internet access through the network module 402, such as helping the user to send and receive emails, browse web pages, and access streaming media.
音频输出单元403可以将射频单元401或网络模块402接收的或者在存储器409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元403还可以提供与移动终端400执行的特定功能相关的音频输出(例如, 呼叫信号接收声音、消息接收声音等等)。音频输出单元403包括扬声器、蜂鸣器以及受话器等。The audio output unit 403 can convert the 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 a sound. Moreover, the audio output unit 403 can also provide audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 400. The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
输入单元404用于接收音频或视频信号。输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元406上。经图形处理器4041处理后的图像帧可以存储在存储器409(或其它存储介质)中或者经由射频单元401或网络模块402进行发送。麦克风4042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元401发送到移动通信基站的格式输出。The input unit 404 is for receiving an audio or video signal. The input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042 that images an still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The data is processed. The processed image frame can be displayed on the display unit 406. The image frames processed by the graphics processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio unit 401 or the network module 402. The microphone 4042 can receive sound and can process such sound as audio data. The processed audio data can be converted to a format output that can be transmitted to the mobile communication base station via the radio unit 401 in the case of a telephone call mode.
移动终端400还包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4061的亮度,接近传感器可在移动终端400移动到耳边时,关闭显示面板4061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,其中红外线传感器能够通过发射和接收红外光测量物体与移动终端之间的距离,在此不再赘述。The mobile terminal 400 also includes at least one type of sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 4061 when the mobile terminal 400 moves to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the attitude of the mobile terminal (such as horizontal and vertical screen switching, related games). , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; sensor 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensor or the like, wherein the infrared sensor can measure the distance between the object and the mobile terminal by transmitting and receiving infrared light, and details are not described herein again.
显示单元406用于显示由用户输入的信息或提供给用户的信息。显示单元406可包括显示面板4061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板4061。The display unit 406 is for displaying information input by the user or information provided to the user. The display unit 406 can include a display panel 4061. The display panel 4061 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
用户输入单元407可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏, 可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板4071上或在触控面板4071附近的操作)。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器410,接收处理器410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板4071。除了触控面板4071,用户输入单元407还可以包括其他输入设备4072。具体地,其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 407 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071, also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 4071 or near the touch panel 4071. operating). The touch panel 4071 may include two parts of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 410 receives the commands from the processor 410 and executes them. In addition, the touch panel 4071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 4071, the user input unit 407 may also 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 a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, and are not described herein again.
进一步的,触控面板4071可覆盖在显示面板4061上,当触控面板4071检测到在其上或附近的触摸操作后,传送给处理器410以确定触摸事件的类型,随后处理器410根据触摸事件的类型在显示面板4061上提供相应的视觉输出。虽然在图4中,触控面板4071与显示面板4061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板4071与显示面板4061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the touch panel 4071 can be overlaid on the display panel 4061. When the touch panel 4071 detects a touch operation thereon or nearby, the touch panel 4071 transmits to the processor 410 to determine the type of the touch event, and then the processor 410 according to the touch. The type of event provides a corresponding visual output on display panel 4061. Although in FIG. 4, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 can be integrated with the display panel 4061. The input and output functions of the mobile terminal are implemented, and are not limited herein.
接口单元408为外部装置与移动终端400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端400内的一个或多个元件或者可以用于在移动终端400和外部装置之间传输数据。The interface unit 408 is an interface in 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 (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more. The interface unit 408 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 400 or can be used at the mobile terminal 400 and externally Data is transferred between devices.
存储器409可用于存储软件程序以及各种数据。存储器409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例 如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。 Memory 409 can 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 required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.). Further, the memory 409 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
处理器410是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器409内的软件程序和/或模块,以及调用存储在存储器409内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器410可包括一个或多个处理单元;可选的,处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。The processor 410 is a control center of the mobile terminal that connects various portions of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 409, and recalling data stored in the memory 409. The mobile terminal performs various functions and processing data to perform overall monitoring on the mobile terminal. The processor 410 may include one or more processing units; optionally, the processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, etc., and a modulation solution The processor mainly handles wireless communication. It can be understood that the above modem processor may not be integrated into the processor 410.
移动终端400还可以包括给各个部件供电的电源411(比如电池),可选的,电源411可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 400 may further include a power source 411 (such as a battery) for supplying power to various components. Alternatively, the power source 411 may be logically connected to the processor 410 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,移动终端400包括摄像头、补光灯以及一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 400 includes a camera, a fill light, and some functional modules not shown, and details are not described herein again.
可选地,本公开实施例还提供一种移动终端,包括处理器410,存储器409,存储在存储器409上并可在所述处理器410上运行的计算机程序,该计算机程序被处理器410执行时实现上述图1所示的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present disclosure further provides a mobile terminal, including a processor 410, a memory 409, a computer program stored on the memory 409 and executable on the processor 410, the computer program being executed by the processor 410. The various processes of the method embodiment shown in FIG. 1 are implemented, and the same technical effects can be achieved. To avoid repetition, details are not described herein again.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图1所示的方法的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present disclosure further provides a computer readable storage medium, where the computer program is stored on a computer program, and when the computer program is executed by the processor, the processes of the method shown in FIG. 1 are implemented, and the same can be achieved. Technical effects, to avoid repetition, will not be repeated here. The computer readable storage medium, such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
本领域内的技术人员应明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure 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, etc.) including computer usable program code.
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图 和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory. Memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, 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 disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It is also to be understood that the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, Other elements not explicitly listed, or elements that are inherent to such a process, method, commodity, or equipment. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device including the element.
本领域技术人员应明白,本公开的实施例可提供为方法、系统或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or a combination of software and hardware aspects. Moreover, the present disclosure 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, etc.) including computer usable program code.
以上所述仅为本公开的实施例而已,并不用于限制本公开。对于本领域技术人员来说,本公开可以有各种更改和变化。凡在本公开的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本公开的权利要求范围之内。The above description is only for the embodiments of the present disclosure, and is not intended to limit the disclosure. Various changes and modifications of the present disclosure are possible to those skilled in the art. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the present disclosure are intended to be included within the scope of the appended claims.

Claims (12)

  1. 一种补光的方法,包括:A method of filling light, comprising:
    在摄像头的帧同步信号输出脚输出的帧同步信号输出至补光灯的驱动电路时,通过所述驱动电路以所述帧同步信号作为触发信号驱动所述补光灯开启,所述帧同步信号输出脚与所述补光灯的驱动电路的使能脚相连。When the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light, the backlight is turned on by the driving circuit with the frame synchronization signal as a trigger signal, and the frame synchronization signal is turned on. The output pin is connected to an enable pin of the drive circuit of the fill light.
  2. 根据权利要求1所述的方法,其中,所述补光灯为红外补光灯,在摄像头的帧同步信号输出脚输出的帧同步信号输出至红外补光灯的驱动电路之前,所述方法还包括:The method according to claim 1, wherein the fill light is an infrared fill light, and before the frame synchronization signal outputted by the frame sync signal output pin of the camera is output to the driving circuit of the infrared fill light, the method further include:
    获取当前环境的光信息,所述光信息包括以下信息中的一种:光强度信息、光照度信息和光亮度信息;Obtaining optical information of a current environment, where the optical information includes one of the following information: light intensity information, illuminance information, and lightness information;
    根据所述光信息确定是否满足在所述当前环境下开启所述红外补光灯的条件。Determining, according to the optical information, whether a condition for turning on the infrared fill light in the current environment is satisfied.
  3. 根据权利要求2所述的方法,在摄像头的帧同步信号输出脚输出的帧同步信号输出至补光灯的驱动电路之前,还包括:The method according to claim 2, before the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light, further comprising:
    检测用户是否输入用于触发人脸识别的人脸识别触发操作。It is detected whether the user inputs a face recognition triggering operation for triggering face recognition.
  4. 根据权利要求2或3所述的方法,其中,所述通过所述驱动电路以所述帧同步信号作为触发信号驱动所述补光灯开启,包括:The method according to claim 2 or 3, wherein the driving of the fill light by the driving circuit with the frame synchronization signal as a trigger signal comprises:
    通过所述驱动电路在接收到所述帧同步信号的时刻输出目标电流以驱动所述红外补光灯开启。The target current is output by the driving circuit at the timing of receiving the frame synchronization signal to drive the infrared fill light to be turned on.
  5. 根据权利要求4所述的方法,还包括:The method of claim 4 further comprising:
    根据所述光信息和预设对应关系,确定所述目标电流的电流值,所述预设对应关系包括光信息和电流值的对应关系。And determining, according to the optical information and the preset correspondence, a current value of the target current, where the preset correspondence includes a correspondence between the optical information and the current value.
  6. 一种移动终端,包括:A mobile terminal includes:
    补光灯的驱动电路,用于在摄像头的帧同步信号输出脚输出的帧同步信号输出至所述补光灯的驱动电路时,以所述帧同步信号作为触发信号驱动所述补光灯开启,所述帧同步信号输出脚与所述补光灯的驱动电路的使能脚相连。a driving circuit of the fill light, configured to: when the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light, driving the fill light to be turned on by using the frame synchronization signal as a trigger signal The frame synchronization signal output pin is connected to an enable pin of a driving circuit of the fill light.
  7. 根据权利要求6所述的移动终端,其中,所述补光灯为红外补光灯, 所述移动终端还包括:The mobile terminal of claim 6, wherein the fill light is an infrared fill light, and the mobile terminal further comprises:
    处理单元,用于在所述摄像头的帧同步信号输出脚输出的帧同步信号输出至所述补光灯的驱动电路之前,获取当前环境的光信息,所述光信息包括以下信息中的一种:光强度信息、光照度信息和光亮度信息;a processing unit, configured to acquire optical information of a current environment, where the optical information includes one of the following information, before the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light : light intensity information, illuminance information, and lightness information;
    根据所述光信息确定是否满足在所述当前环境下开启所述红外补光灯的条件。Determining, according to the optical information, whether a condition for turning on the infrared fill light in the current environment is satisfied.
  8. 根据权利要求7所述的移动终端,其中,所述处理单元还用于:The mobile terminal of claim 7, wherein the processing unit is further configured to:
    在所述摄像头的帧同步信号输出脚输出的帧同步信号输出至所述补光灯的驱动电路之前,检测用户是否输入用于触发人脸识别的人脸识别触发操作。Before the frame synchronization signal outputted by the frame synchronization signal output pin of the camera is output to the driving circuit of the fill light, it is detected whether the user inputs a face recognition triggering operation for triggering face recognition.
  9. 根据权利要求7至8中任一项所述的移动终端,其中,所述补光灯的驱动电路具体用于:The mobile terminal according to any one of claims 7 to 8, wherein the driving circuit of the fill light is specifically used for:
    在接收到所述帧同步信号的时刻输出目标电流以驱动所述红外补光灯开启。A target current is output at a timing of receiving the frame synchronization signal to drive the infrared fill light to be turned on.
  10. 根据权利要求9所述的移动终端,其中,所述补光灯的驱动电路还用于:The mobile terminal of claim 9, wherein the driving circuit of the fill light is further configured to:
    根据所述光信息和预设对应关系,确定所述目标电流的电流值,所述预设对应关系包括光信息和电流值的对应关系。And determining, according to the optical information and the preset correspondence, a current value of the target current, where the preset correspondence includes a correspondence between the optical information and the current value.
  11. 一种移动终端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的补光的方法的步骤。A mobile terminal comprising: a memory, a processor, and a computer program stored on the memory and operable on the processor, the computer program being implemented by the processor when implemented in claims 1 to 5 The method of the method of supplementing light according to any one of the preceding claims.
  12. 一种计算机可读存储介质,存储计算机程序,所述计算机程序被处理器执行时实现如权利要1至5中任一项所述的补光的方法的步骤。A computer readable storage medium storing a computer program, the computer program being executed by a processor, the steps of the method of supplementing light according to any one of claims 1 to 5.
PCT/CN2019/084295 2018-04-28 2019-04-25 Light supplement method and mobile terminal WO2019206225A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2019206225A1 true WO2019206225A1 (en) 2019-10-31

Family

ID=63162100

Family Applications (1)

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

Country Status (2)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112651383A (en) * 2021-01-15 2021-04-13 北京中科虹霸科技有限公司 A device and iris image acquisition system of polishing for iris image acquisition
CN113992853A (en) * 2021-10-27 2022-01-28 北京市商汤科技开发有限公司 Light supplement lamp control method, module, equipment, system and device and electronic equipment

Families Citing this family (5)

* 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
CN115604572B (en) * 2022-09-02 2023-12-01 荣耀终端有限公司 Image acquisition method, electronic device and computer readable storage medium

Citations (8)

* 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
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
CN203289537U (en) * 2013-05-25 2013-11-13 合肥德达智能科技有限公司 Video synchronization type LED stroboscope lamp circuit
CN106210471A (en) * 2016-07-19 2016-12-07 成都百威讯科技有限责任公司 A kind of outdoor face recognition method and system
CN108429888A (en) * 2018-04-28 2018-08-21 维沃移动通信有限公司 The method and mobile terminal of light filling

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100621007B1 (en) * 2004-02-19 2006-09-08 엘지전자 주식회사 A method and a apparatus of controlling brightness of flash for multimedia mobile phone
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
CN101710922A (en) * 2009-11-10 2010-05-19 中兴通讯股份有限公司 Shooting method and system based on mobile terminal
JP5817664B2 (en) * 2012-03-19 2015-11-18 カシオ計算機株式会社 Imaging apparatus, imaging method, and program
US9596390B2 (en) * 2013-04-23 2017-03-14 Olympus Corporation Imaging apparatus, imaging method, and computer-readable recording medium
JP5685668B1 (en) * 2014-06-25 2015-03-18 株式会社プラックス Imaging apparatus and imaging method
CN104079831B (en) * 2014-06-30 2017-09-12 苏州吉视电子科技有限公司 A kind of camera with multichannel flash synchronization signal
CN104092944B (en) * 2014-07-21 2017-10-24 Tcl通讯(宁波)有限公司 Flash lamp control method and system when a kind of mobile terminal is taken pictures

Patent Citations (8)

* 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
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
CN203289537U (en) * 2013-05-25 2013-11-13 合肥德达智能科技有限公司 Video synchronization type LED stroboscope lamp circuit
CN106210471A (en) * 2016-07-19 2016-12-07 成都百威讯科技有限责任公司 A kind of outdoor face recognition method and system
CN108429888A (en) * 2018-04-28 2018-08-21 维沃移动通信有限公司 The method and mobile terminal of light filling

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112651383A (en) * 2021-01-15 2021-04-13 北京中科虹霸科技有限公司 A device and iris image acquisition system of polishing for iris image acquisition
CN113992853A (en) * 2021-10-27 2022-01-28 北京市商汤科技开发有限公司 Light supplement lamp control method, module, equipment, system and device and electronic equipment
CN113992853B (en) * 2021-10-27 2024-05-24 北京市商汤科技开发有限公司 Light supplementing lamp control method, module, equipment, system, device and electronic equipment

Also Published As

Publication number Publication date
CN108429888B (en) 2020-02-18
CN108429888A (en) 2018-08-21

Similar Documents

Publication Publication Date Title
WO2019206225A1 (en) Light supplement method and mobile terminal
WO2019196707A1 (en) Mobile terminal control method and mobile terminal
WO2019154181A1 (en) Display control method and mobile terminal
CN109992231B (en) Screen projection method and terminal
US20200402478A1 (en) Apparatus and method for driving display based on frequency operation cycle set differently according to frequency
WO2021073185A1 (en) Touch screen, electronic device, and display control method
EP3537709B1 (en) Electronic device photographing method and apparatus
WO2019120087A1 (en) Processing method for reducing power consumption and mobile terminal
WO2019174628A1 (en) Photographing method and mobile terminal
CN111475077A (en) Display control method and electronic equipment
WO2019149044A1 (en) Method of controlling screen to turn on or off, and mobile terminal
CN112506386A (en) Display method of folding screen and electronic equipment
WO2023065873A1 (en) Frame rate adjustment method, terminal device, and frame rate adjustment system
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN110162254B (en) Display method and terminal equipment
CN108040209B (en) Shooting method and mobile terminal
US11165950B2 (en) Method and apparatus for shooting video, and storage medium
JP7467667B2 (en) Detection result output method, electronic device and medium
CN108681413B (en) Control method of display module and mobile terminal
WO2019095155A1 (en) Fatigue notification method and terminal
CN110290331B (en) Screen control method and terminal
CN109618218B (en) Video processing method and mobile terminal
US20230244507A1 (en) Method and Apparatus for Processing Interaction Event
WO2019076376A1 (en) Information display method and mobile terminal
WO2019129264A1 (en) Interface display method and mobile terminal

Legal Events

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

Ref document number: 19791818

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19791818

Country of ref document: EP

Kind code of ref document: A1