CN105651381B - light sensor calibration method and device - Google Patents

light sensor calibration method and device Download PDF

Info

Publication number
CN105651381B
CN105651381B CN201510989943.6A CN201510989943A CN105651381B CN 105651381 B CN105651381 B CN 105651381B CN 201510989943 A CN201510989943 A CN 201510989943A CN 105651381 B CN105651381 B CN 105651381B
Authority
CN
China
Prior art keywords
illumination
measurement
light sensor
default
calibrated
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
Application number
CN201510989943.6A
Other languages
Chinese (zh)
Other versions
CN105651381A (en
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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510989943.6A priority Critical patent/CN105651381B/en
Publication of CN105651381A publication Critical patent/CN105651381A/en
Application granted granted Critical
Publication of CN105651381B publication Critical patent/CN105651381B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J1/00Photometry, e.g. photographic exposure meter
    • G01J1/10Photometry, e.g. photographic exposure meter by comparison with reference light or electric value provisionally void

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)
  • Spectrometry And Color Measurement (AREA)

Abstract

Present disclose provides a kind of light sensor calibration method and device, belong to field of terminal technology.Methods described includes:At least two default photoenvironments are detected using the light sensor of terminal to be calibrated, obtain at least two measurement illumination, described at least two default photoenvironments have same default illumination, different-colour;Whether the differences of illumination intensities detected between at least two measurements illumination meets calibration condition;If the differences of illumination intensities between at least two measurements illumination meets the calibration condition, according to the default illumination and described at least two measurement illumination, calibration factor is obtained, the calibration factor is used to calibrate the light sensor of the terminal to be calibrated.The technical scheme of the disclosure make it that measurement of the light sensor to illumination is more accurate.

Description

Light sensor calibration method and device
Technical field
This disclosure relates to field of terminal technology, more particularly to a kind of light sensor calibration method and device.
Background technology
With the development of science and technology, mobile terminal is increasingly common in the life of people, and user is to mobile whole The performance requirement at end also more and more higher, wherein, the endurance and screen definition of mobile terminal are the property that user is more concerned about Energy index, in order to improve the two performance indications, meets the needs of user is to mobile terminal performance, currently, one in mobile terminal As be provided with light sensor, it can be used for detecting the illumination of light in mobile terminal local environment so that it is mobile eventually The light illumination regulation brightness of screen and flickering for keyboard light detected according to light sensor is held, that is to say, more confused Screen intensity is reduced in dark environment, opens keyboard light, and screen intensity, closing keyboard are improved in more bright environment Lamp, so as on the one hand save electric energy, on the other hand ensure screen definition.
In actual applications, light sensor may be sensitive to colour temperature, that is to say, light passes in different-colour environment Sensor there may be larger difference to the measured value of equal illumination light, and this results in measurement of the light sensor to light illumination The degree of accuracy is not high, in addition, light sensor is also assembled to the measurement accuracy of light illumination by light sensor, material etc. Influence, therefore, need a kind of method for calibrating light sensor badly at present, it is accurate to improve measurement of the light sensor to light illumination Exactness.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of light sensor calibration method and device.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of light sensor calibration method, including:
At least two default photoenvironments are detected using the light sensor of terminal to be calibrated, obtain at least two Illumination is measured, described at least two default photoenvironments have same default illumination, different-colour;
Whether the differences of illumination intensities detected between at least two measurements illumination meets calibration condition;
If the differences of illumination intensities between at least two measurements illumination meets the calibration condition, according to the default photograph Degree and described at least two measurement illumination, obtain calibration factor, the calibration factor is used for the light to the terminal to be calibrated Sensor is calibrated.
In the first possible embodiment of first aspect, the light sensor using terminal to be calibrated is to extremely Few two default photoenvironments, which carry out detection, to be included:
The terminal to be calibrated is successively positioned at least two light boxs, and passed using the light of the terminal to be calibrated Sensor measures to the light illumination at least two light box, at least two light box have same default illumination, Different-colour.
In second of possible embodiment of first aspect, the terminal to be calibrated is positioned over described at least two Same position in light box.
In the third possible embodiment of first aspect, the illumination between the detection at least two measurements illumination Whether difference, which meets calibration condition, includes:
The each two measurement illumination described at least two measured in illumination is retrieved as one group of measurement illumination;
Obtain the difference value that illumination is measured in every group of measurement illumination;
According in every group of measurement illumination measure illumination difference value and the first predetermined threshold value between numerical relation, really Whether the differences of illumination intensities between the fixed at least two measurements illumination meets calibration condition.
In the 4th kind of possible embodiment of first aspect, according to the difference that illumination is measured in every group of measurement illumination Numerical relation between different value and the first predetermined threshold value, determines whether the differences of illumination intensities between at least two measurements illumination accords with Closing calibration condition includes:
When the difference value that illumination is measured in every group of measurement illumination is respectively less than the first predetermined threshold value, described at least two are determined Differences of illumination intensities between measurement illumination meets calibration condition;Or,
When any group of difference value of the difference value of measurement illumination in every group of measurement illumination is less than the first predetermined threshold value, really Differences of illumination intensities between the fixed at least two measurements illumination meets calibration condition;Or,
When the number for the measurement illumination group that the difference value of measurement illumination is less than the first predetermined threshold value is more than the second predetermined threshold value When, determine that the differences of illumination intensities between at least two measurements illumination meets calibration condition.
In the 5th kind of possible embodiment of first aspect, the difference value that illumination is measured in every group of measurement illumination is obtained Including:
The difference value that illumination is measured in every group of measurement illumination, the difference value meter are calculated using difference value calculation formula Calculating formula is:
γ=| E-A |/A*100%
Wherein, γ is the difference value of the measurement illumination, and E=D*C, C=A/B, A is the default illumination, and B and D are institute State two measurement brightness values that every group of measurement illumination includes.
In the 6th kind of possible embodiment of first aspect, according to the default illumination and described at least two measurements Illumination, obtaining calibration factor includes:
The ratio of the default illumination and specified measurement illumination is retrieved as the calibration factor, the specified measurement illumination For any one measurement illumination in described at least two measurement illumination;Or
The specified measurement illumination is measurement illumination minimum in described at least two measurement illumination;Or
The specified measurement illumination is measurement illumination maximum in described at least two measurement illumination;Or
The specified measurement illumination is the average value of described at least two measurement illumination.
In the 7th kind of possible embodiment of first aspect, methods described also includes:
If the differences of illumination intensities between at least two measurements illumination does not meet the calibration condition, school is treated described in acquisition The fault type of the light sensor of quasi- terminal, the fault type include the light sensor material failure, the light At least one of sensor assembling failure.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of light sensor calibrating installation, including:
Measurement module, at least two default photoenvironments are examined for the light sensor using terminal to be calibrated Survey, obtain at least two measurement illumination, described at least two default photoenvironments have same default illumination, different-colour;
Detection module, for detecting the differences of illumination intensities between at least two measurements illumination that the measurement module obtains Whether calibration condition is met;
Acquisition module, if meeting the calibration condition for the differences of illumination intensities between described at least two measurement illumination, According to the default illumination and described at least two measurement illumination, calibration factor is obtained, the calibration factor is used to treat to described The light sensor of calibrating terminal is calibrated.
In the first possible embodiment of second aspect, the measurement module is used for:
Light illumination at least two light boxs is measured using the light sensor of the terminal to be calibrated, it is described At least two light boxs have same default illumination, different-colour.
In second of possible embodiment of second aspect, the terminal to be calibrated is positioned over described at least two Same position in light box.
In the third possible embodiment of second aspect, the detection module is used for:
The each two measurement illumination described at least two measured in illumination is retrieved as one group of measurement illumination;
Obtain the difference value that illumination is measured in every group of measurement illumination;
According in every group of measurement illumination measure illumination difference value and the first predetermined threshold value between numerical relation, really Whether the differences of illumination intensities between the fixed at least two measurements illumination meets calibration condition.
In the 4th kind of possible embodiment of second aspect, the detection module is used for:
When the difference value that illumination is measured in every group of measurement illumination is respectively less than the first predetermined threshold value, described at least two are determined Differences of illumination intensities between measurement illumination meets calibration condition;Or,
When any group of difference value of the difference value of measurement illumination in every group of measurement illumination is less than the first predetermined threshold value, really Differences of illumination intensities between the fixed at least two measurements illumination meets calibration condition;Or,
When the number for the measurement illumination group that the difference value of measurement illumination is less than the first predetermined threshold value is more than the second predetermined threshold value When, determine that the differences of illumination intensities between at least two measurements illumination meets calibration condition.
In the 5th kind of possible embodiment of second aspect, the detection module is used for:
The difference value that illumination is measured in every group of measurement illumination, the difference value meter are calculated using difference value calculation formula Calculating formula is:
γ=| E-A |/A*100%
Wherein, γ is the difference value of the measurement illumination, and E=D*C, C=A/B, A is the default illumination, and B and D are institute State two measurement brightness values that every group of measurement illumination includes.
In the 6th kind of possible embodiment of second aspect, the acquisition module is used for:
The ratio of the default illumination and specified measurement illumination is retrieved as the calibration factor, the specified measurement illumination For any one measurement illumination in described at least two measurement illumination;Or
The specified measurement illumination is measurement illumination minimum in described at least two measurement illumination;Or
The specified measurement illumination is measurement illumination maximum in described at least two measurement illumination;Or
The specified measurement illumination is the average value of described at least two measurement illumination.
In the 7th kind of possible embodiment of second aspect, described device also includes:
Failure acquisition module, if not meeting the corrector strip for the differences of illumination intensities between described at least two measurement illumination Part, then obtain the fault type of the light sensor of the terminal to be calibrated, and the fault type includes the light sensor At least one of material failure, light sensor assembling failure.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of light sensor calibrating installation, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
At least two default photoenvironments are detected using the light sensor of terminal to be calibrated, obtain at least two Illumination is measured, described at least two default photoenvironments have same default illumination, different-colour;
Whether the differences of illumination intensities detected between at least two measurements illumination meets calibration condition;
If the differences of illumination intensities between at least two measurements illumination meets the calibration condition, according to the default photograph Degree and described at least two measurement illumination, obtain calibration factor, the calibration factor is used for the light to the terminal to be calibrated Sensor is calibrated.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By detecting the light sensor in terminal to be calibrated under at least two environment of different-colour but equal illumination Whether the difference between the multiple light illuminations measured meets calibration condition, if meeting, illustrates light sensor to colour temperature not Sensitivity, that is to say, the influence that colour temperature is measured above-mentioned light sensor is smaller, can then obtain calibration factor in this case, And during subsequently measurement illumination, light sensor is calibrated using the calibration factor, if not meeting, illustrates light Line sensor is sensitive to colour temperature, that is to say, colour temperature has a great influence to above-mentioned light sensor measurement, then can in subsequent step To detect and obtain the fault type of light sensor, so as to eliminate sensitiveness of the light sensor to colour temperature, also cause light Measurement of the sensor to illumination is more accurate.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of light sensor calibration method according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of light sensor calibration method according to an exemplary embodiment.
A kind of light sensors of the Fig. 3 according to an exemplary embodiment is detected at least two photoenvironments Schematic diagram.
A kind of block diagram of light sensor calibrating installations 400 of the Fig. 4 according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of light sensor calibrating installation 500 according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of terminal 600 according to an exemplary embodiment.
Embodiment
To make the purpose, technical scheme and advantage of the disclosure clearer, below in conjunction with accompanying drawing to disclosure embodiment party Formula is described in further detail.
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of light sensor calibration method according to an exemplary embodiment, such as Fig. 1 institutes Show, the light sensor calibration method comprises the following steps.
In step 110, at least two default photoenvironments are detected using the light sensor of terminal to be calibrated, At least two measurement illumination are obtained, at least two default photoenvironment has same default illumination, different-colour.
In the step 120, whether the differences of illumination intensities that terminal to be calibrated is detected between at least two measurements illumination meets school Floating screed part.
In step 130, it is to be calibrated if the differences of illumination intensities between at least two measurements illumination meets the calibration condition Terminal presets illumination and at least two measurements illumination according to this, obtains calibration factor, the calibration factor is used for be calibrated to this The light sensor of terminal is calibrated.
In summary, the calibration method for the light sensor that the present embodiment provides, by detecting the light in terminal to be calibrated Whether the difference between multiple light illuminations that line sensor measures under at least two environment of different-colour but equal illumination Meet calibration condition, if meeting, illustrate that light sensor is insensitive to colour temperature, that is to say, colour temperature is to above-mentioned light sensor The influence of measurement is smaller, can then obtain calibration factor in this case, and during subsequently measurement illumination, utilize the school Quasi- coefficient is calibrated to light sensor, if not meeting, is illustrated that light sensor is sensitive to colour temperature, be that is to say, colour temperature pair Having a great influence for above-mentioned light sensor measurement, then can detect in subsequent step and obtain the failure classes of light sensor Type, so as to eliminate sensitiveness of the light sensor to colour temperature, also make it that measurement of the light sensor to illumination is more accurate.
In the first possible embodiment, this is using the light sensor of terminal to be calibrated at least two default light Carrying out detection according to environment includes:
The terminal to be calibrated is successively positioned at least two light boxs, and utilizes the light sensor of the terminal to be calibrated Light illumination at least two light box is measured, at least two light box has same default illumination, different-colour.
In second of possible embodiment, the terminal to be calibrated is positioned over the same position at least two light box Put.
In the third possible embodiment, whether the differences of illumination intensities detected between at least two measurements illumination meets Calibration condition includes:
Each two measurement illumination at least two measurements illumination is retrieved as one group of measurement illumination;
Obtain the difference value that illumination is measured in every group of measurement illumination;
According to the numerical relation between difference value and the first predetermined threshold value that illumination is measured in every group of measurement illumination, it is determined that Whether the differences of illumination intensities between at least two measurements illumination meets calibration condition.
It is pre- according to difference value and first that illumination is measured in every group of measurement illumination in the 4th kind of possible embodiment If the numerical relation between threshold value, determine whether the differences of illumination intensities between at least two measurements illumination meets calibration condition bag Include:
When the difference value that illumination is measured in every group of measurement illumination is respectively less than the first predetermined threshold value, at least two survey is determined Differences of illumination intensities between amount illumination meets calibration condition;Or,
When any group of difference value of the difference value of measurement illumination in every group of measurement illumination is less than the first predetermined threshold value, really Differences of illumination intensities between the fixed at least two measurements illumination meets calibration condition;Or,
When the number for the measurement illumination group that the difference value of measurement illumination is less than the first predetermined threshold value is more than the second predetermined threshold value When, determine that the differences of illumination intensities between at least two measurements illumination meets calibration condition.
In the 5th kind of possible embodiment, obtaining the difference value of measurement illumination in every group of measurement illumination includes:
The difference value that illumination is measured in every group of measurement illumination is calculated using difference value calculation formula, the difference value calculates public Formula is:
γ=| E-A |/A*100%
Wherein, γ is the difference value of the measurement illumination, and E=D*C, C=A/B, A is the default illumination, and B and D are this every group Two measurement brightness values that measurement illumination includes.
In the 6th kind of possible embodiment, illumination and at least two measurements illumination are preset according to this, obtain calibration Coefficient includes:
The ratio that this is preset to illumination and specified measurement illumination is retrieved as the calibration factor, the specified measurement illumination for this extremely Any one measurement illumination in few two measurements illumination;Or
The specified measurement illumination is measurement illumination minimum at least two measurements illumination;Or
The specified measurement illumination is measurement illumination maximum at least two measurements illumination;Or
The specified measurement illumination is the average value of at least two measurements illumination.
In the 7th kind of possible embodiment, the calibration method of above-mentioned light sensor also includes:
If the differences of illumination intensities between at least two measurements illumination does not meet the calibration condition, the terminal to be calibrated is obtained Light sensor fault type, the fault type include the light sensor material failure, the light sensor assembling therefore At least one of barrier.
Above-mentioned all optional technical schemes, any combination can be used to form the alternative embodiment of the disclosure, herein no longer Repeat one by one.
Fig. 2 is a kind of flow chart of light sensor calibration method according to an exemplary embodiment, such as Fig. 2 institutes Show, the light sensor calibration method comprises the following steps.
In step 210, terminal to be calibrated is successively positioned at least two light boxs, and utilizes the terminal to be calibrated Light sensor measures to the light illumination at least two light box, obtains at least two measurement illumination, and this at least two Individual light box has same default illumination, different-colour.
Present disclose provides a kind of method that light sensor treated in calibrating terminal is calibrated, briefly, just It is the calibration factor for obtaining above-mentioned light sensor, and school is carried out to the output valve of above-mentioned light sensor using the calibration factor Standard, wherein, calibration factor can be obtained by the actual illumination of light compared with the illumination that above-mentioned light sensor measures, because This, the disclosure is necessary to measure the light of known illumination using above-mentioned light sensor to obtain measuring illumination, in addition, Again because the light sensor in terminal to be calibrated may be sensitive to colour temperature, that is to say, in different-colour environment, to identical The measured value of illumination light there may be larger gap, for example, light sensor is in the more environment of red color light component and in indigo plant Larger difference be present to the measured value of same illumination light in the more environment of light composition, however, in practical application, it is desirable to light The measured value of sensor can not have greatly changed as colour temperature changes, and therefore, the disclosure also needs to detect above-mentioned light Whether sensor is sensitive to colour temperature, if just its acquisition for being necessary to carry out calibration factor insensitive to colour temperature, so, in order to reach Object above, the disclosure can perform the technical process of step 210, and by step 210, on the one hand the disclosure obtains above-mentioned light On the other hand line sensor obtains above-mentioned light sensor and same illumination light is existed to the measurement illumination of known illumination light The measurement illumination measured in different-colour environment is to judge whether light sensor is sensitive to colour temperature, the detailed process of step 210 As shown in Figure 3.
It is pointed out that above-mentioned at least two light box is that can provide certain illumination and certain color temperature light according to setting The equipment of line, wherein, illumination is the abbreviation of intensity of illumination, its energy by receiving visible ray on unit area, and unit is Le Ke Si (Lx), and colour temperature is used to represent the color of light, unit be Kelvin (K), when light color and black matrix at a certain temperature Simultaneously, the temperature of black matrix is the colour temperature of the light to radiant light form and aspect.
In one embodiment of the disclosure, because diverse location illumination has differences in light box, therefore in order to ensure on It is identical, it is necessary to which the terminal to be calibrated is positioned over into above-mentioned at least two to state terminal to be calibrated location illumination in each light box The same position of individual light box.
In addition, in order to avoid diverse location illumination in light box and technical staff between light box illumination set in advance to existing Difference cause error to the calculating of calibration factor, the terminal to be calibrated can be measured using normal luminance meter in each light box Illumination on present position, that is to say, normal luminance measurement can be utilized to measure above-mentioned default illumination, it is of course also possible to directly Connect using technical staff's light box illumination set in advance as above-mentioned default illumination, this disclosure is not specifically limited.
During using light sensor measurement light illumination, to each light box, light sensor can be surveyed only Amount once, obtains a measured value, and the measured value is measurement illumination corresponding to current light box, certainly, in order to improve the degree of accuracy, Accidental error is eliminated, to each light box, above-mentioned light sensor can take multiple measurements, and obtain multiple measured values, treat school Quasi- terminal can calculate the average value of the plurality of measured value, and measure illumination using the average value as corresponding to current light box, this The open acquisition modes to above-mentioned at least two measurement illumination are not specifically limited.
In a step 220, each two measurement illumination at least two measurements illumination is retrieved as one by terminal to be calibrated Group measurement illumination.
Step 220 and following step 230 to 240 are whether the differences of illumination intensities detected between at least two measurements illumination accords with Calibration condition is closed, that is to say whether light sensor is sensitive to colour temperature in detection terminal to be calibrated, if it is not sensitive to colour temperature, Meet calibration condition, if it is sensitive to colour temperature, do not meet calibration condition, in order to detect between at least two measurements illumination Whether differences of illumination intensities meets calibration condition, it is necessary to calculate the difference at least two measurements illumination between each two measurement illumination Value, therefore, the disclosure needs to perform the technical process of step 220.
By the technical process of step 210, the disclosure obtains at least two measurement illumination, in a step 220, the disclosure Need each two measurement illumination at least two measurements illumination being retrieved as one group, if for example, only obtaining two in step 210 Individual measurement illumination, respectively A, B, then A and B can be retrieved as to one group of measurement illumination in a step 220, if being obtained in step 210 Taken 4 measurement illumination, respectively C, D, E, F then in a step 220 can be by C and D, C and E, C and F, D and E, D and F, E and F is retrieved as 6 groups of measurement illumination, from the example above, if the measurement illumination obtained in step 210 is n, in step 220 The number of the measurement illumination group of acquisition isWherein C accords with for combinatorial operation, and subscript n is that the measurement obtained in step 210 is shone The number of degree, is above designated as 2, that is to say the measurement illumination number included in every group of measurement illumination.
In step 230, terminal to be calibrated obtains the difference value that illumination is measured in every group of measurement illumination.
It should be noted that what above-mentioned difference value represented is the gap size that illumination is measured in every group of measurement illumination, the difference Different value can calculate acquisition by a variety of computing modes such as subtraction, division arithmetic, and the disclosure obtains specifically to above-mentioned difference value Content and computational methods do not limit.
Specifically, the difference value can be calculated according to difference value calculation formula, and the difference value calculation formula can be:
γ=| E-A |/A*100%
Wherein, E=D*C, C=A/B, A are default illumination, and B and D are that two measurements that every group of measurement illumination includes are shone Angle value, γ are difference value, and " * " is multiplication operator, and "/" accords with for division arithmetic, | | to ask signed magnitude arithmetic(al) to accord with.
For example, it is respectively 80Lx and 82Lx that if brightness value is measured in one group of measurement illumination, it is 75Lx to preset illumination, then passes through It is 3% to calculate difference value.
Certainly, in addition, there are other to obtain in the scope of disclosure step 230 to survey in every group of measurement illumination The mode of differences of illumination intensities value is measured, the disclosure is no longer exhaustive one by one herein.
In step 240, terminal to be calibrated is default according to the difference value and first that illumination is measured in every group of measurement illumination Numerical relation between threshold value, determines whether the differences of illumination intensities between at least two measurements illumination meets calibration condition.
It is it should be noted that default according to difference value and first that illumination is measured in every group of measurement illumination in step 240 Numerical relation between threshold value, determines whether the differences of illumination intensities between at least two measurements illumination meets the mode of calibration condition There can be many kinds, corresponding to different determination modes, above-mentioned first predetermined threshold value is also had nothing in common with each other, and the disclosure is to determining whether The mode for meeting calibration condition is not specifically limited, and above-mentioned first predetermined threshold value is also not specifically limited.
In order that those skilled in the art can realize the technical scheme of the disclosure according to the content of present disclosure specification, this It is open to provide following three kinds of methods for determining whether to meet calibration condition.
The first, when the difference value that illumination is measured in every group of measurement illumination is respectively less than the first predetermined threshold value, it is determined that this is extremely Differences of illumination intensities between few two measurements illumination meets calibration condition.
For example, if three groups of measurement illumination are obtained in step 220, wherein the measurement illumination point included in every group of measurement illumination Not Wei 80Lx and 82Lx, 80Lx and 84Lx and 82Lx and 84Lx, according to above-mentioned difference value calculation formula, be calculated above-mentioned three The difference value that illumination is measured in group measurement illumination is respectively 3%, 4.7% and 2.3%, if the first predetermined threshold value is 10%, on The difference value for stating every group of measurement illumination is respectively less than the first predetermined threshold value, that is to say that the illumination between at least two measurements illumination is poor It is different to meet calibration condition.
Second, when any group of difference value of the difference value that illumination is measured in every group of measurement illumination is less than the first default threshold During value, determine that the differences of illumination intensities between at least two measurements illumination meets calibration condition.
For example, if three groups of measurement illumination are obtained in step 220, wherein the measurement illumination point included in every group of measurement illumination Not Wei 80Lx and 82Lx, 80Lx and 100Lx and 82Lx and 100Lx, according to above-mentioned difference value calculation formula, be calculated above-mentioned The difference value that illumination is measured in three groups of measurement illumination is respectively 3%, 20% and 18%, if the first predetermined threshold value is 10%, its In have one group of measurement illumination difference value be less than the first predetermined threshold value, that is to say this at least two measurement illumination between illumination it is poor It is different to meet calibration condition.
The third, the number that the measurement illumination group of the first predetermined threshold value is less than when the difference value of measurement illumination is pre- more than second If during threshold value, determine that the differences of illumination intensities between at least two measurements illumination meets calibration condition.
For example, if six groups of measurement illumination are obtained in step 220, wherein the measurement illumination point included in every group of measurement illumination Not Wei 80Lx and 86Lx, 80Lx and 95Lx, 86Lx and 95Lx, 80Lx and 82Lx, 86Lx and 82Lx and 82Lx and 95Lx, according to Above-mentioned difference value calculation formula, be calculated measured in above-mentioned six groups of measurement illumination illumination difference value be respectively 6.9%, 15.7%th, 9.4%, 3%, 4.6% and 13.6%, if the first predetermined threshold value is 10%, there is the difference value of 4 groups of measurement illumination small In the first predetermined threshold value, if the second predetermined threshold value is 2, the difference value of measurement illumination is less than the measurement illumination of the first predetermined threshold value The number of group is more than the second predetermined threshold value, that is to say that the differences of illumination intensities between at least two measurements illumination meets calibration condition.
In step 250, it is to be calibrated if the differences of illumination intensities between at least two measurements illumination meets the calibration condition The ratio that terminal presets this illumination and specified measurement illumination is retrieved as the calibration factor, and the calibration factor is used for be calibrated to this The light sensor of terminal is calibrated.
If the differences of illumination intensities between at least two measurements illumination meets the calibration condition, illustrate light in terminal to be calibrated Line sensor is not sensitive to colour temperature, in such a case, it is possible to obtain the calibration factor of the light sensor, the calibration factor is The ratio of default illumination and specified measurement illumination, the specified measurement illumination are determined according to above-mentioned at least two measurement illumination, And the determination method of the specified measurement illumination can have many kinds, the disclosure only shows following four by way of example herein, On the premise of disclosure scope is not departed from, the technical scheme of the disclosure should also be as covering other determination specified measurement illumination Method.
The first, the specified measurement illumination is any one measurement illumination at least two measurements illumination.
For example, at least two measurements illumination can be 80Lx, 86Lx and 95Lx, then any of which measurement illumination is chosen It is worth for specified measurement illumination, e.g., 80Lx can be used as specified measurement illumination, if default illumination is 75Lx, calibration factor δ= 0.93。
Second, the specified measurement illumination is measurement illumination minimum at least two measurements illumination.
For example, at least two measurements illumination can be 80Lx, 86Lx and 95Lx, then wherein minimum measurement illumination is chosen It is worth for specified measurement illumination, that is to say, 80Lx is as specified measurement illumination, if default illumination is 75Lx, calibration factor δ= 0.93。
The third, the specified measurement illumination is measurement illumination maximum at least two measurements illumination.
For example, at least two measurements illumination can be 80Lx, 86Lx and 95Lx, then maximum of which measurement illumination is chosen It is worth for specified measurement illumination, that is to say, 95Lx is as specified measurement illumination, if default illumination is 75Lx, calibration factor δ= 0.79。
4th kind, the specified measurement illumination is the average value of at least two measurements illumination.
For example, at least two measurements illumination can be 80Lx, 86Lx and 95Lx, then its average value is 87Lx, namely It is that 87Lx is as specified measurement illumination, if default illumination is 75Lx, calibration factor δ=0.86.
In one embodiment of the disclosure, if the differences of illumination intensities between at least two measurements illumination does not meet the calibration Condition, then illustrating that light sensor is sensitive to colour temperature, then terminal to be calibrated needs to obtain the fault type of the light sensor, with Just according to the fault type, light sensor is eliminated to the sensitiveness of colour temperature, above-mentioned fault type using corresponding processing method Can be inaccurate etc. including screen ink light transmittance on assembling failure, material failure, light sensor, the disclosure is to above-mentioned failure The particular content of type does not limit.
It should be noted that in actual application, terminal to be calibrated may obtain calibration factor, then treat school Quasi- terminal only needs directly to obtain the calibration factor from local, and is using the output valve of calibration factor calibration light sensor Can, in such a case, it is possible to directly perform step 260.
In step 260, the measurement brightness value that light sensor exports is multiplied by terminal to be calibrated with the calibration factor, obtains To calibration light illumination.
Obviously, calibration factor is the ratio between the actual illumination of light and the illumination of light sensor measurement, therefore, is Obtain calibrating light illumination, that is to say to obtain actual illumination, the measurement brightness value that light sensor exports and calibration can be used It multiplication, that is to say, can be multiplied with the illumination that light sensor measures with calibration factor.
Illustrate as described above, calibration factor δ=0.93, the measurement brightness value of light sensor output can be 80Lx, then It is 75Lx by calculating calibration illumination.
In summary, the calibration method for the light sensor that the present embodiment provides, by detecting the light in terminal to be calibrated Whether the difference between multiple light illuminations that line sensor measures under at least two environment of different-colour but equal illumination Meet calibration condition, if meeting, illustrate that light sensor is insensitive to colour temperature, that is to say, colour temperature is to above-mentioned light sensor The influence of measurement is smaller, can then obtain calibration factor in this case, and during subsequently measurement illumination, utilize the school Quasi- coefficient is calibrated to light sensor, if not meeting, is illustrated that light sensor is sensitive to colour temperature, be that is to say, colour temperature pair Having a great influence for above-mentioned light sensor measurement, then can detect in subsequent step and obtain the failure classes of light sensor Type, so as to eliminate sensitiveness of the light sensor to colour temperature, also make it that measurement of the light sensor to illumination is more accurate.
Fig. 4 is a kind of block diagram of light sensor calibrating installation 400 according to an exemplary embodiment.Reference picture 4, The device includes measurement module 410, detection module 420 and acquisition module 430.
The measurement module 410, at least two default photoenvironments are entered for the light sensor using terminal to be calibrated Row detection, obtains at least two measurement illumination, and at least two default photoenvironment has same default illumination, different-colour.
In one embodiment of the disclosure, the measurement module 410 is used for:Utilize the light sensor of the terminal to be calibrated Light illumination at least two light boxs is measured, at least two light box has same default illumination, different-colour.
Wherein, the terminal to be calibrated is positioned over the same position at least two light box.
The detection module 420, for detecting the illumination between at least two measurements illumination that the measurement module 410 obtains Whether difference meets calibration condition.
In one embodiment of the disclosure, the detection module 420 is used for:By every two at least two measurements illumination Individual measurement illumination is retrieved as one group of measurement illumination;Obtain the difference value that illumination is measured in every group of measurement illumination;According to every group of survey Measure illumination in measure illumination difference value and the first predetermined threshold value between numerical relation, determine this at least two measurement illumination it Between differences of illumination intensities whether meet calibration condition.
In one embodiment of the disclosure, the detection module 420 is used for:When the difference that illumination is measured in every group of measurement illumination When different value is respectively less than the first predetermined threshold value, determine that the differences of illumination intensities between at least two measurements illumination meets calibration condition;Or, When any group of difference value of the difference value of measurement illumination in every group of measurement illumination is less than the first predetermined threshold value, it is determined that this is at least Differences of illumination intensities between two measurement illumination meets calibration condition;Or, when the difference value of measurement illumination is less than the first predetermined threshold value The number of measurement illumination group when being more than the second predetermined threshold value, determine that differences of illumination intensities between at least two measurements illumination meets Calibration condition.
In one embodiment of the disclosure, the detection module 420 is used for:This every group is calculated using difference value calculation formula The difference value that illumination is measured in illumination is measured, the difference value calculation formula is:
γ=| E-A |/A*100%
Wherein, γ is the difference value of the measurement illumination, and E=D*C, C=A/B, A is the default illumination, and B and D are this every group Two measurement brightness values that measurement illumination includes.
The acquisition module 430, if meeting the calibration condition for the differences of illumination intensities between at least two measurements illumination, Illumination and at least two measurements illumination are preset according to this, obtain calibration factor, the calibration factor is used for the terminal to be calibrated Light sensor calibrated.
In one embodiment of the disclosure, the acquisition module 430 is used for:This is preset into illumination and specified measurement illumination Ratio is retrieved as the calibration factor, and the specified measurement illumination is any one measurement illumination at least two measurements illumination;Or Person, the specified measurement illumination are measurement illumination minimum at least two measurements illumination;Or the specified measurement illumination is to be somebody's turn to do Maximum measurement illumination at least two measurement illumination;Or the specified measurement illumination is the flat of at least two measurements illumination Average.
Referring to Fig. 5, in another embodiment of the disclosure, another light sensor calibrating installation 500 is additionally provided, Example structure of the device based on above-mentioned Fig. 4, in addition to failure acquisition module 440.
The failure acquisition module 440, if not meeting the calibration for the differences of illumination intensities between at least two measurements illumination Condition, then the fault type of the light sensor of the terminal to be calibrated is obtained, the fault type includes the light sensor material At least one of failure, light sensor assembling failure.
In summary, the light sensor calibrating installation that the present embodiment provides, by detecting the light in terminal to be calibrated Whether the difference between multiple light illuminations that sensor measures under at least two environment of different-colour but equal illumination accords with Calibration condition is closed, if meeting, illustrates that light sensor is insensitive to colour temperature, that is to say, colour temperature is surveyed to above-mentioned light sensor The influence of amount is smaller, can then obtain calibration factor in this case, and during subsequently measurement illumination, utilize the calibration Coefficient is calibrated to light sensor, if not meeting, is illustrated that light sensor is sensitive to colour temperature, be that is to say, colour temperature is to upper Having a great influence for light sensor measurement is stated, then can be detected in subsequent step and obtain the fault type of light sensor, So as to eliminate sensitiveness of the light sensor to colour temperature, also make it that measurement of the light sensor to illumination is more accurate.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 6 is a kind of block diagram of terminal 600 according to an exemplary embodiment.The terminal 600 can be mobile electricity Words, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment are individual Personal digital assistant etc..
Reference picture 6, terminal 600 can include following one or more assemblies:Processing component 602, memory 604, power supply Component 606, multimedia groupware 608, audio-frequency assembly 610, the interface 612 of input/output (I/O), sensor cluster 614, and Communication component 616.
Processing component 602 generally controls the integrated operation of terminal 600, is such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Processing component 602 can refer to including one or more processors 620 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 602 can include one or more modules, just Interaction between processing component 602 and other assemblies.For example, processing component 602 can include multi-media module, it is more to facilitate Interaction between media component 608 and processing component 602.
Memory 604 is configured as storing various types of data to support the operation in terminal 600.These data are shown Example includes the instruction of any application program or method for being operated in terminal 600, contact data, telephone book data, disappears Breath, picture, video etc..Memory 604 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 606 provides electric power for the various assemblies of terminal 600.Power supply module 606 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for terminal 600.
Multimedia groupware 608 is included in the screen of one output interface of offer between the terminal 600 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 608 includes a front camera and/or rear camera.When terminal 600 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 610 is configured as output and/or input audio signal.For example, audio-frequency assembly 610 includes a Mike Wind (MIC), when terminal 600 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 604 or via communication set Part 616 is sent.In certain embodiments, audio-frequency assembly 610 also includes a loudspeaker, for exports audio signal.
I/O interfaces 612 provide interface between processing component 602 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 614 includes one or more sensors, and the state for providing various aspects for terminal 600 is commented Estimate.For example, sensor cluster 614 can detect opening/closed mode of terminal 600, and the relative positioning of component, for example, it is described Component is the display and keypad of terminal 600, and sensor cluster 614 can be with 600 1 components of detection terminal 600 or terminal Position change, the existence or non-existence that user contacts with terminal 600, the orientation of terminal 600 or acceleration/deceleration and terminal 600 Temperature change.Sensor cluster 614 can include proximity transducer, be configured to detect in no any physical contact The presence of neighbouring object.Sensor cluster 614 can also include light sensor, such as CMOS or ccd image sensor, for Used in imaging applications.In certain embodiments, the sensor cluster 614 can also include acceleration transducer, and gyroscope passes Sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between terminal 600 and other equipment.Terminal 600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 616 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 616 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 600 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 604 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 620 of terminal 600.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium is additionally provided, when the storage is situated between Instruction in matter by mobile terminal computing device when so that mobile terminal is able to carry out following methods:Use end to be calibrated The light sensor at end detects at least two default photoenvironments, obtains at least two measurement illumination, this at least two Default photoenvironment has same default illumination, different-colour, and the differences of illumination intensities detected between at least two measurements illumination is It is no to meet calibration condition, it is default according to this if the differences of illumination intensities between at least two measurements illumination meets the calibration condition Illumination and at least two measurements illumination, obtain calibration factor, the calibration factor is used for the light level to the terminal to be calibrated Device is calibrated.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by above Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (17)

1. a kind of light sensor calibration method, it is characterised in that methods described includes:
At least two default photoenvironments are detected using the light sensor of terminal to be calibrated, obtain at least two measurements Illumination, described at least two default photoenvironments have same default illumination, different-colour;
Whether the differences of illumination intensities detected between at least two measurements illumination meets calibration condition;
If it is described at least two measurement illumination between differences of illumination intensities meet the calibration condition, according to the default illumination with At least two measurements illumination, obtains calibration factor, and the calibration factor is used for the light level to the terminal to be calibrated Device is calibrated.
2. according to the method for claim 1, it is characterised in that the light sensor using terminal to be calibrated is at least Two default photoenvironments, which carry out detection, to be included:
The terminal to be calibrated is successively positioned at least two light boxs, and utilizes the light sensor of the terminal to be calibrated Light illumination at least two light box is measured, at least two light box has same default illumination, difference Colour temperature.
3. according to the method for claim 2, it is characterised in that the terminal to be calibrated is positioned at least two light Same position in case.
4. according to the method for claim 1, it is characterised in that the illumination between the detection at least two measurements illumination is poor The different calibration condition that whether meets includes:
The each two measurement illumination described at least two measured in illumination is retrieved as one group of measurement illumination;
Obtain the difference value that illumination is measured in every group of measurement illumination;
According to the numerical relation between difference value and the first predetermined threshold value that illumination is measured in every group of measurement illumination, institute is determined Whether the differences of illumination intensities stated between at least two measurement illumination meets calibration condition.
5. according to the method for claim 4, it is characterised in that according to the difference that illumination is measured in every group of measurement illumination Numerical relation between value and the first predetermined threshold value, determines whether the differences of illumination intensities between at least two measurements illumination meets Calibration condition includes:
When the difference value that illumination is measured in every group of measurement illumination is respectively less than the first predetermined threshold value, at least two measurement is determined Differences of illumination intensities between illumination meets calibration condition;Or,
When any group of difference value of the difference value of measurement illumination in every group of measurement illumination is less than the first predetermined threshold value, institute is determined The differences of illumination intensities stated between at least two measurement illumination meets calibration condition;Or,
When the number for the measurement illumination group that the difference value for measuring illumination is less than the first predetermined threshold value is more than the second predetermined threshold value, really Differences of illumination intensities between the fixed at least two measurements illumination meets calibration condition.
6. according to the method for claim 4, it is characterised in that obtain the difference value bag that illumination is measured in every group of measurement illumination Include:
The difference value that illumination is measured in every group of measurement illumination is calculated using difference value calculation formula, the difference value calculates public Formula is:
γ=| E-A |/A*100%
Wherein, γ is the difference value of the measurement illumination, and E=D*C, C=A/B, A is the default illumination, and B and D are described every Two measurement brightness values that group measurement illumination includes.
7. according to the method for claim 1, it is characterised in that shone according to the default illumination and described at least two measurements Degree, obtaining calibration factor includes:
The ratio of the default illumination and specified measurement illumination is retrieved as the calibration factor, the specified measurement illumination is institute State any one measurement illumination at least two measurement illumination;Or
The specified measurement illumination is measurement illumination minimum in described at least two measurement illumination;Or
The specified measurement illumination is measurement illumination maximum in described at least two measurement illumination;Or
The specified measurement illumination is the average value of described at least two measurement illumination.
8. according to the method for claim 1, it is characterised in that methods described also includes:
If the differences of illumination intensities between at least two measurements illumination does not meet the calibration condition, the end to be calibrated is obtained The fault type of the light sensor at end, the fault type include the light sensor material failure, the light level At least one of device assembling failure.
9. a kind of light sensor calibrating installation, it is characterised in that described device includes:
Measurement module, at least two default photoenvironments are detected for the light sensor using terminal to be calibrated, obtained To at least two measurement illumination, described at least two default photoenvironments have same default illumination, different-colour;
Detection module, for whether detecting the differences of illumination intensities between at least two measurements illumination that the measurement module obtains Meet calibration condition;
Acquisition module, if meeting the calibration condition, basis for the differences of illumination intensities between described at least two measurement illumination The default illumination and described at least two measurement illumination, obtain calibration factor, the calibration factor is used for described to be calibrated The light sensor of terminal is calibrated.
10. device according to claim 9, it is characterised in that the measurement module is used for:
Light illumination at least two light boxs is measured using the light sensor of the terminal to be calibrated, it is described at least Two light boxs have same default illumination, different-colour.
11. device according to claim 9, it is characterised in that the terminal to be calibrated is positioned over described at least two Same position in light box.
12. device according to claim 9, it is characterised in that the detection module is used for:
The each two measurement illumination described at least two measured in illumination is retrieved as one group of measurement illumination;
Obtain the difference value that illumination is measured in every group of measurement illumination;
According to the numerical relation between difference value and the first predetermined threshold value that illumination is measured in every group of measurement illumination, institute is determined Whether the differences of illumination intensities stated between at least two measurement illumination meets calibration condition.
13. device according to claim 12, it is characterised in that the detection module is used for:
When the difference value that illumination is measured in every group of measurement illumination is respectively less than the first predetermined threshold value, at least two measurement is determined Differences of illumination intensities between illumination meets calibration condition;Or,
When any group of difference value of the difference value of measurement illumination in every group of measurement illumination is less than the first predetermined threshold value, institute is determined The differences of illumination intensities stated between at least two measurement illumination meets calibration condition;Or,
When the number for the measurement illumination group that the difference value for measuring illumination is less than the first predetermined threshold value is more than the second predetermined threshold value, really Differences of illumination intensities between the fixed at least two measurements illumination meets calibration condition.
14. device according to claim 12, it is characterised in that the detection module is used for:
The difference value that illumination is measured in every group of measurement illumination is calculated using difference value calculation formula, the difference value calculates public Formula is:
γ=| E-A |/A*100%
Wherein, γ is the difference value of the measurement illumination, and E=D*C, C=A/B, A is the default illumination, and B and D are described every Two measurement brightness values that group measurement illumination includes.
15. device according to claim 9, it is characterised in that the acquisition module is used for:
The ratio of the default illumination and specified measurement illumination is retrieved as the calibration factor, the specified measurement illumination is institute State any one measurement illumination at least two measurement illumination;Or
The specified measurement illumination is measurement illumination minimum in described at least two measurement illumination;Or
The specified measurement illumination is measurement illumination maximum in described at least two measurement illumination;Or
The specified measurement illumination is the average value of described at least two measurement illumination.
16. device according to claim 9, it is characterised in that described device also includes:
Failure acquisition module, if not meeting the calibration condition for the differences of illumination intensities between described at least two measurement illumination, The fault type of the light sensor of the terminal to be calibrated is then obtained, the fault type includes the light sensor material At least one of failure, light sensor assembling failure.
17. a kind of light sensor calibrating installation, it is characterised in that described device includes:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
At least two default photoenvironments are detected using the light sensor of terminal to be calibrated, obtain at least two measurements Illumination, described at least two default photoenvironments have same default illumination, different-colour;
Whether the differences of illumination intensities detected between at least two measurements illumination meets calibration condition;
If it is described at least two measurement illumination between differences of illumination intensities meet the calibration condition, according to the default illumination with At least two measurements illumination, obtains calibration factor, and the calibration factor is used for the light level to the terminal to be calibrated Device is calibrated.
CN201510989943.6A 2015-12-24 2015-12-24 light sensor calibration method and device Active CN105651381B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510989943.6A CN105651381B (en) 2015-12-24 2015-12-24 light sensor calibration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510989943.6A CN105651381B (en) 2015-12-24 2015-12-24 light sensor calibration method and device

Publications (2)

Publication Number Publication Date
CN105651381A CN105651381A (en) 2016-06-08
CN105651381B true CN105651381B (en) 2018-02-23

Family

ID=56476864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510989943.6A Active CN105651381B (en) 2015-12-24 2015-12-24 light sensor calibration method and device

Country Status (1)

Country Link
CN (1) CN105651381B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106568468B (en) * 2016-10-31 2019-02-12 努比亚技术有限公司 Automatic test calibration system and method based on light sensor
CN107367327A (en) * 2017-07-18 2017-11-21 广东欧珀移动通信有限公司 Calibration method, device, mobile terminal and the readable storage medium storing program for executing of optical sensor
CN108154865A (en) * 2017-12-05 2018-06-12 北京小米移动软件有限公司 Adjust the method and device of screen color temp
CN108600736B (en) * 2018-03-01 2020-04-17 Oppo广东移动通信有限公司 Terminal light sensation calibration method and device, terminal and storage medium
CN110796996B (en) * 2018-08-02 2021-03-16 Oppo(重庆)智能科技有限公司 Color temperature calibration method and device for mobile terminal, electronic equipment and storage medium
CN110876180B (en) * 2018-08-31 2023-08-29 Oppo广东移动通信有限公司 Power consumption processing method and device, electronic equipment and computer readable medium
CN110821563B (en) * 2019-10-29 2021-07-13 天地(常州)自动化股份有限公司 Identification method and device
CN113091890A (en) * 2021-03-22 2021-07-09 北京小米移动软件有限公司 Calibration method of optical sensor, optical sensor and electronic device with optical sensor

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CH558577A (en) * 1973-09-25 1975-01-31 Cerberus Ag METHOD OF FLAME DETECTION AND DEVICE FOR CARRYING OUT THIS METHOD.
US4352017A (en) * 1980-09-22 1982-09-28 Rca Corporation Apparatus for determining the quality of a semiconductor surface
CN102466515B (en) * 2010-11-11 2014-12-17 比亚迪股份有限公司 Method and system for calibrating optical sensor of mobile terminal
WO2011137731A2 (en) * 2011-04-29 2011-11-10 华为终端有限公司 Method for controlling light-emitting device in terminal equipment, apparatus thereof and terminal equipment
CN102322946B (en) * 2011-07-22 2014-01-22 惠州Tcl移动通信有限公司 Calibration method and system for optical sensor of mobile phone

Also Published As

Publication number Publication date
CN105651381A (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN105651381B (en) light sensor calibration method and device
CN104700816B (en) Method and device for setting screen brightness
CN105633498B (en) Battery temperature detection method and device
US10101156B2 (en) Method and apparatus for determining spatial parameter based on image and terminal device
CN108716950A (en) Environmental light brightness acquisition methods and device
CN107068114A (en) Screen color method of adjustment, device, equipment and storage medium
US20210210027A1 (en) Method and device for detecting ambient light, and storage medium
CN112449026B (en) Ambient light compensation method, device, terminal and storage medium
CN106454336A (en) Method and device for detecting whether camera of terminal is covered or not, and terminal
CN111380610B (en) Ambient light detection method and apparatus, electronic device, and storage medium
CN105469003B (en) screen protection method and device
CN106339695A (en) Face similarity detection method, device and terminal
CN107678934A (en) Interim card index selection method and device
CN106253996A (en) Sensitivity decay testing method and device
CN104299582A (en) Backlight adjusting method and device
CN104219518B (en) Light measuring method and device
CN107657608B (en) Image quality determination method and device and electronic equipment
CN107977029A (en) Indoor illumination intensity method of adjustment and device
CN108760042B (en) Optical sensor calibration method and device, mobile device, medium and electronic device
CN107808626A (en) Adjust the method, apparatus and computer-readable recording medium of display screen colour temperature
CN107610201A (en) Lip tattooing method and device based on image procossing
TWI476381B (en) Ambient light sensing device and method, and interactive device using same
CN109308861A (en) Color calibration method, device, equipment and storage medium
CN107913063A (en) Measure method, apparatus, Human fat balance and the storage medium of body fat rate
CN114720932A (en) Battery management system signal sampling precision testing method and device, upper computer and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant