CN108429888A - The method and mobile terminal of light filling - Google Patents
The method and mobile terminal of light filling Download PDFInfo
- Publication number
- CN108429888A CN108429888A CN201810400480.9A CN201810400480A CN108429888A CN 108429888 A CN108429888 A CN 108429888A CN 201810400480 A CN201810400480 A CN 201810400480A CN 108429888 A CN108429888 A CN 108429888A
- Authority
- CN
- China
- Prior art keywords
- compensating lamp
- light compensating
- synchronizing signal
- driving circuit
- frame synchronizing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/74—Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Studio Devices (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The embodiment of the invention discloses a kind of method of light filling and mobile terminals.This method includes:When the frame synchronizing signal that the frame synchronizing signal output pin of camera exports is exported to the driving circuit of light compensating lamp, the light compensating lamp is driven to open using the frame synchronizing signal as trigger signal by the driving circuit, the frame synchronizing signal output pin is connected with the enabled foot of the driving circuit of the light compensating lamp.The method of the embodiment of the present invention can realize the synchronous control of light compensating lamp bright light and camera gathered data, so that the time that the bright light duration of light compensating lamp is at least one frame image of acquisition can acquire the enough exposure brightness of offer to data, reduce the bright light duration of light compensating lamp, to improve the service life of light compensating lamp, the power consumption of light compensating lamp is reduced.
Description
Technical field
The present invention relates to field of terminal more particularly to the methods and mobile terminal of a kind of light filling.
Background technology
With the fast development of mobile communication technology, mobile terminal has become essential electronic product for people's lives,
And the camera function or face identification functions in mobile terminal are one of common functions of current people.Meeting in usual mobile terminal
Configured with camera and light compensating lamp, camera is used to take pictures in user or carries out image to reference object when recognition of face
The acquisition of data or video data, light compensating lamp are used to carry out light filling to reference object.
But the time point that current camera starts the time point of gathered data and light compensating lamp is opened is separately controlled, in order to
Enough exposure brightness is provided to data acquisition, it is desirable that the bright light duration of light compensating lamp is at least the time for acquiring two field pictures, mends
The lighting time of light lamp is longer, causes the service life of light compensating lamp shorter, power consumption is higher.
Invention content
The embodiment of the present invention provides a kind of method of light filling, to solve service life caused by the lighting time length of light compensating lamp
It is short, the high problem of power consumption.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
In a first aspect, providing a kind of method of light filling, this method includes:
When the frame synchronizing signal that the frame synchronizing signal output pin of camera exports is exported to the driving circuit of light compensating lamp, lead to
Cross the driving circuit drives the light compensating lamp to open using the frame synchronizing signal as trigger signal, and the frame synchronizing signal is defeated
Go out foot with the enabled foot of the driving circuit of the light compensating lamp to be connected.
Second aspect provides a kind of mobile terminal, which includes:
The driving circuit of light compensating lamp, for camera frame synchronizing signal output pin output frame synchronizing signal export to
When the driving circuit of the light compensating lamp, the light compensating lamp is driven to open using the frame synchronizing signal as trigger signal, the frame
Synchronizing signal output pin is connected with the enabled foot of the driving circuit of the light compensating lamp.
The third aspect provides a kind of mobile terminal, which includes:It memory, processor and is stored in described
It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor
Now the step of method of light filling as described in relation to the first aspect.
Fourth aspect provides a kind of computer-readable medium, computer program is stored on the computer-readable medium,
The step of method of light filling as described in relation to the first aspect is realized when the computer program is executed by processor.
In embodiments of the present invention, the enabled foot phase of the frame synchronizing signal output pin of camera and the driving circuit of light compensating lamp
Even so that terminal device can be when frame synchronizing signal be exported to the driving circuit of light compensating lamp, by driving circuit with frame synchronization
Signal is opened as trigger signal driving light compensating lamp, can realize the synchronous control of light compensating lamp bright light and camera gathered data,
So that the time that the bright light duration of light compensating lamp is at least one frame image of acquisition can be bright to the enough exposures of data acquisition offer
Degree, reduces the bright light duration of light compensating lamp, to improve the service life of light compensating lamp, reduces the power consumption of light compensating lamp.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and constitutes the part of the present invention, this hair
Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the schematic flow chart of the method for light filling according to an embodiment of the invention.
Fig. 2 is the schematic flow chart of the method for the light filling of a specific embodiment according to the present invention.
Fig. 3 is the structural schematic diagram of mobile terminal according to an embodiment of the invention.
Fig. 4 is the structural schematic diagram of mobile terminal in accordance with another embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
Fig. 1 is the schematic flow chart of the method for light filling according to an embodiment of the invention.Method shown in FIG. 1 can be with
By mobile terminal execution, method shown in FIG. 1 includes:
S110 is exported in the frame synchronizing signal that the frame synchronizing signal output pin of camera exports to the driving circuit of light compensating lamp
When, drive the light compensating lamp to open using the frame synchronizing signal as trigger signal by the driving circuit, the frame synchronization
Signal output pin is connected with the enabled foot of the driving circuit of the light compensating lamp.
It should be noted that the frame synchronizing signal output pin (VSYNC_OUT) of camera may also be referred to as frame synchronizing signal
Pin, when camera will expose gathered data, the level of frame synchronizing signal output pin is raised, while exporting frame synchronization letter
Number.Frame synchronizing signal output pin is connected with the enabled foot of driving circuit so that the frame synchronization letter of frame synchronizing signal output pin output
Number it is directly output to driving circuit.The frequency of frame synchronizing signal is identical as the sample frequency of camera.
It should also be noted that, the specific reality that frame synchronizing signal output pin is connected with the enabled foot of the driving circuit of light compensating lamp
Existing mode can be that the enabled foot of the driving circuit of frame synchronizing signal output pin and light compensating lamp is connected directly, or can be that frame is same
The enabled foot of the driving circuit of step signal output pin and light compensating lamp is indirectly connected.
Optionally, in some embodiments, camera is complementary metal oxide semiconductor camera module
(Complementary Metal Oxide SemiconductorCamera Module, CCM).
Optionally, in some embodiments, camera is for commonly taking pictures, and in this case, light compensating lamp is visible light
Light compensating lamp.Or camera is used for recognition of face, in this case, light compensating lamp is infrared light compensating lamp.Since infrared light belongs to
Black light carries out light filling to the process of recognition of face using infrared light compensating lamp, people will not be allowed to generate uncomfortable feeling, Neng Gouti
The comfort of high user.
Optionally, as an example, light compensating lamp is infrared light compensating lamp, and before S110, method shown in FIG. 1 is also wrapped
It includes:The optical information of current environment is obtained, the optical information includes one kind in following information:Intensity information, illuminance information
With brightness information;Determine whether to meet the condition that light compensating lamp is opened under the current environment according to the optical information.It can be with
Understand, optical information can also include other parameter informations for characterizing light.
For example, optical information includes illuminance information, works as front ring by the ambient light sensor detection in mobile terminal
The illuminance in border obtains illuminance value, then carries out the illuminance value got and default illuminance threshold value (for example, 2lux)
Comparison determines to meet and opens infrared light filling under the present circumstances if the illuminance value got is less than default illuminance threshold value
The condition of lamp.Herein, the environment that illuminance value can be less than to default illuminance threshold value is known as " dark situation ".
Further, as another example, light compensating lamp is infrared light compensating lamp, and before S110, the method described in Fig. 1 is also
Including:Whether detection user inputs the recognition of face trigger action for triggering recognition of face.That is, detecting Crape ring
In the case that recognition of face under border is triggered, camera frame synchronizing signal output pin export frame synchronizing signal export to
When the driving circuit of infrared light compensating lamp, infrared light compensating lamp is driven to open using frame synchronizing signal as trigger signal by driving circuit
It opens.
For example, recognition of face trigger action can be the soft-touch control when mobile terminal is in and goes out screen state
(Power) operation of key or mobile terminal are in lift wrist operation when going out screen state, can be by being arranged in mobile terminal
Whether three-axis gyroscope and gravity accelerometer detection user have lift wrist operation.
In embodiments of the present invention, it is to be understood that driving circuit can be seen using frame synchronizing signal as trigger signal
Work is using frame synchronizing signal as the enable signal of driving circuit.Although under normal conditions when the level quilt of frame synchronizing signal pin
It is spaced preset duration camera after drawing high and just starts gathered data, and exported when the level of frame synchronizing signal pin is raised
Frame synchronizing signal is directly output to driving circuit and as trigger signal driving circuit driving light compensating lamp is opened, but here
Preset duration is usually very short, for example, 1ms, therefore can ignore, it is believed that the unlatching of light compensating lamp and camera start to adopt
Collection data control simultaneously.
Optionally, in some embodiments, light compensating lamp is driven using frame synchronizing signal as trigger signal by driving circuit
It opens, specifically includes:Target current is exported to drive infrared light filling at the time of receiving frame synchronizing signal by driving circuit
Lamp is opened.
In general, the camera on mobile terminal should be used to commonly take pictures is used for recognition of face again, in order to balance
The transmitance of the infrared film of camera is usually made low by the two demands when realizing, for example, being less than 1%.At this
In the case of kind, if to carry out recognition of face, the electric current of infrared light compensating lamp will increase, and usually be added to 1A or more.And it is excessive
Electric current will cause hundreds of ms of infrared light compensating lamp bright light that will reach junction temperature and can not use.It therefore, can be bright according to environment
Degree and the light filling intensity needed carry out analogue simulation, determine that driving circuit needs the current value of the target current exported, and will
The current value determined is default in the terminal, can simplify the realization of mobile terminal.
Further, in some embodiments, the method described in Fig. 1 further includes:According to optical information and default correspondence,
Determine that the current value of target current, the default correspondence include the correspondence of optical information and current value.
For example, it is preset with the correspondence of illuminance value and current value in mobile terminal, is getting current environment
Illuminance value after, according to the illuminance value and above-mentioned correspondence that get can obtain driving light compensating lamp electric current
Value.Thereby, it is possible to the brightness cases according to current environment, determine suitable driving current, avoid causing using high current always
The problem of light compensating lamp junction temperature.
It should be noted that in embodiments of the present invention, light compensating lamp is opened the light on and off week that essence refers to light compensating lamp
Phase is triggered.In a light on and off period, for light compensating lamp according to the first duration is illuminated, the period for extinguishing the second duration carries out light on and off.
After a light on and off end cycle of light compensating lamp, if the frame synchronizing signal of the frame synchronizing signal output pin output of camera is again
It exports to the driving circuit of light compensating lamp, then triggers a light on and off period of light compensating lamp again.Since in the prior art, camera is adopted
The time point at the time point and light compensating lamp unlatching that collect data is separately controlled, bright in order to provide enough exposures to data acquisition
Degree, in a light on and off period, the duration that light compensating lamp illuminates is at least the time for acquiring two field pictures.And in the embodiment of the present invention
In, the unlatching of light compensating lamp and data acquisition are synchronous controls, therefore in a light on and off period, the time that light compensating lamp illuminates is extremely
Few time for one frame image of acquisition, light compensating lamp illuminate time reduction so that and the transmission power of light compensating lamp reduces, to
The effective time for extending light compensating lamp, that improves complete machine uses duration.
Optionally, as an example, it is carried out according to the junction temperature speed of infrared light compensating lamp and the sample frequency of camera real
Analogue simulation is tested, determines that light compensating lamp needs the duration illuminated and needs to extinguish duration in a light on and off period.For example, at one
In the light on and off period, light compensating lamp needs the when a length of 90ms illuminated, the when a length of 300ms for needing to extinguish.
Fig. 2 is the schematic flow chart of the method for light filling accord to a specific embodiment of that present invention.Method shown in Fig. 2
Can include by mobile terminal execution, method shown in Fig. 2:
S210 detects that the recognition of face under dark situation is triggered.
It is understood that dark situation can be according to the pre-set a kind of luminous environment of Different Rule or standard.
The frame synchronizing signal of S220, camera output are exported to the enabled control port of the driving circuit of light compensating lamp.
S230, for the driving circuit of light compensating lamp using frame synchronizing signal as trigger signal, driving light compensating lamp is bright.
Above in association with the method that light filling according to the ... of the embodiment of the present invention is described in detail in Fig. 1 and Fig. 2, below in conjunction with Fig. 3
Mobile terminal according to the ... of the embodiment of the present invention is described in detail.Mobile terminal 30 includes as shown in Figure 3:
The driving circuit 31 of light compensating lamp, the frame synchronizing signal output for being exported in the frame synchronizing signal output pin of camera
To the light compensating lamp driving circuit when, light compensating lamp unlatching is driven using the frame synchronizing signal as trigger signal, it is described
Frame synchronizing signal output pin is connected with the enabled foot of the driving circuit of the light compensating lamp.
Mobile terminal according to the ... of the embodiment of the present invention, the frame synchronizing signal output pin of camera and the driving circuit of light compensating lamp
Enabled foot be connected, can be believed with frame synchronization by driving circuit when frame synchronizing signal is exported to the driving circuit of light compensating lamp
Number as trigger signal driving light compensating lamp open, can realize the synchronous control of light compensating lamp bright light and camera gathered data, make
The enough exposure brightness of offer can be acquired to data by obtaining the time of the bright light duration at least one frame image of acquisition of light compensating lamp,
The bright light duration for reducing light compensating lamp reduces the power consumption of light compensating lamp to improve the service life of light compensating lamp.
Optionally, as one embodiment, the light compensating lamp is infrared light compensating lamp, as illustrated in FIG. 3, it is described mobile whole
End 30 further includes:
Processing unit 32, the frame synchronizing signal for the frame synchronizing signal output pin output in the camera are exported to institute
Before the determination circuit for stating light compensating lamp, the optical information of current environment is obtained, the optical information includes one kind in following information:Light
Strength information, illuminance information and brightness information;
Determine whether to meet the condition that the infrared light compensating lamp is opened under the current environment according to the optical information.
Optionally, as one embodiment, the processing unit 32 is additionally operable to:
It is exported to the driving of the light compensating lamp in the frame synchronizing signal that the frame synchronizing signal output pin of the camera exports
Before circuit, whether detection user inputs the recognition of face trigger action for triggering recognition of face.
Optionally, as one embodiment, the driving circuit 31 of the light compensating lamp is specifically used for:
Target current is exported at the time of receiving the frame synchronizing signal to drive the infrared light compensating lamp to open.
Optionally, as one embodiment, the driving circuit 31 of the light compensating lamp is additionally operable to:
According to the optical information and default correspondence, the current value of the target current, the default corresponding pass are determined
System includes the correspondence of optical information and current value.
Mobile terminal according to the ... of the embodiment of the present invention is referred to the flow of the method for the corresponding embodiment of the present invention, also,
Each unit/module and other above-mentioned operation and/or functions in the mobile terminal are respectively in order to realize in method shown in FIG. 1
Corresponding flow, for sake of simplicity, details are not described herein.
The hardware architecture diagram of Fig. 4 mobile terminals of embodiment to realize the present invention.As shown in figure 4, the mobile terminal
400 include but not limited to:Radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor
405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410 and power supply 411 etc.
Component.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 4 does not constitute the restriction to mobile terminal,
Mobile terminal may include either combining certain components or different components arrangement than illustrating more or fewer components.
In the embodiment of the present invention, mobile terminal includes but not limited to mobile phone, tablet computer, laptop, palm PC, vehicle-mounted end
End, wearable device and pedometer etc..
Wherein, processor 410, the frame synchronizing signal for the frame synchronizing signal output pin output in camera are exported to benefit
When the driving circuit of light lamp, the light compensating lamp is driven to open using the frame synchronizing signal as trigger signal by the driving circuit
It opens, the frame synchronizing signal output pin is connected with the enabled foot of the driving circuit of the light compensating lamp.
Mobile terminal according to the ... of the embodiment of the present invention, the frame synchronizing signal output pin of camera and the driving circuit of light compensating lamp
Enabled foot be connected, can be believed with frame synchronization by driving circuit when frame synchronizing signal is exported to the driving circuit of light compensating lamp
Number as trigger signal driving light compensating lamp open, can realize the synchronous control of light compensating lamp bright light and camera gathered data, make
The enough exposure brightness of offer can be acquired to data by obtaining the time of the bright light duration at least one frame image of acquisition of light compensating lamp,
The bright light duration for reducing light compensating lamp reduces the power consumption of light compensating lamp to improve the service life of light compensating lamp.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 410 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 401 includes but not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by radio communication system and network and other set
Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 402 and has accessed, and such as user is helped to receive
Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 403 can receive radio frequency unit 401 or network module 402 or in memory 409
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 400 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 403 includes loud speaker, buzzer and receiver etc..
Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor
(Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 is in video acquisition mode
Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out
Reason.Treated, and picture frame may be displayed on display unit 406.Through graphics processor 4041, treated that picture frame can be deposited
Storage is sent in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike
Wind 4042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output of mobile communication base station can be sent to via radio frequency unit 401 by being converted in the case of telephone calling model.
Mobile terminal 400 further includes at least one sensor 405, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 4061, and proximity sensor can close when mobile terminal 400 is moved in one's ear
Display panel 4061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Spend meter, thermometer, infrared sensor etc., wherein infrared sensor can by emit and receive infrared light measurement object and
The distance between mobile terminal, details are not described herein.
Display unit 406 is for showing information input by user or being supplied to the information of user.Display unit 406 can wrap
Display panel 4061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 4061.
User input unit 407 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family is arranged and the related key signals input of function control.Specifically, user input unit 407 include touch panel 4071 and
Other input equipments 4072.Touch panel 4071, also referred to as touch screen collect user on it or neighbouring touch operation
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 4071 or in touch panel 4071
Neighbouring operation).Touch panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 410, receiving area
It manages the order that device 410 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch panel 4071.In addition to touch panel 4071, user input unit 407 can also include other input equipments
4072.Specifically, other input equipments 4072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 4071 can be covered on display panel 4061, when touch panel 4071 is detected at it
On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touch
The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 4, touch panel 4071 and display
Panel 4061 is to realize the function that outputs and inputs of mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 4071 and display panel 4061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place does not limit.
Interface unit 408 is the interface that external device (ED) is connect with mobile terminal 400.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in mobile terminal 400 or can be used in 400 He of mobile terminal
Transmission data between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 409 may include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 410 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 409, and calls and is stored in storage
Data in device 409 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Reason device 410 may include one or more processing units;Preferably, processor 410 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 410.
Mobile terminal 400 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411
Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 400 includes camera, light compensating lamp and some unshowned function modules, it is no longer superfluous herein
It states.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 410, and memory 409 is stored in
On memory 409 and the computer program that can be run on the processor 410, the computer program are executed by processor 410
Each process of the above-mentioned embodiments of the method shown in FIG. 1 of Shi Shixian, and identical technique effect can be reached, to avoid repeating, this
In repeat no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned method shown in FIG. 1 when being executed by processor, and can reach phase
Same technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as read-only storage
Device (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or light
Disk etc..
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus
Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described
There is also other identical elements in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that the embodiment of the present invention can be provided as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the present invention
Form.It is deposited moreover, the present invention can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
Example the above is only the implementation of the present invention is not intended to restrict the invention.For those skilled in the art
For, the invention may be variously modified and varied.It is all within spirit and principles of the present invention made by any modification, equivalent
Replace, improve etc., it should be included within scope of the presently claimed invention.
Claims (12)
1. a kind of method of light filling, which is characterized in that including:
When the frame synchronizing signal that the frame synchronizing signal output pin of camera exports is exported to the driving circuit of light compensating lamp, pass through institute
State driving circuit drives the light compensating lamp to open using the frame synchronizing signal as trigger signal, the frame synchronizing signal output pin
It is connected with the enabled foot of the driving circuit of the light compensating lamp.
2. according to the method described in claim 1, it is characterized in that, the light compensating lamp is infrared light compensating lamp, in the frame of camera
The frame synchronizing signal of synchronizing signal output pin output is exported to before the driving circuit of infrared light compensating lamp, further includes:
The optical information of current environment is obtained, the optical information includes one kind in following information:Intensity information, illuminance information
With brightness information;
Determine whether to meet the condition that the infrared light compensating lamp is opened under the current environment according to the optical information.
3. according to the method described in claim 2, it is characterized in that, the frame in the frame synchronizing signal output pin output of camera is same
Step signal is exported to before the driving circuit of light compensating lamp, further includes:
Whether detection user inputs the recognition of face trigger action for triggering recognition of face.
4. according to the method in claim 2 or 3, which is characterized in that it is described by the driving circuit with the frame synchronization
Signal drives the light compensating lamp to open as trigger signal, including:
Target current is exported to drive the infrared benefit at the time of receiving the frame synchronizing signal by the driving circuit
Light lamp is opened.
5. according to the method described in claim 4, it is characterized in that, further including:
According to the optical information and default correspondence, the current value of the target current, the default correspondence packet are determined
Include the correspondence of optical information and current value.
6. a kind of mobile terminal, which is characterized in that including:
The driving circuit of light compensating lamp, the frame synchronizing signal for the frame synchronizing signal output pin output in camera are exported to described
When the driving circuit of light compensating lamp, the light compensating lamp is driven to open using the frame synchronizing signal as trigger signal, the frame synchronization
Signal output pin is connected with the enabled foot of the driving circuit of the light compensating lamp.
7. mobile terminal according to claim 6, which is characterized in that the light compensating lamp is infrared light compensating lamp, the movement
Terminal further includes:
Processing unit, the frame synchronizing signal for the frame synchronizing signal output pin output in the camera are exported to the light filling
Before the driving circuit of lamp, the optical information of current environment is obtained, the optical information includes one kind in following information:Luminous intensity is believed
Breath, illuminance information and brightness information;
Determine whether to meet the condition that the infrared light compensating lamp is opened under the current environment according to the optical information.
8. mobile terminal according to claim 7, which is characterized in that the processing unit is additionally operable to:
It is exported to the driving circuit of the light compensating lamp in the frame synchronizing signal that the frame synchronizing signal output pin of the camera exports
Before, whether detection user inputs the recognition of face trigger action for triggering recognition of face.
9. the mobile terminal according to any one of claim 6 to 8, which is characterized in that the driving circuit of the light compensating lamp
It is specifically used for:
Target current is exported at the time of receiving the frame synchronizing signal to drive the infrared light compensating lamp to open.
10. mobile terminal according to claim 9, which is characterized in that the driving circuit of the light compensating lamp is additionally operable to:
According to the optical information and default correspondence, the current value of the target current, the default correspondence packet are determined
Include the correspondence of optical information and current value.
11. a kind of mobile terminal, which is characterized in that including:It memory, processor and is stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor
Any one of described in light filling method the step of.
12. a kind of computer-readable medium, which is characterized in that computer program is stored on the computer-readable medium, it is described
The step of method of the light filling as described in right wants any one of 1 to 5 is realized when computer program is executed by processor.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810400480.9A CN108429888B (en) | 2018-04-28 | 2018-04-28 | Light supplementing method and mobile terminal |
PCT/CN2019/084295 WO2019206225A1 (en) | 2018-04-28 | 2019-04-25 | Light supplement method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810400480.9A CN108429888B (en) | 2018-04-28 | 2018-04-28 | Light supplementing method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108429888A true CN108429888A (en) | 2018-08-21 |
CN108429888B CN108429888B (en) | 2020-02-18 |
Family
ID=63162100
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810400480.9A Active CN108429888B (en) | 2018-04-28 | 2018-04-28 | Light supplementing method and mobile terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108429888B (en) |
WO (1) | WO2019206225A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019206225A1 (en) * | 2018-04-28 | 2019-10-31 | 维沃移动通信有限公司 | Light supplement method and mobile terminal |
CN111741185A (en) * | 2020-06-24 | 2020-10-02 | 杭州海康威视数字技术股份有限公司 | Light supplement control method, device, system and equipment and storage medium |
CN111988506A (en) * | 2020-08-14 | 2020-11-24 | 深圳市商汤科技有限公司 | Light supplementing method and device, electronic equipment and storage medium |
CN112184937A (en) * | 2019-07-04 | 2021-01-05 | 钉钉控股(开曼)有限公司 | Attendance checking and infrared light supplement lamp driving method, device, equipment and system |
CN115604572A (en) * | 2022-09-02 | 2023-01-13 | 荣耀终端有限公司(Cn) | Image acquisition method and device |
Families Citing this family (2)
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 |
CN113992853B (en) * | 2021-10-27 | 2024-05-24 | 北京市商汤科技开发有限公司 | Light supplementing lamp control method, module, equipment, system, device and electronic equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1658059A (en) * | 2004-02-19 | 2005-08-24 | 乐金电子(中国)研究开发中心有限公司 | Device and method for regulating brightness of flash lamp of camera of mobile terminal |
JP2007323877A (en) * | 2006-05-31 | 2007-12-13 | Iwasaki Electric Co Ltd | Lighting fixture and auxiliary lighting system |
CN101710922A (en) * | 2009-11-10 | 2010-05-19 | 中兴通讯股份有限公司 | Shooting method and system based on mobile terminal |
US20100284676A1 (en) * | 2009-05-07 | 2010-11-11 | Panasonic Corporation | Imaging device |
CN103327229A (en) * | 2012-03-19 | 2013-09-25 | 卡西欧计算机株式会社 | Imaging device and imaging method |
CN104079831A (en) * | 2014-06-30 | 2014-10-01 | 苏州吉视电子科技有限公司 | Camera with multiple paths of flash synchronizing signals |
CN104092944A (en) * | 2014-07-21 | 2014-10-08 | Tcl通讯(宁波)有限公司 | Flashlight control method and system used during mobile terminal photographing |
US20140313390A1 (en) * | 2013-04-23 | 2014-10-23 | Olympus Imaging Corp. | Imaging apparatus, imaging method, and computer-readable recording medium |
JP2016009137A (en) * | 2014-06-25 | 2016-01-18 | 株式会社プラックス | Imaging device and imaging method |
Family Cites Families (8)
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 |
CN108429888B (en) * | 2018-04-28 | 2020-02-18 | 维沃移动通信有限公司 | Light supplementing method and mobile terminal |
-
2018
- 2018-04-28 CN CN201810400480.9A patent/CN108429888B/en active Active
-
2019
- 2019-04-25 WO PCT/CN2019/084295 patent/WO2019206225A1/en active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1658059A (en) * | 2004-02-19 | 2005-08-24 | 乐金电子(中国)研究开发中心有限公司 | Device and method for regulating brightness of flash lamp of camera of mobile terminal |
JP2007323877A (en) * | 2006-05-31 | 2007-12-13 | Iwasaki Electric Co Ltd | Lighting fixture and auxiliary lighting system |
US20100284676A1 (en) * | 2009-05-07 | 2010-11-11 | Panasonic Corporation | Imaging device |
CN101710922A (en) * | 2009-11-10 | 2010-05-19 | 中兴通讯股份有限公司 | Shooting method and system based on mobile terminal |
CN103327229A (en) * | 2012-03-19 | 2013-09-25 | 卡西欧计算机株式会社 | Imaging device and imaging method |
US20140313390A1 (en) * | 2013-04-23 | 2014-10-23 | Olympus Imaging Corp. | Imaging apparatus, imaging method, and computer-readable recording medium |
JP2016009137A (en) * | 2014-06-25 | 2016-01-18 | 株式会社プラックス | Imaging device and imaging method |
CN104079831A (en) * | 2014-06-30 | 2014-10-01 | 苏州吉视电子科技有限公司 | Camera with multiple paths of flash synchronizing signals |
CN104092944A (en) * | 2014-07-21 | 2014-10-08 | Tcl通讯(宁波)有限公司 | Flashlight control method and system used during mobile terminal photographing |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019206225A1 (en) * | 2018-04-28 | 2019-10-31 | 维沃移动通信有限公司 | Light supplement 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 |
CN111741185A (en) * | 2020-06-24 | 2020-10-02 | 杭州海康威视数字技术股份有限公司 | Light supplement control method, device, system and equipment and storage medium |
CN111741185B (en) * | 2020-06-24 | 2022-04-26 | 杭州海康威视数字技术股份有限公司 | Light supplement control method, device, system and equipment and storage medium |
CN111988506A (en) * | 2020-08-14 | 2020-11-24 | 深圳市商汤科技有限公司 | Light supplementing method and device, electronic equipment and storage medium |
CN115604572A (en) * | 2022-09-02 | 2023-01-13 | 荣耀终端有限公司(Cn) | Image acquisition method and device |
CN115604572B (en) * | 2022-09-02 | 2023-12-01 | 荣耀终端有限公司 | Image acquisition method, electronic device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108429888B (en) | 2020-02-18 |
WO2019206225A1 (en) | 2019-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108429888A (en) | The method and mobile terminal of light filling | |
CN107682616B (en) | Control method, camera cover and mobile terminal | |
CN110266930A (en) | Light compensation method, mobile terminal and the light adjusting method of image taking | |
CN108182896B (en) | A kind of brightness detection method, device and mobile terminal | |
CN109343759A (en) | A kind of control method and terminal of the display of breath screen | |
CN108989668A (en) | A kind of working method and mobile terminal of camera | |
WO2023065873A1 (en) | Frame rate adjustment method, terminal device, and frame rate adjustment system | |
CN108052368B (en) | A kind of application display interface control method and mobile terminal | |
CN109788136A (en) | Information display method and mobile terminal | |
CN108920059A (en) | Message treatment method and mobile terminal | |
CN110298304A (en) | A kind of skin detecting method and terminal | |
CN110162254A (en) | A kind of display methods and terminal device | |
CN109542279A (en) | A kind of terminal equipment control method and terminal device | |
CN108681413A (en) | A kind of control method and mobile terminal of display module | |
CN109558046A (en) | A kind of information display method and terminal device | |
CN109257505A (en) | A kind of screen control method and mobile terminal | |
CN110138963A (en) | A kind of message treatment method and mobile terminal | |
CN109474784A (en) | A kind of preview image processing method and terminal device | |
CN116010076A (en) | Application running method and related equipment | |
CN109190465A (en) | A kind of light compensating lamp mould group, fingerprint identification method and terminal device | |
CN109101151A (en) | A kind of information display processing method and terminal device | |
CN108845785A (en) | A kind of display methods and terminal | |
CN108063861A (en) | The method, apparatus and mobile terminal that a kind of state is reminded | |
CN107908348B (en) | The method and mobile terminal of display | |
CN108089830B (en) | Song information display methods, device and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |