CN109862280A - A kind of camera module, image pickup method, terminal and computer readable storage medium - Google Patents
A kind of camera module, image pickup method, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN109862280A CN109862280A CN201811627609.6A CN201811627609A CN109862280A CN 109862280 A CN109862280 A CN 109862280A CN 201811627609 A CN201811627609 A CN 201811627609A CN 109862280 A CN109862280 A CN 109862280A
- Authority
- CN
- China
- Prior art keywords
- optical filter
- camera module
- terminal
- driving device
- processor
- 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.)
- Pending
Links
Landscapes
- Studio Devices (AREA)
Abstract
The invention discloses a kind of camera module, filming control method, terminal and computer readable storage mediums, it is immovable so that in the case where extraneous light is weak for optical filter in existing camera module, optical filter, which can also filter out some light, leads to the problem of imaging effect difference, it include optical filter box by being arranged in camera module, and the optical filter that can control in the optical filter box is moved to except daylighting path from the daylighting path of the camera module, or the driving device on daylighting path is moved to except daylighting path;The processor of terminal including the camera module can send control signal to driving device, be moved to except daylighting path or be moved on daylighting path to control optical filter;Invention additionally discloses a kind of terminal and computer readable storage mediums, by implementing above scheme, can when needed move on to except daylighting path optical filter and to enter imaging system by the part light that optical filter filters out originally to be conducive to imaging.
Description
Technical field
The present invention relates to terminal field of camera technology, more specifically to a kind of camera module, image pickup method, terminal
And computer readable storage medium.
Background technique
With the development of mobile intelligent terminal, function is more and more perfect, people to the dependence of mobile terminal also increasingly
By force, shooting is essential functional application, and requirement of the consumer to the image quality of camera module is also higher and higher.It is existing
Camera module be both provided with optical filter, to filter out unwanted light in shooting process, still, in the feelings that extraneous light is poor
So that this some light is entered imaging system under condition can be more conducive to be imaged instead.Optical filter in existing camera module is fixed setting
, referring to FIG. 1, Fig. 1 shows setting structure schematic diagram of the optical filter in camera module in the prior art, existing camera shooting mould
Group includes bracket 11 and the optical filter 12 being fixedly connected with bracket, and optical filter 12 is mainly cutoff filter, and effect is
The infrared light in light is filtered, makes camera module imaging effect close to eyes imaging effect.But due in existing camera module
Optical filter be all fixed from it is mobile, when this results in being shot under night or light difference ring border, infrared light
It can be filtered out.This style of shooting is typically necessary at night or weak light using flash lamp, and imaging effect is not yet
It is good.
Summary of the invention
The technical problem to be solved in the present invention is that: existing optical filter fixed setting is immovable;For the technical problem,
A kind of camera module, image pickup method, terminal and computer readable storage medium are provided.
In order to solve the above technical problems, the present invention provides a kind of camera module, the camera module include: driving device and
Optical filter box, the optical filter box include optical filter, and the driving device is connect with the optical filter, described for controlling
Optical filter is moved on the daylighting path except the daylighting path of the camera module, or is moved from the daylighting path
To except the daylighting path.
Optionally, the optical filter is the optical filter that can filter out infrared light.
Optionally, the optical filter includes the first optical filter and the second optical filter, and the driving device includes and described the
The first driving device and the second driving device that one optical filter and the second optical filter are separately connected, the first driving device and institute
It states the second driving device control first optical filter and the second optical filter moves in the opposite direction described first to filter
Piece and the second optical filter are moved to except the daylighting path, or control first optical filter and the second optical filter are towards opposite
Direction is mobile first optical filter and the second optical filter to be moved on the daylighting path.
Optionally, the camera module further includes the light acquisition module for acquiring extraneous light.
Further, the present invention also provides a kind of filming control method, the filming control method includes:
The processor of the terminal sends first control signal or second control signal to the driving device;
The optical filter is moved to institute from the daylighting path according to the first control signal by the driving device
It states except daylighting path;
The driving device is according to the second control signal by the optical filter from the daylighting path of the camera module
Except be moved on the daylighting path.
Optionally, the processor sends the first control signal when meeting at least one in the following conditions:
Terminal local environment extraneous light brightness value is lower than predetermined luminance threshold value;
Current time is switched to by falling into default second time period range and falls into first time segment limit;
Terminal current location falls into predeterminated position range;
Receive the first control instruction that user issues.
Optionally, the processor sends the second control signal when meeting at least one in the following conditions:
Terminal local environment extraneous light brightness value is by being changed to above the predetermined luminance threshold value lower than predetermined luminance threshold value;
Current time is switched to by falling into default first time segment limit and falls into second time period range;
Terminal current location in the predeterminated position range from becoming except the predeterminated position range;
Receive the second control instruction that user issues.
Further, the present invention also provides a kind of terminals, including processor, memory and communication bus;
The communication bus is for realizing the communication connection between the processor and the memory;
The processor is for executing one or more program stored in memory, to realize above-mentioned shooting control
The step of method.
Further, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums
It is stored with one or more program, one or more of programs can be executed by one or more processor, to realize
The step of above-mentioned filming control method.
Beneficial effect
The present invention provides a kind of camera module, filming control method, terminal and computer readable storage medium, camera module
Including optical filter and driving device, driving device can control optical filter and be moved to daylighting from the daylighting path of the camera module
It except path, or is moved on daylighting path except daylighting path, the processor of the terminal including the camera module can be to
The driving device sends control optical filter and is moved to from daylighting path except daylighting path or is moved to except daylighting path
Control signal on daylighting path, so that solving optical filter in existing camera module is that irremovable ask is fixedly installed
Topic.
And further, the processor of the terminal provided through this embodiment can be weak in the light for detecting external environment
When, the control signal that control optical filter is removed from daylighting path is sent to driving device, so that originally can be by optical filter
The part light filtered out enters imaging system, to help preferably imaging, thus realize terminal camera at night or
It also can be clearly imaged under low light environment, while this device of flash lamp can be saved, achieve the effect that save the cost.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
Fig. 1 is the optical filter schematic diagram in the camera module of the prior art;
The hardware structural diagram of Fig. 2 each embodiment one optional mobile terminal to realize the present invention;
The electrical structure schematic diagram of Fig. 3 each embodiment one optional camera to realize the present invention;
Operation schematic diagram when Fig. 4 is optional one piece of optical filter in the embodiment of the present invention one;
Operation schematic diagram when Fig. 5 is optional two pieces of optical filters in the embodiment of the present invention one;
Operation schematic diagram when Fig. 6 is optional four pieces of optical filters in the embodiment of the present invention one;
Fig. 7 is the camera module structural block diagram of each embodiment of the present invention;
Fig. 8 is the flow chart for the filming control method that second embodiment of the invention provides;
Fig. 9 is the structural schematic diagram for the terminal that third embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (PersonalDigital Assistant, PDA), portable matchmaker
Body player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. are mobile
The fixed terminals such as terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 2, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user input unit 130, sense
Survey unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190 etc..Fig. 2 shows
The mobile terminal with various assemblies is gone out, it should be understood that being not required for implementing all components shown, can substitute
More or fewer components are implemented on ground, and the element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication system
Or the radio communication between network.For example, wireless communication unit may include broadcasting reception module, mobile communication module, nothing
At least one of line the Internet module, short range communication module and location information module, it is externally real by above each communication module
Existing corresponding communication function.
A/V input unit 120 is for receiving audio or video signal.A/V input unit 120 may include 121 He of camera
Microphone 1220, camera 121 is to the static map obtained in video acquisition mode or image capture mode by image capture apparatus
The image data of piece or video is handled.Treated, and picture frame may be displayed on display module 151.At camera 121
Picture frame after reason can store in memory 160 (or other storage mediums) or carry out via wireless communication unit 110
It sends, two or more cameras 121 can be provided according to the construction of mobile terminal, specifically, the electrical structure for camera can
Referring to shown in Fig. 3.Microphone 122 can be in telephone calling model, logging mode, speech recognition mode etc. operational mode
Sound (audio data) is received via microphone, and can be audio data by such acoustic processing.Audio that treated
(voice) data can be converted in the case where telephone calling model to be sent to mobile communication via mobile communication module 112
The format of base station exports.Microphone 122 can be implemented various types of noises and eliminate (or inhibition) algorithm to eliminate (or inhibition)
The noise generated during sending and receiving audio signal or interference.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal
Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch
Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc.
Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display module 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape
State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal
100 orientation, the acceleration or deceleration movement of mobile terminal 100 and direction etc., and generate for controlling mobile terminal 100
The order of operation or signal.For example, sensing unit 140 can sense when mobile terminal 100 is embodied as sliding-type mobile phone
The sliding-type phone is to open or close.In addition, sensing unit 140 be able to detect power supply unit 190 whether provide electric power or
Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 may include proximity sensor 141.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user
It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM)
Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know
Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from
The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100
One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it
Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it
It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is
The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated
Signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.) out.
Output unit 150 may include display module 151, audio output module 152, alarm modules 153 etc..
Display module 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity
When talking about call mode, display module 151 can show and converse or other communicate (for example, text messaging, multimedia file
Downloading etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode
Or when image capture mode, display module 151 can show captured image and/or received image, show video or figure
Picture and the UI or GUI of correlation function etc..
Meanwhile when display module 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display module
151 may be used as input unit and output device.Display module 151 may include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
Desired embodiment, mobile terminal 100 may include two or more display modules (or other display devices), for example, moving
Dynamic terminal may include external display module (not shown) and internal display module (not shown).Touch screen can be used for detecting touch
Input pressure and touch input position and touch input area.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode,
It is when under the isotypes such as speech recognition mode, broadcast reception mode, wireless communication unit 110 is received or in memory 160
The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement
The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes.
Audio output module 152 may include loudspeaker, buzzer etc..
Alarm modules 153 can provide output notifying event to mobile terminal 100.Typical event can be with
Including calling reception, message sink, key signals input, touch input etc..Other than audio or video output, alarm modules
153 can provide output in different ways with the generation of notification event.For example, alarm modules 153 can be in the form of vibration
Output is provided, when receiving calling, message or some other entrance communications (incoming communication), alarm mould
Block 153 can provide tactile output (that is, vibration) to notify to user.By providing such tactile output, even if
When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm modules 153
The output of the generation of notification event can be provided via display module 151 or audio output module 152.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen
Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more
Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection
The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data
Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers
The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or can be structured as and control
Device 180 separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or picture
It draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member
Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof
Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor
At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.
For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations
Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai
Implement, software code can store in memory 160 and be executed by controller 180.
Fig. 3 is the electrical structure schematic diagram of each embodiment one optional camera of the present invention.
Phtographic lens 1211 is made of the multiple optical lens for being used to form shot object image, wherein phtographic lens 1211 can
Think single-focus lens or zoom lens.Phtographic lens 1211 can be in the direction of the optical axis under the control of lens driver 1221
Mobile, lens driver 1221 controls phtographic lens 1211 according to the control signal from lens driving control circuit 1222
Focal position also can control focal length in the case where zoom lens.Lens driving control circuit 1222 is according to from miniature
The control command of computer 1217 carries out the drive control of lens driver 1221, and lens driving control circuit 1222 can also be according to
Control command from controller 180, processor, microcontroller, microprocessor carries out drive control.
It is configured with and takes the photograph near the position of the shot object image formed on the optical axis of phtographic lens 1211, by phtographic lens 1211
Element 1212.Photographing element 1212 is for imaging shot object image and obtaining image data.On photographing element 1212
Two dimension and be arranged in a matrix the photodiode for constituting each pixel.Each photodiode generates photoelectricity corresponding with light income
Switching current, the photoelectric conversion electric current carry out charge accumulation by the capacitor connecting with each photodiode.The preceding table of each pixel
Face is configured with the RGB colour filter of bayer arrangement.
Photographing element 1212 is connect with imaging circuit 1213, which carries out charge in photographing element 1212
Accumulation control and picture signal read control, reduce the resetting laggard traveling wave of noise to the picture signal (analog picture signal) of reading
Shape shaping, and then gain raising etc. is carried out to become signal level appropriate.
Imaging circuit 1213 is connect with A/D converter 1214, which carries out modulus to analog picture signal
Conversion, to 1227 output digital image signal (hereinafter referred to as image data) of bus.
Bus 1227 is the transmitting path for being transmitted in the various data that the inside of camera reads or generates.In bus
1227 are connected to above-mentioned A/D converter 1214, are additionally connected to image processor 1215, jpeg processor 1216, microcomputer
Calculation machine 1217, SDRAM (Synchronous Dynamic random access memory, Synchronous Dynamic Random Access Memory)
1218, memory interface (hereinafter referred to as memory I/F) 1219, LCD (Liquid Crystal Display, liquid crystal display
Device) driver 1220.
Image processor 1215 carries out OB to the image data of the output based on photographing element 1212 and subtracts each other processing, white balance
Adjustment, gamma conversion, colour difference signal processing, noise removal process, changes processing, edge processing etc. respectively at color matrix operation simultaneously
Kind image procossing.Jpeg processor 1216 is when by Imagery Data Recording in recording medium 1225, according to JPEG compression mode pressure
Contract the image data read from SDRAM1218.In addition, jpeg processor 1216 shows to carry out image reproducing and carries out JPEG
The decompression of image data.When unziping it, the file being recorded in recording medium 1225 is read, in jpeg processor 1216
In implement decompression after, the image data of decompression is temporarily stored in SDRAM1218 and is carried out on LCD1226
Display.In addition, in the present embodiment, as compression of images decompression mode using JPEG mode, however Compress softwares
Contracting mode is without being limited thereto, it is of course possible to using MPEG, TIFF, other compressed and decompressed modes such as H.264.
Microcomputer 1217 plays the function of the control unit as camera entirety, is uniformly controlled the various processing of camera
Sequence.Microcomputer 1217 is connected to operating unit 1223 and flash memory 1224.
Operating unit 1223 includes but is not limited to physical button or virtual key, and the entity or virtual key can be electricity
Source button, camera button, edit key, dynamic image button, reproduction button, menu button, cross key, OK button, delete button,
The operational controls such as the various input buttons such as large buttons and various enter keys, detect the mode of operation of these operational controls,.
It will test result to export to microcomputer 1217.In addition, the front surface in the LCD1226 as display is equipped with
Touch panel detects the touch location of user, which is exported to microcomputer 1217.Microcomputer 1217
According to the testing result of the operating position from operating unit 1223, various processing sequences corresponding with the operation of user are executed.
Flash memory 1224 stores the program for executing the various processing sequences of microcomputer 1217.Microcomputer 1217
The control of camera entirety is carried out according to the program.In addition, flash memory 1224 stores the various adjusted values of camera, microcomputer 1217
Adjusted value is read, the control of camera is carried out according to the adjusted value.
SDRAM1218 be for image data etc. temporarily stored can electricity rewrite volatile memory.
SDRAM1218 temporarily stores the image data exported from A/D converter 1214 and in image processor 1215, jpeg processor
1216 it is equal in the image data that carried out that treated.
Memory interface 1219 is connect with recording medium 1225, is carried out image data and the text being attached in image data
First-class control data write-in recording medium 1225 and read from recording medium 1225 of part.Recording medium 1225 is, for example, can
The recording mediums such as memory card of disassembled and assembled freely on camera main-body, however it is without being limited thereto, it is also possible to be built in camera main-body
In hard disk etc..
LCD driver 1220 is connect with LCD1226, will treated that image data is stored in by image processor 1215
SDRAM1218 when needing to show, reads the image data of SDRAM1218 storage and shows on LCD1226, alternatively, at JPEG
The compressed image data of reason device 1216 is stored in SDRAM1218, and when needing to show, jpeg processor 1216 is read
The compressed image data of SDRAM1218, then unzip it, the image data after decompression is carried out by LCD1226
Display.
LCD1226 configuration performs image display at the back side of camera main-body.The LCD1226LCD, however it is without being limited thereto,
The various display panels (LCD1226) such as organic EL can be used, however it is without being limited thereto, it can also be using various displays such as organic EL
Panel.
Electrical structure based on above-mentioned mobile terminal hardware configuration and camera, proposition camera detecting device of the present invention,
Method and each embodiment of multi-cam terminal.
Hereinafter, being carried out by specific embodiment to camera detecting device of the present invention, method and multi-cam terminal detailed
Explanation.
Based on above-mentioned terminal hardware structure and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment
The present invention provides a kind of camera module, which be can be applied in various electric terminals, including various
Mobile terminal, such as mobile phone, plate, palm PC or laptop;It is such as desk-top in the terminal that can be used for non-moving class
Computer etc..Camera module provided in this embodiment includes optical filter box and driving device, and wherein optical filter box includes filter
Mating plate, it should be appreciated that optical filter is a kind of optical device for choosing required radiation wave band, can be divided by spectral characteristic
Bandpass filter, edge filter, light splitting optical filter, neutral-density filter, reflection filter etc.;Ultraviolet filter is.It drives
Dynamic device is connect with optical filter, is controlled optical filter and is moved on to except daylighting path from daylighting path or by optical filter from daylighting road
It is moved to except diameter on daylighting path.
The connection structure of driving device and optical filter in a kind of example, including installing the filter supporter of optical filter, drawing
The connecting rod leading the mobile guide rail of bracket and being attached with guide rail, driving device, which drives and passes through link transmission, drives optical filter
Bracket is moved along guide rail, and optical filter is finally moved to predetermined position, realizes the movement of optical filter.It is understood that driving
The connection structure of device and optical filter is not limited to above-mentioned connection type, any other connection structure for being able to achieve the present embodiment
It is ok.
Driving device can be micromotor, it is to be understood that the realization of driving device is not limited to motor, other
The equipment for being able to achieve the present embodiment function or demand of anticipating or structure are ok, and the installation site in camera module is as needed
Matching setting.
The shape of optical filter is also unlimited, can be rectangle, triangle, circle etc.;The number of optical filter is also unlimited, can be
One piece, two pieces, three pieces, four pieces etc..It should be noted that optical filter is regardless of how many number, as long as optical filter moves on to daylighting road
On diameter, it is equivalent to the size of optical filter in one piece of common camera module.
As shown in figure 4, one piece of optical filter 41 is arranged in camera module, and configure a driving device and the optical filter 41
Connection, the control signal driving optical filter that driving device is sent according to terminal handler, which moves down, is moved out to daylighting path 42,
It moves up and moves on on daylighting path 42.It is not limited to only downwards it is understood that optical filter is moved out to except daylighting path
It removing, any other direction for being able to achieve the present embodiment optical filter locomotive function is ok, for example, move upward out, remove to the left,
Remove to the right etc..
Optical filter working state schematic representation when Fig. 5 is two pieces of optical filters of setting in camera module.Setting in the camera module
Have two pieces of optical filters, be the first optical filter 511 and the second optical filter 512, respectively with first driving device and the second driving device
It is attached.In shooting process, the first driving device and second driving device control are sent out according to terminal handler
The control signal that send drives first optical filter 511 upwards and the second optical filter 512 is moved downwards in the opposite direction with will
First optical filter 511 and the second optical filter 512 are moved to except the daylighting path 52, or driving described first filters
Piece 511 is downwards and the second optical filter 512 is mobile with will first optical filtering 511 and the second optical filter up towards opposite direction
512 are moved on the daylighting path 52.It is not limited to except daylighting path respectively upwards it is understood that optical filter removes
Downward movement, any other direction for being able to achieve the present embodiment optical filter locomotive function are ok, such as two pieces of optical filters point
It does not move right to the left.
Optical filter working state schematic representation when Fig. 6 is four pieces of optical filters of setting in camera module.Setting in the camera module
Four pieces of optical filters, including the first optical filter 611, the second optical filter 612, third optical filter 613 and the 4th optical filter 614, often
One piece of optical filter is connect with a driving device respectively.In shooting process, the driving device is sent according to terminal handler
Control signal drive the optical filter to be moved out to except daylighting path 62 by direction shown in arrow shown in Fig. 6, or drive
Moving the optical filter, direction shown in arrow moves on on daylighting path 62 as shown in Figure 6.It is understood that optical filter removal is adopted
Moving direction shown in fig. 6, any other side for being able to achieve the present embodiment optical filter locomotive function are not limited to except light path
To being ok.
Optionally, in the present embodiment, optical filter is the optical filter for filtering out infrared light, and including but not limited to infrared cutoff is filtered
Mating plate.For the wavelength of the appreciable light of general human eye between 380~760nm, the infrared part for being higher by 760nm is to can't see
, enter inside camera module can interference images, cause color distortion, but filter out and just lose infrared night vision itself afterwards
Function.
Fig. 7 is the structural block diagram of the camera module of each embodiment of the present invention, as shown in fig. 7, the camera module includes driving
Dynamic device 71 and optical filter 72, further include light acquisition module 73.In the present embodiment, light acquisition module 73 is light level
Device, light sensor are used to detect the light luminance under current shooting environment, when the light intensity value of external environment is lower than default
When luminance threshold, the processor of terminal sends the control signal that optical filter is removed to daylighting path, driving device to driving device
Optical filter is moved on to except daylighting path according to control signal, so that infrared light is able to enter camera module and is conducive to imaging;Work as outside
When the light intensity value of environment is higher than predetermined luminance threshold value, the processor of terminal is sent to driving device moves into daylighting for optical filter
The control signal in path, driving device move on to optical filter on daylighting path according to control signal, and infrared light is stopped to enter camera shooting
Mould group, so as to normally be shot.
Present embodiments provide a kind of camera module, which includes driving device and optical filter, driving device with
Optical filter connection, controls the optical filter and is moved on the daylighting path except the daylighting path of the camera module, or
It is moved to from the daylighting path except the daylighting path, solving terminal camera in Related Technical Issues is that fixation is set
Set irremovable, when which results in being shot under the environment of night or light difference, infrared light can be also filtered out, and be made
The problem for obtaining imaging effect difference, realizes the effect that terminal camera can be also clearly captured under night or low light environment.
Second embodiment
Fig. 8 is the flow chart for the filming control method that second embodiment of the invention provides, which includes:
S801, detection meet the event for sending associated control signal condition;
S802, terminal processor to driving device send corresponding control signal;
Optical filter is moved to except daylighting path by S803, driving device according to the control signal of transmission from daylighting path
Or optical filter is moved on daylighting path except daylighting path.
In the present embodiment, the processor of terminal sends corresponding control signal to driving device, and the control signal includes:
First control signal and second control signal.Meet send associated control signal condition, that is, meet send first control signal or
The condition of person's second control signal, the condition for meeting transmission first control signal may is that
External environment light brightness value locating for terminal is lower than predetermined luminance threshold value;Predetermined luminance threshold value in the present embodiment
Setting can be with flexible choice.It can remotely located update after or factory built-in when leaving the factory by terminal producer;In others
In example, the customized setting of user or update can also be supported.The value of the predetermined luminance threshold value can be according to concrete application scene
It is flexibly set with demand.For example, it is 10LUX that the luminance threshold, which can be set, and LUX is light when user is for shooting at night
According to the unit of intensity, it is used to indicate the power of illumination and the amount of the illuminated degree of body surface area, 10LUX is generally in dusk room
Intensity of illumination.When light acquisition module detects the brightness value of external environment light lower than 10LUX, the processor of terminal to
Driving device sends the control signal that optical filter is removed to daylighting path, and optical filter is moved on to according to control signal and adopted by driving device
Except light path, infrared light is made to enter camera module conducive to blur-free imaging;When light acquisition module detects external environment light
Brightness value when being higher than 10LUX, the processor of terminal sends the control signal that optical filter is moved into daylighting path to driving device,
Driving device moves on to optical filter on daylighting path according to control signal, stops infrared light to enter camera module, when avoiding shooting
Color distortion, so as to normally be shot.
Current time is switched to by falling into default second time period range and falls into first time segment limit;In the present embodiment
First time segment limit is night, and second time period range is daytime, and the setting of time segment limit can be with flexible setting, can root
It is configured, can also be configured according to the difference in season according to the latitude of their location, height above sea level etc..For example, summer, daytime is long
Night is short, first time segment limit can be arranged between 0:00-6:00 and 19:00-24:00, the setting of second time period range
Between 6:00-19:00;In winter, days are short and nights long, first time segment limit can be arranged in 0:00-8:00 and 17:00-24:
Between 00, second time period range is arranged between 8:00-17:00.
Terminal current location falls into predeterminated position range;Predeterminated position range is some more special ground in the present embodiment
Point occasion, such as light is than darker warehouse, cinema, to illuminance required experiment room etc., the positioning side of predeterminated position
Formula includes but is not limited to GPS positioning.
Receive the first control instruction of user's transmission;In the present embodiment, user can also be according to oneself shooting needs
Control signal is sent to processor, for example, daytime will shoot in room, the light luminance of environment does not reach the shooting of oneself
It is required that at this moment user can oneself setting the first control instruction of unlatching.
When executing shooting, meet at least one above-mentioned condition, processor will be triggered to driving device and send the first control
Optical filter is moved to camera module after driving device receives the first control signal that the processor is sent by signal
Daylighting path except.
The condition for meeting transmission second control signal may is that
External environment light brightness value locating for terminal is by being changed to above the predetermined luminance threshold value lower than predetermined luminance threshold value;
Current time is switched to by falling into default first time segment limit and falls into second time period range;
Terminal current location in predeterminated position range from becoming except the preset range;
Receive the second control instruction of user's transmission.
When executing shooting, meet at least one above-mentioned condition, processor will be triggered to driving device and send the second control
Optical filter is moved to camera module after driving device receives the second control signal that the processor is sent by signal
Daylighting path on.
Optionally, in the present embodiment, the terminal further includes infrared light compensating lamp, when being shot under darker environment,
By infrared light compensating lamp carry out light filling, improve shooting effect, and infrared light human eye be it is invisible, use infrared light compensating lamp
When carrying out light filling, the dazzling situation of conventional flash lamp generation, use of the aspect user in different occasions are further improved.
A kind of filming control method is present embodiments provided, by the optical filter being arranged in camera module, and can be controlled
The optical filter made in the optical filter box is moved to except daylighting path from the daylighting path of the camera module, or from daylighting road
The driving device being moved to except diameter on daylighting path;The processor of terminal including the camera module can be sent out to driving device
Control signal is sent, to control the movement of optical filter.Solving terminal camera in Related Technical Issues is that fixed setting cannot move
Dynamic, to be shot when night or light difference, infrared light can be also filtered out, the problem of imaging effect difference, real
Show the effect that terminal camera can be also clearly captured under night or dim light, improves the Experience Degree of user.
3rd embodiment
The present embodiment additionally provides a kind of terminal, which can be mobile phone, tablet computer, laptop, palm electricity
The mobile terminals such as brain, PDA are also possible to the fixed cellular terminals such as number TV, desktop computer.It is shown in Figure 9, packet
Include processor 91, memory 92, camera module 93 and communication bus 94, in which:
Communication bus 94 is for realizing the connection communication between processor 91 and memory 92;
Processor 91 is used to execute the shooting control program stored in memory 92, to perform the steps of
Detection meets the event for sending associated control signal condition;
Driving device of the processor 91 into camera module 93 sends corresponding control signal;
Driving device optical filter is moved to from daylighting path according to the control signal of transmission except daylighting path or
Optical filter is moved on daylighting path except daylighting path.
The control signal includes: first control signal and second control signal;Meet and send associated control signal condition,
Meet the condition for sending first control signal or second control signal, meet send the condition of first control signal can be with
Be: external environment light brightness value locating for terminal is lower than predetermined luminance threshold value, and/or, when current time is by falling into default second
Between segment limit be switched to and fall into first time segment limit, and/or, terminal current location falls into predeterminated position range, and/or, connect
Receive the first control instruction of user's transmission;Execute shooting when, meet at least one above-mentioned condition, will trigger processor 91 to
Driving device sends first control signal;The condition for meeting transmission second control signal may is that external ambient light locating for terminal
Line brightness value by being changed to above the predetermined luminance threshold value lower than predetermined luminance threshold value, and/or, current time is by falling into default the
One time segment limit, which is switched to, falls into second time period range, and/or, terminal current location in predeterminated position range from becoming
Except the preset range, and/or, receive the second control instruction of user's transmission;When executing shooting, meet above-mentioned at least one
A condition will trigger processor 91 to driving device and send second control signal.
After driving device receives the first control signal of the transmission of processor 91, optical filter is moved to camera module 93
Except daylighting path, and starting infrared light compensating lamp is controlled, light filling is carried out by infrared light compensating lamp, improves shooting effect, infrared light
Human eye be it is invisible, using infrared light compensating lamp carry out light filling when, further improve conventional flash lamp generation dazzling situation, side
Use of the face user in different occasions;After driving device receives the second control signal of the transmission of processor 91, optical filter is moved
It moves on the daylighting path of camera module, prevents infrared light from entering in camera module 93, avoid color distortion, normally clapped
It takes the photograph.
A kind of terminal, including processor, memory, camera module and communication bus are present embodiments provided, camera shooting is passed through
The optical filter being arranged in mould group, and can control optical filter in the optical filter box from the daylighting path of the camera module
It is moved to except daylighting path, or is moved to the driving device on daylighting path except daylighting path;Including the camera module
Terminal processor can to driving device send control signal, to control the movement of optical filter.It solves the relevant technologies to ask
Terminal camera is that fixed setting is irremovable in topic, to be shot when night or light difference, infrared light
Also it can be filtered out, the problem of imaging effect difference realizes what terminal camera can be also clearly captured under night or dim light
Effect improves the Experience Degree of user.
Fourth embodiment
Present embodiments provide a kind of computer readable storage medium, the computer-readable recording medium storage have one or
The multiple programs of person, one or more program can be executed by one or more processor, with realize as first embodiment and/
Or the step of control of shooting described in second embodiment, which is not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of camera module characterized by comprising driving device and optical filter box, the optical filter box include filter
Mating plate, the driving device are connect with the optical filter, for controlling daylighting path of the optical filter from the camera module
Except be moved on the daylighting path, or be moved to except the daylighting path from the daylighting path.
2. camera module as described in claim 1, which is characterized in that the optical filter is the optical filtering that can filter out infrared light
Piece.
3. camera module as claimed in claim 1 or 2, which is characterized in that the optical filter includes the first optical filter and second
Optical filter, the driving device include the first driving device being separately connected with first optical filter and the second optical filter and
Two driving devices, the first driving device and second driving device control first optical filter and the second optical filter court
Opposite direction is mobile first optical filter and the second optical filter to be moved to except the daylighting path, or described in control
First optical filter and the second optical filter are mobile first optical filter and the second optical filter are moved to institute towards opposite direction
It states on daylighting path.
4. camera module as claimed in claim 1 or 2, which is characterized in that the camera module further includes for acquiring outside
The light acquisition module of light.
5. a kind of filming control method is applied to terminal, which is characterized in that the terminal includes such as any one of claim 1-4
The camera module, the filming control method include:
The processor of the terminal sends first control signal or second control signal to the driving device;
The optical filter is moved to described adopt according to the first control signal by the driving device from the daylighting path
Except light path;
The driving device according to the second control signal by the optical filter except the daylighting path of the camera module
It is moved on the daylighting path.
6. filming control method as claimed in claim 5, which is characterized in that the processor in meeting the following conditions extremely
The first control signal is sent when one few:
Terminal local environment extraneous light brightness value is lower than predetermined luminance threshold value;
Current time is switched to by falling into default second time period range and falls into first time segment limit;
Terminal current location falls into predeterminated position range;
Receive the first control instruction that user issues.
7. filming control method as claimed in claim 5, which is characterized in that the processor in meeting the following conditions extremely
The second control signal is sent when one few:
Terminal local environment extraneous light brightness value is by being changed to above the predetermined luminance threshold value lower than predetermined luminance threshold value;
Current time is switched to second time period range by default first time segment limit;
Terminal current location in the predeterminated position range from becoming except the predeterminated position range;
Receive the second control instruction that user issues.
8. such as the described in any item filming control methods of claim 5-7, which is characterized in that the terminal further includes infrared light filling
Lamp, when the processor sends first control signal to the driving device, the filming control method further include:
Control starts the infrared light compensating lamp.
9. a kind of terminal, which is characterized in that the terminal includes camera module according to any one of claims 1-4, is also wrapped
Include processor, memory and communication bus;
The communication bus is for realizing the communication connection between the processor and the memory;
The processor is for executing one or more program stored in memory, to realize as claim 5-8 is any
The step of filming control method described in item.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize that claim 5-8 such as appoints
The step of filming control method described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811627609.6A CN109862280A (en) | 2018-12-28 | 2018-12-28 | A kind of camera module, image pickup method, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811627609.6A CN109862280A (en) | 2018-12-28 | 2018-12-28 | A kind of camera module, image pickup method, terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109862280A true CN109862280A (en) | 2019-06-07 |
Family
ID=66893145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811627609.6A Pending CN109862280A (en) | 2018-12-28 | 2018-12-28 | A kind of camera module, image pickup method, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109862280A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113378599A (en) * | 2020-02-25 | 2021-09-10 | 北京小米移动软件有限公司 | Optical fingerprint device, electronic equipment, brightness control method and device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060022327A (en) * | 2004-09-07 | 2006-03-10 | 주식회사 비젼아이트 | Cctv camera with a detachable infrared filter |
CN101930154A (en) * | 2009-06-26 | 2010-12-29 | 鸿富锦精密工业(深圳)有限公司 | Filter plate switching device, lens module and camera module |
CN102316259A (en) * | 2011-09-23 | 2012-01-11 | 深圳市君曼科技发展有限公司 | Lens module for monitoring camera |
JP2012027206A (en) * | 2010-07-22 | 2012-02-09 | Ps-Tokki Inc | Filter switching device |
CN103986885A (en) * | 2013-02-08 | 2014-08-13 | 博立码杰通讯(深圳)有限公司 | Infrared camera |
CN104010133A (en) * | 2014-06-16 | 2014-08-27 | 联想(北京)有限公司 | Filtering control method and device and electronic equipment |
CN104735325A (en) * | 2015-04-07 | 2015-06-24 | 北京释码大华科技有限公司 | Mobile terminal imaging device and mobile terminal |
CN105516593A (en) * | 2015-12-17 | 2016-04-20 | 上海斐讯数据通信技术有限公司 | Shooting apparatus and shooting light supplement adjustment method and system therefor |
CN106161881A (en) * | 2015-04-01 | 2016-11-23 | 中兴通讯股份有限公司 | Camera arrangement and processing method of taking pictures |
-
2018
- 2018-12-28 CN CN201811627609.6A patent/CN109862280A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060022327A (en) * | 2004-09-07 | 2006-03-10 | 주식회사 비젼아이트 | Cctv camera with a detachable infrared filter |
CN101930154A (en) * | 2009-06-26 | 2010-12-29 | 鸿富锦精密工业(深圳)有限公司 | Filter plate switching device, lens module and camera module |
JP2012027206A (en) * | 2010-07-22 | 2012-02-09 | Ps-Tokki Inc | Filter switching device |
CN102316259A (en) * | 2011-09-23 | 2012-01-11 | 深圳市君曼科技发展有限公司 | Lens module for monitoring camera |
CN103986885A (en) * | 2013-02-08 | 2014-08-13 | 博立码杰通讯(深圳)有限公司 | Infrared camera |
CN104010133A (en) * | 2014-06-16 | 2014-08-27 | 联想(北京)有限公司 | Filtering control method and device and electronic equipment |
CN106161881A (en) * | 2015-04-01 | 2016-11-23 | 中兴通讯股份有限公司 | Camera arrangement and processing method of taking pictures |
CN104735325A (en) * | 2015-04-07 | 2015-06-24 | 北京释码大华科技有限公司 | Mobile terminal imaging device and mobile terminal |
CN105516593A (en) * | 2015-12-17 | 2016-04-20 | 上海斐讯数据通信技术有限公司 | Shooting apparatus and shooting light supplement adjustment method and system therefor |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113378599A (en) * | 2020-02-25 | 2021-09-10 | 北京小米移动软件有限公司 | Optical fingerprint device, electronic equipment, brightness control method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105430295B (en) | Image processing apparatus and method | |
WO2021052292A1 (en) | Video acquisition method and electronic device | |
CN105100609B (en) | The adjusting method of mobile terminal and acquisition parameters | |
CN105959543B (en) | It is a kind of to remove reflective filming apparatus and method | |
CN106027905B (en) | A kind of method and mobile terminal for sky focusing | |
CN109831636A (en) | Interdynamic video control method, terminal and computer readable storage medium | |
CN110225241A (en) | A kind of video capture control method, terminal and computer readable storage medium | |
CN105791701B (en) | Image capturing device and method | |
CN104902185B (en) | Image pickup method and device | |
US20220150403A1 (en) | Input Method and Electronic Device | |
CN109788268A (en) | Terminal and its white balance correction control method and computer readable storage medium | |
CN105335458B (en) | Preview picture method and device | |
CN105763811A (en) | Shooting control device and method | |
CN113475057A (en) | Video frame rate control method and related device | |
CN106020423A (en) | Screen control device and method for terminal | |
CN105187724B (en) | A kind of mobile terminal and method handling image | |
CN106385579A (en) | Camera detection device, method and multi-camera terminal | |
CN105407295B (en) | Mobile terminal filming apparatus and method | |
CN106028098A (en) | Video recording method, device, and terminal | |
CN113824834A (en) | Control method for screen-off display and electronic equipment | |
CN109842723A (en) | Terminal and its screen brightness control method and computer readable storage medium | |
CN104796625A (en) | Picture synthesizing method and device | |
CN111103922A (en) | Camera, electronic equipment and identity verification method | |
CN105744170A (en) | Picture photographing device and method | |
CN106484356A (en) | Adjust the method and device of brightness of image |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190607 |
|
RJ01 | Rejection of invention patent application after publication |