CN106248542A - A kind of detect the method for air quality, device and terminal - Google Patents

A kind of detect the method for air quality, device and terminal Download PDF

Info

Publication number
CN106248542A
CN106248542A CN201610677097.9A CN201610677097A CN106248542A CN 106248542 A CN106248542 A CN 106248542A CN 201610677097 A CN201610677097 A CN 201610677097A CN 106248542 A CN106248542 A CN 106248542A
Authority
CN
China
Prior art keywords
air quality
terminal
information
quality information
local environment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610677097.9A
Other languages
Chinese (zh)
Inventor
周意保
张海平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201610677097.9A priority Critical patent/CN106248542A/en
Publication of CN106248542A publication Critical patent/CN106248542A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N15/00Investigating characteristics of particles; Investigating permeability, pore-volume, or surface-area of porous materials
    • G01N15/06Investigating concentration of particle suspensions
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • G01N15/075

Abstract

Embodiments provide and a kind of detect the method for air quality, device and terminal, the method uses the environmental information obtaining terminal local environment, judge whether this terminal is in free environments according to this environmental information, if the determination result is YES, then obtain the air quality information of this terminal local environment, show corresponding information on the terminal according to this air quality information;The program is when judging that terminal is in free environments, obtain the air quality information of terminal local environment, and display reminding information on the terminal, terminal is only when being in free environments, obtain the air quality information of local environment, in terms of existing technologies, be no longer to go to detect air quality by fixing monitoring point, but the real-time air quality of terminal local environment can be detected, which thereby enhance the accuracy of detection air quality.

Description

A kind of detect the method for air quality, device and terminal
Technical field
The present invention relates to field of terminal technology, be specifically related to a kind of detect the method for air quality, device and terminal.
Background technology
In recent years, air pollution is the most serious.And fine particle (PM2.5) is maximum to harm in air pollutants One.PM2.5 is the content of the particle diameter particulate matter less than 2.5 microns in every cubic metres of air.In people's daily life Fine particle all can be produced during commercial production, motor vehicle exhaust emission etc..
Along with air quality is increasingly paid close attention to by people, the meteorological department in a lot of cities all can issue the air matter in this city Amount data.And the air quality data that official issues is the air quality monitoring point a small amount of based on city and draws, with each The actual state of user's local environment also differs.Thus, the air quality data causing user to get is inaccurate.
Summary of the invention
The embodiment of the present invention provides a kind of and detects the method for air quality, device and terminal, can improve detection air matter The accuracy of amount.
The embodiment of the present invention provides a kind of method detecting air quality, including:
Obtain the environmental information of terminal local environment;
Judge whether described terminal is in free environments according to described environmental information;
If the determination result is YES, then the air quality information of described terminal local environment is obtained;
In described terminal, corresponding information is shown according to described air quality information.
Accordingly, the embodiment of the present invention also provides for a kind of device detecting air quality, including:
First acquisition module, for obtaining the environmental information of terminal local environment;
According to described environmental information, judge module, for judging whether described terminal is in free environments;
Second acquisition module, for when described judge module is judged as YES, obtains the air of described terminal local environment Quality information;
Reminding module, for showing corresponding information according to described air quality information in described terminal.
Accordingly, the embodiment of the present invention also provides for a kind of terminal, including the device of above-mentioned detection air quality.
The embodiment of the present invention uses the environmental information obtaining terminal local environment;Judge that this terminal is according to this environmental information No it is in free environments;If the determination result is YES, then the air quality information of this terminal local environment is obtained;According to this air Quality information shows corresponding information on the terminal.The program, when judging that terminal is in free environments, obtains eventually The air quality information of end local environment, and display reminding information on the terminal.Terminal only when being in free environments, obtains Take the air quality information of local environment, in terms of existing technologies, be no longer to go to detect air by fixing monitoring point Quality, but the real-time air quality of terminal local environment can be detected, which thereby enhance the accuracy of detection air quality.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make Accompanying drawing be briefly described.It should be evident that the accompanying drawing in describing below is only some embodiments of the present invention, for From the point of view of those skilled in the art, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings Figure.
Fig. 1 is the schematic flow sheet of the method for the detection air quality that the embodiment of the present invention one provides.
Fig. 2 is the schematic flow sheet of the method for the detection air quality that the embodiment of the present invention two provides.
Fig. 3 is the structural representation of the device of the first detection air quality that the embodiment of the present invention three provides.
Fig. 4 is the structural representation of the device of the second detection air quality that the embodiment of the present invention three provides.
Fig. 5 is the structural representation of the device of the third detection air quality that the embodiment of the present invention three provides.
Fig. 6 is the structural representation of the first terminal that the embodiment of the present invention four provides.
Fig. 7 is the structural representation of the second terminal that the embodiment of the present invention four provides.
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 wholely.Obviously, described embodiment is only a part of embodiment of the present invention rather than whole embodiments.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 description and claims of this specification and above-mentioned accompanying drawing, " second ", " the 3rd " etc. (if present) is for distinguishing similar object, without being used for describing specific order or precedence.Should be appreciated that this The object that sample describes can exchange in the appropriate case.Additionally, term " includes " and " having " and their any deformation, meaning Figure is to cover non-exclusive comprising.Such as, contain the process of series of steps, method or contain a series of module or list The device of unit, terminal, system are not necessarily limited to those steps of clearly listing or module or unit, it is also possible to include the clearest The step listed or module or unit, it is also possible to include for intrinsic its of these processes, method, device, terminal or system Its step or module or unit.
The embodiment of the present invention provides a kind of method of air quality, device and terminal of detecting, and will carry out respectively in detail below Explanation.
Embodiment one
The angle of the device from detection air quality is described by the present embodiment, and this device specifically can be integrated in terminal In, this terminal can be the equipment such as smart mobile phone, panel computer.
A kind of method detecting air quality, including: obtain the environmental information of terminal local environment;According to this environmental information Judge whether this terminal is in free environments;If the determination result is YES, then the air quality letter of this terminal local environment is obtained Breath;Corresponding information is shown on the terminal according to this air quality information.
As it is shown in figure 1, the method for this detection air quality, idiographic flow may include that
S101, obtains the environmental information of terminal local environment.
Specifically, user is during using terminal, and terminal is likely to be in multiple different environment.Such as, terminal May be located in the hands of user, can be placed on desk, it is also possible to be placed in the pocket of user, it is also possible to be placed in knapsack In.When using terminal detection air quality, only in terminal is in user's hands, such free environments (air on desk Can be with the ambient condition of free flow) in time, the air quality information detected just has reference significance.Because only that be in out In wealthy environment, air can occur convection current, and the air quality parameters detected just can reflect real Air Quality.Ring Environment information can be the environmental light brightness of terminal local environment, it is also possible to be the distance between terminal and exterior object.Obtain eventually The environmental information of end local environment specifically may comprise steps of:
Obtain the ambient light intensity of terminal local environment.
In concrete application, when terminal is in free environments, the ambient light intensity of usual local environment is bigger.Such as, When terminal is in indoor or outdoor, the irradiation of daylight or indoor light can be received, the ambient light intensity ratio of local environment Bigger.The ambient light intensity of terminal local environment can be obtained by optical sensor.
The environmental information obtaining terminal local environment the most specifically may comprise steps of:
Obtain terminal and the distance between the object that this terminal is nearest.
In concrete application, the front of terminal is provided with range sensor (such as, infrared sensor).Pass through range sensor Detection terminal and the distance between the object that terminal is nearest.When terminal is in free environments, generally distance terminal front side Object distant.Such as, terminal is in user's hands, on desk time, detect between the object that distance terminal is nearest away from From distant.
According to this environmental information, S102, judges whether this terminal is in free environments.
Specifically, after getting the environmental information of terminal local environment, preset by judging whether this environmental information meets Condition judges whether terminal is in free environments.Free environments refers to that air can be with the ambient condition of free flow.According to This environmental information judges this terminal whether to be in free environments can to specifically include following steps:
Judge that whether this ambient light intensity is more than presetting ambient light intensity.
In concrete application, when the environmental information got in S101 is ambient light intensity, it is judged that this ambient light intensity is No more than presetting ambient light intensity.Default ambient light intensity is to prestore an environmental light intensity angle value in the terminal.Such as, Default ambient light intensity can be 100cd (candela).After getting ambient light intensity, call storage in the terminal this preset Ambient light intensity, compares the ambient light intensity got with default ambient light intensity, to judge that this ambient light intensity is No more than presetting ambient light intensity.
Judge this terminal whether to be in free environments according to this environmental information can also to specifically include following steps:
Judge that whether this distance is more than predeterminable range.
In concrete application, when the environmental information got in S101 be terminal and the exterior object nearest apart from this terminal it Between distance time, it is judged that whether this distance more than predeterminable range.Predeterminable range is to prestore a distance number in the terminal Value.Such as, predeterminable range can be 0.2m.After getting the distance between terminal and exterior object, call storage in the terminal This predeterminable range, the distance got is compared with predeterminable range, to judge that this distance is whether more than predeterminable range.
S103, if the determination result is YES, then obtains the air quality information of this terminal local environment.
In concrete application, terminal is provided with air mass sensor.When the judged result in S102 is that terminal is in out Time in wealthy environment, obtained the air quality information of terminal local environment by air mass sensor.This air quality information can To be the content (PM2.5) of fine particle in air.
Specifically, air mass sensor can include RF transmitter and infrared receiver.RF transmitter The infrared ray radiation dirt in air (containing the air of fine particle) launched, then arrives infrared receiver.Infrared receiver After device receives infrared ray, produce the corresponding signal of telecommunication.In air during the content difference of fine particle, infrared receiver receives The infra-red intensity arrived is the most different, and the signal of telecommunication of generation also differs.Terminal calculates corresponding fine particle according to this signal of telecommunication Concentration, i.e. PM2.5 numerical value.
Certain error can be there is in the data that air mass sensor detects.Therefore, the sky of this terminal local environment is obtained After gas quality information, it is also possible to comprise the following steps:
Obtain the offset of air quality information;
According to this this air quality information of offset correction, to obtain revised air quality information.
Specifically, offset can be concrete numerical value, it is also possible to be percentage ratio.Obtain the offset of air quality information Mode have multiple.Can be for the use set of time offset of terminal.Such as, after terminal uses 1 year, arranging offset is 2%;After terminal uses 2 years, arranging offset is 4%.Air mass sensor can be affected by temperature.Different temperature meetings The detection data of air mass sensor are caused error.Therefore, the offset obtaining air quality information can specifically include Following steps:
Obtain the temperature of terminal inner;
The offset of corresponding air quality information is obtained according to this temperature.
In concrete application, terminal is provided with temperature sensor.The temperature of terminal inner can be obtained by temperature sensor Degree.The corresponding relation between temperature and offset can be pre-set, and store this corresponding relation in the terminal, this corresponding relation It can be the mapping table between temperature and offset.Offset can be concrete numerical value, it is also possible to be percentage ratio.Such as, temperature Degree be offset when 30 ° be 1%, temperature be offset when 60 ° be 2%, temperature be offset when 90 ° be 3%.Obtain After the temperature of terminal inner, obtain the offset of corresponding air quality information with the corresponding relation preset according to this temperature.
Then this offset correction-air masss information is used, to obtain revised air quality information.The side revised Formula can be to increase this offset on the air quality information got.Such as, when terminal inner temperature is 60 °, get Air quality information be 100 (PM2.5 numerical value), then offset is 2%, increases this benefit on the air quality information got Repay value and can show that revised air quality information is 120.
S104, shows corresponding information on the terminal according to this air quality information.
Specifically, after getting the air quality information of terminal local environment, according to this air quality information in terminal Show corresponding information.If air quality information being corrected after step S103, then according to revised air matter Amount information shows corresponding information.For example, it is possible at the display screen display PM2.5 numerical value of terminal.Display reminding information Mode be not limited to the display screen display in terminal, it is also possible to show by other means.Such as, by the LED in terminal (light emitting diode) breath light carrys out display reminding information.
PM2.5 numerical value can be with direct reaction Air Quality.But, for a user, use PM2.5 numerical value to enter Row prompting is the most directly perceived.The information that user wants to know about is that " excellent ", " good ", " slight pollution ", " intermediate pollution " etc. are more straight The information seen.Therefore, show that corresponding information can specifically include on the terminal according to this air quality information following Step:
Determine that the dustiness residing for air quality is interval according to this air quality information;
Corresponding information is obtained according to this dustiness interval;
Show this information on the terminal.
Specifically, in advance air quality information (PM2.5 numerical value) can be divided into multiple dustiness interval.Such as, may be used Being divided into [0,35), [35,75), [75,115), [115,150) etc. multiple dustiness interval.Get air quality information After, determine that the dustiness residing for air quality is interval according to this air quality information.Such as, air quality information is 100, then may be used With determine dustiness interval residing for air quality for [75,115).Can pre-set between dustiness interval and information Corresponding relation.Such as, dustiness interval [0,35) corresponding information be " excellent ", [35,75) information of correspondence is " good ", [75,115) corresponding information be " slight pollution ", [115,150) information of correspondence is " intermediate pollution ". After determining the dustiness interval residing for air quality, according to the interval information corresponding with corresponding relation acquisition of this dustiness, Then in this information of display screen display of terminal.
In one embodiment, different colours can be lighted by the LED in terminal and carry out display reminding information.Such as, Pre-set dustiness interval [0,35) corresponding information is that LED green light flashes at a slow speed, [35,75) corresponding information For LED green light fast blink, [75,115) corresponding information is the flicker of LED orange lamp, [115,150) corresponding information For LED blinking red lamp.After determining the dustiness interval residing for air quality, it is right that and corresponding relation interval according to this dustiness obtains The LED information answered, then carrys out lightening LED lamp according to the LED lighting mode in this information.
When being embodied as, the present invention is not limited by the execution sequence of each described step, is not producing conflict In the case of, some step can also use other order carry out or carry out simultaneously.
From the foregoing, it will be observed that the method for the detection air quality of embodiment of the present invention offer, use and obtain terminal local environment Environmental information;Judge whether this terminal is in free environments according to this environmental information;If the determination result is YES, then this end is obtained The air quality information of end local environment;Corresponding information is shown on the terminal according to this air quality information.The party Case, when judging that terminal is in free environments, obtains the air quality information of terminal local environment, and shows on the terminal Information.Terminal, only when being in free environments, obtains the air quality information of local environment, relative to prior art Speech, is no longer to go to detect air quality by fixing monitoring point, but can detect the real-time empty makings of terminal local environment Amount, which thereby enhances the accuracy of detection air quality.
Embodiment two
According to the method for the detection air quality described by embodiment one, below citing is described in further detail.
In the present embodiment, specifically will be integrated in smart mobile phone with the method for detection air quality, with in smart mobile phone It is described in detail as a example by the method for detection air quality.
As in figure 2 it is shown, the method for detection air quality, idiographic flow can be such that
S201, obtains the ambient light intensity of smart mobile phone local environment.
In concrete application, smart mobile phone is integrated with optical sensor.By ring residing for light sensors smart mobile phone The ambient light in border, and produce the corresponding signal of telecommunication.This signal of telecommunication can be current signal, it is also possible to be voltage signal.Intelligence hands This signal of telecommunication is processed by machine, to obtain the ambient light intensity of local environment.
S202, it is judged that whether this ambient light intensity is more than presetting ambient light intensity.
Specifically, default ambient light intensity is the Optical power values being stored in advance in smart mobile phone.Such as, preset Ambient light intensity can be 100cd (candela).After getting ambient light intensity, call be stored in smart mobile phone this preset Ambient light intensity, compares the ambient light intensity got with default ambient light intensity, to judge that this ambient light intensity is No more than presetting ambient light intensity.
In certain embodiments, above-mentioned steps S201, S202 can also substitute by following steps:
Obtain smart mobile phone and the distance between the object that this smart mobile phone is nearest;
Judge that whether this distance is more than predeterminable range.
In concrete application, it is integrated with range sensor in the front (surface at display screen place) of smart mobile phone.This distance Sensor includes but not limited to infrared sensor, ultrasonic sensor, electrical capacitance proximity sensor.Smart mobile phone passes through Distance-sensing Device detects this smart mobile phone and the distance between the object that this smart mobile phone is nearest, and produces the corresponding signal of telecommunication.This electricity Signal can be current signal, it is also possible to be voltage signal.This signal of telecommunication is processed by smart mobile phone, to obtain this intelligence hands Machine and the distance between the object that this smart mobile phone is nearest.
Predeterminable range is the distance values being stored in advance in smart mobile phone.Such as, predeterminable range can be 0.2m. Smart mobile phone gets and after distance between the object that this smart mobile phone is nearest, call be stored in smart mobile phone should Predeterminable range, compares the distance got with this predeterminable range, to judge that whether this distance is more than predeterminable range.
S203, if the determination result is YES, then obtains the air quality information of this smart mobile phone local environment.
In concrete application, smart mobile phone is provided with air mass sensor.When the judged result in S202 is for being, logical Cross air mass sensor and obtain the air quality information of smart mobile phone local environment.This air quality information can be in air The content (PM2.5) of fine particle.
Specifically, air mass sensor can include RF transmitter and infrared receiver.RF transmitter The infrared ray radiation dirt in air (containing the air of fine particle) launched, then arrives infrared receiver.Infrared receiver After device receives infrared ray, produce the corresponding signal of telecommunication.In air during the content difference of fine particle, infrared receiver receives The infra-red intensity arrived is the most different, and the signal of telecommunication of generation also differs.Smart mobile phone calculates the thinnest according to this signal of telecommunication Grain substrate concentration, i.e. PM2.5 numerical value.
S204, obtains the temperature within this smart mobile phone.
In concrete application, smart mobile phone is provided with temperature sensor.Smart mobile phone can be obtained by temperature sensor Internal temperature.
S205, obtains the offset of corresponding air quality information according to this temperature.
Specifically, offset can be concrete numerical value, it is also possible to be percentage ratio.Temperature and offset can be pre-set Between corresponding relation, and in smart mobile phone, store this corresponding relation.This corresponding relation can be between temperature and offset Mapping table.Such as, temperature be offset when 30 ° be 1%, temperature be offset when 60 ° be 2%, when temperature is 90 ° Offset is 3%.After getting the temperature within smart mobile phone, obtain corresponding sky according to this temperature with the corresponding relation preset The offset of gas quality information.
S206, according to this this air quality information of offset correction, to obtain revised air quality information.
In concrete application, air mass sensor can be affected by temperature.Air quality can be sensed by different temperature The detection data of device cause error, accordingly, it would be desirable to the air quality information getting air mass sensor is modified.
After smart mobile phone gets offset, use this offset correction-air masss information, to obtain revised sky Gas quality information.The mode revised can be to increase this offset on the air quality information got.Such as, smart mobile phone When internal temperature is 60 °, the air quality information got is 100 (PM2.5 numerical value), then offset is 2%, get Increase this offset on air quality information and can show that revised air quality information is 120.
According to this revised air quality information, S207, determines that the dustiness residing for air quality is interval.
Specifically, in advance air quality information (PM2.5 numerical value) can be divided into multiple dustiness interval.Such as, may be used Being divided into [0,35), [35,75), [75,115), [115,150) etc. multiple dustiness interval.Get air quality information After, determine that the dustiness residing for air quality is interval according to this air quality information.Such as, the air quality information got is 100, then may determine that dustiness interval residing for air quality for [75,115).
S208, obtains corresponding information according to this dustiness interval.
Specifically, the corresponding relation between dustiness interval and information can be pre-set.Such as, dustiness is interval [0,35) corresponding information be " excellent ", [35,75) corresponding information is " good ", [75,115) information of correspondence For " slight pollution ", [115,150) corresponding information is " intermediate pollution ".
In one embodiment, different colours can be lighted by the LED on smart mobile phone and carry out display reminding information.Example As, pre-set dustiness interval [0,35) corresponding information is that LED green light flashes at a slow speed, [35,75) corresponding prompting Information is LED green light fast blink, [75,115) corresponding information is the flicker of LED orange lamp, [115,150) corresponding prompting Information is LED blinking red lamp.
After determining the dustiness interval residing for air quality, obtain corresponding proposing according to this dustiness is interval with corresponding relation Show information.
S209, shows this information on this smart mobile phone.
Specifically, after getting information, smart mobile phone shows this information.Such as, the prompting got When information is " slight pollution ", in this information of display screen display of smart mobile phone.The information got is LED orange During lamp flicker, with the orange LED lighted on smart mobile phone.
When being embodied as, the present invention is not limited by the execution sequence of each described step, is not producing conflict In the case of, some step can also use other order carry out or carry out simultaneously.
From the foregoing, it will be observed that the method for the detection air quality of embodiment of the present invention offer, use and obtain ring residing for smart mobile phone The ambient light intensity in border;Judge that whether this ambient light intensity is more than presetting ambient light intensity;If the determination result is YES, then obtaining should The air quality information of smart mobile phone local environment;Obtain the temperature within this smart mobile phone;Correspondence is obtained according to this temperature The offset of air quality information;According to this this air quality information of offset correction, to obtain revised air quality letter Breath;Determine that the dustiness residing for air quality is interval according to this revised air quality information;Obtain according to this dustiness interval Take the information of correspondence;This smart mobile phone shows this information.The program is at the environment of smart mobile phone local environment Light intensity, more than when presetting ambient light intensity, obtains the air quality information of smart mobile phone local environment, and according to smart mobile phone Internal temperature obtains offset, with this this air quality information of offset correction, interval according to the dustiness residing for air quality Obtain information, and on this smart mobile phone, show this information.Smart mobile phone is only strong more than presetting at ambient light intensity When spending, obtain the air quality information of local environment, and this air quality information is modified, relative to prior art Speech, is no longer to go to detect air quality by fixing monitoring point, but can detect the real-time empty of smart mobile phone local environment Makings amount, which thereby enhances the accuracy of detection air quality.
Embodiment three
In order to preferably implement above method, the embodiment of the present invention also provides for a kind of device detecting air quality, this dress Put can integrated in the terminal, this terminal can be the equipment such as smart mobile phone, panel computer.
As it is shown on figure 3, the device of detection air quality may include that the first acquisition module 301, judge module 302, second Acquisition module 303, reminding module 304, be described in detail below:
This first acquisition module 301, for obtaining the environmental information of terminal local environment;
According to this environmental information, this judge module 302, for judging whether this terminal is in free environments;
This second acquisition module 303, for when this judge module is judged as YES, obtains the air of this terminal local environment Quality information;
This reminding module 304, for showing corresponding information on the terminal according to this air quality information.
Preferably, as shown in Figure 4, the device of this detection air quality also includes: the 3rd acquisition module 305, correcting module 306, specific as follows:
3rd acquisition module 305, for obtaining the offset of air quality information;
This correcting module 306, for according to this this air quality information of offset correction, to obtain revised air matter Amount information;
This reminding module 304 specifically for:
Corresponding information is shown on the terminal according to this revised air quality information.
Preferably, the 3rd acquisition module 305 specifically for:
Obtain the temperature of this terminal inner;
The offset of corresponding air quality information is obtained according to this temperature.
Preferably, as it is shown in figure 5, this reminding module 304 comprises determining that submodule 3041, obtains submodule 3042, prompting Submodule 3043, specific as follows:
This determines submodule 3041, interval for determining the dustiness residing for air quality according to this air quality information;
This acquisition submodule 3042, for obtaining corresponding information according to this dustiness interval;
This prompting submodule 3043, for showing this information on the terminal.
When being embodied as, above modules can realize as independent entity, it is also possible to carries out combination in any, makees Realize for same or several entities.The embodiment of the method being embodied as can be found in above of above modules, at this not Repeat again.
From the foregoing, it will be observed that the device of the detection air quality of embodiment of the present invention offer, obtained by the first acquisition module 301 The environmental information of terminal local environment;According to this environmental information, judge module 302 judges whether this terminal is in free environments; Second acquisition module 303, when the judged result of this judge module 302 is for being, obtains the air quality letter of this terminal local environment Breath;Reminding module 304 shows corresponding information on the terminal according to this air quality information.The program is judging end When end is in free environments, obtain the air quality information of terminal local environment, and display reminding information on the terminal.Terminal Only when being in free environments, obtain the air quality information of local environment, in terms of existing technologies, no longer pass through Fixing monitoring point is gone to detect air quality, but can detect the real-time air quality of terminal local environment, which thereby enhances The accuracy of detection air quality.
Embodiment four
The embodiment of the present invention also provides for a kind of terminal, and this terminal can be the equipment such as smart mobile phone, panel computer.
As shown in Figure 6, terminal 400 may include that the first acquisition module 401, judge module the 402, second acquisition module 403, reminding module 404, are described in detail below:
This first acquisition module 401, for obtaining the environmental information of terminal local environment;
According to this environmental information, this judge module 402, for judging whether this terminal is in free environments;
This second acquisition module 403, for when this judge module is judged as YES, obtains the air of this terminal local environment Quality information;
This reminding module 404, for showing corresponding information on the terminal according to this air quality information.
Preferably, terminal 400 also includes: the 3rd acquisition module, correcting module, specific as follows:
3rd acquisition module, for obtaining the offset of air quality information;
This correcting module, for according to this this air quality information of offset correction, to obtain revised air quality Information;
This reminding module 404 specifically for:
Corresponding information is shown on the terminal according to this revised air quality information.
Preferably, the 3rd acquisition module specifically for:
Obtain the temperature of this terminal inner;
The offset of corresponding air quality information is obtained according to this temperature.
Preferably, this reminding module 404 comprises determining that submodule, obtains submodule, prompting submodule, specific as follows:
This determines submodule, interval for determining the dustiness residing for air quality according to this air quality information;
This acquisition submodule, for obtaining corresponding information according to this dustiness interval;
This prompting submodule, for showing this information on the terminal.
Aforesaid operations specifically can be found in embodiment of the method above, does not repeats them here.
The embodiment of the present invention also provides for another kind of terminal, as it is shown in fig. 7, this terminal 500 can include radio frequency (RF, Radio Frequency) circuit 501, include the memorizer 502 of one or more computer-readable recording mediums, input block 503, display unit 504, sensor 505, voicefrequency circuit 506, Wireless Fidelity (WiFi, Wireless Fidelity) module 507, one or more than one parts such as the processor 508 processing core and power supply 509 are included.People in the art Member is appreciated that the terminal structure shown in Fig. 7 is not intended that the restriction to terminal, can include more more or less of than diagram Parts, or combine some parts, or different parts are arranged.
Radio circuit 501 can be used for receiving and sending messages, or the reception of signal and transmission in communication process, especially, by base station Downlink information receive after, transfer to one or more than one processor 508 process;It addition, send relating to up data To base station.Generally, radio circuit 501 includes but not limited to antenna, at least one amplifier, tuner, one or more vibration Device, subscriber identity module (SIM, Subscriber Identity Module) card, transceiver, bonder, low noise amplification Device (LNA, Low Noise Amplifier), duplexer etc..Additionally, radio circuit 501 can also pass through radio communication and network Communicate with other equipment.This radio communication can use arbitrary communication standard or agreement, includes but not limited to global system for mobile telecommunications System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division many Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc..
Memorizer 502 can be used for storing software program and module.Processor 508 is stored in memorizer 502 by operation Software program and module, thus perform various function application and data process.Memorizer 502 can mainly include storing journey Sequence district and storage data field, wherein, storage program area can store the application program (ratio needed for operating system, at least one function Such as sound-playing function, image player function etc.) etc.;Storage data field can store the data that the use according to terminal is created (such as voice data, phone directory etc.) etc..Additionally, memorizer 502 can include high-speed random access memory, it is also possible to include Nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Phase Ying Di, memorizer 502 can also include Memory Controller, to provide processor 508 and input block 503 to memorizer 502 Access.
Input block 503 can be used for receiving numeral or the character information of input, and produces and user setup and function Control relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically, a specific embodiment In, input block 503 can include Touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touches display screen or touches Control plate, can collect user thereon or neighbouring touch operation (such as user use any applicable object such as finger, stylus or Adnexa operation on Touch sensitive surface or near Touch sensitive surface), and connect dress accordingly according to formula set in advance driving Put.Optionally, Touch sensitive surface can include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus inspection Survey the touch orientation of user, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller from Receive touch information on touch detecting apparatus, and be converted into contact coordinate, then give processor 508, and can reception process Order that device 508 is sent also is performed.Furthermore, it is possible to use resistance-type, condenser type, infrared ray and surface acoustic wave etc. multiple Type realizes Touch sensitive surface.Except Touch sensitive surface, input block 503 can also include other input equipments.Specifically, other are defeated Enter equipment and can include but not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, Mus One or more in mark, action bars etc..
Display unit 504 can be used for the various of the information that inputted by user of display or the information being supplied to user and terminal Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display Unit 504 can include display floater, optionally, can use liquid crystal display (LCD, Liquid Crystal Display), The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display floater.Further , Touch sensitive surface can cover display floater, when Touch sensitive surface detects thereon or after neighbouring touch operation, sends process to Device 508, to determine the type of touch event, provides corresponding with preprocessor 508 according to the type of touch event on a display panel Visual output.Although in the figure 7, Touch sensitive surface and display floater are to realize input and input as two independent parts Function, but in some embodiments it is possible to by integrated to Touch sensitive surface and display floater and realize input and output function.
Terminal may also include at least one sensor 505, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light Light and shade regulate the brightness of display floater, proximity transducer can cut out display floater and/or the back of the body when terminal moves in one's ear Light.As the one of motion sensor, Gravity accelerometer can detect (generally three axles) acceleration in all directions Size, can detect that size and the direction of gravity time static, can be used for identify mobile phone attitude application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;Can also configure as terminal Gyroscope, barometer, drimeter, thermometer, other sensors such as infrared ray sensor, do not repeat them here.
Voicefrequency circuit 506 can pass through speaker, microphone provides the audio interface between user and terminal.Voicefrequency circuit The voice data received can be converted into the signal of telecommunication by 506, is transferred to speaker, speaker be converted to acoustical signal output; On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone, voicefrequency circuit 506 be converted to audio frequency number after receiving According to, then after voice data output processor 508 is processed, through radio circuit 501 to be sent to such as another terminal, or by sound Frequency is according to exporting to memorizer 502 to process further.Voicefrequency circuit 506 is also possible that earphone jack, to provide peripheral hardware Earphone and the communication of terminal.
Wireless Fidelity (WiFi) belongs to short range wireless transmission technology, and terminal can be helped by wireless fidelity module 507 User sends and receive e-mail, browses webpage and access streaming video etc., and it has provided the user wireless broadband internet and has accessed. Although Fig. 7 shows wireless fidelity module 507, but it is understood that, it is also not belonging to must be configured into of terminal, completely may be used To omit in not changing the scope of essence of invention as required.
Processor 508 is the control centre of terminal, utilizes various interface and the various piece of the whole terminal of connection, logical Cross operation or perform to be stored in the software program in memorizer 502 and/or module, and calling and be stored in memorizer 502 Data, perform the various functions of terminal and process data, thus terminal is carried out integral monitoring.Optionally, processor 508 can wrap Include one or more process core;Preferably, processor 508 can integrated application processor and modem processor, wherein, should Mainly process operating system, user interface and application program etc. with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 508.
Terminal also includes the power supply 509 (such as battery) powered to all parts.Preferably, power supply can pass through power supply pipe Reason system is logically contiguous with processor 508, thus realizes management charging, electric discharge and power managed by power-supply management system Etc. function.Power supply 509 can also include one or more direct current or alternating current power supply, recharging system, power failure inspection Slowdown monitoring circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown in Fig. 7, terminal can also include photographic head, bluetooth module etc., does not repeats them here.
The most in the present embodiment, the processor 508 in terminal can be according to following instruction, by one or more The executable file that the process of application program is corresponding is loaded in memorizer 502, and is run by processor 508 and be stored in storage Application program in device 502, thus realize various function:
Obtain the environmental information of terminal local environment;Judge whether this terminal is in free environments according to this environmental information In;If the determination result is YES, then the air quality information of this terminal local environment is obtained;According to this air quality information at this eventually Corresponding information is shown on end.
Preferably, processor 508 has the first acquisition module, judge module, the second acquisition module, reminding module, specifically It is described as follows:
Processor 508 for obtaining the environmental information of terminal local environment by the first acquisition module;
According to this environmental information, processor 508 is for judging whether this terminal is in free environments by judge module;
Processor 508 is used for by the second acquisition module when the judged result of this judge module is for being, obtains this terminal The air quality information of local environment;
Processor 508 points out letter accordingly for being shown on the terminal according to this air quality information by reminding module Breath.
Aforesaid operations specifically can be found in embodiment of the method above, does not repeats them here.
From the foregoing, it will be observed that embodiments provide a kind of terminal, by obtaining the environmental information of terminal local environment;Root Judge whether this terminal is in free environments according to this environmental information;If the determination result is YES, then this terminal local environment is obtained Air quality information;Corresponding information is shown on the terminal according to this air quality information.The program is being judged When terminal is in free environments, obtain the air quality information of terminal local environment, and display reminding information on the terminal.Eventually End, only when being in free environments, obtains the air quality information of local environment, in terms of existing technologies, is no longer logical Cross fixing monitoring point to go to detect air quality, but the real-time air quality of terminal local environment can be detected, thus improve The accuracy of detection air quality.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or Part steps can be by program and completes to instruct relevant hardware, and this program can be stored in computer-readable storage medium In matter, storage medium may include that read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of method of air quality, device and the terminal of detecting provided the embodiment of the present invention above has been carried out in detail Introducing, principle and the embodiment of the present invention are set forth by specific case used herein, the explanation of above example It is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for those skilled in the art, according to the present invention Thought, the most all will change, in sum, this specification content should not be understood For limitation of the present invention.

Claims (11)

1. the method detecting air quality, it is characterised in that including:
Obtain the environmental information of terminal local environment;
Judge whether described terminal is in free environments according to described environmental information;
If the determination result is YES, then the air quality information of described terminal local environment is obtained;
In described terminal, corresponding information is shown according to described air quality information.
Method the most according to claim 1, it is characterised in that the step of the environmental information of described acquisition terminal local environment Specifically include:
Obtain the ambient light intensity of terminal local environment;
Described judge that the step whether described terminal is in free environments specifically includes according to described environmental information:
Judge that whether described ambient light intensity is more than presetting ambient light intensity;
The most then judged result is that described terminal is in free environments.
Method the most according to claim 1, it is characterised in that the step of the environmental information of described acquisition terminal local environment Specifically include:
Obtain terminal and the distance between the object that described terminal is nearest;
Described judge that the step whether described terminal is in free environments specifically includes according to described environmental information:
Judge that whether described distance is more than predeterminable range;
The most then judged result is that described terminal is in free environments.
Method the most according to claim 1, it is characterised in that the air quality letter of described acquisition described terminal local environment After the step of breath, described method also includes:
Obtain the offset of air quality information;
According to air quality information described in described offset correction, to obtain revised air quality information;
Described in described terminal, show that according to described air quality information the step of corresponding information specifically includes:
In described terminal, corresponding information is shown according to described revised air quality information.
Method the most according to claim 4, it is characterised in that the step tool of the offset of described acquisition air quality information Body includes;
Obtain the temperature of described terminal inner;
The offset of corresponding air quality information is obtained according to described temperature.
Method the most according to claim 1, it is characterised in that described according to described air quality information in described terminal Show that the step of corresponding information specifically includes:
Determine that the dustiness residing for air quality is interval according to described air quality information;
Corresponding information is obtained according to described dustiness interval;
Described terminal shows described information.
7. the device detecting air quality, it is characterised in that including:
First acquisition module, for obtaining the environmental information of terminal local environment;
According to described environmental information, judge module, for judging whether described terminal is in free environments;
Second acquisition module, for when described judge module is judged as YES, obtains the air quality of described terminal local environment Information;
Reminding module, for showing corresponding information according to described air quality information in described terminal.
Device the most according to claim 7, it is characterised in that described device also includes:
3rd acquisition module, for obtaining the offset of air quality information;
Correcting module, for according to air quality information described in described offset correction, to obtain revised air quality letter Breath;
Described reminding module specifically for:
In described terminal, corresponding information is shown according to described revised air quality information.
Device the most according to claim 8, it is characterised in that described 3rd acquisition module specifically for:
Obtain the temperature of described terminal inner;
The offset of corresponding air quality information is obtained according to described temperature.
Device the most according to claim 7, it is characterised in that described reminding module specifically includes:
Determine submodule, interval for determining the dustiness residing for air quality according to described air quality information;
Obtain submodule, for obtaining corresponding information according to described dustiness interval;
Prompting submodule, for showing described information in described terminal.
11. 1 kinds of terminals, it is characterised in that described terminal includes the device according to any one of claim 7 to 10.
CN201610677097.9A 2016-08-16 2016-08-16 A kind of detect the method for air quality, device and terminal Pending CN106248542A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610677097.9A CN106248542A (en) 2016-08-16 2016-08-16 A kind of detect the method for air quality, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610677097.9A CN106248542A (en) 2016-08-16 2016-08-16 A kind of detect the method for air quality, device and terminal

