CN106324193A - Control method and device for detecting air quality and mobile terminal - Google Patents

Control method and device for detecting air quality and mobile terminal Download PDF

Info

Publication number
CN106324193A
CN106324193A CN201610670253.9A CN201610670253A CN106324193A CN 106324193 A CN106324193 A CN 106324193A CN 201610670253 A CN201610670253 A CN 201610670253A CN 106324193 A CN106324193 A CN 106324193A
Authority
CN
China
Prior art keywords
terminal
air quality
light intensity
detection
intensity value
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
CN201610670253.9A
Other languages
Chinese (zh)
Other versions
CN106324193B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610670253.9A priority Critical patent/CN106324193B/en
Publication of CN106324193A publication Critical patent/CN106324193A/en
Application granted granted Critical
Publication of CN106324193B publication Critical patent/CN106324193B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/0004Gaseous mixtures, e.g. polluted air
    • G01N33/0009General constructional details of gas analysers, e.g. portable test equipment
    • G01N33/0073Control unit therefor

Abstract

The invention provides a control method and device for detecting air quality and a mobile terminal. The control method comprises the steps that the information of an environment where the terminal is located is obtained; whether the terminal is located in a non-detection area or not is judged according to the information of the environment; if the terminal is located in the non-detection area, detection of air quality is stopped. By means of the control method, detection of air quality can be stopped when the terminal is in the non-detection area, and it is avoided that the terminal wastes electricity to detect meaningless environment air quality.

Description

A kind of detect the control method of air quality, device and mobile terminal
Technical field
The present invention relates to Detection of Air Quality technical field, particularly relate to a kind of detect air quality control method, Device and mobile terminal.
Background technology
PM2.5 refers to the aerodynamic equivalent diameter particulate matter less than or equal to 2.5 microns in surrounding air.Due to PM2.5 has the features such as particle diameter is little, area big, activity is strong, easy incidentally poisonous and harmful substances, and human body is easily caused damage by it, It is detrimental to health.
Along with enriching constantly of mobile terminal function, and the attention rate of PM2.5 is gradually strengthened by people, has detection sky The mobile terminal of gas quality function gradually enters into the life of people.This mobile terminal can detect user and be currently located the sky in region Makings amount also informs user.But, when mobile terminal be placed into pocket or handbag etc. close in space time, its sky detected Makings amount is to close the air quality in space, and cannot accurately reflect user place external world regional air quality, now air The result of quality testing there is no the reference significance of reality.But the detection of the actual reference significance of this nothing can persistently consume mobile whole The electricity of end, causes the power consumption of mobile terminal to increase.
Summary of the invention
The present invention provides a kind of control method of air quality, device of detecting, and applies the mobile end of this control device End;The technology such as the power consumption brought to solve still to detect air quality in mobile terminal is in less container in prior art Problem.
The present invention provides a kind of control method detecting air quality, comprising:
Obtain terminal local environment information;
Judge whether described terminal is in non-detection region by described environmental information;And
If described terminal is in non-detection region, then stop detection air quality.
The present invention also provides for a kind of control device detecting air quality, comprising:
First acquiring unit, is used for obtaining terminal local environment information;
By described environmental information, judging unit, for judging whether described terminal is in non-detection region;And
Stop detection unit, if being in non-detection region for described terminal, then stops detection air quality.
The present invention provides again a kind of mobile terminal, the control of the detection air quality that this mobile terminal application present invention provides Device.
Compared with prior art, the present invention provides a kind of and detects the control method of air quality, device and mobile terminal.This According to this environmental information, the control method that invention provides, by obtaining terminal local environment information, and judges whether terminal is in Non-detection region, when terminal is in non-detection region, detects air quality by stopping.This control method can be in terminal During non-detection region, stop detection air quality, it is to avoid the terminal waste insignificant ambient air quality of electric power detection.
Accompanying drawing explanation
Fig. 1 is the flow chart that the present invention detects the first preferred embodiment of the control method of air quality.
Fig. 2 is the flow chart that the present invention detects the second preferred embodiment of the control method of air quality.
Fig. 3 is the flow chart that the present invention detects the third preferred embodiment of the control method of air quality.
Fig. 4 is the flow chart that the present invention detects the 4th preferred embodiment of the control method of air quality.
Fig. 5 is the structural representation controlling device that the present invention detects air quality.
Fig. 6 is the another kind of structural representation controlling device that the present invention detects air quality.
Fig. 7 is the structural representation of mobile terminal of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under not making creative work premise Example, broadly falls into the scope of protection of the invention.
Term " first " in the present invention, " second " and " the 3rd " etc. are for distinguishing different object rather than for retouching State particular order.Additionally, term " includes " and " having " and their any deformation, it is intended that cover non-exclusive comprising. Such as contain series of steps or the process of unit, method, system, product or equipment be not limited to the step listed or Unit, but the most also include step or the unit do not listed, or the most also include for these processes, method, product Product or intrinsic other step of equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments It is contained at least one embodiment of the present invention.It is identical that each position in the description occurs that this phrase might not each mean Embodiment, be not and the independent of other embodiments mutual exclusion or alternative embodiment.Those skilled in the art explicitly and Implicitly being understood by, embodiment described herein can combine with other embodiments.
The control method of the detection air quality of the present invention can be applicable to various electronic equipment and implements, this electronic equipment Include but not limited to personal computer, server computer, hand-held or laptop devices, mobile device (such as mobile phone, Personal digital assistant (PDA), media player etc.), multicomputer system, consumer electronic devices, minicomputer, large-scale Computer, include the distributed computing environment of above-mentioned any system or equipment, etc..
Embodiment one
Refer to the flow process of the first preferred embodiment of the control method of the detection air quality that Fig. 1, Fig. 1 are the present invention Figure.The control method of the detection air quality in this preferred embodiment includes:
Step S101: obtain terminal local environment information;
Step S102: judge whether described terminal is in non-detection region by described environmental information;And
Step S103: if described terminal is in non-detection region, then stop detection air quality.
The control method of this detection air quality is described in detail below with reference to Fig. 1.
In step S101, when, after terminal operating detection air quality function, terminal will detect residing ring about always The air quality in border, and this testing result is informed user with forms such as sound, display words.But when this terminal is put by user When putting in the narrowest and small container such as hand-strap, pocket, the result of now terminal detection air quality will not have reference price Value.It is thus desirable to carried out obtaining terminal local environment information before detection air quality, in order to this terminal of follow-up judgement is current The need of proceeding to detect air quality.At this it should be noted that acquisition terminal local environment information can be in terminal Obtain before detection air quality, it is also possible to obtain once at interval of certain time, be not particularly limited at this every time.
In step s 102, after getting terminal local environment information, will judge that terminal is current according to this environmental information Whether it is in non-detection region.In the preferred embodiment, non-detection region includes but not limited to handbag, pocket, sofa angle The narrow regions such as fall.The air quality result that these narrow regions are detected the most does not has reference value.
In step s 103, if step S102 judges that this terminal is in non-detection region, then illustrate now residing for terminal Region is not suitable for detecting air quality, or the result of detection air quality is without reference value etc., and now stopping is detected by terminal Air quality.If step S102 judges that this terminal is in detection zone territory, then illustrate that now region residing for terminal is suitable for detection sky Makings amount, then continuation is detected air quality by terminal.Meanwhile, after the Preset Time of interval, re-execute step S101, between i.e. obtaining Terminal local environment information after Preset Time.
The control method of the detection air quality that this preferred embodiment provides, by obtaining terminal local environment information, and Judge whether terminal is in non-detection region according to this environmental information, when terminal is in non-detection region, by stopping detection sky Makings amount.The method can stop detection sky when terminal is in the region that pocket, handbag etc. are not suitable for detection air quality Makings amount, it is to avoid the terminal waste insignificant air quality of electric power detection.
Embodiment two
Referring to Fig. 2, Fig. 2 is the flow chart that the present invention detects the second preferred embodiment of the control method of air quality. The control method of the detection air quality in this preferred embodiment includes:
Step S201: obtain the light intensity value of terminal local environment;
Step S202: judge that whether described light intensity value is less than presetting light intensity value;And
Step S203: if described light intensity value is less than presetting light intensity value, then stop detection air quality.
The control method of this detection air quality is described in detail below in conjunction with Fig. 2.
In step s 201, when, after terminal operating detection air quality function, terminal will detect residing ring about always The air quality in border, and this testing result is informed user with forms such as sound, display words.But when this terminal is put by user When putting in the narrowest and small container such as hand-strap, pocket, the result of now terminal detection air quality will not have reference price Value.It is thus desirable to carried out obtaining the light intensity value of terminal local environment before detection air quality, in order to this terminal of follow-up judgement Currently the need of proceeding to detect air quality.
At this it should be noted that obtain terminal local environment light intensity value can terminal detect every time air quality it Before obtain, it is also possible at interval of certain time obtain once, be not particularly limited at this.It addition, ring residing for acquisition terminal The light intensity value in border can be obtained by the optical sensor in terminal, naturally it is also possible to uses other devices or other materials or side Method obtains, and is not particularly limited at this.
In step S202, when, after the light intensity value getting terminal local environment, will determine that whether this light intensity value is less than pre- If light intensity value.In the preferred embodiment, when light intensity value is less than when presetting light intensity value, illustrate that this terminal is now in non-detection zone Territory.The most non-detection region includes but not limited to the narrow regions such as handbag, pocket, sofa corner.Such as, it is placed on when terminal Time in handbag, the light in handbag is the most weak, and the light intensity value of terminal detection will will be sentenced less than default light intensity value, i.e. terminal Fixed its is currently at the non-detection regions such as handbag.
In step S203, if step S202 judges that this light intensity value, less than when presetting light intensity value, i.e. judges that terminal is worked as Before be in non-detection region.Now stopping is detected air quality by terminal.If step S202 judges that this light intensity value is not less than pre- If light intensity value, i.e. judge that terminal is currently at detection region, illustrate that now region residing for terminal is suitable for detection air quality, eventually Hold and continuation is detected air quality.Meanwhile, after the Preset Time of interval, re-execute step S201, i.e. obtain interval Preset Time After the light intensity value of terminal local environment.
The control method of the detection air quality that this preferred embodiment provides, by obtaining the light intensity of terminal local environment Value, and judge that stopping, whether less than presetting light intensity value, when this light intensity value is less than when presetting light intensity value, is detected air by this light intensity value Quality.The method can when terminal is in non-detection region, stop detection air quality, it is to avoid terminal waste electric power detection without The air quality of meaning.
Embodiment three
Referring to Fig. 3, Fig. 3 is the flow chart that the present invention detects the third preferred embodiment of the control method of air quality. The control method of the detection air quality in this preferred embodiment includes:
Step S301: obtain the distance value between object in terminal and its local environment;
Step S302: judge that whether described distance value is less than predeterminable range value;And
Step S303: if described distance value is less than predeterminable range value, then stop detection air quality.
The control method of this detection air quality is described in detail below in conjunction with Fig. 3.
In step S301, when, after terminal operating detection air quality function, terminal will detect residing ring about always The air quality in border, and this testing result is informed user with forms such as sound, display words.But when this terminal is put by user When putting in the narrowest and small container such as hand-strap, pocket, the result of now terminal detection air quality will not have reference price Value.It is thus desirable to the distance value carried out obtaining before detection air quality in terminal and its local environment between object, in order to This terminal of follow-up judgement is currently the need of proceeding to detect air quality.
At this it should be noted that the distance value obtained in terminal and its local environment between object can be each in terminal Obtain before detection air quality, it is also possible to obtain once at interval of certain time, be not particularly limited at this.It addition, In acquisition terminal and its local environment, the distance value between object can be obtained by the range sensor in terminal, and distance passes Sensor includes but not limited to infrared distance sensor and ultrasonic distance sensor.Can certainly use other devices or its He obtains method, is not particularly limited at this.
In step s 302, when after the distance value got in terminal and its local environment between object, will determine that this away from Whether distance values is less than predeterminable range value.In the preferred embodiment, when this distance value is less than predeterminable range value, this terminal is described Being now in non-detection region, the most non-detection region includes but not limited to the narrow regions such as handbag, pocket, sofa corner. The air quality result that these narrow regions are detected the most does not has reference value.Such as, in terminal is placed on handbag Time, in handbag body or handbag, the distance between other object and terminals is smaller.Therefore terminal now obtains The distance value taken will by judgement, it be currently at non-detection region less than predeterminable range value, i.e. terminal.
In step S303, if step S302 judges this distance value less than predeterminable range value, i.e. terminal is currently at Non-detection region, now stopping is detected air quality by terminal.If step S302 judges that this distance value is not less than predeterminable range Value, illustrates that now region residing for terminal is suitable for detection air quality, i.e. present terminal and is in detection region, and terminal is by continuations detection Air quality.Meanwhile, interval Preset Time after, re-execute step S301, i.e. obtain interval Preset Time after terminal and its Distance value between object in local environment.
The control method of the detection air quality that this preferred embodiment provides, by obtaining terminal and thing in its local environment Distance value between body, and judge whether this distance value is less than predeterminable range value, when this distance value is less than predeterminable range value, will Stop detection air quality.The method can stop detection air quality when terminal is in non-detection region, it is to avoid terminal wave Take the insignificant ambient air quality of electric power detection.
Embodiment four
Referring to Fig. 4, Fig. 4 is the flow chart that the present invention detects the 4th preferred embodiment of the control method of air quality. The control method of the detection air quality in this preferred embodiment includes:
Step S401: obtain the distance value between object in terminal and its local environment;
Step S402: judge that whether described distance value is less than predeterminable range value;
Step S403: if described distance value is less than predeterminable range value, then obtain the light intensity value of terminal local environment;
Step S404: judge that whether described light intensity value is less than presetting light intensity value;
Step S405: if described light intensity value is less than presetting light intensity value, then stop detection air quality;And
Step S406: if described light intensity value is not less than presetting light intensity value, then continue detection air quality.
The control method of this detection air quality is described in detail below in conjunction with Fig. 4.
In step S401, when, after terminal operating detection air quality function, terminal will detect residing ring about always The air quality in border, and this testing result is informed user with forms such as sound, display words.But when this terminal is put by user When putting in the narrowest and small container such as hand-strap, pocket, the result of now terminal detection air quality will not have reference price Value.It is thus desirable to the distance value carried out obtaining before detection air quality in terminal and its local environment between object, in order to This terminal of follow-up judgement is currently the need of proceeding to detect air quality.
At this it should be noted that the distance value obtained in terminal and its local environment between object can be each in terminal Obtain before detection air quality, it is also possible to obtain once at interval of certain time, be not particularly limited at this.It addition, In acquisition terminal and its local environment, the distance value between object can be obtained by the range sensor in terminal, and distance passes Sensor includes but not limited to infrared distance sensor and ultrasonic distance sensor.Can certainly use other devices or its He obtains method, is not particularly limited at this.
In step S402, when after the distance value got in terminal and its local environment between object, will determine that this away from Whether distance values is less than predeterminable range value.In the preferred embodiment, when this distance value is less than predeterminable range value, this terminal is described Now being likely to be at non-detection region, the most non-detection region includes but not limited to the narrow and small districts such as handbag, pocket, sofa corner Territory.The air quality result that these narrow regions are detected the most does not has reference value.Such as, it is placed on handbag when terminal Time middle, in handbag body or handbag, the distance between other object and terminals is smaller, and therefore terminal is now The distance value obtained will be less than predeterminable range value.
In step S403, if step S402 judges this distance value less than predeterminable range value, now terminal will obtain The light intensity value of its local environment, in order to determine the most whether terminal is in non-detection region further.Wherein, terminal is obtained The light intensity value of local environment can be obtained by the optical sensor in terminal, naturally it is also possible to use other devices or other Material obtains, and is not particularly limited at this.
If step S402 judges that this distance value not less than predeterminable range value, illustrates that now region residing for terminal is suitable for detection Air quality, i.e. present terminal are in detection region, and continuation is detected air quality by terminal.Meanwhile, after the Preset Time of interval, weight New step S401 that performs, i.e. obtains the distance value between object in the terminal after the Preset Time of interval and its local environment.
In step s 404, when, after the light intensity value getting terminal local environment, will determine that whether this light intensity value is less than pre- If light intensity value.In the preferred embodiment, this light intensity value is gone out less than when presetting light intensity value when terminal judges, it is possible to determine this end End is now in non-detection region, i.e. judges whether terminal is in the condition in non-detection region as terminal in this preferred embodiment And the distance value between object is less than predeterminable range value in its environment, and the light intensity value of terminal local environment is less than presetting light intensity Value, in the case of meeting the two condition, terminal will determine that it is in non-detection region.
In step S405 and S406, if step S404 judges this light intensity value less than default light intensity value, i.e. terminal is worked as Before be in non-detection region.Now perform step S405, i.e. stop detection air quality.If step S404 judges this light intensity value Not less than presetting light intensity value, now by judgements, it is in detection region to terminal, illustrates that now to be suitable for detection empty in region residing for terminal Makings amount, terminal will perform step S406, i.e. continue detection air quality.
In the preferred embodiment, the sequencing of each step is not limited to the situation shown in Fig. 4, can basis Practical situations is adjusted.Such as, step S403 and step S404 can be placed on before step S401.Now, terminal Light intensity value is preset, if light intensity value is less than presetting light intensity value, then by first obtaining and judging whether the light intensity value of its local environment is less than Obtain the distance value between object in terminal and its local environment, and judge that whether this distance value is less than predeterminable range value.If should Distance value is less than predeterminable range value, then stop detection air quality.If this distance value is not less than predeterminable range value, then continue detection Air quality.Sequencing between each step will be specifically limited at this.
The control method of the detection air quality that this preferred embodiment provides, by obtaining terminal and thing in its local environment Distance value between body, and judge whether this distance value is less than predeterminable range value, when this distance value is less than predeterminable range value, will Obtain the light intensity value of terminal local environment, and judge that this light intensity value, whether less than presetting light intensity value, is preset if this light intensity value is less than Light intensity value, then stop detection air quality.By twice decision process, the method determines whether terminal is in non-detection region, It is greatly improved the accuracy rate judging that terminal is in non-detection region.Meanwhile, when judging that terminal is in non-detection region, inspection is stopped Survey air quality, it is to avoid the terminal waste insignificant ambient air quality of electric power detection.
Embodiment five
Referring to Fig. 5, Fig. 5 is the structural representation controlling device that the present invention detects air quality.This preferred embodiment In the control device of detection air quality include the first acquiring unit 501, judging unit 502 and stop detection unit 503.Its In, the first acquiring unit 501 is used for obtaining terminal local environment information.Judging unit 502 is for judging by this environmental information Whether terminal is in non-detection region.If stop detection unit 503 is in non-detection region for terminal, then stop detection air Quality.
The operation principle controlling device of this detection air quality is described in detail below in conjunction with Fig. 5.
When, after terminal operating detection air quality function, terminal will detect the air quality of local environment about always, And this testing result is informed user with forms such as sound, display words.But when this terminal is placed on hand-strap, clothing by user Time in the container that pocket etc. are the narrowest and small, the result of now terminal detection air quality will not have reference value.In order to improve inspection Surveying the effective percentage of air quality, before detection air quality, the first acquiring unit 501 first obtains terminal local environment information, So that this terminal of follow-up judgement is currently the need of proceeding to detect air quality.At this it should be noted that first obtains Unit 501 obtains terminal local environment information can obtain before terminal detects air quality every time, it is also possible to every Obtain once every certain time, be not particularly limited at this.
This environmental information got is passed to judging unit 502 by the first acquiring unit 501.Judging unit 502 is by root Judge the most whether terminal is in non-detection region according to this environmental information, wherein, non-detection region include but not limited to handbag, The narrow regions such as pocket, sofa corner.The air quality result that these narrow regions are detected the most does not has reference value.
When judging unit 502 judges that terminal is currently at non-detection region, it is judged that unit 502 will send the first signal To stop detection unit 503.After stop detection unit 503 receives this first signal, detection will be stopped according to this first signal Air quality.When judging unit 502 judges that terminal is currently at detection region, it is judged that unit 502 will send secondary signal Give and continue detector unit (not shown in Fig. 5).After continuation detector unit receives this signal, continuation is detected air quality.
The control device of the detection air quality that this preferred embodiment provides, is obtained residing for terminal by the first acquiring unit Environmental information, and judged whether terminal is in non-detection region by judging unit, if to judge that this terminal is in non-for judging unit During detection region, stopping is detected air quality by stop detection unit.This control device can be currently at non-detection in terminal During region, stop detection air quality, it is to avoid the terminal waste insignificant ambient air quality of electric power detection.
Embodiment six
Referring to Fig. 5, Fig. 5 is the structural representation controlling device that the present invention detects air quality.This preferred embodiment In the control device of detection air quality include the first acquiring unit 501, judging unit 502 and stop detection unit 503.Its In, the first acquiring unit 501 is for obtaining the light intensity value of terminal local environment.Judging unit 502 is used for judging described light intensity value Whether less than presetting light intensity value.If stop detection unit 503 less than presetting light intensity value, then stops detection sky for described light intensity value Makings amount.
The operation principle controlling device of this detection air quality is described in detail below in conjunction with Fig. 5.
When, after terminal operating detection air quality function, terminal will detect the air quality of local environment about always, And this testing result is informed user with forms such as sound, display words.But when this terminal is placed on hand-strap, clothing by user Time in the container that pocket etc. are the narrowest and small, the result of now terminal detection air quality will not have reference value.In order to improve inspection Surveying the effective percentage of air quality, before detection air quality, the first acquiring unit 501 first obtains the light intensity of terminal local environment Value, in order to this terminal of follow-up judgement is currently the need of proceeding to detect air quality.At this it should be noted that first obtains Take unit 501 to obtain before terminal detects air quality every time, it is also possible to obtain once at interval of certain time, It is not particularly limited at this.
The light intensity value got is passed to judging unit 502 by the first acquiring unit 501.Judging unit 502 will determine that this Whether light intensity value is less than presetting light intensity value.When this light intensity value is less than when presetting light intensity value, illustrate that this terminal is now in non-detection Region, wherein, non-detection region includes but not limited to the narrow regions such as handbag, pocket, sofa corner.When this light intensity value is the least When default light intensity value, illustrate that this terminal is now in detecting region, terminal can be detected and be presently in the air quality of environment.
When judging unit 502 judges that this light intensity value is less than when presetting light intensity value, it is judged that unit 502 will send the first signal To stop detection unit 503.After stop detection unit 503 receives this first signal, detection will be stopped according to this first signal Air quality.When judging unit 502 judges that this light intensity value is not less than when presetting light intensity value, it is judged that unit 502 will send second Signal is given and is continued detector unit (not shown in Fig. 5).After continuation detector unit receives this signal, continuation is detected air matter Amount.
The control device of the detection air quality that this preferred embodiment provides, is obtained residing for terminal by the first acquiring unit The light intensity value of environment, and judged whether this light intensity value is less than default light intensity value by judging unit, if light intensity value is less than presetting light intensity During value, stopping is detected air quality by stop detection unit.The light intensity value that this control device is currently at environment in terminal is less than When presetting light intensity value, stop detection air quality, it is to avoid the terminal waste insignificant air quality of electric power detection.
Embodiment seven
Referring to Fig. 5, Fig. 5 is the structural representation controlling device that the present invention detects air quality.This preferred embodiment In the control device of detection air quality include the first acquiring unit 501, judging unit 502 and stop detection unit 503.Its In, the first acquiring unit 501 is for obtaining in terminal and its local environment the distance value between object.Judging unit 502 is used for Judge that whether described distance value is less than predeterminable range value.If stop detection unit 503 is less than predeterminable range for described distance value Value, then stop detection air quality.
The operation principle controlling device of this detection air quality is described in detail below in conjunction with Fig. 5.
When, after terminal operating detection air quality function, terminal will detect the air quality of local environment about always, And this testing result is informed user with forms such as sound, display words.But when this terminal is placed on hand-strap, clothing by user Time in the container that pocket etc. are the narrowest and small, the result of now terminal detection air quality will not have reference value.In order to improve inspection Surveying the effective percentage of air quality, before detection air quality, the first acquiring unit 501 first obtains in terminal and its local environment Distance value between object, in order to this terminal of follow-up judgement is currently the need of proceeding to detect air quality.Need at this Illustrating, the first acquiring unit 501 can obtain before terminal detects air quality every time, it is also possible at interval of one Fix time and obtain once, be not particularly limited at this.
The distance value got is passed to judging unit 502 by the first acquiring unit 501.Judging unit 502 will determine that this Whether distance value is less than predeterminable range value.When this distance value is less than predeterminable range value, illustrate that this terminal is now in non-detection Region, wherein, non-detection region includes but not limited to the narrow regions such as handbag, pocket, sofa corner.When this distance value is the least When predeterminable range value, illustrate that this terminal is now in detecting region, terminal can be detected and be presently in the air quality of environment.
When judging unit 502 judges this distance value less than predeterminable range value, it is judged that unit 502 will send the first signal To stop detection unit 503.After stop detection unit 503 receives this first signal, detection will be stopped according to this first signal Air quality.When judging unit 502 judges this distance value not less than predeterminable range value, it is judged that unit 502 will send second Signal is given and is continued detector unit (not shown in Fig. 5).After continuation detector unit receives this signal, continuation is detected air matter Amount.
The control device of detection air quality that this preferred embodiment provides, by the first acquiring unit acquisition terminal and its Distance value between object in local environment, and by judging unit judge this distance value whether less than predeterminable range value, if distance When value is less than predeterminable range value, stopping is detected air quality by stop detection unit.This control device is at ring residing for terminal and its When distance value between the object of border is less than predeterminable range value, stop detection air quality, it is to avoid terminal waste electric power detection is not intended to The ambient air quality of justice.
Embodiment eight
Referring to Fig. 6, Fig. 6 is the another kind of structural representation controlling device that the present invention detects air quality.This is preferably The control device of the detection air quality in embodiment includes the first acquiring unit 601, judging unit 602, second acquisition unit 603, stop detection unit 604 and continuation detector unit 605.
Wherein, the first acquiring unit 601 is for obtaining in terminal and its local environment the distance value between object.Judge single Unit 602 is used for judging that whether described distance value is less than predeterminable range value.Second acquisition unit 603 is in stop detection unit Before 604 stop detection air quality, obtain the light intensity value of terminal local environment;Judge that whether described light intensity value is less than presetting light Intensity values.If stop detection unit 604 less than presetting light intensity value, then stops detection air quality for described light intensity value.Continue to sweep If retouching unit 605 for described light intensity value not less than presetting light intensity value, then continue detection air quality.
The operation principle that control device of this detection air quality is discussed in detail below in conjunction with Fig. 6.
When, after terminal operating detection air quality function, terminal will detect the air quality of local environment about always, And this testing result is informed user with forms such as sound, display words.But when this terminal is placed on hand-strap, clothing by user Time in the container that pocket etc. are the narrowest and small, the result of now terminal detection air quality will not have reference value.Therefore in detection Before air quality, the first acquiring unit 601 will obtain in terminal and its local environment the distance value between object, in order to follow-up Judge that this terminal is currently the need of proceeding to detect air quality.At this it should be noted that obtain terminal with its residing for In environment, the distance value between object can obtain before terminal detects air quality every time, it is also possible at interval of necessarily Time obtains once, is not particularly limited at this.It addition, the first acquiring unit 601 can include range sensor, by distance Sensor obtains the distance value in terminal and its local environment between object, naturally it is also possible to use other device to realize, Do not limit at this.
This distance value is transmitted to judging unit 602 by the first acquiring unit 601.Judging unit 602 will determine that this distance value Whether less than predeterminable range value.If judging unit 602 judges that this distance value is less than predeterminable range value, it is judged that unit 602 will be sent out Send the first signal to second acquisition unit 603.If judging unit 602 judges that this distance value is not less than predeterminable range value, it is judged that Unit 602 will send secondary signal to the first acquiring unit 601 so that the first acquiring unit 601 is after the Preset Time of interval, heavy Newly obtain the distance value between object in terminal and its local environment.
After second acquisition unit 603 gets the first signal, ring will be presently according to this first signal acquisition terminal The light intensity value in border, and judge that whether this light intensity value is less than presetting light intensity value.If second acquisition unit 603 judges that this light intensity value is little In default light intensity value, illustrating that terminal is currently at non-detection region, wherein, non-detection region includes but not limited to handbag, clothing The narrow regions such as pocket, sofa corner.Now second acquisition unit 603 will send the 3rd signal to stop detection unit 604 so that Stop detection unit 604 stops detection air quality according to the 3rd signal.If second acquisition unit 603 judges this light intensity value Not less than presetting light intensity value, illustrating that terminal is currently at detection region, now second acquisition unit 603 will be to continuing detector unit 605 send the 4th signal so that continue detector unit 605 and continue detection air quality according to the 4th signal.
In the preferred embodiment, the signal transitive relation between unit is not limited to the situation shown in Fig. 6.Example As, second acquisition unit 603 can be placed on before the first acquiring unit 601, i.e. second acquisition unit 603 first obtain terminal work as The light intensity value of front local environment, and judge that whether this light intensity value is less than presetting light intensity value.When second acquisition unit 603 judges this Light intensity value, less than when presetting light intensity value, sends the 5th signal to the first acquiring unit 601.First acquiring unit 601 will obtain eventually Distance value between object in end and its local environment, and this distance value is passed to judging unit 602.When judging unit 602 When judging this distance value less than predeterminable range value, send the 6th signal to stop detection unit 604 so that stop detection unit 604 stop detection air quality according to the 6th signal.When judging unit 602 judges that this distance value is not less than predeterminable range value Time, send the 7th signal to continuing detector unit 605 so that continue detector unit 605 and continue detection sky according to the 7th signal Makings amount.Sequencing between unit will be specifically limited at this.
The control device of detection air quality that this preferred embodiment provides, by the first acquiring unit acquisition terminal and its Distance value between object in local environment, and judged that this distance value, whether less than predeterminable range value, works as judgement by judging unit When unit judges goes out this distance value less than predeterminable range value, second acquisition unit will obtain the light intensity value of terminal local environment, and Judging whether this light intensity value is less than and preset light intensity value, if this light intensity value is less than presetting light intensity value, then stop detection unit will stopping Detection air quality.This device can be greatly improved the accuracy rate judging that terminal is in non-detection region.Meanwhile, terminal is being judged When being in non-detection region, stop detection air quality, it is to avoid the terminal waste insignificant ambient air quality of electric power detection.
Embodiment nine
Refer to the structural representation that Fig. 7, Fig. 7 are mobile terminal of the present invention.This mobile terminal 800 includes detecting air matter Control device 700, main control unit and the power subsystem (main control unit and power subsystem not shown in figure) of amount.Wherein, inspection The control device 700 surveying air quality includes the first acquiring unit 701, judging unit 702 and stop detection unit 703.
After user opens the detection air quality function of mobile terminal 800, main control unit will control power subsystem to The control device 700 of detection air quality provides voltage so that unit can run well.When mobile terminal 800 is in During detection air quality state, the first acquiring unit 701 is by this mobile terminal 800 local environment information of acquisition, and by this environment Information passes to judging unit 702.Distance between object during wherein environmental information includes mobile terminal 800 and its local environment Value and/or the light intensity value of mobile terminal 800 local environment.After judging unit 702 receives this environmental information, will be according to this environment Information judges whether mobile terminal 800 is in non-detection region.If judging unit 702 judges that mobile terminal 800 is in non-inspection Survey region, then judging unit 702 will send the first signal to stop detection unit 703 so that stop detection unit 703 is according to this First signal stops detection air quality.
In the 26S Proteasome Structure and Function controlling device 700 of the detection air quality in this preferred embodiment and preceding embodiment The control device of detection air quality is identical, owing to the most having been described in detail the control device of detection air quality Illustrate, for the terseness of description, will not be described in great detail at this.
Mobile terminal in this preferred embodiment, owing to it uses the control dress of detection air quality that the present invention provides Put so that when being in the non-detection regions such as handbag at mobile terminal, can stop detecting air quality, it is to avoid mobile terminal wave Take the insignificant ambient air quality of electric power detection, improve the Experience Degree of user.
Each functional unit in the embodiment of the present invention can be integrated in a processing module, it is also possible to is unit list Solely it is physically present, it is also possible to two or more unit are integrated in a module.Above-mentioned integrated module both can use The form of hardware realizes, it would however also be possible to employ the form of software function module realizes.If described integrated module is with software function The form of module realizes and as independent production marketing or when using, it is also possible to is stored in an embodied on computer readable storage and is situated between In matter.Storage medium mentioned above can be read only memory, disk or CD etc..Above-mentioned each device or system are permissible Perform the method in correlation method embodiment.
In sum, although the present invention is disclosed above with preferred embodiment, but above preferred embodiment and be not used to limit The present invention processed, those of ordinary skill in the art, without departing from the spirit and scope of the present invention, all can make various change and profit Decorations, therefore protection scope of the present invention defines in the range of standard with claim.

