Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present invention, there is provided a method embodiment of indoor environment control, it being noted that the steps shown in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that herein.
Fig. 1 is a flowchart of an indoor environment control method according to an embodiment of the present invention, as shown in fig. 1, the method comprising the steps of:
Step S102, collecting face image information of a target user;
Step S104, obtaining the current indoor environment parameters and the current outdoor environment parameters of the target area where the target user is located;
step S106, determining the preset indoor environment parameters associated with the facial image information;
step S108, based on the current outdoor environment parameter and the preset indoor environment parameter, controlling the intelligent household equipment in the target area to adjust the current indoor environment parameter.
Optionally, the indoor environment parameter and the outdoor environment parameter each include at least one of: temperature, humidity, brightness, noise, and air quality; the preset indoor environment parameters comprise at least one of the following: temperature range values, humidity range values, brightness range values, noise range values, and air quality range values.
Optionally, facial image information of the target user is collected by a face recognition device.
Alternatively, the target area may be, but is not limited to, a living room, a bedroom, a study room, an office, etc.
Optionally, the smart home device includes: the intelligent household system comprises first intelligent household equipment and second intelligent household equipment, wherein the first intelligent household equipment is used for adjusting current indoor environment parameters in real time under the condition that the current outdoor environment parameters are matched with preset indoor environment parameters; the second intelligent home equipment is used for adjusting the current indoor environment parameters in real time under the condition that the current outdoor environment parameters are matched with the preset indoor environment parameters.
In the embodiment of the invention, an indoor environment control mode is adopted, and the facial image information of a target user is acquired; acquiring the current indoor environment parameters and the current outdoor environment parameters of a target area where the target user is located; determining preset indoor environment parameters associated with the facial image information; based on the current outdoor environment parameters and the preset indoor environment parameters, the intelligent household equipment in the target area is controlled to adjust the current indoor environment parameters, so that the purposes of controlling the intelligent household equipment according to user demands and automatically adjusting the indoor environment in real time are achieved, the technical effects of saving user time and energy, improving indoor environment comfort and user experience are achieved, and the technical problems that the user is required to frequently set working modes of all intelligent household equipment according to own demands and consumed time and experience are poor in user experience are solved.
As an alternative embodiment, fig. 2 is a flowchart of an alternative indoor environment control method according to an embodiment of the present invention, and as shown in fig. 2, the smart home device includes: the first smart home device and the second smart home device control the smart home devices in the target area to adjust the current indoor environment parameters based on the current outdoor environment parameters and the preset indoor environment parameters, and include:
Step S202, judging whether the current indoor environment parameter is matched with the preset indoor environment parameter;
step S204, if the current indoor environment parameter is not matched with the preset indoor environment parameter, continuously judging whether the current outdoor environment parameter is matched with the preset indoor environment parameter;
step S206, if the current outdoor environment parameter is matched with the preset indoor environment parameter, controlling the first intelligent household equipment to adjust the current indoor environment parameter in real time;
step S208, if the current outdoor environment parameter is not matched with the preset indoor environment parameter, controlling the second intelligent household device to adjust the current indoor environment parameter in real time.
Optionally, the smart home device includes: the intelligent household system comprises first intelligent household equipment and second intelligent household equipment, wherein the first intelligent household equipment is used for adjusting current indoor environment parameters in real time under the condition that the current outdoor environment parameters are matched with preset indoor environment parameters; the second intelligent home equipment is used for adjusting the current indoor environment parameters in real time under the condition that the current outdoor environment parameters are matched with the preset indoor environment parameters.
Optionally, the first smart home device includes at least one of: intelligent curtain and intelligent sliding window; the second intelligent household equipment comprises at least one of a fan, an air conditioner, a humidifier, an air purifier, a cold and warm lamp and an indoor lamp.
Optionally, determining the opening degree of the first smart home device and/or the second smart home device based on the matching degree of the current indoor environment parameter and the preset indoor environment parameter.
It should be noted that, in the embodiment of the present application, if the current indoor environment parameter is not matched with the preset indoor environment parameter, whether the current outdoor environment parameter is matched with the preset indoor environment parameter is first determined, that is, if the current indoor environment parameter is first adjusted by the condition that the outdoor environment is introduced, for example, if the current indoor brightness is lower, whether the outdoor brightness is greater than the indoor brightness is first determined, if the outdoor brightness is greater than the indoor brightness, then the current indoor brightness is adjusted to the preset brightness by adjusting the opening of the intelligent curtain; for another example, under the condition that the indoor temperature is higher, firstly judging whether the outdoor temperature is higher than the indoor temperature, and if the outdoor temperature is lower than the indoor temperature, adjusting the current indoor temperature to a preset temperature by adjusting the opening of the intelligent push window; for another example, under the condition that the outdoor noise is larger than the preset noise range, the current indoor noise intensity is adjusted to the preset noise range by adjusting the opening of the intelligent push window, and the current indoor environment is adjusted by the current outdoor environment, so that on one hand, the user can be ensured to be in a relatively comfortable environment, and on the other hand, the purposes of effectively utilizing natural resources and reducing energy consumption can be achieved. When the current outdoor environment parameter is not matched with the preset indoor environment parameter, for example, when the current outdoor temperature is higher than the indoor temperature, the outdoor air quality is lower than the indoor air quality, and the outdoor brightness is lower than the indoor brightness, the first intelligent household device is determined to be in a closed state, and the corresponding second intelligent household device is controlled to adjust the current indoor environment.
Optionally, the method further comprises: under the condition that the plurality of indoor environment parameters are regulated by adopting unified intelligent household equipment, a user can preset the regulating priority of the plurality of indoor environment parameters through the terminal equipment. For example, the intelligent sliding window can be used for adjusting indoor environment parameters such as indoor temperature, humidity, air quality and noise, when a user sets the air quality and/or noise as the highest priority, when the outdoor air quality is not matched with the preset air quality (such as the outdoor air quality is poor), the intelligent sliding window is preferentially controlled to be in a closed state, and other indoor environment parameters such as the indoor temperature, the indoor humidity and the like are adjusted through the second intelligent household equipment, so that the requirements of the user on the household environment are better met, and the indoor environment comfort and the user experience are further improved.
As an alternative embodiment, fig. 3 is a schematic diagram of an alternative method for implementing indoor environment control according to an embodiment of the present invention, as shown in fig. 3, where the method specifically includes the following steps: acquiring opening and running state information of intelligent household equipment in a living room and current environmental parameter information of weather conditions, wherein the environmental parameter information can comprise temperature, humidity, illumination, air quality and the like; acquiring characteristic information of the target user based on a biological recognition device, wherein the characteristic information can be but not limited to including age characteristic information of the target user, and the biological recognition device can be but not limited to including a face recognition device; based on the on-and-running state information of the intelligent home equipment, current environmental parameter information of weather conditions and user characteristic information, equipment such as lamps, humidifiers, air purifiers and air conditioners in a living room are adjusted, for example, preset values of parameters are obtained according to the user characteristic information, the state information and the environmental parameter information are compared with the preset values, and the brightness and modes of the lamps (for example, cold and warm lamps are turned on by a cold day user, hot and cold lamps are turned on by a hot day user, and the brightness and the cooling and heating degree of the lamps can be adjusted) are adjusted based on the comparison results, so that the humidity of the humidifiers, the working time of the air purifiers, the opening degree of the air conditioner and the like.
The embodiment of the invention at least can realize the following technical effects: based on the living room environment parameters and the user characteristics, the working mode of the intelligent home equipment in the living room is automatically switched, the living room environment is automatically adjusted to the most comfortable state in real time according to the user requirements, the user time and energy are saved, and the technical effect of user experience is improved.
In an alternative embodiment, the method further comprises:
Step S302, closing the first smart home device and the second smart home device corresponding to the current indoor environment parameter when the current indoor environment parameter matches the preset indoor environment parameter.
Optionally, under the condition that the current indoor environment parameter is matched with the preset indoor environment parameter, the first intelligent household device and the second intelligent household device are controlled to stop working, so that the purpose of reducing energy consumption is achieved. For example, when it is detected that the indoor temperature meets the preset temperature, controlling intelligent temperature adjusting devices such as an intelligent air conditioner, a fan, a cold and warm lamp and the like to be in a closed state; when the indoor humidity is proper, the humidifier and the intelligent push window are controlled to be in a closed state.
In an alternative embodiment, determining a preset indoor environment parameter associated with the above-mentioned facial image information includes:
step S402, acquiring the identity information of the target user according to the facial image information, wherein the identity information comprises at least one of the following steps: age characteristics, identity characteristics;
step S404, determining the preset indoor environment parameters based on the age characteristic and/or the identity characteristic.
Optionally, facial image information of the target user is collected through a face recognition device, where the facial image information at least includes facial features such as pupils, eyebrows, facial muscle details, lip angles and the like of the target user, and an age feature and an identity feature of the target user are determined according to the facial features, where the age feature may include, but is not limited to: infant (0-6), child (7-12), teenager (13-17), young (18-45), middle-aged (46-69), and elderly (> 69).
In an alternative embodiment, before acquiring the identification information of the target user according to the facial image information, the method further includes:
Step S502, obtaining indoor environment parameters corresponding to the age characteristics;
step S504, setting the indoor environment parameter corresponding to the age characteristic as the preset indoor environment parameter.
It should be noted that, the users in different age stages have different perception degrees of the environment, for example, people with different age characteristics may correspond to different body sensing temperatures, different sensitivity degrees of light, humidity, air quality, noise, etc., the indoor environment most suitable for the age characteristics is taken as a preset indoor environment parameter, and the current indoor environment is adjusted to the degree most suitable for the physiological characteristics of the target user, so as to achieve the purpose of improving the comfort of the indoor environment and the user experience.
In an alternative embodiment, the method further comprises:
Step S602, obtaining user habit information and/or user preference information of the target user;
Step S604, setting the user habit information and/or the user preference information as the preset indoor environment parameter.
Optionally, the user habit information includes at least one of the following: a user habit temperature range value, a user habit humidity range value, a user habit brightness range value, a user habit noise range value, and a user habit air quality range value; the user preference information includes at least one of: a user-preferred temperature range value, a user-preferred humidity range value, a user-preferred brightness range value, a user-preferred noise range value, and a user-preferred air quality range value.
As an alternative embodiment, fig. 4 is a flowchart of another alternative indoor environment control method according to an embodiment of the present invention, as shown in fig. 4, the method further includes:
Step S702, when a plurality of different preset indoor environment parameters are obtained, obtaining the priority of each preset indoor environment parameter;
Step S704, selecting a target preset indoor environment parameter from a plurality of preset indoor environment parameters according to the priority;
Step S706, presetting indoor environment parameters according to the targets, and adjusting the current indoor environment parameters in real time through the intelligent household equipment.
Optionally, the indoor environment parameters are adjusted in real time according to the preset indoor environment parameter with the highest priority among the plurality of different preset indoor environment parameters.
Optionally, the plurality of preset indoor environment parameters may include, but are not limited to: and setting the preset indoor environment parameters according to the habit information and/or the preference information of the user by taking the environment parameters matched with the age characteristics of the target user as the preset indoor environment parameters. For example, when the priority is set, the user sets the environmental parameter matched with the age of the target user as the highest priority, and when the indoor environment is adjusted, the indoor environment parameter where the target user is located is adjusted in real time according to the environmental parameter matched with the physiological characteristic information of the target user which is input in advance; if the user sets the habit information to the highest priority when the priority is set, the indoor environment parameters of the target user are adjusted in real time according to the habit information of the user when the indoor environment is adjusted; if the priority is set, the user sets the preference information to the highest priority, and when the indoor environment is adjusted, the indoor environment parameters of the target user are adjusted in real time according to the user preference information, so that the user experience and the environment comfort are further improved.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present invention.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
Example 2
According to an embodiment of the present invention, there is further provided a system embodiment for implementing the indoor environment control method, and fig. 5 is a schematic structural diagram of an indoor environment control system according to an embodiment of the present invention, as shown in fig. 5, where the indoor environment control system includes: image acquisition device 80, master control device 84, adjustment device 86, wherein:
An image acquisition device 80 for acquiring face image information of a target user;
the environmental information collection device 82 is configured to obtain a current indoor environmental parameter and a current outdoor environmental parameter of a target area where the target user is located;
a main control device 84 connected to the image acquisition device and the environmental information acquisition device, for determining a preset indoor environmental parameter associated with the facial image information;
And the adjusting device 86 is connected with the main control device and is used for controlling the intelligent household devices in the target area to adjust the current indoor environment parameters based on the current outdoor environment parameters and the preset indoor environment parameters.
It should be noted that, the specific structures of the image capturing device 80, the main control device 84, the adjusting device 86, and the adjusting device 86 shown in fig. 5 in the present application are only schematic, and the indoor environment control system in the present application may have more or less structures than the structures of the image capturing device 80, the main control device 84, the adjusting device 86, and the adjusting device 86 shown in fig. 5 in the specific application.
It should be noted that any of the optional or preferred indoor environment control methods in the above embodiment 1 may be executed or implemented in the indoor environment control system provided in this embodiment.
In addition, it should be still noted that, the optional or preferred implementation manner of this embodiment may be referred to the related description in embodiment 1, and will not be repeated here.
Example 3
In this embodiment, an indoor environment control device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and is not described in detail. As used below, the terms "unit," "means" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
According to an embodiment of the present invention, there is further provided an apparatus embodiment for implementing the indoor environment control method, and fig. 6 is a schematic structural diagram of an indoor environment control apparatus according to an embodiment of the present invention, as shown in fig. 6, where the indoor environment control apparatus includes: an acquisition module 90, an acquisition module 92, a determination module 94, a control module 96, wherein:
An acquisition module 90 for acquiring facial image information of a target user;
An obtaining module 92, configured to obtain a current indoor environment parameter and a current outdoor environment parameter of a target area where the target user is located;
a determining module 94, configured to determine a preset indoor environment parameter associated with the facial image information;
the control module 96 is configured to control the smart home devices in the target area to adjust the current indoor environment parameter based on the current outdoor environment parameter and the preset indoor environment parameter.
It should be noted that each of the above modules may be implemented by software or hardware, for example, in the latter case, it may be implemented by: the above modules may be located in the same processor; or the various modules described above may be located in different processors in any combination.
Here, the acquisition module 90, the acquisition module 92, the determination module 94, and the control module 96 correspond to steps S102 to S108 in embodiment 1, and the modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to those disclosed in embodiment 1. It should be noted that the above modules may be run in a computer terminal as part of the apparatus.
It should be noted that, the optional or preferred implementation manner of this embodiment may be referred to the related description in embodiment 1, and will not be repeated here.
The indoor environment control device may further include a processor and a memory, where the acquisition module 90, the acquisition module 92, the determination module 94, the control module 96, and the like are stored as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, the kernel fetches corresponding program units from the memory, and one or more of the kernels can be arranged. The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
According to an embodiment of the present application, there is also provided an embodiment of a nonvolatile storage medium. Optionally, in this embodiment, the nonvolatile storage medium includes a stored program, where the device in which the nonvolatile storage medium is located is controlled to execute any one of the indoor environment control methods when the program runs.
Alternatively, in this embodiment, the above-mentioned nonvolatile storage medium may be located in any one of the computer terminals in the computer terminal group in the computer network or in any one of the mobile terminals in the mobile terminal group, and the above-mentioned nonvolatile storage medium includes a stored program.
Optionally, the program controls the device in which the nonvolatile storage medium is located to perform the following functions when running: collecting facial image information of a target user; acquiring the current indoor environment parameters and the current outdoor environment parameters of a target area where the target user is located; determining preset indoor environment parameters associated with the facial image information; and controlling the intelligent household equipment in the target area to adjust the current indoor environment parameters based on the current outdoor environment parameters and the preset indoor environment parameters.
Optionally, the program controls the device in which the nonvolatile storage medium is located to perform the following functions when running: judging whether the current indoor environment parameter is matched with the preset indoor environment parameter or not; if the current indoor environment parameter is not matched with the preset indoor environment parameter, continuously judging whether the current outdoor environment parameter is matched with the preset indoor environment parameter; and if the current outdoor environment parameter is matched with the preset indoor environment parameter, controlling the first intelligent household equipment to adjust the current indoor environment parameter in real time, wherein the first intelligent household equipment comprises at least one of the following components: intelligent curtain and intelligent sliding window; and if the current outdoor environment parameter is not matched with the preset indoor environment parameter, controlling the second intelligent household equipment to adjust the current indoor environment parameter in real time, wherein the second intelligent household equipment comprises at least one of a fan, an air conditioner, a humidifier, an air purifier, a cold and warm lamp and an indoor lamp.
Optionally, the program controls the device in which the nonvolatile storage medium is located to perform the following functions when running: and closing the first intelligent household equipment and the second intelligent household equipment corresponding to the current indoor environment parameters under the condition that the current indoor environment parameters are matched with the preset indoor environment parameters.
Optionally, the program controls the device in which the nonvolatile storage medium is located to perform the following functions when running: acquiring the identification information of the target user according to the facial image information, wherein the identification information comprises at least one of the following components: age characteristics, identity characteristics; and determining the preset indoor environment parameters based on the age characteristics and/or the identity characteristics.
Optionally, the program controls the device in which the nonvolatile storage medium is located to perform the following functions when running: acquiring indoor environment parameters corresponding to the age characteristics; and setting the indoor environment parameters corresponding to the age characteristics as the preset indoor environment parameters.
Optionally, the program controls the device in which the nonvolatile storage medium is located to perform the following functions when running: acquiring user habit information and/or user preference information of the target user; setting the user habit information and/or the user preference information as the preset indoor environment parameters.
Optionally, the program controls the device in which the nonvolatile storage medium is located to perform the following functions when running: when a plurality of different preset indoor environment parameters are obtained, the priority of each preset indoor environment parameter is obtained; selecting a target preset indoor environment parameter from a plurality of preset indoor environment parameters according to the priority; and presetting indoor environment parameters according to the targets, and adjusting the current indoor environment parameters in real time through the intelligent household equipment.
According to an embodiment of the present application, there is also provided an embodiment of a processor. Optionally, in this embodiment, the processor is configured to run a program, where any one of the indoor environment control methods is executed when the program runs.
According to an embodiment of the present application, there is also provided an embodiment of a computer program product adapted to perform a program initializing the steps of any one of the indoor environment control methods described above when executed on a data processing apparatus.
Optionally, the computer program product mentioned above, when executed on a data processing device, is adapted to perform a program initialized with the method steps of: collecting facial image information of a target user; acquiring the current indoor environment parameters and the current outdoor environment parameters of a target area where the target user is located; determining preset indoor environment parameters associated with the facial image information; and controlling the intelligent household equipment in the target area to adjust the current indoor environment parameters based on the current outdoor environment parameters and the preset indoor environment parameters.
According to an embodiment of the present application, there is also provided an embodiment of an electronic device including a memory in which a computer program is stored, and a processor configured to run the computer program to perform any one of the indoor environment control methods described above.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The 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 units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable non-volatile storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a non-volatile storage medium, including instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned nonvolatile storage medium includes: a usb disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.