[go: up one dir, main page]

CN106248542A - A method, device and terminal for detecting air quality - Google Patents

A method, device and terminal for detecting air quality 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
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
    • 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
    • G01N15/075Investigating concentration of particle suspensions by optical means

Landscapes

  • Chemical & Material Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Dispersion Chemistry (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a method, a device and a terminal for detecting air quality, wherein the method comprises the steps of acquiring environmental information of an environment where the terminal is located, judging whether the terminal is located in an open environment or not according to the environmental information, if so, acquiring the air quality information of the environment where the terminal is located, and displaying corresponding prompt information on the terminal according to the air quality information; according to the scheme, when the terminal is judged to be in the open environment, the air quality information of the environment where the terminal is located is obtained, the prompt message is displayed on the terminal, the terminal only obtains the air quality information of the environment where the terminal is located when the terminal is in the open environment, compared with the prior art, the air quality is no longer detected through a fixed monitoring point, the real-time air quality of the environment where the terminal is located can be detected, and therefore the accuracy of detecting the air quality is improved.

Description

一种检测空气质量的方法、装置及终端A method, device and terminal for detecting air quality

技术领域technical field

本发明涉及终端技术领域,具体涉及一种检测空气质量的方法、装置及终端。The invention relates to the technical field of terminals, in particular to a method, device and terminal for detecting air quality.

背景技术Background technique

近年来,空气污染日渐严重。而细颗粒物(PM2.5)是空气污染物中对人体危害最大的一种。PM2.5是每立方米空气中粒径小于2.5微米的颗粒物的含量。在人们日常生活中的工业生产、汽车尾气排放等过程中都会产生细颗粒物。In recent years, air pollution has become increasingly serious. Fine particulate matter (PM2.5) is one of the most harmful air pollutants to the human body. PM2.5 is the content of particulate matter with a particle size of less than 2.5 microns per cubic meter of air. Fine particles are produced in the process of industrial production and automobile exhaust emission in people's daily life.

随着人们对空气质量越来越关注,很多城市的气象部门都会发布本城市的空气质量数据。而官方发布的空气质量数据是基于城市少量的空气质量监测点而得出的,与每个用户所处环境的实际状况并不相同。由此,导致用户获取到的空气质量数据不准确。As people pay more and more attention to air quality, the meteorological departments of many cities will release the air quality data of the city. The official air quality data is based on a small number of air quality monitoring points in the city, which is different from the actual situation of each user's environment. As a result, the air quality data obtained by the user is inaccurate.

发明内容Contents of the invention

本发明实施例提供一种检测空气质量的方法、装置及终端,可以提高检测空气质量的准确性。Embodiments of the present invention provide a method, device, and terminal for detecting air quality, which can improve the accuracy of air quality detection.

本发明实施例提供一种检测空气质量的方法,包括:An embodiment of the present invention provides a method for detecting air quality, including:

获取终端所处环境的环境信息;Acquiring environmental information of the environment where the terminal is located;

根据所述环境信息判断所述终端是否处于开阔环境中;judging whether the terminal is in an open environment according to the environment information;

若判断结果为是,则获取所述终端所处环境的空气质量信息;If the judgment result is yes, then acquire the air quality information of the environment where the terminal is located;

根据所述空气质量信息在所述终端上显示相应的提示信息。Displaying corresponding prompt information on the terminal according to the air quality information.

相应的,本发明实施例还提供一种检测空气质量的装置,包括:Correspondingly, the embodiment of the present invention also provides a device for detecting air quality, including:

第一获取模块,用于获取终端所处环境的环境信息;The first obtaining module is used to obtain the environmental information of the environment where the terminal is located;

判断模块,用于根据所述环境信息判断所述终端是否处于开阔环境中;a judging module, configured to judge whether the terminal is in an open environment according to the environment information;

第二获取模块,用于在所述判断模块判断为是时,获取所述终端所处环境的空气质量信息;A second acquiring module, configured to acquire the air quality information of the environment where the terminal is located when the judging module judges yes;

提示模块,用于根据所述空气质量信息在所述终端上显示相应的提示信息。A prompt module, configured to display corresponding prompt information on the terminal according to the air quality information.

相应的,本发明实施例还提供一种终端,包括上述检测空气质量的装置。Correspondingly, an embodiment of the present invention also provides a terminal, including the above-mentioned device for detecting air quality.

本发明实施例采用获取终端所处环境的环境信息;根据该环境信息判断该终端是否处于开阔环境中;若判断结果为是,则获取该终端所处环境的空气质量信息;根据该空气质量信息在该终端上显示相应的提示信息。该方案在判断出终端处于开阔环境时,获取终端所处环境的空气质量信息,并在该终端上显示提示信息。终端只在处于开阔环境中时,获取所处环境的空气质量信息,相对于现有技术而言,不再是通过固定的监测点去检测空气质量,而是能够检测终端所处环境的实时空气质量,由此提高了检测空气质量的准确性。The embodiment of the present invention adopts the method of acquiring the environmental information of the environment where the terminal is located; judging whether the terminal is in an open environment according to the environmental information; if the judgment result is yes, then acquiring the air quality information of the environment where the terminal is located; according to the air quality information The corresponding prompt information is displayed on the terminal. In this solution, when it is judged that the terminal is in an open environment, the air quality information of the environment where the terminal is located is obtained, and a prompt message is displayed on the terminal. The terminal only obtains the air quality information of the environment when it is in an open environment. Compared with the existing technology, it no longer detects the air quality through fixed monitoring points, but can detect the real-time air quality of the environment where the terminal is located. quality, thereby improving the accuracy of detecting air quality.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to these drawings without creative work.

图1是本发明实施例一提供的检测空气质量的方法的流程示意图。FIG. 1 is a schematic flowchart of a method for detecting air quality provided by Embodiment 1 of the present invention.

图2是本发明实施例二提供的检测空气质量的方法的流程示意图。FIG. 2 is a schematic flowchart of a method for detecting air quality provided by Embodiment 2 of the present invention.

图3是本发明实施例三提供的第一种检测空气质量的装置的结构示意图。Fig. 3 is a schematic structural diagram of the first device for detecting air quality provided by Embodiment 3 of the present invention.

图4是本发明实施例三提供的第二种检测空气质量的装置的结构示意图。Fig. 4 is a schematic structural diagram of a second device for detecting air quality provided by Embodiment 3 of the present invention.

图5是本发明实施例三提供的第三种检测空气质量的装置的结构示意图。Fig. 5 is a schematic structural diagram of a third device for detecting air quality provided by Embodiment 3 of the present invention.

图6是本发明实施例四提供的第一种终端的结构示意图。FIG. 6 is a schematic structural diagram of a first type of terminal provided by Embodiment 4 of the present invention.

图7是本发明实施例四提供的第二种终端的结构示意图。FIG. 7 is a schematic structural diagram of a second type of terminal provided by Embodiment 4 of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

本发明的说明书和权利要求书以及上述附图中的术语“第一”、“第二”、“第三”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应当理解,这样描述的对象在适当情况下可以互换。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。例如,包含了一系列步骤的过程、方法或包含了一系列模块或单元的装置、终端、系统不必限于清楚地列出的那些步骤或模块或单元,还可以包括没有清楚地列出的步骤或模块或单元,也可以包括对于这些过程、方法、装置、终端或系统固有的其它步骤或模块或单元。The terms "first", "second", "third", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects and not necessarily to describe a specific order or sequentially. It should be understood that the items so described are interchangeable under appropriate circumstances. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, a method comprising a series of steps, or a device, a terminal, a system comprising a series of modules or units are not necessarily limited to those steps or modules or units clearly listed, and may also include steps or units not clearly listed. A module or unit may also include other steps or modules or units inherent to these processes, methods, apparatuses, terminals or systems.

本发明实施例提供一种检测空气质量的方法、装置及终端,以下将分别进行详细说明。Embodiments of the present invention provide a method, device, and terminal for detecting air quality, which will be described in detail below.

实施例一Embodiment one

本实施例将从检测空气质量的装置的角度进行描述,该装置具体可以集成在终端中,该终端可以是智能手机、平板电脑等设备。This embodiment will be described from the perspective of a device for detecting air quality. Specifically, the device may be integrated into a terminal, and the terminal may be a smart phone, a tablet computer, or other devices.

一种检测空气质量的方法,包括:获取终端所处环境的环境信息;根据该环境信息判断该终端是否处于开阔环境中;若判断结果为是,则获取该终端所处环境的空气质量信息;根据该空气质量信息在该终端上显示相应的提示信息。A method for detecting air quality, comprising: acquiring environmental information of the environment where the terminal is located; judging whether the terminal is in an open environment according to the environmental information; if the judgment result is yes, acquiring the air quality information of the environment where the terminal is located; According to the air quality information, corresponding prompt information is displayed on the terminal.

如图1所示,该检测空气质量的方法,具体流程可以包括:As shown in Figure 1, the method for detecting air quality, the specific process may include:

S101,获取终端所处环境的环境信息。S101. Obtain environment information of the environment where the terminal is located.

具体地,用户在使用终端的过程中,终端可能处于多种不同的环境中。例如,终端可以位于用户的手中,可以被置于桌子上,也可以被置于用户的口袋中,还可以被置于背包中。在使用终端检测空气质量时,只有当终端处于用户手中、桌子上这样的开阔环境(空气可以自由流通的环境状态)中时,检测到的空气质量信息才具有参考意义。因为只有处于开阔环境中,空气能够发生对流,检测到的空气质量参数才能反映出真实的空气质量状况。环境信息可以是终端所处环境的环境光亮度,也可以是终端与外部物体之间的距离。获取终端所处环境的环境信息具体可以包括以下步骤:Specifically, during the process of using the terminal by the user, the terminal may be in many different environments. For example, the terminal may be placed in the user's hand, on a table, in the user's pocket, or in a backpack. When using a terminal to detect air quality, only when the terminal is in an open environment (environmental state where air can circulate freely) such as the user's hand or on a table, the detected air quality information has reference significance. Because only in an open environment, the air can convect, and the detected air quality parameters can reflect the real air quality conditions. The environment information may be the ambient brightness of the environment where the terminal is located, or the distance between the terminal and an external object. Acquiring the environment information of the environment where the terminal is located may specifically include the following steps:

获取终端所处环境的环境光强度。Get the ambient light intensity of the environment where the terminal is located.

具体应用中,终端处于开阔环境中时,通常所处环境的环境光强度比较大。例如,终端处于室内或者室外时,可以接收到日光或室内光线的照射,所处环境的环境光强度比较大。可以通过光传感器获取终端所处环境的环境光强度。In a specific application, when the terminal is in an open environment, usually the ambient light intensity of the environment is relatively high. For example, when the terminal is indoors or outdoors, it may receive sunlight or indoor light, and the ambient light intensity of the environment is relatively high. The ambient light intensity of the environment where the terminal is located may be acquired through a light sensor.

获取终端所处环境的环境信息也具体可以包括以下步骤:Acquiring the environment information of the environment where the terminal is located may specifically include the following steps:

获取终端与距离该终端最近的物体之间的距离。Get the distance between the terminal and the object closest to the terminal.

具体应用中,终端的正面设置有距离传感器(例如,红外传感器)。通过距离传感器检测终端与距离终端最近的物体之间的距离。终端处于开阔环境中时,通常距离终端正面的物体比较远。例如,终端处于用户手中、桌子上时,检测到距离终端最近的物体之间的距离比较远。In a specific application, a distance sensor (for example, an infrared sensor) is provided on the front of the terminal. The distance between the terminal and the object closest to the terminal is detected by the distance sensor. When the terminal is in an open environment, it is usually far away from objects in front of the terminal. For example, when the terminal is in the user's hand or on a table, it is detected that the distance between objects closest to the terminal is relatively far.

S102,根据该环境信息判断该终端是否处于开阔环境中。S102. Determine whether the terminal is in an open environment according to the environment information.

具体地,获取到终端所处环境的环境信息后,通过判断该环境信息是否满足预设条件来判断终端是否处于开阔环境中。开阔环境是指空气可以自由流通的环境状态。根据该环境信息判断该终端是否处于开阔环境中可以具体包括以下步骤:Specifically, after acquiring the environment information of the environment where the terminal is located, it is determined whether the terminal is in an open environment by judging whether the environment information satisfies a preset condition. An open environment refers to an environment in which air can circulate freely. Judging whether the terminal is in an open environment according to the environment information may specifically include the following steps:

判断该环境光强度是否大于预设环境光强度。It is judged whether the ambient light intensity is greater than a preset ambient light intensity.

具体应用中,当S101中获取到的环境信息是环境光强度时,判断该环境光强度是否大于预设环境光强度。预设环境光强度是预先存储在终端中的一个环境光强度值。例如,预设环境光强度可以是100cd(坎德拉)。获取到环境光强度后,调用存储在终端中的该预设环境光强度,将获取到的环境光强度与预设环境光强度进行比较,以判断该环境光强度是否大于预设环境光强度。In a specific application, when the environmental information acquired in S101 is ambient light intensity, it is judged whether the ambient light intensity is greater than a preset ambient light intensity. The preset ambient light intensity is an ambient light intensity value pre-stored in the terminal. For example, the preset ambient light intensity may be 100cd (candela). After the ambient light intensity is acquired, the preset ambient light intensity stored in the terminal is called, and the acquired ambient light intensity is compared with the preset ambient light intensity to determine whether the ambient light intensity is greater than the preset ambient light intensity.

根据该环境信息判断该终端是否处于开阔环境中还可以具体包括以下步骤:Judging whether the terminal is in an open environment according to the environmental information may also specifically include the following steps:

判断该距离是否大于预设距离。It is judged whether the distance is greater than a preset distance.

具体应用中,当S101中获取到的环境信息是终端与距离该终端最近的外部物体之间的距离时,判断该距离是否大于预设距离。预设距离是预先存储在终端中的一个距离数值。例如,预设距离可以是0.2m。获取到终端与外部物体之间的距离后,调用存储在终端中的该预设距离,将获取到的距离与预设距离进行比较,以判断该距离是否大于预设距离。In a specific application, when the environment information acquired in S101 is the distance between the terminal and an external object closest to the terminal, it is determined whether the distance is greater than a preset distance. The preset distance is a distance value pre-stored in the terminal. For example, the preset distance may be 0.2m. After the distance between the terminal and the external object is acquired, the preset distance stored in the terminal is invoked, and the acquired distance is compared with the preset distance to determine whether the distance is greater than the preset distance.

S103,若判断结果为是,则获取该终端所处环境的空气质量信息。S103, if the determination result is yes, acquire the air quality information of the environment where the terminal is located.

具体应用中,终端中设置有空气质量传感器。当S102中的判断结果为终端处于开阔环境中时,通过空气质量传感器获取终端所处环境的空气质量信息。该空气质量信息可以是空气中细颗粒物的含量(PM2.5)。In a specific application, the terminal is provided with an air quality sensor. When the determination result in S102 is that the terminal is in an open environment, the air quality information of the environment where the terminal is located is acquired through the air quality sensor. The air quality information may be the content of fine particulate matter (PM2.5) in the air.

具体地,空气质量传感器可以包括红外线发射器和红外线接收器。红外线发射器发射的红外线照射空气尘埃(含有细颗粒物的空气),然后到达红外线接收器。红外线接收器接收到红外线后,产生相应的电信号。空气中细颗粒物的含量不同时,红外线接收器接收到的红外线强度也不同,产生的电信号也不相同。终端根据该电信号计算相应的细颗粒物浓度,即PM2.5数值。Specifically, the air quality sensor may include an infrared transmitter and an infrared receiver. The infrared rays emitted by the infrared transmitter irradiate air dust (air containing fine particles), and then reach the infrared receiver. After the infrared receiver receives the infrared rays, it generates corresponding electrical signals. When the content of fine particles in the air is different, the intensity of infrared rays received by the infrared receiver is also different, and the electrical signals generated are also different. The terminal calculates the corresponding fine particle concentration, that is, the PM2.5 value, according to the electrical signal.

空气质量传感器检测到的数据会存在一定误差。因此,获取该终端所处环境的空气质量信息后,还可以包括以下步骤:There may be certain errors in the data detected by the air quality sensor. Therefore, after obtaining the air quality information of the environment where the terminal is located, the following steps may also be included:

获取空气质量信息的补偿值;Obtain the compensation value of the air quality information;

根据该补偿值修正该空气质量信息,以得到修正后的空气质量信息。The air quality information is corrected according to the compensation value to obtain corrected air quality information.

具体地,补偿值可以是具体的数值,也可以是百分比。获取空气质量信息的补偿值的方式有多种。可以针对终端的使用时间设置补偿值。例如,终端使用1年后,设置补偿值为2%;终端使用2年后,设置补偿值为4%。空气质量传感器会受到温度的影响。不同的温度会对空气质量传感器的检测数据造成误差。因此,获取空气质量信息的补偿值可以具体包括以下步骤:Specifically, the compensation value may be a specific numerical value or a percentage. There are several ways to obtain the compensation value of the air quality information. A compensation value may be set for the usage time of the terminal. For example, after the terminal is used for 1 year, set the compensation value to 2%; after the terminal is used for 2 years, set the compensation value to 4%. Air quality sensors are affected by temperature. Different temperatures will cause errors in the detection data of the air quality sensor. Therefore, obtaining the compensation value of the air quality information may specifically include the following steps:

获取终端内部的温度;Obtain the temperature inside the terminal;

根据该温度获取对应的空气质量信息的补偿值。The compensation value of the corresponding air quality information is obtained according to the temperature.

具体应用中,终端中设置有温度传感器。可以通过温度传感器获取终端内部的温度。可以预先设置温度与补偿值之间的对应关系,并在终端中存储该对应关系,该对应关系可以是温度与补偿值之间的映射表。补偿值可以是具体的数值,也可以是百分比。例如,温度为30°时的补偿值为1%,温度为60°时的补偿值为2%,温度为90°时的补偿值为3%。获取到终端内部的温度后,根据该温度和预设的对应关系获取对应的空气质量信息的补偿值。In a specific application, the terminal is provided with a temperature sensor. The temperature inside the terminal can be acquired through a temperature sensor. The corresponding relationship between the temperature and the compensation value may be preset and stored in the terminal, and the corresponding relationship may be a mapping table between the temperature and the compensation value. The compensation value can be a specific value or a percentage. For example, the compensation value is 1% when the temperature is 30°, the compensation value is 2% when the temperature is 60°, and the compensation value is 3% when the temperature is 90°. After the temperature inside the terminal is obtained, the compensation value of the corresponding air quality information is obtained according to the corresponding relationship between the temperature and the preset.

然后使用该补偿值修正空气质量信息,以得到修正后的空气质量信息。修正的方式可以是在获取到的空气质量信息上增加该补偿值。例如,终端内部温度为60°时,获取到的空气质量信息为100(PM2.5数值),则补偿值为2%,在获取到的空气质量信息上增加该补偿值可以得出修正后的空气质量信息为120。The air quality information is then corrected using the compensation value to obtain corrected air quality information. The way of correction may be to add the compensation value to the acquired air quality information. For example, when the internal temperature of the terminal is 60° and the obtained air quality information is 100 (PM2.5 value), the compensation value is 2%. Adding this compensation value to the obtained air quality information can obtain the corrected Air quality information is 120.

S104,根据该空气质量信息在该终端上显示相应的提示信息。S104. Display corresponding prompt information on the terminal according to the air quality information.

具体地,获取到终端所处环境的空气质量信息后,根据该空气质量信息在终端上显示相应的提示信息。若步骤S103后对空气质量信息进行了修正,则根据修正后的空气质量信息显示相应的提示信息。例如,可以在终端的显示屏上显示PM2.5数值。显示提示信息的方式不限于在终端的显示屏上显示,也可以通过其他方式显示。例如,通过终端上的LED(发光二极管)呼吸灯来显示提示信息。Specifically, after the air quality information of the environment where the terminal is located is acquired, corresponding prompt information is displayed on the terminal according to the air quality information. If the air quality information is corrected after step S103, corresponding prompt information is displayed according to the corrected air quality information. For example, the PM2.5 value can be displayed on the display screen of the terminal. The manner of displaying the prompt information is not limited to displaying on the display screen of the terminal, and may also be displayed in other manners. For example, the prompt information is displayed through an LED (Light Emitting Diode) breathing light on the terminal.

PM2.5数值可以直接反应空气质量状况。但是,对于用户而言,使用PM2.5数值来进行提示却不够直观。用户希望了解到的信息是“优”、“良”、“轻度污染”、“中度污染”等更直观的信息。因此,根据该空气质量信息在该终端上显示相应的提示信息可以具体包括以下步骤:The PM2.5 value can directly reflect the air quality condition. However, for users, it is not intuitive enough to use the PM2.5 value for prompting. The information that users want to know is more intuitive information such as "excellent", "good", "slightly polluted" and "moderately polluted". Therefore, displaying corresponding prompt information on the terminal according to the air quality information may specifically include the following steps:

根据该空气质量信息确定空气质量所处的污染度区间;Determine the pollution degree interval of the air quality according to the air quality information;

根据该污染度区间获取对应的提示信息;Obtain corresponding prompt information according to the pollution degree interval;

在该终端上显示该提示信息。Display the prompt message on the terminal.

具体地,可以预先将空气质量信息(PM2.5数值)划分为多个污染度区间。例如,可以划分为[0,35)、[35,75)、[75,115)、[115,150)等多个污染度区间。获取到空气质量信息后,根据该空气质量信息确定空气质量所处的污染度区间。例如,空气质量信息为100,则可以确定空气质量所处的污染度区间为[75,115)。可以预先设置污染度区间与提示信息之间的对应关系。例如,污染度区间[0,35)对应的提示信息为“优”,[35,75)对应的提示信息为“良”,[75,115)对应的提示信息为“轻度污染”,[115,150)对应的提示信息为“中度污染”。确定空气质量所处的污染度区间后,根据该污染度区间和对应关系获取对应的提示信息,然后在终端的显示屏上显示该提示信息。Specifically, the air quality information (PM2.5 value) may be divided into multiple pollution degree intervals in advance. For example, it can be divided into multiple pollution degree intervals such as [0, 35), [35, 75), [75, 115), [115, 150). After the air quality information is obtained, the pollution degree interval of the air quality is determined according to the air quality information. For example, if the air quality information is 100, it can be determined that the pollution degree interval of the air quality is [75, 115). The corresponding relationship between the pollution degree interval and the prompt information can be set in advance. For example, the prompt information corresponding to the pollution degree interval [0, 35) is "excellent", the prompt information corresponding to [35, 75) is "good", the prompt information corresponding to [75, 115) is "slightly polluted", [ 115, 150) the corresponding prompt information is "moderate pollution". After determining the pollution degree interval of the air quality, the corresponding prompt information is obtained according to the pollution degree interval and the corresponding relationship, and then the prompt information is displayed on the display screen of the terminal.

在一个实施方式中,可以通过终端上的LED点亮不同颜色来显示提示信息。例如,预先设置污染度区间[0,35)对应的提示信息为LED绿灯慢速闪烁,[35,75)对应的提示信息为LED绿灯快速闪烁,[75,115)对应的提示信息为LED橙灯闪烁,[115,150)对应的提示信息为LED红灯闪烁。确定空气质量所处的污染度区间后,根据该污染度区间和对应关系获取对应的LED灯提示信息,然后根据该提示信息中的LED灯点亮方式来点亮LED灯。In one embodiment, the prompt information can be displayed by lighting up LEDs on the terminal in different colors. For example, the prompt information corresponding to the pollution degree interval [0, 35) is preset as LED green light flashing slowly, the prompt information corresponding to [35, 75) is LED green light flashing quickly, and the prompt information corresponding to [75, 115) is LED orange light. The light is flickering, and the prompt information corresponding to [115, 150) is that the red LED light is flickering. After the pollution degree interval of the air quality is determined, the corresponding LED light prompt information is obtained according to the pollution degree interval and the corresponding relationship, and then the LED light is lit according to the LED light lighting mode in the prompt information.

具体实施时,本发明不受所描述的各个步骤的执行顺序的限制,在不产生冲突的情况下,某些步骤还可以采用其它顺序进行或者同时进行。During specific implementation, the present invention is not limited by the execution order of the described steps, and some steps may be performed in other orders or simultaneously if no conflict arises.

由上可知,本发明实施例提供的检测空气质量的方法,采用获取终端所处环境的环境信息;根据该环境信息判断该终端是否处于开阔环境中;若判断结果为是,则获取该终端所处环境的空气质量信息;根据该空气质量信息在该终端上显示相应的提示信息。该方案在判断出终端处于开阔环境时,获取终端所处环境的空气质量信息,并在该终端上显示提示信息。终端只在处于开阔环境中时,获取所处环境的空气质量信息,相对于现有技术而言,不再是通过固定的监测点去检测空气质量,而是能够检测终端所处环境的实时空气质量,由此提高了检测空气质量的准确性。It can be seen from the above that the method for detecting air quality provided by the embodiments of the present invention adopts the method of obtaining the environment information of the environment where the terminal is located; judging whether the terminal is in an open environment according to the environment information; if the judgment result is yes, then obtaining the environment information of the terminal. The air quality information of the surrounding environment; according to the air quality information, corresponding prompt information is displayed on the terminal. In this solution, when it is judged that the terminal is in an open environment, the air quality information of the environment where the terminal is located is obtained, and a prompt message is displayed on the terminal. The terminal only obtains the air quality information of the environment when it is in an open environment. Compared with the existing technology, it no longer detects the air quality through fixed monitoring points, but can detect the real-time air quality of the environment where the terminal is located. quality, thereby improving the accuracy of detecting air quality.

实施例二Embodiment two

根据实施例一所描述的检测空气质量的方法,以下将举例作进一步详细说明。According to the method for detecting air quality described in the first embodiment, an example will be given below for further detailed description.

在本实施例中,将以检测空气质量的方法具体集成在智能手机中,以智能手机中检测空气质量的方法为例进行详细描述。In this embodiment, the method for detecting air quality will be specifically integrated in a smart phone, and the method for detecting air quality in a smart phone will be described in detail as an example.

如图2所示,检测空气质量的方法,具体流程可以如下:As shown in Figure 2, the method for detecting air quality, the specific process can be as follows:

S201,获取智能手机所处环境的环境光强度。S201. Acquire the ambient light intensity of the environment where the smartphone is located.

具体应用中,在智能手机上集成有光传感器。通过光传感器检测智能手机所处环境的环境光,并产生相应的电信号。该电信号可以是电流信号,也可以是电压信号。智能手机对该电信号进行处理,以获取所处环境的环境光强度。In a specific application, a light sensor is integrated on a smart phone. The ambient light of the environment where the smartphone is located is detected by the light sensor, and a corresponding electrical signal is generated. The electrical signal can be a current signal or a voltage signal. The smartphone processes this electrical signal to obtain the ambient light intensity of its environment.

S202,判断该环境光强度是否大于预设环境光强度。S202. Determine whether the ambient light intensity is greater than a preset ambient light intensity.

具体地,预设环境光强度是预先存储在智能手机中的一个光强度数值。例如,预设环境光强度可以是100cd(坎德拉)。获取到环境光强度后,调用存储在智能手机中的该预设环境光强度,将获取到的环境光强度与预设环境光强度进行比较,以判断该环境光强度是否大于预设环境光强度。Specifically, the preset ambient light intensity is a light intensity value pre-stored in the smart phone. For example, the preset ambient light intensity may be 100cd (candela). After obtaining the ambient light intensity, call the preset ambient light intensity stored in the smartphone, and compare the acquired ambient light intensity with the preset ambient light intensity to determine whether the ambient light intensity is greater than the preset ambient light intensity .

在一些实施例中,上述步骤S201、S202也可以用以下步骤替代:In some embodiments, the above steps S201 and S202 may also be replaced by the following steps:

获取智能手机与距离该智能手机最近的物体之间的距离;Obtain the distance between the smartphone and the closest object to the smartphone;

判断该距离是否大于预设距离。It is judged whether the distance is greater than a preset distance.

具体应用中,在智能手机的正面(显示屏所在的表面)集成有距离传感器。该距离传感器包括但不限于红外传感器、超声波传感器、电容接近传感器。智能手机通过距离传感器检测该智能手机与距离该智能手机最近的物体之间的距离,并产生相应的电信号。该电信号可以是电流信号,也可以是电压信号。智能手机对该电信号进行处理,以获取该智能手机与距离该智能手机最近的物体之间的距离。In a specific application, a distance sensor is integrated on the front of the smart phone (the surface where the display screen is located). The distance sensor includes but not limited to an infrared sensor, an ultrasonic sensor, and a capacitive proximity sensor. The smart phone detects the distance between the smart phone and the closest object to the smart phone through the distance sensor, and generates a corresponding electrical signal. The electrical signal can be a current signal or a voltage signal. The smartphone processes the electrical signal to obtain the distance between the smartphone and the closest object to the smartphone.

预设距离是预先存储在智能手机中的一个距离数值。例如,预设距离可以是0.2m。智能手机获取到与距离该智能手机最近的物体之间的距离后,调用存储在智能手机中的该预设距离,将获取到的距离与该预设距离进行比较,以判断该距离是否大于预设距离。The preset distance is a distance value pre-stored in the smartphone. For example, the preset distance may be 0.2m. After the smartphone acquires the distance to the object closest to the smartphone, it calls the preset distance stored in the smartphone, and compares the acquired distance with the preset distance to determine whether the distance is greater than the preset distance. Set distance.

S203,若判断结果为是,则获取该智能手机所处环境的空气质量信息。S203, if the judgment result is yes, acquire the air quality information of the environment where the smart phone is located.

具体应用中,智能手机中设置有空气质量传感器。当S202中的判断结果为是时,通过空气质量传感器获取智能手机所处环境的空气质量信息。该空气质量信息可以是空气中细颗粒物的含量(PM2.5)。In a specific application, an air quality sensor is provided in the smart phone. When the judgment result in S202 is yes, the air quality information of the environment where the smart phone is located is acquired through the air quality sensor. The air quality information may be the content of fine particulate matter (PM2.5) in the air.

具体地,空气质量传感器可以包括红外线发射器和红外线接收器。红外线发射器发射的红外线照射空气尘埃(含有细颗粒物的空气),然后到达红外线接收器。红外线接收器接收到红外线后,产生相应的电信号。空气中细颗粒物的含量不同时,红外线接收器接收到的红外线强度也不同,产生的电信号也不相同。智能手机根据该电信号计算相应的细颗粒物浓度,即PM2.5数值。Specifically, the air quality sensor may include an infrared transmitter and an infrared receiver. The infrared rays emitted by the infrared transmitter irradiate air dust (air containing fine particles), and then reach the infrared receiver. After the infrared receiver receives the infrared rays, it generates corresponding electrical signals. When the content of fine particles in the air is different, the intensity of infrared rays received by the infrared receiver is also different, and the electrical signals generated are also different. Based on this electrical signal, the smartphone calculates the corresponding concentration of fine particulate matter, namely the PM2.5 value.

S204,获取该智能手机内部的温度。S204. Acquire the temperature inside the smart phone.

具体应用中,智能手机中设置有温度传感器。可以通过温度传感器获取智能手机内部的温度。In a specific application, a temperature sensor is provided in the smart phone. The temperature inside the smartphone can be obtained by the temperature sensor.

S205,根据该温度获取对应的空气质量信息的补偿值。S205. Obtain a corresponding compensation value of the air quality information according to the temperature.

具体地,补偿值可以是具体的数值,也可以是百分比。可以预先设置温度与补偿值之间的对应关系,并在智能手机中存储该对应关系。该对应关系可以是温度与补偿值之间的映射表。例如,温度为30°时的补偿值为1%,温度为60°时的补偿值为2%,温度为90°时的补偿值为3%。获取到智能手机内部的温度后,根据该温度和预设的对应关系获取对应的空气质量信息的补偿值。Specifically, the compensation value may be a specific numerical value or a percentage. The corresponding relationship between the temperature and the compensation value can be preset and stored in the smart phone. The corresponding relationship may be a mapping table between temperature and compensation value. For example, the compensation value is 1% when the temperature is 30°, the compensation value is 2% when the temperature is 60°, and the compensation value is 3% when the temperature is 90°. After the temperature inside the smart phone is obtained, the compensation value of the corresponding air quality information is obtained according to the corresponding relationship between the temperature and the preset.

S206,根据该补偿值修正该空气质量信息,以得到修正后的空气质量信息。S206. Correct the air quality information according to the compensation value to obtain corrected air quality information.

具体应用中,空气质量传感器会受到温度的影响。不同的温度会对空气质量传感器的检测数据造成误差,因此,需要对空气质量传感器获取到的空气质量信息进行修正。In specific applications, air quality sensors are affected by temperature. Different temperatures will cause errors in the detection data of the air quality sensor. Therefore, it is necessary to correct the air quality information obtained by the air quality sensor.

智能手机获取到补偿值后,使用该补偿值修正空气质量信息,以得到修正后的空气质量信息。修正的方式可以是在获取到的空气质量信息上增加该补偿值。例如,智能手机内部温度为60°时,获取到的空气质量信息为100(PM2.5数值),则补偿值为2%,在获取到的空气质量信息上增加该补偿值可以得出修正后的空气质量信息为120。After the smart phone acquires the compensation value, the compensation value is used to correct the air quality information, so as to obtain the corrected air quality information. The way of correction may be to add the compensation value to the acquired air quality information. For example, when the internal temperature of the smartphone is 60°, the obtained air quality information is 100 (PM2.5 value), and the compensation value is 2%. Adding this compensation value to the obtained air quality information can obtain the corrected The air quality information is 120 for .

S207,根据该修正后的空气质量信息确定空气质量所处的污染度区间。S207. Determine the pollution degree interval where the air quality is located according to the corrected air quality information.

具体地,可以预先将空气质量信息(PM2.5数值)划分为多个污染度区间。例如,可以划分为[0,35)、[35,75)、[75,115)、[115,150)等多个污染度区间。获取到空气质量信息后,根据该空气质量信息确定空气质量所处的污染度区间。例如,获取到的空气质量信息为100,则可以确定空气质量所处的污染度区间为[75,115)。Specifically, the air quality information (PM2.5 value) may be divided into multiple pollution degree intervals in advance. For example, it can be divided into multiple pollution degree intervals such as [0, 35), [35, 75), [75, 115), [115, 150). After the air quality information is obtained, the pollution degree interval of the air quality is determined according to the air quality information. For example, if the acquired air quality information is 100, it can be determined that the pollution degree interval of the air quality is [75, 115).

S208,根据该污染度区间获取对应的提示信息。S208. Obtain corresponding prompt information according to the pollution degree interval.

具体地,可以预先设置污染度区间与提示信息之间的对应关系。例如,污染度区间[0,35)对应的提示信息为“优”,[35,75)对应的提示信息为“良”,[75,115)对应的提示信息为“轻度污染”,[115,150)对应的提示信息为“中度污染”。Specifically, the corresponding relationship between the pollution degree interval and the prompt information may be preset. For example, the prompt information corresponding to the pollution degree interval [0, 35) is "excellent", the prompt information corresponding to [35, 75) is "good", the prompt information corresponding to [75, 115) is "slightly polluted", [ 115, 150) the corresponding prompt information is "moderate pollution".

在一个实施方式中,可以通过智能手机上的LED点亮不同颜色来显示提示信息。例如,预先设置污染度区间[0,35)对应的提示信息为LED绿灯慢速闪烁,[35,75)对应的提示信息为LED绿灯快速闪烁,[75,115)对应的提示信息为LED橙灯闪烁,[115,150)对应的提示信息为LED红灯闪烁。In one embodiment, the prompt information can be displayed by lighting up the LED on the smart phone in different colors. For example, the prompt information corresponding to the pollution degree interval [0, 35) is preset as LED green light flashing slowly, the prompt information corresponding to [35, 75) is LED green light flashing quickly, and the prompt information corresponding to [75, 115) is LED orange light. The light is flickering, and the prompt information corresponding to [115, 150) is that the red LED light is flickering.

确定空气质量所处的污染度区间后,根据该污染度区间和对应关系获取对应的提示信息。After determining the pollution degree interval of the air quality, the corresponding prompt information is obtained according to the pollution degree interval and the corresponding relationship.

S209,在该智能手机上显示该提示信息。S209, displaying the prompt information on the smart phone.

具体地,获取到提示信息后,在智能手机上显示该提示信息。例如,获取到的提示信息为“轻度污染”时,在智能手机的显示屏上显示该提示信息。获取到的提示信息为LED橙灯闪烁时,以橙色点亮智能手机上的LED灯。Specifically, after the prompt information is acquired, the prompt information is displayed on the smart phone. For example, when the acquired prompt information is "slightly polluted", the prompt information is displayed on the display screen of the smart phone. The obtained prompt information is that when the LED orange light is blinking, light up the LED light on the smart phone in orange.

具体实施时,本发明不受所描述的各个步骤的执行顺序的限制,在不产生冲突的情况下,某些步骤还可以采用其它顺序进行或者同时进行。During specific implementation, the present invention is not limited by the execution order of the described steps, and some steps may be performed in other orders or simultaneously if no conflict arises.

由上可知,本发明实施例提供的检测空气质量的方法,采用获取智能手机所处环境的环境光强度;判断该环境光强度是否大于预设环境光强度;若判断结果为是,则获取该智能手机所处环境的空气质量信息;获取该智能手机内部的温度;根据该温度获取对应的空气质量信息的补偿值;根据该补偿值修正该空气质量信息,以得到修正后的空气质量信息;根据该修正后的空气质量信息确定空气质量所处的污染度区间;根据该污染度区间获取对应的提示信息;在该智能手机上显示该提示信息。该方案在智能手机所处环境的环境光强度大于预设环境光强度时,获取智能手机所处环境的空气质量信息,并根据智能手机内部温度获取补偿值,以该补偿值修正该空气质量信息,根据空气质量所处的污染度区间获取提示信息,并在该智能手机上显示该提示信息。智能手机只在环境光强度大于预设强度时,获取所处环境的空气质量信息,并对该空气质量信息进行修正,相对于现有技术而言,不再是通过固定的监测点去检测空气质量,而是能够检测智能手机所处环境的实时空气质量,由此提高了检测空气质量的准确性。As can be seen from the above, the method for detecting air quality provided by the embodiments of the present invention uses the method of obtaining the ambient light intensity of the environment where the smartphone is located; judging whether the ambient light intensity is greater than the preset ambient light intensity; if the judgment result is yes, then obtaining the ambient light intensity. The air quality information of the environment where the smartphone is located; obtaining the temperature inside the smartphone; obtaining the compensation value of the corresponding air quality information according to the temperature; correcting the air quality information according to the compensation value to obtain the corrected air quality information; According to the corrected air quality information, the pollution degree interval of the air quality is determined; corresponding prompt information is obtained according to the pollution degree interval; and the prompt information is displayed on the smart phone. This solution obtains the air quality information of the environment where the smartphone is located when the ambient light intensity of the environment where the smartphone is located is greater than the preset ambient light intensity, and obtains a compensation value based on the internal temperature of the smartphone, and uses the compensation value to correct the air quality information , to obtain prompt information according to the pollution degree range of the air quality, and display the prompt information on the smart phone. The smart phone only obtains the air quality information of the environment when the ambient light intensity is greater than the preset intensity, and corrects the air quality information. Compared with the existing technology, it is no longer a fixed monitoring point to detect the air quality. Instead, it can detect the real-time air quality of the environment where the smartphone is located, thereby improving the accuracy of air quality detection.

实施例三Embodiment three

为了更好地实施以上方法,本发明实施例还提供一种检测空气质量的装置,该装置可以集成在终端中,该终端可以是智能手机、平板电脑等设备。In order to better implement the above method, an embodiment of the present invention also provides a device for detecting air quality, which can be integrated into a terminal, and the terminal can be a smart phone, a tablet computer, and other devices.

如图3所示,检测空气质量的装置可以包括:第一获取模块301、判断模块302、第二获取模块303、提示模块304,具体描述如下:As shown in Figure 3, the device for detecting air quality may include: a first acquisition module 301, a judgment module 302, a second acquisition module 303, and a prompt module 304, specifically described as follows:

该第一获取模块301,用于获取终端所处环境的环境信息;The first acquiring module 301 is configured to acquire environmental information of the environment where the terminal is located;

该判断模块302,用于根据该环境信息判断该终端是否处于开阔环境中;The judging module 302 is configured to judge whether the terminal is in an open environment according to the environment information;

该第二获取模块303,用于在该判断模块判断为是时,获取该终端所处环境的空气质量信息;The second acquiring module 303 is configured to acquire the air quality information of the environment where the terminal is located when the judging module judges yes;

该提示模块304,用于根据该空气质量信息在该终端上显示相应的提示信息。The prompt module 304 is configured to display corresponding prompt information on the terminal according to the air quality information.

优选地,如图4所示,该检测空气质量的装置还包括:第三获取模块305、修正模块306,具体如下:Preferably, as shown in FIG. 4 , the device for detecting air quality further includes: a third acquisition module 305 and a correction module 306, specifically as follows:

该第三获取模块305,用于获取空气质量信息的补偿值;The third obtaining module 305 is used to obtain the compensation value of the air quality information;

该修正模块306,用于根据该补偿值修正该空气质量信息,以得到修正后的空气质量信息;The correction module 306 is configured to correct the air quality information according to the compensation value, so as to obtain corrected air quality information;

该提示模块304具体用于:The prompt module 304 is specifically used for:

根据该修正后的空气质量信息在该终端上显示相应的提示信息。According to the corrected air quality information, corresponding prompt information is displayed on the terminal.

优选地,该第三获取模块305具体用于:Preferably, the third obtaining module 305 is specifically configured to:

获取该终端内部的温度;Obtain the temperature inside the terminal;

根据该温度获取对应的空气质量信息的补偿值。The compensation value of the corresponding air quality information is obtained according to the temperature.

优选地,如图5所示,该提示模块304包括:确定子模块3041、获取子模块3042、提示子模块3043,具体如下:Preferably, as shown in Figure 5, the prompt module 304 includes: a determination submodule 3041, an acquisition submodule 3042, and a prompt submodule 3043, specifically as follows:

该确定子模块3041,用于根据该空气质量信息确定空气质量所处的污染度区间;The determination sub-module 3041 is used to determine the pollution degree interval of the air quality according to the air quality information;

该获取子模块3042,用于根据该污染度区间获取对应的提示信息;The obtaining sub-module 3042 is used to obtain corresponding prompt information according to the pollution degree interval;

该提示子模块3043,用于在该终端上显示该提示信息。The prompt submodule 3043 is configured to display the prompt information on the terminal.

具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现。以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。During specific implementation, each of the above modules may be implemented as an independent entity, or may be combined arbitrarily to be implemented as the same or several entities. For the specific implementation of the above modules, reference may be made to the foregoing method embodiments, and details are not repeated here.

由上可知,本发明实施例提供的检测空气质量的装置,通过第一获取模块301获取终端所处环境的环境信息;判断模块302根据该环境信息判断该终端是否处于开阔环境中;第二获取模块303在该判断模块302的判断结果为是时,获取该终端所处环境的空气质量信息;提示模块304根据该空气质量信息在该终端上显示相应的提示信息。该方案在判断出终端处于开阔环境时,获取终端所处环境的空气质量信息,并在该终端上显示提示信息。终端只在处于开阔环境中时,获取所处环境的空气质量信息,相对于现有技术而言,不再是通过固定的监测点去检测空气质量,而是能够检测终端所处环境的实时空气质量,由此提高了检测空气质量的准确性。It can be seen from the above that the device for detecting air quality provided by the embodiment of the present invention acquires the environmental information of the environment where the terminal is located through the first acquiring module 301; the judging module 302 judges whether the terminal is in an open environment according to the environmental information; the second acquiring Module 303 obtains the air quality information of the environment where the terminal is located when the determination result of the determination module 302 is yes; the prompt module 304 displays corresponding prompt information on the terminal according to the air quality information. In this solution, when it is judged that the terminal is in an open environment, the air quality information of the environment where the terminal is located is obtained, and a prompt message is displayed on the terminal. The terminal only obtains the air quality information of the environment when it is in an open environment. Compared with the existing technology, it no longer detects the air quality through fixed monitoring points, but can detect the real-time air quality of the environment where the terminal is located. quality, thereby improving the accuracy of detecting air quality.

实施例四Embodiment Four

本发明实施例还提供一种终端,该终端可以是智能手机、平板电脑等设备。The embodiment of the present invention also provides a terminal, and the terminal may be a device such as a smart phone or a tablet computer.

如图6所示,终端400可以包括:第一获取模块401、判断模块402、第二获取模块403、提示模块404,具体描述如下:As shown in FIG. 6, the terminal 400 may include: a first acquisition module 401, a judgment module 402, a second acquisition module 403, and a prompt module 404, which are specifically described as follows:

该第一获取模块401,用于获取终端所处环境的环境信息;The first acquiring module 401 is configured to acquire environmental information of the environment where the terminal is located;

该判断模块402,用于根据该环境信息判断该终端是否处于开阔环境中;The judging module 402 is configured to judge whether the terminal is in an open environment according to the environment information;

该第二获取模块403,用于在该判断模块判断为是时,获取该终端所处环境的空气质量信息;The second acquiring module 403 is configured to acquire the air quality information of the environment where the terminal is located when the judging module judges yes;

该提示模块404,用于根据该空气质量信息在该终端上显示相应的提示信息。The prompt module 404 is configured to display corresponding prompt information on the terminal according to the air quality information.

优选地,终端400还包括:第三获取模块、修正模块,具体如下:Preferably, the terminal 400 also includes: a third acquisition module and a correction module, specifically as follows:

该第三获取模块,用于获取空气质量信息的补偿值;The third acquisition module is used to acquire the compensation value of the air quality information;

该修正模块,用于根据该补偿值修正该空气质量信息,以得到修正后的空气质量信息;The correction module is used to correct the air quality information according to the compensation value, so as to obtain the corrected air quality information;

该提示模块404具体用于:The prompt module 404 is specifically used for:

根据该修正后的空气质量信息在该终端上显示相应的提示信息。According to the corrected air quality information, corresponding prompt information is displayed on the terminal.

优选地,该第三获取模块具体用于:Preferably, the third acquisition module is specifically used for:

获取该终端内部的温度;Obtain the temperature inside the terminal;

根据该温度获取对应的空气质量信息的补偿值。The compensation value of the corresponding air quality information is obtained according to the temperature.

优选地,该提示模块404包括:确定子模块、获取子模块、提示子模块,具体如下:Preferably, the prompt module 404 includes: a determination submodule, an acquisition submodule, and a prompt submodule, specifically as follows:

该确定子模块,用于根据该空气质量信息确定空气质量所处的污染度区间;The determination sub-module is used to determine the pollution degree interval of the air quality according to the air quality information;

该获取子模块,用于根据该污染度区间获取对应的提示信息;The obtaining sub-module is used to obtain corresponding prompt information according to the pollution degree interval;

该提示子模块,用于在该终端上显示该提示信息。The prompt submodule is used to display the prompt information on the terminal.

上述操作具体可参见前面的方法实施例,在此不再赘述。For details of the above operations, reference may be made to the foregoing method embodiments, and details are not repeated here.

本发明实施例还提供另一种终端,如图7所示,该终端500可以包括射频(RF,RadioFrequency)电路501、包括有一个或一个以上计算机可读存储介质的存储器502、输入单元503、显示单元504、传感器505、音频电路506、无线保真(WiFi,Wireless Fidelity)模块507、包括有一个或者一个以上处理核心的处理器508、以及电源509等部件。本领域技术人员可以理解,图7中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The embodiment of the present invention also provides another terminal. As shown in FIG. 7, the terminal 500 may include a radio frequency (RF, Radio Frequency) circuit 501, a memory 502 including one or more computer-readable storage media, an input unit 503, A display unit 504 , a sensor 505 , an audio circuit 506 , a wireless fidelity (WiFi, Wireless Fidelity) module 507 , a processor 508 including one or more processing cores, and a power supply 509 and other components. Those skilled in the art can understand that the terminal structure shown in FIG. 7 does not constitute a limitation on the terminal, and may include more or less components than those shown in the figure, or combine some components, or arrange different components.

射频电路501可用于收发信息,或通话过程中信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器508处理;另外,将涉及上行的数据发送给基站。通常,射频电路501包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM,Subscriber Identity Module)卡、收发信机、耦合器、低噪声放大器(LNA,Low Noise Amplifier)、双工器等。此外,射频电路501还可以通过无线通信与网络和其他设备通信。该无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GSM,Global System of Mobile communication)、通用分组无线服务(GPRS,GeneralPacket Radio Service)、码分多址(CDMA,Code Division Multiple Access)、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、长期演进(LTE,Long TermEvolution)、电子邮件、短消息服务(SMS,Short Messaging Service)等。The radio frequency circuit 501 can be used to send and receive information, or to receive and send signals during a call. In particular, after receiving the downlink information of the base station, it is processed by one or more processors 508; in addition, the data related to the uplink is sent to the base station . Generally, the radio frequency circuit 501 includes but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM, Subscriber Identity Module) card, a transceiver, a coupler, a low noise amplifier (LNA, Low Noise Amplifier), duplexer, etc. In addition, the radio frequency circuit 501 can also communicate with the network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communications (GSM, Global System of Mobile communication), General Packet Radio Service (GPRS, General Packet Radio Service), Code Division Multiple Access (CDMA, Code Division Multiple Access), Wideband Code Division Multiple Access (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution), email, Short Message Service (SMS, Short Messaging Service), etc.