Claims (11)

1. the control method detecting air quality, it is characterised in that including:
Obtain terminal local environment information;
Judge whether described terminal is in non-detection region by described environmental information;And
If described terminal is in non-detection region, then stop detection air quality.
The control method of detection air quality the most according to claim 1, it is characterised in that ring residing for described acquisition terminal Environment information, specifically includes: obtain the distance value between object in terminal and its local environment;
Described judge whether described terminal is in non-detection region by described environmental information, specifically include: judge described distance Whether value is less than predeterminable range value;
If described terminal is in non-detection region, then stops detection air quality, specifically include: if described distance value is less than Predeterminable range value, the most described terminal is in non-detection region;When described terminal is in non-detection region, stop detection air matter Amount.
The control method of detection air quality the most according to claim 2, it is characterised in that stop detection air described Before quality, also include: obtain the light intensity value of terminal local environment;Judge that whether described light intensity value is less than presetting light intensity value;If Described light intensity value less than presetting light intensity value, then stops detection air quality.
The control method of detection air quality the most according to claim 3, it is characterised in that in the described light intensity of described judgement After whether value is less than presetting light intensity value, also include: if described light intensity value is not less than presetting light intensity value, then continue detection air matter Amount.
The control method of detection air quality the most according to claim 1, it is characterised in that ring residing for described acquisition terminal Environment information, specifically includes: obtain the light intensity value of terminal local environment;
Described judge whether described terminal is in non-detection region by described environmental information, specifically include: judge described light intensity Whether value is less than presetting light intensity value;
If described terminal is in non-detection region, then stops detection air quality, specifically include: if described light intensity value is less than Presetting light intensity value, the most described terminal is in non-detection region;When described terminal is in non-detection region, then stop detection air Quality.
6. the control device detecting air quality, it is characterised in that including:
First acquiring unit, is used for obtaining terminal local environment information;
By described environmental information, judging unit, for judging whether described terminal is in non-detection region;And
Stop detection unit, if being in non-detection region for described terminal, then stops detection air quality.
The control device of detection air quality the most according to claim 6, it is characterised in that described acquiring unit is specifically used In the distance value obtained in terminal and its local environment between object;
Described judging unit is specifically for judging that whether described distance value is less than predeterminable range value;
If described stop detection unit is specifically for described distance value less than predeterminable range value, the most described terminal is in non-detection zone Territory;When described terminal is in non-detection region, stop detection air quality.
The control device of detection air quality the most according to claim 7, it is characterised in that described device also includes second Acquiring unit, described second acquisition unit, before stopping detection air quality in described stop detection unit, obtains terminal The light intensity value of local environment;Judge that whether described light intensity value is less than presetting light intensity value;If described light intensity value is less than presetting light intensity value, Then stop detection unit stops detection air quality.
The control device of detection air quality the most according to claim 8, it is characterised in that described device also includes continuing Detector unit, described continuation detector unit is for judging described light intensity value not less than presetting light intensity at described second acquisition unit During value, continue detection air quality.
The control device of detection air quality the most according to claim 6, it is characterised in that described acquiring unit also has Body is for obtaining the light intensity value of terminal local environment;
Described judging unit is also particularly useful for judging that whether described light intensity value is less than presetting light intensity value;
If described stop detection unit is also particularly useful for described light intensity value less than presetting light intensity value, the most described terminal is in non-detection Region;When described terminal is in non-detection region, then stop detection air quality.
11. 1 kinds of mobile terminals, it is characterised in that described mobile terminal includes any one detection sky in claim 6 to 10 The control device of makings amount.
CN201610670253.9A 2016-08-15 2016-08-15 A kind of control method, device and mobile terminal for detecting air quality Expired - Fee Related CN106324193B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610670253.9A CN106324193B (en) 2016-08-15 2016-08-15 A kind of control method, device and mobile terminal for detecting air quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610670253.9A CN106324193B (en) 2016-08-15 2016-08-15 A kind of control method, device and mobile terminal for detecting air quality

Publications (2)

Publication Number Publication Date
CN106324193A true CN106324193A (en) 2017-01-11
CN106324193B CN106324193B (en) 2018-05-18

Family

ID=57740478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610670253.9A Expired - Fee Related CN106324193B (en) 2016-08-15 2016-08-15 A kind of control method, device and mobile terminal for detecting air quality

Country Status (1)

Country Link
CN (1) CN106324193B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107906665A (en) * 2017-10-02 2018-04-13 广东美的制冷设备有限公司 Control method, new wind turbine and the computer-readable recording medium of new wind turbine
CN108592954A (en) * 2018-04-26 2018-09-28 广东小天才科技有限公司 A kind of method, apparatus and intelligent wearable device of Detection of Air Quality

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090274963A1 (en) * 2008-05-01 2009-11-05 Canon Kabushiki Kaisha Measurement apparatus, measurement method, exposure apparatus, and device manufacturing method
CN201532374U (en) * 2009-11-20 2010-07-21 尹叶子 Household intelligent environment index visual monitoring system
CN105241030A (en) * 2015-11-05 2016-01-13 国网浙江建德市供电公司 Computer room environment control method and intelligent control system of computer room
CN105588790A (en) * 2014-10-24 2016-05-18 富泰华工业(深圳)有限公司 Air detection system and air detection method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090274963A1 (en) * 2008-05-01 2009-11-05 Canon Kabushiki Kaisha Measurement apparatus, measurement method, exposure apparatus, and device manufacturing method
CN201532374U (en) * 2009-11-20 2010-07-21 尹叶子 Household intelligent environment index visual monitoring system
CN105588790A (en) * 2014-10-24 2016-05-18 富泰华工业(深圳)有限公司 Air detection system and air detection method
CN105241030A (en) * 2015-11-05 2016-01-13 国网浙江建德市供电公司 Computer room environment control method and intelligent control system of computer room

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107906665A (en) * 2017-10-02 2018-04-13 广东美的制冷设备有限公司 Control method, new wind turbine and the computer-readable recording medium of new wind turbine
CN108592954A (en) * 2018-04-26 2018-09-28 广东小天才科技有限公司 A kind of method, apparatus and intelligent wearable device of Detection of Air Quality

