CN108592954A - Air quality detection method and device and intelligent wearable equipment - Google Patents
Air quality detection method and device and intelligent wearable equipment Download PDFInfo
- Publication number
- CN108592954A CN108592954A CN201810387784.6A CN201810387784A CN108592954A CN 108592954 A CN108592954 A CN 108592954A CN 201810387784 A CN201810387784 A CN 201810387784A CN 108592954 A CN108592954 A CN 108592954A
- Authority
- CN
- China
- Prior art keywords
- air quality
- wearable device
- quality data
- intelligent wearable
- unqualified
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING 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
- G01D1/00—Measuring arrangements giving results other than momentary value of variable, of general application
- G01D1/02—Measuring arrangements giving results other than momentary value of variable, of general application giving mean values, e.g. root means square values
-
- G—PHYSICS
- G04—HOROLOGY
- G04B—MECHANICALLY-DRIVEN CLOCKS OR WATCHES; MECHANICAL PARTS OF CLOCKS OR WATCHES IN GENERAL; TIME PIECES USING THE POSITION OF THE SUN, MOON OR STARS
- G04B47/00—Time-pieces combined with other articles which do not interfere with the running or the time-keeping of the time-piece
- G04B47/06—Time-pieces combined with other articles which do not interfere with the running or the time-keeping of the time-piece with attached measuring instruments, e.g. pedometer, barometer, thermometer or compass
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Emergency Alarm Devices (AREA)
Abstract
Description
技术领域technical field
本发明涉及智能穿戴技术领域,尤其涉及一种空气质量检测的方法、装置、智能穿戴设备及计算机可读存储介质。The present invention relates to the field of smart wear technology, in particular to a method and device for air quality detection, a smart wear device and a computer-readable storage medium.
背景技术Background technique
随着生活水平的提高,人们对空气质量的要求也越来越高,人们希望实时掌握室外的空气质量状况,并以此来安排自己的出行、锻炼等活动。With the improvement of living standards, people's requirements for air quality are getting higher and higher. People hope to know the outdoor air quality in real time, and use it to arrange their own travel, exercise and other activities.
然而,市面上已有的大多数空气质量检测设备,虽然集成了众多传感器,可以实现对空气中有害物质的检测,但由于体积非常庞大,不利于携带,而且操作比较繁琐,影响了检测的效率。However, most of the existing air quality detection equipment on the market, although integrating many sensors, can detect harmful substances in the air, but due to its large size, it is not easy to carry, and the operation is cumbersome, which affects the efficiency of detection .
故有必要提出一种新的技术方案,以解决上述技术问题。Therefore it is necessary to propose a new technical solution to solve the above technical problems.
发明内容Contents of the invention
鉴于此,本发明实施例提供了一种空气质量检测的方法、装置及智能穿戴设备,可以利用便携式的穿戴设备进行空气质量的检测,并提高空气质量的检测效率。In view of this, the embodiments of the present invention provide an air quality detection method, device, and smart wearable device, which can use a portable wearable device to detect air quality and improve the detection efficiency of air quality.
本发明实施例的第一方面提供了一种空气质量检测的方法,应用于智能穿戴设备,所述方法包括:The first aspect of the embodiments of the present invention provides a method for air quality detection, which is applied to smart wearable devices, and the method includes:
检测所述智能穿戴设备当前所处环境的空气质量数据;Detect air quality data of the environment where the smart wearable device is currently located;
根据检测到的所述空气质量数据确定当前的空气质量是否合格;Determine whether the current air quality is qualified according to the detected air quality data;
若当前的空气质量不合格,则进行提示。If the current air quality is unqualified, a prompt will be given.
本发明实施例的第二方面提供了一种空气质量检测的装置,应用于智能穿戴设备,所述装置包括:The second aspect of the embodiment of the present invention provides an air quality detection device, which is applied to smart wearable devices, and the device includes:
检测模块,用于检测所述智能穿戴设备当前所处环境的空气质量数据;A detection module, configured to detect the air quality data of the environment where the smart wearable device is currently located;
判断模块,用于根据检测到的所述空气质量数据确定当前的空气质量是否合格;A judging module, configured to determine whether the current air quality is qualified according to the detected air quality data;
提示模块,用于若当前的空气质量不合格,则进行提示。The prompting module is used for prompting if the current air quality is unqualified.
本发明实施例的第三方面提供了一种智能穿戴设备,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,上述处理器执行上述计算机程序时实现上述第一方面提及的方法。The third aspect of the embodiment of the present invention provides a smart wearable device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the above-mentioned first aspect is realized when the above-mentioned processor executes the above-mentioned computer program mentioned method.
本发明实施例的第四方面提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,上述计算机程序被处理器执行时实现上述第一方面提及的方法。A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method mentioned in the above-mentioned first aspect is implemented.
本发明实施例与现有技术相比存在的有益效果是:在本实施例中,检测所述智能穿戴设备当前所处环境的空气质量数据,根据检测到的所述空气质量数据确定当前的空气质量是否合格,若当前的空气质量不合格,则进行提示。本发明实施例通过便携式智能穿戴设备可以实时检测当前的空气质量,从而提高空气质量的检测效率,具有较强的易用性和实用性。Compared with the prior art, the embodiment of the present invention has the following beneficial effects: in this embodiment, the air quality data of the environment where the smart wearable device is currently located is detected, and the current air quality is determined according to the detected air quality data. Whether the air quality is up to standard, if the current air quality is not up to standard, a prompt will be given. The embodiment of the present invention can detect the current air quality in real time through the portable smart wearable device, thereby improving the detection efficiency of the air quality, and having strong usability and practicability.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only of the present invention. For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without paying creative efforts.
图1为本发明实施例一提供的空气质量检测的方法的流程示意图;Fig. 1 is a schematic flow chart of the method for air quality detection provided by Embodiment 1 of the present invention;
图2为本发明实施例二提供的空气质量检测的方法的流程示意图;Fig. 2 is a schematic flow chart of the method for air quality detection provided by Embodiment 2 of the present invention;
图3为本发明实施例三提供的空气质量检测的装置的结构示意图;3 is a schematic structural diagram of an air quality detection device provided in Embodiment 3 of the present invention;
图4为本发明实施例四提供的智能穿戴设备的结构示意图。FIG. 4 is a schematic structural diagram of a smart wearable device provided by Embodiment 4 of the present invention.
具体实施方式Detailed ways
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本发明实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。In the following description, specific details such as specific system structures and technologies are presented for illustration rather than limitation, so as to thoroughly understand the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and/or components, but does not exclude one or more other features. , whole, step, operation, element, component and/or the presence or addition of a collection thereof.
还应当理解,在此本发明说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本发明。如在本发明说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should also be understood that the terminology used in the description of the present invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the present invention. As used in this specification and the appended claims, the singular forms "a", "an" and "the" are intended to include plural referents unless the context clearly dictates otherwise.
还应当进一步理解,在本发明说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be further understood that the term "and/or" used in the description of the present invention and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations .
如在本说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in this specification and the appended claims, the term "if" may be construed as "when" or "once" or "in response to determining" or "in response to detecting" depending on the context . Similarly, the phrases "if determined" or "if [the described condition or event is detected]" may be construed, depending on the context, to mean "once determined" or "in response to the determination" or "once detected [the described condition or event] ]” or “in response to detection of [described condition or event]”.
具体实现中,本发明实施例中描述的移动终端包括但不限于诸如具有触摸敏感表面(例如,触摸屏显示器和/或触摸板)的移动电话、膝上型计算机或平板计算机之类的其它便携式设备。还应当理解的是,在某些实施例中,所述设备并非便携式通信设备,而是具有触摸敏感表面(例如,触摸屏显示器和/或触摸板)的台式计算机。In a specific implementation, the mobile terminals described in the embodiments of the present invention include but are not limited to other portable devices such as mobile phones, laptop computers or tablet computers with touch-sensitive surfaces (for example, touch screen displays and/or touch pads) . It should also be appreciated that in some embodiments, the device is not a portable communication device, but a desktop computer with a touch-sensitive surface (eg, a touchscreen display and/or a touchpad).
在接下来的讨论中,描述了包括显示器和触摸敏感表面的移动终端。然而,应当理解的是,移动终端可以包括诸如物理键盘、鼠标和/或控制杆的一个或多个其它物理用户接口设备。In the ensuing discussion, a mobile terminal including a display and a touch-sensitive surface is described. However, it should be understood that a mobile terminal may include one or more other physical user interface devices such as a physical keyboard, mouse and/or joystick.
移动终端支持各种应用程序,例如以下中的一个或多个:绘图应用程序、演示应用程序、文字处理应用程序、网站创建应用程序、盘刻录应用程序、电子表格应用程序、游戏应用程序、电话应用程序、视频会议应用程序、电子邮件应用程序、即时消息收发应用程序、锻炼支持应用程序、照片管理应用程序、数码相机应用程序、数字摄影机应用程序、web浏览应用程序、数字音乐播放器应用程序和/或数字视频播放器应用程序。The mobile terminal supports various applications such as one or more of the following: drawing application, presentation application, word processing application, website creation application, disk burning application, spreadsheet application, game application, telephone applications, video conferencing applications, email applications, instant messaging applications, exercise support applications, photo management applications, digital camera applications, digital video camera applications, web browsing applications, digital music player applications and/or digital video player applications.
可以在移动终端上执行的各种应用程序可以使用诸如触摸敏感表面的至少一个公共物理用户接口设备。可以在应用程序之间和/或相应应用程序内调整和/或改变触摸敏感表面的一个或多个功能以及终端上显示的相应信息。这样,终端的公共物理架构(例如,触摸敏感表面)可以支持具有对用户而言直观且透明的用户界面的各种应用程序。Various applications that can be executed on the mobile terminal can use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal may be adjusted and/or changed between applications and/or within the respective applications. In this way, the common physical architecture (eg, touch-sensitive surface) of the terminal can support various applications with a user interface that is intuitive and transparent to the user.
应理解,本实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in this embodiment do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present invention.
为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.
实施例一Embodiment one
图1是本发明实施例一提供的空气质量检测的方法的流程示意图,该方法可以包括以下步骤:Fig. 1 is a schematic flow chart of the method for air quality detection provided by Embodiment 1 of the present invention, the method may include the following steps:
S101:检测所述智能穿戴设备当前所处环境的空气质量数据。S101: Detect air quality data of the environment where the smart wearable device is currently located.
在一个实施例中,所述智能穿戴设备包括智能手表,所述空气质量检测方法用于检测室外的空气质量状况。In one embodiment, the smart wearable device includes a smart watch, and the air quality detection method is used to detect outdoor air quality conditions.
在一个实施例中,当所述空气质量数据为直径小于或等于2.5微米的细颗粒物的浓度数据(PM2.5的浓度)时,可通过在所述智能穿戴设备上设置的单一传感器来检测所述智能穿戴设备当前所处环境的空气质量数据,其中所述传感器包括激光传感器和红外传感器。In one embodiment, when the air quality data is the concentration data of fine particulate matter (PM2.5 concentration) with a diameter less than or equal to 2.5 microns, the air quality data can be detected by a single sensor set on the smart wearable device. The air quality data of the environment where the smart wearable device is currently located, wherein the sensors include laser sensors and infrared sensors.
在一个实施例中,可以结合更多的数据来确定室外的空气质量,例如:气象数据等关联信息,所述气象数据可以包括所在地未来24小时的天气预报值,如风力,风向,降雨,气温,气压,湿度等。In one embodiment, more data can be combined to determine the outdoor air quality, for example: related information such as meteorological data, which can include the weather forecast value of the location in the next 24 hours, such as wind force, wind direction, rainfall, temperature , air pressure, humidity, etc.
S102:根据检测到的所述空气质量数据确定当前的空气质量是否合格。S102: Determine whether the current air quality is qualified according to the detected air quality data.
可选的,根据室外PM2.5的浓度获得室外的空气质量指数,并将该空气质量指数与预定的空气质量指标进行比较,根据比较结果确定所述当前的空气质量是否合格。由于气象部门或其它服务机构会对各个地区的室外空气质量进行监控,可以通过互联网的方式获取气象部门或其它服务机构提供的预定的空气质量指数。Optionally, the outdoor air quality index is obtained according to the concentration of outdoor PM2.5, and the air quality index is compared with a predetermined air quality index, and whether the current air quality is qualified is determined according to the comparison result. Since the meteorological department or other service organizations will monitor the outdoor air quality in various regions, the predetermined air quality index provided by the meteorological department or other service organizations can be obtained through the Internet.
S103:若当前的空气质量不合格,则进行提示。S103: Prompt if the current air quality is unqualified.
在一个实施例中,若当前的空气质量不合格,则提示所述智能穿戴设备所在用户当前空气质量不合格。例如:当检测到的PM2.5的浓度为100μg/m3时,判定所述当前的空气质量不合格,并通过语音循环播放的方式提示当前检测到的空气质量较差,儿童、老年人及心脏病、呼吸系统疾病患者应减少长时间、高强度的户外锻炼。可选的,在进行语音播报的同时显示当前的空气质量等级,以便更加直观的给予提示和警告。In one embodiment, if the current air quality is unqualified, the user where the smart wearable device is located is prompted that the current air quality is unqualified. For example: when the detected PM2.5 concentration is 100μg/m3, it is determined that the current air quality is unqualified, and the currently detected air quality is poor through voice loop playback, and children, the elderly and the heart Patients with respiratory diseases and respiratory diseases should reduce long-term, high-intensity outdoor exercise. Optionally, the current air quality level is displayed while the voice announcement is being made, so as to give prompts and warnings more intuitively.
以一种具体的应用场景为例,某小孩在室外与小伙伴们玩耍,通过小孩手上佩戴的智能手表可以实时检测小孩当前所处环境的空气质量,在环境质量不合格时,及时语音提示小孩不要在污染环境下长时间逗留,并同步向室内家长的手机上发送不合格的空气质量数据,手机在对该数据进行处理后也会及时提示室内的家长您的小孩当前所处的空气质量不合格。Take a specific application scenario as an example. A child is playing outdoors with his friends. The smart watch worn by the child can detect the air quality of the child’s current environment in real time. When the environmental quality is unqualified, timely voice prompts Children should not stay in the polluted environment for a long time, and send unqualified air quality data to the mobile phone of the parents in the room synchronously. After processing the data, the mobile phone will also promptly remind the parents in the room of the current air quality of your child. failed.
在本发明实施例中,充分利用智能穿戴设备的便携性、准确的分析功能来高效地实时检测空气质量数据的变化,有利于提高空气质量的检测效率;并能在空气质量不合格时,进行提示,使得智能穿戴设备所在用户可以及时针对较差的空气质量进行安全防护;另外,将检测结果及时同步至与所述智能穿戴设备绑定的移动终端上,可以实现远程监控,具有较强的易用性和实用性。In the embodiment of the present invention, making full use of the portability and accurate analysis function of smart wearable devices to efficiently detect changes in air quality data in real time, which is conducive to improving the detection efficiency of air quality; Tips, so that the user of the smart wearable device can timely protect against poor air quality; in addition, the detection results are synchronized to the mobile terminal bound to the smart wearable device in time, which can realize remote monitoring and has a strong Ease of use and practicality.
实施例二Embodiment two
图2是本发明实施例二提供的空气质量检测的方法的流程示意图,该方法可以包括以下步骤:Fig. 2 is a schematic flow chart of the method for air quality detection provided by Embodiment 2 of the present invention, the method may include the following steps:
S201:检测所述智能穿戴设备当前所处环境的光线强度值,若所述光线强度值高于预设的阈值,则检测所述智能穿戴设备当前所处环境的空气质量数据。S201: Detect the light intensity value of the environment where the smart wearable device is currently located, and if the light intensity value is higher than a preset threshold, detect the air quality data of the environment where the smart wearable device is currently located.
由于用户在使用智能手表进行空气质量检测的过程中,可能会出现被衣袖遮挡的情形,为进一步提高检测的效率,本发明实施例中根据环境光线强度来自动选择是否开启空气质量传感器的检测,从而避免得到无意义的检测数据;另外,也可以大幅度地降低智能手表的功耗。Since the user may be blocked by the sleeve during the process of using the smart watch to detect the air quality, in order to further improve the detection efficiency, in the embodiment of the present invention, it is automatically selected whether to enable the detection of the air quality sensor according to the intensity of the ambient light. , so as to avoid obtaining meaningless detection data; in addition, it can also greatly reduce the power consumption of smart watches.
可选的,在配备噪声传感器时,结合光线强度、噪声强度等对智能穿戴设备所处环境进行更精确判断,从而只在有意义做检测时开启空气质量传感器。Optionally, when equipped with a noise sensor, the environment in which the smart wearable device is located can be judged more accurately in combination with light intensity and noise intensity, so that the air quality sensor is only turned on when it is meaningful to detect.
S202:判断检测到的所述空气质量数据是否在预定的空气质量数据区间内,根据判断的结果确定当前的空气质量是否合格。S202: Judging whether the detected air quality data is within a predetermined air quality data interval, and determining whether the current air quality is qualified according to the judgment result.
示例性的,如下表所示,根据国家规定将空气污染指数划分为[0,50]、[51,100]、[101,150]、[151,200]、[201,300]和[301,500]六档,对应于空气质量的六个级别。其中,空气质量指数(Air Quality Index,简称AQI),是定量描述空气质量状况的无量纲数据,并且指数越大,级别越高,污染越严重,对人体健康的影响也越明显。当所述空气质量数据为PM2.5的浓度时,若将空气质量指数在范围[101,150]时对应的PM2.5的浓度区间[76,115]作为所述预设的空气质量数据区间,则在检测到的PM2.5的浓度在区间[76,115]内时,判定所述当前的空气质量不合格。For example, as shown in the table below, the air pollution index is divided into six levels [0,50], [51,100], [101,150], [151,200], [201,300] and [301,500] according to national regulations, corresponding to the air quality of six levels. Among them, the air quality index (Air Quality Index, referred to as AQI) is a dimensionless data that quantitatively describes the air quality status, and the larger the index, the higher the level, the more serious the pollution, and the more obvious the impact on human health. When the air quality data is the concentration of PM2.5, if the corresponding PM2.5 concentration interval [76,115] when the air quality index is in the range [101,150] is used as the preset air quality data interval, then in the detection When the detected PM2.5 concentration is within the interval [76, 115], it is determined that the current air quality is unqualified.
S203:若检测到的所述空气质量数据在预定的空气质量数据区间内,则根据所述空气质量数据区间与空气质量等级的对应关系,确定当前的空气质量数据对应的空气质量等级。S203: If the detected air quality data is within a predetermined air quality data interval, determine the air quality grade corresponding to the current air quality data according to the correspondence between the air quality data interval and the air quality grade.
在一个实施例中,若检测到的PM2.5的浓度为100μg/m3时,由于该数值刚好在预设的空气质量数据区间[76,115]内,则根据上表可以确定该空气质量数据对应的空气质量等级为轻等污染。In one embodiment, if the detected PM2.5 concentration is 100 μg/m3, since this value is just within the preset air quality data interval [76, 115], it can be determined according to the above table that the air quality data corresponds to The air quality level is light pollution.
S204:将所述不合格的空气质量数据发送至与所述智能穿戴设备绑定的移动终端,以指示所述移动终端根据所述空气质量数据执行相应的提示操作。S204: Send the unqualified air quality data to a mobile terminal bound to the smart wearable device, so as to instruct the mobile terminal to perform a corresponding prompt operation according to the air quality data.
其中,所述相应的提示操作包括提示用户当前的空气质量不合格以及不合格的等级。与所述智能穿戴设备绑定的移动终端是指与室外用户使用的智能穿戴设备相关联的移动终端,所述移动终端可以为一个或多个,当所述移动终端的数量为多个时,可以通过服务器的转发来获取所述不合格的空气质量数据。所述移动终端包括平板电脑、智能手机等,所述移动终端可通过Wi-Fi等通讯协议与所述智能穿戴设备连接。Wherein, the corresponding prompting operation includes prompting the user that the current air quality is unqualified and the level of unqualified. The mobile terminal bound to the smart wearable device refers to the mobile terminal associated with the smart wearable device used by outdoor users. There may be one or more mobile terminals. When there are multiple mobile terminals, The unqualified air quality data can be obtained through forwarding by the server. The mobile terminal includes a tablet computer, a smart phone, etc., and the mobile terminal can be connected to the smart wearable device through a communication protocol such as Wi-Fi.
由上可见,本发明实施例与实施例一相比,根据环境光线强度来自动选择是否开启空气质量传感器的检测,从而进一步提高检测的效率;另外,给出了确定当前的空气质量是否合格的具体实现方式,具有较强的易用性和实用性。It can be seen from the above that, compared with Embodiment 1, the embodiment of the present invention automatically selects whether to enable the detection of the air quality sensor according to the ambient light intensity, thereby further improving the detection efficiency; in addition, it provides a method for determining whether the current air quality is qualified. The specific implementation method has strong ease of use and practicability.
实施例三Embodiment three
图3是本发明实施例三提供的空气质量检测的装置的结构示意图,为了便于说明,仅示出了与本发明实施例相关的部分。FIG. 3 is a schematic structural diagram of an air quality detection device provided by Embodiment 3 of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown.
该空气质量检测的装置可以是内置于智能穿戴设备内的软件单元、硬件单元或者软硬结合的单元,也可以作为独立的挂件集成到所述智能穿戴设备中。The air quality detection device may be a software unit, a hardware unit or a combination of hardware and software built into the smart wearable device, or it may be integrated into the smart wearable device as an independent pendant.
所述空气质量检测的装置,包括:The device for air quality detection includes:
检测模块31,用于检测所述智能穿戴设备当前所处环境的空气质量数据;A detection module 31, configured to detect the air quality data of the environment where the smart wearable device is currently located;
判断模块32,用于根据检测到的所述空气质量数据确定当前的空气质量是否合格;A judging module 32, configured to determine whether the current air quality is qualified according to the detected air quality data;
提示模块33,用于若当前的空气质量不合格,则进行提示。Prompt module 33, used for prompting if the current air quality is unqualified.
在一个实施例中,所述检测模块31具体用于:In one embodiment, the detection module 31 is specifically used for:
检测所述智能穿戴设备当前所处环境的光线强度值;Detecting the light intensity value of the environment where the smart wearable device is currently located;
若所述光线强度值高于预设的阈值,则检测所述智能穿戴设备当前所处环境的空气质量数据。If the light intensity value is higher than the preset threshold, the air quality data of the environment where the smart wearable device is currently located is detected.
在一个实施例中,所述判断模块32具体用于:In one embodiment, the judging module 32 is specifically used for:
判断检测到的所述空气质量数据是否在预定的空气质量数据区间内,根据判断的结果确定当前的空气质量是否合格。Judging whether the detected air quality data is within a predetermined air quality data interval, and determining whether the current air quality is qualified according to the judgment result.
在一个实施例中,所述判断模块32具体还用于:In one embodiment, the judging module 32 is further configured to:
若检测到的所述空气质量数据在预定的空气质量数据区间内,则根据所述空气质量数据区间与空气质量等级的对应关系,确定当前的空气质量数据对应的空气质量等级。If the detected air quality data is within the predetermined air quality data interval, the air quality grade corresponding to the current air quality data is determined according to the correspondence between the air quality data interval and the air quality grade.
在一个实施例中,所述提示模块33具体用于:In one embodiment, the prompt module 33 is specifically used for:
若当前的空气质量不合格,则提示所述智能穿戴设备所在用户当前空气质量不合格,并语音播报或者显示当前的空气质量等级。If the current air quality is unqualified, it will prompt the user where the smart wearable device is located that the current air quality is unqualified, and voice broadcast or display the current air quality level.
在一个实施例中,所述装置还包括:In one embodiment, the device also includes:
发送模块,用于将所述不合格的空气质量数据发送至与所述智能穿戴设备绑定的移动终端,以指示所述移动终端根据所述空气质量数据执行相应的提示操作,其中,所述相应的提示操作包括提示用户当前的空气质量不合格以及不合格的等级。A sending module, configured to send the unqualified air quality data to a mobile terminal bound to the smart wearable device, so as to instruct the mobile terminal to perform a corresponding prompt operation according to the air quality data, wherein the The corresponding prompt operation includes prompting the user that the current air quality is unqualified and the level of the unqualified.
实施例四Embodiment four
图4是本发明实施例四提供的智能穿戴设备的结构示意图。如图4所示,该实施例的智能穿戴设备4包括:处理器40、存储器41以及存储在所述存储器41中并可在所述处理器40上运行的计算机程序42。所述处理器40执行所述计算机程序42时实现上述方法实施例一中的步骤,例如图1所示的步骤S101至S103。或者,实现上述方法实施例二中的步骤,例如图2所示的步骤S201至S204。所述处理器40执行所述计算机程序42时实现上述各装置实施例中各模块/单元的功能,例如图3所示模块31至33的功能。FIG. 4 is a schematic structural diagram of a smart wearable device provided by Embodiment 4 of the present invention. As shown in FIG. 4 , the smart wearable device 4 of this embodiment includes: a processor 40 , a memory 41 and a computer program 42 stored in the memory 41 and operable on the processor 40 . When the processor 40 executes the computer program 42, the steps in the first method embodiment above are implemented, for example, steps S101 to S103 shown in FIG. 1 . Alternatively, implement the steps in the second method embodiment above, such as steps S201 to S204 shown in FIG. 2 . When the processor 40 executes the computer program 42, it realizes the functions of the modules/units in the above-mentioned device embodiments, for example, the functions of the modules 31 to 33 shown in FIG. 3 .
示例性的,所述计算机程序42可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器41中,并由所述处理器40执行,以完成本发明。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序42在所述智能穿戴设备4中的执行过程。例如,所述计算机程序42可以被分割成检测模块、判断模块、模块、提示模块,各模块具体功能如下:Exemplarily, the computer program 42 can be divided into one or more modules/units, and the one or more modules/units are stored in the memory 41 and executed by the processor 40 to complete this invention. The one or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program 42 in the smart wearable device 4 . For example, the computer program 42 can be divided into a detection module, a judgment module, a module, and a prompt module, and the specific functions of each module are as follows:
检测模块,用于检测所述智能穿戴设备当前所处环境的空气质量数据;A detection module, configured to detect the air quality data of the environment where the smart wearable device is currently located;
判断模块,用于根据检测到的所述空气质量数据确定当前的空气质量是否合格;A judging module, configured to determine whether the current air quality is qualified according to the detected air quality data;
提示模块,用于若当前的空气质量不合格,则进行提示。The prompting module is used for prompting if the current air quality is unqualified.
所述智能穿戴设备可包括,但不仅限于,处理器40、存储器41。本领域技术人员可以理解,图4仅仅是智能穿戴设备4的示例,并不构成对智能穿戴设备4的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述智能穿戴设备还可以包括输入输出设备、网络接入设备、总线等。The smart wearable device may include, but not limited to, a processor 40 and a memory 41 . Those skilled in the art can understand that FIG. 4 is only an example of the smart wearable device 4, and does not constitute a limitation to the smart wearable device 4. It may include more or less components than those shown in the illustration, or combine certain components, or be different. For example, the smart wearable device may also include input and output devices, network access devices, buses, and the like.
所述处理器40可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 40 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
所述存储器41可以是所述智能穿戴设备4的内部存储单元,例如智能穿戴设备4的硬盘或内存。所述存储器41也可以是所述智能穿戴设备4的外部存储设备,例如所述智能穿戴设备4上配备的插接式硬盘,智能存储卡(Smart MediaCard,SMC),安全数字(SecureDigital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器41还可以既包括所述智能穿戴设备4的内部存储单元也包括外部存储设备。所述存储器41用于存储所述计算机程序以及所述智能穿戴设备所需的其他程序和数据。所述存储器41还可以用于暂时地存储已经输出或者将要输出的数据。The memory 41 may be an internal storage unit of the smart wearable device 4 , such as a hard disk or memory of the smart wearable device 4 . The memory 41 can also be an external storage device of the smart wearable device 4, such as a plug-in hard disk equipped on the smart wearable device 4, a smart memory card (Smart MediaCard, SMC), a secure digital (SecureDigital, SD) card, flash memory card (Flash Card), etc. Further, the memory 41 may also include both an internal storage unit of the smart wearable device 4 and an external storage device. The memory 41 is used to store the computer program and other programs and data required by the smart wearable device. The memory 41 can also be used to temporarily store data that has been output or will be output.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases, and for parts that are not detailed or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各实施例的模块、单元和/或方法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the modules, units and/or method steps of the embodiments described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention realizes all or part of the processes in the methods of the above embodiments, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer When the program is executed by the processor, the steps in the above-mentioned various method embodiments can be realized. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM, Read-Only Memory) , random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, computer-readable media Excludes electrical carrier signals and telecommunication signals.
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still understand the foregoing The technical solutions recorded in each embodiment are modified, or some of the technical features are replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810387784.6A CN108592954A (en) | 2018-04-26 | 2018-04-26 | Air quality detection method and device and intelligent wearable equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810387784.6A CN108592954A (en) | 2018-04-26 | 2018-04-26 | Air quality detection method and device and intelligent wearable equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108592954A true CN108592954A (en) | 2018-09-28 |
Family
ID=63609759
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810387784.6A Pending CN108592954A (en) | 2018-04-26 | 2018-04-26 | Air quality detection method and device and intelligent wearable equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108592954A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109889991A (en) * | 2019-04-28 | 2019-06-14 | 广东小天才科技有限公司 | Safety reminding method and device and mobile device |
| CN111596012A (en) * | 2020-07-02 | 2020-08-28 | 中科三清科技有限公司 | Air quality monitoring method, device, equipment and storage medium |
| CN114201693A (en) * | 2020-09-18 | 2022-03-18 | 英业达科技有限公司 | Provide database visual display and real-time checking data system and method |
| CN117216667A (en) * | 2023-11-08 | 2023-12-12 | 深圳市芯科云科技有限公司 | Processing method and system for monitoring environmental pollution degree based on intelligent watch |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN205015644U (en) * | 2015-08-24 | 2016-02-03 | 深圳市珂荣信息技术有限公司 | Wrist -watch is dressed to intelligence |
| CN106324193A (en) * | 2016-08-15 | 2017-01-11 | 广东欧珀移动通信有限公司 | Control method and device for detecting air quality and mobile terminal |
| CN106713452A (en) * | 2016-12-22 | 2017-05-24 | 深圳市中天明科技有限公司 | Monitor control system for indoor air monitoring |
| CN107015470A (en) * | 2017-04-06 | 2017-08-04 | 上海电机学院 | A kind of intelligent watch of combination movement environment detection |
| CN107085070A (en) * | 2017-03-14 | 2017-08-22 | 深圳市金立通信设备有限公司 | A kind of based reminding method and terminal based on air quality |
| CN207074392U (en) * | 2017-03-29 | 2018-03-06 | 天津永兴泰科技股份有限公司 | A kind of wearable device for being used to detect air quality |
-
2018
- 2018-04-26 CN CN201810387784.6A patent/CN108592954A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN205015644U (en) * | 2015-08-24 | 2016-02-03 | 深圳市珂荣信息技术有限公司 | Wrist -watch is dressed to intelligence |
| CN106324193A (en) * | 2016-08-15 | 2017-01-11 | 广东欧珀移动通信有限公司 | Control method and device for detecting air quality and mobile terminal |
| CN106713452A (en) * | 2016-12-22 | 2017-05-24 | 深圳市中天明科技有限公司 | Monitor control system for indoor air monitoring |
| CN107085070A (en) * | 2017-03-14 | 2017-08-22 | 深圳市金立通信设备有限公司 | A kind of based reminding method and terminal based on air quality |
| CN207074392U (en) * | 2017-03-29 | 2018-03-06 | 天津永兴泰科技股份有限公司 | A kind of wearable device for being used to detect air quality |
| CN107015470A (en) * | 2017-04-06 | 2017-08-04 | 上海电机学院 | A kind of intelligent watch of combination movement environment detection |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109889991A (en) * | 2019-04-28 | 2019-06-14 | 广东小天才科技有限公司 | Safety reminding method and device and mobile device |
| CN109889991B (en) * | 2019-04-28 | 2021-01-12 | 广东小天才科技有限公司 | A safety reminder method, device and mobile device |
| CN111596012A (en) * | 2020-07-02 | 2020-08-28 | 中科三清科技有限公司 | Air quality monitoring method, device, equipment and storage medium |
| CN114201693A (en) * | 2020-09-18 | 2022-03-18 | 英业达科技有限公司 | Provide database visual display and real-time checking data system and method |
| CN117216667A (en) * | 2023-11-08 | 2023-12-12 | 深圳市芯科云科技有限公司 | Processing method and system for monitoring environmental pollution degree based on intelligent watch |
| CN117216667B (en) * | 2023-11-08 | 2024-02-06 | 深圳市芯科云科技有限公司 | Processing method and system for monitoring environmental pollution degree based on intelligent watch |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI621011B (en) | Processor implementation method for variable haptic output, arithmetic device implementation method, computer program product, and information processing device | |
| CN108592954A (en) | Air quality detection method and device and intelligent wearable equipment | |
| JP7073592B1 (en) | User interface for managing audio exposure | |
| CN110622120A (en) | Voice communication method | |
| EP3779679A1 (en) | Method and apparatus for presenting virtual robot image | |
| CN106454139A (en) | Shooting method and mobile terminal | |
| CN107135316B (en) | A method, device, storage medium and terminal for adjusting call volume | |
| CN104461801B (en) | A kind of method of testing and system of touch-screen susceptibility | |
| CN107729781B (en) | Method for preventing loss of mobile terminal, mobile terminal and computer readable storage medium | |
| CN110266994A (en) | Video call method, video call device and terminal | |
| WO2015149509A1 (en) | Method and device for setting color ring tone and determining color ring tone music | |
| CN110765182B (en) | Data statistical method and device, electronic equipment and storage medium | |
| CN107404753B (en) | Volume adjustment method, device, terminal and storage medium | |
| CN106648326A (en) | Method for regulating screen-off time, and mobile terminal | |
| CN104808771A (en) | Device and method for detecting continuous attaching of head-wearing intelligent device on human body | |
| CN111142650B (en) | Screen brightness adjusting method, screen brightness adjusting device and terminal | |
| CN110351418B (en) | Screen control method, device, mobile terminal and computer readable medium | |
| CN204481911U (en) | With the mobile phone of air quality detecting device | |
| CN109697262A (en) | A kind of information display method and device | |
| CN110929159B (en) | Resource release method, device, equipment and medium | |
| CN112087717A (en) | A positioning method, wearable device, terminal device and readable storage medium | |
| CN104869254B (en) | Mobile terminal and its incoming call reminder system and method | |
| CN110618852A (en) | View processing method, view processing device and terminal equipment | |
| CN110086941A (en) | Voice playing method and device and terminal equipment | |
| CN106658232B (en) | Label editing method and electronic terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180928 |