Wardrobe aroma enhancement control method and device, wardrobe and storage medium
By detecting the status of the wardrobe door and the fragrance release duration, it automatically calculates the fragrance release time and amount, solving the problems of untimely fragrance release and unreasonable release amount in the existing technology, and improving the fragrance effect of clothes.
Patent Information
- Application Number
- CN202310880384.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-18
- Publication Date
- 2025-01-21
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When setting aromatherapy in the wardrobe in the prior art, the release time and amount of the fragrance cannot be automatically and reasonably controlled, which may lead to untimely release of the fragrance or unreasonable amount.
By detecting the open status of the wardrobe door and the duration of fragrance release, it can calculate the remaining time and release amount before the fragrance is released, and automatically control the release of fragrance.
It realizes the timely release and reasonable control of the release amount of fragrance in the wardrobe, ensuring the aromatherapy effect of clothes.
Smart Images

Figure CN119335885A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart home technology, and in particular to a wardrobe fragrance control method, a device, a wardrobe and a storage medium. Background Art
[0002] Aromatherapy can eliminate odors, beautify the environment, and maintain health and cure diseases. Aromatherapy can be set in various living environments. When setting aromatherapy in a wardrobe, the existing technology simply places the aromatherapy product in the wardrobe without setting a fragrance release plan. The existing technology cannot automatically and reasonably control the release of fragrance for passive fragrance release products, and there may be situations such as untimely release of fragrance in the wardrobe and unreasonable release amount. Summary of the invention
[0003] The present invention provides a wardrobe fragrance control method, a device, a wardrobe and a storage medium, which can automatically and reasonably control the release time and release amount of the fragrance in the wardrobe.
[0004] In a first aspect, the present invention provides a wardrobe fragrance control method, comprising:
[0005] Detect the open state of the wardrobe door after the fragrance release in the previous cycle to obtain the cabinet door opening information of this cycle;
[0006] According to the cabinet door opening information of the current cycle and the duration of the current no fragrance release, the remaining time of the no fragrance release before the wardrobe releases the fragrance of the current cycle is calculated to obtain the remaining time before the fragrance is added in the current cycle;
[0007] Calculating the amount of fragrance released in the current cycle according to the cabinet door opening information of the current cycle to obtain the fragrance increase amount of the current cycle; and
[0008] After the remaining time before the fragrance enhancement in the current cycle ends, the fragrance release in the current cycle is performed according to the fragrance enhancement amount in the current cycle.
[0009] In a second aspect, the present invention provides a wardrobe fragrance control device, comprising:
[0010] A detection module is used to detect the open state of the wardrobe door after the fragrance release in the previous cycle to obtain the cabinet door opening information in this cycle;
[0011] A remaining time calculation module, for calculating the remaining time of no fragrance release before the wardrobe releases fragrance in this cycle according to the cabinet door opening information in this cycle and the duration of no fragrance release at present, to obtain the remaining time before fragrance enhancement in this cycle;
[0012] a fragrance increase amount calculation module, used to calculate the fragrance amount released in the current cycle according to the cabinet door opening information of the current cycle to obtain the fragrance increase amount of the current cycle; and
[0013] The fragrance release module is used to release the fragrance of the current cycle according to the fragrance increase amount of the current cycle after the remaining time before the fragrance increase of the current cycle ends.
[0014] In a third aspect, the present invention further provides a wardrobe, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a wardrobe fragrance control method as described in any one of the present invention is implemented.
[0015] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a wardrobe fragrance enhancement control method as described in any one of the present inventions.
[0016] The present invention provides a wardrobe fragrance control method, device, wardrobe and storage medium, which can automatically control the passively released fragrance release products to release the fragrance in time and make the fragrance release amount more reasonable, thereby ensuring the aromatherapy effect of the clothes in the wardrobe. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 It is a flow chart of a wardrobe fragrance control method provided by an embodiment of the present invention;
[0019] Figure 2 is another flow chart of the wardrobe fragrance control method provided by an embodiment of the present invention;
[0020] Figure 3 is a structural schematic diagram of a wardrobe fragrance control device provided by an embodiment of the present invention;
[0021] Figure 4 It is a structural schematic diagram of a wardrobe provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0022] Aromatherapy can eliminate odors, beautify the environment, and maintain health and cure diseases. Aromatherapy can be set in various living environments. When setting aromatherapy in a wardrobe, the existing technology simply places the aromatherapy product in the wardrobe without setting a fragrance release plan. For passive fragrance release products, the release of fragrance cannot be automatically and reasonably controlled, and there may be situations such as untimely release of fragrance in the wardrobe and unreasonable release amount.
[0023] The present invention provides a wardrobe fragrance control method, device, wardrobe and storage medium, which detects and obtains the wardrobe door opening information after the wardrobe completes the fragrance release in the previous cycle, and controls the fragrance release time and release amount in this cycle according to the door opening information detection value. It can automatically control the passively released fragrance release products, such as perfumes and other products to release the fragrance in time, and make the fragrance release amount more reasonable.
[0024] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0025] Figure 1 This is a flow chart of a wardrobe fragrance control method provided in an embodiment of the present invention. The method can be executed by a wardrobe fragrance control device provided in an embodiment of the present invention. The device can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated in a wardrobe. The following embodiments will be described by taking the device integrated in a wardrobe as an example. Figure 1 , the method may specifically include the following steps:
[0026] Step 101, detecting the open state of the wardrobe door after the fragrance release in the previous cycle to obtain the cabinet door opening information of this cycle, which can be helpful for calculating the remaining fragrance enhancement time and the fragrance enhancement amount of this cycle based on the above cabinet door opening information of this cycle.
[0027] In an optional specific embodiment of the present invention, the above cabinet door opening information of this cycle includes the cabinet door opening time of this cycle.
[0028] Specifically, after the fragrance release in the previous cycle is completed, the time of each cabinet door opening and closing can be monitored, and the interval time from each cabinet door opening to the next cabinet door closing can be summed up and calculated to obtain the cabinet door opening time of the current cycle.
[0029] In an optional specific embodiment of the present invention, the above cabinet door opening information of this cycle includes the number of times the cabinet door is opened in this cycle.
[0030] Specifically, after the fragrance release in the previous cycle is completed, each cabinet door opening operation is monitored and counted to obtain the cabinet door opening times in the current cycle.
[0031] Step 102, based on the cabinet door opening information of this cycle and the current duration of no fragrance release, the remaining time of no fragrance release before the wardrobe releases fragrance in this cycle is calculated to obtain the remaining time before fragrance addition in this cycle. The remaining time before fragrance addition in this cycle can be accurately calculated based on the cabinet door opening information, so as to facilitate timely fragrance addition after the remaining time before fragrance addition in this cycle ends.
[0032] Specifically, after the door is opened, the fragrance in the closet will inevitably be released at a faster speed, resulting in the fragrance concentration in the closet not reaching the concentration required by the user for fragrancing clothes. Therefore, the remaining time before the fragrance is added in this cycle is determined based on the door opening information of this cycle obtained by detection, and the fragrance is added in time after the remaining time before the fragrance is added in this cycle ends, which can help ensure the fragrance effect in the closet.
[0033] In an optional specific embodiment of the present invention, the above-mentioned process of calculating the remaining time of no fragrance release before the wardrobe releases fragrance in this cycle according to the cabinet door opening information of this cycle and the current duration of no fragrance release to obtain the remaining time before fragrance addition in this cycle includes: calculating the remaining time of no fragrance release before the wardrobe releases fragrance in this cycle according to the cabinet door opening duration of this cycle and the current duration of no fragrance release to obtain the remaining time before fragrance addition in this cycle.
[0034] In an optional specific embodiment of the present invention, the process of calculating the remaining time before fragrance addition in the current cycle by calculating the remaining time without fragrance release in the wardrobe before fragrance release in the current cycle based on the duration of cabinet door opening in the current cycle and the duration of the current absence of fragrance release includes: if the duration of cabinet door opening in the current cycle is greater than the first preset duration, and the current duration without fragrance release is greater than the second preset duration, the remaining time before fragrance addition in the current cycle is set to 0; otherwise, the remaining time before fragrance addition in the current cycle is calculated based on the duration of the current absence of fragrance release and the preset fragrance release cycle duration.
[0035] Specifically, the second preset duration is shorter than the preset fragrance release cycle duration.
[0036] Optionally, the process of calculating the remaining time before fragrance enhancement in this cycle based on the current duration of no fragrance release and the preset fragrance release cycle duration includes: using the fragrance release cycle duration to subtract the current duration of no fragrance release to obtain the remaining time before fragrance enhancement in this cycle.
[0037] In actual situations, when users organize clothes or forget to close the door, the door will be opened for a long time, which greatly speeds up the release of fragrance. This optional specific embodiment can effectively avoid the situation where the fragrance in the closet is not released in time in such situations.
[0038] In an optional specific embodiment of the present invention, the above-mentioned process of calculating the remaining time of no fragrance release before the wardrobe releases fragrance in this cycle according to the cabinet door opening information of this cycle and the current duration of no fragrance release to obtain the remaining time before fragrance addition in this cycle includes: calculating the remaining time of no fragrance release before the wardrobe releases fragrance in this cycle according to the number of cabinet door openings in this cycle and the current duration of no fragrance release to obtain the remaining time before fragrance addition in this cycle.
[0039] In an optional specific embodiment of the present invention, the above-mentioned process of calculating the remaining time before fragrance addition in the current cycle by the number of cabinet door openings in the current cycle and the duration of the current no fragrance release before the wardrobe releases fragrance in the current cycle to obtain the remaining time before fragrance addition in the current cycle includes: if the number of cabinet door openings in the current cycle is greater than the first preset number, and the current duration of no fragrance release is greater than the second preset duration, the remaining time before fragrance addition in the current cycle is set to 0; otherwise, the remaining time before fragrance addition in the current cycle is calculated based on the current duration of no fragrance release and the preset fragrance release cycle duration.
[0040] Specifically, frequent opening of the wardrobe will inevitably lead to faster fragrance release in the wardrobe. This embodiment can release fragrance in the wardrobe in a timely manner when the wardrobe is frequently opened.
[0041] Step 103, the amount of fragrance released in the current cycle is calculated according to the cabinet door opening information to obtain the fragrance increase amount of the current cycle. The fragrance increase amount of the current cycle can be calculated according to the cabinet door opening information, so that the amount of fragrance released in the current cycle can be adjusted according to the fragrance diffusion situation in the cabinet, avoiding too little or too much fragrance released into the wardrobe to achieve the expected aromatherapy effect.
[0042] Specifically, if too little fragrance is released, the fragrance of the clothes in the closet will be too light, and if too much fragrance is released, the fragrance of the clothes in the closet will be too strong, so the fragrance effect expected by the user cannot be achieved.
[0043] In an optional specific embodiment of the present invention, the above-mentioned process of calculating the amount of fragrance released in the current cycle according to the cabinet door opening information of the current cycle to obtain the increased fragrance amount of the current cycle includes: calculating the amount of fragrance released in the current cycle according to the cabinet door opening time of the current cycle to obtain the increased fragrance amount of the current cycle.
[0044] In an optional specific embodiment of the present invention, the above-mentioned process of calculating the amount of fragrance released in the current cycle according to the length of time the cabinet door is open in the current cycle to obtain the increased fragrance amount in the current cycle includes: determining the adjustment coefficient of the increased fragrance amount in the current cycle according to the difference in duration between the length of time the cabinet door is open in the current cycle and the total duration of the current cycle; and calculating the increased fragrance amount in the current cycle according to the adjustment coefficient of the increased fragrance amount in the current cycle.
[0045] Optionally, the process of calculating the fragrance increase amount of the current cycle according to the adjustment coefficient of the fragrance increase amount of the current cycle includes: multiplying the fragrance increase amount of the previous cycle by the adjustment coefficient of the fragrance increase amount of the current cycle to obtain the fragrance increase amount of the current cycle.
[0046] Specifically, the smaller the difference between the cabinet door opening time in the current cycle and the total time in the current cycle, the greater the amount of fragrance enhancement required. In the specific scenario where the cabinet door is forgotten to be closed, it is necessary to increase the amount of fragrance release to compensate for the excessively fast fragrance release in the cabinet.
[0047] Optionally, the process of determining the adjustment coefficient of the fragrance amount of this cycle based on the time difference between the time the cabinet door is open in this cycle and the total time of this cycle includes: determining the adjustment coefficient of the fragrance amount of this cycle based on the ratio of the time the cabinet door is open in this cycle to the total time of this cycle, or the difference between the total time of this cycle and the time the cabinet door is open in this cycle.
[0048] In an optional specific embodiment of the present invention, the above-mentioned process of calculating the amount of fragrance released in the current cycle according to the cabinet door opening information of the current cycle to obtain the increased fragrance amount of the current cycle includes: calculating the amount of fragrance released in the current cycle according to the number of cabinet door openings in the current cycle to obtain the increased fragrance amount of the current cycle.
[0049] In an optional specific embodiment of the present invention, the process of calculating the amount of fragrance released by the fragrance in this cycle based on the number of times the cabinet door is opened in this cycle to obtain the increased fragrance amount in this cycle includes: determining an adjustment coefficient of the increased fragrance amount in this cycle based on the number of times the cabinet door is opened in this cycle and the number of times the cabinet door is opened in a predetermined number of cycles before; and calculating the increased fragrance amount in this cycle based on the adjustment coefficient of the increased fragrance amount in this cycle.
[0050] Optionally, the process of calculating the fragrance increase amount of the current cycle according to the adjustment coefficient of the fragrance increase amount of the current cycle includes: multiplying the fragrance increase amount of the previous cycle by the adjustment coefficient of the fragrance increase amount of the current cycle to obtain the fragrance increase amount of the current cycle.
[0051] Optionally, if the number of times the cabinet door is opened in the current cycle and the number of times the cabinet door is opened in the previous predetermined number of cycles, and the number of times the cabinet door is opened in each cycle is greater than the second predetermined number, then the adjustment coefficient of the fragrance enhancement amount in the current cycle is set to a value greater than 1.
[0052] Specifically, if the number of times the door is opened in this cycle and the number of times the door is opened in the previous predetermined number of cycles are both relatively large, it means that the wardrobe is used more frequently. A wardrobe that is used more frequently must emit fragrance faster than a wardrobe that is used less frequently, so it can be compensated by increasing the amount of fragrance.
[0053] Step 104, after the remaining time before the fragrance enhancement in this cycle ends, the fragrance of this cycle is released according to the fragrance enhancement amount of this cycle. In this way, the passive fragrance release product can be automatically controlled to release the fragrance in time, and the fragrance release amount is more reasonable, ensuring the fragrance effect of the clothes in the wardrobe.
[0054] Optionally, after the remaining time before the fragrance enhancement in this cycle ends, the fragrance release in this cycle is immediately performed according to the fragrance enhancement amount in this cycle, and after the fragrance release is completed, the information of this fragrance release is sent to the user end.
[0055] Optionally, after the remaining time before the fragrance enhancement in the above-mentioned current cycle ends, it is detected whether the cabinet door is in a closed state. If the cabinet door is not closed, the user is reminded. If the cabinet door is closed, the fragrance of this cycle is released, and after the fragrance release is completed, the information of this fragrance release is sent to the user end.
[0056] The following further describes a wardrobe fragrance control method in another embodiment. Figure 2 As shown, this may include:
[0057] Step 201, detecting the open state of the wardrobe door after the fragrance release in the previous cycle is completed to obtain the cabinet door opening information of this cycle.
[0058] Step 202, detecting the change information of the clothes in the wardrobe after the fragrance release of the previous cycle is completed.
[0059] Specifically, the above-mentioned clothing change information includes: weight change information of clothing in the closet, and / or update information of clothing in the closet, so as to calculate the fragrance enhancement amount according to the change information of clothing in the closet.
[0060] Step 203, according to the cabinet door opening information of this cycle and the duration of the current non-fragrance release, the remaining duration of the non-fragrance release before the wardrobe releases the fragrance of this cycle is calculated to obtain the remaining duration before the fragrance is added in this cycle.
[0061] Step 204, calculating the amount of fragrance released by the fragrance in this cycle according to the clothing change information and the cabinet door opening information in this cycle to obtain the fragrance increase amount in this cycle.
[0062] Step 205, after the remaining time before the fragrance enhancement in this cycle ends, the fragrance of this cycle is released according to the fragrance enhancement amount of this cycle.
[0063] Specifically, the more clothes there are in the closet, the more fragrance is needed. In addition, the amount of fragrance required for clothes taken out of the closet and put back in is greater than the amount of fragrance required for clothes newly added to the closet. The embodiment of the present invention calculates the fragrance increase amount for this cycle based on the change information of the clothes in the closet, which can make the fragrance increase amount for this cycle more reasonable and the fragrance increase effect on the clothes in the closet better meet the needs of users.
[0064] Figure 3 is a structural diagram of a wardrobe fragrance control device provided by an embodiment of the present invention, and the device is suitable for executing a wardrobe fragrance control method provided by an embodiment of the present invention. Figure 3 As shown, the device may specifically include:
[0065] The detection module 301 is used to detect the open state of the wardrobe door after the fragrance release in the previous cycle is completed to obtain the cabinet door opening information of this cycle.
[0066] Optionally, the above cabinet door opening information of this cycle includes the cabinet door opening time of this cycle.
[0067] Preferably, the cabinet door opening information of this cycle includes the number of times the cabinet door is opened in this cycle.
[0068] The remaining time calculation module 302 is used to calculate the remaining time of no fragrance release before the wardrobe releases fragrance in this cycle according to the cabinet door opening information in this cycle and the duration of the current no fragrance release to obtain the remaining time before fragrance enhancement in this cycle.
[0069] Optionally, the remaining time calculation module 302 can be specifically used to calculate the remaining time before fragrance release in the current cycle according to the cabinet door opening time and the current duration of no fragrance release, to obtain the remaining time before fragrance enhancement in the current cycle.
[0070] Optionally, the remaining time calculation module 302 can be specifically used to: if the cabinet door opening time of this cycle is greater than the first preset time, and the current duration without fragrance release is greater than the second preset time, then the remaining time before fragrance addition of this cycle is set to 0; otherwise, the remaining time before fragrance addition of this cycle is calculated according to the current duration without fragrance release and the preset fragrance release cycle duration.
[0071] Optionally, the remaining time calculation module 302 can be specifically used to calculate the remaining time before fragrance addition in this cycle based on the number of cabinet door openings in this cycle and the duration of the current no fragrance release, before the wardrobe releases fragrance in this cycle.
[0072] Optionally, the above-mentioned remaining time calculation module 302 can be specifically used for: if the number of times the cabinet door is opened in this cycle is greater than the first preset number, and the current duration without fragrance release is greater than the second preset duration, then the remaining time before fragrance enhancement in this cycle is set to 0; otherwise, the remaining time before fragrance enhancement in this cycle is calculated based on the current duration without fragrance release and the preset fragrance release cycle duration.
[0073] The fragrance increase amount calculation module 303 is used to calculate the fragrance amount released in the current cycle according to the cabinet door opening information in the current cycle to obtain the fragrance increase amount in the current cycle.
[0074] Optionally, the fragrance increase amount calculation module 303 can be specifically used to calculate the fragrance amount released in the current cycle according to the cabinet door opening time in the current cycle to obtain the fragrance increase amount in the current cycle.
[0075] Optionally, the fragrance amount calculation module 303 can be specifically used to: determine the adjustment coefficient of the fragrance amount of this cycle according to the difference between the cabinet door opening time of this cycle and the total time of this cycle; and calculate the fragrance amount of this cycle according to the adjustment coefficient of the fragrance amount of this cycle.
[0076] Optionally, the fragrance increase amount calculation module 303 can be specifically used to calculate the fragrance amount released by the fragrance in the current period according to the number of times the cabinet door is opened in the current period to obtain the fragrance increase amount in the current period.
[0077] Optionally, the fragrance amount calculation module 303 can be specifically used to: determine the adjustment coefficient of the fragrance amount of this cycle according to the number of cabinet door openings in this cycle and the number of cabinet door openings in the previous predetermined number of cycles; and calculate the fragrance amount of this cycle according to the adjustment coefficient of the fragrance amount of this cycle.
[0078] The fragrance release module 304 is used to release the fragrance of the current cycle according to the fragrance increase amount of the current cycle after the remaining time before the fragrance increase of the current cycle ends.
[0079] In an optional specific embodiment of the present invention, the aforementioned detection module is also used to: detect the clothing change information in the closet after the completion of the fragrance release in the previous cycle before calculating the amount of fragrance released in this cycle based on the cabinet door opening information of this cycle to obtain the fragrance increase amount of this cycle.
[0080] In this optional specific embodiment, the aforementioned fragrance enhancement amount calculation module can be specifically used to calculate the fragrance amount released by the fragrance in this cycle according to the clothing change information and the cabinet door opening information in this cycle to obtain the fragrance enhancement amount in this cycle.
[0081] Optionally, the above-mentioned clothing change information includes: weight change information of clothing in the closet, and / or update information of clothing in the closet.
[0082] The wardrobe fragrance control device provided in the embodiment of the present invention detects and obtains the wardrobe door opening information after the wardrobe completes the fragrance release in the previous cycle, and controls the fragrance release time and release amount in this cycle according to the door opening information detection value. It can automatically control the passive release of fragrance releasing products, such as perfumes and other products, to release the fragrance in time, and make the fragrance release amount more reasonable.
[0083] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the functional modules described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0084] An embodiment of the present invention further provides a wardrobe, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the wardrobe fragrance control method provided in any of the above embodiments is implemented.
[0085] An embodiment of the present invention further provides a computer-readable medium having a computer program stored thereon, and when the program is executed by a processor, the wardrobe fragrance control method provided in any of the above embodiments is implemented.
[0086] Reference below Figure 4 , which shows a schematic diagram of the structure of a computer system 400 suitable for implementing a wardrobe according to an embodiment of the present invention. Figure 4 The wardrobe shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0087] like Figure 4 As shown, the computer system 400 includes a central processing unit (CPU) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage part 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the system 400 are also stored. The CPU 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0088] The following components are connected to the I / O interface 405: an input section 406 including a keyboard, a mouse, etc.; an output section 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed, so that a computer program read therefrom is installed into the storage section 408 as needed.
[0089] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 409, and / or installed from the removable medium 411. When the computer program is executed by the central processing unit (CPU) 401, the above-mentioned functions defined in the system of the present invention are executed.
[0090] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0091] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0092] The modules and / or units involved in the embodiments of the present invention may be implemented by software or hardware. The modules and / or units described may also be set in a processor, for example, it may be described as: a processor includes a detection module, a remaining time calculation module, a fragrance enhancement amount calculation module and a fragrance release module. The names of these modules do not constitute a limitation on the modules themselves under certain information.
[0093] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently and not be assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device implements the following: detecting the open state of the wardrobe door after completing the fragrance release of the previous cycle to obtain the cabinet door opening information of the current cycle; calculating the remaining time of the fragrance release before the wardrobe releases the fragrance of the current cycle according to the cabinet door opening information of the current cycle and the duration of the current fragrance release; calculating the fragrance amount of the fragrance released in the current cycle according to the cabinet door opening information of the current cycle to obtain the fragrance increase amount of the current cycle; and, after the remaining time before the fragrance increase of the current cycle ends, performing the fragrance release of the current cycle according to the fragrance increase amount of the current cycle.
[0094] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A wardrobe fragrance control method, characterized in that: include: Detect the open state of the wardrobe door after the fragrance release in the previous cycle to obtain the cabinet door opening information in this cycle; According to the cabinet door opening information of the current cycle and the duration of the current no fragrance release, the remaining time of the no fragrance release before the wardrobe releases the fragrance of the current cycle is calculated to obtain the remaining time before the fragrance is added in the current cycle; Calculating the amount of fragrance released in the current cycle according to the cabinet door opening information of the current cycle to obtain the fragrance increase amount of the current cycle; and After the remaining time before the fragrance enhancement in the current cycle ends, the fragrance release in the current cycle is performed according to the fragrance enhancement amount in the current cycle.
2. The wardrobe fragrance control method according to claim 1, characterized in that: The cabinet door opening information of this cycle includes the cabinet door opening time of this cycle; The process of calculating the remaining time of no fragrance release before the wardrobe releases fragrance in this cycle according to the cabinet door opening information in this cycle and the duration of the current no fragrance release to obtain the remaining time before fragrance enhancement in this cycle includes: According to the cabinet door opening time of the current cycle and the duration of the current no fragrance release, the remaining time of no fragrance release before the wardrobe releases fragrance in the current cycle is calculated to obtain the remaining time before fragrance addition in the current cycle; The process of calculating the amount of fragrance released in the current cycle according to the cabinet door opening information of the current cycle to obtain the fragrance increase amount of the current cycle includes: The fragrance increase amount of the current cycle is obtained by calculating the amount of fragrance released by the fragrance in the current cycle according to the duration of the cabinet door being opened in the current cycle.
3. The wardrobe fragrance control method according to claim 1, characterized in that: The cabinet door opening information of this cycle includes the number of times the cabinet door is opened in this cycle; The process of calculating the remaining time of no fragrance release before the wardrobe releases fragrance in this cycle according to the cabinet door opening information in this cycle and the duration of the current no fragrance release to obtain the remaining time before fragrance enhancement in this cycle includes: According to the number of cabinet door openings in the current cycle and the duration of the current no-fragrance release, the remaining time of no-fragrance release before the wardrobe releases fragrance in the current cycle is calculated to obtain the remaining time before fragrance addition in the current cycle; The process of calculating the amount of fragrance released in the current cycle according to the cabinet door opening information of the current cycle to obtain the fragrance increase amount of the current cycle includes: The fragrance increase amount of the current cycle is obtained by calculating the fragrance amount released by the fragrance in the current cycle according to the number of times the cabinet door is opened in the current cycle.
4. The wardrobe fragrance control method according to claim 2, characterized in that: The process of calculating the remaining time of no fragrance release before the wardrobe releases fragrance in this cycle according to the cabinet door opening time in this cycle and the current duration of no fragrance release to obtain the remaining time before fragrance enhancement in this cycle includes: If the cabinet door opening time of the current cycle is longer than the first preset time, and the current duration without fragrance release is longer than the second preset time, the remaining time before fragrance addition of the current cycle is set to 0; otherwise, the remaining time before fragrance addition of the current cycle is calculated according to the current duration without fragrance release and the preset fragrance release cycle duration; The process of calculating the amount of fragrance released in the current cycle according to the cabinet door opening time in the current cycle to obtain the fragrance increase amount in the current cycle includes: The adjustment coefficient of the fragrance increase amount in the current cycle is determined according to the difference between the duration of the cabinet door being opened in the current cycle and the total duration of the current cycle; and the fragrance increase amount in the current cycle is calculated according to the adjustment coefficient of the fragrance increase amount in the current cycle.
5. The wardrobe fragrance control method according to claim 3, characterized in that: The process of calculating the remaining time of no fragrance release before the wardrobe releases fragrance in this cycle according to the number of cabinet door openings in this cycle and the duration of the current no fragrance release to obtain the remaining time before fragrance addition in this cycle includes: If the number of cabinet door openings in the current cycle is greater than the first preset number of times, and the duration of the current no fragrance release is greater than the second preset duration, the remaining time before fragrance addition in the current cycle is set to 0; otherwise, the remaining time before fragrance addition in the current cycle is calculated based on the duration of the current no fragrance release and the preset fragrance release cycle duration; The process of calculating the amount of fragrance released by the fragrance in the current cycle according to the number of cabinet door openings in the current cycle to obtain the fragrance increase amount in the current cycle includes: The adjustment coefficient of the fragrance enhancement amount in the current cycle is determined according to the number of times the cabinet door is opened in the current cycle and the number of times the cabinet door is opened in the previous predetermined number of cycles; and the fragrance enhancement amount in the current cycle is calculated according to the adjustment coefficient of the fragrance enhancement amount in the current cycle.
6. The wardrobe fragrance control method according to claim 1, characterized in that: Also includes: Before calculating the fragrance amount released by the fragrance in the current cycle according to the cabinet door opening information of the current cycle to obtain the fragrance increase amount of the current cycle, detecting the clothing change information in the wardrobe after the fragrance release of the previous cycle is completed; The process of calculating the amount of fragrance released in the current cycle according to the cabinet door opening information of the current cycle to obtain the fragrance increase amount of the current cycle includes: The fragrance increase amount of the current cycle is obtained by calculating the fragrance amount released by the fragrance in the current cycle according to the clothing change information and the cabinet door opening information in the current cycle.
7. The wardrobe fragrance control method according to claim 6, characterized in that: The clothing change information includes: weight change information of the clothing in the wardrobe, and / or update information of the clothing in the wardrobe.
8. A wardrobe fragrance control device, characterized in that: include: A detection module is used to detect the open state of the wardrobe door after the fragrance release in the previous cycle is completed to obtain the cabinet door opening information in this cycle; A remaining time calculation module, for calculating the remaining time of no fragrance release before the wardrobe releases fragrance in this cycle according to the cabinet door opening information in this cycle and the duration of no fragrance release at present, to obtain the remaining time before fragrance enhancement in this cycle; a fragrance increase amount calculation module, used to calculate the fragrance amount released in the current cycle according to the cabinet door opening information of the current cycle to obtain the fragrance increase amount of the current cycle; and The fragrance release module is used to release the fragrance of the current cycle according to the fragrance increase amount of the current cycle after the remaining time before the fragrance increase of the current cycle ends.
9. A wardrobe, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the wardrobe fragrance control method as described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the wardrobe fragrance control method as described in any one of claims 1 to 7 is implemented.