Also Published As

Publication number Publication date
CN106324193B (en) 2018-05-18

Similar Documents

Publication Publication Date Title
CN102621966B (en) Dangerous chemical storage and transportation danger early warning and assessment device and pre-warning system
CN104654026B (en) Detection system and method in gas oil pipe leakage sound emission
CN103561171B (en) The conservation treatment method and system that a kind of mobile phone is overboard
CN102299948B (en) Wireless detection system and method of building structure relative storey displacement under vibration environment
CN104919397A (en) Use of emg for gesture recognition on surfaces
CN102840877A (en) A monitoring system and methods for monitoring machines with the same
CN106324193A (en) Control method and device for detecting air quality and mobile terminal
CN106231074A (en) A kind of method and device of Message Processing
CN108200293B (en) Terminal falling water protection method and device
CN106290731A (en) A kind of air quality information detection method and device
CN105843726A (en) Terminal protection method and apparatus
CN107797652B (en) Method, device and terminal for adjusting display effect
CN106911161A (en) Battery protection system and guard method
CN105069988A (en) Control method of gas alarming, and gas alarming device
CN108592954A (en) A kind of method, apparatus and intelligent wearable device of Detection of Air Quality
WO2011019820A4 (en) Graphical interface for analyte meter
CN105141836B (en) A kind of method and device for reducing terminal rotating camera false triggering
CN108007503A (en) One kind is based on the multi-functional detection display screen of metal-oxide-semiconductor
CN206836882U (en) Patch type detecting device for detecting arrhythmia by electrocardiosignal and grouping device thereof
Handayani et al. Alert, monitoring and tracking for electronic device prototype
TW201822454A (en) Dust detection system and method for solar cell panel capable of determining if dust affects power generation of solar cell panel and notifying user for cleaning
CN207379491U (en) A kind of large scale electrical power unit angle of inclination monitoring system of Multidimensional Awareness
UKADIKE Development of an IoT based Air Quality Monitoring System
Kumar et al. Smart Manhole Monitoring System
US20120025902A1 (en) Electronic device with power saving function and operating method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180518

CF01 Termination of patent right due to non-payment of annual fee