Control method and system of aroma diffuser and aroma diffuser
By combining gesture and voice control, using gesture feature models and environmental parameters to generate intelligent operation instructions, the problem of cumbersome operation of the aromatherapy machine is solved, the user experience and control accuracy is improved, and the intelligent management of the aromatherapy machine is realized.
Patent Information
- Application Number
- CN202411439697.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2044-10-15
AI Technical Summary
The intelligent control solution of traditional aromatherapy machines is complicated to operate, and the control interface is not intuitive and friendly enough, which leads to inconvenience in users.
By obtaining user operation gesture data and voice commands, a user gesture feature model is constructed to compare with the pre-stored gesture feature database, and combined with environmental parameter data, intelligent operation instructions are generated to control the aromatherapy machine to achieve simpler and more accurate operation.
It simplifies the operation process of the aromatherapy machine, enhances the convenience and diversity of user interaction, improves the user experience, and supports remote wireless control and dynamic scene transformation.
Smart Images

Figure CN119247853A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of aromatherapy machines, and in particular to a control method and system for an aromatherapy machine and an aromatherapy machine. Background Art
[0002] As the popularity of smart electronic products continues to rise, the trend of intelligence is becoming more and more obvious. Various products based on IoT technology continue to emerge, including smart lights, refrigerators, air conditioners, TVs, curtains, etc. Among them, smart aromatherapy machines, as a new choice to improve the quality of life, are gradually integrated into people's daily lives. As a new wave of global informatization after computers, the Internet and mobile communications, the technological progress of the Internet of Things has driven the rapid growth of the number, types and density of terminal devices. In order to further optimize user experience and service quality, services for specific scenarios are gradually developing and changing from passive response to a more proactive service model. In this context, aromatherapy machines that can add a sense of technology and provide intelligent and scenario-based services are becoming increasingly popular among consumers.
[0003] As a device designed to improve the natural space environment, the aroma diffuser allows users to choose the appropriate product style according to different interior decoration needs. It is suitable for offices, homes, shopping malls, living rooms, bedrooms and even bathrooms. Currently, users can adjust the various parameters of the aroma diffuser, such as the content of negative ions in the air, the concentration of fragrance, the fragrance adjustment mode, the brightness of the light and its change mode, etc., through manual or intelligent switching.
[0004] However, traditional intelligent control solutions for aromatherapy machines are often cumbersome to operate, and the control interface is not intuitive and friendly enough, which brings inconvenience to users' actual use. Summary of the invention
[0005] The present invention provides a control method, system, electronic device and storage medium of an aroma diffuser, so as to realize easier and more accurate control of the aroma diffuser.
[0006] In a first aspect, in order to solve the above technical problems, the present invention provides a control method of an aromatherapy machine, comprising: Obtain user operation gesture data, aromatherapy machine operation command data and voice command operation data; Constructing a user gesture feature model according to the user operation gesture data, and comparing it with a pre-stored gesture feature database to obtain gesture operation instruction data with the highest matching rate; According to the gesture operation instruction data, the aromatherapy machine operation instruction data and the voice instruction operation data, a first instruction is obtained through a preset gesture threshold condition; Acquire environmental parameter data, wherein the environmental parameter data includes one or more of the following data: aromatherapy concentration, air negative ion concentration data, humidity data, light brightness data, temperature data, and aromatherapy machine switch status; According to the environmental parameters, a second instruction is obtained through a preset intelligent operation model; The aroma diffuser is controlled to operate according to the first instruction and the second instruction.
[0007] Preferably, the aromatherapy machine operation instruction data includes: a power-on instruction, a power-off instruction, an aromatherapy concentration setting instruction or an aromatherapy concentration time setting instruction; The voice instruction operation data includes user timbre data and voice content data.
[0008] In an optional implementation, constructing a user gesture feature model according to the user operation gesture data, and comparing it with a pre-stored gesture feature database to obtain gesture operation instruction data with the highest matching rate includes: Calculate a current gesture feature data set from the user operation gesture data; wherein the user operation gesture data is stored in the form of an image; Comparing the current gesture feature data set with the historical user gesture feature library to construct a current user gesture feature model; The current user gesture feature model is compared with a pre-stored standard gesture feature database to obtain gesture operation instruction data with the highest matching rate, wherein the standard gesture feature database includes standard gesture operation instruction data.
[0009] In an optional implementation, obtaining the first instruction according to the gesture operation instruction data, the aromatherapy machine operation instruction data and the voice instruction operation data through a preset gesture threshold condition includes: When the matching rate of the gesture operation instruction data is lower than a preset matching rate threshold, a first instruction is obtained according to the aromatherapy machine operation instruction or the user voice instruction; If the matching rate of the gesture operation instruction data is greater than or equal to a preset matching rate threshold, the gesture operation instruction data is used as the first instruction; The first instruction includes a power on / off instruction, a temperature and humidity control instruction, an aromatherapy type control instruction or a time control instruction.
[0010] In an optional implementation, obtaining the second instruction according to the environmental parameter through a preset intelligent operation model includes: When the environmental parameter includes aromatherapy concentration, the aromatherapy concentration is input into the intelligent operation model to obtain a second instruction including controlling the aromatherapy concentration; When the environmental parameter includes light brightness data, the light brightness data is input into the intelligent operation model to obtain a second instruction including a power on / off instruction; The intelligent operation model is obtained through historical big data training, and the intelligent operation model can predict corresponding operation instructions according to input environmental parameters.
[0011] In an optional implementation, controlling the aromatherapy machine to work according to the first instruction and the second instruction includes: When it is determined that the first instruction conflicts with the second instruction, the first instruction is executed first; When it is determined that the first instruction and the second instruction include a main function instruction, the main function instruction is executed preferentially; The main function instructions include power on / off instructions, temperature and humidity control instructions or aromatherapy type control instructions.
[0012] In an optional implementation, after controlling the aroma diffuser to work according to the first instruction and the second instruction, the method further includes: When the first instruction is not updated for a preset time, a reminder signal is sent to the user, and the aromatherapy machine is controlled to work according to the second instruction; After sending a reminder signal to the user, if no response is received from the user after the preset alarm time, it is determined that an accident has occurred and the aromatherapy machine is controlled to automatically alarm.
[0013] In a second aspect, the present invention provides a control system for an aromatherapy machine, comprising: The command acquisition module is used to acquire user operation gesture data, aromatherapy machine operation command data and voice command operation data; A gesture analysis module, used to construct a user gesture feature model based on the user operation gesture data, and compare it with a pre-stored gesture feature database to obtain gesture operation instruction data with the highest matching rate; A user instruction module, configured to obtain a first instruction according to the gesture operation instruction data, the aromatherapy machine operation instruction data and the voice instruction operation data through a preset gesture threshold condition; An environment acquisition module is used to acquire environment parameter data, wherein the environment parameter data includes one or more of the following data: aromatherapy concentration, air negative ion concentration data, humidity data, light brightness data, temperature data, and aromatherapy machine switch status; An intelligent instruction module, used to obtain a second instruction according to the environmental parameters through a preset intelligent operation model; The instruction issuing module is used to control the aroma diffuser to work according to the first instruction and the second instruction.
[0014] In a third aspect, the present invention further provides an aromatherapy machine, comprising the aromatherapy machine control system as described above.
[0015] In a fourth aspect, the present invention further provides a computer-readable storage medium, the computer-readable storage medium comprising a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned methods for controlling the aromatherapy machine.
[0016] Compared with the prior art, the present invention has the following beneficial effects: The present invention discloses a control method for an aromatherapy machine, the method comprising acquiring user operation gesture data, aromatherapy machine operation instruction data and voice instruction operation data; constructing a user gesture feature model according to the user operation gesture data, and comparing it with a pre-stored gesture feature database to obtain gesture operation instruction data with the highest compliance rate; obtaining a first instruction according to the gesture operation instruction data, the aromatherapy machine operation instruction data and the voice instruction operation data through a preset gesture threshold condition; acquiring environmental parameter data, the environmental parameter data including one or more of the following data: aromatherapy concentration, air negative ion concentration data, humidity data, light brightness data, temperature data, aromatherapy machine switch state; obtaining a second instruction according to the environmental parameters through a preset intelligent operation model; and controlling the aromatherapy machine to work according to the first instruction and the second instruction. The method solves the problem that the existing aromatherapy machine has a complicated use process and is difficult to realize intelligent matching and autonomous regulation, provides comprehensive working status data collection, storage and feedback functions, and supports remote wireless control and dynamic scene change. By integrating voice and gesture control, the convenience and diversity of user interaction are increased, and the user experience is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a schematic flow chart of a control method of an aromatherapy machine provided by the first embodiment of the present invention; Figure 2 It is a schematic diagram of the control system structure of an aromatherapy machine provided by the second embodiment of the present invention. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0019] As the popularity of smart electronic products continues to rise, the trend of intelligence is becoming more and more obvious. Various products based on IoT technology continue to emerge, including smart lights, refrigerators, air conditioners, TVs, curtains, etc. Among them, smart aromatherapy machines, as a new choice to improve the quality of life, are gradually integrated into people's daily lives. As a new wave of global informatization after computers, the Internet and mobile communications, the technological progress of the Internet of Things has driven the rapid growth of the number, types and density of terminal devices. In order to further optimize user experience and service quality, services for specific scenarios are gradually developing and changing from passive response to a more proactive service model. In this context, aromatherapy machines that can add a sense of technology and provide intelligent and scenario-based services are becoming increasingly popular among consumers.
[0020] As a device designed to improve the natural space environment, the aroma diffuser allows users to choose the appropriate product style according to different interior decoration needs. It is suitable for offices, homes, shopping malls, living rooms, bedrooms and even bathrooms. Currently, users can adjust the various parameters of the aroma diffuser, such as the content of negative ions in the air, the concentration of fragrance, the fragrance adjustment mode, the brightness of the light and its change mode, etc., through manual or intelligent switching.
[0021] However, traditional intelligent control solutions for aromatherapy machines are often cumbersome to operate, and the control interface is not intuitive and friendly enough, which brings inconvenience to users' actual use.
[0022] Reference Figure 1 The first embodiment of the present invention provides a control method for an aromatherapy machine, comprising the following steps: S11, obtaining user operation gesture data, aromatherapy machine operation instruction data and voice instruction operation data; S12, constructing a user gesture feature model according to the user operation gesture data, and comparing it with a pre-stored gesture feature database to obtain gesture operation instruction data with the highest matching rate; S13, obtaining a first instruction according to the gesture operation instruction data, the aromatherapy machine operation instruction data and the voice instruction operation data through a preset gesture threshold condition; S14, obtaining environmental parameter data, wherein the environmental parameter data includes one or more of the following data: aromatherapy concentration, air negative ion concentration data, humidity data, light brightness data, temperature data, and aromatherapy machine switch status; S15, obtaining a second instruction according to the environmental parameters through a preset intelligent operation model; S16, controlling the aroma diffuser to operate according to the first instruction and the second instruction.
[0023] In step S11, user operation gesture data, aromatherapy machine operation instruction data and voice instruction operation data are obtained.
[0024] It is worth noting that the aromatherapy machine operation instruction data includes: power-on instruction, power-off instruction, aromatherapy concentration setting instruction or aromatherapy concentration time setting instruction. The power-on and power-off instructions receive the control signal sent by the application program of the user's mobile device through the built-in wireless communication module, or are directly triggered by the physical button on the device, which is used to control the power status of the aromatherapy machine and realize remote or manual start and stop of the device; the aromatherapy machine concentration setting instruction is for the user to select the desired fragrance intensity level through the application program interface, or to set a specific concentration percentage value. The system converts this information into a digital signal and transmits it to the aromatherapy machine. This instruction can adjust the amount of fragrance release according to the user's personal preferences to create a comfortable environment atmosphere; the aromatherapy concentration time setting instruction is for the user to enter the desired duration and the corresponding concentration change curve in the application program, and then the application software converts it into a data packet in the corresponding format and sends it to the device. This function allows the user to customize the fragrance diffusion process, which is suitable for different scene requirements, such as gradually weakening the fragrance before going to bed to help sleep.
[0025] It is worth noting that the voice command operation data includes user timbre data and voice content data. When the user issues a voice command, the microphone captures the sound signal and after pre-processing, uses voiceprint recognition technology to analyze and extract the user's unique acoustic features, obtain user timbre data, and help the system distinguish different users, thereby providing personalized services; at the same time, it enhances security and prevents unauthorized operations by strangers. After the received sound signal is denoised, the specific command text is parsed through the natural language processing algorithm, with the aim of understanding the user's actual intention and performing corresponding functional adjustments accordingly, such as starting / stopping the device, changing the aromatherapy mode, etc.
[0026] In step S12, a user gesture feature model is constructed according to the user operation gesture data, and compared with a pre-stored gesture feature database to obtain gesture operation instruction data with the highest matching rate.
[0027] In one embodiment, a current gesture feature data set is calculated from the user operation gesture data; wherein the user operation gesture data is stored in the form of an image; the current gesture feature data set is compared with a historical user gesture feature library to construct a current user gesture feature model; the current user gesture feature model is compared with a pre-stored standard gesture feature database to obtain gesture operation instruction data with the highest compliance rate, wherein the standard gesture feature database includes standard gesture operation instruction data.
[0028] In one embodiment, the user's gesture is captured by a camera and stored in the form of an image sequence. Then, the gesture image is analyzed using computer vision technology to extract a series of key features describing the gesture, including: finger position, gesture contour and motion trajectory. These features together constitute a data set, which represents the user's current gesture. The computer vision technology is edge point detection technology. The purpose of this process is to extract key features from the gestures performed by the user so that the user's intention can be recognized and understood later. By converting gestures into feature data sets, the data can be effectively simplified and the significant attributes related to specific gestures can be highlighted. The system maintains a historical user gesture feature library, which contains various gesture features collected during the user's past use. When a new gesture feature data set is received, the system will match it with the historical data, find the gesture pattern with the highest similarity, and adjust or create a new gesture feature model accordingly. This model reflects the user's unique gesture habits, allowing the system to more accurately recognize the user's gesture instructions. This step aims to establish a personalized gesture model based on the user's personal habits, thereby improving the accuracy of gesture recognition and user experience. By comparing the user's current gesture with the gestures in the past records, the system can better understand the user's unique gesture style. The standard gesture feature database contains a series of preset gestures and their corresponding control instructions, such as "wave to the left" corresponds to "reduce the concentration of aromatherapy", and "wave upward" corresponds to "increase the brightness of the light". After completing the construction of the user gesture feature model, the system will compare the model with each entry in the standard gesture library and calculate the similarity or match between the two. Finally, the standard gesture with the highest match is selected as the recognition result and the corresponding operation instruction is triggered. This step is used to determine the actual operation that the user wants to perform. By comparing the personalized gesture model with the predefined standard gesture library, the system can identify the closest gesture instruction and execute the corresponding function.
[0029] In step S13, a first instruction is obtained according to the gesture operation instruction data, the aromatherapy machine operation instruction data and the voice instruction operation data through a preset gesture threshold condition.
[0030] In one embodiment, when the conformity rate of the gesture operation instruction data is lower than a preset conformity rate threshold, a first instruction is obtained according to the aromatherapy machine operation instruction or the user voice instruction; if the conformity rate of the gesture operation instruction data is greater than or equal to the preset conformity rate threshold, the gesture operation instruction data is used as the first instruction; the first instruction includes a power on / off instruction, a temperature and humidity control instruction, an aromatherapy type control instruction or a control time instruction.
[0031] It is worth noting that when the system analyzes the user's gesture features and compares them with the standard gesture database, if the calculated match rate is lower than a preset threshold, this indicates that the current gesture is not similar enough to any known standard gesture and cannot reliably determine the specific operation the user wants to perform. At this time, the system will make decisions based on the aromatherapy machine operation instructions sent by the user through the application or the user's voice instructions. If the system compares the gesture features with the standard gesture database and finds that the match rate reaches or exceeds the preset threshold, it means that the current gesture is accurately recognized as a standard gesture. In this case, the system will directly use the instruction corresponding to the gesture as the final control instruction. For example, if the user makes a "wave to the right" gesture and the system determines that the gesture meets the standard gesture of "increasing the concentration of aromatherapy", the system will automatically perform the operation of increasing the concentration of aromatherapy. This step ensures that when gesture recognition is unclear or unreliable, the system can rely on direct operation instructions or voice commands to determine the user's intention, which can avoid misoperation.
[0032] In one embodiment, for obtaining the threshold, it is necessary to collect a large amount of data of users performing various standard gestures. These data include images or video sequences of different users performing the same gesture under different environmental conditions. At the same time, in order to make the model have good generalization ability, the collected data should cover different lighting conditions, backgrounds, user age and gender and other factors. Further, key features such as finger positions, hand contours, motion trajectories, etc. are extracted from the collected gesture images and standardized. Further, the collected data is divided into a training set and a test set. The training set is used to train the gesture recognition model, and the test set is used to verify the performance of the model. Based on the performance of the model on the test set, a compliance rate threshold is preliminarily set. For example, if the average recognition accuracy of the model on the test set is 90%, then the initial threshold can be set to 85%. At the same time, a user feedback mechanism is introduced to allow users to manually adjust the threshold to suit personal needs and preferences.
[0033] It is worth noting that the first instruction is a user instruction, which reflects the user's own intention. This design reflects the advantages of multimodal input, that is, the system can comprehensively judge the user's true intention based on multiple input sources, including gestures, voice, and direct instructions, thereby improving the flexibility and reliability of the system. Over time, the system can optimize the gesture model by continuously accumulating user gesture data to further improve the accuracy of gesture recognition. The content of the first instruction includes: power on and off instructions, temperature and humidity control instructions, aromatherapy type control instructions, and control time instructions. When the gesture compliance is higher than the threshold, if the gesture instruction conflicts with the aromatherapy machine instruction or voice instruction, for example: the gesture instruction requires increasing the temperature, and the voice instruction requires lowering the temperature, the gesture instruction is the first instruction. That is, the first instruction is to increase the temperature. When there is no content mentioned in the voice instruction, aromatherapy machine instruction, or gesture instruction, the default option is automatically used for control.
[0034] In step S14, environmental parameter data is obtained, and the environmental parameter data includes one or more of the following data: aromatherapy concentration, air negative ion concentration data, humidity data, light brightness data, temperature data, and aromatherapy machine switch status.
[0035] In one embodiment, the concentration of aromatherapy components in the air is detected by a built-in volatile organic compound (VOC) sensor, and the output of the aromatherapy machine can be adjusted according to the current aromatherapy concentration to maintain the aromatherapy intensity set by the user or automatically adjust to the optimal state, thereby providing a comfortable aroma environment. A negative ion detector or a negative ion sensor integrated in the aromatherapy machine is used to measure the number of negative ions in the air, monitor and control the concentration of negative ions in the air, so as to improve the air quality and enhance the user's breathing comfort and health level. A humidity sensor is used to measure the relative humidity in the environment in real time, and the working mode of the aromatherapy machine is automatically adjusted according to changes in indoor humidity. For example: increase humidity in a dry environment and reduce humidity in a humid environment to maintain a suitable ambient humidity. The intensity of the ambient light is detected by a photosensitive sensor, and the light brightness of the aromatherapy machine is automatically adjusted according to the intensity of the ambient light, and different scene modes are set in combination with time, including: night mode, reading mode, etc. At the same time, the acquisition of the environmental parameter data is used for the subsequent generation of intelligent instructions.
[0036] In step S15, a second instruction is obtained according to the environmental parameters through a preset intelligent operation model.
[0037] In one embodiment, when the environmental parameters include aroma concentration, the aroma concentration is input into the intelligent operation model to obtain a second instruction including controlling the aroma concentration; when the environmental parameters include light brightness data, the light brightness data is input into the intelligent operation model to obtain a second instruction including a power on / off instruction; wherein the intelligent operation model is obtained through historical big data training, and the intelligent operation model can predict corresponding operation instructions based on the input environmental parameters.
[0038] It is worth noting that the intelligent operation model is an algorithm based on machine learning or deep learning, which is obtained through historical big data training. The model can predict the corresponding operation instructions based on the input environmental parameters. The model collects a large amount of environmental parameter data and corresponding user operation instructions from actual usage scenarios; removes noise data and outliers; and extracts useful features from the original data, including: aromatherapy concentration, light brightness, humidity and temperature. The preprocessed data is divided into a training set and a test set using a neural network, and the model is trained using the training set, and the prediction error is minimized by adjusting the model parameters. Finally, the intelligent operation model is obtained. In actual use, these environmental parameters are input into the trained intelligent operation model, and the model will output the corresponding operation instructions. For example: the aromatherapy concentration data is input into the intelligent operation model, and the model predicts the corresponding aromatherapy concentration control instructions based on the patterns and rules in the historical data. When the ambient aromatherapy concentration is 5%, the intelligent operation model predicts that it is a low concentration state at this time. At this time, the aromatherapy output is increased to increase the ambient aromatherapy concentration. For example, when the ambient brightness is low and it is late at night, the intelligent operation model predicts that the user is falling asleep. At this time, the temperature will be adjusted to the historical temperature to achieve the user's health goals.
[0039] S16, controlling the aroma diffuser to operate according to the first instruction and the second instruction.
[0040] In one embodiment, the first instruction is a direct instruction from the user and has the highest priority. The user can send these instructions through manual operation, voice control or application. The second instruction is an instruction generated by the intelligent operation model according to environmental parameters, which is used to automatically adjust the working state of the aromatherapy machine when there is no user instruction. If there is a valid user instruction, the system will immediately execute the instruction and ignore the intelligently generated second instruction. In the absence of user instructions, the system automatically adjusts the working state of the aromatherapy machine according to the intelligently generated second instruction.
[0041] It is worth noting that after controlling the aromatherapy machine to work according to the first instruction and the second instruction, it also includes: when the first instruction is not updated for more than a preset time, sending a reminder signal to the user, and controlling the aromatherapy machine to work according to the second instruction; after sending the reminder signal to the user, if no user reply is received after the preset alarm time, it is determined that an accident has occurred, and the aromatherapy machine is controlled to automatically alarm.
[0042] In one embodiment, the system continuously monitors the first instruction sent by the user. When the first instruction is not updated within 8 hours, the system will assume that the current user operation has stopped or the user has temporarily left the use area. Further, the system sends a reminder signal to the user's mobile device through a wireless communication module. The reminder signal includes: push notification, text message and prompt in the application. Remind the user to check the status of the aromatherapy machine and ask whether it is necessary to continue the current operation mode or make new settings. If the user does not respond to the reminder signal, the system will control the working state of the aromatherapy machine according to the second instruction generated by the intelligent operation model. Further, the system automatically adjusts the parameters of the aromatherapy machine according to the second instruction, such as aromatherapy concentration, light brightness, etc., to maintain a comfortable environment. If after sending the reminder signal, the preset alarm time, for example, set to 30 minutes, has not been received from the user, the system determines that there is an unexpected situation, such as the user cannot respond or the equipment fails. The system will trigger an automatic alarm mechanism to contact the pre-set emergency contact or alarm center.
[0043] In order to facilitate the understanding of the present invention, some preferred embodiments of the present invention are further described below.
[0044] The working process of the present invention is described below using a relatively common scenario as an example.
[0045] Assume that a user uses an aromatherapy machine in the bedroom of their home and sets the following initial settings through the mobile phone application: First instruction: The user sets the aromatherapy concentration to 50% and the light brightness to 50%.
[0046] The system starts to monitor the user's operation instructions. Assume that the user does not send a new instruction in the next 8 hours. After 8 hours, the system detects that the user's instructions have not been updated for more than the preset time, and sends a reminder signal to the user's mobile phone: "Your aromatherapy machine has been running for 8 hours, please confirm whether you need to continue the current settings." If the user does not respond within 5 minutes after receiving the reminder signal, the system will control the working status of the aromatherapy machine according to the second instruction generated by the intelligent operation model. The second instruction generated by the intelligent operation model recommends reducing the light brightness to 30% and adjusting the aromatherapy concentration to 60% to adapt to a quieter environment.
[0047] If the user sends a new instruction through the mobile phone application after receiving the reminder signal: adjust the aromatherapy concentration to 70% and the light brightness remains unchanged.
[0048] If the user still does not respond within 30 minutes after sending the reminder signal, the system determines that an unexpected situation may have occurred. The aromatherapy machine will sound an alarm and send an emergency alarm message to the user through the mobile phone application: "Your aromatherapy machine has not received a response for more than 30 minutes, please confirm whether it is safe. If necessary, we will contact the emergency contact." In summary, the present invention discloses a control method for an aromatherapy machine, wherein the control method compares a user operation gesture feature data training model or a gesture feature training model to obtain an operation instruction with the highest compliance rate, and realizes dynamic transformation of the aromatherapy machine scene according to the aromatherapy machine operation instruction, which greatly shortens the steps of the user operating the aromatherapy machine, thereby further improving the user's experience. The method not only simplifies the user's operation process, but also enhances the naturalness and intuitiveness of human-computer interaction. Specifically, when the user executes a gesture command, the system captures the gesture image through a camera and uses computer vision technology to extract key features, such as finger position, gesture contour, and motion trajectory. These features are used to construct a current gesture feature data set. Subsequently, the system compares the current gesture feature data set with a historical user gesture feature library to identify the user's personalized gesture habits. Next, the identified gesture feature model is matched with a pre-stored standard gesture feature database to find the most consistent gesture operation instruction. If the compliance rate is lower than a preset threshold, the system will rely on other input methods, such as direct operation instructions or voice commands to make decisions; if the compliance rate is higher than or equal to the preset threshold, the gesture instruction is directly executed. This multimodal input processing method ensures the flexibility and reliability of the system, and provides a seamless user experience even when gesture recognition is not completely accurate. In addition, the sensor module can also collect parameters of the working status of the aromatherapy machine in real time, including aromatherapy concentration, air negative ion concentration, humidity, light brightness, temperature, and the switch status of the aromatherapy machine. These parameters are transmitted to the user's smartphone or other mobile device through a wireless interaction module (such as Wi-Fi or Bluetooth). Users can view the working status of the aromatherapy machine through a dedicated application and make remote adjustments based on this information. For example, users can adjust the aromatherapy concentration, change the type of aromatherapy, set the working time or the switch status. This design not only facilitates users to monitor and manage the aromatherapy machine, but also enables users to finely control the aromatherapy machine anytime and anywhere, improving the convenience and comfort of use. Through real-time monitoring and intelligent adjustment, the system can automatically adapt to environmental changes to ensure that the aromatherapy machine is always in the best working condition.
[0049] For example, when the indoor light dims, the system can automatically reduce the light brightness to create a more comfortable atmosphere; when the aromatherapy concentration is detected to be too low, the system can automatically increase the amount of aromatherapy released to maintain the concentration set by the user. This intelligent adaptive function not only improves the user experience, but also reduces the trouble of frequent manual adjustments by users, making the aromatherapy machine a truly smart home device. Further, by integrating advanced gesture recognition, voice control, and environmental parameter monitoring technologies, the intelligent management and control of the aromatherapy machine is realized. It not only simplifies the user's operating steps and enhances the naturalness and intuitiveness of human-computer interaction, but also provides a more comfortable and healthy environment, bringing innovative solutions to the field of smart homes.
[0050] Reference Figure 2 The second embodiment of the present invention provides a control system for an aromatherapy machine, comprising: The command acquisition module is used to acquire user operation gesture data, aromatherapy machine operation command data and voice command operation data; A gesture analysis module, used to construct a user gesture feature model based on the user operation gesture data, and compare it with a pre-stored gesture feature database to obtain gesture operation instruction data with the highest matching rate; A user instruction module, configured to obtain a first instruction according to the gesture operation instruction data, the aromatherapy machine operation instruction data and the voice instruction operation data through a preset gesture threshold condition; An environment acquisition module is used to acquire environment parameter data, wherein the environment parameter data includes one or more of the following data: aromatherapy concentration, air negative ion concentration data, humidity data, light brightness data, temperature data, and aromatherapy machine switch status; An intelligent instruction module, used to obtain a second instruction according to the environmental parameters through a preset intelligent operation model; The instruction issuing module is used to control the aroma diffuser to work according to the first instruction and the second instruction.
[0051] Preferably, the instruction acquisition module is used to: Obtain user operation gesture data, aromatherapy machine operation command data and voice command operation data; The aromatherapy machine operation instruction data includes: a power-on instruction, a power-off instruction, an aromatherapy concentration setting instruction or an aromatherapy concentration time setting instruction; and the voice instruction operation data includes user timbre data and voice content data.
[0052] Preferably, the gesture analysis module is used to: A user gesture feature model is constructed according to the user operation gesture data, and compared with a pre-stored gesture feature database to obtain gesture operation instruction data with the highest matching rate, including: A current gesture feature data set is calculated from the user operation gesture data; wherein the user operation gesture data is stored in the form of an image; the current gesture feature data set is compared with a historical user gesture feature library to construct a current user gesture feature model; the current user gesture feature model is compared with a pre-stored standard gesture feature database to obtain gesture operation instruction data with the highest compliance rate, wherein the standard gesture feature database includes standard gesture operation instruction data.
[0053] Preferably, the user instruction module is used to: According to the gesture operation instruction data, the aromatherapy machine operation instruction data and the voice instruction operation data, a first instruction is obtained through a preset gesture threshold condition, including: When the matching rate of the gesture operation instruction data is lower than the preset matching rate threshold, a first instruction is obtained according to the aromatherapy machine operation instruction or the user voice instruction; if the matching rate of the gesture operation instruction data is greater than or equal to the preset matching rate threshold, the gesture operation instruction data is used as the first instruction; the first instruction includes a power on / off instruction, a temperature and humidity control instruction, an aromatherapy type control instruction or a control time instruction.
[0054] Preferably, the environment acquisition module is used to: Acquire environmental parameter data, which includes one or more of the following data: aromatherapy concentration, air negative ion concentration data, humidity data, brightness data, temperature data, and aromatherapy machine switch status; detect the concentration of aromatherapy components in the air through a built-in volatile organic compound (VOC) sensor, and adjust the output of the aromatherapy machine according to the current aromatherapy concentration to maintain the aromatherapy intensity set by the user or automatically adjust to the optimal state, thereby providing a comfortable aroma environment; use a negative ion detector or a negative ion sensor integrated in the aromatherapy machine to measure the number of negative ions in the air, monitor and control the concentration of negative ions in the air, so as to improve air quality and enhance the user's breathing comfort and health level; use a humidity sensor to measure the relative humidity in the environment in real time, and automatically adjust the working mode of the aromatherapy machine according to the change of indoor humidity, for example: increase humidity in a dry environment, reduce humidity in a humid environment, so as to maintain a suitable environmental humidity; detect the intensity of ambient light through a photosensitive sensor, automatically adjust the light brightness of the aromatherapy machine according to the intensity of ambient light, and set different scene modes in combination with time, including: night mode, reading mode, etc. At the same time, the acquisition of the environmental parameter data is used for the subsequent generation of intelligent instructions.
[0055] Preferably, the intelligent instruction module is used to: According to the environmental parameters, a second instruction is obtained through a preset intelligent operation model, including: when the environmental parameters include aromatherapy concentration, the aromatherapy concentration is input into the intelligent operation model to obtain a second instruction including controlling the aromatherapy concentration; when the environmental parameters include light brightness data, the light brightness data is input into the intelligent operation model to obtain a second instruction including a power on / off instruction; wherein the intelligent operation model is obtained through historical big data training, and the intelligent operation model can predict corresponding operation instructions according to the input environmental parameters.
[0056] Preferably, the instruction issuing module is used to: The aroma diffuser is controlled to operate according to the first instruction and the second instruction.
[0057] It is worth noting that after controlling the aromatherapy machine to work according to the first instruction and the second instruction, it also includes: when the first instruction is not updated for more than a preset time, sending a reminder signal to the user, and controlling the aromatherapy machine to work according to the second instruction; after sending the reminder signal to the user, if no user reply is received after the preset alarm time, it is determined that an accident has occurred, and the aromatherapy machine is controlled to automatically alarm.
[0058] It should be noted that the control system of an aromatherapy machine provided in an embodiment of the present invention is used to execute all the process steps of the control method of an aromatherapy machine in the above embodiment, and the working principles and beneficial effects of the two correspond one to one, so they will not be described in detail.
[0059] An embodiment of the present invention further provides an aromatherapy machine, comprising the control system of the aromatherapy machine as described in the above embodiment.
[0060] The embodiment of the present invention further provides an electronic device. The electronic device includes: a processor, a memory, and a computer program stored in the memory and executable on the processor, such as a gesture recognition program. When the processor executes the computer program, the steps in the above-mentioned control method of the aromatherapy machine are implemented, such as Figure 1 Alternatively, when the processor executes the computer program, the functions of the modules / units in the above-mentioned system embodiments are realized, such as the instruction acquisition module.
[0061] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the electronic device.
[0062] The electronic device may be a computing device such as a desktop computer, a notebook, a PDA, and a smart tablet. The electronic device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the above components are merely examples of electronic devices and do not constitute a limitation on the electronic device. The electronic device may include more or fewer components than the above components, or may combine certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.
[0063] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device.
[0064] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the electronic device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0065] Wherein, if the module / unit integrated in the electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or system capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0066] It should be noted that the system embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the system embodiment provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0067] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for controlling an aromatherapy machine, characterized in that: include: Obtain user operation gesture data, aromatherapy machine operation command data and voice command operation data; Constructing a user gesture feature model according to the user operation gesture data, and comparing it with a pre-stored gesture feature database to obtain gesture operation instruction data with the highest matching rate; According to the gesture operation instruction data, the aromatherapy machine operation instruction data and the voice instruction operation data, a first instruction is obtained through a preset gesture threshold condition; Acquire environmental parameter data, wherein the environmental parameter data includes one or more of the following data: aromatherapy concentration, air negative ion concentration data, humidity data, light brightness data, temperature data, and aromatherapy machine switch status; According to the environmental parameters, a second instruction is obtained through a preset intelligent operation model; The aroma diffuser is controlled to operate according to the first instruction and the second instruction.
2. The control method of the aromatherapy machine according to claim 1, characterized in that: The aromatherapy machine operation instruction data includes: a power-on instruction, a power-off instruction, an aromatherapy concentration setting instruction or an aromatherapy concentration time setting instruction; The voice instruction operation data includes user timbre data and voice content data.
3. The control method of the aromatherapy machine according to claim 1, characterized in that: The step of constructing a user gesture feature model based on the user operation gesture data and comparing it with a pre-stored gesture feature database to obtain gesture operation instruction data with the highest matching rate includes: Calculate a current gesture feature data set from the user operation gesture data; wherein the user operation gesture data is stored in the form of an image; Comparing the current gesture feature data set with the historical user gesture feature library to construct a current user gesture feature model; The current user gesture feature model is compared with a pre-stored standard gesture feature database to obtain gesture operation instruction data with the highest matching rate, wherein the standard gesture feature database includes standard gesture operation instruction data.
4. The control method of the aromatherapy machine according to claim 1, characterized in that: The obtaining of the first instruction according to the gesture operation instruction data, the aromatherapy machine operation instruction data and the voice instruction operation data through a preset gesture threshold condition includes: When the matching rate of the gesture operation instruction data is lower than a preset matching rate threshold, a first instruction is obtained according to the aromatherapy machine operation instruction or the user voice instruction; If the matching rate of the gesture operation instruction data is greater than or equal to a preset matching rate threshold, the gesture operation instruction data is used as the first instruction; The first instruction includes a power on / off instruction, a temperature and humidity control instruction, an aromatherapy type control instruction or a time control instruction.
5. The control method of the aromatherapy machine according to claim 1, characterized in that: The step of obtaining a second instruction according to the environmental parameter through a preset intelligent operation model includes: When the environmental parameter includes aromatherapy concentration, the aromatherapy concentration is input into the intelligent operation model to obtain a second instruction including controlling the aromatherapy concentration; When the environmental parameter includes light brightness data, the light brightness data is input into the intelligent operation model to obtain a second instruction including a power on / off instruction; The intelligent operation model is obtained through historical big data training, and the intelligent operation model can predict corresponding operation instructions according to input environmental parameters.
6. The control method of the aromatherapy machine according to claim 1, characterized in that: According to the first instruction and the second instruction, controlling the aromatherapy machine to work includes: When it is determined that the first instruction conflicts with the second instruction, the first instruction is executed first; When it is determined that the first instruction and the second instruction include a main function instruction, the main function instruction is executed preferentially; The main function instructions include power on / off instructions, temperature and humidity control instructions or aromatherapy type control instructions.
7. The control method of the aromatherapy machine according to claim 1, characterized in that: After controlling the aroma diffuser to work according to the first instruction and the second instruction, the method further includes: When the first instruction is not updated for a preset time, a reminder signal is sent to the user, and the aromatherapy machine is controlled to work according to the second instruction; After sending a reminder signal to the user, if no response is received from the user after the preset alarm time, it is determined that an accident has occurred and the aromatherapy machine is controlled to automatically alarm.
8. An aromatherapy machine control system, characterized in that: include: The command acquisition module is used to acquire user operation gesture data, aromatherapy machine operation command data and voice command operation data; A gesture analysis module, used to construct a user gesture feature model based on the user operation gesture data, and compare it with a pre-stored gesture feature database to obtain gesture operation instruction data with the highest matching rate; A user instruction module, configured to obtain a first instruction according to the gesture operation instruction data, the aromatherapy machine operation instruction data and the voice instruction operation data through a preset gesture threshold condition; An environment acquisition module is used to acquire environment parameter data, wherein the environment parameter data includes one or more of the following data: aromatherapy concentration, air negative ion concentration data, humidity data, light brightness data, temperature data, and aromatherapy machine switch status; An intelligent instruction module, used to obtain a second instruction according to the environmental parameters through a preset intelligent operation model; The instruction issuing module is used to control the aroma diffuser to work according to the first instruction and the second instruction.
9. An aromatherapy machine, characterized in that: It includes the aroma diffuser control system as claimed in claim 8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the control method of the aromatherapy machine according to any one of claims 1 to 7.
Citation Information
Patent Citations
Voice control method, smart home system, storage medium and computer equipment
CN107808669A
Intelligent control method and device of aroma diffuser and storage medium
CN112667713A
Control method and device of aromatherapy machine and aromatherapy machine
CN116301126A
Control method and system based on intelligent curtain equipment
CN117555247A
Indoor space automatic adjusting system based on artificial intelligence
CN117663439A
