CN109151331A - A kind of detection method and device - Google Patents

A kind of detection method and device Download PDF

Info

Publication number
CN109151331A
CN109151331A CN201710462376.8A CN201710462376A CN109151331A CN 109151331 A CN109151331 A CN 109151331A CN 201710462376 A CN201710462376 A CN 201710462376A CN 109151331 A CN109151331 A CN 109151331A
Authority
CN
China
Prior art keywords
signal
photosensitive element
ambient light
optical
terminal
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
Application number
CN201710462376.8A
Other languages
Chinese (zh)
Inventor
贾玉韬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Zhongxing New Software Co Ltd
Original Assignee
Xian Zhongxing New Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Zhongxing New Software Co Ltd filed Critical Xian Zhongxing New Software Co Ltd
Priority to CN201710462376.8A priority Critical patent/CN109151331A/en
Priority to PCT/CN2018/071611 priority patent/WO2018233277A1/en
Publication of CN109151331A publication Critical patent/CN109151331A/en
Pending legal-status Critical Current

Links

Classifications

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

Abstract

The embodiment of the invention provides a kind of detection methods, are applied in terminal, the terminal includes camera, which comprises the optical filter for filtering out infrared ray is arranged in the optical path that the photosensitive element in the camera receives ambient light signal;The photosensitive element is controlled to start to work;According to the light quantity of the received ambient light signal of the photosensitive element, the ambient light intensity is determined, the light quantity of the ambient light intensity and the ambient light signal is positively correlated;The embodiment of the invention also provides a kind of detection devices.

Description

A kind of detection method and device
Technical field
The present invention relates to end sensor technology more particularly to a kind of detection method and devices.
Background technique
The end products shell such as existing mobile phone earpiece nearby has many openings, such as preceding camera, proximity sensor or distance Sensor, optical sensor, indicator light etc., excessive opening will affect the overall appearance of mobile phone;On the other hand each to be open also all It is necessary to property, increased function is also all very practical, if preceding camera is mainly used for self-timer and Video chat, proximity sensor or away from It can be used for going out screen when receiving calls from sensor to avoid false triggering and power saving, optical sensor is mainly used for according to environment light Brightness of display screen is adjusted, indicator light is mainly used for signal and battery capacity indication etc., only directly removes these functions to improve appearance Also it can lose more than gain;
How can not only reduce open amount but also not influence the use of corresponding function, be a problem to be solved.
Summary of the invention
To solve existing technical problem, the embodiment of the present invention provides a kind of detection method and device, can use The camera of terminal realizes corresponding sensor function, reduces the manufacturing cost of terminal.
In order to achieve the above objectives, the technical solution of the embodiment of the present invention is achieved in that
The embodiment of the invention provides a kind of detection methods, are applied in terminal, the terminal includes camera, the side Method includes:
Filter for filtering out infrared ray is set in the optical path that the photosensitive element in the camera receives ambient light signal Mating plate;
The photosensitive element is controlled to start to work;
According to the light quantity of the received ambient light signal of the photosensitive element, the ambient light intensity, the environment light are determined Intensity and the light quantity of the ambient light signal are positively correlated.
Correspondingly, the embodiment of the invention also provides a kind of detection device, described device is located in terminal, described device packet It includes camera, processor and is configured to filter out the optical filter of infrared ray;Wherein,
The optical filter, the photosensitive element in the camera receive in the optical path of ambient light signal;
The processor is configured to control the photosensitive element in the camera and starts to work;
The photosensitive element, be configured to receive ambient light signal, and determine received ambient light signal light quantity;
The processor is additionally configured to the light quantity according to the received ambient light signal of the photosensitive element, determines the ring The light quantity of border luminous intensity, the ambient light intensity and the ambient light signal is positively correlated.
In a kind of detection method provided in an embodiment of the present invention and device, it is applied in terminal, the terminal includes camera shooting The optical filtering for filtering out infrared ray is arranged in head in the optical path that the photosensitive element in the camera receives ambient light signal first Piece;Then, the photosensitive element is controlled to start to work;According to the light quantity of the received ambient light signal of the photosensitive element, determine The light quantity of the ambient light intensity, the ambient light intensity and the ambient light signal is positively correlated;In this way, can use terminal The photosensitive element of camera realize the function close to optical sensor, do not need that optical sensor is additionally arranged at the terminal, can be with The open amount of terminal is reduced, and reduces the hardware manufacturing cost of terminal.
Detailed description of the invention
Fig. 1 is the flow chart of the detection method of the embodiment of the present invention;
Fig. 2 is a composed structure schematic diagram of the terminal of that embodiment of the invention;
Fig. 3 is the electrical block diagram of light source in the embodiment of the present invention;
Fig. 4 is a composed structure schematic diagram of optical filter switching part in the embodiment of the present invention;
Fig. 5 A is the Structure explosion diagram of optical filter switching part in the embodiment of the present invention;
Fig. 5 B is the schematic cross-sectional view of optical filter switching part in the embodiment of the present invention;
Fig. 6 is the structural schematic diagram of the camera of terminal in the embodiment of the present invention;
Fig. 7 is the schematic illustration of the proximity sensor mode of terminal in the embodiment of the present invention;
Fig. 8 is the flow chart that the proximity sensor mode of terminal is realized in the embodiment of the present invention;
Fig. 9 is the flow chart that the optical sensor mode of terminal is realized in the embodiment of the present invention;
Figure 10 is the flow chart that the dark surrounds screening-mode of terminal is realized in the embodiment of the present invention;
Figure 11 is the composed structure schematic diagram of detection device in the embodiment of the present invention.
Specific embodiment
The present invention is further described in detail below with reference to the accompanying drawings and embodiments.It should be appreciated that described herein Specific embodiment is only used to explain the present invention, is not intended to limit the present invention.
The embodiment of the invention discloses a kind of detection method and devices, can be applied in terminal, and terminal can be calculating The fixed terminals such as machine are also possible to the mobile terminals such as mobile phone, tablet computer;Camera is provided in terminal, which can be with It is the front camera of terminal, is also possible to the rear camera of terminal;
Camera is mainly made of camera lens, photosensitive element, digital signal processor, output interface circuit;Using camera shooting Head is when being shot, and incident ray polymerize to photosensitive element by camera lens, photosensitive element by the light received photosensitive array at Picture is converted to electric signal by optical signal, and digital signal processor receives electric signal, and electric signal completes calculating turn based on the received Required result is turned to export from interface circuit to the processor of terminal.
The type of photosensitive element in camera can be complementary metal oxide semiconductor (Complementary Metal-Oxide Semiconductor, CMOS) device, it is also possible to charge-coupled device (Charge Coupled Device, CCD), the type of photosensitive element is not defined in the embodiment of the present invention;Photosensitive element in camera can be with For detecting visible light and infrared ray, here it is possible to the visible gain of light and infrared ray gain is respectively set for photosensitive element, In, it is seen that the gain of light is used to characterize the ability that photosensitive element receives visible light, and infrared ray gain is for characterizing photosensitive element reception The ability of infrared ray gain;In an alternative embodiment, the visible gain of light and infrared ray gain of photosensitive element are adjustable Section.
Terminal, camera and photosensitive element based on above-mentioned record, propose following specific embodiment.
First embodiment
First embodiment of the invention proposes a kind of detection method, and Fig. 1 is the process of the detection method of the embodiment of the present invention Figure, as shown in Figure 1, the process may include:
Step S1: setting is infrared for filtering out in the optical path that the photosensitive element in the camera receives ambient light signal The optical filter of line;
Here, optical filter is located at the photosensitive element and receives in the optical path of ambient light signal, that is to say, that optical filter is located at Before the camera lens of camera, the light (including infrared ray and visible light) from outside carries out mirror after optical filter is carried out optical filtering processing Head is transferred on photosensitive element after camera lens is handled, in this way, the received ambient light signal of photosensitive element is through institute State optical filter treated ambient light signal
As can be seen that photosensitive element can be made to detect the visible light signal in environment by the processing of optical filter, Influence of the infrared signal to photosensitive element is reduced, the accuracy of detection of the photosensitive element to ambient visible light signal is improved.
Step S2: it controls the photosensitive element and starts to work;
It is understood that photosensitive element can work under the control of external control signal, photosensitive element work When making, it can receive from external light;The received light of photosensitive element can be visible light or infrared ray.
It should be noted that when control photosensitive element is worked, it is thus only necessary to utilize a part of device in camera Part is not needed using all devices in camera, for example, the mirror in camera can be used in photosensitive element work Head, photosensitive element and output interface circuit do not use digital signal processor, at this point it is possible to which the signal of photosensitive element is exported End is directly connected to the input terminal of output interface circuit, and photosensitive element, will be electric after received optical signal is converted to electric signal Signal exports to output interface circuit and is later exported electric signal to the processor of terminal by output interface circuit.
In actual implementation, the processor that this step can use terminal is realized.
Step S3: according to the light quantity of the received ambient light signal of the photosensitive element, determining the ambient light intensity, described The light quantity of ambient light intensity and the ambient light signal is positively correlated.
Here, for photosensitive element, the light quantity of the received optical signal of photosensitive element is by detecting ring on photosensitive element The number of the pixel (photosensitive unit) of border optical signal determines, specifically, detects the pixel (photosensitive unit) of ambient light signal Number is bigger, then the light quantity of the received optical signal of photosensitive element is bigger.
For determining the implementation of ambient light intensity, in one example, the ambient light intensity and the environment light The light quantity of signal is directly proportional;It is understood that the light quantity of the received ambient light signal of photosensitive element is bigger, then illustrate ring Border luminous intensity is bigger.
Optionally, itself received ambient light signal is converted to electric signal by photosensitive element, electricity according to the electric signal Size or voltage swing are flowed, determines the ambient light intensity;Wherein, the size of current of the electric signal or voltage swing with it is described The light quantity of ambient light signal is positively correlated, and the size of current or voltage swing of the ambient light intensity and the electric signal are at positive It closes;Preferably, the size of current of the electric signal or voltage swing are directly proportional to the light quantity of the ambient light signal, the environment Luminous intensity is directly proportional to the size of current of the electric signal or voltage swing.
In actual implementation, the electric signal of above-mentioned record can be exported to the processor of terminal, later, by processor root According to the size of current or voltage swing of the electric signal, the ambient light intensity is determined.
In the prior art, if to detect ambient light intensity using terminal, usually additionally setting light is passed at the terminal Sensor realizes the detection to ambient light intensity using optical sensor.
Compared with prior art, in embodiments of the present invention, when needing using terminal detection ambient light intensity, Ke Yili It is realized with the photosensitive element of the camera of terminal, in this way, not needing that optical sensor is additionally arranged at the terminal, it is possible to reduce terminal Open amount, and reduce the hardware manufacturing cost of terminal.In addition, detecting ambient light intensity using the photosensitive element of terminal When, due to not needing to be imaged, there is no need to the work of all photosensitive units of photosensitive element (namely only to need part row or column Cell array work), in ambient light intensity, calculation processing is simple, in this way, photosensitive element is used only part photosensitive unit or makes With lowest resolution, also only partial circuit works digital signal processor, by the brightness value of each pixel of photosensitive element, so that it may To converse required ambient light intensity, it is easy to implement.
In an alternative embodiment, by the optical filter from the optical path that the photosensitive element receives ambient light signal It removes;Controlling terminal emits optical signal to the examined object, wherein the optical signal that the terminal emits to examined object For infrared signal;
According to the light quantity of the received optical signal reflected by the examined object of the photosensitive element, determine described to be checked Object is surveyed at a distance from the terminal, the distance and the light quantity of the optical signal reflected by the examined object are positively correlated; Determine whether the distance is less than first distance threshold value;Alternatively,
It is received by described to be detected to the time of examined object transmitting optical signal and the photosensitive element according to terminal The time of the optical signal of object reflection, determine the examined object at a distance from the terminal;Determine whether the distance is small In first distance threshold value.
In actual implementation, the diode for emitting infrared signal can be set at the terminal, control diode to The examined object sends infrared signal;In one example, the processor of terminal controls diode to described to be detected Object sends infrared signal, for example, the processor of terminal can send voltage control signal, voltage control signal to diode When for high level signal, diode sends out infrared signal, and when voltage control signal is low level signal, diode stops It only works, does not launch outward light.Here diode can be infrared diode.
Optionally, diode can be located at the same side of the terminal with the camera, and diode can be terminal A part of indicator light reduces hardware manufacturing cost in this way, effectively can have opening using terminal.
Preferably, before controlling terminal emits optical signal to examined object, the red of the photosensitive element can also be turned up The outer gain of light, and/or, turn down the visible gain of light of the photosensitive element;In this way, the ability of photosensitive element detection infrared light can increase Add, and/or, the ability of photosensitive element detection visible light can reduce, since the examined object is at a distance from the terminal It is determined according to the received infrared signal reflected by the examined object of photosensitive element, then described photosensitive by being turned up The infrared gain of light of element, and/or, the visible gain of light of the photosensitive element is turned down, can be improved and determine the object to be detected Accuracy of the body at a distance from the terminal.
Implementation of the examined object described for determination at a distance from the terminal, in one example, Ke Yigen According to the light quantity of the received optical signal reflected by the examined object of the photosensitive element, the examined object and institute are determined State the distance of terminal;Identified distance and the light quantity of the optical signal reflected by the examined object are positively correlated;Preferably, Identified distance is directly proportional to the light quantity of optical signal reflected by the examined object.
Here, first distance threshold value can be configured according to practical application request, and first distance threshold value can be less than existing The detecting distance of some proximity sensors can also be greater than the detecting distance of existing proximity sensor;It, can in actual implementation Judge whether examined object is less than first distance threshold value at a distance from the terminal with the processor using terminal;Judge to It, can be according to the execution pair of judging result controlling terminal after whether being less than first distance threshold value at a distance from detection object and the terminal The operation answered, for example, control is eventually when judging result is that examined object is less than first distance threshold value at a distance from the terminal End executes the first operation;It is that examined object is greater than or equal to first distance threshold value at a distance from the terminal in judging result When, controlling terminal executes the second operation, and the first operation and the second operation can be two different operations.
Optionally, the light quantity according to the received optical signal reflected by the examined object of the photosensitive element, Determine the examined object at a distance from the terminal, comprising:
The received optical signal reflected by the examined object of the photosensitive element is converted into electric signal, according to described The size of current or voltage swing of electric signal determine the examined object at a distance from the terminal;Wherein, the electric signal Size of current or the light quantity of voltage swing and the optical signal reflected by the examined object be positively correlated, identified distance It is positively correlated with the size of current or voltage swing of the electric signal.
Preferably, the size of current of the electric signal or voltage swing and the optical signal that is reflected by the examined object Light quantity is directly proportional, and identified distance is directly proportional to the size of current of the electric signal or voltage swing.
In the prior art, at the terminal proximity sensor or range sensor is usually optical displacement sensor, Proximity sensor or range sensor mainly by the infrared light supply and position detecting element of transmitting infrared ray, in proximity sensor or When range sensor works, the infrared light that infrared light supply issues is irradiated in examined object after lens carry out optically focused;By The reflected light that examined object reflects focuses on position detecting element by sensitive lens, and position detecting element is according to reception Optical signal determine examined object at a distance from terminal;If the position (at a distance from terminal) of examined object becomes To change, the imaging position on position detecting element can change, then can be changed by the testing result of position detecting element, That is, the position of centre of gravity projected on position detecting element is scaled distance.Here, position detecting element can be position Set Sensitive Apparatus (Position Sensitive Detector, PSD) etc..
It compared with prior art, in embodiments of the present invention, can when needing to detect examined object at a distance from terminal To be realized using the photosensitive element of the camera using terminal, in this way, do not need additionally to be positioned proximate to sensor at the terminal, it can To reduce the open amount of terminal, and reduce the hardware manufacturing cost of terminal.
For by the optical filter from the implementation that removes in the optical path that the photosensitive element receives ambient light signal, In an optional embodiment, optical filter switching part can use to realize the removal of optical filter;In actual implementation, filter Piece is a part of optical filter switching part, and optical filter switching part can receive the control signal from terminal handler, and It is moved according to control signal, to make optical filter follow movement, for example, optical filter switching part can use electromagnetic drive Mode or motor etc. are realized.
In an example of optical filter switching part, optical filter switching part uses electromagnetic drive mode, and driving filters Piece is removed from the optical path that the photosensitive element receives ambient light signal;Optical filter switching part include: magnet and with the filter The fixed coil of mating plate, the coil are less than second distance threshold value when being not powered at a distance from the magnet;It is needing to filter It when mating plate is removed from the optical path that the photosensitive element receives ambient light signal, can be powered, make described to the coil Coil is moved under the magnetic drive of the group of magnets;When the coil moves under the magnetic drive of the group of magnets, The optical filter is driven to remove from the optical path that the photosensitive element receives ambient light signal.In actual implementation, the place of terminal Reason device can use processing when determination needs to remove optical filter from the optical path that the photosensitive element receives ambient light signal Device enters energized state to the coil is controlled.
Here, second distance threshold value can determine according to actual needs, can be enough to make when guaranteeing that coil is powered The magnetic force of displacement;Illustratively, the magnetic flux of electric current and magnet when given threshold is powered with coil is related;In coil In a kind of implementation of the position of magnet, magnet is annulus shape, and coil is when being not powered in circular magnet Portion.
Preferably, optical filter switching part further includes elastic slice;When being moved under magnetic drive of the coil in the group of magnets, The elastic slice is compressed, the elastic slice is made to generate elastic deformation;When coil is changed into off-position by energized state, coil is in bullet It is moved under the elastic force effect of piece, and then drives optical filter to be moved to photosensitive element and receive in the optical path of ambient light signal;? When actual implementation, need for optical filter to be moved in the optical path that photosensitive element receives ambient light signal when the processor of terminal determines When, it can control the coil and enter off-position.
Using the first embodiment of detection method of the invention, it can use the existing camera of terminal and realize optical sensor Or the function of proximity sensor can not influence user it is not necessary that optical sensor or proximity sensor are additionally arranged at the terminal In the case where the habit of using terminal, the open amount of the shell of terminal is reduced, is that the outer surface of terminal is more smooth, has beautified end The appearance at end;Since the detection range of the photosensitive element of camera is more than the proximity sensor or optical sensor of existing terminal Detection range, and the precision of the detection light of the photosensitive element of camera is greater than the essence of the detection light of the optical sensor of existing terminal Degree in this way, the detection range of the optical sensor or proximity sensor realized in terminal can be improved, and is improved and is realized in terminal The detection accuracy of optical sensor can develop diversified application with this.
Second embodiment
In order to more embody the purpose of the present invention, on the basis of first embodiment of the invention, carry out further It illustrates.
In the embodiment, the process shot to terminal is illustrated.
Illustratively, when determining that camera brings into operation, that is, can be according to the sense when determining unlatching shooting function The received ambient light signal of optical element, determines ambient light intensity;When the ambient light intensity is lower than given threshold, by the filter Mating plate is removed from the optical path that the photosensitive element receives ambient light signal;According to the received visible light signal of the photosensitive element And infrared signal, it controls the camera and is shot.
Here, determine the implementation of ambient light intensity at this according to the received ambient light signal of the photosensitive element It makes an explanation in invention first embodiment, the optical filter is removed from the optical path that the photosensitive element receives ambient light signal Implementation make an explanation in the first embodiment of the invention, which is not described herein again.In actual implementation, terminal camera shooting The digital signal processor of head controls the camera according to the received visible light signal of the photosensitive element and infrared signal It is shot.
It is understood that illustrating that ambient light intensity is lower when ambient light intensity is lower than given threshold, at this point, will filter After mating plate is removed from the optical path that the photosensitive element receives ambient light signal, photosensitive element can receive visible light letter simultaneously Number and infrared signal, since all objects all can constantly issue infrared light, compared to being only capable of receiving the camera of visible light, Sensitive volume obviously increases, and therefore, can effectively improve the clarity of dark surrounds shooting.
It should be noted that illustrate that ambient light intensity is higher when ambient light intensity is greater than or equal to setting Intensity threshold, At this point, optical filter position is kept not change, that is, optical filter is in photosensitive element and receives in the optical path of ambient light signal, according to sense The visible light signal that optical element receives, it can complete shooting.
Using the second embodiment of the present invention, when dark scene is shot, photosensitive element can receive simultaneously can Light-exposed signal and infrared signal, compared to being only capable of receiving the camera of visible light, sensitive volume is obviously increased, and therefore, can have Effect improves the clarity of dark surrounds shooting;When for example daytime, scene was shot the enough scenes of ambient light intensity, optical filter Switching part does not work, that is, needs just to can enter the camera lens of video camera after optical filter is handled from external light;It filters The problems such as piece is defaulted before camera lens, can be to avoid colour cast is caused when shooting.
3rd embodiment
In order to more embody the purpose of the present invention, on the basis of previous embodiment, progress is further illustrated It is bright.
Fig. 2 is the first composed structure schematic diagram of the terminal of that embodiment of the invention, as shown in Fig. 2, the terminal includes light source 101, optical filter switching part 103, camera 104 and processor 102;Wherein,
Light source 101 can issue visible light and issue infrared ray, and in a kind of example, light source can for that can issue Dual-purpose luminescent diode that is light-exposed and can issuing infrared ray, light source can issue different types of light according to different control signals Line, the received control signal of light source may come from processor;In another example, light source includes two light emitting diodes, One of light emitting diode is the light emitting diode for issuing visible light, and another light emitting diode is issue infrared ray luminous two Pole pipe.
Processor 102 can be realized by the processor chips of mobile phone, work for controlling other devices, phase is completed The function of answering.
In a specific example of light source 101, light source 101 is from that can issue infrared light but also issue common The dual-purpose luminescent diode group of light realizes, dual-purpose luminescent diode includes visible optical diode for issuing visible light and is used for Issue the infrared diode of infrared ray;Under normal conditions, it is seen that optical diode work, the indicator light as terminal.It is needing Object is measured in the scene at a distance from terminal, the visible optical diode of control light source 101 is closed, and controls the red of light source 101 Outside line diode is opened, to emit infrared ray.
For example, Fig. 3 is the electrical block diagram of light source in the embodiment of the present invention, as shown in figure 3, LED01 and LED02 points Not Biao Shi bi-colour LED in mobile phone, indicator light LED01 and LED02 at work, can issue the visible light of different colours; LED03 is the infrared diode that the embodiment of the present invention increases newly, and R01 indicates resistance, indicator light LED01, indicator light LED02 and red The common node of the cathode of outside line diode (LED) 03 is grounded after series resistance R01, indicator light LED01, indicator light LED02 and Infrared diode LED03 be respectively used to access voltage signal, wherein indicator light LED01 anode access voltage signal be The voltage signal of the anode access of FLASH1, indicator light LED02 is FLASH2, the anode access of infrared diode LED03 Voltage signal is FLASH3, and visible voltage signal FLASH3 regards the control signal of infrared diode LED03 as here, in reality When implementation, it can use processor to the anode of infrared diode LED03 and send voltage signal FLASH3, it is possible to understand that It is that, when voltage signal FLASH3 is high level signal, infrared diode LED03 issues infrared ray, in voltage signal When FLASH3 is high level signal, infrared diode LED03 does not issue infrared ray (go out light).
In a specific example of optical filter switching part 103, referring to Fig. 4, optical filter switching part 103 includes dynamic Power part 1031 and optical filter 1032, power section 1031 is mobile with lower driving optical filter under control of the control signal, with control Camera photosensitive element receives different light and realizes different functions.
In another specific example of optical filter switching part 103, referring to Fig. 5 A and Fig. 5 B, optical filter switching part 103 include sleeve 203, elastic slice 202, coil 201, group of magnets 204, carrier 205 and optical filter 1032;Wherein, sleeve 203 is fixed It is fixed together in terminal enclosure or mainboard, or with camera;Carrier 205 is fixed together with optical filter 1032, for example, carrier 205 can be fixed with optical filter 1032 by connecting shaft, and sleeve 203 is enclosed construction, only the supply lines of coil 201 and Carrier 205 with optical filter 1032 connecting shaft, sleeve 203 can be used for protect and fixing internal component;Elastic slice 202 is fixed on set It in cylinder 203, and is contacted with coil 201, the range moved for limiting coil 201 or carrier 205;Coil 201 passes through carrier 205 It is fixed in group of magnets 204, coil 201 is fixed together with carrier 205;When coil 201 is not powered, optical filter 1032 is located at Photosensitive element receives in the optical path of ambient light signal;After coil 201 is powered, coil 201 can generate magnetic field, 201 magnetic field of coil It interacts with group of magnets 204, so that coil 201 is moved linearly in sleeve 203, to drive carrier 205 and optical filter 1032 act as linear movement, in this way, can be by optical filter 1032 from the optical path that the photosensitive element receives ambient light signal It removes;After coil 201 stops power supply, coil 201 returns to initial position under the action of elastic slice 202, at this point, optical filter 1032 It re-moves to photosensitive element in the optical path for receiving ambient light signal;In this way, realizing the movement of optical filter 1032.
Fig. 6 is the structural schematic diagram of the camera of the terminal of that embodiment of the invention, in a specific example of camera 104 In, referring to Fig. 6, camera 104 includes: camera lens 1041, photosensitive element 1042, digital signal processor 1043 and output interface electricity Incident ray polymerize to photosensitive element 1042 by road 1044, camera lens 1041, and photosensitive element 1042 converts the optical signal received For electric signal, and the electric signal is sent to digital signal processor, finally completes to calculate by digital signal processor 1043 and turn Required result is turned to export from interface circuit 1044 to the processor of terminal.
Terminal can be worked according to the difference of usage scenario using following several modes:
Normal use mode: processor controls light source according to practical application request and issues visible light, to prompt user;It filters Piece switching part does not work, that is, needs just to can enter the camera lens of video camera after optical filter is handled from external light;Filter Before mating plate default is located at camera lens, in order to avoid the problems such as causing colour cast when shooting;When being in normal use mode, camera is only received To open command (controller generates open command according to the shooting instruction of user), shooting function could be opened.
Proximity sensor mode: in the scene for needing judgment object and terminal whether to be closer to, for example, when user is hand-held Scenes, the terminal such as receive calls can work in proximity sensor mode;In proximity sensor mode, processor controls light source Stop issuing visible light, and control light source and issue on infrared ray to examined object, using optical filter switching part by camera Optical filter removal before camera lens, camera unlatching infrared light intensity detection mode (by the way that the infrared gain of light of sensitive component is turned up, The visible gain of light is reduced to realize), it is received according to photosensitive element on the light beam projecting to photosensitive element emitted in examined object The light quantity of optical signal, and distance is scaled by digital signal processor, later, processor is passed to by output interface circuit, In this way, processor can determine examined object at a distance from terminal;That is, can use camera and emit infrared The infrared diode of line realizes proximity sensor.
Fig. 7 is the schematic illustration of the proximity sensor mode of the terminal of that embodiment of the invention, as shown in fig. 7, passing close In sensor mode, visible optical diode is closed in processor control, opens infrared diode 5003 to emit infrared ray, infrared ray The infrared ray that diode 5003 emits projects in examined object 5001, and optical filter switching part controls power section and will image Optical filter before the camera lens 5004 of head is mobile.The infrared gain of light of photosensitive element 5005 is turned up in camera, and turns down photosensitive element The 5005 visible gain of light makes photosensitive element 5005 detect the light quantity of the light beam 5002 reflected by examined object 5001, the light The size of amount is directly proportional at a distance from terminal with examined object 5001, therefore, can according to photosensitive element 5005 detect by The light quantity for the light beam 5002 that detection object 5001 reflects, calculates examined object 5001 at a distance from terminal, the calculating process The processor that can use terminal realizes that the digital signal processor that also can use in camera is realized, is utilizing number letter When number processor calculates examined object 5001 at a distance from terminal, calculated result can be passed to through output interface circuit Processor does further judgement processing.
Fig. 8 is the flow chart for the proximity sensor mode that the embodiment of the present invention realizes terminal, as shown in figure 8, the process can To include:
S801: terminal handler receives proximity sensor trigger event.
Illustratively, whether terminal handler can meet the condition for opening proximity sensor with real-time judge, full determining Foot opens the condition of proximity sensor, illustrates that processor receives proximity sensor trigger event;Open the item of proximity sensor Part can be preset, for example, determining the condition for meeting and opening proximity sensor after receiving the dialing command of user.
S802: visible optical diode is closed in the processor control of terminal, and opens infrared diode to emit infrared ray.
This step can infrared diode transmitting infrared ray can be projected onto examined object.
S803: the processor control optical filter switching part work of terminal removes optical filter before camera lens.
S804: it according to the received optical signal reflected by the examined object of the photosensitive element, determines described to be checked Object is surveyed at a distance from the terminal.
In an optional example, it is (red by the way that sensitive component is turned up that camera opens infrared light intensity detection mode The outer gain of light reduces the visible gain of light and realizes), the received optical signal of photosensitive element is converted to electric signal by photosensitive element, and will The electric signal is sent to digital signal processor, later, by digital signal processor be calculated the examined object with The examined object is passed to processing by output interface circuit later by the distance of the terminal at a distance from the terminal Device,
The implementation of this step is made an explanation in the first embodiment of the invention, and which is not described herein again.
S805: terminal handler receives examined object at a distance from terminal.
S806: the processor controlling terminal of terminal is from proximity sensor pattern switching to normal use mode.
Here, the proximity sensor mode of terminal and normal use mode have been made illustrating, which is not described herein again.
S807: the processor of terminal at a distance from terminal, judges whether to need to continue according to the examined object Otherwise distance test, enters step S808 if it is, being back to step 802.
Here, distance test refers to the measurement examined object at a distance from terminal.
S808: the processor of terminal according to the examined object at a distance from terminal, other devices of controlling terminal Working condition terminates process later.
For example, terminal can be closed when determining that the examined object is less than first distance threshold value at a distance from terminal Display screen;When determining that the examined object is greater than or equal to first distance threshold value at a distance from terminal, can open end The display screen at end.
Optical sensor mode: in the scene for needing to detect ambient light intensity, e.g., user open screen intensity automatic adjustment and Screen scenes, the terminal such as lights and can work in optical sensor mode;In optical sensor mode, processor can control camera shooting Head opens visual intensity detection pattern (i.e. using the gain of light setting of default), according to the light of ambience light projection to photosensitive element Amount, determines ambient light intensity.For example, it is big to convert equal proportion for the light quantity size of ambience light projection to sensitive component Small electric signal detects the size of the electric signal by digital signal processor and is scaled ambient light intensity later, digital signal Ambient light intensity is passed to terminal handler by output interface circuit to carry out further judgement processing by processor.
Fig. 9 is the flow chart for the optical sensor mode that the embodiment of the present invention realizes terminal, as shown in figure 9, the process can be with Include:
S901: the processor of terminal receives optical sensor trigger event.
Illustratively, whether terminal handler can meet the condition for opening optical sensor with real-time judge, meet determining When opening the condition of optical sensor, illustrates that processor receives optical sensor trigger event, here, open the condition of optical sensor Can preset, for example, receive automatic adjustment screen intensity instruction, and receive user light screen instruction (for example, with The instruction of family solution lock screen) when, determine the condition for meeting and opening optical sensor.
S902: terminal handler judges whether camera is in screening-mode, if so, waiting camera to be not at shooting After mode, S903 is entered step;Otherwise, it is directly entered step S903;
S903: according to the received ambient light signal of the photosensitive element, ambient light intensity is determined.
In an optional example, photosensitive element can be converted the optical signal of ambience light projection to photosensitive element to The electric signal of scale, and the electric signal is sent to digital signal processor, it later, should by digital signal processor detection The size of electric signal is simultaneously scaled ambient light intensity, and digital signal processor transmits ambient light intensity by output interface circuit To terminal handler.
The implementation of this step is made an explanation in the first embodiment of the invention, and which is not described herein again.
S904: the processor of terminal receives ambient light intensity.
S905: the processor controlling terminal of terminal is from optical sensor pattern switching to normal use mode.
Here, the optical sensor mode of terminal and normal use mode have been made illustrating, which is not described herein again.
S906: the processor of terminal is according to the ambient light intensity, the working condition of other devices of controlling terminal, it Afterwards, terminate process.
For example, the working condition of other devices of controlling terminal may is that the brightness for adjusting the display screen of terminal, this, eventually The display screen at end can be liquid crystal display (Liquid Crystal Display, LCD).
Dark surrounds screening-mode: when camera is opened, i.e., when being shot using camera, first with camera Photosensitive element detect ambient light intensity, when ambient light intensity lower than setting Intensity threshold when, processor determine present terminal institute The environment at place is dark surrounds, at this point, processor control optical filter switching part removes optical filter before the camera lens of camera, At this point, the camera lens of camera can directly receive infrared ray;Later, controlling terminal is in normal use mode, in this way, camera shooting Head photosensitive element can receive visible light signal and infrared signal simultaneously, due to all objects all can constantly issue it is infrared Light, compared to being only capable of receiving the camera of visible light, sensitive volume is obviously increased, and therefore, can effectively improve dark surrounds shooting Clarity.
Figure 10 is the flow chart for the dark surrounds screening-mode that the embodiment of the present invention realizes terminal, as shown in Figure 10, the stream Journey may include:
S1001: the processor of terminal receives shooting instruction.
S1002: according to the received ambient light signal of the photosensitive element, ambient light intensity is determined.
The implementation of this step is identical as the implementation of step S903, and which is not described herein again.
S1003: the processor of terminal receives ambient light intensity.
S1004: the processor of terminal judges whether ambient light intensity is lower than setting Intensity threshold, if it is, entering step Otherwise rapid S1005 enters step S1006.
S1005: the processor control optical filter switching part work of terminal removes optical filter before camera lens, later, Execute step S1006.
S1006: the processor control camera of terminal enters normal photographing mode, later, terminates process.
Fourth embodiment
For the detection method of previous embodiment, fourth embodiment of the invention proposes a kind of detection device.
Figure 11 is the composed structure schematic diagram of the detection device of the embodiment of the present invention, and as shown in figure 11, which is located at eventually In end, which includes camera 104, processor 102 and is configured to filter out the optical filter of infrared ray;Wherein,
The optical filter, the photosensitive element in the camera receive in the optical path of ambient light signal;
The processor 102 is configured to control the photosensitive element in the camera and starts to work;
The photosensitive element, be configured to receive ambient light signal, and determine received ambient light signal light quantity;
The processor 102, is additionally configured to the light quantity according to the received ambient light signal of the photosensitive element, determine described in The light quantity of ambient light intensity, the ambient light intensity and the ambient light signal is positively correlated.
Optionally, the processor 102 is additionally configured to after determining that the camera is started to work, is determining the ring When border luminous intensity is lower than setting Intensity threshold, the optical filter is controlled from the optical path that the photosensitive element receives ambient light signal It removes;According to the received visible light signal of the photosensitive element and infrared signal, controls the camera and shot.
Optionally, the processor 102 is additionally configured to control the optical filter from photosensitive element reception environment light letter Number optical path on remove;Controlling terminal emits optical signal to the examined object, wherein the terminal is sent out to examined object The optical signal penetrated is infrared signal;
The processor 102 is additionally configured to according to the received light reflected by the examined object of the photosensitive element The light quantity of signal determines the examined object at a distance from the terminal, and the distance is reflected with by the examined object The light quantity of optical signal be positively correlated;Determine whether the distance is less than first distance threshold value;Alternatively,
It is received by described to be detected to the time of examined object transmitting optical signal and the photosensitive element according to terminal The time of the optical signal of object reflection, determine the examined object at a distance from the terminal;Determine whether the distance is small In first distance threshold value.
Optionally, described device further includes the diode for being configured to transmitting infrared signal;
The processor 102, concrete configuration are to control the diode to send infrared signal to the examined object.
Optionally, described device further includes optical filter switching part, and the optical filter switching part is configured to according to reception Control signal, driving optical filter is mobile;
The processor 102, concrete configuration are that control signal is sent to the optical filter switching part, make the optical filter Switching part drives optical filter to remove from the optical path that the photosensitive element receives ambient light signal.
Optionally, the optical filter switching part is configured to using electromagnetic drive mode, and driving optical filter is from described photosensitive It is removed in the optical path of element reception ambient light signal.
Optionally, the optical filter switching part includes: magnet and the coil fixed with the optical filter, and the coil exists It is less than second distance threshold value when being not powered at a distance from the magnet;
The processor 102, concrete configuration are to control the coil to be powered, and make the coil in the group of magnets It is moved under magnetic drive;When the coil is configured to move under the magnetic drive of the group of magnets, the optical filtering is driven Piece is removed from the optical path that the photosensitive element receives ambient light signal.
In the exemplary embodiment, the embodiment of the invention also provides a kind of computer readable storage medium, for example including The memory of computer program, above-mentioned computer program can be executed by realizing the processor 102 of the device of sensor at the terminal, To complete step described in preceding method.Computer readable storage medium can be magnetic RAM (FRAM, Ferromagnetic Random Access Memory), read-only memory (ROM, Read Only Memory), it is programmable only Read memory (PROM, Programmable Read-Only Memory), Erasable Programmable Read Only Memory EPROM (EPROM, Erasable Programmable Read-Only Memory), electrically erasable programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), flash memory (Flash Memory), magnetic surface storage, CD or CD-ROM (CD-ROM, Compact Disc Read-Only Memory) etc. Memory;Be also possible to include one of above-mentioned memory or any combination various equipment, such as mobile phone, computer, plate Equipment, personal digital assistant etc..
A kind of computer readable storage medium is located at terminal, and the terminal includes camera, the sense in the camera The optical filter for filtering out infrared ray is provided in the optical path of optical element reception ambient light signal;The computer-readable storage medium Matter is stored with computer program, when which is run by processor, executes:
The photosensitive element is controlled to start to work;
According to the light quantity of the received ambient light signal of the photosensitive element, the ambient light intensity, the environment light are determined Intensity and the light quantity of the ambient light signal are positively correlated.
Optionally, it when the computer program is run by processor, also executes:
Received ambient light signal is converted into electric signal by the photosensitive element, size of current according to the electric signal Or voltage swing, determine the ambient light intensity;Wherein, the size of current of the electric signal or voltage swing and the environment light The light quantity of signal is positively correlated, and the size of current or voltage swing of the ambient light intensity and the electric signal are positively correlated.
Optionally, it when the computer program is run by processor, also executes:
It, will be described when the ambient light intensity is lower than setting Intensity threshold after determining that the camera is started to work Optical filter is removed from the optical path that the photosensitive element receives ambient light signal;According to the received visible light letter of the photosensitive element Number and infrared signal, control the camera and shot.
Optionally, it when the computer program is run by processor, also executes:
The optical filter is controlled to remove from the optical path that the photosensitive element receives ambient light signal;
Controlling terminal emits optical signal to the examined object, wherein the light that the terminal emits to examined object Signal is infrared signal;
According to the light quantity of the received optical signal reflected by the examined object of the photosensitive element, determine described to be checked Object is surveyed at a distance from the terminal, the distance and the light quantity of the optical signal reflected by the examined object are positively correlated; Determine whether the distance is less than first distance threshold value;Alternatively,
It is received by described to be detected to the time of examined object transmitting optical signal and the photosensitive element according to terminal The time of the optical signal of object reflection, determine the examined object at a distance from the terminal;Determine whether the distance is small In first distance threshold value.
Optionally, it when the computer program is run by processor, also executes:
The received optical signal reflected by the examined object of the photosensitive element is converted into electric signal, according to described The size of current or voltage swing of electric signal determine the examined object at a distance from the terminal;Wherein, the electric signal Size of current or the light quantity of voltage swing and the optical signal reflected by the examined object be positively correlated, identified distance It is positively correlated with the size of current or voltage swing of the electric signal.
Optionally, it when the computer program is run by processor, also executes:
Before controlling terminal emits optical signal to examined object, the method also includes: increase the photosensitive element The infrared gain of light, and/or, reduce the visible gain of light of the photosensitive element.
Optionally, optical filter switching part is provided in the terminal, the optical filter switching part is used for according to reception Control signal, driving optical filter is mobile;
When the computer program is run by processor, also execute:
Control signal is sent to the optical filter switching part, the optical filter switching part is made to drive optical filter from described It is removed in the optical path of photosensitive element reception ambient light signal.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention Formula.Moreover, the present invention, which can be used, can use storage in the computer that one or more wherein includes computer usable program code The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or 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 counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (18)

