Fragrance bath control method and system, medium and product

By generating fragrance control instructions and controlling fragrance control modules, the problem that existing fragrance bathroom cabinets cannot be automatically controlled is solved, and linkage and automated operation with the shower are realized, improving user experience and convenience.

CN120178751APending Publication Date: 2025-06-20JOMOO KITCHEN & BATHROOM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510333157.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-20
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

The existing fragrance bathroom cabinet cannot automatically control the fragrance control module. Users need to operate manually when bathing, and cannot be linked to the shower, providing a single function, and the user experience is poor.

Method used

By obtaining user operation information for the shower, a fragrance control command is generated, and the fragrance control module associated with the shower is controlled to perform the on, off and concentration adjustment operations, and automatic control and linkage with the shower are achieved.

Benefits of technology

The fragrance bath can be performed without additional manual operation of the user, which improves the user's convenience and user experience, realizes the linkage between the fragrance control module and the shower, reduces the user's operation and learning cost, and automatically adjusts according to the expected concentration of the fragrance to provide a suitable fragrance experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120178751A_ABST
    Figure CN120178751A_ABST
Patent Text Reader

Abstract

The invention discloses a fragrance bath control method and system, a medium and a product. The method comprises the following steps: generating a fragrance control instruction according to user operation information for a shower; and controlling a fragrance regulation and control module associated with the shower to execute corresponding operation based on a fragrance opening instruction or a fragrance closing instruction in the fragrance control instruction, and / or controlling the fragrance regulation and control module associated with the shower to perform concentration adjustment based on the expected fragrance concentration in the fragrance control instruction. According to the invention, the effect of automatically controlling the fragrance regulation and control module to execute the corresponding operation when the user takes a bath is realized, so that the user does not need to perform additional manual operation, and the convenience and the use experience of the user are improved; meanwhile, the effect of controlling the fragrance regulation and control module by adopting the shower is achieved, so that the fragrance regulation and control module can be linked with the shower, the operation learning cost of the user is effectively reduced, the user can enjoy the appropriate fragrance concentration, and the use experience of the user is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of bathroom space, and particularly to an aroma bath control method, system, medium and product. Background Art

[0002] With the development of the self-pleasing economy, aroma diffusers have begun to enter ordinary families and even started to be combined with other furniture. Currently, there are already aroma bathroom cabinets, that is, bathroom cabinets combined with aroma diffusers, allowing users to enjoy aromas while taking a bath.

[0003] However, when users use an aroma bathroom cabinet while taking a bath, they need to operate it themselves, which is not convenient enough; at the same time, the aroma bathroom cabinet cannot automatically adjust the concentration of the aroma; and, the aroma bathroom cabinet can only provide single-product functions to users and cannot be linked with a shower to provide users with scenario-based functions. Summary of the Invention

[0004] The present invention provides an aroma bath control method, system, medium and product to solve the technical problem in the prior art that the aroma control module cannot be automatically controlled when a user takes a bath.

[0005] According to one aspect of the present invention, there is provided an aroma bath control method, including:

[0006] Generating an aroma control instruction according to user operation information for a shower; wherein, the user operation information is information related to controlling the shower to perform a shower operation;

[0007] Based on the aroma on instruction or aroma off instruction in the aroma control instruction, controlling an aroma control module associated with the shower to perform a corresponding operation, and based on the desired aroma concentration in the aroma control instruction, controlling the aroma control module associated with the shower to adjust the concentration.

[0008] According to another aspect of the present invention, there is provided an aroma bath control system, including: a main control module, a key detection module and an aroma control module; wherein, the key detection module and the aroma control module are both connected to the main control module;

[0009] The key detection module is configured to send the detected user operation information for the shower to the main control module; wherein, the user operation information is information related to controlling the shower to perform a shower operation;

[0010] The main control module is configured to generate an aroma control instruction according to the user operation information and send the aroma control instruction to the aroma control module;

[0011] The aroma regulation module is used to perform corresponding operations based on the aroma activation instruction or aroma deactivation instruction in the aroma control instruction, and to control the aroma regulation module associated with the shower to adjust the concentration based on the desired aroma concentration in the aroma control instruction.

[0012] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the aroma shower control method according to any embodiment of the present invention when executed.

[0013] According to another aspect of the present invention, there is provided a computer program product including a computer program which implements the aroma shower control method according to any embodiment of the present invention when executed by a processor.

[0014] The technical solution of the embodiment of the present invention obtains user operation information for the shower and generates an aroma control instruction based on the user operation information, so that the aroma regulation module performs corresponding operations based on the aroma activation instruction or aroma deactivation instruction, solving the technical problem in the prior art that the aroma regulation module cannot be automatically controlled during a user's shower. It realizes the effect of automatically controlling the aroma regulation module to perform corresponding operations during a user's shower, so that the user can take an aroma shower without additional manual operations, improving the convenience and user experience of the user. At the same time, controlling the aroma regulation module associated with the shower to perform corresponding operations based on the aroma control instruction realizes the effect of using the shower to control the aroma regulation module, enabling the aroma regulation module to be linked with the shower, effectively reducing the user's operation learning cost. At the same time, the concentration can be automatically adjusted based on the desired aroma concentration in the aroma control instruction, allowing the user to enjoy an appropriate aroma concentration and greatly improving the user experience.

[0015] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings without creative efforts based on these drawings.

[0017] Figure 1 is a flowchart of an aroma shower control method provided by an embodiment of the present invention;

[0018] Figure 2 is a flowchart of another fragrance bath control method provided by an embodiment of the present invention;

[0019] Figure 3 is a flowchart of yet another fragrance bath control method provided by an embodiment of the present invention;

[0020] Figure 4 is a flowchart of still another fragrance bath control method provided by an embodiment of the present invention;

[0021] Figure 5 is a flowchart of an implementation for determining the desired concentration of fragrance provided by an embodiment of the present invention;

[0022] Figure 6 is a flowchart of an implementation for generating and transmitting a fragrance control instruction provided by an embodiment of the present invention;

[0023] Figure 7 is a schematic structural diagram of a fragrance bath control system provided by an embodiment of the present invention;

[0024] Figure 8 is a schematic structural diagram of another fragrance bath control system provided by an embodiment of the present invention;

[0025] Figure 9 is a schematic structural diagram of yet another fragrance bath control system provided by an embodiment of the present invention;

[0026] Figure 10 is a schematic structural diagram of still another fragrance bath control system provided by an embodiment of the present invention;

[0027] Figure 11 is a schematic structural diagram of a shower system provided by an embodiment of the present invention;

[0028] Figure 12 is a schematic structural diagram of a fragrance bathroom cabinet system provided by an embodiment of the present invention;

[0029] Figure 13 is a schematic interaction structure diagram of a fragrance bathroom cabinet system and a shower system provided by an embodiment of the present invention. Detailed implementation manners

[0030] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without making creative efforts shall fall within the protection scope of the present invention.

[0031] It should be noted that the terms "first", "second", etc. in the description, claims and above-mentioned drawings of the present invention are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present invention described here can be implemented in an order other than those illustrated or described here. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0032] In one embodiment, Figure 1 is a flowchart of a fragrance bath control method provided by an embodiment of the present invention. This embodiment is applicable to the situation of automatically adjusting the fragrance concentration in the bathroom space when the user takes a bath. This method can be executed by a fragrance bath control system, and the fragrance bath control system can be implemented in the form of hardware and / or software. The integrated system of the fragrance regulation module and the generation system of the fragrance control instruction in this embodiment are the same system. For example, both are the shower system, or the fragrance bathroom cabinet system. A main control module, a key detection module, a fragrance regulation module, an infrared human body detection module, a water temperature detection sensor, a room temperature detection sensor and a timing module are configured in the shower system; or, a main control module, a key detection module, a fragrance regulation module, an infrared human body detection module, a water temperature detection sensor, a room temperature detection sensor and a timing module are configured in the fragrance bathroom cabinet system. As Figure 1 shown, the method includes:

[0033] S110. Generate a fragrance control instruction according to the user operation information for the shower.

