CN113542484A - Air quality reminding method and device and terminal - Google Patents

Air quality reminding method and device and terminal Download PDF

Info

Publication number
CN113542484A
CN113542484A CN202010240025.4A CN202010240025A CN113542484A CN 113542484 A CN113542484 A CN 113542484A CN 202010240025 A CN202010240025 A CN 202010240025A CN 113542484 A CN113542484 A CN 113542484A
Authority
CN
China
Prior art keywords
terminal
carbon dioxide
dioxide concentration
environment
concentration value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010240025.4A
Other languages
Chinese (zh)
Other versions
CN113542484B (en
Inventor
郑战海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010240025.4A priority Critical patent/CN113542484B/en
Publication of CN113542484A publication Critical patent/CN113542484A/en
Application granted granted Critical
Publication of CN113542484B publication Critical patent/CN113542484B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/10Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
    • G01C21/12Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
    • G01C21/16Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/0004Gaseous mixtures, e.g. polluted air
    • G01N33/0009General constructional details of gas analysers, e.g. portable test equipment
    • G01N33/0027General constructional details of gas analysers, e.g. portable test equipment concerning the detector
    • G01N33/0036Specially adapted to detect a particular component
    • G01N33/004Specially adapted to detect a particular component for CO, CO2

Abstract

The application belongs to the technical field of air quality monitoring, and particularly relates to a method, a device and a terminal for reminding air quality, wherein the method for reminding air quality comprises the following steps: detecting whether the terminal is in a relatively static state; if the terminal is in a relatively static state, acquiring a carbon dioxide concentration value of the environment where the terminal is located; according to the corresponding relation between the preset carbon dioxide concentration value and the reminding mode, the air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located is executed, the situation that the user is unknowingly located in the environment with high carbon dioxide concentration for a long time is avoided, the user can conveniently improve the air quality of the current environment, and the working efficiency and the learning efficiency of the user can be improved.

Description

Air quality reminding method and device and terminal
Technical Field
The application belongs to the technical field of air quality monitoring, and particularly relates to a method, a device and a terminal for reminding air quality.
Background
In order to isolate noise or enjoy comfort brought by an indoor space air conditioning system, people often close indoor doors and windows for a long time, so that the concentration content of indoor carbon dioxide is far higher than the average value outdoors, and the working efficiency and the learning efficiency of people are seriously influenced.
Disclosure of Invention
The embodiment of the application provides a method, a device and a terminal for reminding air quality, which can realize reminding of air quality, avoid that a user is in an environment with higher carbon dioxide concentration for a long time under an unconscious condition, facilitate the improvement of the air quality of the current environment by the user, and are beneficial to improving the working efficiency and the learning efficiency of the user.
The first aspect of the embodiment of the present application provides a method for reminding air quality, including:
detecting whether the terminal is in a relatively static state;
if the terminal is in a relatively static state, acquiring a carbon dioxide concentration value of the environment where the terminal is located;
and executing an air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located according to the preset corresponding relation between the carbon dioxide concentration value and the reminding mode.
A second aspect of the embodiments of the present application provides an air quality reminding device, including:
the detection unit is used for detecting whether the terminal is in a relatively static state;
the acquiring unit is used for acquiring a carbon dioxide concentration value of the environment where the terminal is located if the terminal is in a relatively static state;
and the reminding unit is used for executing air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located according to the preset corresponding relation between the carbon dioxide concentration value and the reminding mode.
A third aspect of the embodiments of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the above method.
In the embodiment of the application, when the mobile phone or the wearable device and other terminals are detected to be in a relatively static state, the user is judged to be in a learning, working or sleeping state, the carbon dioxide concentration value of the environment where the terminal is located is automatically obtained, and according to the preset corresponding relation between the carbon dioxide concentration value and the reminding mode, the air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located is executed, so that the user is prevented from being in the environment with higher carbon dioxide concentration for a long time under the unknown condition, the user can improve the air quality of the current environment, and the work efficiency and the learning efficiency of the user can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flow chart of a first implementation of a method for reminding of air quality according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a first specific implementation of step 102 of an air quality reminding method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a second specific implementation of step 102 of an air quality reminding method according to an embodiment of the present application;
fig. 4 is a schematic flow chart of a second implementation of a method for reminding of air quality according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of an air quality reminder according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
In order to explain the technical means of the present application, the following description will be given by way of specific examples.
In actual life, in order to isolate noise or enjoy comfort brought by an indoor space air conditioning system, people often close indoor doors and windows for a long time, so that the concentration content of indoor carbon dioxide is far higher than the average value outdoors, and the physical and psychological health of people is adversely affected. Specifically, the corresponding relationship between the concentration and the physiological reaction of the carbon dioxide is as follows:
350-450 ppm: the same general outdoor environment;
350-1000 ppm: the air is fresh, and the breath is smooth;
1000-2000 ppm: feeling turbid air and beginning to feel drowsy;
2000-5000 ppm: headache, lethargy, dull, inability to concentrate attention, accelerated heartbeat, mild nausea;
greater than 5000 ppm: can lead to severe hypoxia, resulting in permanent brain damage, coma, and even death.
Therefore, when working or learning under the environment with higher carbon dioxide concentration for a long time under the unknown condition, the working efficiency and the learning efficiency of people are influenced.
In order to solve the problem, a conventional method is to provide a carbon dioxide concentration monitoring device to monitor the carbon dioxide concentration of the indoor environment in real time, and to perform corresponding reminding when the carbon dioxide concentration reaches a certain concentration value.
However, this method for monitoring carbon dioxide concentration not only needs to set a carbon dioxide concentration monitoring device in each indoor space where the user may stay for a long time, but also has a problem of high energy consumption because the method starts monitoring carbon dioxide concentration and performs corresponding reminding under any circumstances, and at the same time, may bring trouble to the user under frequent reminding.
Based on this, the embodiment of the application provides a method, a device and a terminal for reminding of air quality, which can avoid that a user is in an environment with a high carbon dioxide concentration for a long time under an unconscious condition, and are beneficial to improving the working efficiency and the learning efficiency of the user.
Meanwhile, the method, the device and the terminal for reminding the air quality do not start reminding of the air quality under any condition, so that energy consumption of the terminal can be effectively reduced, and trouble is not brought to users due to frequent reminding.
Fig. 1 shows a schematic flow chart of a first implementation of a method for reminding of air quality, which is provided in an embodiment of the present application, and is applied to a terminal, and can be executed by an air quality reminding device configured on the terminal.
In some embodiments of the present application, the method for reminding of air quality may include steps 101 to 103.
Step 101, detecting whether the terminal is in a relatively static state.
In this embodiment of the application, the terminal may be a portable terminal such as a mobile phone, a tablet computer, and a wearable device, and thus, the terminal may enter various indoor spaces along with a user, and therefore, when the terminal is used to monitor a carbon dioxide concentration value and remind the air quality, it is not necessary to provide a carbon dioxide concentration monitoring device in each indoor space where the user may stay for a long time.
In addition, in the embodiment of the application, whether the user is in a learning, working or sleeping state is determined by detecting whether the terminal such as a mobile phone or wearable device is in a relatively static state, so as to select whether to acquire a carbon dioxide concentration value of an environment where the terminal is located, and perform corresponding air quality reminding operation, but the monitoring of the carbon dioxide concentration is started under any condition and corresponding reminding is performed, so that the problem of high energy consumption still exists, and meanwhile, trouble is possibly brought to the user under the condition of frequent reminding.
In this embodiment of the present application, the above-mentioned relatively static state refers to a state where an acceleration of the terminal is smaller than a preset acceleration threshold, or a displacement of the terminal is smaller than a preset displacement threshold.
In some embodiments of the present application, the detecting whether the terminal is in a relatively stationary state may include: whether the acceleration of the terminal is smaller than a preset acceleration threshold or not is detected by using an acceleration sensor or other inertial sensors, or whether the displacement of the terminal is smaller than a preset displacement threshold or not is detected, and if the acceleration of the terminal is smaller than the preset acceleration threshold or the displacement of the terminal is smaller than the preset displacement threshold, the terminal is confirmed to be in a relatively static state.
And 102, if the terminal is in a relatively static state, acquiring a carbon dioxide concentration value of the environment where the terminal is located. For example, the carbon dioxide concentration value of the environment where the terminal is located, which is acquired by the carbon dioxide concentration sensor, is acquired.
In the embodiment of the application, when the terminal is detected to be in a relatively static state, the user is possibly in a learning, working or sleeping state, and the possibility of being in the same indoor space for a long time is high, so that the carbon dioxide concentration value of the environment where the terminal is located at the moment can be obtained, and the air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located can be executed.
And 103, executing an air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located according to the preset corresponding relation between the carbon dioxide concentration value and the reminding mode.
In this embodiment of the application, the preset correspondence between the carbon dioxide concentration value and the reminding manner may be a relationship list for recording the reminding manner corresponding to each carbon dioxide concentration value range, for example, the correspondence is a relationship list as shown in the following table.
Table one:
Figure BDA0002430392010000061
Figure BDA0002430392010000071
correspondingly, the executing of the air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located may include: displaying a carbon dioxide concentration value of an environment where the terminal is located and an air quality grade corresponding to the carbon dioxide concentration value of the environment where the terminal is located on a display interface of the terminal; and/or playing a carbon dioxide concentration value of the environment where the terminal is located and a prompt voice of an air quality grade corresponding to the carbon dioxide concentration value of the environment where the terminal is located; and/or obtaining a vibration parameter corresponding to the carbon dioxide concentration value of the environment where the terminal is located, and controlling a vibration device of the terminal to vibrate according to the vibration parameter; and/or sending a carbon dioxide concentration prompting message to the preset contact.
The above-mentioned prompt voice may further include music corresponding to the air quality level.
In some embodiments of the present application, the obtaining a vibration parameter corresponding to a carbon dioxide concentration value of an environment in which the terminal is located, and controlling a vibration device of the terminal to vibrate according to the vibration parameter may further include: and acquiring a vibration cycle, the vibration frequency, the vibration intensity and the vibration duration cycle number corresponding to the carbon dioxide concentration value of the environment where the terminal is located, and controlling a vibration device of the terminal to perform vibration reminding according to the vibration cycle, the vibration frequency and the vibration duration cycle number.
In the embodiment of the application, vibration parameters such as vibration cycles corresponding to different carbon dioxide concentration values, vibration times of each vibration cycle and vibration duration cycles are preset, so that a user can intuitively judge the air quality of the current environment according to different vibration reminding types corresponding to different vibration parameters.
However, in order to reduce the interference of the vibration alert to the user, in some embodiments of the present application, the obtaining the vibration parameter corresponding to the carbon dioxide concentration value of the environment where the terminal is located may further include: the method comprises the steps of obtaining music corresponding to the carbon dioxide concentration value of the environment where the terminal is located, and generating vibration parameters corresponding to the carbon dioxide concentration value of the environment where the terminal is located according to the tone of the music, so that a vibration device of the terminal can have more comfortable vibration frequency and vibration intensity when vibrating according to the vibration parameters, and interference brought to a user by vibration reminding is reduced.
In the embodiment of the application, when the mobile phone or the wearable device and other terminals are detected to be in a relatively static state, the user is judged to be in a learning, working or sleeping state, the carbon dioxide concentration value of the environment where the terminal is located is automatically obtained, and according to the preset corresponding relation between the carbon dioxide concentration value and the reminding mode, the air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located is executed, so that the user is prevented from being in the environment with higher carbon dioxide concentration for a long time under the unknown condition, the user can improve the air quality of the current environment, and the work efficiency and the learning efficiency of the user can be improved.
For example, the user is reminded to open a door or a window or start an air conditioning function in time to improve the air quality of the current environment by executing an air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located.
In order to reduce the operation of the user, in some embodiments of the present application, after the performing an air quality reminding operation corresponding to the carbon dioxide concentration value of the environment in which the terminal is located, the method further includes: judging whether the carbon dioxide concentration value is larger than a preset carbon dioxide concentration value; and if the carbon dioxide concentration value is greater than a preset carbon dioxide concentration value, starting a ventilation function of the household equipment associated with the terminal so as to automatically improve the air quality of the environment where the terminal is located.
Wherein, this household equipment can be intelligent household equipment such as air conditioner, door and window, air discharge fan.
In the embodiment shown in fig. 1, each time the carbon dioxide concentration value of the environment where the terminal is located is obtained, the air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located may be correspondingly performed. For example, a prompt voice of the carbon dioxide concentration value of the environment where the terminal is located and the air quality grade corresponding to the carbon dioxide concentration value of the environment where the terminal is located is played once, or a vibration device of the terminal is controlled to execute vibration prompt once according to the vibration parameters. And for the reminding mode of displaying the carbon dioxide concentration value and the air quality grade corresponding to the carbon dioxide concentration value, the carbon dioxide concentration value and the air quality grade corresponding to the carbon dioxide concentration value can be continuously displayed.
Based on the above air quality reminding operation, in order to provide a more comfortable air quality reminding service for a user, as shown in fig. 2, in some embodiments of the present application, the obtaining, in step 102, a carbon dioxide concentration value of an environment in which the terminal is located may include: step 201 to step 202.
Step 201, acquiring a carbon dioxide concentration value of an environment where the terminal is located at the current moment.
In the embodiment of the application, when the carbon dioxide concentration value of the environment where the terminal is located is obtained for the first time, the current time is the time when the terminal is detected to be in a relatively static state.
Step 202, determining the time for obtaining the carbon dioxide concentration value of the environment where the terminal is located next time according to the carbon dioxide concentration value of the environment where the terminal is located at the current moment, and re-obtaining the carbon dioxide concentration value of the environment where the terminal is located when the time for obtaining the carbon dioxide concentration value of the environment where the terminal is located next time is reached, and re-determining the time for obtaining the carbon dioxide concentration value of the environment where the terminal is located next time.
Different carbon dioxide concentration values can correspond to different carbon dioxide concentration value acquisition time intervals, in the embodiment of the application, the time for acquiring the carbon dioxide concentration value of the environment where the terminal is located next time can be determined according to the time interval by acquiring the carbon dioxide concentration value which is predetermined to correspond to the carbon dioxide concentration value acquisition time interval, so that the number of times for acquiring the carbon dioxide concentration value of the environment where the terminal is located is reduced, the number of times for the terminal to execute the air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located is reduced, and the interference brought to a user due to frequent reminding is avoided.
For example, when the carbon dioxide concentration value of the environment where the terminal is located at the current time is less than 500PPM, because the air quality level corresponding to the carbon dioxide concentration value is excellent, it takes a long time to change the carbon dioxide concentration value to the air quality level which is poor, at this time, a large acquisition time interval of the carbon dioxide concentration value may be set, for example, 10 minutes; and when the carbon dioxide concentration value of the environment where the terminal is located at the current time is greater than 2000PPM, the acquisition time interval of the carbon dioxide concentration value may be set to be smaller, for example, 30 seconds.
In some embodiments of the present application, as shown in fig. 3, in order to further reduce interference caused by the air quality alert to the user, in step 202, the obtaining the carbon dioxide concentration value of the environment where the terminal is located again, and after re-determining the time for obtaining the carbon dioxide concentration value of the environment where the terminal is located next time, the method may further include: step 203 to step 204.
And 203, calculating the times that the change value of the carbon dioxide concentration value of the environment where the terminal is located is smaller than a preset threshold value, and/or calculating the times that the terminal continuously executes the same air quality reminding operation.
And when the difference value is smaller than a preset threshold value, the change value indicates that the carbon dioxide concentration value of the environment where the terminal is located does not change greatly.
The number of times that the terminal continuously executes the same air quality reminding operation refers to the number of times that the terminal continuously executes the same air quality reminding operation, for example, the number of times that the terminal plays the same reminding voice reminding, or the number of times that the terminal executes the same vibration reminding.
In the embodiment of the application, when the terminal continuously executes the same air quality reminding operation, the carbon dioxide concentration value of the environment where the terminal is located can be represented without great change. Therefore, the total duration of the carbon dioxide concentration value of the environment where the terminal is located without large change can be determined by calculating the times that the change value of the carbon dioxide concentration value of the environment where the terminal is located is smaller than the preset threshold value and/or calculating the times that the terminal continuously executes the same air quality reminding operation.
Step 204, if the number of times that the change value of the carbon dioxide concentration value of the environment where the terminal is located is smaller than the preset threshold is larger than a first preset number of times, or the number of times that the terminal continuously executes the same air quality reminding operation is larger than a second preset number of times, suspending the acquisition of the carbon dioxide concentration value of the environment where the terminal is located, resuming the acquisition of the carbon dioxide concentration value of the environment where the terminal is located until the terminal returns to a relatively static state after the motion state of the terminal is changed, and executing the air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located.
In the embodiment of the application, when the number of times that the change value of the carbon dioxide concentration value of the environment where the terminal is located is smaller than the preset threshold is larger than the preset number of times, or the number of times that the same air quality reminding operation is continuously executed is larger than the second preset number of times, the total duration indicating that the carbon dioxide concentration value of the environment where the terminal is located does not change greatly is long, and the terminal is located in a space with relatively stable air quality, at this time, a user may not change the carbon dioxide concentration value of the environment where the terminal is located by opening a door or a window or opening an air exchange function of an air conditioner, so that, in order to reduce interference brought to the user by air quality reminding, the acquisition of the carbon dioxide concentration value of the environment where the terminal is located may be suspended first, and the execution of the air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located may be suspended until the motion state of the terminal returns to a relatively static state after the motion state changes, and restarting to acquire the carbon dioxide concentration value of the environment where the terminal is located, and executing an air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located.
In this embodiment of the application, since the terminal performs the operation of acquiring the carbon dioxide concentration value of the environment where the terminal is located and performs the air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located on the premise that the terminal is in the relatively stationary state, returning to the relatively stationary state after the motion state of the terminal is changed means that the terminal changes from the relatively stationary state to the motion state and then changes from the motion state to the relatively stationary state, and in this process, the user may have arrived at another indoor space again, and therefore, it is necessary to restart acquiring the carbon dioxide concentration value of the environment where the terminal is located and perform the air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located.
In each of the above-described embodiments of the present application, as shown in fig. 4, after detecting whether the terminal is in a relatively stationary state, the method may further include: step 104 to step 105.
And 104, if the terminal is not in a relatively static state, acquiring the air pressure value of the environment where the terminal is located.
Since the terminal is not in the relatively stationary state, which means that the terminal is in the moving state, the user may be in the moving state as well.
When the natural air pressure is reduced, the oxygen partial pressure in the atmosphere, the oxygen partial pressure in human alveoli and the arterial oxygen saturation are reduced, the breathing and the blood circulation can be accelerated by the organism to compensate the oxygen deficiency, the phenomena of tachypnea and heart rate acceleration can occur, the symptoms of dizziness, headache, nausea, vomiting, hypodynamia and the like can even occur, and the serious patient can even have pulmonary edema and coma. Therefore, in order to ensure the safety of the user in the motion state, the air pressure value of the environment where the terminal is located can be obtained, and the air quality reminding operation corresponding to the air pressure value is executed, so that the user is prevented from planning outdoor activities better.
And 105, executing an air quality reminding operation corresponding to the air pressure value according to the preset corresponding relation between the air pressure value and the reminding mode.
For example, according to a preset corresponding relationship between the air pressure value and a reminding mode, a target reminding mode corresponding to the air pressure value of the environment where the terminal is located is determined, and air quality reminding operation is executed according to the target reminding mode. For example, displaying the air pressure value of the environment where the terminal is located and the air quality grade corresponding to the air pressure value of the environment where the terminal is located on a display interface of the terminal; and/or playing a prompt voice of the air pressure value of the environment where the terminal is located and the air quality grade corresponding to the air pressure value of the environment where the terminal is located; and/or acquiring a vibration parameter corresponding to the air pressure value of the environment where the terminal is located, and controlling a vibration device of the terminal to perform vibration reminding according to the vibration parameter.
It should be noted that for simplicity of description, the aforementioned method embodiments are all presented as a series of combinations of acts, but those skilled in the art will appreciate that the present invention is not limited by the order of acts described, as some steps may occur in other orders in accordance with the present invention.
Fig. 5 shows a schematic structural diagram of an air quality reminder 500 provided by an embodiment of the application, which includes a detection unit 501, an acquisition unit 502, and a reminder unit 503.
A detecting unit 501, configured to detect whether the terminal is in a relatively static state;
an obtaining unit 502, configured to obtain a carbon dioxide concentration value of an environment where the terminal is located if the terminal is in a relatively stationary state;
and a reminding unit 503, configured to execute an air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located according to a preset correspondence between the carbon dioxide concentration value and a reminding manner.
In some embodiments of the present application, the obtaining unit 502 is further configured to obtain a carbon dioxide concentration value of an environment where the terminal is located at the current time; and determining the time for obtaining the carbon dioxide concentration value of the environment where the terminal is located next time according to the carbon dioxide concentration value of the environment where the terminal is located at the current moment, re-obtaining the carbon dioxide concentration value of the environment where the terminal is located when the time for obtaining the carbon dioxide concentration value of the environment where the terminal is located next time is reached, and re-determining the time for obtaining the carbon dioxide concentration value of the environment where the terminal is located next time.
In some embodiments of the application, the obtaining unit 502 is further configured to calculate, after re-obtaining the carbon dioxide concentration value of the environment where the terminal is located and re-determining the time for obtaining the carbon dioxide concentration value of the environment where the terminal is located next time, the number of times that the change value of the carbon dioxide concentration value of the environment where the terminal is located is smaller than the preset threshold, and/or the number of times that the terminal continuously executes the same air quality reminding operation; and if the number of times that the change value of the carbon dioxide concentration value of the environment where the terminal is located is smaller than the preset threshold value is larger than a first preset number of times, or the number of times that the same air quality reminding operation is continuously executed is larger than a second preset number of times, suspending obtaining the carbon dioxide concentration value of the environment where the terminal is located, suspending executing the air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located, and restarting obtaining the carbon dioxide concentration value of the environment where the terminal is located until the motion state of the terminal returns to a relatively static state after being changed, and executing the air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located.
In some embodiments of the present application, the reminding unit 503 is further configured to display, on a display interface of the terminal, a carbon dioxide concentration value of an environment where the terminal is located and an air quality level corresponding to the carbon dioxide concentration value of the environment where the terminal is located; and/or playing a carbon dioxide concentration value of the environment where the terminal is located and a prompt voice of an air quality grade corresponding to the carbon dioxide concentration value of the environment where the terminal is located; and/or obtaining a vibration parameter corresponding to the carbon dioxide concentration value of the environment where the terminal is located, and controlling a vibration device of the terminal to perform vibration reminding according to the vibration parameter; and/or sending a carbon dioxide concentration prompting message to the preset contact.
In some embodiments of the present application, the reminding unit 503 is further configured to obtain a vibration period, a vibration frequency, a vibration intensity, and a vibration duration period number corresponding to the carbon dioxide concentration value of the environment where the terminal is located, and control a vibration device of the terminal to vibrate according to the vibration period, the vibration frequency, and the vibration duration period number of each vibration period; or acquiring music corresponding to the carbon dioxide concentration value of the environment where the terminal is located, generating a vibration parameter corresponding to the carbon dioxide concentration value of the environment where the terminal is located according to the tone of the music, and controlling a vibration device of the terminal to vibrate according to the vibration parameter.
In some embodiments of the present application, the reminding unit 503 is further configured to determine whether the carbon dioxide concentration value is greater than a preset carbon dioxide concentration value after the execution of the air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located; and if the carbon dioxide concentration value is greater than a preset carbon dioxide concentration value, starting a ventilation function of the household equipment associated with the terminal.
In some embodiments of the present application, the reminding unit 503 is further configured to, after detecting whether the terminal is in the relatively static state, obtain an air pressure value of an environment where the terminal is located if the terminal is not in the relatively static state; and executing air quality reminding operation corresponding to the air pressure value according to the corresponding relation between the preset air pressure value and the reminding mode.
It should be noted that, for convenience and brevity of description, the specific working process of the above-described reminding apparatus 500 of air quality may refer to the corresponding process of the method described in fig. 1 to fig. 4, and is not described herein again.
As shown in fig. 6, the present application provides a terminal for implementing the above-mentioned reminding method of air quality, where the terminal may include: a processor 61, a memory 62, one or more input devices 63 (only one shown in fig. 6), and one or more output devices 64 (only one shown in fig. 6). The processor 61, memory 62, input device 63 and output device 64 are connected by a bus 65.
It should be understood that in the embodiment of the present Application, the Processor 61 may be a Central Processing Unit (CPU), and the Processor may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 63 may include a virtual keyboard, a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 64 may include a display, a speaker, etc.
The memory 62 may include a read-only memory and a random access memory, and provides instructions and data to the processor 61. Some or all of the memory 62 may also include non-volatile random access memory. For example, the memory 62 may also store device type information.
The memory 62 stores a computer program that is executable on the processor 61, and the computer program is, for example, a program of a method for reminding air quality. The processor 61 implements the steps of the above-mentioned reminding method of air quality when executing the above-mentioned computer program, for example, steps 101 to 103 shown in fig. 1. Alternatively, the processor 61 may implement the functions of the units in the device embodiment, such as the functions of the units 501 to 503 shown in fig. 5, when executing the computer program.
The computer program may be divided into one or more modules/units, which are stored in the memory 62 and executed by the processor 61 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, the instruction segments being used to describe the execution of the computer program in the first terminal for performing the air quality alert. For example, the computer program may be divided into a detection unit, an acquisition unit and a reminding unit, and each unit has the following specific functions:
the detection unit is used for detecting whether the terminal is in a relatively static state;
the acquiring unit is used for acquiring a carbon dioxide concentration value of the environment where the terminal is located if the terminal is in a relatively static state;
and the reminding unit is used for executing air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located according to the preset corresponding relation between the carbon dioxide concentration value and the reminding mode.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiment of the present application provides a computer program product, which when running on a terminal device, enables the terminal device to implement the steps of the air quality reminding method in the above embodiments when executed.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal are merely illustrative, and for example, the division of the above-described modules or units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units described above, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above may be implemented by a computer program, which may be stored in a computer readable storage medium and used by a processor to implement the steps of the embodiments of the methods described above. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer readable medium may include: any entity or device capable of carrying the above-described computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable medium described above may include content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media that does not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for reminding air quality is characterized by comprising the following steps:
detecting whether the terminal is in a relatively static state;
if the terminal is in a relatively static state, acquiring a carbon dioxide concentration value of the environment where the terminal is located;
and executing an air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located according to the preset corresponding relation between the carbon dioxide concentration value and the reminding mode.
2. The method for reminding of air quality according to claim 1, wherein the obtaining of the carbon dioxide concentration value of the environment where the terminal is located comprises:
acquiring a carbon dioxide concentration value of the environment where the terminal is located at the current moment;
and determining the time for obtaining the carbon dioxide concentration value of the environment where the terminal is located next time according to the carbon dioxide concentration value of the environment where the terminal is located at the current moment, re-obtaining the carbon dioxide concentration value of the environment where the terminal is located when the time for obtaining the carbon dioxide concentration value of the environment where the terminal is located next time is reached, and re-determining the time for obtaining the carbon dioxide concentration value of the environment where the terminal is located next time.
3. The method for reminding of air quality according to claim 2, wherein after the re-obtaining of the carbon dioxide concentration value of the environment where the terminal is located and the re-determining of the time for obtaining the carbon dioxide concentration value of the environment where the terminal is located next time, the method comprises:
calculating the times that the change value of the carbon dioxide concentration value of the environment where the terminal is located is smaller than a preset threshold value, and/or calculating the times that the terminal continuously executes the same air quality reminding operation;
if the number of times that the change value of the carbon dioxide concentration value of the environment where the terminal is located is smaller than the preset threshold value is larger than a first preset number of times, or the number of times that the terminal continuously executes the same air quality reminding operation is larger than a second preset number of times, suspending acquiring the carbon dioxide concentration value of the environment where the terminal is located, suspending executing the air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located, and resuming acquiring the carbon dioxide concentration value of the environment where the terminal is located until the motion state of the terminal returns to a relatively static state after being changed, and executing the air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located.
4. The method for reminding of air quality according to claim 1, wherein the performing of the air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located comprises:
displaying a carbon dioxide concentration value of an environment where the terminal is located and an air quality grade corresponding to the carbon dioxide concentration value of the environment where the terminal is located on a display interface of the terminal; and/or the presence of a gas in the gas,
playing a carbon dioxide concentration value of the environment where the terminal is located and a prompt voice of an air quality grade corresponding to the carbon dioxide concentration value of the environment where the terminal is located; and/or the presence of a gas in the gas,
obtaining a vibration parameter corresponding to the carbon dioxide concentration value of the environment where the terminal is located, and controlling a vibration device of the terminal to perform vibration reminding according to the vibration parameter; and/or the presence of a gas in the gas,
and sending a carbon dioxide concentration prompting message to the preset contact.
5. The method for reminding of air quality according to claim 4, wherein the obtaining of the vibration parameter corresponding to the carbon dioxide concentration value of the environment where the terminal is located and the controlling of the vibration device of the terminal to vibrate according to the vibration parameter comprise:
acquiring a vibration cycle, the vibration frequency, the vibration intensity and the vibration duration cycle number of each vibration cycle corresponding to the carbon dioxide concentration value of the environment where the terminal is located, and controlling a vibration device of the terminal to vibrate according to the vibration cycle, the vibration frequency of each vibration cycle and the vibration duration cycle number; alternatively, the first and second electrodes may be,
acquiring music corresponding to the carbon dioxide concentration value of the environment where the terminal is located, generating vibration parameters corresponding to the carbon dioxide concentration value of the environment where the terminal is located according to the tone of the music, and controlling a vibration device of the terminal to vibrate according to the vibration parameters.
6. The method for reminding of air quality according to any one of claims 1 to 5, characterized in that after the execution of the air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located, the method comprises:
judging whether the carbon dioxide concentration value is larger than a preset carbon dioxide concentration value;
and if the carbon dioxide concentration value is greater than a preset carbon dioxide concentration value, starting a ventilation function of the household equipment associated with the terminal.
7. The method for reminding of air quality according to any one of claims 1 to 5, wherein after detecting whether the terminal is in a relatively static state, the method comprises:
if the terminal is not in a relatively static state, acquiring an air pressure value of the environment where the terminal is located;
and executing air quality reminding operation corresponding to the air pressure value according to the corresponding relation between the preset air pressure value and the reminding mode.
8. An air quality reminder device, comprising:
the detection unit is used for detecting whether the terminal is in a relatively static state;
the acquiring unit is used for acquiring a carbon dioxide concentration value of the environment where the terminal is located if the terminal is in a relatively static state;
and the reminding unit is used for executing air quality reminding operation corresponding to the carbon dioxide concentration value of the environment where the terminal is located according to the preset corresponding relation between the carbon dioxide concentration value and the reminding mode.
9. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202010240025.4A 2020-03-30 2020-03-30 Air quality reminding method and device, terminal and storage medium Active CN113542484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010240025.4A CN113542484B (en) 2020-03-30 2020-03-30 Air quality reminding method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010240025.4A CN113542484B (en) 2020-03-30 2020-03-30 Air quality reminding method and device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113542484A true CN113542484A (en) 2021-10-22
CN113542484B CN113542484B (en) 2022-12-06

Family

ID=78087640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010240025.4A Active CN113542484B (en) 2020-03-30 2020-03-30 Air quality reminding method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113542484B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116400011A (en) * 2023-03-09 2023-07-07 中国环境科学研究院 Regional scale ecosystem carbon flux unmanned aerial vehicle airborne automatic detection equipment
WO2024007639A1 (en) * 2022-07-07 2024-01-11 青岛海尔空调器有限总公司 Method and apparatus for auxiliary learning by means of air conditioner, air conditioner and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159943A (en) * 2007-10-22 2008-04-09 中兴通讯股份有限公司 Communication mobile terminal and service short message display method
CN103940964A (en) * 2014-04-25 2014-07-23 惠州Tcl移动通信有限公司 Method and system for detecting poisonous gas and intelligent mobile terminal
US20150330817A1 (en) * 2006-03-10 2015-11-19 Sui Chun Law Method and Device for Environmental and Health Monitoring
CN106248542A (en) * 2016-08-16 2016-12-21 广东欧珀移动通信有限公司 A kind of detect the method for air quality, device and terminal
CN107144305A (en) * 2017-06-09 2017-09-08 深圳市金立通信设备有限公司 A kind of Detection of Air Quality method and mobile terminal
CN107199845A (en) * 2017-06-12 2017-09-26 吉林大学 One kind drives indoor environment active control system and its control method
CN107478780A (en) * 2017-11-01 2017-12-15 广东小天才科技有限公司 Monitoring method, device, mobile device and the storage medium of air quality
CN107791974A (en) * 2016-08-31 2018-03-13 联创汽车电子有限公司 The on-vehicle safety ecosystem
CN108469496A (en) * 2017-02-23 2018-08-31 长沙六人行网络科技合伙企业(有限合伙) A kind of design of intelligent movable domestic environment monitoring system
CN109204216A (en) * 2018-10-18 2019-01-15 吉利汽车研究院(宁波)有限公司 Environment inside car monitoring system and its control method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150330817A1 (en) * 2006-03-10 2015-11-19 Sui Chun Law Method and Device for Environmental and Health Monitoring
CN101159943A (en) * 2007-10-22 2008-04-09 中兴通讯股份有限公司 Communication mobile terminal and service short message display method
CN103940964A (en) * 2014-04-25 2014-07-23 惠州Tcl移动通信有限公司 Method and system for detecting poisonous gas and intelligent mobile terminal
CN106248542A (en) * 2016-08-16 2016-12-21 广东欧珀移动通信有限公司 A kind of detect the method for air quality, device and terminal
CN107791974A (en) * 2016-08-31 2018-03-13 联创汽车电子有限公司 The on-vehicle safety ecosystem
CN108469496A (en) * 2017-02-23 2018-08-31 长沙六人行网络科技合伙企业(有限合伙) A kind of design of intelligent movable domestic environment monitoring system
CN107144305A (en) * 2017-06-09 2017-09-08 深圳市金立通信设备有限公司 A kind of Detection of Air Quality method and mobile terminal
CN107199845A (en) * 2017-06-12 2017-09-26 吉林大学 One kind drives indoor environment active control system and its control method
CN107478780A (en) * 2017-11-01 2017-12-15 广东小天才科技有限公司 Monitoring method, device, mobile device and the storage medium of air quality
CN109204216A (en) * 2018-10-18 2019-01-15 吉利汽车研究院(宁波)有限公司 Environment inside car monitoring system and its control method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
倪峰主编: "《风情小镇》", 30 September 2019, 北京:中国旅游出版社 *
郑馥丹著: "《"互联网+"计算机应用基础教程 Windows 7+Office 2010》", 31 October 2017, 北京:北京邮电大学出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024007639A1 (en) * 2022-07-07 2024-01-11 青岛海尔空调器有限总公司 Method and apparatus for auxiliary learning by means of air conditioner, air conditioner and storage medium
CN116400011A (en) * 2023-03-09 2023-07-07 中国环境科学研究院 Regional scale ecosystem carbon flux unmanned aerial vehicle airborne automatic detection equipment
CN116400011B (en) * 2023-03-09 2023-09-05 中国环境科学研究院 Regional scale ecosystem carbon flux unmanned aerial vehicle airborne automatic detection equipment

Also Published As

Publication number Publication date
CN113542484B (en) 2022-12-06

Similar Documents

Publication Publication Date Title
CN113542484B (en) Air quality reminding method and device, terminal and storage medium
US20160339300A1 (en) Controlling user devices based on biometric readings
CN112066528A (en) Air conditioner control method and device, storage medium and air conditioner
CN107205659A (en) Method and apparatus for improving and monitoring sleep
CN109497945B (en) Sleep state control method and device
WO2017067010A1 (en) Sleep evaluation display method and apparatus, and evaluation device
CN106453867A (en) Alarm clock control method and device
CN111457493B (en) Air purification control method and device and related equipment
CN110825227B (en) Ward intelligent monitoring system and method based on VR technology
CN105844106A (en) Health prompting method and device
CN107918726A (en) Apart from inducing method, equipment and storage medium
CN109568766A (en) Audio frequency playing method, device and computer readable storage medium
CN109561213A (en) A kind of eyeshield mode control method, terminal and computer readable storage medium
CN113819619A (en) Method and device for controlling air conditioner, air conditioner and storage medium
CN112880119A (en) Air conditioner control method and device, storage medium and air conditioner
CN112932225B (en) Intelligent awakening pillow and awakening method based on intelligent awakening pillow
CN110587621A (en) Robot, robot-based patient care method and readable storage medium
CN109758767A (en) Game difficulty method of adjustment, terminal and computer readable storage medium
SE2051567A1 (en) Fitness instruction method and system
WO2022161067A1 (en) Pre-sleep state detection method and device
WO2022065446A1 (en) Feeling determination device, feeling determination method, and feeling determination program
CN206271418U (en) A kind of wearable intelligent terminal
CN114821962B (en) Triggering method, triggering device, triggering terminal and storage medium for emergency help function
CN113744896A (en) Method for detecting user emotion, cloud server and terminal equipment
CN114694635A (en) Sleep scene setting method and device

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
GR01 Patent grant
GR01 Patent grant