1. a kind of detection method, which is characterized in that be applied in terminal, the terminal includes camera, which comprises
Optical filter for filtering out infrared ray is set in the optical path that the photosensitive element in the camera receives ambient light signal;
The photosensitive element is controlled to start to work;
According to the light quantity of the received ambient light signal of the photosensitive element, the ambient light intensity, the ambient light intensity are determined It is positively correlated with the light quantity of the ambient light signal.
2. the method according to claim 1, wherein described according to the received ambient light signal of the photosensitive element Light quantity, determine the ambient light intensity, comprising:
Received ambient light signal is converted into electric signal by the photosensitive element, size of current or electricity according to the electric signal Size is pressed, determines the ambient light intensity;Wherein, the size of current of the electric signal or voltage swing and the ambient light signal Light quantity be positively correlated, the size of current or voltage swing of the ambient light intensity and the electric signal are positively correlated.
3. the method according to claim 1, wherein the method also includes:
After determining that the camera is started to work, when the ambient light intensity is lower than setting Intensity threshold, by the optical filtering Piece is removed from the optical path that the photosensitive element receives ambient light signal;According to the received visible light signal of the photosensitive element and Infrared signal controls the camera and is shot.
4. the method according to claim 1, wherein the method also includes:
The optical filter is removed from the optical path that the photosensitive element receives ambient light signal;
Controlling terminal emits optical signal to the examined object, wherein the optical signal that the terminal emits to examined object For infrared signal;
According to the light quantity of the received optical signal reflected by the examined object of the photosensitive element, the object to be detected is determined At a distance from the terminal, the distance and the light quantity of the optical signal reflected by the examined object are positively correlated body;It determines Whether the distance is less than first distance threshold value;Alternatively,
It is received by the examined object to the time of examined object transmitting optical signal and the photosensitive element according to terminal The time of the optical signal of reflection determines the examined object at a distance from the terminal;Determine the distance whether less than One distance threshold.
5. according to the method described in claim 4, it is characterized in that, described received by described to be checked according to the photosensitive element The light quantity for surveying the optical signal of object reflection, determines the examined object at a distance from the terminal, comprising:
The received optical signal reflected by the examined object of the photosensitive element is converted into electric signal, according to the telecommunications Number size of current or voltage swing, determine the examined object at a distance from the terminal;Wherein, the electricity of the electric signal Stream size or the light quantity of voltage swing and the optical signal reflected by the examined object are positively correlated, identified distance and institute The size of current or voltage swing for stating electric signal are positively correlated.
6. according to the method described in claim 4, it is characterized in that, being provided in the terminal for emitting infrared signal Diode;
It includes: to control the diode to the examined object that the controlling terminal, which emits optical signal to the examined object, Send infrared signal.
7. according to the method described in claim 4, it is characterized in that, controlling terminal to examined object emit optical signal before, The method also includes: increase the infrared gain of light of the photosensitive element, and/or, the visible light for reducing the photosensitive element increases Benefit.
8. the method according to claim 3 or 4, which is characterized in that the method also includes: setting filter on the terminal Mating plate switching part, for the optical filter switching part for controlling signal based on the received, driving optical filter is mobile;
It is described to remove the optical filter from the optical path that the photosensitive element receives ambient light signal, comprising:
Control signal is sent to the optical filter switching part, the optical filter switching part is made to drive optical filter from described photosensitive It is removed in the optical path of element reception ambient light signal.
9. according to the method described in claim 8, it is characterized in that, the optical filter switching part drives optical filter from the sense It is removed in the optical path of optical element reception ambient light signal, comprising:
The optical filter switching part uses electromagnetic drive mode, and driving optical filter receives ambient light signal from the photosensitive element Optical path on remove.
10. according to the method described in claim 9, it is characterized in that, the optical filter switching part include: magnet and with it is described The fixed coil of optical filter, the coil are less than second distance threshold value when being not powered at a distance from the magnet;
For the optical filter switching part according to electromagnetic drive mode is used, driving optical filter receives environment light from the photosensitive element It is removed in the optical path of signal, comprising:
It is powered to the coil, moves the coil under the magnetic drive of the group of magnets;The coil exists When moving under the magnetic drive of the group of magnets, the optical filter is driven to receive the optical path of ambient light signal from the photosensitive element Upper removal.
11. according to the method described in claim 10, it is characterized in that, the optical filter switching part further includes elastic slice;
The method also includes: when the coil moves under the magnetic drive of the group of magnets, the elastic slice is compressed, is made described Elastic slice generates elastic deformation.
12. a kind of detection device, which is characterized in that described device is located in terminal, described device include camera, processor and It is configured to filter out the optical filter of infrared ray;Wherein,
The optical filter, the photosensitive element in the camera receive in the optical path of ambient light signal;
The processor is configured to control the photosensitive element in the camera and starts to work;
The photosensitive element, be configured to receive ambient light signal, and determine received ambient light signal light quantity;
The processor is additionally configured to the light quantity according to the received ambient light signal of the photosensitive element, determines the environment light The light quantity of intensity, the ambient light intensity and the ambient light signal is positively correlated.
13. device according to claim 12, which is characterized in that the processor is additionally configured to determining the camera shooting After head is started to work, when determining the ambient light intensity lower than setting Intensity threshold, the optical filter is controlled from described photosensitive It is removed in the optical path of element reception ambient light signal;According to the received visible light signal of the photosensitive element and infrared signal, The camera is controlled to be shot.
14. device according to claim 12, which is characterized in that the processor is additionally configured to control the optical filter It is removed from the optical path that the photosensitive element receives ambient light signal;Controlling terminal emits optical signal to the examined object, Wherein, the optical signal that the terminal emits to examined object is infrared signal;
The processor is additionally configured to the light according to the received optical signal reflected by the examined object of the photosensitive element Amount, determine the examined object at a distance from the terminal, the distance and the optical signal reflected by the examined object Light quantity be positively correlated;Determine whether the distance is less than first distance threshold value;Alternatively,
It is received by the examined object to the time of examined object transmitting optical signal and the photosensitive element according to terminal The time of the optical signal of reflection determines the examined object at a distance from the terminal;Determine the distance whether less than One distance threshold.
15. device according to claim 14, which is characterized in that described device further includes being configured to transmitting infrared signal Diode;
The processor, concrete configuration are to control the diode to send infrared signal to the examined object.
16. device described in 3 or 14 according to claim 1, which is characterized in that described device further includes optical filter switching part, The optical filter switching part is configured to control signal based on the received, and driving optical filter is mobile;
The processor, concrete configuration are that control signal is sent to the optical filter switching part, make the optical filter switching part Part drives optical filter to remove from the optical path that the photosensitive element receives ambient light signal.
17. device according to claim 16, which is characterized in that the optical filter switching part is configured to drive using electromagnetism Flowing mode, driving optical filter are removed from the optical path that the photosensitive element receives ambient light signal.
18. device according to claim 17, which is characterized in that the optical filter switching part include: magnet and with institute The fixed coil of optical filter is stated, the coil is less than second distance threshold value when being not powered at a distance from the magnet;
The processor, concrete configuration are to control the coil to be powered, and drive the coil in the magnetic force of the group of magnets It is moved under dynamic;When the coil is configured to move under the magnetic drive of the group of magnets, drive the optical filter from institute It states and is removed in the optical path of photosensitive element reception ambient light signal.
CN201710462376.8A 2017-06-19 2017-06-19 A kind of detection method and device Pending CN109151331A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710462376.8A CN109151331A (en) 2017-06-19 2017-06-19 A kind of detection method and device
PCT/CN2018/071611 WO2018233277A1 (en) 2017-06-19 2018-01-05 Detection method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710462376.8A CN109151331A (en) 2017-06-19 2017-06-19 A kind of detection method and device

Publications (1)

Publication Number Publication Date
CN109151331A true CN109151331A (en) 2019-01-04

Family

ID=64737510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710462376.8A Pending CN109151331A (en) 2017-06-19 2017-06-19 A kind of detection method and device

Country Status (2)

Country Link
CN (1) CN109151331A (en)
WO (1) WO2018233277A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110727314A (en) * 2019-09-27 2020-01-24 武汉华星光电技术有限公司 Display device
CN111641766A (en) * 2020-06-03 2020-09-08 一汽解放汽车有限公司 Camera device and vehicle
CN112398970A (en) * 2019-07-31 2021-02-23 北京小米移动软件有限公司 Optical sensor, mobile terminal and visible light intensity detection method
CN114063094A (en) * 2021-11-16 2022-02-18 上海索迪龙自动化有限公司 Photoelectric sensor based laser sensing distance method and photoelectric sensor
CN116794068A (en) * 2023-05-31 2023-09-22 成都瑞波科材料科技有限公司 Rainbow pattern detection device and method for coating process and coating process equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055898A (en) * 2009-11-09 2011-05-11 中美强科技股份有限公司 Monitoring camera capable of setting color pictures or black and white pictures in specific time period
CN103066087A (en) * 2012-12-20 2013-04-24 格科微电子(上海)有限公司 Imaging sensor module and handheld electronic device
CN103515371A (en) * 2012-06-27 2014-01-15 格科微电子(上海)有限公司 Integrated optical sensor package
US20140111953A1 (en) * 2012-10-19 2014-04-24 Apple Inc. Electronic Devices With Components Mounted to Touch Sensor Substrates
US20150207014A1 (en) * 2012-09-11 2015-07-23 Sharp Kabushiki Kaisha Sensor, display device, mobile telephone, and digital camera
CN105933519A (en) * 2016-04-22 2016-09-07 广东欧珀移动通信有限公司 Screen brightness adjusting method and device and mobile terminal
US20170019577A1 (en) * 2015-07-17 2017-01-19 Dell Products L.P. Safety circuit for infrared and laser imaging devices
CN106657737A (en) * 2016-12-14 2017-05-10 北京小米移动软件有限公司 Camera assembly and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0132789Y1 (en) * 1995-05-10 1999-03-30 고성욱 Open/close apparatus of infrared filter for a camera
CN203313287U (en) * 2013-06-17 2013-11-27 深圳警翼数码科技有限公司 Photographic device
CN104717347A (en) * 2013-12-13 2015-06-17 中兴通讯股份有限公司 Method, device and terminal for liquid crystal display backlight management
CN104980639A (en) * 2014-04-03 2015-10-14 杭州华为企业通信技术有限公司 Infrared control device, infrared control method and image camera
CN204721435U (en) * 2015-01-23 2015-10-21 宁波舜宇光电信息有限公司 Security protection camera module
CN106161728B (en) * 2015-03-24 2020-03-24 联想(北京)有限公司 Sensing device, electronic equipment and detection method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055898A (en) * 2009-11-09 2011-05-11 中美强科技股份有限公司 Monitoring camera capable of setting color pictures or black and white pictures in specific time period
CN103515371A (en) * 2012-06-27 2014-01-15 格科微电子(上海)有限公司 Integrated optical sensor package
US20150207014A1 (en) * 2012-09-11 2015-07-23 Sharp Kabushiki Kaisha Sensor, display device, mobile telephone, and digital camera
US20140111953A1 (en) * 2012-10-19 2014-04-24 Apple Inc. Electronic Devices With Components Mounted to Touch Sensor Substrates
CN103066087A (en) * 2012-12-20 2013-04-24 格科微电子(上海)有限公司 Imaging sensor module and handheld electronic device
US20170019577A1 (en) * 2015-07-17 2017-01-19 Dell Products L.P. Safety circuit for infrared and laser imaging devices
CN105933519A (en) * 2016-04-22 2016-09-07 广东欧珀移动通信有限公司 Screen brightness adjusting method and device and mobile terminal
CN106657737A (en) * 2016-12-14 2017-05-10 北京小米移动软件有限公司 Camera assembly and terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112398970A (en) * 2019-07-31 2021-02-23 北京小米移动软件有限公司 Optical sensor, mobile terminal and visible light intensity detection method
CN110727314A (en) * 2019-09-27 2020-01-24 武汉华星光电技术有限公司 Display device
CN111641766A (en) * 2020-06-03 2020-09-08 一汽解放汽车有限公司 Camera device and vehicle
CN114063094A (en) * 2021-11-16 2022-02-18 上海索迪龙自动化有限公司 Photoelectric sensor based laser sensing distance method and photoelectric sensor
CN116794068A (en) * 2023-05-31 2023-09-22 成都瑞波科材料科技有限公司 Rainbow pattern detection device and method for coating process and coating process equipment