存储器502可用于存储软件程序以及模块。处理器508通过运行存储在存储器502的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器502还可以包括存储器控制器,以提供处理器508和输入单元503对存储器502的访问。The memory 502 can be used to store software programs as well as modules. The processor 508 executes various functional applications and data processing by running software programs and modules stored in the memory 502 . The memory 502 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of the terminal (such as audio data, phonebook, etc.) and the like. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 502 may further include a memory controller to provide access to the memory 502 by the processor 508 and the input unit 503 .

输入单元503可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,在一个具体的实施例中,输入单元503可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器508,并能接收处理器508发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面。除了触敏表面,输入单元503还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 503 can be used to receive input numbers or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, in a specific embodiment, the input unit 503 may include a touch-sensitive surface and other input devices. A touch-sensitive surface, also known as a touch display or trackpad, collects user touch operations on or near it (for example, the user uses a finger, stylus, etc. any suitable object or accessory on the touch-sensitive surface or on the touch-sensitive Operation near the surface), and drive the corresponding connection device according to the preset program. Optionally, the touch-sensitive surface may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 508, and can receive and execute commands sent by the processor 508. In addition, touch-sensitive surfaces can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to touch-sensitive surfaces, the input unit 503 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元504可用于显示由用户输入的信息或提供给用户的信息以及终端的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元504可包括显示面板,可选的,可以采用液晶显示器(LCD,Liquid Crystal Display)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。进一步的,触敏表面可覆盖显示面板,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器508以确定触摸事件的类型,随后处理器508根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图7中,触敏表面与显示面板是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面与显示面板集成而实现输入和输出功能。The display unit 504 can be used to display information input by or provided to the user and various graphical user interfaces of the terminal. These graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. The display unit 504 may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode), and the like. Further, the touch-sensitive surface can cover the display panel. When the touch-sensitive surface detects a touch operation on or near it, it is sent to the processor 508 to determine the type of the touch event, and then the processor 508 displays on the display according to the type of the touch event. The corresponding visual output is provided on the panel. Although in FIG. 7, the touch-sensitive surface and the display panel are used as two independent components to realize the input and input functions, in some embodiments, the touch-sensitive surface and the display panel can be integrated to realize the input and output functions.

终端还可包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在终端移动到耳边时,关闭显示面板和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The terminal may also include at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and/or the backlight when the terminal moves to the ear . As a kind of motion sensor, the gravitational acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used for applications that recognize the attitude of mobile phones (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. repeat.

音频电路506可通过扬声器、传声器提供用户与终端之间的音频接口。音频电路506可将接收到的音频数据转换成电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路506接收后转换为音频数据,再将音频数据输出处理器508处理后,经射频电路501以发送给比如另一终端,或者将音频数据输出至存储器502以便进一步处理。音频电路506还可能包括耳塞插孔,以提供外设耳机与终端的通信。The audio circuit 506 can provide an audio interface between the user and the terminal through a speaker or a microphone. The audio circuit 506 can convert the received audio data into an electrical signal, transmit it to the speaker, and the speaker converts it into a sound signal output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is converted into The audio data, after being processed by the audio data output processor 508, is sent to another terminal through the radio frequency circuit 501, or the audio data is output to the memory 502 for further processing. The audio circuit 506 may also include an earplug jack to provide communication between an external earphone and the terminal.

无线保真(WiFi)属于短距离无线传输技术,终端通过无线保真模块507可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图7示出了无线保真模块507,但是可以理解的是,其并不属于终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。Wireless Fidelity (WiFi) is a short-distance wireless transmission technology. The terminal can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 507. It provides users with wireless broadband Internet access. Although Fig. 7 shows the Wi-Fi module 507, it can be understood that it is not an essential component of the terminal, and can be completely omitted as required without changing the essence of the invention.

处理器508是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器502内的软件程序和/或模块,以及调用存储在存储器502内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。可选的,处理器508可包括一个或多个处理核心;优选的,处理器508可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器508中。The processor 508 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire terminal. By running or executing software programs and/or modules stored in the memory 502, and calling data stored in the memory 502, execution Various functions and processing data of the terminal, so as to monitor the terminal as a whole. Optionally, the processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 508 .

终端还包括给各个部件供电的电源509(比如电池)。优选的,电源可以通过电源管理系统与处理器508逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源509还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The terminal also includes a power source 509 (such as a battery) for powering various components. Preferably, the power supply can be logically connected to the processor 508 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 509 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

尽管图7中未示出,终端还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 7 , the terminal may also include a camera, a Bluetooth module, etc., which will not be repeated here.

具体在本实施例中,终端中的处理器508会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器502中,并由处理器508来运行存储在存储器502中的应用程序,从而实现各种功能:Specifically, in this embodiment, the processor 508 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 508 runs the executable file stored in the memory. 502 in order to achieve various functions:

获取终端所处环境的环境信息;根据该环境信息判断该终端是否处于开阔环境中;若判断结果为是,则获取该终端所处环境的空气质量信息;根据该空气质量信息在该终端上显示相应的提示信息。Obtain the environmental information of the environment where the terminal is located; judge whether the terminal is in an open environment according to the environmental information; if the judgment result is yes, obtain the air quality information of the environment where the terminal is located; display on the terminal according to the air quality information corresponding prompt information.

优选地,处理器508具有第一获取模块、判断模块、第二获取模块、提示模块,具体描述如下:Preferably, the processor 508 has a first acquisition module, a judgment module, a second acquisition module, and a prompt module, which are specifically described as follows:

处理器508用于通过第一获取模块获取终端所处环境的环境信息;The processor 508 is configured to acquire the environmental information of the environment where the terminal is located through the first acquiring module;

处理器508用于通过判断模块根据该环境信息判断该终端是否处于开阔环境中;The processor 508 is configured to judge whether the terminal is in an open environment according to the environment information through the judging module;

处理器508用于通过第二获取模块在该判断模块的判断结果为是时,获取该终端所处环境的空气质量信息;The processor 508 is configured to acquire the air quality information of the environment where the terminal is located when the determination result of the determination module is yes through the second acquisition module;

处理器508用于通过提示模块根据该空气质量信息在该终端上显示相应的提示信息。The processor 508 is configured to display corresponding prompt information on the terminal according to the air quality information through the prompt module.

上述操作具体可参见前面的方法实施例,在此不再赘述。For details of the above operations, reference may be made to the foregoing method embodiments, and details are not repeated here.

由上可知,本发明实施例提供了一种终端,通过获取终端所处环境的环境信息;根据该环境信息判断该终端是否处于开阔环境中;若判断结果为是,则获取该终端所处环境的空气质量信息;根据该空气质量信息在该终端上显示相应的提示信息。该方案在判断出终端处于开阔环境时,获取终端所处环境的空气质量信息,并在该终端上显示提示信息。终端只在处于开阔环境中时,获取所处环境的空气质量信息,相对于现有技术而言,不再是通过固定的监测点去检测空气质量,而是能够检测终端所处环境的实时空气质量,由此提高了检测空气质量的准确性。It can be seen from the above that the embodiment of the present invention provides a terminal, by obtaining the environment information of the environment where the terminal is located; judging whether the terminal is in an open environment according to the environment information; if the judgment result is yes, then obtaining the environment information of the terminal air quality information; display corresponding prompt information on the terminal according to the air quality information. In this solution, when it is judged that the terminal is in an open environment, the air quality information of the environment where the terminal is located is obtained, and a prompt message is displayed on the terminal. The terminal only obtains the air quality information of the environment when it is in an open environment. Compared with the existing technology, it no longer detects the air quality through fixed monitoring points, but can detect the real-time air quality of the environment where the terminal is located. quality, thereby improving the accuracy of detecting air quality.

需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。It should be noted that those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. The medium may include: a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.

以上对本发明实施例所提供的一种检测空气质量的方法、装置及终端进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A method, device, and terminal for detecting air quality provided by the embodiments of the present invention have been described above in detail. In this paper, specific examples are used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for To help understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and application range. In summary, the content of this specification is not It should be understood as a 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 method, device and terminal for detecting air quality Pending CN106248542A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

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 method, device and terminal for detecting air quality

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 珠海格力电器股份有限公司 Method and system for 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 reminder method, 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 北京泰华恒越科技发展有限责任公司 An intelligent ambient 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 广东欧珀移动通信有限公司 Method and device for adjusting screen brightness

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 北京泰华恒越科技发展有限责任公司 An intelligent ambient 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 广东欧珀移动通信有限公司 Method and device for adjusting screen brightness

Cited By (8)

* 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
CN108749410B (en) * 2018-05-31 2024-06-11 南京奎道科技有限公司 Classroom control terminal with environment detection function
CN109029576A (en) * 2018-07-31 2018-12-18 珠海格力电器股份有限公司 Method and system for detecting environment value
CN113542484A (en) * 2020-03-30 2021-10-22 Oppo广东移动通信有限公司 Air quality reminder method, 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
CN107943345B (en) Calibration method, device, storage medium and electronic device for proximity sensor
CN106248542A (en) A method, device and terminal for detecting air quality
CN104518953B (en) Method for deleting message, instant communication terminal and system
CN106453830A (en) A fall detection method and device
CN105469775A (en) Method for adjusting brightness of display screen and terminal equipment
CN106714103B (en) A kind of network positioning method and terminal device
CN105739699B (en) Message prompt control method and terminal equipment
CN107172671B (en) A channel switching method, device, storage medium and terminal
CN107277912A (en) A kind of Radio frequency interference processing method, device, storage medium and terminal
WO2018032581A1 (en) Method and apparatus for application program control
CN106982097A (en) Radio frequency interference elimination method, device, storage medium and terminal
CN107942306A (en) Calibration method, device, storage medium and electronic equipment for proximity sensor
CN108574778A (en) Screen projection brightness adjusting method and related product
CN103455330A (en) Application program management method, terminal, equipment and system
CN106487984B (en) A kind of method and apparatus adjusting volume
CN108958606A (en) Multi-screen display method, device, storage medium and electronic equipment
CN105094501B (en) Method, device and system for displaying messages in mobile terminal
CN103823626A (en) Method and device for regulating display contents and electronic equipment
CN106646440A (en) Drop height detection method and drop height detection device
CN106603740A (en) Network connection abnormality processing method and terminal equipment
CN106445336A (en) Quick acquisition method of electronic resources and mobile terminal
CN107104930A (en) It is a kind of that the methods, devices and systems for checking authority are set
CN107734618B (en) Application program closing method and device, storage medium and electronic equipment
CN106161800A (en) Incoming call reminding method and device and mobile communication terminal
CN107528958A (en) Method for controlling mobile terminal, device, readable storage medium storing program for executing and mobile terminal

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