Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview nor is intended to identify key/critical elements or to delineate the scope of such embodiments but rather as a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a humidifying method and device and an intelligent home system, and aims to solve the technical problem that the humidifying power of a plurality of humidifying devices cannot be adjusted in the prior art.
In some embodiments, a method for humidifying comprises:
obtaining a current humidification strategy of a current environment, wherein the current humidification strategy comprises a current target humidity and a current humidity increasing speed; wherein, a plurality of humidifying devices are arranged in the current environment;
obtaining a current indoor humidity through a target humidity sensor among a plurality of humidity sensors distributed indoors;
if the current indoor humidity is smaller than the current target humidity, acquiring a humidity difference value between the current indoor humidity and the current target humidity;
determining a target humidity increasing speed according to the current humidity increasing speed and the humidity difference value;
obtaining a target humidification power corresponding to the target humidity increase rate;
and controlling a target humidifying device corresponding to the position of the target humidity sensor according to the target humidifying power.
Optionally, determining a target humidity increasing speed according to the current humidity increasing speed and the humidity difference value includes:
obtaining the current value range of the humidity difference value;
determining a current coefficient corresponding to the current numerical range according to the corresponding relation between the numerical range and the coefficient;
obtaining a product of the current coefficient and the humidity difference value;
and determining the target humidity increase speed according to the product and the current humidity increase speed.
Optionally, determining the target humidity increase rate according to the product and the current humidity increase rate includes:
determining a humidity threshold according to a plurality of indoor humidities detected by the plurality of humidity sensors and the current target humidity;
if the humidity difference value is larger than the humidity threshold value, determining the target humidity increasing speed according to the sum of the product and the current humidity increasing speed;
if the humidity difference value is smaller than the humidity threshold value, determining the target humidity increasing speed according to the difference between the product and the current humidity increasing speed;
and if the humidity difference value is equal to the humidity threshold value, determining the target humidity increasing speed according to the current humidity increasing speed.
Optionally, determining a humidity threshold according to the plurality of indoor humidities detected by the plurality of humidity sensors and the current target humidity comprises:
obtaining an average value of a plurality of indoor humidities;
and determining the humidity threshold value according to the current target humidity and the average value.
Optionally, obtaining a target humidification power corresponding to the target humidity increase rate comprises:
obtaining the current indoor temperature of the position of the target humidifying device;
and determining the target humidification power according to the current indoor humidity, the current indoor temperature and the target humidity increasing speed.
Optionally, determining the target humidification power according to the current indoor humidity, the current indoor temperature and the target humidity increase speed includes:
determining a current moisture content according to the current indoor humidity and the current indoor temperature; determining an estimated moisture content after a unit time according to the current moisture content and the current humidity increase speed; determining a target humidification power of the humidification device according to the difference between the estimated moisture content and the current moisture content;
optionally, determining the target humidification power according to the current indoor humidity, the current indoor temperature and the target humidity increase speed includes:
and determining target humidification power corresponding to the current indoor humidity, the current indoor temperature and the current humidity increasing speed according to the corresponding relation among the indoor humidity, the indoor temperature and the humidification power.
Optionally, obtaining a current humidification strategy of the current environment includes:
obtaining the humidity characteristics of the current geographical position and the humidity characteristics of the current season from historical weather humidity data;
obtaining the current outdoor humidity;
and determining the current humidification strategy according to the humidity characteristic of the current geographical position, the humidity characteristic of the current season and the current outdoor humidity.
Optionally, determining the current humidification policy according to the humidity characteristic of the current geographical location, the humidity characteristic of the current season, and the current outdoor humidity includes:
and determining a current humidification strategy corresponding to the humidity characteristic of the current geographical position, the humidity characteristic of the current season and the current outdoor humidity according to the correspondence between the humidity characteristic of the geographical position, the humidity characteristic of the season and the outdoor humidity and the humidification strategy.
In some embodiments, the means for humidifying comprises: a processor and a memory storing program instructions, the processor being configured to, when executing the program instructions, perform the method for humidifying provided by the foregoing embodiments.
In some embodiments, the smart home system includes the device for humidifying provided by the foregoing embodiments.
The method, the device and the smart home system for humidifying provided by the embodiment of the disclosure can realize the following technical effects:
in the process of humidifying through a plurality of humidifying devices, the current humidity increasing speed is adjusted according to the humidity difference value between the current indoor humidity at the position of the target humidifying device and the current target humidity, so as to obtain the target humidity increasing speed suitable for the target humidifying device.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion.
The term "plurality" means two or more unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
The humidifying device in the embodiment of the disclosure may be a humidifier, an air purifier with a humidifying function, or an air conditioner with a humidifying function. The specific type of the humidifying device is not limited in the embodiments of the present disclosure, and a device/apparatus having a humidifying function may be used as the humidifying device in the embodiments of the present disclosure.
Fig. 1 is a schematic diagram of a method for humidifying according to an embodiment of the present disclosure. Referring to fig. 1, a method for humidifying includes:
s101, obtaining a current humidification strategy of the current environment, wherein the current humidification strategy comprises current target humidity and a current humidity increasing speed.
Wherein, a plurality of humidification devices are arranged in the current environment. Each humidifying device can humidify the local environment at the position of the humidifying device.
Optionally, obtaining a current humidification strategy of the current environment includes: obtaining the humidity characteristics of the current geographical position and the humidity characteristics of the current season from historical weather humidity data; obtaining the current outdoor humidity; and determining the current humidification strategy according to the humidity characteristic of the current geographical position, the humidity characteristic of the current season and the current outdoor humidity.
For example, a first historical time period and a second historical time period may be selected, where the first historical time period includes the second historical time period, the second historical time period corresponds to the current time when the current humidification policy is obtained, and a first average weather humidity in the first historical time period and a second average weather humidity in the second historical time period are obtained from the historical weather humidity data, and the humidity characteristic of the current geographic location may be represented by the first average weather humidity, and the humidity characteristic of the current season may be represented by the second average weather humidity.
The first historical period of time may be years, such as 5 years, 10 years, and more. The second history period may be a period representing one of spring, summer, autumn or winter, or a period representing a month. If the current time is in 1 month, the second historical period of time may be a period of time representing winter, i.e., representing that the second historical period of time corresponds to the current time; the second history period may be a period representing 1 month, that is, representing that the second history period corresponds to the current time.
The current outdoor humidity can be obtained by a humidity sensor arranged outdoors, and can also be obtained by data in weather forecast.
The current humidification strategy can be obtained through the steps.
Optionally, determining the current humidification policy according to the humidity characteristic of the current geographical location, the humidity characteristic of the current season, and the current outdoor humidity, includes: and determining the current humidification strategy corresponding to the humidity characteristic of the current geographical position, the humidity characteristic of the current season and the current outdoor humidity according to the correspondence of the humidity characteristic of the geographical position, the humidity characteristic of the season and the outdoor humidity with the humidification strategy.
The humidity characteristics of the geographical position, the humidity characteristics of the seasons and the corresponding relation between the outdoor humidity and the humidification strategy can be prestored in a database, and when the current humidification strategy needs to be determined, the current humidification strategy can be obtained by searching the database.
Optionally, determining the current humidification strategy according to the humidity characteristic of the current geographical location, the humidity characteristic of the current season and the current outdoor humidity comprises: obtaining a weighted and/or weighted average of a first average weather humidity characteristic representing a humidity characteristic of a current geographic location, a second average weather humidity characteristic representing a humidity characteristic of a current season, and a current outdoor humidity; the current humidification strategy is determined from the weighted and/or weighted average.
In the steps, the current humidification strategy is quantified, and a more accurate current humidification strategy can be obtained.
In the process of calculating the weighted sum/weighted average of the first average weather humidity, the second average weather humidity and the current outdoor humidity, the weight of the first average weather humidity, the weight of the second average weather humidity and the weight of the current outdoor humidity influence and determine the sensitivity of the current humidification strategy process, the larger the weight of the first average weather humidity is, the worse the sensitivity of the current humidification strategy process is determined, and the higher the stability is, that is, the smaller the difference of the determined current humidification strategy is under different conditions; the higher the weight of the current outdoor humidity is, the higher the sensitivity of the current humidification strategy process is determined to be, and the worse the stability is, that is, the larger the difference of the determined current humidification strategy is under different conditions; the effect of the weight of the second average weather humidity on determining the sensitivity of the current humidification strategy process is between the weight of the first average weather humidity and the weight of the current outdoor humidity.
For example, in recent days, the current outdoor humidity changes relatively greatly (sudden change of weather), and in order to maintain the stability of the determined current humidification strategy, the weight of the current outdoor humidity can be reduced appropriately, and correspondingly, the weight of the first average weather humidity and/or the weight of the second average weather humidity can be increased appropriately.
Optionally, determining the current humidification strategy according to the weighted and/or weighted average comprises: obtaining a current numerical range in which the weighted average value is located; and obtaining the current humidification strategy corresponding to the current numerical range according to the corresponding relation between the numerical range and the humidification strategy.
Before the method for humidifying is executed, a plurality of numerical ranges are preset, and the numerical range where the weighted average value is located is the current numerical range. The corresponding relation between the numerical range and the humidification strategy can be stored in a database in advance, and when the steps are executed, the current humidification strategy corresponding to the current numerical range can be obtained by searching the database.
Optionally, the current humidification strategy is determined in a plurality of selectable humidification strategies. An alternative humidification strategy may be obtained as follows: obtaining a plurality of preset target humidities and a plurality of preset humidity increasing speeds; from a combination of a plurality of preset target humidities and a plurality of preset humidity increase rates, a selectable humidification strategy is determined.
For example, the preset target humidities include 50%, 55%, 60% and 65%, the preset humidity increasing speeds include a low speed, a high speed and an extremely high speed, where "low", "high" and "extremely high" are relative terms, the humidity increasing speeds may be several, and the speeds are divided into a first speed range, a second speed range and a third speed range in order of decreasing speed, so that the first speed range corresponds to the low speed, the second speed range corresponds to the high speed, and the third speed range corresponds to the extremely high speed.
4 preset target humidities and 3 preset humidity increase rates may form 12 combinations; these 12 combinations may all be selected as the selectable humidification strategies, or some of the 12 combinations may be selected as the selectable humidification strategies, for example, one humidification strategy is set to be a preset target humidity of 65% and a preset humidity increase speed is an extremely high speed, another humidification strategy is set to be a preset target humidity of 60% and a preset humidity increase speed is a high speed, a third humidification strategy is set to be a preset target humidity of 55% and a preset humidity increase speed is a high speed, and a fourth humidification strategy is set to be a preset target humidity of 50% and a preset humidity increase speed is a low speed.
In this way, a plurality of selectable humidification strategies can be obtained, and further current humidification strategies can be obtained conveniently.
And S102, acquiring the current indoor humidity through a target humidity sensor in a plurality of humidity sensors distributed in the room.
S103, if the current indoor humidity is smaller than the current target humidity, a humidity difference value between the current indoor humidity and the current target humidity is obtained.
If the current indoor humidity is smaller than the current target humidity, indicating that the humidifying device is required to perform humidifying work at the moment, and acquiring a humidity difference value between the current indoor humidity and the current target humidity; if the current indoor humidity is greater than or equal to the current target humidity, the humidification device is not needed to perform humidification operation, and the method for humidifying is executed again.
And S104, determining the target humidity increasing speed according to the current humidity increasing speed and the humidity difference value.
Optionally, determining the target humidity increasing speed according to the current humidity increasing speed and the humidity difference value comprises: obtaining the current value range of the humidity difference value; determining a current coefficient corresponding to the current numerical range according to the corresponding relation between the numerical range and the coefficient; obtaining the product of the current coefficient and the humidity difference value; and determining the target humidity increase speed according to the product and the current humidity increase speed.
Before the method for humidifying is executed, a plurality of numerical value ranges are preset, and the data position where the humidity difference value is located is the current numerical value range.
The correspondence of the value ranges and coefficients may be pre-stored in a database, and upon execution of the method for humidifying, the database may be retrieved to obtain the current coefficient corresponding to the current value range.
Optionally, determining the target humidity increase rate according to the product and the current humidity increase rate includes: determining a humidity threshold according to a plurality of indoor humidities detected by a plurality of humidity sensors and a current target humidity; if the humidity difference value is greater than the humidity threshold value, determining the target humidity increasing speed according to the sum of the product and the current humidity increasing speed; if the humidity difference value is smaller than the humidity threshold value, determining the target humidity increasing speed according to the difference between the product and the current humidity increasing speed; and if the humidity difference value is equal to the humidity threshold value, determining the target humidity increasing speed according to the current humidity increasing speed.
If the humidity difference is greater than the humidity threshold, the sum of the product and the current humidity increase speed can be used as the target humidity increase speed; another product of the sum of the product and the current humidity increase speed and the first scaling factor may also be taken as the target humidity increase speed;
if the humidity difference value is less than the humidity threshold value, the difference between the product and the current humidity increasing speed can be used as the target humidity increasing speed; another product of the difference between the product and the current humidity increase speed and the second scaling factor may also be taken as the target humidity increase speed;
if the humidity difference is equal to the humidity threshold, the current humidity increase rate may be used as the target humidity increase rate.
The aforementioned first scaling factor and second scaling factor may be determined according to practical applications, for example, if the humidification device humidifies at the target humidification power corresponding to the target humidity increase speed, resulting in the increase speed of the current indoor humidity being greater than the current humidity increase speed, the first scaling factor or the second scaling factor is reduced; and if the humidifying device humidifies at the target humidifying power corresponding to the target humidity increasing speed, so that the increasing speed of the current indoor humidity is smaller than the current humidity increasing speed, amplifying the first scaling factor or the second scaling factor. The first scaling factor and the second scaling factor can be determined by those skilled in the art according to the actual application scenario, and are not limited in detail here.
Optionally, determining the humidity threshold according to a plurality of indoor humidities detected by a plurality of humidity sensors and the current target humidity comprises: obtaining an average value of a plurality of indoor humidities; and determining a humidity threshold value according to the current target humidity and the average value.
And S105, obtaining the target humidification power corresponding to the target humidity increasing speed.
Optionally, obtaining a target humidification power corresponding to a target humidity increase rate comprises: obtaining the current indoor temperature of the position of the target humidifying device; and determining the target humidification power according to the current indoor humidity, the current indoor temperature and the target humidity increasing speed.
Optionally, determining the target humidification power according to the current indoor humidity, the current indoor temperature and the target humidity increase speed includes: and determining target humidification power corresponding to the current indoor humidity, the current indoor temperature and the current humidity increasing speed according to the corresponding relation among the indoor humidity, the indoor temperature and the humidification power.
When the method for humidifying is executed, the target humidifying power corresponding to the current indoor humidity, the current indoor temperature and the current humidity increasing speed can be obtained by searching the database.
In order to obtain the target humidification power more accurately, the target humidification power of the humidification apparatus may be determined as follows: determining the current moisture content according to the current indoor humidity and the current indoor temperature; determining an estimated moisture content after a unit time according to the current moisture content and the current humidity increase speed; and determining the target humidifying power of the humidifying device according to the difference value between the estimated moisture content and the current moisture content.
In the disclosed embodiments, the term "humidity" may refer to relative humidity.
The indoor humidity, the indoor temperature and the moisture content have a corresponding relationship, and based on the corresponding relationship, the current moisture content can be determined according to the current indoor humidity and the current indoor temperature.
The unit time here may be 1s, 1min, and longer. In determining the estimated moisture content, the change in the current indoor temperature per unit time is ignored by default.
The current humidity increase rate may be expressed as a change rate of percentage, and the determination of the estimated moisture content per unit time based on the current moisture content and the current humidity increase rate may be implemented as: obtaining a current humidity increase value of the current humidity increase speed in unit time, obtaining a humidity sum of the current humidity increase value and current indoor humidity, obtaining a product of the humidity sum and current indoor humidity, obtaining a quotient of the product and the current indoor humidity, and taking the quotient as the estimated humidity content.
The larger the difference between the estimated moisture content and the current moisture content is, the larger the target humidification power is; the smaller the difference between the estimated moisture content and the current moisture content, the smaller the target humidification power.
Through the mode, the current indoor humidity can be increased accurately according to the current humidity increasing speed.
And S106, controlling a target humidifying device corresponding to the position of the target humidity sensor according to the target humidifying power.
In the process of humidifying through a plurality of humidifying devices, the current humidity increasing speed is adjusted according to the humidity difference value between the current indoor humidity at the position of the target humidifying device and the current target humidity, so as to obtain the target humidity increasing speed suitable for the target humidifying device.
In some embodiments, the apparatus for humidifying comprises a processor and a memory storing program instructions, the processor being configured to, upon execution of the program instructions, perform the method for humidifying provided by the foregoing embodiments.
As shown in fig. 2, an apparatus provided in the embodiments of the present disclosure includes:
a processor (processor)21 and a memory (memory)22, and may further include a Communication Interface (Communication Interface)23 and a bus 24. The processor 21, the communication interface 23 and the memory 22 may communicate with each other through the bus 24. The communication interface 23 may be used for information transfer. Processor 21 may invoke logic instructions in memory 22 to perform the method for humidifying provided by the foregoing embodiments.
Furthermore, the logic instructions in the memory 22 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products.
The memory 22 is used as a computer readable storage medium for storing software programs, computer executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 21 executes the functional application and data processing by executing the software program, instructions and modules stored in the memory 22, that is, implements the method in the above-described method embodiment.
The memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 22 may include a high speed random access memory and may also include a non-volatile memory.
The embodiment of the disclosure provides an intelligent home system, which comprises the device for humidifying provided by the embodiment.
The disclosed embodiments provide a computer-readable storage medium storing computer-executable instructions configured to perform the method for humidifying provided by the foregoing embodiments.
Embodiments of the present disclosure provide a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method for humidification as provided by the preceding embodiments.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method in the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and the drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method or device comprising the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit may be merely a division of a logical function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.