CN115877727A - Equipment control method and device, computer equipment and storage medium - Google Patents
Equipment control method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN115877727A CN115877727A CN202211533538.XA CN202211533538A CN115877727A CN 115877727 A CN115877727 A CN 115877727A CN 202211533538 A CN202211533538 A CN 202211533538A CN 115877727 A CN115877727 A CN 115877727A
- Authority
- CN
- China
- Prior art keywords
- parameter
- equipment
- target
- determining
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 185
- 230000006399 behavior Effects 0.000 claims description 33
- 230000007613 environmental effect Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 11
- 230000002776 aggregation Effects 0.000 description 13
- 238000004220 aggregation Methods 0.000 description 13
- 230000008859 change Effects 0.000 description 11
- 230000008569 process Effects 0.000 description 11
- 230000000694 effects Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 230000000007 visual effect Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000003044 adaptive effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 238000007791 dehumidification Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Selective Calling Equipment (AREA)
Abstract
The present disclosure provides a device control method, apparatus, computer device, and storage medium, wherein the method comprises: determining a first device parameter matched with the object behavior according to the environment data, and determining a second device parameter associated with the first device parameter; determining a device set, and respectively determining target devices matched with the first device parameters and the second device parameters in the device set; and controlling the target equipment according to the first equipment parameter and the second equipment parameter.
Description
Technical Field
The present disclosure relates to the field of smart home technologies, and in particular, to a device control method and apparatus, a computer device, and a storage medium.
Background
With the continuous development of the internet of things technology, smart homes are more and more popular. Specifically, communication between the home devices and the application programs can be achieved often by a network distribution mode for the home devices, and the home devices are controlled through the application programs.
However, in the process of determining the control scheme for the home devices, the relevance between multiple home devices and the relevance between each home device and the home environment are often ignored, and therefore, only each home device is controlled respectively, so that the final control result is poor, and the use experience of the user is influenced. For example, when the control scheme is to adjust the set water temperature of the water heater, the set water temperature of the water heater is often adjusted through a temperature control instruction, and whether the set water temperature is matched with the current temperature of the home environment is not considered. Meanwhile, the water heater and the air conditioner have relevance, and when the set water temperature of the water heater changes, the set temperature of the air conditioner is not subjected to adaptive adjustment.
Disclosure of Invention
The embodiment of the disclosure at least provides a device control method, a device, computer equipment and a storage medium.
In a first aspect, an embodiment of the present disclosure provides a method for controlling a device, including:
determining a first device parameter matched with the object behavior according to the environment data, and determining a second device parameter associated with the first device parameter;
determining a device set, and respectively determining target devices matched with the first device parameters and the second device parameters in the device set;
and controlling the target equipment according to the first equipment parameter and the second equipment parameter.
In an optional embodiment, the determining, according to the environment data, a first device parameter matching with the behavior of the object includes:
determining object information and device setting information based on the object behavior;
determining target water use data matched with the object information and the equipment setting information according to the environment data;
based on the target water usage data, a first device parameter is determined.
In an optional embodiment, the determining, according to the environment data, target water usage data matching the object information and the device setting information includes:
when a plurality of service objects are provided, determining sub-information corresponding to each service object, wherein the sub-information comprises object information of the service objects and equipment setting information;
determining water consumption data matched with the sub-information of each service object according to the environment data;
and determining the target water consumption data based on the water consumption data.
In an optional embodiment, the determining a second device parameter associated with the first device parameter includes:
determining a target temperature matched with the target water usage data;
based on the target temperature, a second device parameter is determined.
In an optional implementation, the controlling a target device in a device set according to the first device parameter and the second device parameter includes:
when the target equipment comprises an intelligent water heater, acquiring the running state of the intelligent water heater;
and under the condition that the running state is not matched with the first equipment parameter, the running state of the intelligent water heater is adjusted based on the first equipment parameter.
In an optional implementation, the controlling a target device in a device set according to the first device parameter and the second device parameter includes:
when the target device comprises the intelligent water heater and the temperature control device, determining a target operation time of the temperature control device based on the operation time of the intelligent water heater indicated by the first device parameter;
and adjusting the operation state of the temperature control equipment based on the target operation time and the second equipment parameter.
In an optional implementation, the controlling a target device in a device set according to the first device parameter and the second device parameter includes:
when the target equipment comprises the intelligent water heater and the temperature control equipment, distributing a corresponding control area for the temperature control equipment based on the first equipment parameter;
controlling the temperature control device based on the second device parameter to cause the temperature control device to adjust the ambient temperature of the control area.
In an optional embodiment, the method further comprises:
after the target equipment in the equipment set is controlled according to the first equipment parameter and the second equipment parameter, determining an equipment operation record of the target equipment;
and determining the association information of the target equipment and the environmental data based on the equipment running record.
In a second aspect, an embodiment of the present disclosure further provides a control apparatus for a device, including:
the device comprises a first determining unit, a second determining unit and a control unit, wherein the first determining unit is used for determining a first device parameter matched with the behavior of an object according to environment data and determining a second device parameter associated with the first device parameter;
a second determining unit, configured to determine a device collection, and determine target devices in the device collection, where the target devices are matched with the first device parameter and the second device parameter, respectively;
and the control unit is used for controlling the target equipment according to the first equipment parameter and the second equipment parameter.
In a third aspect, an embodiment of the present disclosure further provides a computer device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the computer device is running, the machine-readable instructions when executed by the processor performing the steps of the first aspect described above, or any possible implementation of the first aspect.
In a fourth aspect, this disclosed embodiment also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps in the first aspect or any one of the possible implementation manners of the first aspect.
The embodiment of the disclosure provides a device control method and device, a computer device and a storage medium. In the embodiment of the disclosure, first, according to environment data, a first device parameter matched with an object behavior of a service object may be determined, and a second device parameter associated with the first device parameter may be determined, then, a device aggregation may be determined, and a target device matched with the first device parameter and the second device parameter may be determined in the device aggregation, so as to control the target device in the device aggregation according to the first device parameter and the second device parameter, so as to adjust a home environment through the target device, thereby taking into account the association between the first device parameter and the second device parameter, and meanwhile, because the first device parameter corresponding to the object behavior may be determined based on the environment data, when the first device parameter for adjusting the home environment is determined, the determined first device parameter is matched with current environment data, thereby improving the use experience of a user.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly described below, and the drawings herein incorporated in and forming a part of the specification illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the technical solutions of the present disclosure. It is appreciated that the following drawings depict only certain embodiments of the disclosure and are therefore not to be considered limiting of its scope, for those skilled in the art will be able to derive additional related drawings therefrom without the benefit of the inventive faculty.
Fig. 1 shows a flowchart of a control method of a device provided by an embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating a method for determining a first device parameter corresponding to an object behavior according to environment data according to an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating a control method of another apparatus provided by an embodiment of the present disclosure;
FIG. 4 illustrates a schematic diagram of a control device of an apparatus provided by an embodiment of the present disclosure;
fig. 5 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The term "and/or" herein merely describes an associative relationship, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of a, B, and C, and may mean including any one or more elements selected from the group consisting of a, B, and C.
Research shows that in the process of determining the control scheme of the household equipment, the relevance among the plurality of household equipment and the relevance between each household equipment and the household environment are often ignored, so that the control is only performed on each household equipment, the final control result is poor, and the use experience of a user is influenced. For example, when the control scheme is to adjust the set water temperature of the water heater, the set water temperature of the water heater is often adjusted through a temperature control instruction, and whether the set water temperature is matched with the current temperature of the home environment is not considered. Meanwhile, the water heater and the air conditioner have relevance, and when the set water temperature of the water heater changes, the set temperature of the air conditioner is not subjected to adaptive adjustment.
Based on the research, the present disclosure provides a device control method, an apparatus, a computer device, and a storage medium. In the embodiment of the disclosure, first device parameters matched with object behaviors of a service object may be determined according to environment data, second device parameters associated with the first device parameters may be determined, then, a device aggregation may be determined, target devices matched with the first device parameters and the second device parameters may be determined in the device aggregation, the target devices in the device aggregation may be controlled according to the first device parameters and the second device parameters, a home environment may be adjusted through the target devices, and therefore, relevance between the first device parameters and the second device parameters is considered.
To facilitate understanding of the present embodiment, first, a detailed description is given of a control method of an apparatus disclosed in an embodiment of the present disclosure, where an execution subject of the control method of the apparatus provided in the embodiment of the present disclosure is generally a computer apparatus with certain computing capability, and the computer apparatus includes, for example: terminal equipment or servers or other processing devices. In some possible implementations, the control method of the apparatus may be implemented by the processor invoking computer readable instructions stored in the memory.
Referring to fig. 1, a flowchart of a method for controlling a device according to an embodiment of the present disclosure is shown, where the method includes steps S101 to S105, where:
s101: first device parameters matching the behavior of the object are determined from the environmental data, and second device parameters associated with the first device parameters are determined.
In the embodiment of the present disclosure, when the application scene is a home environment, a network distribution may be performed on home devices in the home environment first, so as to establish a communication connection between the home devices and an application program in a terminal device, so as to perform automatic control on the home devices through the application program, or instruct a user to perform manual control on the home devices through the application program.
Next, environment data fed back by the home device may be obtained through the application program, where the environment data may include data related to the temperature and humidity of the home environment, for example, the environment data may include: the current temperature data, humidity data, season data and the like of the home environment.
In the case where the service object of the present disclosure is a user, the above object behavior may be used to indicate the user behavior of the user in the home environment. Here, the user behavior may include a user travel acquired by the home device, for example, a user video is acquired by the camera device and analyzed based on the user video, so as to obtain the user travel, such as a departure time and a return time of the user.
In addition, the user behavior may further include an operation record of the user operating the home device and family member information input by the user in the application program. Here, the operation record may be device operation parameters, such as operation time of the user, a device operation mode, and the like, fed back to the application program by the home device after the user operates the home device. The family member information may include basic information of each family member and activity range information, wherein the basic information may include: age, gender, device operating habits, etc., range of motion information may be used to indicate the room used by each family member, etc. It should be understood that the activity range information may also be obtained through the user itinerary described above, and the present disclosure does not specifically limit the manner in which the activity range information is obtained.
After the environment data and the object behavior are obtained, a first device parameter corresponding to the object behavior may be determined according to the environment data, and a first device in the home equipment may be controlled based on the first device parameter, where the first device may be an intelligent water heater, the first device parameter may include parameters of a set temperature, a water storage amount, a working time, a working duration, a use frequency, and the like of the intelligent water heater, and a process of specifically determining the first device parameter is described below and is not described herein again.
After the first device parameter is determined, a second device parameter associated with the first device parameter may be determined, and a parameter attribute of the second device parameter may be the same as the first device parameter, for example, in the case that the first device parameter includes a set temperature of the smart water heater, the second device parameter may also include a parameter of which the parameter attribute is temperature. Next, the home devices corresponding to the second device parameter may be determined, for example, the home devices corresponding to the temperature parameter may be determined as the home devices corresponding to the second device parameter, such as an air conditioner.
After the home device corresponding to the second device parameter is determined, the home device may be determined as a second device, and the second device parameter corresponding to the second device is determined based on a first device parameter corresponding to the first device, for example, the set temperature included in the first device parameter is 50 ℃, the requirement of the service object for the temperature may be determined based on the set temperature, and the temperature parameter corresponding to the second device parameter is determined based on the requirement, for example, in a case that the second device is an air conditioner, the temperature parameter corresponding to the second device parameter may be 28 ℃, and a process of specifically determining the second device parameter corresponding to the first device parameter is described below, which is not described herein again.
S103: and determining a device set, and respectively determining target devices matched with the first device parameters and the second device parameters in the device set.
S105: and controlling the target equipment according to the first equipment parameter and the second equipment parameter.
In the embodiment of the present disclosure, the device aggregation may include home devices that have been subjected to a network distribution in the home environment. As can be seen from the above, the first device parameter corresponds to a first device in the device set, and the second device parameter corresponds to a second device in the device set, based on which, the target device can be determined from the first device and the second device, and the determined target device is controlled based on the first device parameter and the second device parameter.
Specifically, when the target device is determined, device linkage information may be acquired, and the device linkage information may be used to indicate a second device that is in linkage control with the first device at the same time. For example, in the case that the first device is the intelligent water heater, the device linkage information may be used to indicate that the second device linked with the intelligent water heater is an air conditioner. Next, the first device and the second device determined based on the device linkage information may be determined as the target device. After the target device is determined, the target device in the device set may be controlled through the first device parameter and the second device parameter, and a specific manner of controlling the target device is described below, which is not described herein again.
As can be seen from the above description, in the embodiment of the present disclosure, first, according to environment data, a first device parameter matching an object behavior of a service object may be determined, and a second device parameter associated with the first device parameter may be determined, then, a device set may be determined, and a target device matching the first device parameter and the second device parameter may be determined in the device set, so as to control the target device in the device set according to the first device parameter and the second device parameter, so as to adjust a home environment through the target device, thereby taking into account a correlation between the first device parameter and the second device parameter, and meanwhile, because the first device parameter corresponding to the object behavior may be determined based on the environment data, when the first device parameter for adjusting the home environment is determined, the determined first device parameter matches current environment data, thereby improving a user experience.
In an optional embodiment, referring to fig. 2, which is a flowchart illustrating the step S101, determining a first device parameter corresponding to an object behavior according to environment data specifically includes the following processes:
s1011: based on the object behavior, object information and device setting information are determined.
In this embodiment of the disclosure, the object information corresponds to the family member information, and the device setting information corresponds to an operation record of the user operating the home device. Specifically, the operation record may be device operation parameters, such as operation time of the user, a device operation mode, and the like, fed back to the application program by the home device after the user operates the home device. The family member information may include basic information of each family member and activity range information, wherein the basic information may include: age, gender, device operating habits, etc., range of motion information may be used to indicate the room used by each family member, etc.
The object information may be input by a user in the application program, or may be obtained by analyzing a user video acquired by a home device such as a camera device, and the device setting information may be fed back to the application program as a response of the home device and an information acquisition request of the application program, where the application program may send the information acquisition request to each home device in the device set according to a preset polling time to acquire device operation parameters fed back by the home device, and determine the device setting information based on the device operation parameters.
S1012: and determining target water use data matched with the object information and the equipment setting information according to the environment data.
In the disclosed embodiment, the target water usage data may include water usage frequency, water usage amount, set water temperature, equipment power consumption amount, and the like. The method includes the steps of firstly, determining object information of service objects in the household environment based on the object information, and determining equipment setting information corresponding to household equipment related to water consumption in the equipment setting information matched with the object information. Next, the water usage data to be adjusted may be determined based on the device setting information, and the water usage data to be adjusted may be adjusted based on the environmental data, so as to obtain the target water usage data.
For example, the service object is a baby, object information corresponding to the baby may be obtained, and in the case where the household device related to water use is the intelligent water heater, device setting information of the intelligent water heater corresponding to the baby in the device setting information may be obtained. The water usage data to be adjusted determined based on the device setting information may include: the frequency of water consumption is 3 times/day, the water consumption is 60 liters/day, the water temperature is 45 ℃, and the power consumption of the equipment is 36 ℃.
Next, the water data to be adjusted can be adjusted according to the environmental data, for example, it is determined that the environmental temperature is 3 ℃ based on the environmental data, and the current season is winter, then it can be determined that the water frequency of the service object is reduced, and the demand for the temperature is warm, so that the adjustment performed on the data to be adjusted can be for reducing the water frequency and the water consumption, and improving the water temperature. Based on this, the target water consumption data obtained after the water consumption data to be adjusted is adjusted may be: the frequency of water consumption is 1 time/day, the water consumption is 25 liters/day, the water temperature is 48 ℃, and the power consumption of the equipment is 30 ℃.
S1013: based on the target water usage data, a first device parameter is determined.
After the target water usage data is determined, first device parameters for controlling the intelligent water heater can be determined based on the target water usage data, and the first device parameters include parameters such as set temperature, water storage capacity, operating time, operating frequency and the like of the intelligent water heater. Based on this, can confirm operating time, operating duration and frequency of use according to the water frequency in the target water data, confirm the water storage capacity according to the water consumption, confirm the settlement temperature according to the water temperature.
In the embodiment of the disclosure, the target water consumption data matched with the object information of the service object and the device setting information can be determined according to the environment data, and the first device parameter is determined based on the target water consumption data, so that the first device is controlled by the first device parameter, thereby realizing setting of personalized service schemes for different service objects, and improving the use experience of users.
In an optional embodiment, in step S1012, the target water usage data matched with the object information and the device setting information is determined according to the environment data, which specifically includes the following processes:
(1) When a plurality of service objects are provided, determining sub information corresponding to each service object, wherein the sub information comprises object information and equipment setting information of the service objects;
(2) Determining water consumption data matched with the sub information of each service object according to the environment data;
(3) And determining the target water consumption data based on the water consumption data.
In the embodiment of the disclosure, the number of service objects may be determined based on data fed back by the home devices. In the case where it is determined that the number of service objects is plural, the sub information may be determined for each service object. Here, the sub information may be used to indicate device setting information corresponding to a service object and object information.
In specific implementation, a member group may be first established for each service object in the application program, and the member group may include sub information corresponding to the service object. When the service object inputs the object information in the application program, the service object corresponding to the object information can be identified, and the object information can be stored in the member group corresponding to the service object. Next, based on the object behavior, a service object corresponding to the obtained device setting information may be determined, and the device setting information may also be stored in a member group corresponding to the service object.
After determining the sub information corresponding to each service object, the water consumption data matched with each service object may be determined based on the sub information, and a specific manner of determining the water consumption data is as described in the embodiment corresponding to step S101, which is not described herein again.
After the water use sub-data corresponding to each service object is determined, the object behavior corresponding to each service object may be obtained, and the object schedule of the service object, that is, the user schedule, may be determined based on the object behavior. Next, the obtained plurality of water usage data may be merged based on the user travel, thereby obtaining target water usage data.
In specific implementation, intersection time of activities of each service object in the home environment can be analyzed based on a user travel, and the water use subdata corresponding to the intersection time is analyzed and superimposed to obtain target water use data. For example, if it is determined that the service object 1 and the service object 2 are at home all day on weekdays based on the object itineraries, the intersection time may be the weekday all day. The water use data corresponding to the service object 1 comprises: the water consumption frequency is 1 time/day, the water consumption is 25 liters/day, and the water consumption data corresponding to the service object 2 comprises: the frequency of water consumption is 1 time/day, the water consumption is 20 liters/day, and the sub-water consumption data corresponding to the intersection time is analyzed and superposed to obtain target water consumption data, which can comprise: the water consumption frequency is 2 times/day, and the water consumption is 45 liters/day.
In the embodiment of the disclosure, when a plurality of service objects are provided, the water consumption data can be determined for each service object, and the water consumption data is superposed based on the intersection time of activities of the service objects in the household environment to obtain the target water consumption data, so that the water consumption requirements of multiple families can be intelligently met, the application range of the disclosure is expanded, and the use experience of users is improved.
In an optional implementation manner, in step S103, determining a second device parameter corresponding to the first device parameter specifically includes the following steps:
s1031: determining a target temperature that matches the target water usage data.
In the embodiment of the disclosure, the relevant household equipment may be instructed to adjust the ambient temperature of the household environment to the target temperature. In determining the target temperature, a user's demand for ambient temperature may first be analyzed based on the target water usage data.
In specific implementation, the water temperature in the target water usage data is taken as an example, and the demand of the service object on the environmental temperature can be analyzed based on the water temperature. For example, a water usage habit of the user may be determined, which may be used to indicate the water usage water temperature of the user in different months, and the corresponding month may be 10 months when the water usage water temperature is 50 ℃. In the 10 months, the user's demand for ambient temperature may be 26 ℃, then 26 ℃ may be determined as the above target temperature. Here, the user's demand may be determined based on the above-mentioned device setting information, and specifically, the temperature adjustment parameter for setting in the second device in the past 10 months may be included in the device setting information.
In addition, a target humidity matched with the target water consumption data can be determined, the relevant household equipment can be instructed to adjust the environmental humidity of the household environment to the target humidity, and the household equipment can perform dehumidification or humidification. In determining the target humidity, a user's demand for ambient humidity may first be analyzed based on the target water usage data.
In specific implementation, here, the water temperature of the target water usage data is taken as an example, the demand of the service object for the environmental humidity may be analyzed based on the water temperature of the water usage, here, the month corresponding to the water temperature of the water usage is determined based on the habit of the water usage, and the demand of the user for the environmental humidity during the month is determined, so as to determine the target humidity based on the demand. For example, if the water temperature corresponds to month 10, the determined ambient humidity is 80% based on the environmental data, and the user's demand for the ambient humidity in this month may be 50% of the ambient humidity, then the ambient humidity 50% may be determined as the target humidity.
S1032: based on the target temperature, a second device parameter is determined.
In this embodiment of the disclosure, when the user has started the smart scene function in the application, the smart scene function may automatically adjust the target temperature, specifically, the target temperature and the target humidity may be adjusted based on the environmental data to obtain target adjustment data, and determine the second device corresponding to the target adjustment data, so as to determine the corresponding second device parameter for the second device.
In specific implementation, the current temperature data and the current humidity data can be determined based on the environmental data, the suitable temperature matched with the temperature data can be determined, and the suitable humidity matched with the humidity data can be determined. Next, the target temperature may be adjusted based on the suitable temperature, for example, the target temperature is 26 ℃, the suitable temperature is 28 ℃, at this time, the median of 27 ℃ may be used as the target adjustment data, and the second device parameter corresponding to the target adjustment data may be determined. Similarly, a median between the suitable humidity and the target humidity may be determined and determined as the target adjustment data.
In the embodiment of the disclosure, the target temperature matched with the target water consumption data can be determined, the target temperature is adjusted according to the environmental data to obtain the target adjustment data, and the second equipment parameter matched with the target adjustment data is determined, so that the comfort of the home environment is higher after the home environment is adjusted based on the second equipment parameter.
In an optional implementation manner, in step S105, controlling the target device in the device set according to the first device parameter and the second device parameter specifically includes the following processes:
s11: when the target equipment comprises the intelligent water heater, the running state of the intelligent water heater is obtained.
S12: and under the condition that the running state is not matched with the first equipment parameter, the running state of the intelligent water heater is adjusted based on the first equipment parameter.
In the disclosed embodiment, the intelligent water heater may be the first device described above, and here, the type of the intelligent water heater may be an air energy water heater. When the target device is determined to comprise the intelligent water heater, the running state of the intelligent water heater can be obtained, analysis is carried out based on the running state, and the device running parameters are obtained.
Next, it may be determined whether the device operating parameter matches the first device parameter, and in case of no match, the operating state of the intelligent water heater may be adjusted based on the first device parameter. Specifically, the equipment operation parameter can be adjusted to be the default parameter under the unmatched condition, the adjustment is performed on the basis of the default parameter, and the equipment operation parameter of the intelligent water heater is adjusted to be the first equipment parameter.
It should be understood that directly adjusting the device operation parameter to the first device parameter may cause instruction conflict, thereby causing an error in the operation state of the intelligent water heater. For example, under the condition that the automatic temperature adjustment module is started on the intelligent water heater, the set temperature corresponding to the first equipment parameter is a fixed temperature, and at the moment, instruction conflict can be caused, so that the running state of the intelligent water heater is wrong. Therefore, it is necessary to first adjust the operation parameters of the equipment to the default parameters, and perform parameter adjustment on the default parameters and the default parameters.
In the embodiment of the disclosure, it may be determined whether the operating state of the intelligent water heater is matched with the first device parameter, and in case of no match, the device operating parameter is adjusted to be the default parameter, and the device operating parameter of the intelligent water heater is adjusted to be the first device parameter on the basis of the default parameter, so that occurrence of a situation that the operating state of the device is wrong due to instruction conflict is reduced.
In an optional implementation manner, in step S105, controlling the target device in the device set according to the first device parameter and the second device parameter, further includes the following steps:
s21: when the target device comprises the intelligent water heater and the temperature control device, the target operation time of the temperature control device is determined based on the operation time of the intelligent water heater indicated by the first device parameter.
S22: and adjusting the operation state of the temperature control equipment based on the target operation time and the second equipment parameter.
In the embodiment of the present disclosure, the temperature control device corresponds to the second device, and the second device may be an air conditioner, a fan, or the like. When the target device comprises the intelligent water heater and the temperature control device, firstly, the operation time of the intelligent water heater can be determined based on the first device parameters, and as can be seen from the above, the first device parameters comprise parameters such as the working time, the working time length and the use frequency, and the operation time of the intelligent water heater can be determined based on the working time, the working time length and the use frequency.
Next, a target operation time of the second device may be determined based on the operation time of the intelligent water heater, and the operation state of the second device may be adjusted based on the target operation time and the second device parameter. Specifically, the on time of the second device may be determined based on the on time of the first device indicated by the running time of the intelligent water heater, so as to determine the target running time based on the on time.
In specific implementation, the water usage duration of the user using the intelligent water heater may be determined based on the empirical value, and the on-time of the second device may be determined based on the water usage duration and the on-time of the first device, for example, if the determined water usage duration of the user using the intelligent water heater is half an hour, and the on-time of the first device is 21.
Or, the work stopping time of the intelligent water heater can be determined based on the work time length in the first equipment parameter, and the work stopping time is determined as the starting time of the second equipment.
In the embodiment of the disclosure, the target operation time of the temperature control device can be determined based on the operation time of the intelligent water heater, so that the starting time of the temperature control device can be accurately controlled, the total starting time of the temperature control device is reduced, and the energy-saving effect is achieved.
In an optional implementation manner, in step S105, controlling the target device in the device set according to the first device parameter and the second device parameter, further includes the following steps:
s31: when the target equipment comprises the intelligent water heater and the temperature control equipment, distributing a corresponding control area for the temperature control equipment based on the first equipment parameter.
In the embodiment of the present disclosure, the home environment may include a plurality of control areas, and the control areas may be divided based on rooms, for example, control areas such as a living room, a bedroom, a kitchen, a study, and a bathroom, and each control area may correspond to at least one home device.
In the process of determining the control area corresponding to the temperature control device, first, the area where the service object is located may be determined based on the first device parameter, and the area may be determined as the control area corresponding to the temperature control device. Specifically, the area where the service object is located may be determined based on parameters such as operating time and usage frequency in the first device parameter, for example, the service object in the home environment at the current time may be determined based on the usage frequency. Next, an object trip of the service object may be obtained to determine an area where the service object is located based on the object trip and the working time in the first device parameter, for example, the service object is a baby, the working time is 19 00, and the area where the baby is located at this time may be determined to be a bedroom based on the object trip of the baby.
S32: controlling the temperature control device based on the second device parameter to cause the temperature control device to adjust the ambient temperature of the control area.
It should be understood that, in the case that there are a plurality of control areas, since the service object corresponding to each control area may be different, the second device parameter may include a plurality of sub-parameters, and each sub-parameter may correspond to a temperature control device in at least one control area.
For example, if the second device parameter includes sub-parameter 1 and sub-parameter 2, the service object corresponding to the first control area is an elderly person, and the service object corresponding to the second control area is a young child, sub-parameter 1 may be determined as a parameter of the temperature control device in the first control area, and parameter 2 may be determined as a parameter of the temperature control device in the first control area.
In the embodiment of the present disclosure, the second device parameter may include a plurality of sub-parameters, different sub-parameters are determined for meeting requirements of different service objects, and the operating states of the temperature control devices in different control areas may be controlled by the respective sub-parameters to adapt to the use requirements of each member in a multi-member family, so as to make a personalized use scenario scheme for the user, thereby improving the use experience of the user.
In an optional implementation manner, the embodiment corresponding to fig. 1 may further include step S106, where the step S106 specifically includes the following processes:
s1061: and after the target equipment in the equipment set is controlled according to the first equipment parameter and the second equipment parameter, determining an equipment operation record of the target equipment.
S1062: and determining the association information of the target equipment and the environmental data based on the equipment operation record.
In the embodiment of the disclosure, the water temperature change record and the working time record corresponding to the intelligent water heater can be determined based on the equipment operation record, the environment temperature change record of the home environment can be determined based on the environment data, and then, a coordinate system can be established based on the environment temperature change record, wherein the environment temperature change can be a horizontal axis of the coordinate system, and the working frequency of the water heater per day can be a vertical axis of the coordinate system.
Next, a corresponding water temperature change curve may be established in the coordinate system based on the water temperature change record, and an operating time change curve may be established based on the operating time record to obtain a visual report, and the visual report may be determined as the above-mentioned related information. Here, the visual report may be used to indicate water usage habits of the service object at different temperatures in one year, and the energy consumption of the home equipment and the usage frequency of the home equipment may be analyzed based on the visual report, so that the usage of the home equipment is analyzed based on the visual report, and the algorithm for determining the second equipment parameter and the first equipment parameter is optimized for the next year.
In the embodiment of the disclosure, the association information between the target device and the environmental data may be determined based on the device operation record, so that the use condition of the household device is analyzed based on the visual report, reference data is provided for the next year, and the algorithm for determining the second device parameter and the first device parameter is optimized, so as to further achieve the goals of saving energy, providing more excellent service for the user, and the like.
Referring to fig. 3, a flowchart of another method for controlling a device according to an embodiment of the present disclosure is provided, where the method includes steps S701 to S707, where:
s701: and starting the intelligent scene function in the application program.
S702: and establishing an association relation between the individual scene function in the application program and the intelligent water heater.
In an embodiment of the present disclosure, the personality scenario function may be used to determine the first device parameter and adjust the first device parameter.
S703: and acquiring a working time change curve and a water temperature change curve in the visual report.
S704: and adjusting the first equipment parameter in real time based on the working time change curve and the water temperature change curve, and controlling the intelligent water heater based on the first equipment parameter.
S705: and determining whether the target equipment comprises the temperature control equipment, if so, executing step S706, otherwise, executing step S707.
S706: and determining a second equipment parameter corresponding to the first equipment parameter, and controlling the temperature control equipment according to the second equipment parameter.
S707: and determining the equipment operation record of the target equipment, and determining the associated information of the target equipment and the environment data.
In summary, in the embodiment of the present disclosure, first device parameters matching an object behavior of a service object may be determined according to environment data, and second device parameters associated with the first device parameters may be determined, then, a device aggregation may be determined, and target devices matching the first device parameters and the second device parameters may be determined in the device aggregation, so as to control the target devices in the device aggregation according to the first device parameters and the second device parameters, so as to adjust a home environment through the target devices, thereby taking into account the association between the first device parameters and the second device parameters, and meanwhile, because the first device parameters corresponding to the object behavior may be determined based on the environment data, when the first device parameters used for adjusting the home environment are determined, the determined first device parameters are matched with current environment data, thereby improving user experience.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Based on the same inventive concept, the embodiment of the present disclosure further provides a device control apparatus corresponding to the device control method, and as the principle of solving the problem of the device in the embodiment of the present disclosure is similar to the device control method in the embodiment of the present disclosure, the method may be used for implementing the device, and the repeated parts are not described again.
Referring to fig. 4, a schematic diagram of a control apparatus of a device according to an embodiment of the present disclosure is shown, the apparatus includes: a first determination unit 41, a second determination unit 42, a control unit 43; wherein,
a first determining unit 41, configured to determine, according to the environment data, a first device parameter matching the object behavior, and determine a second device parameter associated with the first device parameter;
a second determining unit 42, configured to determine a device collection, and determine target devices in the device collection, where the target devices match the first device parameters and the second device parameters, respectively;
a control unit 43, configured to control the target device according to the first device parameter and the second device parameter.
In the embodiment of the disclosure, first, according to environment data, a first device parameter matched with an object behavior of a service object may be determined, and a second device parameter associated with the first device parameter may be determined, then, a device aggregation may be determined, and a target device matched with the first device parameter and the second device parameter may be determined in the device aggregation, so as to control the target device in the device aggregation according to the first device parameter and the second device parameter, so as to adjust a home environment through the target device, thereby taking into account the association between the first device parameter and the second device parameter, and meanwhile, because the first device parameter corresponding to the object behavior may be determined based on the environment data, when the first device parameter for adjusting the home environment is determined, the determined first device parameter is matched with current environment data, thereby improving the use experience of a user.
In a possible implementation, the first determining unit 41 is further configured to:
determining object information and device setting information based on the object behavior;
determining target water use data matched with the object information and the equipment setting information according to the environment data;
based on the target water usage data, a first device parameter is determined.
In a possible implementation, the first determining unit 41 is further configured to:
when a plurality of service objects are provided, determining sub-information corresponding to each service object, wherein the sub-information comprises object information of the service objects and equipment setting information;
determining water consumption data matched with the sub-information of each service object according to the environment data;
and determining the target water consumption data based on the water consumption data.
In a possible implementation, the second determining unit 42 is further configured to:
determining a target temperature matched with the target water usage data;
based on the target temperature, a second device parameter is determined.
In a possible embodiment, the control unit 43 is further configured to:
when the target equipment comprises an intelligent water heater, acquiring the running state of the intelligent water heater;
and under the condition that the running state is not matched with the first equipment parameter, the running state of the intelligent water heater is adjusted based on the first equipment parameter.
In a possible embodiment, the control unit 43 is further configured to:
when the target device comprises the intelligent water heater and the temperature control device, determining a target operation time of the temperature control device based on the operation time of the intelligent water heater indicated by the first device parameter;
and adjusting the operation state of the temperature control equipment based on the target operation time and the second equipment parameter.
In a possible embodiment, the control unit 43 is further configured to:
when the target equipment comprises an intelligent water heater and temperature control equipment, distributing a corresponding control area for the temperature control equipment based on the first equipment parameter;
controlling the temperature control device based on the second device parameter to cause the temperature control device to adjust an ambient temperature of the control area.
In one possible embodiment, the apparatus is further configured to:
after the target equipment in the equipment set is controlled according to the first equipment parameter and the second equipment parameter, determining an equipment operation record of the target equipment;
and determining the association information of the target equipment and the environmental data based on the equipment operation record.
The description of the processing flow of each unit in the device and the interaction flow between the units may refer to the related description in the above method embodiments, and will not be described in detail here.
Corresponding to the control method of the device in fig. 1, an embodiment of the present disclosure further provides a computer device 500, and as shown in fig. 5, a schematic structural diagram of the computer device 500 provided in the embodiment of the present disclosure includes:
a processor 51, a memory 52, and a bus 53; the storage 52 is used for storing execution instructions and comprises a memory 521 and an external storage 522; the memory 521 is also referred to as an internal memory, and is used for temporarily storing the operation data in the processor 51 and the data exchanged with the external memory 522 such as a hard disk, the processor 51 exchanges data with the external memory 522 through the memory 521, and when the computer device 500 operates, the processor 51 communicates with the storage 52 through the bus 53, so that the processor 51 executes the following instructions:
determining a first device parameter matched with the object behavior according to the environment data, and determining a second device parameter associated with the first device parameter;
determining a device set, and respectively determining target devices matched with the first device parameters and the second device parameters in the device set;
and controlling the target equipment according to the first equipment parameter and the second equipment parameter.
Embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs the steps of the method for controlling the device described in the above method embodiments. The storage medium may be a volatile or non-volatile computer-readable storage medium.
The embodiments of the present disclosure also provide a computer program product, where the computer program product carries a program code, and instructions included in the program code may be used to execute steps of the method for controlling the device in the foregoing method embodiments, which may be referred to specifically in the foregoing method embodiments, and are not described herein again.
The computer program product may be implemented by hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and 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 of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
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 position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the 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 functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solutions of the present disclosure, which are essential or part of the technical solutions contributing to the prior art, may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing 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 methods described in the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used for illustrating the technical solutions of the present disclosure and not for limiting the same, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.
Claims (11)
1. A method of controlling a device, comprising:
determining a first device parameter matched with the object behavior according to the environment data, and determining a second device parameter associated with the first device parameter;
determining a device set, and respectively determining target devices matched with the first device parameters and the second device parameters in the device set;
and controlling the target equipment according to the first equipment parameter and the second equipment parameter.
2. The method of claim 1, wherein determining the first device parameter that matches the behavior of the object based on the environmental data comprises:
determining object information and device setting information based on the object behavior;
determining target water use data matched with the object information and the equipment setting information according to the environment data;
based on the target water usage data, a first device parameter is determined.
3. The method of claim 2, wherein determining target water usage data that matches the subject information and device settings information based on the environmental data comprises:
when a plurality of service objects are provided, determining sub-information corresponding to each service object, wherein the sub-information comprises object information of the service objects and equipment setting information;
determining water consumption data matched with the sub-information of each service object according to the environment data;
and determining the target water consumption data based on the water consumption data.
4. The method of claim 2, wherein the determining a second device parameter associated with the first device parameter comprises:
determining a target temperature matched with the target water usage data;
based on the target temperature, a second device parameter is determined.
5. The method of claim 1, wherein the controlling the target device in the device set according to the first device parameter and the second device parameter comprises:
when the target equipment comprises an intelligent water heater, acquiring the running state of the intelligent water heater;
and under the condition that the running state is not matched with the first equipment parameter, the running state of the intelligent water heater is adjusted based on the first equipment parameter.
6. The method of claim 1, wherein controlling the target device in the device set according to the first device parameter and the second device parameter comprises:
when the target equipment comprises the intelligent water heater and the temperature control equipment, determining the target operation time of the temperature control equipment based on the operation time of the intelligent water heater indicated by the first equipment parameter;
and adjusting the operation state of the temperature control equipment based on the target operation time and the second equipment parameter.
7. The method of claim 1, wherein the controlling the target device in the device set according to the first device parameter and the second device parameter comprises:
when the target equipment comprises an intelligent water heater and temperature control equipment, distributing a corresponding control area for the temperature control equipment based on the first equipment parameter;
controlling the temperature control device based on the second device parameter to cause the temperature control device to adjust the ambient temperature of the control area.
8. The method of claim 1, further comprising:
after the target equipment in the equipment set is controlled according to the first equipment parameter and the second equipment parameter, determining an equipment operation record of the target equipment;
and determining the association information of the target equipment and the environmental data based on the equipment operation record.
9. A control apparatus of a device, characterized by comprising:
the device comprises a first determining unit, a second determining unit and a control unit, wherein the first determining unit is used for determining a first device parameter matched with the object behavior according to environment data and determining a second device parameter associated with the first device parameter;
a second determining unit, configured to determine a device collection, and determine target devices in the device collection, where the target devices are matched with the first device parameter and the second device parameter, respectively;
and the control unit is used for controlling the target equipment according to the first equipment parameter and the second equipment parameter.
10. A computer device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when a computer device is running, the machine-readable instructions when executed by the processor performing the steps of the method of controlling the device of any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, is adapted to carry out the steps of the method of controlling an apparatus according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211533538.XA CN115877727A (en) | 2022-11-30 | 2022-11-30 | Equipment control method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211533538.XA CN115877727A (en) | 2022-11-30 | 2022-11-30 | Equipment control method and device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115877727A true CN115877727A (en) | 2023-03-31 |
Family
ID=85765398
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211533538.XA Pending CN115877727A (en) | 2022-11-30 | 2022-11-30 | Equipment control method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115877727A (en) |
-
2022
- 2022-11-30 CN CN202211533538.XA patent/CN115877727A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10584892B2 (en) | Air-conditioning control method, air-conditioning control apparatus, and storage medium | |
CN110836514B (en) | Control method and device of air conditioning unit | |
JP6735492B2 (en) | Server for executing recommendation processing of air conditioner and recommendation processing system | |
CN105068513B (en) | Wired home energy management method based on social networks behavior perception | |
US20160077538A1 (en) | Load forecasting for residential sector demand response | |
CN108052010B (en) | Intelligent electric appliance self-adjusting method and device, computer equipment and storage medium | |
WO2015108179A1 (en) | Operation parameter value learning apparatus, operation parameter value learning method, and learning-type device control apparatus | |
CN110793167A (en) | Air conditioner control method and device | |
CN113251610A (en) | Method and device for air conditioner control and air conditioner | |
CN109373499B (en) | Air conditioner control method and device | |
CN112146236A (en) | Adjusting system, control method, control device, line control device, server and medium | |
CN114115027A (en) | Method, system, device, equipment and storage medium for adjusting target environment parameters | |
CN113194155A (en) | Method and device for intelligently recommending scenes in Internet of things | |
CN115481315B (en) | Recommendation information determining method and device, storage medium and electronic device | |
CN105955049B (en) | A kind of intelligent home furnishing control method, device and smart home | |
CN113310174A (en) | Setting information pushing method and device for air conditioner and air conditioner | |
CN115877727A (en) | Equipment control method and device, computer equipment and storage medium | |
CN111105298A (en) | Purchasing recommendation method and system based on intelligent scene of Internet of things | |
WO2022025819A1 (en) | System and method of controlling an air-conditioning and/or heating system | |
WO2023165051A1 (en) | Identity determination method, storage medium and electronic apparatus | |
CN106292329A (en) | Intelligent home furnishing control method, device, system and a kind of electronic equipment | |
CN113703337B (en) | Household appliance control method and system based on Internet of things and storage medium | |
CN106842964A (en) | Customization System and method | |
CN115479370A (en) | Air conditioner control method, device and equipment and air conditioner | |
CN110793163B (en) | Air conditioner configuration processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |