CN107764406A - The management method and electronic equipment of a kind of infrared detection - Google Patents

The management method and electronic equipment of a kind of infrared detection Download PDF

Info

Publication number
CN107764406A
CN107764406A CN201711013510.2A CN201711013510A CN107764406A CN 107764406 A CN107764406 A CN 107764406A CN 201711013510 A CN201711013510 A CN 201711013510A CN 107764406 A CN107764406 A CN 107764406A
Authority
CN
China
Prior art keywords
infrared
light
value
sensor
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711013510.2A
Other languages
Chinese (zh)
Other versions
CN107764406B (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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201711013510.2A priority Critical patent/CN107764406B/en
Publication of CN107764406A publication Critical patent/CN107764406A/en
Application granted granted Critical
Publication of CN107764406B publication Critical patent/CN107764406B/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
    • G01J5/00Radiation pyrometry, e.g. infrared or optical thermometry
    • G01J5/0022Radiation pyrometry, e.g. infrared or optical thermometry for sensing the radiation of moving bodies
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J5/00Radiation pyrometry, e.g. infrared or optical thermometry
    • G01J5/10Radiation pyrometry, e.g. infrared or optical thermometry using electric radiation detectors
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V8/00Prospecting or detecting by optical means
    • G01V8/10Detecting, e.g. by using light barriers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components

Abstract

The invention discloses a kind of management method of infrared detection and electronic equipment, the electronic equipment includes infrared sensor and light sensor, specifically, it is determined that whether the infrared sensor detects the first message for characterizing infrared close event or infrared remote event;When to be, judge the variable quantity for the light sensing value that the light sensor receives in preset time period whether in the first default light threshold range;If the variable quantity for the light sensing value that the light sensor receives in preset time period receives the first message that the infrared sensor is sent in the first default light threshold range.Infrared erroneous judgement can be avoided by using the program, so as to improve the precision of infrared detection.

Description

The management method and electronic equipment of a kind of infrared detection
Technical field
The present invention relates to the management method and electronic equipment of electronic technology field, more particularly to a kind of infrared detection.
Background technology
In recent years, with the development of science and technology, existing electronic equipment such as smart mobile phone captures by its powerful function Mobile phone market share big absolutely, smart mobile phone have become part indispensable in people's daily life.Smart mobile phone software, Hardware aspect is constantly reformed, and also constantly changes the face face layer by layer in the social activity and life of people.In a word, people are to smart mobile phone Degree of dependence more and more higher, the design also increasingly hommization of mobile phone.For example, to prevent mistake of the user to smart mobile phone screen Operation, generally use are arranged on the close of the infrared sensor sense object on smart mobile phone housing, when there is object proximity intelligent During mobile phone, a part of infrared light reflexes to infrared sensor by barrier, and infrared sensor induces infrared light intensity value, hot After outer light intensity value reaches certain intensity, it is tested with that object is close, extinguishes the screen of smart mobile phone.Or when object is remote During from smart mobile phone, a part of infrared light reflexes to infrared sensor by barrier, and infrared sensor induces infrared luminous intensity Value, after infrared light intensity value is attenuated to certain intensity, it is tested with that object is remote, lights the screen of smart mobile phone.
, it is necessary to have infrared proximity threshold value and infrared remote threshold value during infrared sensor works, work as infrared sensing Device detects infrared light gradually enhancing and infrared luminous intensity is when being more than infrared proximity threshold value, it is believed that has that object is close, extinguishes intelligently The screen of mobile phone.When infrared sensor detects that infrared light gradually weakens and infrared luminous intensity is less than infrared remote threshold value, recognize To there is object remote, the screen of smart mobile phone is lighted.
Current most of producer can be corrected before dispatching from the factory to infrared proximity threshold value and infrared remote threshold value, determine infrared Close to threshold value and infrared remote threshold value, still, once these correction of complex and mobile phone dispatches from the factory, the infrared proximity threshold value and infrared remote Begin to fix from threshold value, when the situation of itself changes after mobile phone dispatches from the factory, such as on phone housing infrared opening oil The change of black light transmittance, for sticking film for mobile phone to the coverage extent, the dust of infrared opening etc. of infrared opening, these easily cause intelligence Can erroneous judgement of the mobile phone to infrared close and remote event.For example, it is infrared report close to away from event when, if mobile phone is infrared Tapping has water smoke to cause infrared erroneous judgement problem.
It can be seen that following technical problem in the prior art at least be present:Electronic equipment is carried out close to electronics using infrared detection When the event of equipment and event detection away from electronic equipment, due to can not be red according to the actual conditions flexible modulation of electronic equipment Outer close threshold value and infrared remote threshold value, infrared erroneous judgement caused by meeting.
The content of the invention
The embodiment of the present invention is by providing the management method and electronic equipment of a kind of infrared detection, for solving prior art When middle electronic equipment is using event of the infrared detection progress close to electronic equipment and the event detection away from electronic equipment, due to not Can be according to the infrared close threshold value of actual conditions flexible modulation of electronic equipment and infrared remote threshold value, infrared erroneous judgement caused by meeting Technical problem.
In a first aspect, one embodiment of the invention provides a kind of management method of infrared detection, applied to electronic equipment, institute Stating electronic equipment includes infrared sensor and light sensor, and methods described includes:
Determine the infrared sensor whether detect for characterize infrared close event or infrared remote event first Message;
When to be, judge the light sensing value that the light sensor receives in preset time period variable quantity whether In the first default light threshold range;
If the variable quantity for the light sensing value that the light sensor receives in preset time period is in the first default light In threshold range, the first message that the infrared sensor is sent is received.
Optionally, judging the variable quantity of light sensing value that the light sensor receives whether in the first default light After in line threshold range, methods described also includes:
If the variable quantity for the light sensing value that the light sensor receives in preset time period is not in the first default light In line threshold range, the infrared close threshold value of the electronic equipment and infrared remote threshold value are adjusted.
Optionally, if the variable quantity for the light sensing value that the light sensor receives in preset time period does not exist In first default light threshold range, the infrared close threshold value of the electronic equipment and infrared remote threshold value are adjusted, including:
If it is pre- that the variable quantity for the light sensing value that the light sensor receives in preset time period is less than described first If the minimum value in light threshold range, obtain infrared sensor acquiescence bottom and make an uproar value;
Made an uproar value based on the acquiescence bottom, increase the infrared close threshold value of the electronic equipment and infrared remote threshold value.
Optionally, if the variable quantity for the light sensing value that the light sensor receives in preset time period does not exist In first default light threshold range, the infrared close threshold value of the electronic equipment and infrared remote threshold value are adjusted, including:
If it is pre- that the variable quantity for the light sensing value that the light sensor receives in preset time period is more than described first If the maximum in light threshold range, obtain infrared sensor acquiescence bottom and make an uproar value;
Made an uproar value based on the acquiescence bottom, reduce the infrared close threshold value of the electronic equipment and infrared remote threshold value.
Optionally, the electronic equipment also includes coprocessor and primary processor:
Determine whether the infrared sensor is detected for characterizing infrared close event or red using the coprocessor The outer first message away from event;
When to be, the light sensing value that the light sensor receives in preset time period is judged using coprocessor Variable quantity whether in the first default light threshold range;
If the variable quantity for the light sensing value that the light sensor receives in preset time period is in the first default light In threshold range, the primary processor is waken up using the coprocessor;
The primary processor receives the first message that the infrared sensor is sent.
Second aspect, one embodiment of the invention provide a kind of electronic equipment, and the electronic equipment includes infrared sensor And light sensor, the electronic equipment also include:
Determining module, for determining whether the infrared sensor is detected for characterizing infrared close event or infrared remote From the first message of event;
Judge module, the light sensing received for when to be, judging the light sensor in preset time period Whether the variable quantity of value is in the first default light threshold range;
Receiving module, if the variable quantity of the light sensing value received for the light sensor in preset time period exists In first default light threshold range, the first message that the infrared sensor is sent is received.
Optionally, the electronic equipment also includes:
Adjusting module, for judging the variable quantity of light sensing value that the light sensor receives whether first After in default light threshold range, if the variable quantity for the light sensing value that the light sensor receives in preset time period Not in the first default light threshold range, the infrared close threshold value of the electronic equipment and infrared remote threshold value are adjusted.
Optionally, the adjusting module includes:
First obtains submodule, if the change of the light sensing value received for the light sensor in preset time period Change amount is less than the minimum value in the described first default light threshold range, obtains the infrared sensor acquiescence bottom and makes an uproar value;
First adjustment submodule, for being made an uproar value based on the acquiescence bottom, increase the infrared close threshold value of the electronic equipment With infrared remote threshold value.
Optionally, the adjusting module includes:
Second obtains submodule, if the change of the light sensing value received for the light sensor in preset time period Change amount is more than the maximum in the described first default light threshold range, obtains the infrared sensor acquiescence bottom and makes an uproar value;
Second adjustment submodule, for being made an uproar value based on the acquiescence bottom, reduce the infrared close threshold value of the electronic equipment With infrared remote threshold value.
Optionally, the receiving module includes:
Submodule is waken up, if the variable quantity of the light sensing value received for the light sensor in preset time period In the first default light threshold range, receiving submodule is waken up;
The receiving submodule, the first message sent for receiving the infrared sensor;
The electronic equipment also includes coprocessor and primary processor, and the coprocessor includes the determining module, institute State judge module and the wake-up submodule;The primary processor includes the receiving submodule.
Determine whether the infrared sensor is detected for characterizing infrared close event or red using the coprocessor The outer first message away from event;
When to be, the light sensing value that the light sensor receives in preset time period is judged using coprocessor Variable quantity whether in the first default light threshold range;
If the variable quantity for the light sensing value that the light sensor receives in preset time period is in the first default light In threshold range, the primary processor is waken up using the coprocessor so that the primary processor receives the infrared sensing The first message that device is sent.
The third aspect, one embodiment of the invention provide a kind of computer installation, and the computer installation includes processor, The processor is realized as described in the embodiment of aforementioned first aspect when being used to perform the computer program stored in memory The step of information processing method.
Fourth aspect, one embodiment of the invention provide a kind of computer-readable recording medium, are stored thereon with computer Program:The information processing method as described in the embodiment of aforementioned first aspect is realized when the computer program is executed by processor The step of.
The one or more technical schemes provided in the embodiment of the present invention, have at least the following technical effects or advantages:
Using technical scheme provided in an embodiment of the present invention, electronic equipment can more accurately determine infrared close event Or infrared remote event, infrared erroneous judgement is avoided, so as to improve the technique effect of the precision of infrared detection.
Brief description of the drawings
Fig. 1 is the flow chart of the management method of infrared detection provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram of electronic equipment provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of computer installation provided in an embodiment of the present invention.
Embodiment
In order to solve the above-mentioned technical problem, the general thought of the technical scheme in the embodiment of the present invention is as follows:It is a kind of infrared The management method and electronic equipment of detection, the electronic equipment includes infrared sensor and light sensor, specifically, it is determined that institute State whether infrared sensor detects first message for characterizing infrared close event or infrared remote event;When to be, Judge the variable quantity for the light sensing value that the light sensor receives in preset time period whether in the first default light threshold In the range of value;If the variable quantity for the light sensing value that the light sensor receives in preset time period is in the first default light In threshold range, the first message that the infrared sensor is sent is received.Infrared mistake can be avoided by using the program Sentence, so as to improve the precision of infrared detection.
In order to be better understood from above-mentioned technical proposal, below in conjunction with Figure of description and specific embodiment to upper Technical scheme is stated to be described in detail.
In specific implementation process, the management method of the infrared detection can be applied to electronic equipment, in the embodiment of the present invention Mentioned electronic equipment includes but is not limited to:Smart mobile phone (such as Android phone, IOS mobile phones), tablet personal computer, notebook The electronic equipments such as computer, palm PC, wearable intelligent equipment.Can also be other electronic equipment, here, the citing that just differs .
As shown in figure 1, the embodiment of the present invention one provides a kind of management method of infrared detection, applied to electronic equipment, The electronic equipment includes infrared sensor and light sensor, and methods described includes:
S101, determines whether the infrared sensor is detected for characterizing infrared close event or infrared remote event First message;
S102, when to be, judge the change for the light sensing value that the light sensor receives in preset time period Whether amount is in the first default light threshold range;
S103, if the variable quantity for the light sensing value that the light sensor receives in preset time period is default first In light threshold range, the first message that the infrared sensor is sent is received.
For step S101, by taking mobile phone as an example, infrared sensor and light sensor, infrared sensor are installed on mobile phone Transmitting terminal launches the light of specific wavelength, and infrared sensor receiving terminal receives the light that external object reflects.
The light reflected by measuring the external object that infrared sensor receiving terminal receives number determine whether to block, The object distance mobile phone blocked is how far.
There is transmitting terminal to block what is reflected for the light of receiving terminal on mobile phone, also have sun natural light diffusing reflection etc. dry Disturb.For example mobile phone keeps flat desktop, the measured value of the light for the external object reflection that infrared sensor receiving terminal receives is 100, by Different in different manufacturers infrared principles mechanism, this 100 can be understood as 100 base units.This 100, commonly known as The infrared acquiescence bottom of model machine is made an uproar, and is interpreted as acquiescence interference.
When having the external object to block on mobile phone, external object receives closer to mobile phone, infrared sensor receiving terminal External object reflection light value it is bigger.This is specifically all relevant with structure, the ink light transmittance of infrared sensor etc..
Assuming that external object blocks from mobile phone and when from mobile phone 8cm, the external world that infrared sensor receiving terminal receives The measured value of light of object reflection is 350, blocks that the measured value is 550 in time from mobile phone 5cm;It is 650 when 4cm, What this data assumed that, but specific project is to measure.
General setting is blocked to be considered as blocking from mobile phone 4cm.That is that is when infrared survey value is more than 650 Wait, just produce interruption, infrared sensor has been reported close to action, it is determined that infrared sensor detects infrared close for characterizing Event first message.In close state, if it is slowly remote to block object, when more than 5cm, that is to say, that when infrared survey value Less than 550, interruption is just produced, has been reported away from action, it is determined that infrared sensor is detected for characterizing infrared remote event First message.
That is, the usually quiet amplification of mobile phone is generally 100, unexpected hand is close to mobile phone, after value increases above 650, just Report close, when value is reduced beyond 550, just report remote.550th, 650 it is the infrared remote threshold values generally said respectively, infrared leans on Nearly threshold value.These values are relevant with the infrared scheme of specific project, and the ink of infrared opening is saturating in the structure, touch-screen with infrared IC Light rate etc. has relation, and these data can test when detailed programs are debugged.It is exactly same project, different samples These data of machine are nor identical, because structure has tolerance between model machine, it is impossible to identical.
After execution of step S101, step S102 is continued executing with, step S102 is specific as follows:
Previous example is still continued to use, light sensor is specifically used for receiving ambient light, i.e. light sensor detection is from pre- If the lumen value of the ambient light received in the period, the light sensing value that light sensor receives in preset time period is judged Variable quantity whether in the first default light threshold range.
Assuming that external object blocks mobile phone and moves closer to mobile phone, infrared sensor is detected for characterizing infrared close thing The first message of part, blocked in external object from mobile phone and move closer to a preset time period of mobile phone (preset time period can To be designed according to actual condition) in, the lumen value for the ambient light that light sensor receives can be also gradually reduced, and calculate light The variable quantity for the light sensing value that line sensor receives in preset time period, such as light sensor is calculated in preset time period The variable quantity of the lumen value of the ambient light received.Judge the ambient light that light sensor receives in the preset time period Whether the variable quantity of lumen value is in the first default light threshold range.Assuming that the first default light threshold range is that lumen value becomes The threshold range for the amount of changing is [380-420], and the first default light threshold range can be set according to being actually needed.
Block from mobile phone assuming that setting external object and be gradually distance from mobile phone, infrared sensor detects infrared remote for characterizing From the first message of event, block mobile phone in external object and be gradually distance from a preset time period of mobile phone, light sensor The lumen value of the ambient light received can gradually increase, and calculate the light sensing value that light sensor receives in preset time period Variable quantity, such as calculate the variable quantity for the lumen value of ambient light that light sensor receives in preset time period.Judge light Whether the variable quantity of the lumen value for the ambient light that line sensor receives in the preset time period is in the first default light threshold value In the range of.
After execution of step S102, step S103 is continued executing with, it is specific as follows:
Still continue to use previous example, it is assumed that external object blocks from mobile phone and moves closer to mobile phone, and light sensor is default The variable quantity of the lumen value of the ambient light received in period is 400 (lumen value is gradually reduced), then the variable quantity is first In default light threshold range [380-420], illustrate to have really that the external object of shading is close, then receive infrared sensor transmission Sign the first message of infrared close event occurs.
Assuming that external object blocks from mobile phone and is gradually distance from mobile phone, what light sensor received in preset time period The variable quantity of the lumen value of ambient light is 400 (lumen value gradually increases), then the variable quantity is in the first default light threshold range In [380-420], illustrate to have really that the external object of shading is remote, then receive the sign that infrared sensor is sent occur it is infrared far From the first message of event.
In addition, after execution of step S102, if the light sensing that light sensor receives in preset time period The variable quantity of value in the first default light threshold range, does not then illustrate the infrared close event or red that infrared sensor detects Outer remote event is erroneous judgement.Due to producing erroneous judgement, then need to be adjusted infrared close threshold value and infrared remote threshold value, specifically It is as follows:
If the variable quantity for the light sensing value that light sensor receives in preset time period is not in the first default light threshold In the range of value, the infrared close threshold value of the electronic equipment and infrared remote threshold value are adjusted.
The adjustment is specific as follows:
If it is pre- that the variable quantity for the light sensing value that the light sensor receives in preset time period is less than described first If the minimum value in light threshold range, obtain infrared sensor acquiescence bottom and make an uproar value;
Made an uproar value based on the acquiescence bottom, increase the infrared close threshold value of the electronic equipment and infrared remote threshold value.
If it is pre- that the variable quantity for the light sensing value that the light sensor receives in preset time period is more than described first If the maximum in light threshold range, obtain infrared sensor acquiescence bottom and make an uproar value;
Made an uproar value based on the acquiescence bottom, reduce the infrared close threshold value of the electronic equipment and infrared remote threshold value.
Previous example is still continued to use, infrared sensor detects infrared close event in external object close to mobile phone to 8cm, this When the measured value of light of external object reflection that receives of infrared sensor receiving terminal be 350, illustrate that infrared close threshold value is 350, now light sensation variable quantity be assumed to be 100, in the first default light threshold range [380-420], and pre- less than first If the minimum value 380 in light threshold range, illustrate that infrared sensor detects infrared close event as erroneous judgement in 8cm, it is infrared Need to tune up close to threshold value, then made an uproar the infrared close threshold value of value increase according to foregoing infrared sensor acquiescence bottom.Such as wish red Outer sensor reports infrared close event when external object is close to mobile phone 4cm, then is made an uproar value according to acquiescence bottom, increase the electricity The infrared close threshold value and infrared remote threshold value of sub- equipment.Such as acquiescence bottom make an uproar value be 100, infrared close threshold value is increased to 350+300 is 650, and infrared close threshold value is increased into 350+200 for 550.
In some cases, such as when the factory calibration of mobile phone and/or debugging, it is outer if infrared close threshold value is very big Boundary's object distance mobile phone is close or even when external object will be bonded with mobile phone, and infrared sensor just detects infrared close thing Part, this illustrates that infrared close threshold value is excessive, it is necessary to turn down.Assuming that infrared sensor detects in external object close to mobile phone to 2cm To infrared close event, the measured value of the light for the external object reflection that now infrared sensor receiving terminal receives is 750, explanation Infrared close threshold value is 750, and now light sensation variable quantity is assumed to be 600, not in the first default light threshold range [380-420] It is interior, and more than the maximum 420 in the first default light threshold range, it is infrared close to illustrate that infrared sensor detects in 2cm Event is erroneous judgement, and infrared close threshold value needs to reduce, then infrared close according to the value reduction of making an uproar of foregoing infrared sensor acquiescence bottom Threshold value.Such as wish that infrared sensor when external object is close to mobile phone 4cm, reports infrared close event, then according to acquiescence bottom Make an uproar value, reduce the infrared close threshold value of the electronic equipment and infrared remote threshold value.Such as acquiescence bottom make an uproar value be 100, will be infrared It is 650 to increase to 750-100 close to threshold value, and infrared close threshold value is increased into 750-200 for 550.
In addition, in the electronic device, if directly reported by primary processor to handle light sensor and infrared sensor Data, so in infrared close the event for producing erroneous judgement, (such as original external object is without close mobile phone, but infrared sensor Think have, or external object is close close to mobile phone, but infrared sensor thinks no object close to mobile phone) or judge by accident red It is outer that away from event, (such as original external object is without away from mobile phone, but infrared sensor thinks have, or external object is remote Mobile phone is far, but infrared sensor thinks no object away from mobile phone) when, primary processor is also required to carry out at a series of data Reason, which increase the processing pressure of primary processor, therefore, in the method, coordinates logarithm using coprocessor and primary processor It is specific as follows according to being handled:
The electronic equipment also includes coprocessor and primary processor;
Determine whether the infrared sensor is detected for characterizing infrared close event or red using the coprocessor The outer first message away from event;
When to be, the light sensing value that the light sensor receives in preset time period is judged using coprocessor Variable quantity whether in the first default light threshold range;
If the variable quantity for the light sensing value that the light sensor receives in preset time period is in the first default light In threshold range, the primary processor is waken up using the coprocessor;
The primary processor receives the first message that the infrared sensor is sent.
The pressure of master processor processes data is so greatly reduced, also reduces in electronic equipment and entirely handles The power consumption of system.Coprocessor is, for example, a MCU in mobile phone, and the dominant frequency of the MCU does not have the dominant frequency of primary processor high, is somebody's turn to do MCU can carry out calculation process.Light sensor and infrared sensor are connected on coprocessor, coprocessor handles these numbers According to if erroneous judgement, coprocessor can not wake up main control processor, directly recalibrate infrared.Do not wake up master control, system work( Consumption is just than relatively low.
As shown in Fig. 2 the embodiment of the present invention two provides a kind of electronic equipment, the electronic equipment includes infrared sensor And light sensor, the electronic equipment also include:
Determining module 201, for determining whether the infrared sensor is detected for characterizing infrared close event or red The outer first message away from event;
Judge module 202, the light sense received for when to be, judging the light sensor in preset time period Whether the variable quantity of measured value is in the first default light threshold range;
Receiving module 203, if the change of the light sensing value received for the light sensor in preset time period Amount receives the first message that the infrared sensor is sent in the first default light threshold range.
Further, by taking mobile phone as an example, infrared sensor and light sensor, infrared sensor transmitting are installed on mobile phone The light of end transmitting specific wavelength, infrared sensor receiving terminal receive the light that external object reflects.
The light reflected by measuring the external object that infrared sensor receiving terminal receives number determine whether to block, The object distance mobile phone blocked is how far.
There is transmitting terminal to block what is reflected for the light of receiving terminal on mobile phone, also have sun natural light diffusing reflection etc. dry Disturb.For example mobile phone keeps flat desktop, the measured value of the light for the external object reflection that infrared sensor receiving terminal receives is 100, by Different in different manufacturers infrared principles mechanism, this 100 can be understood as 100 base units.This 100, commonly known as The infrared acquiescence bottom of model machine is made an uproar, and is interpreted as acquiescence interference.
When having the external object to block on mobile phone, external object receives closer to mobile phone, infrared sensor receiving terminal External object reflection light value it is bigger.This is specifically all relevant with structure, the ink light transmittance of infrared sensor etc..
Assuming that external object blocks from mobile phone and when from mobile phone 8cm, the external world that infrared sensor receiving terminal receives The measured value of light of object reflection is 350, blocks that the measured value is 550 in time from mobile phone 5cm;It is 650 when 4cm, What this data assumed that, but specific project is to measure.
General setting is blocked to be considered as blocking from mobile phone 4cm.That is that is when infrared survey value is more than 650 Wait, just produce interruption, infrared sensor has been reported close to action, it is determined that module 201 determines that infrared sensor detects and is used for Characterize infrared close event first message.In close state, if it is slowly remote to block object, when more than 5cm, that is to say, that When infrared survey value is less than 550, just generation is interrupted, and has been reported away from action, it is determined that module 201 determines infrared sensor detection To for characterizing infrared remote event first message.
That is, the usually quiet amplification of mobile phone is generally 100, unexpected hand is close to mobile phone, after value increases above 650, just Report close, when value is reduced beyond 550, just report remote.550th, 650 it is the infrared remote threshold values generally said respectively, infrared leans on Nearly threshold value.These values are relevant with the infrared scheme of specific project, and the ink of infrared opening is saturating in the structure, touch-screen with infrared IC Light rate etc. has relation, and these data can test when detailed programs are debugged.It is exactly same project, different samples These data of machine are nor identical, because structure has tolerance between model machine, it is impossible to identical.
Determining module 201, for determining whether the infrared sensor is detected for characterizing infrared close event or red The outer first message away from event;
It is infrared close for characterizing for determining that infrared sensor detects in determining module 201 for judge module 202 During the first message of event or infrared remote event, the light sensing that the light sensor receives in preset time period is judged Whether the variable quantity of value is in the first default light threshold range.
Previous example is still continued to use, light sensor is specifically used for receiving ambient light, i.e. light sensor detection is from pre- If the lumen value of the ambient light received in the period, judge module 202 judge that light sensor receives in preset time period Light sensing value variable quantity whether in the first default light threshold range.
Assuming that external object blocks mobile phone and moves closer to mobile phone, infrared sensor is detected for characterizing infrared close thing The first message of part, blocked in external object from mobile phone and move closer to a preset time period of mobile phone (preset time period can To be designed according to actual condition) in, the lumen value for the ambient light that light sensor receives can be also gradually reduced, and calculate light The variable quantity for the light sensing value that line sensor receives in preset time period, such as light sensor is calculated in preset time period The variable quantity of the lumen value of the ambient light received.Judge the ambient light that light sensor receives in the preset time period Whether the variable quantity of lumen value is in the first default light threshold range.Assuming that the first default light threshold range is that lumen value becomes The threshold range for the amount of changing is [380-420], and the first default light threshold range can be set according to being actually needed.
Block from mobile phone assuming that setting external object and be gradually distance from mobile phone, infrared sensor detects infrared remote for characterizing From the first message of event, block mobile phone in external object and be gradually distance from a preset time period of mobile phone, light sensor The lumen value of the ambient light received can gradually increase, and calculate the light sensing value that light sensor receives in preset time period Variable quantity, such as calculate the variable quantity for the lumen value of ambient light that light sensor receives in preset time period.Judge mould Block 202 judges whether the variable quantity of the lumen value for the ambient light that light sensor receives in the preset time period is pre- first If in light threshold range.
For receiving module 203, if the light sensing value received for the light sensor in preset time period Variable quantity receives the first message that the infrared sensor is sent in the first default light threshold range.
Still continue to use previous example, it is assumed that external object blocks from mobile phone and moves closer to mobile phone, and light sensor is default The variable quantity of the lumen value of the ambient light received in period is 400 (lumen value is gradually reduced), then the variable quantity is first In default light threshold range [380-420], illustrate to have really that the external object of shading is close, then receive infrared sensor transmission Sign the first message of infrared close event occurs.
Assuming that external object blocks from mobile phone and is gradually distance from mobile phone, what light sensor received in preset time period The variable quantity of the lumen value of ambient light is 400 (lumen value gradually increases), then the variable quantity is in the first default light threshold range In [380-420], illustrate there is the table that the external object of shading is remote, then the reception of receiving module 203 infrared sensor is sent really The first message for raw infrared remote event of levying.
In addition, the electronic equipment also includes:
Adjusting module, for judging the change for the light sensing value that the light sensor receives in judge module 202 After whether amount is in the first default light threshold range, if the light sense that the light sensor receives in preset time period The variable quantity of measured value adjusts infrared close the threshold value of the electronic equipment and infrared far not in the first default light threshold range From threshold value.
Further, the adjusting module includes:
First obtains submodule, if the change of the light sensing value received for the light sensor in preset time period Change amount is less than the minimum value in the described first default light threshold range, obtains the infrared sensor acquiescence bottom and makes an uproar value;First Submodule is adjusted, for being made an uproar value based on the acquiescence bottom, increases the infrared close threshold value of the electronic equipment and infrared remote threshold Value.
Second obtains submodule, if the change of the light sensing value received for the light sensor in preset time period Change amount is more than the maximum in the described first default light threshold range, obtains the infrared sensor acquiescence bottom and makes an uproar value;Second Submodule is adjusted, for being made an uproar value based on the acquiescence bottom, reduces the infrared close threshold value of the electronic equipment and infrared remote threshold Value.
Previous example is still continued to use, infrared sensor detects infrared close event in external object close to mobile phone to 8cm, this When the measured value of light of external object reflection that receives of infrared sensor receiving terminal be 350, illustrate that infrared close threshold value is 350, now light sensation variable quantity be assumed to be 100, in the first default light threshold range [380-420], and pre- less than first If the minimum value 380 in light threshold range, illustrate that infrared sensor detects infrared close event as erroneous judgement in 8cm, it is infrared Need to tune up close to threshold value, then the infrared sensor acquiescence bottom obtained according to foregoing first acquisition submodule make an uproar value increase it is infrared Close to threshold value.Such as wish that infrared sensor when external object is close to mobile phone 4cm, reports infrared close event, then according to silent Recognize bottom to make an uproar value, the first adjustment submodule increases the infrared close threshold value of the electronic equipment and infrared remote threshold value.Such as give tacit consent to Value is made an uproar as 100 in bottom, and it is 650 that infrared close threshold value is increased into 350+300, and infrared close threshold value is increased into 350+200 is 550。
In some cases, such as when the factory calibration of mobile phone and/or debugging, it is outer if infrared close threshold value is very big Boundary's object distance mobile phone is close or even when external object will be bonded with mobile phone, and infrared sensor just detects infrared close thing Part, this illustrates that infrared close threshold value is excessive, it is necessary to turn down.Assuming that infrared sensor detects in external object close to mobile phone to 2cm To infrared close event, the measured value of the light for the external object reflection that now infrared sensor receiving terminal receives is 750, explanation Infrared close threshold value is 750, and now light sensation variable quantity is assumed to be 600, not in the first default light threshold range [380-420] It is interior, and more than the maximum 420 in the first default light threshold range, it is infrared close to illustrate that infrared sensor detects in 2cm Event is erroneous judgement, and infrared close threshold value needs to reduce, then the infrared sensor obtained according to the second foregoing acquisition submodule is write from memory Recognize bottom value of making an uproar and reduce infrared close threshold value.Such as wish that infrared sensor when external object is close to mobile phone 4cm, reports infrared lean on Nearly event, then made an uproar value according to acquiescence bottom, the second adjustment submodule reduces the infrared close threshold value of the electronic equipment and infrared far From threshold value.Such as value is made an uproar as 100 in acquiescence bottom, it is 650 that infrared close threshold value is increased into 750-100, by infrared close threshold value increasing It is 550 greatly to 750-200.
In addition, in the electronic device, if directly reported by primary processor to handle light sensor and infrared sensor Data, so in infrared close the event for producing erroneous judgement, (such as original external object is without close mobile phone, but infrared sensor Think have, or external object is close close to mobile phone, but infrared sensor thinks no object close to mobile phone) or judge by accident red It is outer that away from event, (such as original external object is without away from mobile phone, but infrared sensor thinks have, or external object is remote Mobile phone is far, but infrared sensor thinks no object away from mobile phone) when, primary processor is also required to carry out at a series of data Reason, which increase the processing pressure of primary processor, therefore, in the method, coordinates logarithm using coprocessor and primary processor It is specific as follows according to being handled:
Receiving module 203 specifically includes:
Submodule is waken up, if the variable quantity of the light sensing value received for the light sensor in preset time period In the first default light threshold range, receiving submodule is waken up;
Receiving submodule, the first message sent for receiving the infrared sensor;
The electronic equipment also includes coprocessor and primary processor;
Determine whether the infrared sensor is detected for characterizing infrared close event or red using the coprocessor The outer first message away from event;
When to be, the light sensing value that the light sensor receives in preset time period is judged using coprocessor Variable quantity whether in the first default light threshold range;
If the variable quantity for the light sensing value that the light sensor receives in preset time period is in the first default light In threshold range, the primary processor is waken up using the coprocessor;
The primary processor receives the first message that the infrared sensor is sent.
The pressure of master processor processes data is so greatly reduced, also reduces in electronic equipment and entirely handles The power consumption of system.Coprocessor is, for example, a MCU in mobile phone, and the dominant frequency of the MCU does not have the dominant frequency of primary processor high, is somebody's turn to do MCU can carry out calculation process.Light sensor and infrared sensor are connected on coprocessor, coprocessor handles these numbers According to if erroneous judgement, coprocessor can not wake up main control processor, directly recalibrate infrared.Do not wake up master control, system work( Consumption is just than relatively low.
As shown in figure 3, the embodiment of the present invention three provides a kind of computer installation, the computer installation bag of the embodiment Include:Processor 301, memory 302 and it is stored in the computer journey that can be run in the memory and on the processor Program corresponding to the management method of infrared detection in sequence, such as embodiment one.Described in the computing device during computer program Realize the step in the management method of each infrared detection in above-described embodiment one, such as step S101~S103 shown in Fig. 1.Or Person, the work(of each module in the electronic equipment embodiment of above-described embodiment two is realized described in the computing device during computer program Can, such as determining module 201, judge module 202, the function of receiving module 203 shown in Fig. 2.Exemplary, the computer Program can be divided into one or more module/units, and one or more of module/units are stored in the storage In device, and by the computing device, to complete the present invention.One or more of module/units can complete spy Determine the series of computation machine programmed instruction section of function, the instruction segment is used to describe the computer program in the computer installation In implementation procedure.For example, the computer program can be divided into determining module, judge module, the function of receiving module, Each module concrete function is as follows:
Determining module, for determining whether the infrared sensor is detected for characterizing infrared close event or infrared remote From the first message of event;
Judge module, the light sensing received for when to be, judging the light sensor in preset time period Whether the variable quantity of value is in the first default light threshold range;
Receiving module, if the variable quantity of the light sensing value received for the light sensor in preset time period exists In first default light threshold range, the first message that the infrared sensor is sent is received.
The computer installation can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set It is standby.The computer installation may include, but be not limited only to, processor, memory.It is it will be understood by those skilled in the art that described Schematic diagram 3 be only computer installation example, do not form the restriction to computer installation, can include than illustrate it is more or Less part, some parts or different parts are either combined, such as the computer installation can also be defeated including inputting Go out equipment, network access equipment, bus etc..
Alleged processor 301 can be CPU (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng the processor is the control centre of the computer installation, utilizes various interfaces and the whole computer installation of connection Various pieces.
The memory 302 can be used for storing the computer program and/or module, and the processor is by running or holding Row is stored in computer program and/or module in the memory, and calls the data being stored in memory, realizes institute State the various functions of computer installation.The memory can mainly include storing program area and storage data field, wherein, store journey Sequence area can storage program area, application program (such as sound-playing function, image player function needed at least one function Deng) etc.;Storage data field can store uses created data (such as voice data, phone directory etc.) etc. according to mobile phone.This Outside, memory can include high-speed random access memory, can also include nonvolatile memory, such as hard disk, internal memory, insert Connect formula hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash memory Block (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
The embodiment of the present invention four provides a kind of computer-readable recording medium, is stored thereon with computer program, this hair If the integrated module of the electronic equipment in bright embodiment two is realized in the form of SFU software functional unit and as independent Production marketing in use, can be stored in a computer read/write memory medium.It is real based on such understanding, the present invention All or part of flow in the management method of infrared detection described in existing above-described embodiment one, can also pass through computer journey Sequence instructs the hardware of correlation to complete, and described computer program can be stored in a computer-readable recording medium, the meter Calculation machine program when being executed by processor, can be achieved above-mentioned each embodiment of the method the step of.
Wherein, the computer program includes computer program code, and the computer program code can be source code Form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium can include:Can Carry any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, the computer of the computer program code Memory, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer-readable medium Comprising content appropriate increase and decrease can be carried out according to legislation in jurisdiction and the requirement of patent practice, such as in some departments Method administrative area, electric carrier signal and telecommunication signal are not included according to legislation and patent practice, computer-readable medium.
Technical scheme in the embodiments of the present invention, at least has the following technical effect that or advantage:
Using technical scheme provided in an embodiment of the present invention, electronic equipment can more accurately determine infrared close event Or infrared remote event, infrared erroneous judgement is avoided, so as to improve the technique effect of the precision of infrared detection.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (10)

1. a kind of management method of infrared detection, applied to electronic equipment, the electronic equipment includes infrared sensor and light Sensor, it is characterised in that methods described includes:
Determine whether the infrared sensor detects the first message for characterizing infrared close event or infrared remote event;
When to be, judge the variable quantity for the light sensing value that the light sensor receives in preset time period whether In one default light threshold range;
If the variable quantity for the light sensing value that the light sensor receives in preset time period is in the first default light threshold value In the range of, receive the first message that the infrared sensor is sent.
2. the method as described in claim 1, it is characterised in that in the light sensing value for judging that the light sensor receives Variable quantity whether in the first default light threshold range after, methods described also includes:
If the variable quantity for the light sensing value that the light sensor receives in preset time period is not in the first default light threshold In the range of value, the infrared close threshold value of the electronic equipment and infrared remote threshold value are adjusted.
3. method as claimed in claim 2, it is characterised in that if the light sensor receives in preset time period Light sensing value variable quantity not in the first default light threshold range, adjust the infrared close threshold value of the electronic equipment With infrared remote threshold value, including:
If the variable quantity for the light sensing value that the light sensor receives in preset time period is less than the described first default light Minimum value in line threshold range, obtain infrared sensor acquiescence bottom and make an uproar value;
Made an uproar value based on the acquiescence bottom, increase the infrared close threshold value of the electronic equipment and infrared remote threshold value.
4. the method as described in claim 1, it is characterised in that the electronic equipment also includes coprocessor and primary processor:
Determine whether the infrared sensor is detected for characterizing infrared close event or infrared remote using the coprocessor From the first message of event;
When to be, the change for the light sensing value that the light sensor receives in preset time period is judged using coprocessor Whether change amount is in the first default light threshold range;
If the variable quantity for the light sensing value that the light sensor receives in preset time period is in the first default light threshold value In the range of, wake up the primary processor using the coprocessor;
The primary processor receives the first message that the infrared sensor is sent.
5. a kind of electronic equipment, the electronic equipment includes infrared sensor and light sensor, it is characterised in that the electronics Equipment also includes:
Determining module, for determining whether the infrared sensor is detected for characterizing infrared close event or infrared remote thing The first message of part;
Judge module, the light sensing value received for when to be, judging the light sensor in preset time period Whether variable quantity is in the first default light threshold range;
Receiving module, if the variable quantity of the light sensing value received for the light sensor in preset time period is first In default light threshold range, the first message that the infrared sensor is sent is received.
6. electronic equipment as claimed in claim 5, it is characterised in that the electronic equipment also includes:
Adjusting module, for whether default first in the variable quantity for judging light sensing value that the light sensor receives After in light threshold range, if the variable quantity for the light sensing value that the light sensor receives in preset time period does not exist In first default light threshold range, the infrared close threshold value of the electronic equipment and infrared remote threshold value are adjusted.
7. electronic equipment as claimed in claim 6, it is characterised in that the adjusting module includes:
First obtains submodule, if the variable quantity of the light sensing value received for the light sensor in preset time period Less than the minimum value in the described first default light threshold range, obtain the infrared sensor acquiescence bottom and make an uproar value;
First adjustment submodule, for being made an uproar value based on the acquiescence bottom, increase the infrared close threshold value of the electronic equipment and red Outer remote threshold value.
8. electronic equipment as claimed in claim 6, it is characterised in that the receiving module includes:
Submodule is waken up, if the variable quantity of the light sensing value received for the light sensor in preset time period is the In one default light threshold range, receiving submodule is waken up;
The receiving submodule, the first message sent for receiving the infrared sensor;
The electronic equipment also includes coprocessor and primary processor, and the coprocessor includes the determining module, described sentenced Disconnected module and the wake-up submodule;The primary processor includes the receiving submodule;
Determine whether the infrared sensor is detected for characterizing infrared close event or infrared remote using the coprocessor From the first message of event;
When to be, the change for the light sensing value that the light sensor receives in preset time period is judged using coprocessor Whether change amount is in the first default light threshold range;
If the variable quantity for the light sensing value that the light sensor receives in preset time period is in the first default light threshold value In the range of, wake up the primary processor using the coprocessor so that the primary processor receives the infrared sensor hair The first message sent.
9. a kind of computer installation, it is characterised in that described device includes processor, and the processor is used to perform in memory Realized during the computer program of storage as any one of claim 1-4 the step of method.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that:The computer program Realized when being executed by processor as any one of claim 1-4 the step of method.
CN201711013510.2A 2017-10-26 2017-10-26 Infrared detection management method and electronic equipment Active CN107764406B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711013510.2A CN107764406B (en) 2017-10-26 2017-10-26 Infrared detection management method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711013510.2A CN107764406B (en) 2017-10-26 2017-10-26 Infrared detection management method and electronic equipment

Publications (2)

Publication Number Publication Date
CN107764406A true CN107764406A (en) 2018-03-06
CN107764406B CN107764406B (en) 2020-12-04

Family

ID=61270233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711013510.2A Active CN107764406B (en) 2017-10-26 2017-10-26 Infrared detection management method and electronic equipment

Country Status (1)

Country Link
CN (1) CN107764406B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110410923A (en) * 2019-07-22 2019-11-05 宁波奥克斯电气股份有限公司 A kind of progress control method of air conditioner, device and air conditioner
CN111722546A (en) * 2020-06-30 2020-09-29 广东美的厨房电器制造有限公司 Control method and control device of sensor and cooking equipment
CN113219435A (en) * 2020-02-05 2021-08-06 北京小米移动软件有限公司 Sensor module, control circuit, control method of control circuit and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665008A (en) * 2012-05-08 2012-09-12 广东欧珀移动通信有限公司 Detecting algorithm for infrared proximity sensor of touch screen mobile phone
CN102883061A (en) * 2012-09-26 2013-01-16 广东欧珀移动通信有限公司 Method and system for controlling working state of touch screen of mobile terminal
CN103885588A (en) * 2014-03-05 2014-06-25 小米科技有限责任公司 Automatic switchover method and device
CN104407399A (en) * 2014-12-02 2015-03-11 三星半导体(中国)研究开发有限公司 Method for calibrating proximity sensor in portable terminal
CN106443639A (en) * 2016-09-26 2017-02-22 深圳市金立通信设备有限公司 Distance calibration method and terminal
CN106686222A (en) * 2016-12-19 2017-05-17 广东欧珀移动通信有限公司 Ambient light sensor control method, ambient light sensor control device and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665008A (en) * 2012-05-08 2012-09-12 广东欧珀移动通信有限公司 Detecting algorithm for infrared proximity sensor of touch screen mobile phone
CN102883061A (en) * 2012-09-26 2013-01-16 广东欧珀移动通信有限公司 Method and system for controlling working state of touch screen of mobile terminal
CN103885588A (en) * 2014-03-05 2014-06-25 小米科技有限责任公司 Automatic switchover method and device
CN104407399A (en) * 2014-12-02 2015-03-11 三星半导体(中国)研究开发有限公司 Method for calibrating proximity sensor in portable terminal
CN106443639A (en) * 2016-09-26 2017-02-22 深圳市金立通信设备有限公司 Distance calibration method and terminal
CN106686222A (en) * 2016-12-19 2017-05-17 广东欧珀移动通信有限公司 Ambient light sensor control method, ambient light sensor control device and terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110410923A (en) * 2019-07-22 2019-11-05 宁波奥克斯电气股份有限公司 A kind of progress control method of air conditioner, device and air conditioner
CN113219435A (en) * 2020-02-05 2021-08-06 北京小米移动软件有限公司 Sensor module, control circuit, control method of control circuit and electronic equipment
CN113219435B (en) * 2020-02-05 2024-02-06 北京小米移动软件有限公司 Sensor module, control circuit, control method of control circuit and electronic equipment
CN111722546A (en) * 2020-06-30 2020-09-29 广东美的厨房电器制造有限公司 Control method and control device of sensor and cooking equipment

Also Published As

Publication number Publication date
CN107764406B (en) 2020-12-04

Similar Documents

Publication Publication Date Title
US10839239B2 (en) Electronic device and method for identifying falsification of biometric information
CN105593868B (en) Fingerprint identification method and device and mobile terminal
US10721589B2 (en) Mobile computing device and wearable computing device having automatic access mode control
US11893961B2 (en) Automatically adjusting screen brightness based on screen content
US9904409B2 (en) Touch input processing method that adjusts touch sensitivity based on the state of a touch object and electronic device for supporting the same
KR102321418B1 (en) Method for detecting swelling of battery using pressure sensor and electronic device using the same
EP3435199B1 (en) Method, mobile terminal and non-transitory computer-readable storage medium for adjusting scanning frequency of touch screen
CN112799728B (en) Terminal control method, terminal and computer readable medium
CN107219515A (en) The parameter calibrating method and terminal of a kind of range sensor
CN107463329B (en) Detection method, device, storage medium and the mobile terminal of blank screen gesture
EP3133473A1 (en) Method of sensing pressure by touch sensor and electronic device adapted thereto
CN107764406A (en) The management method and electronic equipment of a kind of infrared detection
KR20180025710A (en) Electronic device and method for recognizing grip state using the same
CN104636065A (en) Method and device for awakening terminal
CN105094616B (en) Touch screen control method and device
CN106156583A (en) A kind of method of speech unlocking and terminal
CN107580134B (en) Display method of mobile terminal and mobile terminal
CN107402625A (en) Touch screen scanning method, device, terminal and computer-readable recording medium
CN103152484A (en) Method and system for turning off alarm of mobile terminal
CN107526522B (en) Black screen gesture recognition method and device, mobile terminal and storage medium
CN111338508B (en) Touch screen point reporting method, terminal and storage medium
CN114444333B (en) Ecological water level analysis method and device, electronic equipment and storage medium
CN109510896B (en) Proximity sensor selection method and device, storage medium and electronic device
CN108968962B (en) Exhaled gas detection method and device, storage medium and terminal equipment
CN104516570B (en) Flip-type electronic device and calibration method thereof

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