CN112667713A - Intelligent control method and device of aromatherapy machine and storage medium - Google Patents

Intelligent control method and device of aromatherapy machine and storage medium Download PDF

Info

Publication number
CN112667713A
CN112667713A CN202110028592.8A CN202110028592A CN112667713A CN 112667713 A CN112667713 A CN 112667713A CN 202110028592 A CN202110028592 A CN 202110028592A CN 112667713 A CN112667713 A CN 112667713A
Authority
CN
China
Prior art keywords
data
control mode
information
human body
aromatherapy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110028592.8A
Other languages
Chinese (zh)
Inventor
王永伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Elektra Industrial China Co Ltd
Elektra Industrial China Co Ltd Suzhou Branch
Original Assignee
Elektra Industrial China Co Ltd
Elektra Industrial China Co Ltd Suzhou Branch
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 Elektra Industrial China Co Ltd, Elektra Industrial China Co Ltd Suzhou Branch filed Critical Elektra Industrial China Co Ltd
Priority to CN202110028592.8A priority Critical patent/CN112667713A/en
Publication of CN112667713A publication Critical patent/CN112667713A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses an intelligent control method, an intelligent control device and a storage medium of an aromatherapy machine, wherein the intelligent control method comprises the following steps: acquiring environmental information of a current environment and human body state information in the current environment; receiving user voice, identifying and encoding to form user voice data; inputting the received information data into a control mode database to obtain the control mode data of the matched aromatherapy machine; and configuring the aromatherapy machine according to the control mode data of the aromatherapy machine to complete the aromatherapy taste, the aromatherapy concentration, the lamplight brightness, the lamplight color and the music playing under the control mode. Compared with the prior art, the invention has the beneficial effects that: intelligent control; through environment information, human body state information and a voice control mode, a plurality of control modes are integrated; a specific control mode data error correction mode is adopted to prevent control errors of the aromatherapy machine; the invention has significance for future home development by adopting a cloud control Internet of things mode.

Description

Intelligent control method and device of aromatherapy machine and storage medium
Technical Field
The invention relates to the technical field of intelligent home furnishing, in particular to an intelligent control method and device of an aromatherapy machine and a storage medium.
Background
The existing aromatherapy machine decomposes water molecules and dissolved plant essential oil into cold mist with the diameter of nanometer level and emits the cold mist into the surrounding air through high-frequency oscillation generated by ultrasonic oscillation equipment, so that the air is full of fragrant devices. The indoor air is dry after heating in winter, people can have the symptoms of dry heat such as dry lip, dry throat and hoarseness, bitter taste and dry cough, dry skin, epistaxis and the like, the aromatherapy machine atomizes water and pure plant essential oil in multiple modes, enables a room to keep higher humidity, generates a certain amount of natural negative oxygen ions, purifies air, achieves the aromatherapy effect, can assist in treating and relieving diseases such as influenza, hypertension, tracheitis and the like, and plays a certain protection role in the nervous system, the cardiovascular system and the metabolism of a human body. The aromatherapy machine has various aromatherapy types, and the prior art cannot realize the intelligent control of the aromatherapy machine according to the current human body state and the current environment state.
Disclosure of Invention
The present invention is to solve the above problems in the background art, and provides an intelligent control method, an intelligent control device and a storage medium for an aromatherapy machine.
In order to achieve the purpose, the invention provides the following technical scheme:
a control method of an aromatherapy machine comprises the following steps:
step 1, obtaining environmental information of a current environment and human body state information in the current environment; the environment information includes at least: light intensity, temperature, humidity; the human body state information at least comprises: human body motion information, human body physiological information;
step 2, inputting the human body state information and the environment information into a control mode database to obtain control mode data of the matched aromatherapy machine;
and 3, configuring the aromatherapy machine according to the control mode data of the aromatherapy machine to complete the aromatherapy taste, the aromatherapy concentration, the lamplight brightness, the lamplight color and the music playing under the control mode.
Preferably, the step 1 of "acquiring environment information of a current environment and human body state information in the current environment" specifically includes:
acquiring a cloud point image through a laser radar, and judging to obtain human body action information;
acquiring human physiological information through a sensor;
and acquiring environmental information of the current environment through a sensor.
Preferably, the step 2 of inputting the human body state information and the environment information into a control mode database to obtain control mode data of the aromatherapy machine matched with each other specifically includes:
when detecting that a control mode data calling request is called according to the human body state information and the environment information, judging whether a target process of control mode data corresponding to the data calling request is started or not;
if not, acquiring first attribute information corresponding to the data calling request and second attribute information corresponding to corresponding control mode data;
if the target process meets a preset association starting forbidding condition according to the first attribute information and the second attribute information, forbidding the target process to start;
and if the target process is determined not to meet the preset association-forbidden starting condition according to the first attribute information and the second attribute information, allowing the target process to be started.
Preferably, the first attribute information includes an identifier and an application package name corresponding to the data call request, and the second attribute information includes an identifier and an application package name corresponding to the control mode data, a component name to which the target process belongs, and an associated start switch state of the control mode data.
Preferably, the "detecting that the control mode data request is invoked according to the human body state information and the environment information" is specifically,
triggering a corresponding database plug-in according to the control mode data call request, wherein the database plug-in comprises a data pipeline initialization function and a data acquisition function;
determining a cloud server for storing data corresponding to the database plug-in according to a preset system mapping table, wherein the system mapping table is used for recording the corresponding relation between the cloud server and the database plug-in;
creating a data pipeline for transmitting the stored data according to a data pipeline initialization function of the database plug-in;
and acquiring the control mode data from the cloud server through the data pipeline according to the data acquisition function of the database plug-in.
Preferably, the creating a data pipe for transmitting the storage data according to the data pipe initialization function of the database plug-in specifically includes:
creating the data pipeline based on the process number of the control mode data call request;
setting a data calling mode at an input port of the data pipeline, wherein the input port of the data pipeline acquires the control mode data from the cloud server;
and binding an output port of the data pipeline with a data acquisition port by using a copy function, wherein the output port of the data pipeline outputs the control mode data to the data acquisition port.
Preferably, the step 1 and the step 2 further comprise the following steps,
receiving user voice, identifying and encoding to form user voice data;
and inputting the user voice data into a control mode database to obtain the control mode data of the matched aromatherapy machine.
Preferably, the receiving the user voice, recognizing and encoding the user voice, and forming the user voice data specifically includes:
the voice from the user is received by the voice sensors distributed on the outer surface of the aromatherapy machine interacting with the user through the voice control system, the voice is recognized according to the tone, amplitude, frequency and sound line of the voice, the analog signal recognized as the voice of the user is coded into a digital signal through analog-to-digital conversion to form user voice data, and the user voice data is sent to the voice control system of the voice control system.
The invention also discloses a control device of the aromatherapy machine, which comprises:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring environmental information of the current environment and human body state information in the current environment; the environment information at least comprises light intensity, temperature and humidity; the human body state information at least comprises human body action information and human body physiological information;
the processing unit is used for inputting the human body state information and the environment information into a control mode database to obtain a control mode of the aromatherapy machine matched with the human body state information and the environment information;
and the control unit is used for configuring the aromatherapy machine according to the control mode data of the aromatherapy machine to complete the aromatherapy taste, the aromatherapy concentration, the light brightness, the light color and the music playing under the control mode.
The invention also discloses a storage medium which stores a computer program which can be executed by one or more processors and is used for realizing the intelligent control method of the aromatherapy machine.
Compared with the prior art, the invention has the beneficial effects that: intelligent control; through environment information, human body state information and a voice control mode, a plurality of control modes are integrated; a specific control mode data error correction mode is adopted to prevent control errors of the aromatherapy machine; the invention has significance for future home development by adopting a cloud control Internet of things mode.
Detailed Description
The technical solutions in the embodiments of the present invention are clearly and completely described below, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides an intelligent control method of an aromatherapy machine, which comprises the following steps: acquiring environmental information of a current environment and human body state information in the current environment; receiving user voice, identifying and encoding to form user voice data; inputting the received information data into a control mode database to obtain the control mode data of the matched aromatherapy machine; and configuring the aromatherapy machine according to the control mode data of the aromatherapy machine to complete the aromatherapy taste, the aromatherapy concentration, the lamplight brightness, the lamplight color and the music playing under the control mode.
Specifically, the environment information includes at least: light intensity, temperature, humidity; the human body state information at least comprises: the human body movement information comprises expression change, movement distance change and the like; the human physiological information includes: heart rate, pulse, blood pressure, and body temperature, etc.
In the step 1, "acquiring the environmental information of the current environment and the human body state information in the current environment" specifically includes:
acquiring a cloud point image through a laser radar, and judging to obtain human body action information;
acquiring human physiological information through a sensor;
and acquiring environmental information of the current environment through a sensor.
The above-mentioned obtaining steps have corresponding solutions in the prior art, and therefore are not described herein.
And in the step 2, inputting the human body state information and the environmental information into a control mode database to obtain control mode data of the aromatherapy machine matched with the human body state information and the environmental information. In actual use, contradictory or opposite control modes are often generated. For example, the control mode data comprises the brightness of the light of the aromatherapy machine, when the control mode data of the matched aromatherapy machine obtained by using the physiological information of the human body comprises the step of increasing the brightness, but the current day is displayed in the environmental information, and the light of the aromatherapy machine is not required to be turned on; for another example, the control mode data of the aromatherapy machine matched with the environmental information comprises music being turned on, but the music cannot be turned on if the control mode data is displayed in a sleep state from the human body physiological information. Thus, there will be a relative control progression in the control pattern data. In view of this, in the present invention, the step 2 of inputting the human body state information and the environment information into a control mode database to obtain the matched control mode data of the aromatherapy machine specifically includes:
when detecting that a control mode data calling request is called according to the human body state information and the environment information, judging whether a target process of control mode data corresponding to the data calling request is started or not;
if not, acquiring first attribute information corresponding to the data calling request and second attribute information corresponding to corresponding control mode data;
if the target process meets a preset association starting forbidding condition according to the first attribute information and the second attribute information, forbidding the target process to start;
and if the target process is determined not to meet the preset association-forbidden starting condition according to the first attribute information and the second attribute information, allowing the target process to be started.
Preferably, the first attribute information includes an identifier and an application package name corresponding to the data call request, and the second attribute information includes an identifier and an application package name corresponding to the control mode data, a component name to which the target process belongs, and an associated start switch state of the control mode data. The specific control mode data error correction mode of the invention prevents the control error of the aromatherapy machine.
Preferably, the present invention further comprises the step of,
receiving user voice, identifying and encoding to form user voice data;
and inputting the user voice data into a control mode database to obtain the control mode data of the matched aromatherapy machine.
Preferably, the receiving the user voice, recognizing and encoding the user voice, and forming the user voice data specifically includes:
the voice from the user is received by the voice sensors distributed on the outer surface of the aromatherapy machine interacting with the user through the voice control system, the voice is recognized according to the tone, amplitude, frequency and sound line of the voice, the analog signal recognized as the voice of the user is coded into a digital signal through analog-to-digital conversion to form user voice data, and the user voice data is sent to the voice control system of the voice control system.
In order to better decouple the software and the hardware, use the hardware universally and avoid the locking of a single manufacturer, the invention adopts the cloud control.
The "detecting a request for invoking control mode data according to the human body state information and the environment information" is specifically,
triggering a corresponding database plug-in according to the control mode data call request, wherein the database plug-in comprises a data pipeline initialization function and a data acquisition function;
determining a cloud server for storing data corresponding to the database plug-in according to a preset system mapping table, wherein the system mapping table is used for recording the corresponding relation between the cloud server and the database plug-in;
creating a data pipeline for transmitting the stored data according to a data pipeline initialization function of the database plug-in;
and acquiring the control mode data from the cloud server through the data pipeline according to the data acquisition function of the database plug-in.
Preferably, the creating a data pipe for transmitting the storage data according to the data pipe initialization function of the database plug-in specifically includes:
creating the data pipeline based on the process number of the control mode data call request;
setting a data calling mode at an input port of the data pipeline, wherein the input port of the data pipeline acquires the control mode data from the cloud server;
and binding an output port of the data pipeline with a data acquisition port by using a copy function, wherein the output port of the data pipeline outputs the control mode data to the data acquisition port.
The invention also discloses a control device of the aromatherapy machine, which comprises:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring environmental information of the current environment and human body state information in the current environment; the environment information at least comprises light intensity, temperature and humidity; the human body state information at least comprises human body action information and human body physiological information;
the processing unit is used for inputting the human body state information and the environment information into a control mode database to obtain a control mode of the aromatherapy machine matched with the human body state information and the environment information;
and the control unit is used for configuring the aromatherapy machine according to the control mode data of the aromatherapy machine to complete the aromatherapy taste, the aromatherapy concentration, the light brightness, the light color and the music playing under the control mode.
Also disclosed is a storage medium such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc. The storage medium stores computer programs, which can be executed by one or more processors, for implementing the control method of the aromatherapy machine as described above.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (10)

1. An intelligent control method of an aromatherapy machine is characterized by comprising the following steps:
step 1, obtaining environmental information of a current environment and human body state information in the current environment; the environment information includes at least: light intensity, temperature, humidity; the human body state information at least comprises: human body motion information, human body physiological information;
step 2, inputting the human body state information and the environment information into a control mode database to obtain control mode data of the matched aromatherapy machine;
and 3, configuring the aromatherapy machine according to the control mode data of the aromatherapy machine to complete the aromatherapy taste, the aromatherapy concentration, the lamplight brightness, the lamplight color and the music playing under the control mode.
2. The method according to claim 1, wherein the step 1 of "obtaining environmental information of a current environment and human body state information in the current environment" specifically includes:
acquiring a cloud point image through a laser radar, and judging to obtain human body action information;
acquiring human physiological information through a sensor;
and acquiring environmental information of the current environment through a sensor.
3. The method according to claim 1, wherein the step 2 of inputting the human body state information and the environment information into a control mode database to obtain the control mode data of the matched aromatherapy machine specifically comprises:
when detecting that a control mode data calling request is called according to the human body state information and the environment information, judging whether a target process of control mode data corresponding to the data calling request is started or not;
if not, acquiring first attribute information corresponding to the data calling request and second attribute information corresponding to corresponding control mode data;
if the target process meets a preset association starting forbidding condition according to the first attribute information and the second attribute information, forbidding the target process to start;
and if the target process is determined not to meet the preset association-forbidden starting condition according to the first attribute information and the second attribute information, allowing the target process to be started.
4. The method according to claim 3, wherein the first attribute information includes an identifier and an application package name corresponding to the data call request, and the second attribute information includes an identifier and an application package name corresponding to the control mode data, a component name to which the target process belongs, and an associated start switch state of the control mode data.
5. The method according to claim 3, wherein the detecting of the invoking of the control mode data request according to the human body state information and the environment information is specifically,
triggering a corresponding database plug-in according to the control mode data call request, wherein the database plug-in comprises a data pipeline initialization function and a data acquisition function;
determining a cloud server for storing data corresponding to the database plug-in according to a preset system mapping table, wherein the system mapping table is used for recording the corresponding relation between the cloud server and the database plug-in;
creating a data pipeline for transmitting the stored data according to a data pipeline initialization function of the database plug-in;
and acquiring the control mode data from the cloud server through the data pipeline according to the data acquisition function of the database plug-in.
6. The method according to claim 5, wherein the creating a data pipe for transmitting the stored data according to a data pipe initialization function of the database plug-in specifically comprises:
creating the data pipeline based on the process number of the control mode data call request;
setting a data calling mode at an input port of the data pipeline, wherein the input port of the data pipeline acquires the control mode data from the cloud server;
and binding an output port of the data pipeline with a data acquisition port by using a copy function, wherein the output port of the data pipeline outputs the control mode data to the data acquisition port.
7. The method of claim 1, wherein the steps 1 and 2 further comprise the steps of,
receiving user voice, identifying and encoding to form user voice data;
and inputting the user voice data into a control mode database to obtain the control mode data of the matched aromatherapy machine.
8. The method of claim 7, wherein receiving user speech, recognizing and encoding to form user speech data, specifically comprises:
the voice from the user is received by the voice sensors distributed on the outer surface of the aromatherapy machine interacting with the user through the voice control system, the voice is recognized according to the tone, amplitude, frequency and sound line of the voice, the analog signal recognized as the voice of the user is coded into a digital signal through analog-to-digital conversion to form user voice data, and the user voice data is sent to the voice control system of the voice control system.
9. The utility model provides an intelligent control device of champignon machine which characterized in that includes:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring environmental information of the current environment and human body state information in the current environment; the environment information at least comprises light intensity, temperature and humidity; the human body state information at least comprises human body action information and human body physiological information;
the processing unit is used for inputting the human body state information and the environment information into a control mode database to obtain a control mode of the aromatherapy machine matched with the human body state information and the environment information;
and the control unit is used for configuring the aromatherapy machine according to the control mode data of the aromatherapy machine to complete the aromatherapy taste, the aromatherapy concentration, the light brightness, the light color and the music playing under the control mode.
10. A storage medium storing a computer program executable by one or more processors for implementing the intelligent control method of an aromatherapy machine as claimed in any one of claims 1 to 8.
CN202110028592.8A 2021-01-11 2021-01-11 Intelligent control method and device of aromatherapy machine and storage medium Pending CN112667713A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110028592.8A CN112667713A (en) 2021-01-11 2021-01-11 Intelligent control method and device of aromatherapy machine and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110028592.8A CN112667713A (en) 2021-01-11 2021-01-11 Intelligent control method and device of aromatherapy machine and storage medium

Publications (1)

Publication Number Publication Date
CN112667713A true CN112667713A (en) 2021-04-16

Family

ID=75414029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110028592.8A Pending CN112667713A (en) 2021-01-11 2021-01-11 Intelligent control method and device of aromatherapy machine and storage medium

Country Status (1)

Country Link
CN (1) CN112667713A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115240679A (en) * 2022-09-22 2022-10-25 新丰香知韵工艺品有限公司 Intelligent voice control method and system based on Internet of things control aromatherapy machine
CN116301126A (en) * 2022-12-20 2023-06-23 深圳市海蓝宝创科技有限公司 Control method of aromatherapy machine, control device of aromatherapy machine and aromatherapy machine

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105185378A (en) * 2015-10-20 2015-12-23 珠海格力电器股份有限公司 Voice control method, voice control system and voice-controlled air-conditioner
CN107861773A (en) * 2017-11-21 2018-03-30 广东欧珀移动通信有限公司 Associate management-control method, device, storage medium and the mobile terminal started
CN108846129A (en) * 2018-07-02 2018-11-20 腾讯科技(深圳)有限公司 Storing data access method, device and storage medium
CN110585469A (en) * 2019-08-06 2019-12-20 深圳市璐琥进出口有限公司 Control method applied to aromatherapy machine
CN111110902A (en) * 2019-11-22 2020-05-08 珠海格力电器股份有限公司 Control method and device of aromatherapy machine, storage medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105185378A (en) * 2015-10-20 2015-12-23 珠海格力电器股份有限公司 Voice control method, voice control system and voice-controlled air-conditioner
CN107861773A (en) * 2017-11-21 2018-03-30 广东欧珀移动通信有限公司 Associate management-control method, device, storage medium and the mobile terminal started
CN108846129A (en) * 2018-07-02 2018-11-20 腾讯科技(深圳)有限公司 Storing data access method, device and storage medium
CN110585469A (en) * 2019-08-06 2019-12-20 深圳市璐琥进出口有限公司 Control method applied to aromatherapy machine
CN111110902A (en) * 2019-11-22 2020-05-08 珠海格力电器股份有限公司 Control method and device of aromatherapy machine, storage medium and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115240679A (en) * 2022-09-22 2022-10-25 新丰香知韵工艺品有限公司 Intelligent voice control method and system based on Internet of things control aromatherapy machine
CN115240679B (en) * 2022-09-22 2022-12-09 新丰香知韵工艺品有限公司 Intelligent voice control method and system based on Internet of things control aromatherapy machine
CN116301126A (en) * 2022-12-20 2023-06-23 深圳市海蓝宝创科技有限公司 Control method of aromatherapy machine, control device of aromatherapy machine and aromatherapy machine
CN116301126B (en) * 2022-12-20 2024-01-30 深圳市海蓝宝创科技有限公司 Control method of aromatherapy machine, control device of aromatherapy machine and aromatherapy machine

Similar Documents

Publication Publication Date Title
CN112667713A (en) Intelligent control method and device of aromatherapy machine and storage medium
US20180232571A1 (en) Intelligent assistant device communicating non-verbal cues
US11176945B2 (en) Healthcare systems and methods using voice inputs
CN111110902B (en) Control method and device of aromatherapy machine, storage medium and electronic equipment
CN108280911A (en) The elderly's intelligent medical monitor system based on Internet of Things
KR20160059522A (en) Method for diffusering scent based on user situation
TW200850057A (en) Method, system and user interface for automatically creating an atmosphere, particularly a lighting atmosphere, based on a keyword input
WO2018006372A1 (en) Method and system for controlling household appliance on basis of intent recognition, and robot
CN111486558A (en) Sleep control method of air conditioner and air conditioner
CN109497945A (en) A kind of sleep state control method and device
CN110827789B (en) Music generation method, electronic device and computer readable storage medium
CN111077785A (en) Awakening method, awakening device, terminal and storage medium
CN116541103B (en) Music control method and system based on sleep monitoring and intelligent watch
CN110111906A (en) A kind of drug monitoring device and drug storage device
CN109213892A (en) A kind of audio frequency playing method, device, equipment and storage medium
CN115137310A (en) Sleep data management method and system based on music identification of Internet of things
Williams Phonological reorganization: A qualitative measure of phonological improvement
WO2023019943A1 (en) Method and apparatus for controlling air conditioner, and air conditioner
CN111198733A (en) Startup picture display method, terminal device and storage medium
CN113741847B (en) Light control method, system and storage medium
CN116072297A (en) Method and related device for determining mental health data based on novel interaction
Deane-Drummond The Bible and environmental ethics
CN115264860A (en) Method and device for air conditioner auxiliary learning, air conditioner and storage medium
CN112642049A (en) Control method and device for highly intelligent aromatherapy machine and storage medium
CN109858334A (en) A kind of recognition methods of baby's demand and device, computer readable storage medium

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