Publications (1)

Publication Number Publication Date
CN106248542A true CN106248542A (en) 2016-12-21

Family

ID=57592336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610677097.9A Pending CN106248542A (en) 2016-08-16 2016-08-16 A kind of detect the method for air quality, device and terminal

Country Status (1)

Country Link
CN (1) CN106248542A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108398523A (en) * 2017-02-08 2018-08-14 天津开发区先特网络系统有限公司 A kind of air quality special detector shot
CN108749410A (en) * 2018-05-31 2018-11-06 重庆市盛川荣科技有限责任公司 Classroom control terminal with environment measuring function
CN109029576A (en) * 2018-07-31 2018-12-18 珠海格力电器股份有限公司 A kind of method and system detecting environment value
CN112379043A (en) * 2020-10-10 2021-02-19 北京索斯克科技开发有限公司 Gas detection system and method
CN113092674A (en) * 2021-03-30 2021-07-09 维沃移动通信有限公司 Air quality monitoring method and electronic equipment
CN113542484A (en) * 2020-03-30 2021-10-22 Oppo广东移动通信有限公司 Air quality reminding method and device and terminal
CN114322278A (en) * 2021-12-31 2022-04-12 武汉施尔诺新能源科技有限公司 Air environment quality control system of indoor air conditioner

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0685727A1 (en) * 1994-05-24 1995-12-06 Commissariat A L'energie Atomique Particle spectrometer, especially for submicronic particles
CN1750399A (en) * 2005-11-03 2006-03-22 北京天碁科技有限公司 Method and device for correcting clock source ageing
CN201402268Y (en) * 2009-02-25 2010-02-10 北京泰华恒越科技发展有限责任公司 Intelligent environmental air quality monitor
CN102916654A (en) * 2012-10-25 2013-02-06 北京七芯中创科技有限公司 Crystal oscillator ageing compensation method
US20130308130A1 (en) * 2009-03-18 2013-11-21 Mannkind Corporation Inhaler adaptor for a laser diffraction apparatus and method for measuring particle size distribution
CN203443606U (en) * 2013-08-20 2014-02-19 南车二七车辆有限公司 Indoor pollution gas concentration monitoring device
CN104315663A (en) * 2014-10-29 2015-01-28 小米科技有限责任公司 Method and device for controlling work of air purifier
CN105588790A (en) * 2014-10-24 2016-05-18 富泰华工业(深圳)有限公司 Air detection system and air detection method
CN105717254A (en) * 2014-12-04 2016-06-29 西安扩力机电科技有限公司 Classroom air monitoring and purifying system
CN105788568A (en) * 2016-05-13 2016-07-20 广东欧珀移动通信有限公司 Screen brightness adjustment method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0685727A1 (en) * 1994-05-24 1995-12-06 Commissariat A L'energie Atomique Particle spectrometer, especially for submicronic particles
CN1750399A (en) * 2005-11-03 2006-03-22 北京天碁科技有限公司 Method and device for correcting clock source ageing
CN201402268Y (en) * 2009-02-25 2010-02-10 北京泰华恒越科技发展有限责任公司 Intelligent environmental air quality monitor
US20130308130A1 (en) * 2009-03-18 2013-11-21 Mannkind Corporation Inhaler adaptor for a laser diffraction apparatus and method for measuring particle size distribution
CN102916654A (en) * 2012-10-25 2013-02-06 北京七芯中创科技有限公司 Crystal oscillator ageing compensation method
CN203443606U (en) * 2013-08-20 2014-02-19 南车二七车辆有限公司 Indoor pollution gas concentration monitoring device
CN105588790A (en) * 2014-10-24 2016-05-18 富泰华工业(深圳)有限公司 Air detection system and air detection method
CN104315663A (en) * 2014-10-29 2015-01-28 小米科技有限责任公司 Method and device for controlling work of air purifier
CN105717254A (en) * 2014-12-04 2016-06-29 西安扩力机电科技有限公司 Classroom air monitoring and purifying system
CN105788568A (en) * 2016-05-13 2016-07-20 广东欧珀移动通信有限公司 Screen brightness adjustment method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108398523A (en) * 2017-02-08 2018-08-14 天津开发区先特网络系统有限公司 A kind of air quality special detector shot
CN108749410A (en) * 2018-05-31 2018-11-06 重庆市盛川荣科技有限责任公司 Classroom control terminal with environment measuring function
CN109029576A (en) * 2018-07-31 2018-12-18 珠海格力电器股份有限公司 A kind of method and system detecting environment value
CN113542484A (en) * 2020-03-30 2021-10-22 Oppo广东移动通信有限公司 Air quality reminding method and device and terminal
CN112379043A (en) * 2020-10-10 2021-02-19 北京索斯克科技开发有限公司 Gas detection system and method
CN113092674A (en) * 2021-03-30 2021-07-09 维沃移动通信有限公司 Air quality monitoring method and electronic equipment
CN114322278A (en) * 2021-12-31 2022-04-12 武汉施尔诺新能源科技有限公司 Air environment quality control system of indoor air conditioner

Similar Documents

Publication Publication Date Title
CN106248542A (en) A kind of detect the method for air quality, device and terminal
RU2641671C2 (en) Method, device and electronic message reminder
CN104135501B (en) Page sharing method, Apparatus and system
CN103473092B (en) A kind of download the processing method of application, device and terminal unit
CN106160894A (en) A kind of signal intensity reminding method, device and terminal unit
CN106331359B (en) A kind of speech signal collection method, device and terminal
CN104468679A (en) Geographic position sharing method and system and terminals
CN104951212A (en) Method, device and system for processing desktop data of mobile terminal
CN106453830A (en) Falling detection method and device
CN103442330A (en) Position notification method and device
CN104427074A (en) Method, device and system for displaying incoming information
CN106646440A (en) Drop height detection method and drop height detection device
CN104360307A (en) Positioning method and positioning device
CN106126675A (en) A kind of method of recommendation of audio, Apparatus and system
CN106408995A (en) Information processing method and related device
CN106658657A (en) Network access method and device
CN106095800A (en) A kind of information recommendation method and terminal
CN106161800A (en) A kind of incoming call reminding method, device and communication terminal
CN106454976A (en) Switching method and device for wireless network and terminal
CN106170034A (en) A kind of sound effect treatment method and mobile terminal
CN103561155B (en) Send the method for note, device and terminal
CN103634463A (en) Prompt method for state change and terminal
CN107270927A (en) Information displaying method, device, computer-readable recording medium and mobile terminal
CN104820546A (en) Functional information exhibition method and apparatus
CN104092657A (en) Information transmission method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161221

RJ01 Rejection of invention patent application after publication