Also Published As

Publication number Publication date
WO2018233277A1 (en) 2018-12-27

Similar Documents

Publication Publication Date Title
CN109151331A (en) A kind of detection method and device
JP3420405B2 (en) Imaging device
JP5096017B2 (en) Imaging device
CN101178532B (en) Image capturing apparatus, control method therefor
CN104980647B (en) Image processing apparatus, photographic device, determination method and driving method
CN101568870B (en) Image-pickup apparatus and control method, and image-pickup system
JP6321145B2 (en) Ranging device, ranging method, and ranging program
CN105959581A (en) Electronic device having dynamically controlled flashlight for image capturing and related control method
JP2002244027A (en) Range-finding device
KR20180035816A (en) Sensor-based camera initialization
CN101169573A (en) Imaging device, imaging device controlling method, and computer program
CN104094150B (en) Lens assembly, lens driving method, filming apparatus and filming apparatus main body
KR20200027276A (en) Electronic device for obtaining images by controlling frame rate for external object moving through point ofinterest and operating method thereof
JP2013042298A (en) Imaging apparatus and flicker generation frequency detection method
JP2001318303A (en) Range-finder for camera
JP2008052285A (en) Focus detecting device
JP2013042300A (en) Imaging apparatus and flicker generation frequency detection method
JPH08334678A (en) Range finder
KR0166689B1 (en) Automatic photograph convert apparatus of zoom camera and control
CN205726013U (en) A kind of electronic equipment
KR970048878A (en) Device for controlling red-eye light emission of camera
JP2002341235A (en) Digital camera
JP2013044997A (en) Imaging apparatus
JP7158880B2 (en) IMAGING DEVICE, CONTROL METHOD THEREOF, AND CONTROL PROGRAM
KR102661185B1 (en) Electronic device and method for obtaining images

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: 20190104

RJ01 Rejection of invention patent application after publication