Aromatherapy device, control method thereof, readable storage medium and computer device

By acquiring human attributes and time points within the aromatherapy device space, and combining this with fragrance concentration to control the operation of the aromatherapy device, the problem of insufficient intelligence in existing aromatherapy devices is solved, resulting in a better user experience.

CN119617571BActive Publication Date: 2025-12-19QINGDAO HAIER AIR CONDITIONER GENERAL CORP LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311185417.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-14
Publication Date
2025-12-19
Estimated Expiration
2043-09-14

AI Technical Summary

Technical Problem

Existing aromatherapy equipment has a low level of intelligence and cannot adjust its operating status in a timely manner according to the user's actual situation, resulting in a poor user experience.

Method used

By acquiring the human user attributes, current time, and fragrance concentration within the space where the aromatherapy device is located, the operation of the aromatherapy device can be controlled, including determining the target operating power and selectively shutting down the device based on the fragrance concentration.

Benefits of technology

The aromatherapy device can adjust its operating status according to user needs without requiring manual operation, which improves its intelligence and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119617571B_ABST
    Figure CN119617571B_ABST
Patent Text Reader

Abstract

The present application relates to the field of fragrance technology, and specifically provides a kind of aromatherapy equipment and its control method, readable storage medium and computer equipment, to solve the problem of poor user experience caused by poor intelligent degree of existing aromatherapy equipment.To this end, the control method of the present application comprises: obtaining the user attribute of the human body located in the space where the aromatherapy equipment is located;Obtain the current time point;Obtain the fragrance concentration in the space where the aromatherapy equipment is located;Based on user attribute, current time point and fragrance concentration control the operation of aromatherapy equipment.The present application considers the type of human body located in the space where the aromatherapy equipment is located, the current time point and the actual fragrance concentration in the space when controlling the aromatherapy equipment, so it can control the aromatherapy equipment according to the actual needs of the user, effectively improve the intelligent degree of aromatherapy equipment, so as to better meet the needs of users and improve user experience.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of fragrance technology, and specifically provides a fragrance equipment, a control method thereof, a readable storage medium and a computer device. BACKGROUND

[0002] With the improvement of people's living standards, people's quality of life is improving, and the requirements for daily life scenes are also increasing. Taking the family scene as an example, in order to improve the air quality of indoor space, people usually equip the home with a fragrance device, and the fragrance device is configured with a fragrance material, which can be a solid fragrance material, a liquid fragrance material, etc. The fragrance material can emit fragrance, and the fragrance emitted by the fragrance material can adjust the air condition of the indoor space, eliminate odor, and beautify the indoor environment. Different fragrance materials can emit different fragrances, with effects such as refreshing the mind, calming the mind, refining the emotions, health preservation and disease elimination, etc.

[0003] However, the current fragrance equipment usually needs to be manually turned on or off, or the fragrance equipment is not provided with a switch and cannot or is difficult to stop after being turned on, for example, including a fragrance bottle, a fragrance liquid, and a rattan. When the fragrance is needed, the fragrance bottle is opened, the rattan is inserted into the fragrance bottle, the fragrance liquid is freely volatilized through the rattan until the fragrance liquid is volatilized, and if the user does not want to fragrance during the volatilization process, the user can only stop the fragrance by manually removing the rattan and closing the fragrance bottle. That is, the current fragrance equipment has a low degree of intelligence, and usually cannot adjust its operating state in a timely manner according to the actual situation of the user, resulting in a poor user experience.

[0004] Accordingly, there is a need in the art for a new technical solution to solve the above problems. SUMMARY

[0005] The present application aims to solve the above technical problems, i.e., to solve the problem of poor user experience caused by the low degree of intelligence of the existing fragrance equipment.

[0006] The present application provides a control method of a fragrance equipment, the control method comprising:

[0007] obtaining a user attribute of a human body located in a space where the fragrance equipment is located;

[0008] obtaining a current time point;

[0009] obtaining a fragrance concentration in the space where the fragrance equipment is located;

[0010] controlling the operation of the fragrance equipment based on the user attribute, the current time point, and the fragrance concentration.

[0011] In the preferred technical solutions of the control method, the step of "controlling the operation of the aromatherapy device based on the user attribute, the current time point, and the fragrance concentration" further comprises:

[0012] determining a target operation power of the aromatherapy device based on the user attribute and the current time point;

[0013] controlling the aromatherapy device to operate at the target operation power;

[0014] after controlling the aromatherapy device to operate at the target operation power, selectively controlling the aromatherapy device to be turned off based on the fragrance concentration.

[0015] In the preferred technical solutions of the control method, the step of "determining a target operation power of the aromatherapy device based on the user attribute and the current time point" further comprises:

[0016] determining a target fragrance concentration based on the user attribute and a pre-constructed aromatherapy account;

[0017] determining a target operation duration based on the current time point;

[0018] determining the target operation power of the aromatherapy device based on the target fragrance concentration and the target operation duration;

[0019] wherein the pre-constructed aromatherapy account stores a mapping relationship between user attributes and fragrance concentrations.

[0020] In the preferred technical solutions of the control method, the step of "determining the target operation power of the aromatherapy device based on the target fragrance concentration and the target operation duration" further comprises:

[0021] obtaining a type of aromatherapy material in the aromatherapy device;

[0022] determining a reference duration and a corresponding reference power required to reach the target fragrance concentration based on the type of aromatherapy material;

[0023] determining the target operation power based on the reference duration, the reference power, and the target operation duration.

[0024] In the preferred technical solutions of the control method, the step of "determining the target operation power based on the reference duration, the reference power, and the target operation duration" further comprises:

[0025] if the reference duration is less than the target operation duration, determining the reference power as the target operation power;

[0026] If the reference time length is greater than or equal to the target running time length, a product of the reference power and a preset value is determined as the target running power;

[0027] The preset value is greater than 1.

[0028] In the preferred technical solution of the control method, the step of selectively controlling the aromatherapy device to be turned off based on the fragrance concentration further comprises:

[0029] Comparing the fragrance concentration with the target fragrance concentration;

[0030] Selectively controlling the aromatherapy device to be turned off based on the comparison result.

[0031] In the preferred technical solution of the control method, the step of selectively controlling the aromatherapy device to be turned off based on the comparison result specifically comprises:

[0032] If the fragrance concentration is less than the target fragrance concentration, the aromatherapy device is controlled to continue running;

[0033] If the fragrance concentration is greater than or equal to the target fragrance concentration, the aromatherapy device is controlled to be turned off.

[0034] In the technical solution of the present application, the control method of the present application comprises: obtaining the user attribute of the human body located in the space where the aromatherapy device is located, obtaining the current time point, obtaining the fragrance concentration in the space where the aromatherapy device is located, and controlling the running of the aromatherapy device based on the user attribute, the current time point and the fragrance concentration. The present application comprehensively considers the type of the human body located in the space where the aromatherapy device is located, the current time point and the actual fragrance concentration in the space when controlling the aromatherapy device. Therefore, the running of the aromatherapy device can be controlled according to the specific needs, current state and actual fragrance concentration of the user, so that the aromatherapy device can be controlled according to the actual needs of the user, the fragrance concentration in the space where the aromatherapy device is located can be adjusted to a more appropriate degree without manual operation of the user, the intelligent degree of the aromatherapy device is effectively improved, and the needs of the user are better met, and the user experience is improved.

[0035] Further, first, a target running power of the aromatherapy device is determined based on a user attribute and a current time point, the aromatherapy device is controlled to run at the target running power, and then, while the aromatherapy device is controlled to run at the target running power or after, the aromatherapy device is selectively controlled to be turned off based on a fragrance concentration in the space and a target fragrance concentration, for example, the aromatherapy device is controlled to continue running when the fragrance concentration is less than the target fragrance concentration, and the aromatherapy device is controlled to be turned off when the fragrance concentration is greater than or equal to the target fragrance concentration. The present application can adjust the fragrance concentration in the space to a suitable range without any operation of the user by first determining the target running power based on the user attribute and the current time point and then controlling the opening and closing of the aromatherapy device based on the size of the actual fragrance concentration, thereby meeting the needs of the user.

[0036] In a second aspect, the present application also provides a computer readable storage medium, which comprises a memory adapted to store a plurality of program codes, the program codes being adapted to be loaded and run by a processor to execute the control method according to any of the preceding technical solutions.

[0037] It should be noted that the computer readable storage medium has all the technical effects of the control method, which will not be repeated here.

[0038] In a third aspect, the present application also provides a computer device, which comprises a memory and a processor, the memory being adapted to store a plurality of program codes, the program codes being adapted to be loaded and run by the processor to execute the control method according to any of the preceding technical solutions.

[0039] It should be noted that the computer device has all the technical effects of the control method, which will not be repeated here.

[0040] In a fourth aspect, the present application also provides an aromatherapy device, which comprises a controller configured to execute the control method according to any of the preceding technical solutions.

[0041] It should be noted that the aromatherapy device has all the technical effects of the control method, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0042] The preferred embodiments of the present application will be described below with reference to the accompanying drawings, in which:

[0043] Figure 1 is a flowchart of a control method of an aromatherapy device according to an embodiment of the present application;

[0044] Figure 2 is a flowchart of controlling the running of an aromatherapy device based on a user attribute, a current time point and a fragrance concentration according to an embodiment of the present application. DETAILED DESCRIPTION

[0045] The preferred embodiments of the present application will be described below with reference to the accompanying drawings. Those skilled in the art will appreciate that the embodiments are only used to explain the technical principles of the present application, and are not intended to limit the scope of protection of the present application.

[0046] It should be noted that, in the description of the present application, unless otherwise explicitly specified and limited, the term "connection" should be understood broadly, for example, it can be direct connection, indirect connection through an intermediate medium, or internal communication of two elements. Those skilled in the art can understand the specific meaning of the above-mentioned term in the present application according to the specific circumstances.

[0047] In addition, it should be noted that, in the description of the present application, although the steps of the control method of the present application are described in a specific order in the present application, these orders are not limiting, and those skilled in the art can perform the steps in different orders without deviating from the basic principles of the present application.

[0048] The current aromatherapy equipment has poor intelligence, cannot timely adjust its running state, cannot well meet the needs of users, and has poor user experience. Therefore, the present application controls the running of the aromatherapy equipment based on the user attribute of the human body located in the space where the aromatherapy equipment is located, the current time point, and the fragrance concentration in the space, without manual operation of the user, to control the running of the aromatherapy equipment according to the actual needs of the user, so as to adjust the fragrance concentration in the space where the aromatherapy equipment is located to a more appropriate degree, improve the intelligence of the aromatherapy equipment, and improve the user experience.

[0049] In one possible embodiment, the aromatherapy equipment includes a fan, an ultrasonic oscillator, and a container provided on the ultrasonic oscillator, and the container is provided with aromatherapy materials. The ultrasonic oscillator is arranged in a main cavity, the main cavity is provided with an air inlet pipe and an air outlet pipe connected thereto, and the fan is arranged in the air inlet pipe. The ultrasonic oscillator is used to accelerate the volatilization of the aromatherapy materials, and the fan is used to promote the circulation of indoor air, which can send indoor air into the main cavity through the air inlet pipe, and then send the air containing volatilized aromatherapy materials into the room through the air outlet pipe, thereby realizing the function of releasing and adjusting the indoor fragrance concentration.

[0050] It should be noted that the aromatherapy materials can be aromatherapy essential oils, solid aromatherapy materials, etc. Among them, the aromatherapy essential oils are a mixture of various volatile organic compounds extracted from plant flowers, stems, leaves, fruits, roots, seeds, skins, woods, and secreted resins containing special aroma through physical methods such as distillation and pressing.

[0051] It should be noted that the aromatherapy device can also be other settings, for example, the aromatherapy device includes a fan, an atomizing piece, a cotton stick, a container and an aromatherapy essential oil arranged in the container, one end of the cotton stick is in contact with the aromatherapy essential oil in the container, the other end is connected with the atomizing piece, the atomizing piece is arranged in the main body cavity, the main body cavity is provided with an air inlet pipe and an air outlet pipe connected therewith, and the fan is arranged in the air inlet pipe. The cotton stick is used to guide the aromatherapy essential oil to the atomizing piece, and the atomizing piece is used to atomize the aromatherapy essential oil from the cotton stick into essential oil mist droplets. The fan is used to promote the circulation of indoor air, which can send indoor air into the main body cavity through the air inlet pipe, and then send the air with essential oil mist droplets into the room through the air outlet pipe. Obviously, the aromatherapy device can also be other settings, and those skilled in the art can flexibly select the specific setting of the aromatherapy device according to the specific application scene without departing from the basic principles of the present application, as long as the aroma emitted by the aromatherapy essential oil in the aromatherapy device can improve the air quality of the indoor space.

[0052] For convenience of description, in this embodiment, the aromatherapy device is taken as an example including a fan, an ultrasonic oscillator, a container arranged on the ultrasonic oscillator, and an aromatherapy essential oil arranged in the container.

[0053] In the present application, the aromatherapy device includes a human body detection module, which can detect the user attributes of the human body in the space where the aromatherapy device is located. The user attributes include, but are not limited to, the elderly, children, adult men, adult women, etc. For the convenience of description, in this embodiment, the user attributes are taken as an example including the elderly, children and adults.

[0054] It should be noted that the human body detection module can be, but is not limited to, an infrared detection module, a radar detection module, an infrared thermal imaging detector, an image acquisition device, etc.

[0055] For example, taking the human body detection module including an image acquisition module as an example, first, the image acquisition module acquires the image of the indoor space including all human bodies, pre-processes the image, extracts the face features, removes a large amount of redundant information in the image, then performs neural network training, and finally uses the trained neural network for recognition, and then analyzes and identifies the user attributes of the human body in the image.

[0056] For example, taking the infrared thermal imaging detector as the human body detection module, the infrared thermal imaging detector can identify and receive the heat emitted by the living body in the space where the aromatherapy device is located, and draw an infrared thermal image of the living body according to the difference between the temperature of the living body and the environmental temperature in the space, extract the outer contour of the living body in the infrared thermal image, and match the outer contour with the contour of the target body in the preset model library. In this way, it can be accurately determined whether there is a human body in the infrared thermal image, and the user attribute of the human body can be determined when there is a human body. It should be noted that the contours of human bodies of various genders, ages, with different heights and body shapes are pre-stored in the preset model library.

[0057] Of course, the aromatherapy device can also not be configured with a human body detection module, but manually input the user attribute of the human body in the current space by the user.

[0058] Without departing from the principles of the present application, those skilled in the art can flexibly select the specific implementation mode according to the specific application scene, as long as the user attribute of the human body in the space can be accurately determined.

[0059] In the present application, the aromatherapy device is also provided with an odor detection module, which can detect the actual fragrance concentration in the space where the aromatherapy device is located.

[0060] It should be noted that the odor detection module can be, but is not limited to, a fragrance concentration detection probe, an odor sensor, etc.

[0061] In the present application, the aromatherapy device further comprises a control module, which is in communication connection with the above-mentioned human body detection module and odor detection module, and can control the operation of the aromatherapy device based on the user attribute, the current time point and the fragrance concentration. It can also determine the target operating power of the aromatherapy device based on the user attribute and the current time point, and control the aromatherapy device to operate at the target operating power, and can also control the aromatherapy device to continue operating or shut down based on the fragrance concentration and the target fragrance concentration while or after controlling the aromatherapy device to operate at the target operating power, etc.

[0062] It should be noted that this control module can be a control chip physically possessed by the aromatherapy device itself, or a controller specially used to execute the method of the present application, or also a functional module or functional unit of a general controller.

[0063] The possible implementation modes of the control method of the aromatherapy device of the present application will be described below in combination with Figure 1 and Figure 2 .

[0064] As shown in Figure 1 , in one possible embodiment, the control method of the present application comprises:

[0065] S100: Obtain user attributes of a human body in a space where the aromatherapy device is located;

[0066] S101: Obtain a current time point;

[0067] S102: Obtain a fragrance concentration in the space where the aromatherapy device is located;

[0068] S103: Control operation of the aromatherapy device based on the user attributes, the current time point, and the fragrance concentration.

[0069] In S100, the user attributes of the human body in the space where the aromatherapy device is located are obtained by the human body detection module. The user attributes include the elderly, children, and adults. The specific process of obtaining the user attributes of the human body by the human body detection module is not described here.

[0070] In S101, the current time point is obtained.

[0071] It should be noted that the aromatherapy device can be provided with a time module, which can accurately determine the current time point. Of course, the aromatherapy device can also not be provided with a time module, but can be connected to the Internet through a wide area network, a local area network, WiFi, a WiFi+router connected to the Internet, Bluetooth, ZIGBEE, NFC, GPRS, etc. Communication mode, obtain the current time point of the place where the aromatherapy device is located. Obviously, the aromatherapy device can also be connected to a smart clock or other smart devices with a time module. When the current time point needs to be obtained, it can be obtained from these smart devices. Without deviating from the basic principles of the present application, those skilled in the art can flexibly select the specific setting mode and connection mode of the aromatherapy device according to the specific application scene, as long as the current time point can be accurately obtained.

[0072] In S102, the fragrance concentration in the space where the aromatherapy device is located is obtained by the odor detection module.

[0073] In S103, the operation of the aromatherapy device is controlled based on the user attributes obtained in S100, the current time point obtained in S101, and the fragrance concentration obtained in S102.

[0074] Through the above control method, the operation of the aromatherapy device can be automatically controlled based on the user attributes of the human body in the space where the aromatherapy device is located, the current time point, and the fragrance concentration in the space, improving the intelligent degree of the aromatherapy device. When controlling the operation of the aromatherapy device, the type of human body, the current time point, and the actual fragrance concentration are considered comprehensively, so that the aromatherapy device can be controlled according to the actual needs of the user, better meeting the needs of the user, improving the air quality of the indoor space, and improving the user experience.

[0075] The following will be described in combination withFigure 2 The present application provides a method for controlling a fragrance device, and a fragrance device.

[0076] As shown in Figure 2 In one possible implementation, the control method of the present application further comprises:

[0077] S200: obtaining user attributes of a human body in a space where the fragrance device is located;

[0078] S201: determining a target fragrance concentration based on the user attributes and a pre-constructed fragrance account;

[0079] S202: obtaining a current time point;

[0080] S203: determining a time period in which the time point is located;

[0081] S204: determining a target running duration based on the time period in which the time point is located;

[0082] S205: obtaining a type of fragrance material in the fragrance device;

[0083] S206: determining a reference duration and a corresponding reference power required to reach the target fragrance concentration based on the type of fragrance material;

[0084] S207: determining whether the reference duration is less than the target running duration, if yes, performing S208, and if no, performing S209;

[0085] S208: determining the reference power as the target running power;

[0086] S209: determining a product of the reference power and a preset value as the target running power;

[0087] S210: controlling the fragrance device to run at the target running power;

[0088] S211: obtaining a fragrance concentration in the space where the fragrance device is located;

[0089] S212: determining whether the fragrance concentration is less than the target fragrance concentration, if yes, performing S213, and if no, performing S214;

[0090] S213: controlling the fragrance device to continue running;

[0091] S214: controlling the fragrance device to be turned off.

[0092] In S200, similar to S100, the user attributes of the human body in the space where the fragrance device is located are obtained by the human body detection module.

[0093] In S201, the target scent concentration is determined based on the user attribute obtained in S200 and a pre-constructed aromatherapy account. The pre-constructed aromatherapy account stores a mapping relationship between user attributes and scent concentrations, and the user attributes and the scent concentrations in the mapping relationship correspond to each other one by one. The feeling and acceptance ability of each person to the scent concentration will be different. For example, adults like stronger scent, children are more suitable for light scent, and the elderly have their own preferences. Determining the specific scent concentration corresponding to each user can better meet the needs of the user.

[0094] Specifically, after the user attribute of the human body is determined in S200, the user attribute that matches the user attribute in the aromatherapy account is found, and the scent concentration corresponding to the matched user attribute is the target scent concentration. It should be noted that the scent concentration corresponding to each user in the aromatherapy account can be set by the user himself / herself, or can be determined by the designer according to experience, experiment, etc. and pre-stored.

[0095] It should be noted that an aromatherapy account can also be constructed for each member in the family, and the scent concentration corresponding to the member is stored in the aromatherapy account. When the target scent concentration needs to be determined, first, the aromatherapy account corresponding to the user attribute determined in S200 is found, and then the scent concentration in the aromatherapy account is determined as the target scent concentration.

[0096] Without departing from the basic principles of the present application, those skilled in the art can flexibly select the specific way to determine the target scent concentration according to the specific application scene, as long as the target scent concentration corresponding to the user attribute can be accurately determined.

[0097] It should be noted that if there is only one user attribute obtained in S200, the target scent concentration is determined based on the user attribute. If there are multiple user attributes obtained in S200, the final user attribute used to determine the target scent concentration can be determined according to the pre-set priority. For example, the pre-set priority is that children are higher than the elderly, and the elderly are higher than adults. If the user attributes obtained in S200 include children and adults, the children are used as the final user attribute to determine the target scent concentration. Of course, the final user attribute can also be determined according to the number of each user attribute. For example, the user attributes obtained in S200 include two adults and one elderly, and then the adults are used as the final user attribute to determine the target scent concentration.

[0098] In S202, the current time point is obtained similar to S101 described above. It should be noted that the way of obtaining the current time point is similar to the way in S101 described above, and will not be described here.

[0099] In S203, based on the current time point obtained in S202, it is determined in which time period the time point is located.

[0100] In S204, based on the time period determined in S203, a target running time is determined. The activity state of a user in each time period is different, and the appropriate running time corresponding thereto is also different. For example, between 6:00 am and 9:00 am on Monday, the user is usually in an active state for preparing for work or school, and after this period of time, the user is usually not at home, so the running time at this time can be slightly shorter, for example, the target running time is 30 min. For another example, between 6:00 am and 9:00 am on Saturday, the user is in a leisure state, although also in an active state, but after this period of time, the user is usually at home, so the running time at this time can be slightly longer, for example, the target running time is 60 min.

[0101] In a possible implementation, when the target running time is determined based on the time period in which the current time period is located, the determination can be performed in the following manner: a running time database is constructed in advance, in which a plurality of time periods and running times corresponding to the time periods are stored in advance, the time period determined in S203 is matched with the plurality of time periods in the database, and the running time corresponding to the time period matched successfully is determined as the target running time.

[0102] Obviously, a comparison table in which time periods and running times correspond to each other can also be constructed in advance, the time period determined in S203 is compared with the time periods in the comparison table, and the running time corresponding to the time period compared successfully is determined as the target running time.

[0103] It should be noted that when the target running time is determined, the time period in which the current time point is located can also not be determined in advance, but the target running time can be directly determined based on the current time point obtained in S202. Taking the example of constructing a running time database in advance, the same as the above, in which a plurality of time periods and running times corresponding to the time periods are stored in advance, the current time point obtained in S202 is matched with each time period, it is determined in which time period the current time point belongs, the target time period is determined, and the running time corresponding to the target time period is determined as the target running time.

[0104] Without departing from the basic principles of the present application, those skilled in the art can flexibly select the specific manner of determining the target running time according to the specific application scene, as long as the target running time can be accurately determined.

[0105] In S205, the type of the aromatherapy material in the aromatherapy device is obtained.

[0106] It should be noted that the type of aromatherapy material is different, and the volatile speed is also different, for example, the volatile speed of wood-based essential oil and resin-based essential oil is the slowest, the volatile speed of lavender, basil, rose, etc. is medium, and the volatile speed of citrus essential oil is the fastest.

[0107] In S206, the reference time length required to reach the target fragrance concentration in S201 and the corresponding reference power are determined based on the type of aromatherapy material obtained in S205.

[0108] It should be noted that when the type of aromatherapy material is different, the time required to reach the target fragrance concentration will also be different due to the different volatile speeds. When the type of aromatherapy material is the same, if the operating power of the aromatherapy device is different, it will also cause the volatile speed of the aromatherapy material to be different, and in turn cause the time required to reach the target fragrance concentration to be different.

[0109] It should be noted that when the reference time length and the reference power are determined based on the type of aromatherapy material, a database of aromatherapy can be constructed in advance, in which a plurality of types of aromatherapy materials and the time and power required for the aromatherapy device carrying each type of aromatherapy material to reach each fragrance concentration when operating are pre-stored. The type of aromatherapy material determined in S205 is compared with the aromatherapy materials in the database to determine the target aromatherapy material. Then, the target fragrance concentration determined in S201 is matched with the fragrance concentration corresponding to the target aromatherapy material in the database, and the time and power corresponding to the successfully matched fragrance concentration are determined as the reference time length and the reference power. Of course, a comparison table can also be constructed in advance, in which each type of aromatherapy material, the time required to reach each fragrance concentration, and the power are one-to-one corresponding. The type of aromatherapy material determined in S205 is compared with each type of aromatherapy material in the comparison table, and the target fragrance concentration determined in S201 is compared with the fragrance concentration in the comparison table, and then the reference time length and the reference power can also be determined. Without deviating from the basic principles of the present application, those skilled in the art can flexibly select the specific way to determine the reference time length and the reference power according to the specific application scene, as long as the reference time length and the reference power required to reach the target fragrance concentration can be accurately determined based on the type of aromatherapy material.

[0110] In S207, the reference time length determined in S206 is compared with the target operating time length determined in S204 to determine whether the reference time length is less than the target operating time length.

[0111] If the reference time length is less than the target operating time length, it means that the aromatherapy device can reach the target fragrance concentration in the space where the aromatherapy device is located by operating at the reference power for a short time. At this time, the reference power is directly determined as the target operating power, that is, S208 is executed.

[0112] If the reference duration is greater than or equal to the target running duration, it indicates that the aromatherapy device needs to run for a longer time at the reference power to make the fragrance concentration in the space where the aromatherapy device is located reach the target fragrance concentration. In this case, the running power of the aromatherapy device needs to be increased so as to ensure that the fragrance concentration in the space where the aromatherapy device is located reaches the target fragrance concentration within the target running duration, thereby achieving the purpose of improving the air quality in the space. At this time, the product of the reference power and the preset value is determined as the target running power, that is, S209 is executed. The preset value is greater than 1, that is, the aromatherapy effect is ensured by increasing the running power of the aromatherapy device. Preferably, the preset value is greater than 1 and less than 1.5, so as to ensure that the target fragrance concentration is reached in the space and to avoid that the fragrance concentration in the space is too high to cause discomfort to the user.

[0113] It should be noted that when the reference duration is less than the target running duration, the reference power can also be appropriately reduced and then determined as the target running power. For example, the product of the reference power and a constant a is determined as the target running power, where the constant a is greater than 0 and less than 1. For another example, the value obtained by reducing the reference power by a preset power is determined as the target running power. When the reference duration is greater than or equal to the target running duration, the value obtained by increasing the reference power by a preset power can also be determined as the target running power.

[0114] It should be noted that the target running power can also be determined based on the target concentration and the target running duration by other manners. For example, a power database is constructed in advance, in which a plurality of fragrance concentrations, running durations corresponding to the fragrance concentrations, and running powers corresponding to the fragrance concentrations and the running durations are stored in advance. The target fragrance concentration obtained in S201 is compared with each fragrance concentration in the database, and the target running duration determined in S204 is compared with each running duration in the database. The running power corresponding to the fragrance concentration and the running duration that pass the comparison is the target running power. The specific manner of determining the target running power can be flexibly selected by the person skilled in the art according to the specific application scene without departing from the basic principles of the present application, as long as the target running power can be accurately determined.

[0115] It should be noted that the present embodiment is described by taking an example of the aromatherapy device including a fan, an ultrasonic oscillator, a container arranged on the ultrasonic oscillator, and an aromatherapy essential oil arranged in the container. The operation of the aromatherapy device is actually the operation of the fan and the ultrasonic oscillator. In the present embodiment, the running power of the fan and the ultrasonic oscillator is changed with the change of the running power of the aromatherapy device. The running power of the aromatherapy device corresponds to the running power of the fan and the ultrasonic oscillator. When the aromatherapy device is controlled to run at the target running power, the fan and the ultrasonic oscillator run at the corresponding running power.

[0116] In S210, after the target running power is determined in S208 or S209, the aromatherapy device is controlled to run at the target running power, so as to adjust the fragrance concentration in the space to the target fragrance concentration as soon as possible.

[0117] It should be noted that the aromatherapy device can also be controlled to run at the target running power at the same time when the target running power is determined in S208 or S209.

[0118] In S211, after the aromatherapy device is controlled to run at the target running power, the fragrance concentration in the space where the aromatherapy device is located is obtained through the above-mentioned odor detection module.

[0119] In S212, based on the fragrance concentration obtained in S211, it is determined whether the fragrance concentration is less than the target fragrance concentration.

[0120] If the fragrance concentration is less than the target fragrance concentration, it means that the running time of the aromatherapy device is not long enough to meet the user's demand, at this time, the aromatherapy device is controlled to continue running, that is, S213 is executed, the fragrance concentration in the room is improved through the running of the aromatherapy device, so as to reach the target fragrance concentration.

[0121] After the aromatherapy device is controlled to continue running, S210 is returned to continue to monitor the fragrance concentration in the room, so as to better adjust the air quality in the room.

[0122] If the fragrance concentration is greater than or equal to the target fragrance concentration, it means that the fragrance concentration in the room is sufficient and can meet the user's demand, at this time, the aromatherapy device is controlled to stop running, that is, S214 is executed.

[0123] It should be noted that when the fragrance concentration is less than the target fragrance concentration, the aromatherapy device can also not be controlled to continue running and further controlled to start or stop running based on the fragrance concentration, but controlled to continue running for a preset time and then stop running, for example, controlled to continue running for 30 minutes and then stop running, etc.

[0124] It should be noted that, instead of determining whether to turn off the aromatherapy device based on the comparison result of the fragrance concentration and the target fragrance concentration, the fragrance concentration can be compared with a concentration threshold, and whether to turn off the aromatherapy device is determined based on the comparison result of the fragrance concentration and the concentration threshold. The concentration threshold can be set by the user, or determined and stored by the designer through experiments, experience, etc. Alternatively, whether to turn off the aromatherapy device is determined based on the size of the difference between the target fragrance concentration and the fragrance concentration. Specifically, when the difference is greater than or equal to a difference threshold, the aromatherapy device is controlled to continue running, and when the difference is less than the difference threshold, the aromatherapy device is controlled to turn off. Without deviating from the basic principles of the present application, those skilled in the art can flexibly select the specific way of controlling the aromatherapy device based on the fragrance concentration according to the specific application scenario, as long as the fragrance concentration in the space can be adjusted to a more appropriate range.

[0125] Through the above control method, by first determining the target running power based on the user attribute and the current time point, and then controlling the opening and closing of the aromatherapy device based on the size of the actual fragrance concentration, the fragrance concentration in the space can be adjusted to an appropriate range without any operation of the user, meeting the needs of the user.

[0126] It should be noted that, although the above is described by taking the order of sequentially performing S200, S202, S205, and S211 as an example, it is obviously only an exemplary description and is not limiting. Without deviating from the basic principles of the present application, it is obvious that S200, S202, S205, and S211 can also be executed simultaneously, or in the order of S200, S205, S202, S211, or S202, S200, S205, S211, S202, S200, S211, S205, S200, S202, S211, S205, etc. It should also be noted that, although the above is described by taking the order of first performing S200 and S201, and then performing S202 to S204 as an example, it is obvious that S202 to S204 can also be performed first, and then S200 and S201 are performed. As long as the target fragrance concentration and the target running time are determined before the reference time length and the reference power are determined.

[0127] It should be noted that when the operation of the aromatherapy device is controlled based on the user attribute, the current time point and the fragrance concentration, the target operation power can also be determined based on the user attribute and the current time point first, and the expected operation duration is determined based on the current time point, and the aromatherapy device is controlled to operate at a fixed power for the expected operation duration, then the fragrance concentration in the space is obtained, the target fragrance concentration is determined based on the user attribute, if the fragrance concentration is greater than or equal to the target fragrance concentration, the aromatherapy device is controlled to be turned off, and if the fragrance concentration is less than the target fragrance concentration, the aromatherapy device is controlled to continue to operate at the power for the expected operation duration, and then the operation of the aromatherapy device is controlled according to the comparison between the fragrance concentration and the target fragrance concentration. Without departing from the basic principles of the present application, those skilled in the art can flexibly select the specific way of controlling the operation of the aromatherapy device based on the user attribute, the current time point and the fragrance concentration according to the specific application scene, as long as the fragrance concentration in the space can be adjusted to a more appropriate range.

[0128] In summary, in the preferred technical solution of the present application, the operation of the aromatherapy device is controlled based on the user attribute, the current time point and the fragrance concentration in the space where the aromatherapy device is located, the type of the human body in the space where the aromatherapy device is located, the current time point and the actual fragrance concentration in the space are comprehensively considered, so that the operation of the aromatherapy device can be controlled according to the actual needs of the user, the fragrance concentration in the space where the aromatherapy device is located can be adjusted to a more appropriate degree without manual operation of the user, the intelligent degree of the aromatherapy device is effectively improved, so that the needs of the user can be better met and the user experience can be improved. By determining the target operation power of the aromatherapy device based on the user attribute and the current time point first, and controlling the aromatherapy device to operate at the target operation power, and then controlling the aromatherapy device to continue to be turned on or turned off based on the actual fragrance concentration and the target fragrance concentration, the operation of the aromatherapy device can be better controlled to meet the actual needs of the user and the actual situation, and the needs of the user can be better met.

[0129] In addition, the present application also provides a computer readable storage medium, the storage medium comprising a memory, the memory being adapted to store a plurality of program codes, the program codes being adapted to be loaded and run by a processor to execute the control method of any of the preceding technical solutions.

[0130] It should be noted that the computer readable storage medium has all the technical effects of the control method, which will not be described here.

[0131] In addition, the present application also provides a computer device, the computer device comprising a memory and a processor, the memory being adapted to store a plurality of program codes, the program codes being adapted to be loaded and run by the processor to execute the control method of any of the preceding technical solutions.

[0132] It should be noted that the computer device has all the technical effects of the foregoing control method, and details are not repeated here.

[0133] In addition, the present application also provides a fragrance equipment, the fragrance equipment includes a controller, the controller is configured to be capable of executing the control method described in any of the foregoing technical solutions.

[0134] It should be noted that the fragrance equipment has all the technical effects of the foregoing control method, and details are not repeated here.

[0135] Although the steps in the above embodiments are described in the above-mentioned order, those skilled in the art can understand that, in order to achieve the effects of the embodiments, the different steps do not have to be executed in such an order, and can be executed simultaneously (in parallel) or in a reversed order, and these simple changes are within the protection scope of the present application.

[0136] So far, the technical solutions of the present application have been described in combination with the preferred embodiments shown in the drawings, but those skilled in the art can easily understand that the protection scope of the present application is obviously not limited to these specific embodiments. Those skilled in the art can make equivalent changes or replacements to the related technical features without departing from the principles of the present application, and the technical solutions after the changes or replacements will all fall within the protection scope of the present application.

Claims

1. A method of controlling an aromatherapy apparatus, the method comprising: receiving a user input; and controlling the aromatherapy apparatus based on the user input. The control method comprises: obtaining user attributes of a human body located in a space where the aromatherapy device is located; obtaining a current time point; obtaining an aroma concentration in the space where the aromatherapy device is located; controlling operation of the aromatherapy device based on the user attributes, the current time point, and the aroma concentration; wherein the step of "controlling operation of the aromatherapy device based on the user attributes, the current time point, and the aroma concentration" comprises determining a target operation power of the aromatherapy device based on the user attributes and the current time point; wherein the step of "determining a target operation power of the aromatherapy device based on the user attributes and the current time point" further comprises: determining a target aroma concentration based on the user attributes and a pre-constructed aromatherapy account; determining a target operation duration based on the current time point; determining the target operation power of the aromatherapy device based on the target aroma concentration and the target operation duration; wherein the pre-constructed aromatherapy account stores a mapping relationship between user attributes and aroma concentrations; wherein the step of "determining the target operation power of the aromatherapy device based on the target aroma concentration and the target operation duration" further comprises: obtaining a type of aromatherapy material in the aromatherapy device; determining a reference duration and a corresponding reference power required to reach the target aroma concentration based on the type of aromatherapy material; determining the target operation power based on the reference duration, the reference power, and the target operation duration.

2. The control method according to claim 1, characterized by, The step of "controlling operation of the aromatherapy device based on the user attributes, the current time point, and the aroma concentration" further comprises: controlling the aromatherapy device to operate at the target operation power; after controlling the aromatherapy device to operate at the target operation power, selectively controlling the aromatherapy device to turn off based on the aroma concentration.

3. The control method according to claim 1, characterized by, The step of "determining the target operation power based on the reference duration, the reference power, and the target operation duration" further comprises: if the reference duration is less than the target operation duration, determining the reference power as the target operation power; if the reference duration is greater than or equal to the target operation duration, determining a product of the reference power and a preset value as the target operation power; wherein the preset value is greater than 1. The step of "selectively controlling the aromatherapy device to turn off based on the aroma concentration" further comprises:

4. The control method according to claim 1, characterized by, comparing the aroma concentration with the target aroma concentration; selectively controlling the aromatherapy device to turn off based on the comparison result. The step of "selectively controlling the aromatherapy device to turn off based on the comparison result" specifically comprises:

5. The control method according to claim 4, characterized by if the aroma concentration is less than the target aroma concentration, controlling the aromatherapy device to continue operating; if the aroma concentration is greater than or equal to the target aroma concentration, controlling the aromatherapy device to turn off. The program code is adapted to be loaded and run by a processor to perform the control method of any one of claims 1 to 5.

6. A computer-readable storage medium comprising a memory adapted to store a plurality of program codes, characterized in that, The program code is adapted to be loaded and run by the processor to perform the control method of any one of claims 1 to 5.

7. A computer device comprising a memory and a processor, the memory being adapted to store a plurality of program codes, characterized in that, ​ 8. An aromatherapy apparatus, characterized by, The aromatherapy apparatus includes a controller configured to be capable of performing the control method of any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method and device for controlling essential oil releasing in intelligent aroma diffuser, aroma diffuser and medium

    CN108079360A

  • Intelligent wardrobe, aromatherapy method and device

    CN108783970A