[0034] Among them, the user operation information is information related to controlling the shower to perform the shower work, and can also be understood as information related to the operation performed by the user on the shower. In one example, the user operation information may include: information related to the shower opening operation or the shower closing operation. In the actual operation process, in order to ensure that the user operation information for the shower can be accurately obtained, a key detection module can be installed on the shower to detect the shower opening operation or the shower closing operation for the shower. Of course, the switch keys on the shower may include, but are not limited to: circular knob keys, square button keys, touch keys or lever keys, and no limitation is imposed thereon. It can be understood that the switch keys on the shower are electrically connected to the key detection module, and the opening or closing operation of the switch keys can be detected through the key detection module.

[0035] In one example, the fragrance control instruction is used to operate the fragrance regulation module to achieve precise control of the fragrance function and fragrance concentration, so as to meet the user's requirements for the fragrance environment in different scenarios. The fragrance control instruction may include, but is not limited to, one of the following: fragrance on instruction, fragrance off instruction, fragrance concentration adjustment instruction, fragrance type switching instruction, and timing control instruction. Among them, the fragrance on instruction refers to the instruction to turn on the fragrance function; the fragrance off instruction refers to the instruction to turn off the fragrance function; the fragrance type switching instruction refers to the instruction to adjust the smell of the fragrance emitted in the bathroom space; the timing control instruction refers to the instruction to preset the duration for which the fragrance function is turned on in advance.

[0036] In one example, when a shower start operation is detected, a fragrance control instruction including a fragrance on instruction and an expected fragrance concentration can be generated. In one example, when a shower stop operation is detected, it can be further detected whether the user is within the shower area. If the user is still within the shower area, a fragrance control instruction including a fragrance on instruction and an expected fragrance concentration can be generated; if the user is not within the shower area, a fragrance control instruction including a fragrance off instruction can be generated.

[0037] S120. Control the fragrance regulation module associated with the shower to perform corresponding operations based on the fragrance on instruction or fragrance off instruction in the fragrance control instruction, and / or control the fragrance regulation module associated with the shower to adjust the concentration based on the expected fragrance concentration in the fragrance control instruction.

[0038] Among them, the expected fragrance concentration refers to the fragrance concentration that is most matched to the current bathroom space environment; the fragrance regulation module refers to a module that can control the opening or closing of the fragrance function, and / or can adjust the fragrance concentration. In one example, the fragrance regulation module can be a module that simultaneously has the function of controlling the opening or closing of the fragrance function and adjusting the fragrance concentration, that is, the control of the opening or closing of the fragrance function and the adjustment of the fragrance concentration are integrated in one circuit. In one example, the fragrance regulation module can include a fragrance drive circuit and a fragrance concentration adjustment circuit; among them, the fragrance drive circuit is used to turn off the fragrance function based on the fragrance off instruction, or turn on the fragrance function based on the fragrance start instruction; the fragrance concentration adjustment circuit is used to adjust the concentration based on the expected fragrance concentration.

[0039] In one example, when the fragrance control instruction generated includes a fragrance on instruction, the fragrance regulation module associated with the shower can be turned on based on the fragrance on instruction, and the fragrance regulation module associated with the shower can be controlled to adjust the concentration based on the expected fragrance concentration. In one example, when the fragrance control instruction generated includes a fragrance off instruction, the fragrance regulation module associated with the shower can be turned off based on the fragrance off instruction.

[0040] The technical solution of this embodiment obtains the user operation information for the shower and generates an aroma control instruction based on the user operation information, so that the aroma regulation module performs corresponding operations based on the aroma on instruction or the aroma off instruction, solving the technical problem in the prior art that the aroma regulation module cannot be automatically controlled during the user's bath, achieving the effect that the user can automatically control the aroma regulation module to perform corresponding operations during the bath, so that there is no need for the user to perform additional manual operations to take an aroma bath, improving the convenience and user experience of the user; at the same time, controlling the aroma regulation module associated with the shower to perform corresponding operations based on the aroma control instruction achieves the effect of using the shower to control the aroma regulation module, so that the aroma regulation module can be linked with the shower, effectively reducing the user's operation learning cost; at the same time, the concentration can be automatically adjusted based on the desired aroma concentration in the aroma control instruction so that the user can enjoy an appropriate aroma concentration, greatly improving the user experience.

[0041] In one embodiment, Figure 2 is a flowchart of another aroma bath control method provided by an embodiment of the present invention. This embodiment further elaborates on the generation process of the aroma control instruction on the basis of the above embodiment. As Figure 2 shown, the method includes:

[0042] S210. In response to the user operation information being a shower on operation or a shower off operation, obtain whether the user is within the shower area range.

[0043] In one example, the shower area range refers to the area size where the user moves during the bath. Generally speaking, the shower area range is also related to the spatial size of the bathroom space. Exemplarily, when the bathroom space is large, the shower area range can be an area of 1.2 meters * 0.8 meters; for another example, when the bathroom space is small, the shower area range can be an area of 0.8 meters * 0.8 meters.

[0044] In the embodiment, an infrared human body detection module can be installed in the system of the shower, and the infrared human body detection module is used to detect whether the user is within the shower area range. During the actual process of the user's bath, the user may temporarily not be within the shower area range, but the duration of not being within the shower area range is short. At this time, in order to ensure the detection accuracy of the infrared human body detection module, in addition to detecting whether the user is within the shower area range, it is also necessary to monitor the duration of the user not being within the shower area range.

[0045] S220. In response to the user being within the shower area range, determine the desired aroma concentration according to the current season information, the current ambient temperature, and the current water outlet temperature associated with the shower.

[0046] Among them, the current season information refers to the season when the user takes a bath. For example, the current season information may include: spring, summer, autumn, and winter; the current ambient temperature refers to the actual temperature in the bathroom space where the user is located when taking a bath; the current water outlet temperature refers to the actual water temperature used by the user when taking a bath. Of course, at the initial moment when the shower is turned on, the water outlet temperature of the shower may be relatively low. At this time, the user can adjust the water outlet temperature until it meets the temperature suitable for the user to take a bath. At this time, the temperature suitable for the user to take a bath is used as the current water outlet temperature of the shower.

[0047] In one example, different gears or levels can be set for the desired fragrance concentration. For example, the desired fragrance concentration is set to 5 gears. Among them, when it is at gear 1, the fragrance concentration is the lightest; when it is at gear 5, the fragrance concentration is the strongest.

[0048] In one embodiment, determining the desired fragrance concentration according to the current season information, the current ambient temperature, and the current water outlet temperature associated with the shower includes: obtaining the ambient temperature threshold and the water outlet temperature threshold that match the current season information associated with the shower; if the current season information associated with the shower is the first type of season and the current ambient temperature is greater than the ambient temperature threshold, or the current season information is the second type of season and the current ambient temperature is less than the ambient temperature threshold, determining the desired fragrance concentration based on the current ambient temperature; if the current season information associated with the shower is the first type of season and the current ambient temperature is less than the ambient temperature threshold, or the current season information is the second type of season and the current ambient temperature is greater than the ambient temperature threshold, determining the desired fragrance concentration based on the current water outlet temperature of the shower and the water outlet temperature threshold.

[0049] In one example, the ambient temperature threshold refers to the pre-configured threshold for determining whether to combine the water outlet temperature to determine the desired fragrance concentration. In the actual operation process, when the current season information is different, the corresponding ambient temperature thresholds are also different. Exemplarily, when the current season information is spring and autumn, the current ambient temperature is relatively suitable. At this time, the ambient temperature threshold can be 20 °C; when the current season information is summer, the current ambient temperature is relatively high. At this time, the ambient temperature threshold can be 27 °C; when the current season information is winter, the current ambient temperature is relatively low. At this time, the ambient temperature threshold can be 13 °C.

[0050] In one example, the outlet water temperature threshold refers to the temperature critical value corresponding to different expected fragrance concentrations pre-configured. Generally speaking, the body-sensation temperature suitable for users is 37°C or 38°C. Correspondingly, the outlet water temperature threshold can be set to 37°C or 38°C. In one example, the first type of season refers to the season when the outdoor temperature is above zero. For example, the first type of season can include: spring, summer, and autumn; the second type of season refers to the season when the outdoor temperature is below zero. For example, the second type of season can include: winter.

[0051] In an embodiment, the fragrance concentration of the fragrance bathroom cabinet can be divided into multiple gears. The shower system obtains information such as the local season information, the current outlet water temperature, and the current ambient temperature. The shower system processes relevant parameters to judge the fragrance concentration gear (i.e., the expected fragrance concentration) released by the fragrance dispenser. Since the evaporation rate of the fragrance is different due to temperature in different seasons, the fragrance concentration is also different in different seasons. However, since the temperatures in the same season in different regions are different, adding the two parameters of the current outlet water temperature and the current ambient temperature can more accurately judge the expected fragrance concentration.

[0052] In the actual operation process, due to different seasons, the shower requirements of different users are also different. For example, in summer, some users may need to take a cold shower, and at this time the current outlet water temperature is relatively low; while some users have a cold constitution, and even in summer, their current outlet water temperature is relatively high. To ensure the reasonableness of the expected fragrance concentration, the expected fragrance concentration can be determined first according to the current ambient temperature associated with the shower. That is, when in spring, summer, or autumn, and the current ambient temperature is greater than the ambient temperature threshold matching the current season information, an expected fragrance concentration suitable for the current ambient temperature can be output; or, when in winter, and the current ambient temperature is less than the ambient temperature threshold matching the current season information, an expected fragrance concentration suitable for the current ambient temperature can be output. In one example, when in spring, summer, or autumn, and the current ambient temperature is less than the ambient temperature threshold matching the current season information, the current ambient temperature and the current outlet water temperature can be considered together, that is, the influence of the current outlet water temperature on the current ambient temperature is considered to determine a suitable expected fragrance concentration; when in winter, and the current ambient temperature is greater than the ambient temperature threshold matching the current season information, the current ambient temperature and the current outlet water temperature can be considered together, that is, the influence of the current outlet water temperature on the current ambient temperature is considered to determine a suitable expected fragrance concentration, so as to ensure that the determined expected fragrance concentration is the one closest to the concentration in this environment of the bathroom space.

[0053] S230. Generate a fragrance control instruction carrying the expected fragrance concentration and the fragrance activation instruction.

[0054] When a shower start operation is received and the user is within the range of the shower area, the desired fragrance concentration can be determined based on the current season information, current ambient temperature, and current water outlet temperature associated with the shower, and the desired fragrance concentration and a fragrance activation instruction can be carried in a fragrance control instruction to activate the fragrance regulation module associated with the shower through the fragrance activation instruction in the fragrance control instruction and adjust the concentration based on the desired fragrance concentration.

[0055] S240. Control the fragrance regulation module associated with the shower to perform corresponding operations based on the fragrance activation instruction in the fragrance control instruction, and control the fragrance regulation module associated with the shower to adjust the concentration based on the desired fragrance concentration in the fragrance control instruction.

[0056] Based on the technical solution of this embodiment, on the basis of the above embodiment, when a shower start or shower stop operation is received, it is possible to obtain whether the user is within the range of the shower area. If the user is within the range of the shower area, it is possible to determine whether the current ambient temperature associated with the shower meets the ambient temperature threshold. If it meets, the desired fragrance concentration can be directly determined according to the current ambient temperature; if it does not meet, the current ambient temperature and the current water outlet temperature are considered together to determine the desired fragrance concentration, so as to ensure that the desired fragrance concentration can reach a concentration value suitable for the current ambient temperature and the current water outlet temperature, and enable the user to obtain a more comfortable bathing experience during the bathing process.

[0057] In one embodiment, Figure 3 is a flowchart of another fragrance bathing control method provided by an embodiment of the present invention. This embodiment further details the generation process of the fragrance control instruction on the basis of the above embodiment. As Figure 3 shown, the method includes:

[0058] S310. In response to the user operation information being a shower stop operation, obtain whether the user is within the range of the shower area.

[0059] S320. In response to the user not being within the range of the shower area, generate a fragrance control instruction carrying a fragrance shutdown instruction.

[0060] When a shower stop operation is received and the user is not within the range of the shower area, it can be understood that the user has finished bathing. At this time, the fragrance shutdown instruction can be carried in the fragrance control instruction to turn off the fragrance regulation module associated with the shower through the fragrance shutdown instruction in the fragrance control instruction.

[0061] S330. Control the fragrance regulation module associated with the shower to perform corresponding operations based on the fragrance shutdown instruction in the fragrance control instruction.

[0062] Based on the technical solution of the above embodiment, when receiving the shutdown of the shower, it is possible to obtain whether the user is within the range of the shower area. If the user is not within the range of the shower, the fragrance control module associated with the shower can be directly turned off through the fragrance shutdown instruction, thereby extending the standby duration and service life of the fragrance control module.

[0063] In one embodiment, the fragrance control module is integrated in the shower system and the fragrance control instruction is generated by the fragrance bathroom cabinet system, or the fragrance control module is integrated in the fragrance bathroom cabinet system and the fragrance control instruction is generated by the shower system; wherein, a communication connection is established between the shower system and the fragrance bathroom cabinet system; the method further includes: transmitting a wireless communication connection request between the fragrance bathroom cabinet system and the shower system; in response to the successful establishment of a wireless communication connection between the fragrance bathroom cabinet system and the shower system, transmitting the fragrance control instruction and / or user operation information between the shower system and the fragrance bathroom cabinet system.

[0064] Among them, the shower system refers to a system that detects and controls the relevant operation information and relevant operating parameters of the shower; the fragrance bathroom cabinet system refers to a system that detects and controls the relevant operation information and relevant operating parameters of the fragrance bathroom cabinet.

[0065] In one example, the integrated system of the fragrance control module and the system that generates the fragrance control instruction are two different systems. For example, the fragrance control module is integrated in the shower system, but the fragrance control instruction is generated by the fragrance bathroom cabinet system; or the fragrance control module is integrated in the fragrance bathroom cabinet system, but the fragrance control instruction is generated by the shower system. At this time, a communication connection needs to be established between the shower system and the fragrance bathroom cabinet system to perform data transmission between the shower system and the fragrance bathroom cabinet system.

[0066] In one example, if the fragrance regulation module is integrated into the shower system, but the fragrance control instruction is generated by the fragrance bathroom cabinet system, a water temperature detection sensor can be configured in the shower system to detect the current water outlet temperature associated with the shower; and an infrared human body detection module can be configured in the shower system to detect whether the user is within the shower area range, and a button detection module can be configured in the shower system to detect the user operation information; while the room temperature detection sensor for detecting the current ambient temperature and the timing module for detecting the current season information can be configured in the shower system or in the fragrance bathroom cabinet system; if the room temperature detection sensor and the timing module are configured in the shower system at this time, the shower system needs to send the user operation information, the detection result of whether the user is within the shower range, the detected current ambient temperature, the current season information, and the current water outlet temperature to the fragrance bathroom cabinet system, so that the fragrance bathroom cabinet system can generate a fragrance control instruction based on this information; if the room temperature detection sensor and the timing module are configured in the fragrance bathroom cabinet system at this time, the shower system needs to send the user operation information, the detection result of whether the user is within the shower range, and the current water outlet temperature to the fragrance bathroom cabinet system, so that the fragrance bathroom cabinet system can generate a fragrance control instruction based on this information and feedback the fragrance control instruction to the shower system through the fragrance bathroom cabinet system, so that the fragrance regulation module in the shower system can perform corresponding operations and concentration adjustments based on the fragrance control instruction. In one example, if the fragrance regulation module is integrated into the fragrance bathroom cabinet system, but the fragrance control instruction is generated by the shower system, a water temperature detection sensor can be configured in the shower system to detect the current water outlet temperature associated with the shower; and an infrared human body detection module can be configured in the shower system to detect whether the user is within the shower area range, and a button detection module can be configured in the shower system to detect the user operation information; while the room temperature detection sensor for detecting the current ambient temperature and the timing module for detecting the current season information can be configured in the shower system or in the fragrance bathroom cabinet system; if the room temperature detection sensor and the timing module are configured in the shower system at this time, the shower system can generate a fragrance control instruction according to the user operation information, the detection result of whether the user is within the shower range, the detected current ambient temperature, the current season information, and the current water outlet temperature; if the room temperature detection sensor and the timing module are configured in the fragrance bathroom cabinet system at this time, the fragrance bathroom cabinet system needs to send the detected current ambient temperature and the current season information to the shower system, so that the shower system can generate a fragrance control instruction based on this information and feedback the fragrance control instruction to the fragrance bathroom cabinet system, so that the fragrance regulation module in the fragrance bathroom cabinet system can perform corresponding operations and concentration adjustments based on the fragrance control instruction.

