CN109029720B - Illumination intensity detection method and device - Google Patents
Illumination intensity detection method and device Download PDFInfo
- Publication number
- CN109029720B CN109029720B CN201810714340.9A CN201810714340A CN109029720B CN 109029720 B CN109029720 B CN 109029720B CN 201810714340 A CN201810714340 A CN 201810714340A CN 109029720 B CN109029720 B CN 109029720B
- Authority
- CN
- China
- Prior art keywords
- illumination intensity
- backlight
- terminal
- fingerprint sensor
- screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000005286 illumination Methods 0.000 title claims abstract description 217
- 238000001514 detection method Methods 0.000 title claims description 50
- 230000003287 optical effect Effects 0.000 claims abstract description 134
- 238000012545 processing Methods 0.000 claims abstract description 57
- 238000000034 method Methods 0.000 claims abstract description 43
- 239000005357 flat glass Substances 0.000 claims abstract description 34
- 238000003825 pressing Methods 0.000 claims description 32
- 239000006059 cover glass Substances 0.000 claims description 22
- 238000005259 measurement Methods 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 230000005236 sound signal Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000002035 prolonged effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 210000001061 forehead Anatomy 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J1/00—Photometry, e.g. photographic exposure meter
- G01J1/42—Photometry, e.g. photographic exposure meter using electric radiation detectors
- G01J1/4204—Photometry, e.g. photographic exposure meter using electric radiation detectors with determination of ambient light
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J1/00—Photometry, e.g. photographic exposure meter
- G01J1/42—Photometry, e.g. photographic exposure meter using electric radiation detectors
- G01J1/4228—Photometry, e.g. photographic exposure meter using electric radiation detectors arrangements with two or more detectors, e.g. for sensitivity compensation
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D25/00—Control of light, e.g. intensity, colour or phase
- G05D25/02—Control of light, e.g. intensity, colour or phase characterised by the use of electric means
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/3433—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using light modulating elements actuated by an electric field and being other than liquid crystal devices and electrochromic devices
- G09G3/346—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using light modulating elements actuated by an electric field and being other than liquid crystal devices and electrochromic devices based on modulation of the reflection angle, e.g. micromirrors
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Automation & Control Theory (AREA)
- Life Sciences & Earth Sciences (AREA)
- Sustainable Development (AREA)
- Image Input (AREA)
- Devices For Indicating Variable Information By Combining Individual Elements (AREA)
Abstract
The disclosure relates to a method and a device for detecting illumination intensity. The method comprises the following steps: intercepting target content displayed in a backlight interference area of a screen of the terminal from a processing component of the terminal; reflected light rays of backlight emitted by a backlight interference area of the screen at a cover plate glass of the terminal are emitted into the optical fingerprint sensor; the optical fingerprint sensor is arranged below a screen of the terminal; determining a first illumination intensity of reflected light rays of backlight at the cover plate glass, which are emitted by the backlight interference area, according to target content displayed in the backlight interference area; acquiring a second illumination intensity of the light detected by the optical fingerprint sensor; and determining the target illumination intensity of the ambient light of the environment where the terminal is located according to the first illumination intensity and the second illumination intensity of the light detected by the optical fingerprint sensor. The method and the device can improve the accuracy and stability of the illumination intensity measurement, effectively adjust the backlight brightness of the screen, save the electric quantity of the battery and improve the user experience.
Description
Technical Field
The disclosure relates to the field of intelligent equipment, in particular to a method and a device for detecting illumination intensity.
Background
The environment light sensor (sensor) is used for measuring the illumination intensity of the environment where the terminal is located and adjusting the backlight brightness of the terminal screen based on the intensity of the environment light so as to achieve the purpose of saving the electric quantity of the battery; for example, in a mobile phone, a notebook, a vehicle-mounted device, etc., the screen or display consumes up to 30% of the total power consumption of the device battery. By arranging the ambient light sensor in the terminal, when the ambient light sensor detects that the illumination intensity is higher, the screen is automatically adjusted to be high-brightness; when the ambient light sensor detects that the illumination intensity is low, the screen is automatically adjusted to be low brightness, so that the brightness of the screen is automatically adjusted, and the working time of a battery of the equipment can be prolonged to the maximum extent.
In the related art, an ambient light sensor is generally fixed under a cover glass on top of the front surface of the terminal.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a method and an apparatus for detecting illumination intensity. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided an illumination intensity detection method, including:
intercepting target content displayed in a backlight interference area of a screen of a terminal from a processing component of the terminal; reflected light rays of backlight emitted by the backlight interference area of the screen at the position of cover plate glass of the terminal are emitted into the optical fingerprint sensor; the optical fingerprint sensor is arranged below a screen of the terminal;
determining a first illumination intensity of reflected light rays of the backlight at the cover glass, which are emitted by the backlight interference area, according to target content displayed in the backlight interference area;
acquiring a second illumination intensity of the light detected by the optical fingerprint sensor;
and determining the target illumination intensity of the ambient light of the environment where the terminal is located according to the first illumination intensity and the second illumination intensity of the light detected by the optical fingerprint sensor.
In one embodiment, the processing component comprises at least any one or combination of: central processing unit, graphic processor, and memory.
In one embodiment, the determining a first illumination intensity of reflected light rays of the backlight at the cover glass from the backlight interference region according to the target content displayed in the backlight interference region includes:
determining the pixel value of each pixel point in the backlight interference area according to the target content displayed in the backlight interference area;
and determining a first illumination intensity of the reflected light of the backlight at the cover plate glass, which is emitted by the backlight interference region, according to the pixel value of each pixel point in the backlight interference region.
In one embodiment, the determining the target illumination intensity of the ambient light of the environment where the terminal is located according to the first illumination intensity and the second illumination intensity of the light detected by the optical fingerprint sensor includes:
calculating a difference value between a second illumination intensity of the light detected by the optical fingerprint sensor and the first illumination intensity;
and determining the obtained difference value as the target illumination intensity of the environment light of the environment where the terminal is located.
In one embodiment, before the intercepting, from a processing component of a terminal, target content displayed within a backlight interference area of a screen of the terminal, the method further comprises:
acquiring the field angle of the optical fingerprint sensor and the distance between the optical fingerprint sensor and the screen;
and determining a backlight interference area of the screen according to the field angle of the optical fingerprint sensor and the distance between the optical fingerprint sensor and the screen.
In one embodiment, the method further comprises:
detecting a finger pressing operation aiming at a preset fingerprint area;
when the finger pressing operation aiming at a preset fingerprint area is not detected within a preset time length, the step of intercepting target content displayed in a backlight interference area of a screen of the terminal from a processing component of the terminal is executed; or,
when detecting that a finger of a preset fingerprint area presses, identifying a user fingerprint corresponding to the finger pressing.
According to a second aspect of the embodiments of the present disclosure, there is provided an illumination intensity detection apparatus, including:
the intercepting module is used for intercepting target content displayed in a backlight interference area of a screen of the terminal from a processing component of the terminal; reflected light rays of backlight emitted by the backlight interference area of the screen at the position of cover plate glass of the terminal are emitted into the optical fingerprint sensor; the optical fingerprint sensor is arranged below a screen of the terminal;
the first determining module is used for determining first illumination intensity of reflected light rays of backlight at the cover plate glass, emitted by the backlight interference area, according to target content displayed in the backlight interference area;
the first acquisition module is used for acquiring second illumination intensity of the light rays detected by the optical fingerprint sensor;
and the second determining module is used for determining the target illumination intensity of the ambient light of the environment where the terminal is located according to the first illumination intensity and the second illumination intensity of the light detected by the optical fingerprint sensor.
In one embodiment, the first determining module includes:
the first determining submodule is used for determining the pixel value of each pixel point in the backlight interference region according to the target content displayed in the backlight interference region;
and the second determining submodule is used for determining the first illumination intensity of the reflected light of the backlight at the cover plate glass, which is emitted by the backlight interference region, according to the pixel value of each pixel point in the backlight interference region.
In one embodiment, the second determining module includes:
the calculating submodule is used for calculating the difference value between the second illumination intensity and the first illumination intensity of the light rays detected by the optical fingerprint sensor;
and the third determining submodule is used for determining the obtained difference value as the target illumination intensity of the ambient light of the environment where the terminal is located.
In one embodiment, the apparatus further comprises:
the second acquisition module is used for acquiring the field angle of the optical fingerprint sensor and the distance between the optical fingerprint sensor and the screen;
and the third determining module is used for determining the backlight interference area of the screen according to the field angle of the optical fingerprint sensor and the distance between the optical fingerprint sensor and the screen.
In one embodiment, the apparatus further comprises:
the detection module is used for detecting finger pressing operation aiming at a preset fingerprint area;
the terminal comprises an execution module, a processing module and a display module, wherein the execution module is used for intercepting target content displayed in a backlight interference area of a screen of the terminal from a processing component of the terminal when the finger pressing operation aiming at a preset fingerprint area is not detected within a preset time length;
the identification module is used for identifying the user fingerprint corresponding to the finger pressing operation when the finger pressing operation aiming at the preset fingerprint area is detected.
According to a third aspect of the embodiments of the present disclosure, there is provided an illumination intensity detection apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
intercepting target content displayed in a backlight interference area of a screen of a terminal from a processing component of the terminal; reflected light rays of backlight emitted by the backlight interference area of the screen at the position of cover plate glass of the terminal are emitted into the optical fingerprint sensor; the optical fingerprint sensor is arranged below a screen of the terminal;
determining a first illumination intensity of reflected light rays of the backlight at the cover glass, which are emitted by the backlight interference area, according to target content displayed in the backlight interference area;
acquiring a second illumination intensity of the light detected by the optical fingerprint sensor;
and determining the target illumination intensity of the ambient light of the environment where the terminal is located according to the first illumination intensity and the second illumination intensity of the light detected by the optical fingerprint sensor.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method embodiments of any one of the above-mentioned first aspects.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the technical scheme is that target content which interferes the process of measuring the illumination intensity by the optical fingerprint sensor is intercepted from a processing component of the terminal, and the first illumination intensity of the reflected light of the backlight at the cover glass, which is emitted by a backlight interference area when the target content is displayed, is calculated, on the basis, the target illumination intensity of the ambient light of the environment where the terminal is located can be obtained by offsetting the first illumination intensity from the second illumination intensity, so that the optical fingerprint sensor arranged below the screen can measure the illumination intensity of the ambient light of the environment where the terminal is located, the screen occupation ratio of the terminal can be improved, the interference of the reflected light of the backlight at the cover glass of the screen in the related technology to the measurement process of the illumination intensity can be overcome, the accuracy and the stability of the illumination intensity measurement can be improved, the backlight brightness of the screen can be effectively adjusted, the electric quantity of a battery is saved, and the like, user experience can be improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating an illumination intensity detection method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating an illumination intensity detection method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating an illumination intensity detection method according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating an illumination intensity detection method according to an exemplary embodiment.
Fig. 5 is a flowchart illustrating an illumination intensity detection method according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating an illumination intensity detection apparatus according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating an illumination intensity detection apparatus according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating an illumination intensity detection apparatus according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating an illumination intensity detection apparatus according to an exemplary embodiment.
Fig. 10 is a block diagram illustrating an illumination intensity detection apparatus according to an exemplary embodiment.
Fig. 11 is a block diagram illustrating an illumination intensity detection apparatus according to an exemplary embodiment.
FIG. 12 is a block diagram illustrating an apparatus according to an example embodiment.
FIG. 13 is a block diagram illustrating an apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The ambient light sensor is used for measuring the illumination intensity of the environment where the terminal is located, and the backlight brightness of the screen of the terminal is adjusted based on the ambient light intensity, so that the electric quantity of the battery can be saved, and the working time of the battery of the equipment can be prolonged to the maximum extent.
In the correlation technique, the ambient light sensor is usually fixed in the apron glass below of the positive top of terminal, leads to the cell-phone forehead increase, has reduced the screen and has accounted for than, can't satisfy the user to the demand of high screen account for than cell-phone, influences user experience. And if set up the ambient light sensor in the screen below, do not have under the condition that objects such as finger sheltered from at the screen, the ambient light sensor also can sense the illumination intensity of environment of locating, however, the ambient light sensor has also received the interference of screen backlight at the reflected light of cover plate glass department simultaneously, and this illumination intensity that just leads to ambient light sensor to record is very inaccurate to can't adjust screen luminance in a poor light effectively, cause the battery power extravagant, influence user experience.
In order to solve the above problem, an embodiment of the present disclosure provides an illumination intensity detection method, including: intercepting target content displayed in a backlight interference area of a screen of the terminal from a processing component of the terminal; reflected light rays of backlight emitted by a backlight interference area of the screen at a cover plate glass of the terminal are emitted into the optical fingerprint sensor; the optical fingerprint sensor is arranged below a screen of the terminal; determining a first illumination intensity of reflected light rays of backlight at the cover plate glass, which are emitted by the backlight interference area, according to target content displayed in the backlight interference area; acquiring a second illumination intensity of the light detected by the optical fingerprint sensor; and determining the target illumination intensity of the ambient light of the environment where the terminal is located according to the first illumination intensity and the second illumination intensity of the light detected by the optical fingerprint sensor. The embodiment of the disclosure intercepts the target content interfering with the process of measuring the illumination intensity of the optical fingerprint sensor from the processing component of the terminal, calculates the first illumination intensity of the reflected light of the backlight at the cover glass emitted by the backlight interference area when the target content is displayed, on the basis, the target illumination intensity of the environmental light of the environment where the terminal is located can be obtained by offsetting the first illumination intensity from the second illumination intensity, the optical fingerprint sensor arranged below the screen can measure the illumination intensity of the environment light of the environment where the terminal is located, the screen occupation ratio of the terminal can be improved, the interference of the reflected light of the backlight of the screen at the cover plate glass to the illumination intensity measuring process in the related technology is overcome, the accuracy and the stability of the illumination intensity measurement can be improved, the backlight brightness of the screen is effectively adjusted, the battery power is saved, and the user experience is improved.
Based on the above analysis, method embodiments of the present disclosure are described below.
FIG. 1 is a flow chart illustrating a method of illumination intensity detection according to an exemplary embodiment; the execution main body of the method can be a terminal, such as an electronic device like a smart phone, a tablet computer, a camera and the like; as shown in fig. 1, the method comprises the following steps 101-104:
in step 101, intercepting target content displayed in a backlight interference area of a screen of a terminal from a processing component of the terminal; reflected light rays of backlight emitted by a backlight interference area of the screen at a cover plate glass of the terminal are emitted into the optical fingerprint sensor; the optical fingerprint sensor is arranged below a screen of the terminal.
Illustratively, the processing components include at least any one or combination of: a central processing unit, a graphics processor, or a memory.
For example, when the optical fingerprint sensor disposed below the screen of the terminal is used to measure the illumination intensity of the ambient light of the environment where the terminal is located; when the screen is in a black screen state, the optical fingerprint sensor only receives ambient light; and when the screen is in a lighting state and the finger pressing operation aiming at the preset fingerprint area is not detected, reflected light rays emitted by the backlight interference area of the screen after being reflected at the cover plate glass of the terminal are emitted into the optical fingerprint sensor, so that the optical fingerprint sensor receives both ambient light and the reflected light rays.
The processing component of the terminal can process all contents displayed on the screen of the terminal; the present disclosure intercepts target content displayed within a backlight interference region of a screen directly from a processing component of a terminal.
For example, before step 101 is executed, a backlight interference area of the screen may be predetermined, for example, a viewing angle of the optical fingerprint sensor and a distance between the optical fingerprint sensor and the screen are acquired; and determining a backlight interference area of the screen according to the field angle of the optical fingerprint sensor and the distance between the optical fingerprint sensor and the screen.
In step 102, a first illumination intensity of reflected light of the backlight at the cover glass emitted by the backlight interference region is determined according to the target content displayed in the backlight interference region.
For example, a first illumination intensity of reflected light rays of backlight at the cover glass, which are emitted by the backlight interference area when the target content is displayed, is calculated; optionally, determining a pixel value of each pixel point of the backlight interference region when the target content is displayed in the backlight interference region according to the target content displayed in the backlight interference region; and determining the first illumination intensity of the reflected light of the backlight at the cover plate glass, which is emitted by the backlight interference region, according to the pixel value of each pixel point in the backlight interference region.
In step 103, a second illumination intensity of the light detected by the optical fingerprint sensor is obtained.
For example, the second illumination intensity is an illumination intensity of a mixed light of the ambient light and the reflected light detected by the optical fingerprint sensor.
In step 104, a target illumination intensity of the ambient light of the environment where the terminal is located is determined according to the first illumination intensity and the second illumination intensity of the light detected by the optical fingerprint sensor.
In an example, on the basis of obtaining a first illumination intensity of light reflected by the backlight at the cover plate glass and a second illumination intensity of light detected by the optical fingerprint sensor, the target illumination intensity of ambient light of the environment where the terminal is located can be obtained by offsetting the first illumination intensity from the second illumination intensity; optionally, calculating a difference between a second illumination intensity and a first illumination intensity of the light detected by the optical fingerprint sensor; and determining the obtained difference value as the target illumination intensity of the environment light of the environment where the terminal is located.
The technical scheme provided by the embodiment of the disclosure includes intercepting target content interfering with the process of measuring the illumination intensity by the optical fingerprint sensor from the processing assembly of the terminal, calculating the first illumination intensity of the reflected light of the backlight at the cover glass emitted by the backlight interference area when the target content is displayed, and on the basis, offsetting the first illumination intensity from the second illumination intensity to obtain the target illumination intensity of the ambient light of the environment where the terminal is located, so that the optical fingerprint sensor arranged below the screen can measure the illumination intensity of the ambient light of the environment where the terminal is located, improve the screen duty ratio of the terminal, overcome the interference of the reflected light of the backlight at the cover glass of the screen in the related technology to the measurement process of the illumination intensity, improve the accuracy and stability of the illumination intensity measurement, and effectively adjust the backlight brightness of the screen, save battery power, so, can improve user experience.
FIG. 2 is a flow chart illustrating a method of illumination intensity detection according to an exemplary embodiment; as shown in fig. 2, on the basis of the embodiment shown in fig. 1, the illumination intensity detection method according to the present disclosure includes the following steps 201-:
in step 201, intercepting target content displayed in a backlight interference area of a screen of a terminal from a processing component of the terminal; reflected light rays of backlight emitted by a backlight interference area of the screen at a cover plate glass of the terminal are emitted into the optical fingerprint sensor; the optical fingerprint sensor is arranged below a screen of the terminal.
In step 202, a first illumination intensity of reflected light of the backlight at the cover glass emitted by the backlight interference region is determined according to the target content displayed in the backlight interference region.
In step 203, a second illumination intensity of the light detected by the optical fingerprint sensor is obtained.
In step 204, a difference between the first illumination intensity and the second illumination intensity of the light detected by the optical fingerprint sensor is calculated.
In step 205, the obtained difference is determined as the target illumination intensity of the ambient light of the environment in which the terminal is located.
According to the technical scheme provided by the embodiment of the disclosure, the first illumination intensity of the reflected light of the backlight at the cover glass, which is emitted by the backlight interference area when the target content is displayed, is subtracted from the second illumination intensity of the light detected by the optical fingerprint sensor to obtain the target illumination intensity of the ambient light of the environment where the terminal is located, so that the optical fingerprint sensor arranged below the screen can measure the illumination intensity of the ambient light of the environment where the terminal is located, the interference of the reflected light of the backlight of the screen at the cover glass in the related art to the measurement process of the illumination intensity is overcome, and the accuracy and the stability of the illumination intensity measurement can be improved.
FIG. 3 is a flow chart illustrating a method of illumination intensity detection according to an exemplary embodiment; as shown in fig. 3, on the basis of the embodiment shown in fig. 1, the illumination intensity detection method according to the present disclosure includes the following steps 301-305:
in step 301, intercepting target content displayed in a backlight interference area of a screen of a terminal from a processing component of the terminal; reflected light rays of backlight emitted by a backlight interference area of the screen at a cover plate glass of the terminal are emitted into the optical fingerprint sensor; the optical fingerprint sensor is arranged below a screen of the terminal.
In step 302, the pixel value of each pixel point in the backlight interference region is determined according to the target content displayed in the backlight interference region.
In step 303, a first illumination intensity of a reflected light of the backlight at the cover glass, which is emitted from the backlight interference region, is determined according to the pixel value of each pixel point in the backlight interference region.
In step 304, a second illumination intensity of the light detected by the optical fingerprint sensor is obtained.
In step 305, a target illumination intensity of the ambient light of the environment where the terminal is located is determined according to the first illumination intensity and the second illumination intensity of the light detected by the optical fingerprint sensor.
According to the technical scheme provided by the embodiment of the disclosure, the pixel values of all the pixel points in the backlight interference area are determined by acquiring and analyzing the target content displayed in the backlight interference area, and then the first illumination intensity of the reflected light of the backlight at the cover plate glass emitted by the backlight interference area is determined, on the basis, the target illumination intensity of the environment light of the environment where the terminal is located can be obtained by offsetting the first illumination intensity from the second illumination intensity, so that the optical fingerprint sensor arranged below the screen can measure the illumination intensity of the environment light of the environment where the terminal is located, and the accuracy and the stability of the illumination intensity measurement are improved.
FIG. 4 is a flow chart illustrating a method of illumination intensity detection according to an exemplary embodiment; as shown in fig. 4, based on the embodiment shown in fig. 1, the illumination intensity detection method according to the present disclosure includes the following steps 401-:
in step 401, determining whether a finger pressing operation for a preset fingerprint area is detected; when the finger pressing operation aiming at the preset fingerprint area is not detected within the preset time length, the step 402 is carried out; when a finger-pressing operation for a preset fingerprint area is detected, go to step 408.
In an example, the light intensity detection is performed when the finger pressing operation is not detected within the specified time length, so that the finger misoperation is avoided.
In step 402, intercepting target content displayed in a backlight interference area of a screen of the terminal from a processing component of the terminal; reflected light rays of backlight emitted by a backlight interference area of the screen at a cover plate glass of the terminal are emitted into the optical fingerprint sensor; the optical fingerprint sensor is arranged below a screen of the terminal.
In step 403, the pixel value of each pixel point in the backlight interference region is determined according to the target content displayed in the backlight interference region.
In step 404, a first illumination intensity of the reflected light of the backlight at the cover glass emitted from the backlight interference region is determined according to the pixel value of each pixel point in the backlight interference region.
In step 405, a second illumination intensity of the light detected by the optical fingerprint sensor is obtained.
In step 406, a difference between the second illumination intensity and the first illumination intensity of the light detected by the optical fingerprint sensor is calculated.
In step 407, determining the obtained difference as a target illumination intensity of the ambient light of the environment where the terminal is located; the flow ends.
In step 408, a user fingerprint corresponding to the finger press operation is identified.
According to the technical scheme, when the finger pressing operation aiming at the preset fingerprint area is not detected within the preset time, the illumination intensity of the environment light of the environment where the optical fingerprint sensor is located is measured, and when the finger pressing operation aiming at the preset fingerprint area is detected, the optical fingerprint sensor is enabled to identify the fingerprint of the user, so that the screen occupation ratio of the terminal is improved, and the user experience is improved.
Based on the illumination intensity detection method provided by the embodiment of the disclosure, the optical fingerprint sensor can independently provide a fingerprint identification function or a light intensity detection function, and can also simultaneously start the fingerprint identification function and the light intensity detection function. The following describes an example of a scenario in which the optical fingerprint sensor simultaneously activates the fingerprint recognition function and the light intensity detection function. FIG. 5 is a flow chart illustrating a method of illumination intensity detection according to an exemplary embodiment; as shown in fig. 5, the method comprises the following steps 501-511:
in step 501, the light intensity detection function and the fingerprint recognition function of the optical fingerprint sensor are turned on.
In step 502, the light intensity detection mode is turned on; go to step 503 and step 504, respectively.
In step 503, outputting a second illumination intensity of the light detected by the optical fingerprint sensor, i.e. a light sensing value of the optical fingerprint sensor; go to step 506.
In step 504, the display content is intercepted from the system side.
For example, the system side may be a central processing unit, a graphics processing unit, or a memory.
In step 505, a display influence value is calculated.
In step 506, the light sensing value of the optical fingerprint sensor is cancelled out by the display influence value, and the illumination intensity of the ambient light is output.
In step 507, when a finger pressing operation for a preset fingerprint area is detected, the light intensity detection mode is turned off.
In step 508, it is determined whether the application needs to turn on the fingerprint function: if yes, go to step 509; if not, go to step 511.
In step 509, the fingerprinting mode is turned on.
In step 510, a fingerprint is scanned.
In step 511, when the finger is detected to be removed, go to step 502.
The technical scheme that this disclosed embodiment provided, through regard as light intensity sensor during operation with optics fingerprint sensor, intercept the display content at the system end and calculate the interference of screen through a set of fitting algorithm to sensor's influence area to offset, thereby obtain stable light intensity data, can improve the screen and account for than, practice thrift the cost, reduce the design degree of difficulty, improve user experience.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
FIG. 6 is a block diagram illustrating an illumination intensity detection apparatus according to an exemplary embodiment; as shown in fig. 6, the illumination intensity detection apparatus includes: an interception module 601, a first determination module 602, a first obtaining module 603, and a second determination module 604, wherein:
the intercepting module 601 is configured to intercept target content displayed within a backlight interference area of a screen of the terminal from a processing component of the terminal; reflected light rays of backlight emitted by a backlight interference area of the screen at a cover plate glass of the terminal are emitted into the optical fingerprint sensor; the optical fingerprint sensor is arranged below a screen of the terminal;
the first determining module 602 is configured to determine a first illumination intensity of reflected light of the backlight at the cover glass emitted by the backlight interference region according to the target content displayed in the backlight interference region;
the first acquiring module 603 is configured to acquire a second illumination intensity of the light detected by the optical fingerprint sensor;
the second determining module 604 is configured to determine a target illumination intensity of the ambient light of the environment where the terminal is located according to the first illumination intensity and the second illumination intensity of the light detected by the optical fingerprint sensor.
The device provided by the embodiment of the disclosure can be used for executing the technical scheme of the embodiment shown in fig. 1, and the execution mode and the beneficial effect are similar, and are not described again here.
In one possible implementation, as shown in fig. 7, the illumination intensity detection apparatus shown in fig. 6 may further include a first determining module 602 configured to include: a first determining submodule 701 and a second determining submodule 702, wherein:
the first determining submodule 701 is configured to determine a pixel value of each pixel point in the backlight interference region according to the target content displayed in the backlight interference region;
the second determining submodule 702 is configured to determine a first illumination intensity of reflected light of the backlight at the cover glass emitted from the backlight interference region according to the pixel value of each pixel point in the backlight interference region.
In a possible implementation manner, as shown in fig. 8, the illumination intensity detection apparatus shown in fig. 6 may further include a second determining module 604 configured to include: a calculation sub-module 801 and a third determination sub-module 802, wherein:
the calculation sub-module 801 is configured to calculate a difference between the first illumination intensity and the second illumination intensity of the light detected by the optical fingerprint sensor;
the third determining submodule 802 is configured to determine the resulting difference as a target illumination intensity of ambient light of an environment in which the terminal is located.
In one possible implementation manner, as shown in fig. 9, the illumination intensity detection apparatus shown in fig. 6 may further include: a second obtaining module 901 and a third determining module 902, wherein:
the second acquiring module 901 is configured to acquire the field angle of the optical fingerprint sensor and the distance between the optical fingerprint sensor and the screen;
the third determining module 902 is configured to determine the backlight interference area of the screen according to the field angle of the optical fingerprint sensor and the distance between the optical fingerprint sensor and the screen.
In one possible implementation manner, as shown in fig. 10, the illumination intensity detection apparatus shown in fig. 6 may further include: a detection module 1001, an execution module 1002, and an identification module 1003, wherein:
the detection module 1001 is configured to detect a finger press operation for a preset fingerprint area;
the execution module 1002 is configured to, when no finger press operation for a preset fingerprint area is detected within a preset time period, perform a step of intercepting, from a processing component of the terminal, target content displayed within a backlight interference area of a screen of the terminal;
the identifying module 1003 is configured to identify a user fingerprint corresponding to a finger pressing operation when the finger pressing operation for the preset fingerprint area is detected.
Fig. 11 is a block diagram illustrating an illumination intensity detection apparatus 1100 according to an exemplary embodiment, the illumination intensity detection apparatus 1100 being applied to a terminal, the illumination intensity detection apparatus 1100 including:
a processor 1101;
a memory 1102 for storing processor-executable instructions;
wherein the processor 1101 is configured to:
intercepting target content displayed in a backlight interference area of a screen of the terminal from a processing component of the terminal; reflected light rays of backlight emitted by a backlight interference area of the screen at a cover plate glass of the terminal are emitted into the optical fingerprint sensor; the optical fingerprint sensor is arranged below a screen of the terminal;
determining a first illumination intensity of reflected light rays of backlight at the cover plate glass, which are emitted by the backlight interference area, according to target content displayed in the backlight interference area;
acquiring a second illumination intensity of the light detected by the optical fingerprint sensor;
and determining the target illumination intensity of the ambient light of the environment where the terminal is located according to the first illumination intensity and the second illumination intensity of the light detected by the optical fingerprint sensor.
In one embodiment, the processing component includes at least any one or combination of: central processing unit, graphic processor, and memory.
In one embodiment, the processor 1101 may be further configured to:
determining the pixel value of each pixel point in the backlight interference area according to the target content displayed in the backlight interference area;
and determining the first illumination intensity of the reflected light of the backlight at the cover plate glass, which is emitted by the backlight interference region, according to the pixel value of each pixel point in the backlight interference region.
In one embodiment, the processor 1101 may be further configured to:
calculating a difference value between a second illumination intensity and a first illumination intensity of the light detected by the optical fingerprint sensor;
and determining the obtained difference value as the target illumination intensity of the environment light of the environment where the terminal is located.
In one embodiment, the processor 1101 may be further configured to:
acquiring the field angle of the optical fingerprint sensor and the distance between the optical fingerprint sensor and a screen;
and determining a backlight interference area of the screen according to the field angle of the optical fingerprint sensor and the distance between the optical fingerprint sensor and the screen.
In one embodiment, the processor 1101 may be further configured to:
detecting a finger pressing operation aiming at a preset fingerprint area;
when the finger pressing operation aiming at the preset fingerprint area is not detected within the preset time length, a step of intercepting target content displayed in a backlight interference area of a screen of the terminal from a processing component of the terminal is executed; or,
when detecting the finger pressing operation aiming at the preset fingerprint area, identifying the user fingerprint corresponding to the finger pressing operation.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 12 is a block diagram illustrating an apparatus in accordance with an example embodiment. For example, the apparatus 1200 may be a terminal or the like. Referring to fig. 12, the apparatus 1200 may include one or more of the following components: processing component 1202, memory 1204, power component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214, and communications component 1216.
The processing component 1202 is generally configured to control overall operation of the apparatus 1200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1202 may include one or more processors 1220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1202 can include one or more modules that facilitate interaction between the processing component 1202 and other components. For example, the processing component 1202 can include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
The memory 1204 is configured to store various types of data to support operation at the apparatus 1200. Examples of such data include instructions for any application or method operating on the device 1200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1204 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power supply component 1206 provides power to the various components of the device 1200. Power components 1206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for apparatus 1200.
The multimedia components 1208 include a screen that provides an output interface between the device 1200 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1208 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 1200 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The I/O interface 1212 provides an interface between the processing component 1202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1214 includes one or more sensors for providing various aspects of state assessment for the apparatus 1200. For example, the sensor assembly 1214 may detect an open/closed state of the apparatus 1200, the relative positioning of the components, such as a display and keypad of the apparatus 1200, the sensor assembly 1214 may also detect a change in the position of the apparatus 1200 or a component of the apparatus 1200, the presence or absence of user contact with the apparatus 1200, orientation or acceleration/deceleration of the apparatus 1200, and a change in the temperature of the apparatus 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1216 is configured to facilitate communications between the apparatus 1200 and other devices in a wired or wireless manner. The apparatus 1200 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1216 receives the broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1216 also includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 1204 comprising instructions, executable by processor 1220 of apparatus 1200 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
FIG. 13 is a block diagram illustrating an apparatus in accordance with an example embodiment. For example, the apparatus 1300 may be provided as a server. Apparatus 1300 includes a processing component 1302 that further includes one or more processors, and memory resources, represented by memory 1303, for storing instructions, such as application programs, that are executable by processing component 1302. The application stored in memory 1303 may include one or more modules each corresponding to a set of instructions. Further, the processing component 1302 is configured to execute instructions to perform the above-described methods.
The apparatus 1300 may also include a power component 1306 configured to perform power management for the apparatus 1300, a wired or wireless network interface 1305 configured to connect the apparatus 1300 to a network, and an input output (I/O) interface 1308. The apparatus 1300 may operate based on an operating system stored in the memory 1303, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
A non-transitory computer readable storage medium, instructions in the storage medium, when executed by a processor of an apparatus 1200 or an apparatus 1300, enable the apparatus 1200 or the apparatus 1300 to perform a method of illumination intensity detection, the method comprising:
intercepting target content displayed in a backlight interference area of a screen of the terminal from a processing component of the terminal; reflected light rays of backlight emitted by a backlight interference area of the screen at a cover plate glass of the terminal are emitted into the optical fingerprint sensor; the optical fingerprint sensor is arranged below a screen of the terminal;
determining a first illumination intensity of reflected light rays of backlight at the cover plate glass, which are emitted by the backlight interference area, according to target content displayed in the backlight interference area;
acquiring a second illumination intensity of the light detected by the optical fingerprint sensor;
and determining the target illumination intensity of the ambient light of the environment where the terminal is located according to the first illumination intensity and the second illumination intensity of the light detected by the optical fingerprint sensor.
In one embodiment, the processing component includes at least any one or combination of: central processing unit, graphic processor, and memory.
In one embodiment, determining a first illumination intensity of reflected light rays of backlight at the cover glass emitted by the backlight interference region based on target content displayed in the backlight interference region comprises:
determining the pixel value of each pixel point in the backlight interference area according to the target content displayed in the backlight interference area;
and determining the first illumination intensity of the reflected light of the backlight at the cover plate glass, which is emitted by the backlight interference region, according to the pixel value of each pixel point in the backlight interference region.
In one embodiment, determining the target illumination intensity of the ambient light of the environment in which the terminal is located according to the first illumination intensity and the second illumination intensity of the light detected by the optical fingerprint sensor includes:
calculating a difference value between a second illumination intensity and a first illumination intensity of the light detected by the optical fingerprint sensor;
and determining the obtained difference value as the target illumination intensity of the environment light of the environment where the terminal is located.
In one embodiment, prior to intercepting, from a processing component of the terminal, target content displayed within a backlight interference region of a screen of the terminal, the method further comprises:
acquiring the field angle of the optical fingerprint sensor and the distance between the optical fingerprint sensor and a screen;
and determining a backlight interference area of the screen according to the field angle of the optical fingerprint sensor and the distance between the optical fingerprint sensor and the screen.
In one embodiment, the method further comprises:
detecting a finger pressing operation aiming at a preset fingerprint area;
when the finger pressing operation aiming at the preset fingerprint area is not detected within the preset time length, a step of intercepting target content displayed in a backlight interference area of a screen of the terminal from a processing component of the terminal is executed; or,
when detecting the finger pressing operation aiming at the preset fingerprint area, identifying the user fingerprint corresponding to the finger pressing operation.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (9)
1. An illumination intensity detection method, comprising:
intercepting target content displayed in a backlight interference area of a screen of a terminal from a processing component of the terminal; reflected light rays of backlight emitted by the backlight interference area of the screen at the position of cover plate glass of the terminal are emitted into the optical fingerprint sensor; the optical fingerprint sensor is arranged below a screen of the terminal;
determining a first illumination intensity of reflected light rays of the backlight at the cover glass, which are emitted by the backlight interference area, according to target content displayed in the backlight interference area;
acquiring a second illumination intensity of the light detected by the optical fingerprint sensor;
determining target illumination intensity of ambient light of the environment where the terminal is located according to the first illumination intensity and second illumination intensity of the light detected by the optical fingerprint sensor;
the determining, according to the target content displayed in the backlight interference region, a first illumination intensity of reflected light of the backlight at the cover glass emitted by the backlight interference region includes:
determining the pixel value of each pixel point in the backlight interference area according to the target content displayed in the backlight interference area;
determining a first illumination intensity of reflected light of the backlight at the cover plate glass, which is emitted by the backlight interference region, according to the pixel value of each pixel point in the backlight interference region;
before the intercepting, from a processing component of a terminal, target content displayed within a backlight interference region of a screen of the terminal, the method further comprises:
acquiring the field angle of the optical fingerprint sensor and the distance between the optical fingerprint sensor and the screen;
and determining a backlight interference area of the screen according to the field angle of the optical fingerprint sensor and the distance between the optical fingerprint sensor and the screen.
2. The method of claim 1, wherein the processing component comprises at least any one or combination of: central processing unit, graphic processor, and memory.
3. The method according to claim 1, wherein determining the target illumination intensity of the ambient light of the environment in which the terminal is located according to the first illumination intensity and the second illumination intensity of the light detected by the optical fingerprint sensor comprises:
calculating a difference value between a second illumination intensity of the light detected by the optical fingerprint sensor and the first illumination intensity;
and determining the obtained difference value as the target illumination intensity of the environment light of the environment where the terminal is located.
4. The method of claim 1, further comprising:
detecting a finger pressing operation aiming at a preset fingerprint area;
when the finger pressing operation aiming at a preset fingerprint area is not detected within a preset time length, the step of intercepting target content displayed in a backlight interference area of a screen of the terminal from a processing component of the terminal is executed; or,
when detecting that a finger of a preset fingerprint area presses, identifying a user fingerprint corresponding to the finger pressing.
5. An illumination intensity detection apparatus, comprising:
the intercepting module is used for intercepting target content displayed in a backlight interference area of a screen of the terminal from a processing component of the terminal; reflected light rays of backlight emitted by the backlight interference area of the screen at the position of cover plate glass of the terminal are emitted into the optical fingerprint sensor; the optical fingerprint sensor is arranged below a screen of the terminal;
the first determining module is used for determining first illumination intensity of reflected light rays of backlight at the cover plate glass, emitted by the backlight interference area, according to target content displayed in the backlight interference area;
the first acquisition module is used for acquiring second illumination intensity of the light rays detected by the optical fingerprint sensor;
the second determining module is used for determining the target illumination intensity of the ambient light of the environment where the terminal is located according to the first illumination intensity and the second illumination intensity of the light detected by the optical fingerprint sensor;
the first determining module includes:
the first determining submodule is used for determining the pixel value of each pixel point in the backlight interference region according to the target content displayed in the backlight interference region;
the second determining submodule is used for determining the first illumination intensity of the reflected light of the backlight at the cover plate glass, which is emitted by the backlight interference area, according to the pixel value of each pixel point in the backlight interference area;
the device further comprises:
the second acquisition module is used for acquiring the field angle of the optical fingerprint sensor and the distance between the optical fingerprint sensor and the screen;
and the third determining module is used for determining the backlight interference area of the screen according to the field angle of the optical fingerprint sensor and the distance between the optical fingerprint sensor and the screen.
6. The apparatus of claim 5, wherein the second determining module comprises:
the calculating submodule is used for calculating the difference value between the second illumination intensity and the first illumination intensity of the light rays detected by the optical fingerprint sensor;
and the third determining submodule is used for determining the obtained difference value as the target illumination intensity of the ambient light of the environment where the terminal is located.
7. The apparatus of claim 5, further comprising:
the detection module is used for detecting finger pressing operation aiming at a preset fingerprint area;
the terminal comprises an execution module, a processing module and a display module, wherein the execution module is used for intercepting target content displayed in a backlight interference area of a screen of the terminal from a processing component of the terminal when the finger pressing operation aiming at a preset fingerprint area is not detected within a preset time length;
the identification module is used for identifying the user fingerprint corresponding to the finger pressing operation when the finger pressing operation aiming at the preset fingerprint area is detected.
8. An illumination intensity detection apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
intercepting target content displayed in a backlight interference area of a screen of a terminal from a processing component of the terminal; reflected light rays of backlight emitted by the backlight interference area of the screen at the position of cover plate glass of the terminal are emitted into the optical fingerprint sensor; the optical fingerprint sensor is arranged below a screen of the terminal;
determining a first illumination intensity of reflected light rays of the backlight at the cover glass, which are emitted by the backlight interference area, according to target content displayed in the backlight interference area;
acquiring a second illumination intensity of the light detected by the optical fingerprint sensor;
determining target illumination intensity of ambient light of the environment where the terminal is located according to the first illumination intensity and second illumination intensity of the light detected by the optical fingerprint sensor;
the processor is further configured to: determining the pixel value of each pixel point in the backlight interference area according to the target content displayed in the backlight interference area; determining a first illumination intensity of reflected light of the backlight at the cover plate glass, which is emitted by the backlight interference region, according to the pixel value of each pixel point in the backlight interference region;
before the intercepting, from a processing component of the terminal, the target content displayed in a backlight interference area of a screen of the terminal, further comprising:
acquiring the field angle of the optical fingerprint sensor and the distance between the optical fingerprint sensor and the screen;
and determining a backlight interference area of the screen according to the field angle of the optical fingerprint sensor and the distance between the optical fingerprint sensor and the screen.
9. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810714340.9A CN109029720B (en) | 2018-06-29 | 2018-06-29 | Illumination intensity detection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810714340.9A CN109029720B (en) | 2018-06-29 | 2018-06-29 | Illumination intensity detection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109029720A CN109029720A (en) | 2018-12-18 |
CN109029720B true CN109029720B (en) | 2021-09-21 |
Family
ID=65521400
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810714340.9A Active CN109029720B (en) | 2018-06-29 | 2018-06-29 | Illumination intensity detection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109029720B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111179861B (en) * | 2019-12-11 | 2021-06-15 | Tcl移动通信科技(宁波)有限公司 | Brightness calibration method and device, storage medium and terminal |
CN112033527B (en) * | 2020-08-26 | 2023-10-03 | 北京小米移动软件有限公司 | Ambient brightness detection method, device, equipment and storage medium |
CN112284522B (en) * | 2020-09-23 | 2022-10-21 | 宇龙计算机通信科技(深圳)有限公司 | Testing method and device of light sensor, storage medium and electronic equipment |
CN112365833B (en) * | 2021-01-15 | 2021-04-30 | 深圳阜时科技有限公司 | Method for detecting and correcting brightness adjustment value of light sensation under screen |
CN113064792A (en) * | 2021-03-26 | 2021-07-02 | 联想(北京)有限公司 | Information processing method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107223203A (en) * | 2017-04-19 | 2017-09-29 | 深圳市汇顶科技股份有限公司 | Light-intensity test method, device and intelligent terminal |
CN107665698A (en) * | 2017-11-13 | 2018-02-06 | 维沃移动通信有限公司 | Ambient light intensity compensation method and device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101351414B1 (en) * | 2009-12-14 | 2014-01-23 | 엘지디스플레이 주식회사 | Method for driving local dimming of liquid crystal display device using the same and apparatus thereof |
CN102129840B (en) * | 2010-01-15 | 2013-02-13 | 胜华科技股份有限公司 | Backlight modulating system and method |
CN105741789B (en) * | 2016-05-06 | 2018-06-01 | 京东方科技集团股份有限公司 | A kind of driving method and driving device of high dynamic contrast display screen |
CN106713634B (en) * | 2016-12-21 | 2020-07-14 | 深圳Tcl数字技术有限公司 | Television backlight adjusting method and system based on mobile terminal |
-
2018
- 2018-06-29 CN CN201810714340.9A patent/CN109029720B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107223203A (en) * | 2017-04-19 | 2017-09-29 | 深圳市汇顶科技股份有限公司 | Light-intensity test method, device and intelligent terminal |
CN107665698A (en) * | 2017-11-13 | 2018-02-06 | 维沃移动通信有限公司 | Ambient light intensity compensation method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109029720A (en) | 2018-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109029720B (en) | Illumination intensity detection method and device | |
CN108040360B (en) | Method and device for controlling screen display | |
EP3220615B1 (en) | Method and device for setting brightness of screen | |
CN105651381B (en) | light sensor calibration method and device | |
CN108833716A (en) | Intensity of illumination determines method and device | |
CN111241890A (en) | Fingerprint identification method, device, equipment and storage medium | |
CN111476071B (en) | Fingerprint identification method and device | |
CN111243554B (en) | Screen brightness adjusting method, screen brightness adjusting device and storage medium | |
CN107392160B (en) | Optical fingerprint identification method and device and computer readable storage medium | |
CN112764659A (en) | Information processing method and device, electronic device and storage medium | |
EP3629318B1 (en) | Method and apparatus for compensating operating parameter of display circuit | |
CN112331158B (en) | Terminal display adjusting method, device, equipment and storage medium | |
CN108847199B (en) | Brightness determination method and device | |
CN108830194B (en) | Biological feature recognition method and device | |
CN107203315B (en) | Click event processing method and device and terminal | |
CN106791057B (en) | Alarm clock control method and device | |
CN112951162B (en) | Display screen and control method and device thereof | |
CN112689047B (en) | Display control method and device and electronic equipment | |
CN108763906B (en) | Biological feature recognition method and device | |
CN107621990B (en) | Control method and device of terminal key and terminal | |
CN112087539A (en) | Screen light adjusting method for terminal equipment and terminal equipment | |
CN112148149A (en) | Touch screen control method, touch screen control device and storage medium | |
CN105450854B (en) | A kind of method and device of weather forecast | |
CN113551768B (en) | Method and device for determining ambient brightness | |
CN113138036B (en) | Temperature detection method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |