WO2015196471A1 - 一种空气质量数值切换方法、装置及空气质量检测仪 - Google Patents

一种空气质量数值切换方法、装置及空气质量检测仪 Download PDF

Info

Publication number
WO2015196471A1
WO2015196471A1 PCT/CN2014/081000 CN2014081000W WO2015196471A1 WO 2015196471 A1 WO2015196471 A1 WO 2015196471A1 CN 2014081000 W CN2014081000 W CN 2014081000W WO 2015196471 A1 WO2015196471 A1 WO 2015196471A1
Authority
WO
WIPO (PCT)
Prior art keywords
interrupt signal
air quality
distance sensor
quality value
switching operation
Prior art date
Application number
PCT/CN2014/081000
Other languages
English (en)
French (fr)
Inventor
袁剑敏
Original Assignee
深圳华盛昌机械实业有限公司
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=51553774&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=WO2015196471(A1) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by 深圳华盛昌机械实业有限公司 filed Critical 深圳华盛昌机械实业有限公司
Priority to CN201480000487.1A priority Critical patent/CN104067119B/zh
Priority to PCT/CN2014/081000 priority patent/WO2015196471A1/zh
Publication of WO2015196471A1 publication Critical patent/WO2015196471A1/zh

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer

Definitions

  • the invention belongs to the technical field of air quality detection, and in particular relates to a method, a device and an air quality detector for switching air quality parameters.
  • the existing air quality detector switches the air quality value, it is necessary to switch between different types of air quality values by pressing a button, and the air quality detector may be placed on the wall when the air quality is detected.
  • the process of pressing the button in the air quality detector is cumbersome, which consumes user time and affects the user's operation efficiency.
  • the purpose of the embodiments of the present invention is to provide a method for switching air quality values, which aims to solve the problem that the existing air quality detector needs to switch between different types of air quality values by pressing a button, and the operation process is cumbersome and consumes users. Time affects the efficiency of user operations.
  • the embodiment of the present invention is implemented by the method for switching air quality values, including:
  • the air quality parameter displayed on the screen is switched according to the identified air quality value switching operation.
  • Another object of the embodiments of the present invention is to provide an air quality value switching device, including:
  • a receiving module configured to receive, in real time, an interrupt signal output by two distance sensors located on the panel of the air quality detector
  • An identification module configured to identify an air quality value switching operation according to the interrupt signal received in real time and the air quality value switching operation recognition mode
  • the switching module switches the air quality value on the screen by switching operations based on the identified air quality values.
  • Another object of an embodiment of the present invention is to provide an air quality detector including the above air quality value switching device.
  • the air quality detector can recognize the air quality value switching operation, and quickly switch the air quality value on the screen, thereby avoiding the situation that the user can switch the air quality value on the screen by pressing the button, which simplifies the situation.
  • the process of the air quality value switching operation reduces the switching operation time and improves the user's operation efficiency.
  • FIG. 1 is a flowchart of an implementation of a method for switching air quality values according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of an air quality value switching device according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of implementing an air quality value switching method according to an embodiment of the present invention, which is described in detail as follows:
  • step S101 the air quality detector determines an air quality value switching operation recognition mode
  • the screen includes, but is not limited to, a screen of an LED dot matrix display.
  • the air quality value switching operation recognition mode includes at least one of the following modes:
  • the first mode the left distance sensor of the two distance sensors outputs a first interrupt signal and a second interrupt signal, and the right distance sensor of the two distance sensors outputs a third interrupt signal and a fourth interrupt signal, and the Recognizing that the air quality value switching operation is to switch to the left when the time interval between the two interrupt signals and the third interrupt signal output time is at a preset time threshold;
  • the second mode the right distance sensor of the two distance sensors outputs a first interrupt signal and a second interrupt signal, wherein the left distance sensor of the two distance sensors outputs a third interrupt signal and a fourth interrupt signal, and the When the time interval between the two interrupt signals and the third interrupt signal output time is at a preset time threshold, the air quality value switching operation is identified as being switched to the left.
  • the air quality detector determines that the air quality value switching operation recognition mode is specifically:
  • the air quality detector determines any one of the first mode and the second mode in the air quality value switching operation recognition mode; or
  • the air quality detector determines a combination of the first mode and the second mode in the air quality value switching operation recognition mode.
  • step S102 the interrupt signals output by the two distance sensors located on the panel of the air quality detector are received in real time
  • the interrupt signal is time-ordered
  • the first interrupt signal is the first interrupt signal
  • the second interrupt signal is the second interrupt signal.
  • the bit interrupt signal is the third interrupt signal
  • the time-ordered fourth bit interrupt signal is the fourth interrupt signal.
  • two distance sensors are located on the left and right sides of the screen.
  • the two distance sensors respectively detect whether the difference between the sampled value and the bottom noise value obtained in real time is greater than a preset threshold. If the first interrupt signal is output, after the first interrupt signal is output, the sampled value obtained in real time is detected. Whether the difference of the bottom noise value is less than a preset threshold, if the second interrupt signal is output.
  • the bottom noise value when the bottom noise value is in the initial state, it is an initial value.
  • the bottom noise value when the bottom noise value is not the initial value, and the time when the initial value is not greater than the preset time, it indicates that there is an obstacle in front of the distance sensor, and the bottom noise value Calibrate to the current value.
  • step S101 may be performed first, and then step S102 may be performed; step S102 may be performed first, and then step S101 may be performed; or step S101 and step S102 may be performed simultaneously.
  • step S103 the air quality value switching operation is identified according to the interrupt signal received in real time and the air quality value switching operation recognition mode
  • the implementation process of the air quality value switching operation is described based on the interrupt signal received in real time and the air quality value switching operation recognition mode, which is described in the second embodiment and the third embodiment, and will not be described here.
  • step S103 the air quality value on the screen is switched in accordance with the recognized air quality value switching operation.
  • the air quality value includes, but is not limited to, a temperature value of the air, a humidity value of the air, a carbon dioxide value of the air, and a PM2.5 concentration value of the air.
  • the air quality value on the screen of the LED dot matrix display is switched.
  • the air quality detector can recognize the air quality value switching operation, and quickly switch the air quality value on the screen, thereby avoiding the situation that the user can switch the air quality value on the screen by pressing the button, which simplifies the situation.
  • the process of the air quality value switching operation reduces the switching operation time and improves the user's operation efficiency.
  • the embodiment mainly describes that when the touch screen terminal determines that the air quality value switching operation recognition mode is the first mode, the air quality value switching operation is recognized according to the interrupt signal received in real time and the air quality value switching operation recognition mode.
  • the air quality value switching operation is identified as switching to the left.
  • switching to the right means switching the air quality value displayed on the current screen to the previous air quality value.
  • the left distance sensor detects whether the difference between the sampled value and the bottom noise value obtained in real time is greater than a preset threshold value, and when the hand slides to the right in front of the screen, close to the left distance sensor, the left distance sensor detects the sample obtained in real time. The difference between the value and the bottom noise value is greater than a preset threshold.
  • the first interrupt signal is output, and when the hand leaves the left distance sensor, the left distance sensor detects that the difference between the sampled value and the bottom noise value obtained in real time is less than a preset threshold. , outputting a second interrupt signal,
  • the right distance sensor detects whether the difference between the sampled value and the bottom noise value obtained in real time is greater than a preset threshold.
  • a preset threshold When the hand slides to the right in front of the screen, close to the right distance sensor, the right distance The difference between the sampled value and the bottom noise value obtained by the sensor detection in real time is greater than a preset threshold.
  • the first interrupt signal is output, and when the hand leaves the right distance sensor, the right distance sensor detects the sampled value and the bottom noise value obtained in real time. The difference is less than the preset threshold, and the second interrupt signal is output. At this time, the air quality value switching operation is identified as being switched to the left.
  • the air quality value displayed on the current screen can be switched to the previous air quality value, and the operation is very convenient.
  • the embodiment mainly describes that when the touch screen terminal determines that the air quality value switching operation recognition mode is the second mode, the air quality value switching operation is recognized according to the interrupt signal received in real time and the air quality value switching operation recognition mode. , as detailed below:
  • the air quality value switching operation is identified as switching to the right.
  • switching to the right means switching the air quality value displayed on the current screen to the next air quality value.
  • the right distance sensor detects whether the difference between the sampled value and the bottom noise value obtained in real time is greater than a preset threshold value, and when the hand slides to the right in front of the screen, close to the right distance sensor, the right distance sensor detects the sample obtained in real time. The difference between the value and the bottom noise value is greater than a preset threshold. At this time, the first interrupt signal is output, and when the hand leaves the right distance sensor, the difference between the sampled value and the bottom noise value obtained by the right distance sensor detection in real time is less than a preset threshold.
  • the left distance sensor detects whether the difference between the sampled value and the bottom noise value obtained in real time is greater than a preset threshold, and when the hand slides to the right in front of the screen, When the left distance sensor is close to the left distance sensor, the left distance sensor detects that the difference between the sampled value and the bottom noise value obtained in real time is greater than a preset threshold.
  • the first interrupt signal is output, and when the hand leaves the left distance sensor, the left distance sensor detects the real time.
  • the difference between the sampled value and the bottom noise value is less than a preset threshold, and a second interrupt signal is output.
  • the air quality value switching operation is identified as Switch.
  • the air quality value displayed on the current screen can be switched to the next air quality value, and the operation is very convenient.
  • the embodiment mainly describes that when the touch screen terminal determines that the air quality value switching operation recognition mode is a combination of the first mode and the second mode, the recognition is performed according to the interrupt signal received in real time and the air quality value switching operation recognition mode.
  • the air quality value switching operation is detailed as follows:
  • the left distance sensor If it is detected that the left distance sensor outputs the first interrupt signal, detecting whether the left distance sensor outputs a second interrupt signal, and if detecting that the left distance sensor outputs the second interrupt signal, detecting the preset time threshold Whether the right distance sensor outputs a third interrupt signal in the two distance sensors, and if the right distance sensor detects that the third distance interrupt signal is output, detecting whether the right distance sensor outputs a fourth interrupt signal, and identifying The air quality value switching operation is to switch to the left.
  • the right distance sensor If it is detected that the right distance sensor outputs the first interrupt signal, detecting whether the right distance sensor outputs a second interrupt signal, and if detecting that the right distance sensor is outputting the second interrupt signal, detecting the preset time threshold Whether the left distance sensor of the two distance sensors outputs a third interrupt signal, and if detecting that the left distance sensor outputs a third interrupt signal, detecting whether the left distance sensor outputs a fourth interrupt signal, and identifying The air quality value switching operation is to switch to the right.
  • the air quality value displayed on the current screen can be switched to the next air quality value or the previous air quality value, and the operation is very convenient.
  • This embodiment mainly describes a preferred implementation process for implementing the present invention in practical applications, which is described in detail as follows:
  • the step of determining the air quality value switching operation recognition mode by the air quality detector is performed.
  • the air quality detector is turned on as a trigger condition. Whether the air quality detector is turned on by hardware or software is detected.
  • the air quality detector is configured to determine the air quality value switching operation recognition mode, thereby ensuring that the air quality detector is turned on. Then, according to the identified air quality value switching operation, the air quality value on the screen is switched.
  • FIG. 2 is a structural block diagram of an air quality value switching device according to an embodiment of the present invention. For the convenience of explanation, only the parts related to the present embodiment are shown.
  • the air quality value switching device includes:
  • the receiving module 22 is configured to receive, in real time, an interrupt signal output by two distance sensors located on the panel of the air quality detector;
  • the identification module 23 is configured to identify an air quality value switching operation according to the interrupt signal received in real time and the air quality value switching operation recognition mode;
  • the switching module 24 switches the air quality value on the screen by switching operations based on the identified air quality values.
  • the air quality value switching operation recognition mode includes at least one of the following modes:
  • the first mode the left distance sensor of the two distance sensors outputs a first interrupt signal and a second interrupt signal, and the right distance sensor of the two distance sensors outputs a third interrupt signal and a fourth interrupt signal, and the Recognizing that the air quality value switching operation is to switch to the left when the time interval between the two interrupt signals and the third interrupt signal output time is at a preset time threshold;
  • the second mode the right distance sensor of the two distance sensors outputs a first interrupt signal and a second interrupt signal, wherein the left distance sensor of the two distance sensors outputs a third interrupt signal and a fourth interrupt signal, and the When the time interval between the two interrupt signals and the third interrupt signal output time is at a preset time threshold, the air quality value switching operation is identified as being switched to the left.
  • the identifying module includes:
  • a first detecting unit configured to detect whether a left distance sensor of the two distance sensors outputs a first interrupt signal
  • a second detecting unit configured to detect whether the left distance sensor outputs a second interrupt signal if detecting that the left distance sensor outputs the first interrupt signal
  • a third detecting unit configured to detect whether the right distance sensor outputs a third interrupt signal in the two distance sensors if the left distance sensor detects that the second interrupt signal is outputting the second interrupt signal; a detecting unit, configured to detect whether the right distance sensor outputs a fourth interrupt signal if detecting that the right distance sensor outputs a third interrupt signal;
  • an identifying unit configured to identify that the air quality value switching operation is to switch to the left.
  • the identifying module includes:
  • a fifth detecting unit configured to detect whether the right distance sensor of the two distance sensors outputs the first interrupt signal
  • a sixth detecting unit configured to detect whether the right distance sensor outputs a second interrupt signal if detecting that the right distance sensor outputs the first interrupt signal
  • a seventh detecting unit configured to detect, within a preset time threshold, whether the left distance sensor of the two distance sensors outputs a third interrupt signal if detecting that the right distance sensor outputs the second interrupt signal;
  • An eighth detecting unit configured to detect whether the left distance sensor outputs a fourth interrupt signal if detecting that the left distance sensor outputs a third interrupt signal
  • a ninth detecting unit configured to identify that the air quality value switching operation is to switch to the right.
  • an air quality detector comprising the above air quality value switching device.
  • the present invention can be implemented by means of software plus necessary general hardware.
  • the technical solution of the present invention which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a hard disk or optical disk, etc. includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Human Computer Interaction (AREA)
  • Medicinal Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Food Science & Technology (AREA)
  • Air Conditioning Control Device (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种空气质量数值切换方法、装置及空气质量检测仪,该空气质量数值切换方法包括:确定空气质量数值切换操作识别模式(S101);实时接收位于所述空气质量检测仪面板上的两颗距离传感器输出的中断信号(S102);根据实时接收到的中断信号以及所述空气质量数值切换操作识别模式,识别出空气质量数值切换操作(S103);根据识别出的空气质量数值切换操作,切换屏幕上显示的空气质量参数(S104)。该空气质量数值切换方法简化了空气质量数值切换操作的过程,减少了切换操作的时间,提高了用户的操作效率。

Description

一种空气质量数值切换方法、装置及空气质量检测仪 技术领域
本发明属于空气质量检测技术领域,尤其涉及一种空气质量参数切换方法、装置及空气质量检测仪。
背景技术
随着空气质量检测仪智能化时代的到来,空气质量检测仪的配置越来越强大,功能越来越齐全,越来越多的用户通过空气质量检测仪进行空气质量检测,在不同的地点对空气质量进行检测,并显示检测到的不同类型的空气质量数值,以了解室内环境的健康级别。
然而,由于现有的空气质量检测仪对空气质量数值进行切换,需要通过按下按键,才能对不同类型的空气质量数值进行切换,而空气质量检测仪有可能放置在墙壁上,当空气质量检测仪放置在墙壁上时,用户按下空气质量检测仪中的按键的过程繁琐,耗费了用户时间,影响了用户操作效率。
技术问题
本发明实施例的目的在于提供一种空气质量数值切换方法,旨在解决现有的空气质量检测仪需要通过按下按键,才能对不同类型的空气质量数值进行切换,操作过程繁琐,耗费了用户时间,影响了用户操作效率的问题。
技术解决方案
本发明实施例是这样实现的,一种空气质量数值切换方法,包括:
确定空气质量数值切换操作识别模式;
实时接收位于所述空气质量检测仪面板上的两颗距离传感器输出的中断信号;
根据实时接收到的中断信号以及所述空气质量数值切换操作识别模式,识别出空气质量数值切换操作;
根据识别出的空气质量数值切换操作,切换屏幕上显示的空气质量参数。
本发明实施例的另一目的在于提供一种空气质量数值切换装置,包括:
确定识别模式模块,用于确定空气质量数值切换操作识别模式;
接收模块,用于实时接收位于所述空气质量检测仪面板上的两颗距离传感器输出的中断信号;
识别模块,用于根据实时接收到的中断信号以及所述空气质量数值切换操作识别模式,识别出空气质量数值切换操作;
切换模块,用根据识别出的空气质量数值切换操作,切换屏幕上的空气质量数值。
本发明实施例的另一目的在于提供空气质量检测仪,包括上述空气质量数值切换装置。
有益效果
在本实施例中,空气质量检测仪可以识别出空气质量数值切换操作,快速切换屏幕上的空气质量数值,避免了出现用户通过按下按键,才能切换屏幕上的空气质量数值的情况,简化了空气质量数值切换操作的过程,减少了切换操作的时间,提高了用户的操作效率。
附图说明
图1是本发明实施例提供的空气质量数值切换方法的实现流程图;
图2是本发明实施例提供的空气质量数值切换装置的结构框图。
本发明的实施方式
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
实施例一
图1是本发明实施例提供的空气质量数值切换方法的实现流程图,详述如下:
在步骤S101中,空气质量检测仪确定空气质量数值切换操作识别模式;
其中,所述屏幕包括但不限于LED点阵显示器的屏幕。
其中,所述空气质量数值切换操作识别模式包括以下模式中的至少一种:
第一模式:两颗距离传感器中左距离传感器输出第一个中断信号以及第二个中断信号,两颗距离传感器中右距离传感器输出第三个中断信号以及第四个中断信号,且所述第二个中断信号以及所述第三个中断信号输出时间的时间间隔处于预设时间阈值时,识别所述空气质量数值切换操作为向左切换;
第二模式:两颗距离传感器中右距离传感器输出第一个中断信号以及第二个中断信号,两颗距离传感器中左距离传感器输出第三个中断信号以及第四个中断信号,且所述第二个中断信号以及所述第三个中断信号输出时间的时间间隔处于预设时间阈值时,识别所述空气质量数值切换操作为向左切换。
其中,空气质量检测仪确定空气质量数值切换操作识别模式具体为:
空气质量检测仪确定空气质量数值切换操作识别模式中第一模式、第二模式中的任意一种模式;或者,
空气质量检测仪确定空气质量数值切换操作识别模式中第一模式、第二模式的组合。
在步骤S102中,实时接收位于所述空气质量检测仪面板上的两颗距离传感器输出的中断信号;
其中,根据中断信号输出的时间,对中断信号进行时间排序,时间排序第一位的中断信号为第一个中断信号,时间排序第二位的中断信号为第二个中断信号,时间排序第三位的中断信号为第三个中断信号,时间排序第四位的中断信号为第四个中断信号。
其中,两颗距离传感器分别位于屏幕的左右两侧。
其中,两颗距离传感器分别检测实时得到的采样值与底噪值的差值是否大于预设阈值,若是输出第一个中断信号,在输出第一个中断信号后,检测实时得到的采样值与底噪值的差值是否小于预设阈值,若是输出第二个中断信号。
其中,当底噪值处于初始状态时为初始值,当检测到底噪值不为初始值时,且不为初始值的时间大于预设的时间时,表示距离传感器前方具有障碍物,底噪值校准为当前值。
需要进行说明的是,本发明实施例不限定步骤S101和步骤S102的执行顺序。具体地,可以是先执行步骤S101,再执行步骤S102;也可以先执行步骤S102,再执行步骤S101;还可以是同时执行步骤S101和步骤S102。
在步骤S103中,根据实时接收到的中断信号以及所述空气质量数值切换操作识别模式,识别出空气质量数值切换操作;
其中,根据实时接收到的中断信号以及所述空气质量数值切换操作识别模式,识别出空气质量数值切换操作的实施过程,在实施例二和实施例三进行描述,在此不做描述。
在步骤S103中,根据识别出的空气质量数值切换操作,切换屏幕上的空气质量数值。
其中,所述空气质量数值包括但不限于空气的温度值、空气的湿度值、空气的二氧化碳值、空气的PM2.5浓度值。
其中,根据识别出的空气质量数值切换操作,切换LED点阵显示器的屏幕上的空气质量数值。
在本实施例中,空气质量检测仪可以识别出空气质量数值切换操作,快速切换屏幕上的空气质量数值,避免了出现用户通过按下按键,才能切换屏幕上的空气质量数值的情况,简化了空气质量数值切换操作的过程,减少了切换操作的时间,提高了用户的操作效率。
实施例二
本实施例主要描述了当触摸屏终端确定空气质量数值切换操作识别模式为第一模式时,所述根据实时接收到的中断信号以及所述空气质量数值切换操作识别模式,识别出空气质量数值切换操作的实施过程 ,详述如下:
检测两颗距离传感器中左距离传感器是否输出第一个中断信号;
若检测到左距离传感器是输出第一个中断信号时,检测所述左距离传感器是否输出第二个中断信号;
若检测到左距离传感器是输出第二个中断信号时,检测在预设时间阈值内,所述两颗距离传感器中右距离传感器是否输出第三个中断信号;
若检测到右距离传感器是输出第三个中断信号时,检测所述右距离传感器是否输出第四个中断信号;
识别所述空气质量数值切换操作为向左切换。
其中,向右切换表示将当前屏幕上显示的空气质量数值切换为上一个空气质量数值。
其中,左距离传感器检测实时得到的采样值与底噪值的差值是否大于预设阈值,当用手在屏幕前向右隔空滑动,接近左距离传感器时,左距离传感器检测实时得到的采样值与底噪值的差值大于预设阈值,此时,输出第一个中断信号,手离开左距离传感器时,左距离传感器检测实时得到的采样值与底噪值的差值小于预设阈值,输出第二个中断信号,
检测在预设时间阈值内,右距离传感器检测实时得到的采样值与底噪值的差值是否大于预设阈值,当用手在屏幕前向右隔空滑动,接近右距离传感器时,右距离传感器检测实时得到的采样值与底噪值的差值大于预设阈值,此时,输出第一个中断信号,手离开右距离传感器时,右距离传感器检测实时得到的采样值与底噪值的差值小于预设阈值,输出第二个中断信号,此时,识别所述空气质量数值切换操作为向左切换。
在本实施例中,用手在屏幕前向右隔空滑动时,即可将当前屏幕上显示的空气质量数值切换为上一个空气质量数值,操作十分便捷。
实施例三
本实施例主要描述了当触摸屏终端确定空气质量数值切换操作识别模式为第二模式时,所述根据实时接收到的中断信号以及所述空气质量数值切换操作识别模式,识别出空气质量数值切换操作,详述如下:
检测两颗距离传感器中右距离传感器是否输出第一个中断信号;
若检测到右距离传感器是输出第一个中断信号时,检测所述右距离传感器是否输出第二个中断信号;
若检测到右距离传感器是输出第二个中断信号时,检测在预设时间阈值内,所述两颗距离传感器中左距离传感器是否输出第三个中断信号;
若检测到左距离传感器是输出第三个中断信号时,检测所述左距离传感器是否输出第四个中断信号;
识别所述空气质量数值切换操作为向右切换。
其中,向右切换表示将当前屏幕上显示的空气质量数值切换为下一个空气质量数值。
其中,右距离传感器检测实时得到的采样值与底噪值的差值是否大于预设阈值,当用手在屏幕前向右隔空滑动,接近右距离传感器时,右距离传感器检测实时得到的采样值与底噪值的差值大于预设阈值,此时,输出第一个中断信号,手离开右距离传感器时,右距离传感器检测实时得到的采样值与底噪值的差值小于预设阈值,输出第二个中断信号,检测在预设时间阈值内,左距离传感器检测实时得到的采样值与底噪值的差值是否大于预设阈值,当用手在屏幕前向右隔空滑动,接近左距离传感器时,左距离传感器检测实时得到的采样值与底噪值的差值大于预设阈值,此时,输出第一个中断信号,手离开左距离传感器时,左距离传感器检测实时得到的采样值与底噪值的差值小于预设阈值,输出第二个中断信号,此时,识别所述空气质量数值切换操作为向左切换。
在本实施例中,用手在屏幕前向左隔空滑动时,即可将当前屏幕上显示的空气质量数值切换为下一个空气质量数值,操作十分便捷。
实施例四
本实施例主要描述了当触摸屏终端确定空气质量数值切换操作识别模式为第一模式以及第二模式的组合,所述根据实时接收到的中断信号以及所述空气质量数值切换操作识别模式,识别出空气质量数值切换操作,详述如下:
检测两颗距离传感器中左距离传感器或者右距离传感器是否输出第一个中断信号;
若检测到左距离传感器是输出第一个中断信号时,检测所述左距离传感器是否输出第二个中断信号,若检测到左距离传感器是输出第二个中断信号时,检测在预设时间阈值内,所述两颗距离传感器中右距离传感器是否输出第三个中断信号,若检测到右距离传感器是输出第三个中断信号时,检测所述右距离传感器是否输出第四个中断信号,识别所述空气质量数值切换操作为向左切换。
若检测到右距离传感器是输出第一个中断信号时,检测所述右距离传感器是否输出第二个中断信号,若检测到右距离传感器是输出第二个中断信号时,检测在预设时间阈值内,所述两颗距离传感器中左距离传感器是否输出第三个中断信号,若检测到左距离传感器是输出第三个中断信号时,检测所述左距离传感器是否输出第四个中断信号,识别所述空气质量数值切换操作为向右切换。
在本实施例中,用手在屏幕前隔空滑动,即可将当前屏幕上显示的空气质量数值切换为下一个空气质量数值或者上一个空气质量数值,操作十分便捷。
实施例五
本实施例主要描述了在实际应用中执行本发明的较佳的实施过程,详述如下:
当空气质量检测仪开机时,执行所述空气质量检测仪确定空气质量数值切换操作识别模式的步骤。
其中,将空气质量检测仪开机作为触发条件。通过硬件或者软件,检测到空气质量检测仪是否开机,当检测到空气质量检测仪开机时,执行所述空气质量检测仪确定空气质量数值切换操作识别模式的步骤,从而保证了空气质量检测仪开机后,根据识别出的空气质量数值切换操作,切换屏幕上的空气质量数值。
实施例六
参照图2,图2是本发明实施例提供的空气质量数值切换装置的结构框图。为了便于说明,仅示出了与本实施例相关的部分。
参照图2,该空气质量数值切换装置,包括:
确定识别模式模块21,用于确定空气质量数值切换操作识别模式;
接收模块22,用于实时接收位于所述空气质量检测仪面板上的两颗距离传感器输出的中断信号;
识别模块23,用于根据实时接收到的中断信号以及所述空气质量数值切换操作识别模式,识别出空气质量数值切换操作;
切换模块24,用根据识别出的空气质量数值切换操作,切换屏幕上的空气质量数值。
在本实施例的一种实现方式中,所述空气质量数值切换操作识别模式包括以下模式中的至少一种:
第一模式:两颗距离传感器中左距离传感器输出第一个中断信号以及第二个中断信号,两颗距离传感器中右距离传感器输出第三个中断信号以及第四个中断信号,且所述第二个中断信号以及所述第三个中断信号输出时间的时间间隔处于预设时间阈值时,识别所述空气质量数值切换操作为向左切换;
第二模式:两颗距离传感器中右距离传感器输出第一个中断信号以及第二个中断信号,两颗距离传感器中左距离传感器输出第三个中断信号以及第四个中断信号,且所述第二个中断信号以及所述第三个中断信号输出时间的时间间隔处于预设时间阈值时,识别所述空气质量数值切换操作为向左切换。
在本实施例的一种实现方式中,所述识别模块,包括:
第一检测单元,用于检测两颗距离传感器中左距离传感器是否输出第一个中断信号;
第二检测单元,用于若检测到左距离传感器是输出第一个中断信号时,检测所述左距离传感器是否输出第二个中断信号;
第三检测单元,用于若检测到左距离传感器是输出第二个中断信号时,检测在预设时间阈值内,所述两颗距离传感器中右距离传感器是否输出第三个中断信号;第四检测单元,用于若检测到右距离传感器是输出第三个中断信号时,检测所述右距离传感器是否输出第四个中断信号;
识别单元,用于识别所述空气质量数值切换操作为向左切换。
在本实施例的一种实现方式中,所述识别模块,包括:
第五检测单元,用于检测两颗距离传感器中右距离传感器是否输出第一个中断信号;
第六检测单元,用于若检测到右距离传感器是输出第一个中断信号时,检测所述右距离传感器是否输出第二个中断信号;
第七检测单元,用于若检测到右距离传感器是输出第二个中断信号时,检测在预设时间阈值内,所述两颗距离传感器中左距离传感器是否输出第三个中断信号;
第八检测单元,用于若检测到左距离传感器是输出第三个中断信号时,检测所述左距离传感器是否输出第四个中断信号;
第九检测单元,用于识别所述空气质量数值切换操作为向右切换。
本发明实施例提供的装置可以应用在前述对应的方法实施例中,详情参见上述实施例的描述,在此不再赘述。
作为本发明的一个实施例,提供了一种空气质量检测仪,包括上述空气质量数值切换装置。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件的方式来实现。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。

Claims (10)

  1. 一种空气质量数值切换方法,其特征在于,包括:
    确定空气质量数值切换操作识别模式;
    实时接收位于所述空气质量检测仪面板上的两颗距离传感器输出的中断信号;
    根据实时接收到的中断信号以及所述空气质量数值切换操作识别模式,识别出空气质量数值切换操作;
    根据识别出的空气质量数值切换操作,切换屏幕上显示的空气质量参数。
  2. 如权利要求1所述的空气质量数值切换方法,其特征在于,所述空气质量数值切换操作识别模式包括以下模式中的至少一种:
    第一模式:两颗距离传感器中左距离传感器输出第一个中断信号以及第二个中断信号,两颗距离传感器中右距离传感器输出第三个中断信号以及第四个中断信号,且所述第二个中断信号以及所述第三个中断信号输出时间的时间间隔处于预设时间阈值时,识别所述空气质量数值切换操作为向左切换;
    第二模式:两颗距离传感器中右距离传感器输出第一个中断信号以及第二个中断信号,两颗距离传感器中左距离传感器输出第三个中断信号以及第四个中断信号,且所述第二个中断信号以及所述第三个中断信号输出时间的时间间隔处于预设时间阈值时,识别所述空气质量数值切换操作为向左切换。
  3. 如权利要求1或2所述的空气质量数值切换方法,其特征在于,当触摸屏终端确定空气质量数值切换操作识别模式为第一模式时,所述根据实时接收到的中断信号以及所述空气质量数值切换操作识别模式,识别出空气质量数值切换操作,具体为:
    检测两颗距离传感器中左距离传感器是否输出第一个中断信号;
    若检测到左距离传感器是输出第一个中断信号时,检测所述左距离传感器是否输出第二个中断信号;
    若检测到左距离传感器是输出第二个中断信号时,检测在预设时间阈值内,所述两颗距离传感器中右距离传感器是否输出第三个中断信号;
    若检测到右距离传感器是输出第三个中断信号时,检测所述右距离传感器是否输出第四个中断信号;
    识别所述空气质量数值切换操作为向左切换。
  4. 如权利要求1或2所述的空气质量数值切换方法,其特征在于,当触摸屏终端确定空气质量数值切换操作识别模式为第二模式时,所述根据实时接收到的中断信号以及所述空气质量数值切换操作识别模式,识别出空气质量数值切换操作,具体为:
    检测两颗距离传感器中右距离传感器是否输出第一个中断信号;
    若检测到右距离传感器是输出第一个中断信号时,检测所述右距离传感器是否输出第二个中断信号;
    若检测到右距离传感器是输出第二个中断信号时,检测在预设时间阈值内,所述两颗距离传感器中左距离传感器是否输出第三个中断信号;
    若检测到左距离传感器是输出第三个中断信号时,检测所述左距离传感器是否输出第四个中断信号;
    识别所述空气质量数值切换操作为向右切换。
  5. 如权利要求1或2所述的所述的触摸点识别方法,其特征在于,当触摸屏终端确定空气质量数值切换操作识别模式为第一模式以及第二模式的组合,所述根据实时接收到的中断信号以及所述空气质量数值切换操作识别模式,识别出空气质量数值切换操作,具体为:
    检测两颗距离传感器中左距离传感器或者右距离传感器是否输出第一个中断信号;
    若检测到左距离传感器是输出第一个中断信号时,检测所述左距离传感器是否输出第二个中断信号,若检测到左距离传感器是输出第二个中断信号时,检测在预设时间阈值内,所述两颗距离传感器中右距离传感器是否输出第三个中断信号,若检测到右距离传感器是输出第三个中断信号时,检测所述右距离传感器是否输出第四个中断信号,识别所述空气质量数值切换操作为向左切换。
    若检测到右距离传感器是输出第一个中断信号时,检测所述右距离传感器是否输出第二个中断信号,若检测到右距离传感器是输出第二个中断信号时,检测在预设时间阈值内,所述两颗距离传感器中左距离传感器是否输出第三个中断信号,若检测到左距离传感器是输出第三个中断信号时,检测所述左距离传感器是否输出第四个中断信号,识别所述空气质量数值切换操作为向右切换。
  6. 一种空气质量数值切换装置,其特征在于,包括:
    确定识别模式模块,用于确定空气质量数值切换操作识别模式;
    接收模块,用于实时接收位于所述空气质量检测仪面板上的两颗距离传感器输出的中断信号;
    识别模块,用于根据实时接收到的中断信号以及所述空气质量数值切换操作识别模式,识别出空气质量数值切换操作;
    切换模块,用根据识别出的空气质量数值切换操作,切换屏幕上的空气质量数值。
  7. 根据权利要求6所述的空气质量数值切换装置,其特征在于,所述空气质量数值切换操作识别模式包括以下模式中的至少一种:
    第一模式:两颗距离传感器中左距离传感器输出第一个中断信号以及第二个中断信号,两颗距离传感器中右距离传感器输出第三个中断信号以及第四个中断信号,且所述第二个中断信号以及所述第三个中断信号输出时间的时间间隔处于预设时间阈值时,识别所述空气质量数值切换操作为向左切换;
    第二模式:两颗距离传感器中右距离传感器输出第一个中断信号以及第二个中断信号,两颗距离传感器中左距离传感器输出第三个中断信号以及第四个中断信号,且所述第二个中断信号以及所述第三个中断信号输出时间的时间间隔处于预设时间阈值时,识别所述空气质量数值切换操作为向左切换。
  8. 根据权利要求6或7所述的空气质量数值切换装置,其特征在于,所述识别模块,包括:
    第一检测单元,用于检测两颗距离传感器中左距离传感器是否输出第一个中断信号;
    第二检测单元,用于若检测到左距离传感器是输出第一个中断信号时,检测所述左距离传感器是否输出第二个中断信号;
    第三检测单元,用于若检测到左距离传感器是输出第二个中断信号时,检测在预设时间阈值内,所述两颗距离传感器中右距离传感器是否输出第三个中断信号;第四检测单元,用于若检测到右距离传感器是输出第三个中断信号时,检测所述右距离传感器是否输出第四个中断信号;
    识别单元,用于识别所述空气质量数值切换操作为向左切换。
  9. 根据权利要求6或7所述的空气质量数值切换装置,其特征在于,所述识别模块,包括:
    第五检测单元,用于检测两颗距离传感器中右距离传感器是否输出第一个中断信号;
    第六检测单元,用于若检测到右距离传感器是输出第一个中断信号时,检测所述右距离传感器是否输出第二个中断信号;
    第七检测单元,用于若检测到右距离传感器是输出第二个中断信号时,检测在预设时间阈值内,所述两颗距离传感器中左距离传感器是否输出第三个中断信号;
    第八检测单元,用于若检测到左距离传感器是输出第三个中断信号时,检测所述左距离传感器是否输出第四个中断信号;
    第九检测单元,用于识别所述空气质量数值切换操作为向右切换。
  10. 一种空气质量检测仪,其特征在于,包括权利要求6至9任意一项权利要求所述的空气质量数值切换装置。
PCT/CN2014/081000 2014-06-27 2014-06-27 一种空气质量数值切换方法、装置及空气质量检测仪 WO2015196471A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201480000487.1A CN104067119B (zh) 2014-06-27 2014-06-27 一种空气质量数值切换方法、装置及空气质量检测仪
PCT/CN2014/081000 WO2015196471A1 (zh) 2014-06-27 2014-06-27 一种空气质量数值切换方法、装置及空气质量检测仪

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/081000 WO2015196471A1 (zh) 2014-06-27 2014-06-27 一种空气质量数值切换方法、装置及空气质量检测仪

Publications (1)

Publication Number Publication Date
WO2015196471A1 true WO2015196471A1 (zh) 2015-12-30

Family

ID=51553774

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/081000 WO2015196471A1 (zh) 2014-06-27 2014-06-27 一种空气质量数值切换方法、装置及空气质量检测仪

Country Status (2)

Country Link
CN (1) CN104067119B (zh)
WO (1) WO2015196471A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104067119B (zh) * 2014-06-27 2016-06-15 深圳华盛昌机械实业有限公司 一种空气质量数值切换方法、装置及空气质量检测仪

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853561A (zh) * 2009-04-03 2010-10-06 玴荣科技股份有限公司 手势控制的遥控器系统
CN201662447U (zh) * 2009-05-08 2010-12-01 中国船舶重工集团公司第七一八研究所 一种室内空气质量检测仪
US20130050425A1 (en) * 2011-08-24 2013-02-28 Soungmin Im Gesture-based user interface method and apparatus
US20130265222A1 (en) * 2011-07-05 2013-10-10 Primesense Ltd. Zoom-based gesture user interface
CN103479140A (zh) * 2013-09-10 2014-01-01 北京恒华伟业科技股份有限公司 一种智能镜子
CN103576861A (zh) * 2013-11-18 2014-02-12 谢元澄 非接触手势控制系统
CN103593549A (zh) * 2012-12-28 2014-02-19 广东泰特科技有限公司 多功能交互一体机
CN203643947U (zh) * 2013-11-25 2014-06-11 深圳桑菲消费通信有限公司 一种传感识别电路、装置及移动终端
CN104067119A (zh) * 2014-06-27 2014-09-24 深圳华盛昌机械实业有限公司 一种空气质量数值切换方法、装置及空气质量检测仪

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011227574A (ja) * 2010-04-15 2011-11-10 Rohm Co Ltd 演算装置、動き検出装置、電子機器
CN102299990A (zh) * 2010-06-22 2011-12-28 希姆通信息技术(上海)有限公司 手势控制的手机
CN102572073A (zh) * 2010-12-17 2012-07-11 沈阳新邮通信设备有限公司 可检测物体运动方向的移动通讯终端
US8854335B2 (en) * 2012-03-22 2014-10-07 Eminent Electronic Technology Corp. Ltd. Electronic apparatus having touch sensing ability and non-touch sensing ability and control method thereof
CN102883040A (zh) * 2012-07-30 2013-01-16 成都西可科技有限公司 基于接近传感的手机唤醒方法
CN103713735B (zh) * 2012-09-29 2018-03-16 华为技术有限公司 一种使用非接触式手势控制终端设备的方法和装置

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853561A (zh) * 2009-04-03 2010-10-06 玴荣科技股份有限公司 手势控制的遥控器系统
CN201662447U (zh) * 2009-05-08 2010-12-01 中国船舶重工集团公司第七一八研究所 一种室内空气质量检测仪
US20130265222A1 (en) * 2011-07-05 2013-10-10 Primesense Ltd. Zoom-based gesture user interface
US20130050425A1 (en) * 2011-08-24 2013-02-28 Soungmin Im Gesture-based user interface method and apparatus
CN103593549A (zh) * 2012-12-28 2014-02-19 广东泰特科技有限公司 多功能交互一体机
CN103479140A (zh) * 2013-09-10 2014-01-01 北京恒华伟业科技股份有限公司 一种智能镜子
CN103576861A (zh) * 2013-11-18 2014-02-12 谢元澄 非接触手势控制系统
CN203643947U (zh) * 2013-11-25 2014-06-11 深圳桑菲消费通信有限公司 一种传感识别电路、装置及移动终端
CN104067119A (zh) * 2014-06-27 2014-09-24 深圳华盛昌机械实业有限公司 一种空气质量数值切换方法、装置及空气质量检测仪

Also Published As

Publication number Publication date
CN104067119B (zh) 2016-06-15
CN104067119A (zh) 2014-09-24

Similar Documents

Publication Publication Date Title
WO2019054631A1 (en) ELECTRONIC DEVICE AND ITS CONTROL METHOD
WO2015076547A1 (ko) 가상 키보드를 모바일 단말에서 디스플레이하는 방법 및 모바일 단말
WO2017201913A1 (zh) 一种精准语音控制方法及装置
WO2014077657A1 (en) Method and system for authenticating stamp touch
WO2019051902A1 (zh) 终端控制方法、空调器及计算机可读存储介质
WO2014048231A1 (zh) 触摸屏智能设备文字处理方法和装置
WO2016085073A1 (en) Ultrasound sensor and object detecting method thereof
WO2020050530A1 (en) Electronic device including ultrasonic in-display fingerprint sensor and operating method thereof
WO2016187964A1 (zh) 智能控制受控设备的方法和装置
WO2016021751A1 (ko) 투명 디스플레이를 포함한 냉장고 및 제어 방법
WO2015012629A1 (en) Method of processing input and electronic device thereof
WO2014187158A1 (zh) 终端数据云分享的控制方法、服务器及终端
WO2015149588A1 (zh) 手持设备上用户操作模式的识别方法及手持设备
WO2016058258A1 (zh) 终端远程控制方法和系统
WO2014194627A1 (en) Method and device for controlling the displaying of interface content
WO2020082776A1 (zh) 一种自动泊车的安全距离警示方法及车载终端
WO2017197802A1 (zh) 字符串模糊匹配方法及装置
WO2017016262A1 (zh) 一种智能手表的控制方法及智能手表
WO2020080803A1 (ko) 로봇 청소기 및 그의 제어 방법
WO2018147530A1 (ko) 음파를 이용한 식별정보와 구매자의 동적코드를 맵핑하는 모바일 결제 시스템
EP3403168A1 (en) Touch screen device, input device, and control method thereof and method thereof
WO2019085543A1 (zh) 电视机系统及电视机控制方法
WO2017173841A1 (zh) 一种基于触摸屏的电子书自动滚屏控制方法及移动终端
WO2015196471A1 (zh) 一种空气质量数值切换方法、装置及空气质量检测仪
WO2017032060A1 (zh) 一种界面操作方法、装置以及智能手表

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14895615

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 29.05.2017)

122 Ep: pct application non-entry in european phase

Ref document number: 14895615

Country of ref document: EP

Kind code of ref document: A1