[0067] In one embodiment, Figure 4It is a flowchart of yet another fragrance bath control method provided by an embodiment of the present invention. This embodiment is a preferred embodiment. And, taking the fragrance bathroom cabinet system including a fragrance regulation module, and the shower system including: a button detection module, an infrared human body detection module, a water temperature detection sensor, a room temperature detection sensor, and a timing module as an example, the fragrance bath control process will be described. As Figure 4 shown, the method includes:

[0068] S410. Obtain user operation information for the shower, the current ambient temperature, the current water outlet temperature, the current season information, and whether the user is within the range of the shower area through the shower system.

[0069] S420. Generate a fragrance control instruction based on the user operation information, the current ambient temperature, the current water outlet temperature, the current season information, and whether the user is within the range of the shower area through the shower system.

[0070] S430. Send a wireless communication connection request to the fragrance bathroom cabinet system through the shower system to establish a wireless communication connection between the shower system and the fragrance bathroom cabinet system.

[0071] S440. Send the fragrance control instruction to the fragrance bathroom cabinet system through the shower system.

[0072] S450. Control the fragrance regulation module to execute corresponding operations based on the fragrance on instruction or the fragrance off instruction in the fragrance control instruction through the fragrance bathroom cabinet system, and / or adjust the concentration of the fragrance regulation module based on the desired fragrance concentration in the fragrance control instruction.

[0073] In one embodiment, Figure 5 It is a flowchart of an implementation for determining the desired fragrance concentration provided by an embodiment of the present invention. In this embodiment, the desired fragrance concentration FragranceFlag of the fragrance bathroom cabinet is divided into 5 levels. FragranceFlag = 1 indicates the lightest fragrance concentration, and FragranceFlag = 5 indicates the strongest fragrance concentration. As Figure 5 shown, the process of determining the desired fragrance concentration includes:

[0074] S510. Obtain the current month M, the current ambient temperature T0, and the current water outlet temperature T1.

[0075] The current month M can be obtained through the shower system. Among them, M can be obtained by the internal timer of the shower system. For example, January is recorded as M = 1, February is recorded as M = 2, and so on; the current bathroom temperature (which can also be called the current ambient temperature) can be obtained through the room temperature detection sensor in the shower system, denoted as T0; and the current water outlet temperature can be obtained through the water temperature detection sensor in the shower system, denoted as T1.

[0076] S520. Determine the current season information according to the current month M, and record the flag bit QuarterFlag.

[0077] In one example, the current season information QuarterFlag can be judged by the month. If 3 ≤ M ≤ 5, it is recorded as spring and QuarterFlag = 1; if 6 ≤ M ≤ 8, it is recorded as summer and QuarterFlag = 2; if 9 ≤ M ≤ 11, it is recorded as autumn and QuarterFlag = 3; if 12 ≤ M or M ≤ 2, it is recorded as winter and QuarterFlag = 4.

[0078] S530. Whether QuarterFlag is 1. If so, execute S540; if not, execute 560.

[0079] S540. Whether T0 is greater than or equal to T0.1. If so, output FragranceFlag = 2; if not, execute S550.

[0080] When QuarterFlag = 1, judge that the current season is spring; obtain the current ambient temperature T0. When T0 ≥ T0.1, FragranceFlag = 2. T0.1 can be determined according to the actual usage conditions, and a general value of 20 is temporarily set here.

[0081] S550. Whether T1 is greater than T1.1. If so, output FragranceFlag = 3; if not, output FragranceFlag = 2.

[0082] When T0 < T0.1, if T1 > T1.1, T1.1 can be determined according to the actual usage conditions, and a general value of 38 is temporarily set here, FragranceFlag = 3. If T1 ≤ T1.1, FragranceFlag = 2.

[0083] S560. Whether QuarterFlag is 2. If so, execute S570; if not, execute 590.

[0084] S570. Whether T0 is greater than or equal to T0.2. If so, output FragranceFlag = 1; if not, execute S580.

[0085] When QuarterFlag = 2, judge that the current season is summer; obtain the current ambient temperature T0. When T0 ≥ T0.2, FragranceFlag = 1. T0.2 can be determined according to the actual usage conditions, and a general value of 27 is temporarily set here.

[0086] For S580, check if T1 is greater than T1.2. If yes, output FragranceFlag = 2; if not, output FragranceFlag = 1.

[0087] When T0 < T0.2, if T1 > T1.2 (where T1.2 can be determined according to actual usage conditions and is set to a general value of 37 here), then FragranceFlag = 2; if T1 ≤ T1.2, then FragranceFlag = 1.

[0088] For S590, check if QuarterFlag is 3. If yes, execute S5100; if not, execute 5120.

[0089] For S5100, check if T0 is greater than or equal to T0.1. If yes, output FragranceFlag = 2; if not, execute S5110.

[0090] When QuarterFlag = 3, determine that the current season is autumn; obtain the current ambient temperature T0. When T0 ≥ T0.1, then FragranceFlag = 2 (where T0.1 can be determined according to actual usage conditions and is set to a general value of 20 here).

[0091] For S5110, check if T1 is greater than T1.1. If yes, output FragranceFlag = 3; if not, output FragranceFlag = 2.

[0092] When T0 < T0.1, if T1 > T1.1 (where T1.1 can be determined according to actual usage conditions and is set to a general value of 38 here), then FragranceFlag = 3; if T1 ≤ T1.1, then FragranceFlag = 2.

[0093] For S5120, check if QuarterFlag is 4. If yes, execute S5130.

[0094] For S5130, check if T0 is less than or equal to T0.3. If yes, output FragranceFlag = 5; if not, execute S5140.

[0095] When QuarterFlag = 4, determine that the current season is winter; obtain the current ambient temperature T0. When T0 ≤ T0.3, then FragranceFlag = 5 (where T0.3 can be determined according to actual usage conditions and is set to a general value of 13 here).

[0096] For S5140, check if T1 is greater than T1.3. If yes, output FragranceFlag = 5; if not, output FragranceFlag = 4.

[0097] When T0 > T0.3, if T1 > T1.3, where T1.3 can be determined according to actual usage conditions and is temporarily set to a general value of 39 here, FragranceFlag = 5; if T1 ≤ T1.3, FragranceFlag = 4.

[0098] The technical solution of this embodiment can automatically adjust the desired fragrance concentration according to seasonal changes, the current water outlet temperature, and the current ambient temperature, so that users can enjoy an appropriate fragrance concentration during bathing throughout the year.

[0099] In one embodiment, Figure 6 is a flowchart for implementing the generation and transmission of a fragrance control instruction provided by an embodiment of the present invention. In the embodiment, the bathing flag bit is defined as BathFlag. As Figure 6 shown, the process of generating and transmitting the fragrance control instruction includes the following steps:

[0100] S610. Initialize the bathing flag bit BathFlag = 0.

[0101] S620. Detect the user operation information and whether the user is within the shower area through the key detection module, and configure the bathing flag bit BathFlag based on the detection result.

[0102] When the user presses the relevant switch key for bathing, that is, the key detection module detects that the user operation information is the operation of turning on the shower, then the bathing flag bit BathFlag = 1.

[0103] When BathFlag = 1, and the key detection module detects that the user closes the relevant bathing key, that is, the key detection module detects that the user operation information is the operation of turning off the shower, and the infrared human body detection module detects the presence of a human body (that is, the user is still within the shower area), then the shower flag bit BathFlag = 2;

[0104] When BathFlag = 1, and the key detection module detects that the user closes the relevant bathing key, that is, the key detection module detects that the user operation information is the operation of turning off the shower, and the infrared detection does not detect the presence of a human body (that is, the user leaves the shower area), then the shower flag bit BathFlag = 3, the shower system communicates with the fragrance bathroom cabinet system, the shower system sends the fragrance control instruction to the fragrance bathroom cabinet system, and after the fragrance bathroom cabinet system performs relevant operations, the shower flag bit is reset, that is, BathFlag = 0.

[0105] S630. Determine whether BathFlag is 1. If so, execute S640; if not, execute S650.

[0106] S640. The shower system obtains the desired fragrance concentration FragranceFlag, establishes a communication connection with the fragrance bathroom cabinet system, and sends a fragrance control instruction carrying the desired fragrance concentration and a fragrance activation instruction to the fragrance bathroom cabinet system, so that the fragrance bathroom cabinet system performs corresponding operations based on the fragrance control instruction.

[0107] After the shower system obtains the FrangranceFlag, the shower system initiates a communication connection request to the fragrance bathroom cabinet system and establishes a wireless communication connection with the fragrance bathroom cabinet system; sends a fragrance control instruction carrying the desired fragrance concentration and a fragrance activation instruction to the fragrance bathroom cabinet system; after the fragrance bathroom cabinet system receives the fragrance control instruction, it performs relevant actions.

[0108] S650. Whether BathFlag is 2. If so, execute S660; if not, execute S670.

[0109] S660. The shower system obtains the desired fragrance concentration FragranceFlag, establishes a communication connection with the fragrance bathroom cabinet system, and sends a fragrance control instruction carrying the desired fragrance concentration to the fragrance bathroom cabinet system, so that the fragrance bathroom cabinet system performs corresponding operations based on the fragrance control instruction.

[0110] When BathFlag = 2, the shower obtains the desired fragrance concentration FragranceFlag; after obtaining the FrangranceFlag, the shower system initiates a communication connection request to the fragrance bathroom cabinet system and establishes a wireless communication connection with the fragrance bathroom cabinet system; sends a fragrance control instruction carrying the desired fragrance concentration to the fragrance bathroom cabinet system; after the fragrance bathroom cabinet system receives the fragrance control instruction, it performs relevant actions.

[0111] S670. Whether BathFlag is 3. If so, execute S680.

[0112] S680. The shower system establishes a communication connection with the fragrance bathroom cabinet system and sends a fragrance shutdown instruction to the fragrance bathroom cabinet system, so that the fragrance bathroom cabinet system performs corresponding operations based on the fragrance shutdown instruction.

[0113] When BathFlag = 3, the shower system establishes a communication connection with the fragrance bathroom cabinet system; sends a fragrance control instruction carrying the fragrance shutdown instruction to the fragrance bathroom cabinet system; after the fragrance bathroom cabinet system receives the fragrance control instruction, it performs relevant actions.

[0114] In one embodiment, Figure 7 It is a schematic structural diagram of a fragrance bathing control system provided by an embodiment of the present invention. The fragrance bathing control system in this embodiment can be a shower system or a fragrance bathroom cabinet system. AsFigure 7 As shown in the figure, the fragrance shower control system includes: a main control module 710, a button detection module 720, and a fragrance regulation module 730; among them, the button detection module 720 and the fragrance regulation module 730 are both connected to the main control module 710;

[0115] The button detection module 720 is configured to send the detected user operation information for the shower to the main control module 710;

[0116] The main control module 710 is configured to generate a fragrance control instruction according to the user operation information, and send the fragrance control instruction to the fragrance regulation module 730; wherein, the user operation information is information related to controlling the shower to perform the shower work;

[0117] The fragrance regulation module 730 is configured to perform corresponding operations based on the fragrance on instruction or the fragrance off instruction in the fragrance control instruction, and / or adjust the concentration based on the desired fragrance concentration in the fragrance control instruction.

[0118] In an embodiment, the button detection module 720 is configured to detect user operation information for the shower. When detecting a shower off operation or a shower on operation, it sends the user operation information to the main control module 710. If the user operation information is a shower on operation, the main control module 710 generates a fragrance on instruction according to the shower on operation, and determines the desired fragrance concentration, and then sends the fragrance control instruction carrying the fragrance on instruction and the desired fragrance concentration to the fragrance regulation module 730. The fragrance regulation module 730 can perform the corresponding on operation based on the fragrance on instruction in the fragrance control instruction, and adjust the concentration based on the desired fragrance concentration in the fragrance control instruction. If the user operation information is a shower off operation, the main control module 710 also needs to generate a fragrance control instruction according to whether the user is within the shower area range. If the user is within the shower area range, it generates a fragrance on instruction, and determines the desired fragrance concentration, and then sends the fragrance control instruction carrying the fragrance on instruction and the desired fragrance concentration to the fragrance regulation module 730. The fragrance regulation module 730 can perform the corresponding on operation based on the fragrance on instruction in the fragrance control instruction, and adjust the concentration based on the desired fragrance concentration in the fragrance control instruction. If the user is not within the shower area range, it generates a fragrance off instruction, and sends the fragrance control instruction carrying the fragrance off instruction to the fragrance regulation module 730. The fragrance regulation module 730 can perform the corresponding off operation based on the fragrance off instruction in the fragrance control instruction.

[0119] The technical solution of this embodiment obtains user operation information for the shower head through the key detection module, and generates a fragrance control instruction based on the user operation information, so that the fragrance control module performs a corresponding operation based on the fragrance on instruction or the fragrance off instruction, which solves the technical problem in the prior art that the fragrance control module cannot be automatically controlled when the user is bathing, and achieves the effect of automatically controlling the fragrance control module to perform corresponding operations when the user is bathing, so that a fragrance bath can be performed without the user performing additional manual operations, thereby improving the user's convenience and usage experience; at the same time, the main control module can control the fragrance control module associated with the shower head to perform corresponding operations based on the fragrance control instruction, thereby achieving the effect of using the shower head to control the fragrance control module, so that the fragrance control module can be linked with the shower head, effectively reducing the user's operation learning cost; at the same time, the main control module can automatically adjust the concentration based on the desired fragrance concentration in the fragrance control instruction, so that the user can enjoy a suitable fragrance concentration, which greatly improves the user's usage experience.

[0120] In one embodiment, Figure 8 Schematic diagram of another fragrance bath control system provided by an embodiment of the present invention. Figure 7 Based on the above, the structure of the fragrance bath control system is further limited. Figure 8 As shown, the fragrance bath control system in this embodiment further includes: the fragrance bath control system further includes: an infrared human body detection module 740, a water temperature detection sensor 750, a room temperature detection sensor 760 and a timing module 770;

[0121] Among them, the infrared human body detection module 740, the water temperature detection sensor 750, the room temperature detection sensor 760 and the timing module 770 are all connected to the main control module 710;

[0122] The infrared human body detection module 740 is used to detect whether the user is within the shower area and send the detection result to the main control module 710;

[0123] The water temperature detection sensor 750 is used to detect the current water outlet temperature of the shower and send the current water outlet temperature to the main control module 710;

[0124] The room temperature detection sensor 760 is used to detect the current ambient temperature associated with the shower and send the current ambient temperature to the main control module 710;

[0125] The timing module 770 is used to detect the current season information associated with the shower and send the current season information to the main control module 710;

[0126] The main control module 710 is used to determine the desired fragrance concentration according to the current water outlet temperature, the current ambient temperature, and the current season information when the user is within the range of the shower area, and generate a fragrance control instruction carrying the desired fragrance concentration and a fragrance activation instruction; or, when the user is not within the range of the shower area, generate a fragrance control instruction carrying a fragrance shutdown instruction.

[0127] In an embodiment, the main control module 710, the button detection module 720, the fragrance regulation module 730, the infrared human body detection module 740, the water temperature detection sensor 750, the room temperature detection sensor 760, and the timing module 770 are all integrated into a system. In an example, the main control module 710 can be an MCU module; the timing module 770 can be composed of the internal clock of the MCU of the fragrance shower control system. The main control module 710 can control the entire process of showering and fragrance. Specifically, when the switch operation of the shower is detected by the button detection module 720, the detected user operation information can be sent to the main control module 710, and the main control module 710 can generate a fragrance start instruction; then the water temperature detection sensor 750 sends the detected current water outlet temperature to the main control module 710, and the room temperature detection sensor 760 sends the detected current ambient temperature to the main control module 710, and the timing module 770 sends the detected current season information to the main control module 710, so that the main control module 710 determines the desired fragrance concentration based on the current water outlet temperature, the current ambient temperature, and the current season information, and sends the desired fragrance concentration and the fragrance start instruction to the fragrance regulation module 730, so that the fragrance regulation module 730 performs corresponding operations based on the fragrance start instruction, and adjusts the concentration based on the desired fragrance concentration. When the closing operation of the shower is detected by the button detection module 720, the detected user operation information can be sent to the main control module 710; then the infrared human body detection module 740 detects whether the user is within the shower area. If the user is within the shower area, the water temperature detection sensor 750 can send the detected current water outlet temperature to the main control module 710, and the room temperature detection sensor 760 can send the detected current ambient temperature to the main control module 710, and the timing module 770 can send the detected current season information to the main control module 710, so that the main control module 710 determines the desired fragrance concentration based on the current water outlet temperature, the current ambient temperature, and the current season information, and sends the desired fragrance concentration and the fragrance start instruction to the fragrance regulation module 730, so that the fragrance regulation module 730 performs corresponding operations based on the fragrance start instruction, and adjusts the concentration based on the desired fragrance concentration; if the user is not within the shower area, the main control module 710 can generate a fragrance off instruction based on the closing operation of the shower and send the fragrance off instruction to the fragrance regulation module 730, so that the fragrance regulation module 730 performs corresponding operations based on the fragrance off instruction. In one embodiment, the fragrance regulation module includes: a fragrance drive circuit and a fragrance concentration adjustment circuit; wherein, both the fragrance drive circuit and the fragrance concentration adjustment circuit are connected to the main control module;

[0128] The fragrance drive circuit is used to turn off the fragrance function based on the fragrance off instruction, or turn on the fragrance function based on the fragrance start instruction;

[0129] The fragrance concentration adjustment circuit is used to adjust the concentration based on the desired fragrance concentration.

[0130] In the Figures 7-8 The fragrance shower control system shown also includes: a power supply module to supply power to each module in the fragrance shower control system through the power supply module to ensure the normal operation of each module in the fragrance shower control system. In one example, a battery module can also be configured in the fragrance shower control system so that in the event of a temporary power outage, the fragrance shower control system can use the battery module to supply power to each of its internal modules to avoid the situation where the user cannot complete the shower due to power failure during the shower, effectively improving the user's shower experience.

[0131] In one embodiment, Figure 9 is a schematic structural diagram of another fragrance shower control system provided by an embodiment of the present invention. This embodiment further defines the structure of the fragrance shower control system on the basis of the Figure 7 shown above. In this embodiment, the fragrance shower control system includes a shower system and a fragrance bathroom cabinet system. As Figure 9 shown, the fragrance shower control system in this embodiment includes: a fragrance main control module 7101 and a shower main control module 7102; the shower main control module 7101 and the button detection module 720 are both integrated in the shower system, and the fragrance main control module 7102 and the fragrance regulation module 730 are both integrated in the fragrance bathroom cabinet system; and both the shower system and the fragrance bathroom cabinet system include: a wireless communication module 780; the shower system further includes: an infrared human body detection module 740, a water temperature detection sensor 750, a room temperature detection sensor 760, and a timing module 770;

[0132] Among them, the button detection module 720 is connected to the shower main control module 7101, and the fragrance regulation module 730 is connected to the fragrance main control module 7102; the infrared human body detection module 740, the water temperature detection sensor 750, the room temperature detection sensor 760, and the timing module 770 are all connected to the shower main control module 7101;

[0133] A wireless communication connection is established between the shower system and the fragrance bathroom cabinet system through the wireless communication module 780;

[0134] The button detection module 720 is used to send the detected user operation information for the shower to the shower main control module 7101;

[0135] The shower main control module 7101 is used to generate a fragrance control instruction according to the user operation information and send the fragrance control instruction to the fragrance main control module 7102;

[0136] The fragrance main control module 7102 is used to send a fragrance control instruction to the fragrance regulation module, so that the fragrance regulation module 730 performs corresponding operations based on the fragrance control instruction;

[0137] The infrared human body detection module 740 is used to detect whether the user is within the range of the shower area and send the detection result to the shower main control module 7101;

[0138] The water temperature detection sensor 750 is used to detect the current water outlet temperature of the shower and send the current water outlet temperature to the shower main control module 7101;

[0139] The room temperature detection sensor 760 is used to detect the current ambient temperature associated with the shower and send the current ambient temperature to the shower main control module 7101;

[0140] The timing module 770 is used to detect the current season information associated with the shower and send the current season information to the shower main control module 7101;

[0141] The shower main control module 7101 is used to determine the desired fragrance concentration according to the current water outlet temperature, the current ambient temperature and the current season information when the user is within the range of the shower area, and generate a fragrance control instruction carrying the desired fragrance concentration and a fragrance start instruction; or, when the user is not within the range of the shower area, generate a fragrance control instruction carrying a fragrance off instruction.

[0142] In an embodiment, the wireless communication module 780 may include, but is not limited to, one of the following: a Bluetooth module, a WIFI module, a 2.4G module, etc. In an embodiment, when the shower main control module 7101 receives that the user is within the range of the shower area, the shower main control module 7101 determines the desired fragrance concentration based on the current water outlet temperature, the current ambient temperature, and the current season information, generates a fragrance control instruction carrying the desired fragrance concentration and a fragrance activation instruction, and sends the fragrance control instruction to the fragrance main control module 7102 through the wireless communication module 780. The fragrance main control module 7102 performs corresponding operations based on the fragrance activation instruction in the fragrance control instruction, and adjusts the concentration based on the desired fragrance concentration in the fragrance control instruction; when it receives that the user is not within the range of the shower area, the shower main control module 7101 generates a fragrance control instruction carrying a fragrance off instruction, and sends the fragrance control instruction to the fragrance main control module 7102 through the wireless communication module 780. The fragrance main control module 7102 performs corresponding operations based on the fragrance off instruction in the fragrance control instruction. The technical solution of this embodiment controls the fragrance bathroom cabinet system through the shower system, making the interaction simpler and the user learning cost lower. Moreover, the shower and the fragrance bathroom cabinet are designed in a scenario-based manner. When the user takes a bath, they can control the fragrance bathroom cabinet system to perform corresponding fragrance concentration and fragrance on / off operations, without the need for the user to perform additional operations, and thus can take a fragrance bath, making the fragrance control process more convenient.

[0143] In one embodiment, Figure 10 is a schematic structural diagram of another fragrance bath control system provided by an embodiment of the present invention. This embodiment further limits the structure of the fragrance bath control system on the basis of the above as Figure 7 shown. In this embodiment, the fragrance bath control system includes a shower system and a fragrance bathroom cabinet system. As Figure 10 shown, the shower system in the fragrance bath control system in this embodiment further includes: an infrared human body detection module 740 and a water temperature detection sensor 750; the fragrance bathroom cabinet system includes: a room temperature detection sensor 760 and a timing module 770; and both the shower system and the fragrance bathroom cabinet system include: a wireless communication module 780;

[0144] Among them, both the infrared human body detection module 740 and the water temperature detection sensor 750 are connected to the shower main control module 7101; both the room temperature detection sensor 760 and the timing module 770 are connected to the fragrance main control module 7102;

[0145] Among them, a wireless communication connection is established between the shower system and the fragrance bathroom cabinet system through the wireless communication module 780;

[0146] The infrared human body detection module 740 is used to detect whether the user is within the range of the shower area and send the detection result to the shower main control module 7101;

[0147] The water temperature detection sensor 750 is used to detect the current water outlet temperature of the shower and send the current water outlet temperature to the shower main control module 7101;

[0148] The shower main control module 7101 is used to send the detection result of whether the user is within the range of the shower area and the current water outlet temperature to the fragrance main control module 7102;

[0149] The room temperature detection sensor 760 is used to detect the current ambient temperature associated with the shower and send the current ambient temperature to the fragrance main control module 7102;

[0150] The timing module 770 is used to detect the current season information associated with the shower and send the current season information to the fragrance main control module 7102;

[0151] The fragrance main control module 7102 is used to determine the desired fragrance concentration based on the current water outlet temperature, the current ambient temperature, and the current season information when the user is within the range of the shower area, and generate a fragrance control instruction carrying the desired fragrance concentration and a fragrance start instruction; or, when the user is not within the range of the shower area, generate a fragrance control instruction carrying a fragrance off instruction.

[0152] In the embodiment, when the shower main control module 7101 receives that the user is within the range of the shower area, it sends the current water outlet temperature to the fragrance main control module 7102 through the wireless communication module 780. The fragrance main control module 7102 determines the desired fragrance concentration based on the current water outlet temperature, the current ambient temperature detected by its own internal room temperature detection sensor 760, and the current season information detected by the timing module 770, and generates a fragrance control instruction carrying the desired fragrance concentration and a fragrance start instruction through the fragrance main control module 7102, and sends the fragrance control instruction to the shower main control module 7101 through the wireless communication module 780. The shower main control module 7101 performs corresponding operations based on the fragrance start instruction in the fragrance control instruction, and adjusts the concentration based on the desired fragrance concentration in the fragrance control instruction; when it receives that the user is not within the range of the shower area, the fragrance main control module 7102 generates a fragrance control instruction carrying a fragrance off instruction and sends the fragrance control instruction to the shower main control module 7101 through the wireless communication module 780. The shower main control module 7101 performs corresponding operations based on the fragrance off instruction in the fragrance control instruction.

[0153] It should be noted that the explanation of the wireless communication module can be referred to the above description and will not be elaborated here.

[0154] In such as Figures 9-10Both the shower system and the fragrance bathroom cabinet system shown also include: a power supply module to supply power to each module in its own system through the power supply module to ensure the normal operation of each module in its own system. In one example, a battery module can also be configured in both the shower system and the fragrance bathroom cabinet system, so that in the event of a temporary power outage, it can be ensured that the shower system and the fragrance bathroom cabinet system can use the battery module to supply power to each internal module, so as to avoid the situation where the user cannot complete the bath due to power failure during the bath, effectively improving the user's bathing experience.

[0155] In one example, the shower system and the fragrance bathroom cabinet system can be two independent systems. For example, the shower system is configured inside the shower, and the fragrance bathroom cabinet system is configured inside the fragrance bathroom cabinet.

[0156] In one embodiment, Figure 11 is a schematic structural diagram of a shower system provided by an embodiment of the present invention. In this embodiment, taking the wireless communication module 780 as the Bluetooth module 7801 as an example, the structure of the shower system will be described. As Figure 11 shown, the shower system in this embodiment includes: a shower main control module 7101, a key detection module 720, an infrared human body detection module 740, a water temperature detection sensor 750, a room temperature detection sensor 760, a timing module 770, a Bluetooth module 7801, and a power supply module 790.

[0157] Among them, the infrared human body detection module 740, the key detection module 720, the water temperature detection sensor 750, the room temperature detection sensor 760, the timing module 770, the Bluetooth module 7801, and the power supply module 790 are respectively connected to the shower main control module 7101. The timing module 770 consists of the internal clock of the MCU. The shower main control module 7101 controls the entire shower system; the infrared human body detection module 740 transmits information such as whether the user is in the shower area range to the shower main control module 7101; the key detection module 720 transmits the information of the user's operation of the key to the shower main control module 7101; the water temperature detection sensor 750 transmits the outlet water temperature to the shower main control module 7101; the room temperature detection sensor 760 transmits the bathroom temperature to the shower main control module 7101; the timing module 770 is used to record time and judge month and season information; the Bluetooth module 7801 is used to establish a communication connection with the fragrance bathroom cabinet system for data transmission; the power supply module 790 supplies power to each module in the shower system to ensure its normal operation.

[0158] In one embodiment, Figure 12It is a schematic structural diagram of an aroma bathroom cabinet system provided by an embodiment of the present invention. In this embodiment, taking the wireless communication module 780 as the Bluetooth module 7801, and the aroma regulation module 730 including: an aroma drive circuit 7301 and an aroma concentration adjustment circuit 7302 as an example, the structure of the aroma bathroom cabinet system will be described. As Figure 12 shown, the aroma bathroom cabinet system in this embodiment includes: an aroma main control module 7102, a Bluetooth module 7801, an aroma drive circuit 7301, an aroma concentration adjustment circuit 7302, and a power supply module 790.

[0159] The Bluetooth module 7801, the aroma drive circuit 7301, the aroma concentration adjustment circuit 7302, and the power supply module 790 are respectively connected to the aroma main control module 7102. The aroma main control module 7102 is used to control the entire aroma bathroom cabinet system; the Bluetooth module 7801 is used to establish a communication connection between the aroma bathroom cabinet system and the shower system for data transmission; the aroma drive circuit 7301 is used to drive the aroma bathroom cabinet (turn on / off the aroma); the aroma concentration adjustment circuit 7302 is used to adjust the aroma concentration; the power supply module 790 supplies power to each module in the shower system to ensure its normal operation.

[0160] In one embodiment, Figure 13 It is a schematic interaction structure diagram of an aroma bathroom cabinet system and a shower system provided by an embodiment of the present invention. In this embodiment, the aroma main control module 7102 in the aroma bathroom cabinet system can communicate with the shower main control module 7101 through the Bluetooth module 7801 in the aroma bathroom cabinet system and the Bluetooth module 7801 in the shower system. And, the power supply module 790 in the aroma bathroom cabinet system can supply power to each module in the aroma bathroom cabinet system, and the power supply module 790 in the shower system can supply power to each module in the shower system.

[0161] The aroma bathing control system provided by the embodiment of the present invention can execute the aroma bathing control method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0162] In some embodiments, the aroma bathing control method can be implemented as a computer program, which is tangibly included in a computer-readable storage medium. In some embodiments, part or all of the computer program can be loaded and / or installed onto the aroma bathing control system via the ROM and / or the communication unit. When the computer program is loaded into the RAM and executed by the main control module, one or more steps of the aroma bathing control method described above can be executed. Alternatively, in other embodiments, the main control module can be configured to execute the aroma bathing control method by any other suitable means (for example, by means of firmware).

[0163] The various embodiments of the systems and techniques described above in this document can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGA), application specific integrated circuits (ASIC), application specific standard products (ASSP), systems on a chip (SOC), complex programmable logic devices (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that receives data and instructions from a storage system, at least one input device, and at least one output device, and transmits the data and instructions to the storage system, the at least one input device, and the at least one output device.

[0164] The computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that the computer programs, when executed by the processor, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The computer programs can be executed entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine, or entirely on a remote machine or server.

[0165] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.

[0166] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, speech input, or tactile input).

[0167] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.

[0168] The computing system can include a client and a server. The client and the server are generally far from each other and typically interact through a communication network. The client-server relationship is created by computer programs that run on the respective computers and have a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, and solves the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.

[0169] An embodiment of the present invention also provides a computer program product, including a computer program which, when executed by a processor, can implement the fragrance bath control method provided in any embodiment of the present application.

[0170] In the process of implementing the computer program product, computer program code for performing the operations of this application can be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network - including a local area network (LAN) or a wide area network (WAN) - or, alternatively, can be connected to an external computer (e.g., by using an Internet service provider to connect through the Internet).

[0171] It should be understood that the various forms of the process shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is imposed herein.

[0172] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims

1. A method for controlling a scented bath, characterized in that: include: Generate a fragrance control instruction according to user operation information for the shower; wherein the user operation information is used to control the shower to perform shower work; Based on the fragrance on instruction or the fragrance off instruction in the fragrance control instruction, the fragrance control module associated with the shower is controlled to perform a corresponding operation, and / or, based on the desired fragrance concentration in the fragrance control instruction, the fragrance control module associated with the shower is controlled to adjust the concentration.

2. The method according to claim 1, characterized in that The generating of the fragrance control instruction according to the user operation information for the shower comprises: In response to the user operation information being a shower on operation or a shower off operation, obtaining whether the user is in a shower area; In response to the user being in a shower area, determining a desired fragrance concentration according to current season information associated with the shower, current ambient temperature, and current outlet water temperature; Generate a fragrance control instruction carrying the desired fragrance concentration and the fragrance start instruction.

3. The method according to claim 2, characterized in that The step of determining the desired fragrance concentration according to the current season information, the current ambient temperature, and the current outlet water temperature associated with the shower comprises: Acquire an ambient temperature threshold and a water outlet temperature threshold that match the current season information associated with the shower; If the current season information associated with the shower is a first type of season and the current ambient temperature is greater than the ambient temperature threshold, or if the current season information is a second type of season and the current ambient temperature is less than the ambient temperature threshold, determining the desired fragrance concentration based on the current ambient temperature; If the current season information associated with the shower is the first type of season and the current ambient temperature is less than the ambient temperature threshold, or the current season information is the second type of season and the current ambient temperature is greater than the ambient temperature threshold, the expected fragrance concentration is determined based on the current water outlet temperature of the shower and the water outlet temperature threshold.

4. The method according to claim 1, characterized in that The generating of the fragrance control instruction according to the user operation information for the shower comprises: In response to the user operation information being a shower closing operation, obtaining whether the user is within the shower area; In response to the user not being within the shower area, a fragrance control instruction carrying a fragrance shut-off instruction is generated.

5. The method according to any one of claims 1 to 4, characterized in that The fragrance control module is integrated in the shower system and the fragrance control instruction is generated by the fragrance bathroom cabinet system, or the fragrance control module is integrated in the fragrance bathroom cabinet system and the fragrance control instruction is generated by the shower system; wherein the shower system establishes a communication connection with the fragrance bathroom cabinet system; the method further includes: transmitting a wireless communication connection request between the scented bathroom cabinet system and the shower system; In response to the fragrance bathroom cabinet system successfully establishing a wireless communication connection with the shower system, the fragrance control instruction and / or the user operation information is transmitted between the shower system and the fragrance bathroom cabinet system.

6. A fragrance bath control system, characterized in that: include: A main control module, a key detection module and a fragrance control module; wherein the key detection module and the fragrance control module are both connected to the main control module; The button detection module is used to send the detected user operation information on the shower to the main control module; wherein the user operation information is used to control the shower to perform the relevant information of the shower operation; The main control module is used to generate a fragrance control instruction according to the user operation information, and send the fragrance control instruction to the fragrance control module; The fragrance control module is used to perform corresponding operations based on the fragrance on instruction or the fragrance off instruction in the fragrance control instruction, and / or to adjust the concentration based on the desired fragrance concentration in the fragrance control instruction.

7. The system according to claim 6, characterized in that The fragrance bath control system also includes: an infrared human body detection module, a water temperature detection sensor, a room temperature detection sensor and a timing module; Wherein, the infrared human body detection module, the water temperature detection sensor, the room temperature detection sensor and the timing module are all connected to the main control module; The infrared human body detection module is used to detect whether the user is within the shower area and send the detection result to the main control module; The water temperature detection sensor is used to detect the current outlet water temperature of the shower and send the current outlet water temperature to the main control module; The room temperature detection sensor is used to detect the current ambient temperature associated with the shower and send the current ambient temperature to the main control module; The timing module is used to detect the current season information associated with the shower and send the current season information to the main control module; The main control module is used to determine the expected fragrance concentration according to the current water outlet temperature, the current ambient temperature and the current season information when the user is within the shower area, and generate a fragrance control instruction carrying the expected fragrance concentration and a fragrance start instruction; or, when the user is not within the shower area, generate a fragrance control instruction carrying a fragrance shutoff instruction.

8. The system according to claim 6, characterized in that The fragrance control module includes: a fragrance driving circuit and a fragrance concentration adjustment circuit; wherein the fragrance driving circuit and the fragrance concentration adjustment circuit are both connected to the main control module; The fragrance driving circuit is used to turn off the fragrance function based on the fragrance turning off instruction, or to turn on the fragrance function based on the fragrance starting instruction; The fragrance concentration adjustment circuit is used to adjust the concentration based on the desired fragrance concentration.

9. The system according to claim 6, characterized in that The main control module includes: a fragrance main control module and a shower main control module; the shower main control module and the button detection module are integrated in the shower system, and the fragrance main control module and the fragrance control module are integrated in the fragrance bathroom cabinet system; The button detection module is connected to the shower main control module, and the fragrance control module is connected to the fragrance main control module; The button detection module is used to send the detected user operation information on the shower to the shower main control module; The shower main control module is used to generate a fragrance control instruction according to the user operation information, and send the fragrance control instruction to the fragrance main control module; The fragrance main control module is used to send the fragrance control instruction to the fragrance regulation module, so that the fragrance regulation module performs a corresponding operation based on the fragrance control instruction.

10. The system according to claim 9, characterized in that The shower system also includes: an infrared human body detection module, a water temperature detection sensor, a room temperature detection sensor and a timing module; Wherein, the infrared human body detection module, the water temperature detection sensor, the room temperature detection sensor and the timing module are all connected to the shower main control module; The infrared human body detection module is used to detect whether the user is within the shower area and send the detection result to the shower main control module; The water temperature detection sensor is used to detect the current outlet water temperature of the shower and send the current outlet water temperature to the shower main control module; The room temperature detection sensor is used to detect the current ambient temperature associated with the shower and send the current ambient temperature to the shower main control module; The timing module is used to detect the current season information associated with the shower and send the current season information to the shower main control module; The shower main control module is used to determine the expected fragrance concentration according to the current water outlet temperature, the current ambient temperature and the current season information when the user is in the shower area, and generate a fragrance control instruction carrying the expected fragrance concentration and a fragrance start instruction; or, when the user is not in the shower area, generate a fragrance control instruction carrying a fragrance shutoff instruction.

11. The system according to claim 9, characterized in that The shower system further includes: an infrared human body detection module and a water temperature detection sensor; the fragrance bathroom cabinet system includes: a room temperature detection sensor and a timing module; Wherein, the infrared human body detection module and the water temperature detection sensor are both connected to the shower main control module; the room temperature detection sensor and the timing module are both connected to the fragrance main control module; The infrared human body detection module is used to detect whether the user is within the shower area and send the detection result to the shower main control module; The water temperature detection sensor is used to detect the current outlet water temperature of the shower and send the current outlet water temperature to the shower main control module; The shower main control module is used to send the detection result of whether the user is within the shower area and the current water outlet temperature to the fragrance main control module; The room temperature detection sensor is used to detect the current ambient temperature associated with the shower and send the current ambient temperature to the fragrance main control module; The timing module is used to detect the current season information associated with the shower and send the current season information to the fragrance main control module; The fragrance main control module is used to determine the expected fragrance concentration according to the current water outlet temperature, the current ambient temperature and the current season information when the user is in the shower area, and generate a fragrance control instruction carrying the expected fragrance concentration and a fragrance start instruction; or, when the user is not in the shower area, generate a fragrance control instruction carrying a fragrance shutoff instruction.

12. The system according to any one of claims 9 to 11, characterized in that: The shower system and the fragrance bathroom cabinet system both include: a wireless communication module; A wireless communication connection is established between the shower system and the fragrance bathroom cabinet system through the wireless communication module.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the fragrance bath control method according to any one of claims 1 to 5 when executed.

14. A computer program product, characterized in that The computer program product comprises a computer program, which, when executed by a processor, implements the fragrance bath control method according to any one of claims 1 to 5.