A method, apparatus, computer device, and storage medium for controlling a device.
By determining device parameters based on environmental data and object behavior within a home environment, and then controlling a set of devices, the problem of neglected correlation in home device control is solved. This achieves matching between device parameters and environmental data, thereby improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-30
- Publication Date
- 2026-03-13
AI Technical Summary
Existing technologies neglect the interrelationships between multiple devices and the relationship between devices and the environment when controlling home appliances, resulting in poor control outcomes and impacting user experience.
By determining the first device parameters that match the object's behavior based on environmental data, and determining the associated second device parameters, a set of devices is formed, and then the target devices are controlled to adjust the home environment, taking into account the correlation between the device parameters.
It improves the user experience by matching device parameters with current environmental data through personalized device control schemes, thereby enhancing the comfort of the home environment.
Smart Images

Figure CN115877727B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of smart home technology, and more specifically, to a device control method, apparatus, computer equipment, and storage medium. Background Technology
[0002] With the continuous development of IoT technology, smart homes are becoming increasingly common. Specifically, this often involves configuring home devices to a network, enabling communication between these devices and applications, and then controlling the devices through the applications.
[0003] However, in determining control schemes for home appliances, the interrelationships between multiple appliances and between each appliance and the home environment are often overlooked. Consequently, control is often implemented individually for each appliance, leading to poor control results and negatively impacting the user experience. For example, when adjusting the set water temperature of a water heater, the setting is often adjusted via thermostat commands without considering whether it matches the current temperature of the home environment. Furthermore, since the water heater is interconnected with the air conditioner, the air conditioner's set temperature may not be adjusted accordingly when the water heater's set temperature changes. Summary of the Invention
[0004] This disclosure provides at least one device control method, apparatus, computer device, and storage medium.
[0005] In a first aspect, embodiments of this disclosure provide a method for controlling a device, including:
[0006] Based on environmental data, a first device parameter matching the object's behavior is determined, and a second device parameter associated with the first device parameter is determined;
[0007] Determine a set of devices, and then determine target devices in the set of devices that match the first device parameters and the second device parameters, respectively.
[0008] The target device is controlled according to the first device parameters and the second device parameters.
[0009] In one optional implementation, determining the first device parameters matching the object's behavior based on environmental data includes:
[0010] Based on the object's behavior, determine the object information and device settings information;
[0011] Based on the environmental data, target water usage data that matches the object information and equipment setting information is determined;
[0012] Based on the target water usage data, the first equipment parameters are determined.
[0013] In one optional implementation, determining the target water usage data that matches the object information and equipment setting information based on the environmental data includes:
[0014] When there are multiple service objects, determine the sub-information corresponding to each service object, wherein the sub-information includes the object information of the service object and the device setting information;
[0015] Based on the environmental data, determine the water sub-data that matches the sub-information of each of the service objects;
[0016] Based on the water usage data, the target water usage data is determined.
[0017] In one optional implementation, determining the second device parameter associated with the first device parameter includes:
[0018] Determine the target temperature that matches the target water usage data;
[0019] Based on the target temperature, the second equipment parameters are determined.
[0020] In one optional implementation, controlling the target device in the device set according to the first device parameters and the second device parameters includes:
[0021] When the target device includes a smart water heater, the operating status of the smart water heater is obtained;
[0022] If the operating state does not match the first device parameters, the operating state of the smart water heater is adjusted based on the first device parameters.
[0023] In one optional implementation, controlling the target device in the device set according to the first device parameters and the second device parameters includes:
[0024] When the target device includes a smart water heater and a temperature control device, the target operating time of the temperature control device is determined based on the operating time of the smart water heater indicated by the first device parameters.
[0025] Based on the target running time and the second equipment parameters, the operating status of the temperature control equipment is adjusted.
[0026] In one optional implementation, controlling the target device in the device set according to the first device parameters and the second device parameters includes:
[0027] When the target device includes a smart water heater and a temperature control device, a corresponding control area is assigned to the temperature control device based on the first device parameters;
[0028] Based on the second device parameters, the temperature control device is controlled to adjust the ambient temperature of the control area.
[0029] In one optional implementation, the method further includes:
[0030] After controlling the target device in the device set according to the first device parameters and the second device parameters, the device operation record of the target device is determined;
[0031] Based on the device operation records, the association information between the target device and the environmental data is determined.
[0032] Secondly, embodiments of this disclosure also provide a control device for an apparatus, comprising:
[0033] The first determining unit is configured to determine a first device parameter that matches the object behavior based on environmental data, and to determine a second device parameter associated with the first device parameter;
[0034] The second determining unit is used to determine a set of devices and, within the set of devices, to determine target devices that match the first device parameters and the second device parameters, respectively.
[0035] The control unit is used to control the target device according to the first device parameters and the second device parameters.
[0036] Thirdly, embodiments of this disclosure also provide a computer device, including: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor communicates with the memory via the bus, and when the machine-readable instructions are executed by the processor, the steps of the first aspect above, or any possible implementation of the first aspect, are performed.
[0037] Fourthly, embodiments of this disclosure also provide a computer-readable storage medium storing a computer program that, when executed by a processor, performs the steps of the first aspect or any possible implementation of the first aspect.
[0038] This disclosure provides a device control method, apparatus, computer device, and storage medium. In this disclosure, firstly, based on environmental data, a first device parameter matching the object behavior of a service object is determined, and a second device parameter associated with the first device parameter is determined. Next, a device set is determined, and a target device matching the first and second device parameters is identified within the device set. The target device in the device set is then controlled based on the first and second device parameters to adjust the home environment. This approach considers the correlation between the first and second device parameters. Furthermore, since the first device parameter corresponding to the object behavior can be determined based on environmental data, when determining the first device parameter for adjusting the home environment, the determined first device parameter matches the current environmental data, thereby improving the user experience.
[0039] To make the above-mentioned objects, features and advantages of this disclosure more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0040] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the embodiments will be briefly described below. These drawings are incorporated in and constitute a part of this specification. They illustrate embodiments conforming to this disclosure and, together with the specification, serve to explain the technical solutions of this disclosure. It should be understood that the following drawings only show some embodiments of this disclosure and should not be considered as limiting the scope. Those skilled in the art can obtain other related drawings based on these drawings without creative effort.
[0041] Figure 1 A flowchart of a device control method provided by an embodiment of this disclosure is shown;
[0042] Figure 2 This invention discloses a flowchart illustrating the determination of first device parameters corresponding to object behavior based on environmental data, as provided in an embodiment of the present disclosure.
[0043] Figure 3 A flowchart of another device control method provided by an embodiment of this disclosure is shown;
[0044] Figure 4 A schematic diagram of a control device for an apparatus provided in an embodiment of this disclosure is shown;
[0045] Figure 5 A schematic diagram of a computer device provided in an embodiment of this disclosure is shown. Detailed Implementation
[0046] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. The components of the embodiments of this disclosure described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed disclosure, but merely represents selected embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure.
[0047] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0048] In this document, the term "and / or" merely describes a relationship, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Furthermore, the term "at least one" in this document means any combination of at least two of any one or more elements. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.
[0049] Research has revealed that in determining control schemes for home appliances, the interrelationships between multiple appliances and between each appliance and the home environment are often overlooked. Consequently, control is often implemented only for each appliance individually, leading to poor control results and negatively impacting the user experience. For example, when adjusting the set water temperature of a water heater, the setting is often adjusted via thermostat commands without considering whether it matches the current temperature of the home environment. Furthermore, given the correlation between the water heater and air conditioner, the air conditioner's set temperature may not be adjusted accordingly when the water heater's set temperature changes.
[0050] Based on the above research, this disclosure provides a device control method, apparatus, computer device, and storage medium. In embodiments of this disclosure, firstly, a first device parameter matching the object behavior of a service object is determined based on environmental data, and a second device parameter associated with the first device parameter is determined. Next, a device set is determined, and a target device matching the first and second device parameters is identified within the device set. The target device in the device set is then controlled based on the first and second device parameters to adjust the home environment. This approach considers the correlation between the first and second device parameters. Furthermore, since the first device parameter corresponding to the object behavior can be determined based on environmental data, the determined first device parameter for adjusting the home environment matches the current environmental data, thereby improving the user experience.
[0051] To facilitate understanding of this embodiment, a device control method disclosed in this disclosure will first be described in detail. The device control method provided in this disclosure is generally executed by a computer device with certain computing capabilities, such as a terminal device, a server, or other processing devices. In some possible implementations, the device control method can be implemented by a processor calling computer-readable instructions stored in memory.
[0052] See Figure 1 The diagram shows a flowchart of a device control method provided in an embodiment of this disclosure. The method includes steps S101 to S105, wherein:
[0053] S101: Determine a first device parameter that matches the object's behavior based on environmental data, and determine a second device parameter associated with the first device parameter.
[0054] In this embodiment of the disclosure, when the application scenario is a home environment, the home devices in the home environment can first be configured with a network to establish a communication connection between the home devices and the application in the terminal device, so that the home devices can be automatically controlled through the application, or the user can be instructed to manually control the home devices through the application.
[0055] Next, the application can obtain environmental data from home appliances. This environmental data can include data related to the temperature and humidity of the home environment. For example, the environmental data can include the current temperature, humidity, and seasonal data of the home environment.
[0056] When the service target of this disclosure is a user, the aforementioned user behavior can be used to indicate user behavior in a home environment. Here, user behavior may include user schedules collected through home devices, such as acquiring user video through a camera device and analyzing the user video to obtain user schedules, such as the time the user leaves home and the time the user returns home.
[0057] Additionally, user behavior may include operation records of user actions on home appliances and family member information entered by the user in the application. Here, the operation records can be device operating parameters fed back to the application by the home appliances after the user operates them, such as the user's operation time and device operating mode. Family member information may include basic information and activity range information for each family member. The basic information may include age, gender, device operating habits, etc., and the activity range information may indicate the rooms used by each family member. It should be understood that this activity range information can also be obtained through the aforementioned user schedule; this disclosure does not specifically limit the method of obtaining this activity range information.
[0058] After obtaining the above environmental data and object behavior, the first device parameters corresponding to the object behavior can be determined based on the environmental data. The first device in the home appliances can be controlled based on the first device parameters. The first device can be a smart water heater. The first device parameters can include parameters such as the set temperature, water storage capacity, working time, working duration, and usage frequency of the smart water heater. The specific process of determining the first device parameters is as follows, and will not be repeated here.
[0059] After determining the first device parameter, a second device parameter associated with the first device parameter can be determined. The parameter attributes of the second device parameter can be the same as those of the first device parameter. For example, if the first device parameter includes the set temperature of a smart water heater, the second device parameter can also include a parameter with the parameter attribute of temperature. Next, the home appliance corresponding to the second device parameter can be determined. For example, the home appliance corresponding to the temperature parameter can be determined as the home appliance corresponding to the second device parameter, such as an air conditioner.
[0060] After identifying the home appliance corresponding to the second device parameter, this home appliance can be designated as the second device. Based on the first device parameter corresponding to the first device, the second device parameter corresponding to the second device can be determined. For example, if the first device parameter includes a set temperature of 50℃, the service recipient's temperature requirement can be determined based on this set temperature, and the temperature parameter corresponding to the second device parameter can be determined based on this requirement. For example, if the second device is an air conditioner, the temperature parameter corresponding to the second device parameter can be 28℃. The specific process of determining the second device parameter corresponding to the first device parameter is as follows, and will not be repeated here.
[0061] S103: Determine a set of devices, and in the set of devices, determine the target devices that match the first device parameters and the second device parameters respectively.
[0062] S105: Control the target device according to the first device parameters and the second device parameters.
[0063] In this embodiment of the disclosure, the device set may include home devices in the aforementioned home environment that have been configured with a network. As can be seen from the above, the first device parameter corresponds to the first device in the device set, and the second device parameter corresponds to the second device in the device set. Based on this, a target device can be determined from the first device and the second device, and the determined target device can be controlled based on the first device parameter and the second device parameter.
[0064] Specifically, when determining the target device, device linkage information can be obtained. This linkage information can be used to indicate a second device that is simultaneously controlled in conjunction with the first device. For example, if the first device is the aforementioned smart water heater, the device linkage information can be used to indicate that the second device linked with the smart water heater is an air conditioner. Next, the first device and the second device determined based on the device linkage information can be identified as the target devices. After determining the target devices, the target devices in the device set can be controlled using the first device parameters and the second device parameters. The specific method of controlling the target devices is described below and will not be repeated here.
[0065] As described above, in this embodiment of the disclosure, firstly, based on environmental data, a first device parameter matching the object behavior of the service object is determined, and a second device parameter associated with the first device parameter is determined. Next, a set of devices is determined, and a target device matching the first device parameter and the second device parameter is identified within the set. The target device in the set is then controlled based on the first and second device parameters to adjust the home environment. This approach takes into account the correlation between the first and second device parameters. Furthermore, since the first device parameter corresponding to the object behavior can be determined based on environmental data, when determining the first device parameter for adjusting the home environment, the determined first device parameter matches the current environmental data, thereby improving the user experience.
[0066] In one alternative implementation, see as follows: Figure 2 The above flowchart illustrates step S101, which involves determining the first device parameters corresponding to the object's behavior based on environmental data. The process specifically includes the following steps:
[0067] S1011: Based on the object behavior, determine the object information and device setting information.
[0068] In this embodiment, the object information corresponds to the aforementioned family member information, and the device setting information corresponds to the user's operation records of the home devices. Specifically, the operation records can be device operating parameters fed back to the application by the home devices after the user operates them, such as the user's operation time and device operating mode. The family member information can include basic information and activity range information of each family member. The basic information can include age, gender, device operating habits, etc., and the activity range information can be used to indicate the room used by each family member, etc.
[0069] Here, the object information can be entered by the user in the aforementioned application, or it can be obtained by analyzing user videos collected by home devices such as cameras. The device setting information can be the information obtained by the home devices in response to the application's information acquisition request. The application can send information acquisition requests to each home device in the device set according to a preset polling time to obtain the device operating parameters fed back by the home devices, and determine the device setting information based on the device operating parameters.
[0070] S1012: Based on the environmental data, determine the target water usage data that matches the object information and equipment setting information.
[0071] In this embodiment, the target water usage data may include water usage frequency, water consumption, set water temperature, and device power consumption. First, based on object information, the object information of the service object in the home environment can be determined, and the device settings information corresponding to the water-related home devices in the device settings information matching the object information can be determined. Next, based on the device settings information, the water usage data to be adjusted can be determined, and based on the aforementioned environmental data, the water usage data to be adjusted can be adjusted to obtain the target water usage data.
[0072] For example, if the service recipient is a young child, the recipient's information can be obtained. If the water-related home appliance is the aforementioned smart water heater, the device settings information corresponding to the young child can be obtained from the device settings information. Based on this device settings information, the water usage data to be adjusted may include: water usage frequency 3 times / day, water consumption 60 liters / day, water temperature 45℃, and device power consumption 36 kWh.
[0073] Next, the water usage data to be adjusted can be determined based on environmental data. For example, if the ambient temperature is determined to be 3℃ and the current season is winter, then the service recipient's water usage frequency can be reduced, and the temperature requirement is to maintain warmth. Therefore, the adjustments to the data to be adjusted can be to reduce the water usage frequency and volume, and increase the water temperature. Based on this, the target water usage data obtained after adjusting the data to be adjusted can be: water usage frequency 1 time / day, water consumption 25 liters / day, water temperature 48℃, and equipment power consumption 30 kWh.
[0074] S1013: Determine the first equipment parameters based on the target water usage data.
[0075] After determining the target water usage data, the first equipment parameters for controlling the aforementioned smart water heater can be determined based on this data. As mentioned above, these first equipment parameters include the smart water heater's set temperature, water storage capacity, operating time, operating duration, and usage frequency. Based on this, the operating time, operating duration, and usage frequency can be determined according to the water usage frequency in the target water usage data; the water storage capacity can be determined according to the water consumption; and the set temperature can be determined according to the water temperature.
[0076] In this embodiment of the disclosure, target water usage data that matches the object information and equipment settings of the service recipient can be determined based on environmental data, and first equipment parameters can be determined based on the target water usage data. The first equipment can then be controlled through the first equipment parameters, thereby enabling the setting of personalized service plans for different service recipients and improving the user experience.
[0077] In an optional implementation, step S1012 above, which determines the target water usage data that matches the object information and equipment setting information based on the environmental data, specifically includes the following process:
[0078] (1) When there are multiple service objects, determine the sub-information corresponding to each service object, wherein the sub-information includes the object information of the service object and the device setting information;
[0079] (2) Based on the environmental data, determine the water sub-data that matches the sub-information of each of the service objects;
[0080] (3) Based on the water usage data, determine the target water usage data.
[0081] In this embodiment of the disclosure, the number of service objects can first be determined based on data fed back from home appliances. If the number of service objects is determined to be multiple, sub-information can be determined for each service object. Here, this sub-information can be used to indicate the device settings information and object information corresponding to the service object.
[0082] In practice, firstly, a member group can be created for each service object in the application. This member group can include sub-information corresponding to the service object. When a service object enters object information in the application, the service object corresponding to that object information can be identified, and the object information can be saved to the member group corresponding to that service object. Next, based on the above object behavior, the service object corresponding to the obtained device settings information can be determined, and the device settings information can also be saved to the member group corresponding to that service object.
[0083] After determining the sub-information corresponding to each of the above service objects, the water sub-data matching each service object can be determined based on the sub-information. The specific method for determining the water sub-data is as described in the embodiment corresponding to step S101 above, and will not be repeated here.
[0084] After identifying the water usage data for each service object, the corresponding object behavior can be obtained, and the object journey of the service object, i.e., the user journey, can be determined based on the object behavior. Next, the multiple water usage data points can be merged based on this user journey to obtain the target water usage data.
[0085] In practice, the intersection time of each service recipient's activities in the aforementioned home environment can be analyzed based on user schedules. The water usage sub-data corresponding to this intersection time can then be analyzed and superimposed to obtain the target water usage data. For example, based on the user schedules, if service recipient 1 and service recipient 2 are determined to be at home all day on Sunday, the intersection time can be the entire day of Sunday. The water usage sub-data for service recipient 1 includes: water usage frequency 1 time / day, water consumption 25 liters / day. The water usage sub-data for service recipient 2 includes: water usage frequency 1 time / day, water consumption 20 liters / day. By analyzing and superimposing the water usage sub-data corresponding to this intersection time, the target water usage data can include: water usage frequency 2 times / day, water consumption 45 liters / day.
[0086] In this embodiment of the disclosure, when there are multiple service objects, water usage data can be determined for each service object, and the water usage data can be superimposed based on the intersection time of the service object's activities in the home environment to obtain target water usage data. This enables the disclosure to intelligently accommodate the water usage needs of multi-member households, improves the applicability of the disclosure, and enhances the user experience.
[0087] In an optional implementation, step S103 above, determining the second device parameter corresponding to the first device parameter, specifically includes the following process:
[0088] S1031: Determine the target temperature that matches the target water usage data.
[0089] In this embodiment of the disclosure, relevant home appliances can be instructed to adjust the ambient temperature of the home environment to the target temperature. When determining the target temperature, the user's temperature requirements can first be analyzed based on target water usage data.
[0090] In practical implementation, taking the water temperature in the target water usage data as an example, we can analyze the service recipient's environmental temperature requirements based on this water temperature. For instance, we can determine the user's water usage habits, which can be used to indicate the user's water temperature in different months. The month corresponding to a water temperature of 50℃ could be October. In October, the user's required environmental temperature could be 26℃, so this 26℃ can be determined as the target temperature. Here, the user's requirements can be determined based on the aforementioned device setting information. Specifically, this device setting information can include temperature adjustment parameters previously set in a second device in October.
[0091] Additionally, a target humidity level can be determined that matches the target water usage data. This allows relevant home appliances to adjust the ambient humidity of the home environment to that target level; the appliances can perform dehumidification or humidification. Determining this target humidity level can begin by analyzing the user's humidity requirements based on the target water usage data.
[0092] In practical implementation, let's take the water temperature from the target water usage data as an example. Based on this water temperature, we can analyze the service recipients' humidity requirements. Here, we determine the month corresponding to the water temperature based on water usage habits, and then determine the user's humidity requirements for that month. Based on these requirements, we can determine the target humidity. For example, if the month corresponding to the water temperature is October, and the humidity determined from the environmental data is 80%, the user's humidity requirement for that month could be 50%. Therefore, we can determine 50% humidity as the target humidity.
[0093] S1032: Determine the second equipment parameters based on the target temperature.
[0094] In this embodiment of the disclosure, when the user enables the smart scene function in the application, the smart scene function can automatically adjust the target temperature. Specifically, it can first adjust the target temperature and target humidity based on environmental data to obtain target adjustment data, and then determine the second device corresponding to the target adjustment data, so as to determine the corresponding second device parameters for the second device.
[0095] In practice, the first step is to determine the current temperature and humidity data based on environmental data, and then identify the suitable temperature and humidity levels. Next, the target temperature can be adjusted based on the suitable temperature. For example, if the target temperature is 26°C and the suitable temperature is 28°C, the median of 27°C can be used as the target adjustment data, and the corresponding second equipment parameter can be determined. Similarly, the median between the suitable humidity and the target humidity can be used as the target adjustment data.
[0096] In this embodiment of the disclosure, a target temperature that matches the target water usage data can be determined, and the target temperature can be adjusted according to the environmental data to obtain target adjustment data. Then, a second device parameter that matches the target adjustment data can be determined, so that the home environment is more comfortable after the home environment is adjusted based on the second device parameter.
[0097] In an optional implementation, step S105, which controls the target devices in the device set according to the first device parameters and the second device parameters, specifically includes the following process:
[0098] S11: When the target device includes a smart water heater, obtain the operating status of the smart water heater.
[0099] S12: If the operating state does not match the first device parameters, adjust the operating state of the smart water heater based on the first device parameters.
[0100] In this embodiment of the disclosure, the smart water heater can be the first device described above, and here, the type of the smart water heater can be an air source water heater. When it is determined that the target device includes the smart water heater, the operating status of the smart water heater can be obtained, and based on the operating status, analysis can be performed to obtain the device operating parameters.
[0101] Next, it can be determined whether the device's operating parameters match the first device parameters. If they do not match, the operating status of the smart water heater can be adjusted based on the first device parameters. Specifically, if they do not match, the device's operating parameters can be adjusted to the default parameters, and then further adjustments can be made based on the default parameters to bring the smart water heater's operating parameters up to the first device parameters.
[0102] It should be understood that directly adjusting the device's operating parameters to the default parameters may lead to command conflicts, resulting in incorrect operation of the smart water heater. For example, if the smart water heater's automatic temperature control module is activated, and the set temperature corresponding to the default parameters is a fixed temperature, this will cause a command conflict, leading to an incorrect operating state of the smart water heater. Therefore, it is necessary to first adjust the device's operating parameters to the default parameters, and then make further adjustments based on the default parameters and the parameters mentioned above.
[0103] In this embodiment, it can be first determined whether the operating status of the smart water heater matches the first device parameters. If they do not match, the device operating parameters are adjusted to the default parameters and further adjusted based on the default parameters to adjust the device operating parameters of the smart water heater to the first device parameters, thereby reducing the occurrence of device operating status errors due to command conflicts.
[0104] In an optional implementation, step S105, which controls the target devices in the device set according to the first device parameters and the second device parameters, further includes the following process:
[0105] S21: When the target device includes a smart water heater and a temperature control device, the target operating time of the temperature control device is determined based on the operating time of the smart water heater indicated by the first device parameters.
[0106] S22: Adjust the operating status of the temperature control device based on the target running time and the second device parameters.
[0107] In this embodiment, the temperature control device corresponds to the second device described above, which can be an air conditioner, a fan, etc. When the target device includes a smart water heater and a temperature control device, the operating time of the smart water heater can first be determined based on the parameters of the first device. As can be seen above, the parameters of the first device include parameters such as working time, working duration, and usage frequency. The operating time of the smart water heater can be determined based on these parameters.
[0108] Next, based on the running time of the smart water heater, the target running time of the second device can be determined, and the operating status of the second device can be adjusted based on this target running time and the parameters of the second device. Specifically, the start-up time of the second device can be determined based on the start-up time of the first device indicated by the running time of the smart water heater, and the target running time can be determined based on this start-up time.
[0109] In practice, the user's water usage time with the smart water heater can be determined based on experience. Based on this water usage time and the start time of the first device, the start time of the second device can be determined. For example, if the user's water usage time with the smart water heater is determined to be half an hour and the start time of the first device is 21:00, then the start time of the second device can be determined to be 21:30.
[0110] Alternatively, the shutdown time of the smart water heater can be determined based on the working duration in the first device parameters mentioned above, and this shutdown time can be used as the start-up time of the second device.
[0111] In this embodiment of the disclosure, the target operating time of the temperature control device can be determined based on the operating time of the smart water heater, thereby accurately controlling the start-up time of the temperature control device, reducing the overall operating time of the temperature control device, and achieving the effect of energy saving.
[0112] In an optional implementation, step S105, which controls the target devices in the device set according to the first device parameters and the second device parameters, further includes the following process:
[0113] S31: When the target device includes a smart water heater and a temperature control device, a corresponding control area is assigned to the temperature control device based on the first device parameters.
[0114] In this embodiment of the disclosure, the home environment described above may include multiple control areas, which may be based on room divisions, such as living room, bedroom, kitchen, study, bathroom, etc. Each control area may correspond to at least one home appliance.
[0115] In determining the control area corresponding to the temperature control device, the area where the service recipient is located can first be determined based on the first device parameters, and this area can then be designated as the control area corresponding to the temperature control device. Specifically, the area where the service recipient is located can be determined based on parameters such as the working time and usage frequency in the first device parameters. For example, the service recipient currently in the home environment can be determined based on the usage frequency. Next, the service recipient's schedule can be obtained, and the area where the service recipient is located can be determined based on the schedule and the working time in the first device parameters. For example, if the service recipient is a toddler and the working time is 19:00, the area where the toddler is located at this time can be determined based on the toddler's schedule.
[0116] S32: Based on the second device parameters, control the temperature control device to adjust the ambient temperature of the control area.
[0117] It should be understood that when there are multiple control areas, since the service objects corresponding to each control area can be different, the second device parameters can include multiple sub-parameters, and each sub-parameter can correspond to at least one temperature control device in the control area.
[0118] For example, if the second device parameters include sub-parameter 1 and sub-parameter 2, and the service target of the first control area is the elderly, while the service target of the second control area is the young child, then sub-parameter 1 can be determined as the parameter of the temperature control device in the first control area, and parameter 2 can be determined as the parameter of the temperature control device in the first control area.
[0119] In this embodiment of the disclosure, the second device parameters may include multiple sub-parameters. Different sub-parameters are determined to meet the needs of different service objects. The operating status of temperature control devices in different control areas can be controlled by each sub-parameter to adapt to the usage needs of each member in a multi-member family, thus creating a personalized usage scenario solution for users and improving the user experience.
[0120] In an optional implementation, the above Figure 1 The corresponding embodiment may also include step S106, which specifically includes the following process:
[0121] S1061: After controlling the target device in the device set according to the first device parameters and the second device parameters, determine the device operation record of the target device.
[0122] S1062: Based on the device operation record, determine the association information between the target device and the environmental data.
[0123] In this embodiment of the disclosure, the water temperature change record and working time record corresponding to the smart water heater can be determined based on the device operation record, and the ambient temperature change record of the home environment can be determined based on the environmental data. Next, a coordinate system can be established based on the ambient temperature change record, wherein the ambient temperature change can be the horizontal axis of the coordinate system, and the number of times the water heater works per day can be the vertical axis of the coordinate system.
[0124] Next, based on the water temperature change records, a corresponding water temperature change curve can be established in this coordinate system, and based on the working time records, a working time change curve can be established to obtain a visualization report. This visualization report is then used to identify the aforementioned related information. Here, this visualization report can be based on a year's worth of data to indicate the water usage habits of service recipients under different temperatures throughout the year. Based on this visualization report, the energy consumption and usage frequency of home appliances can be analyzed. This analysis of home appliance usage provides reference data for the following year, optimizing the algorithms for determining the second and first device parameters.
[0125] In this embodiment of the disclosure, the correlation information between the target device and environmental data can be determined based on the device operation record. The usage of home devices can then be analyzed based on the visualization report to provide reference data for the following year. This optimizes the algorithm for determining the second device parameters and the first device parameters, thereby achieving goals such as energy saving and providing users with better services.
[0126] See also Figure 3 The diagram shows a flowchart of another device control method provided in this disclosure embodiment. The method includes steps S701 to S707, wherein:
[0127] S701: Enable the smart scene function in the above applications.
[0128] S702: Establish the association between the personalized scene function in the above application and the above smart water heater.
[0129] In this embodiment of the disclosure, the personalized scene function can be used to determine the first device parameters and adjust the first device parameters.
[0130] S703: Obtain the working time change curve and water temperature change curve from the above visualization report.
[0131] S704: Adjust the first device parameters in real time based on the working time change curve and the water temperature change curve, and control the smart water heater based on the first device parameters.
[0132] S705: Determine whether the target device includes the aforementioned temperature control device. If yes, proceed to step S706; otherwise, proceed to step S707.
[0133] S706: Determine the second equipment parameter corresponding to the first equipment parameter mentioned above, and control the temperature control device according to the second equipment parameter.
[0134] S707: Determine the equipment operation records of the target equipment and determine the association information between the target equipment and the environmental data.
[0135] In summary, in this embodiment, a first device parameter matching the object behavior of the service object can first be determined based on environmental data, and a second device parameter associated with the first device parameter can be determined. Next, a device set can be determined, and a target device matching the first device parameter and the second device parameter can be identified within the device set. The target device in the device set can then be controlled based on the first and second device parameters to adjust the home environment. This approach takes into account the correlation between the first and second device parameters. Furthermore, since the first device parameter corresponding to the object behavior can be determined based on environmental data, the determined first device parameter for adjusting the home environment matches the current environmental data, thereby improving the user experience.
[0136] Those skilled in the art will understand that, in the above-described method of the specific implementation, the order in which each step is written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.
[0137] Based on the same inventive concept, this disclosure also provides a control device for the device corresponding to the control method of the device. Since the principle of the device in this disclosure for solving the problem is similar to the control method of the device described above in this disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.
[0138] Reference Figure 4 The diagram shown is a schematic representation of a control device for an apparatus provided in an embodiment of this disclosure. The device includes: a first determining unit 41, a second determining unit 42, and a control unit 43; wherein,
[0139] The first determining unit 41 is used to determine a first device parameter that matches the object behavior based on environmental data, and to determine a second device parameter associated with the first device parameter;
[0140] The second determining unit 42 is used to determine a set of devices and, in the set of devices, to determine target devices that match the first device parameters and the second device parameters, respectively.
[0141] Control unit 43 is used to control the target device according to the first device parameters and the second device parameters.
[0142] In this embodiment, a first device parameter matching the object behavior of the service object can first be determined based on environmental data, and a second device parameter associated with the first device parameter can be determined. Next, a device set can be determined, and a target device matching the first device parameter and the second device parameter can be identified from the device set. The target device in the device set can be controlled according to the first device parameter and the second device parameter to adjust the home environment through the target device. This takes into account the correlation between the first device parameter and the second device parameter. At the same time, since the first device parameter corresponding to the object behavior can be determined based on environmental data, when determining the first device parameter for adjusting the home environment, the determined first device parameter matches the current environmental data, thereby improving the user experience.
[0143] In one possible implementation, the first determining unit 41 is further configured to:
[0144] Based on the object's behavior, determine the object information and device settings information;
[0145] Based on the environmental data, target water usage data that matches the object information and equipment setting information is determined;
[0146] Based on the target water usage data, the first equipment parameters are determined.
[0147] In one possible implementation, the first determining unit 41 is further configured to:
[0148] When there are multiple service objects, determine the sub-information corresponding to each service object, wherein the sub-information includes the object information of the service object and the device setting information;
[0149] Based on the environmental data, determine the water sub-data that matches the sub-information of each of the service objects;
[0150] Based on the water usage data, the target water usage data is determined.
[0151] In one possible implementation, the second determining unit 42 is further configured to:
[0152] Determine the target temperature that matches the target water usage data;
[0153] Based on the target temperature, the second equipment parameters are determined.
[0154] In one possible implementation, the control unit 43 is further configured to:
[0155] When the target device includes a smart water heater, the operating status of the smart water heater is obtained;
[0156] If the operating state does not match the first device parameters, the operating state of the smart water heater is adjusted based on the first device parameters.
[0157] In one possible implementation, the control unit 43 is further configured to:
[0158] When the target device includes a smart water heater and a temperature control device, the target operating time of the temperature control device is determined based on the operating time of the smart water heater indicated by the first device parameters.
[0159] Based on the target running time and the second equipment parameters, the operating status of the temperature control equipment is adjusted.
[0160] In one possible implementation, the control unit 43 is further configured to:
[0161] When the target device includes a smart water heater and a temperature control device, a corresponding control area is assigned to the temperature control device based on the first device parameters;
[0162] Based on the second device parameters, the temperature control device is controlled to adjust the ambient temperature of the control area.
[0163] In one possible implementation, the device is also used for:
[0164] After controlling the target device in the device set according to the first device parameters and the second device parameters, the device operation record of the target device is determined;
[0165] Based on the device operation records, the association information between the target device and the environmental data is determined.
[0166] The description of the processing flow of each unit in the device and the interaction flow between each unit can be found in the relevant descriptions in the above method embodiments, and will not be detailed here.
[0167] Corresponding to Figure 1 In addition to the control method for the device in the present disclosure, this embodiment also provides a computer device 500, such as... Figure 5 The diagram shown is a structural schematic of a computer device 500 provided in an embodiment of this disclosure, including:
[0168] The system includes a processor 51, a memory 52, and a bus 53. The memory 52 stores execution instructions and includes main memory 521 and external memory 522. The main memory 521, also called internal memory, temporarily stores the processing data in the processor 51, as well as data exchanged with external memory such as a hard disk. The processor 51 exchanges data with the external memory 522 through the main memory 521. When the computer device 500 is running, the processor 51 communicates with the memory 52 through the bus 53, causing the processor 51 to execute the following instructions:
[0169] Based on environmental data, a first device parameter matching the object's behavior is determined, and a second device parameter associated with the first device parameter is determined;
[0170] Determine a set of devices, and then determine target devices in the set of devices that match the first device parameters and the second device parameters, respectively.
[0171] The target device is controlled according to the first device parameters and the second device parameters.
[0172] This disclosure also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the device control method described in the above method embodiments. The storage medium may be a volatile or non-volatile computer-readable storage medium.
[0173] This disclosure also provides a computer program product carrying program code. The program code includes instructions that can be used to execute the steps of the device control method described in the above method embodiments. For details, please refer to the above method embodiments, which will not be repeated here.
[0174] The aforementioned computer program product can be implemented through hardware, software, or a combination thereof. In one optional embodiment, the computer program product is specifically embodied in a computer storage medium; in another optional embodiment, the computer program product is specifically embodied in a software product, such as a software development kit (SDK), etc.
[0175] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. In the several embodiments provided in this disclosure, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division; in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces; the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.
[0176] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0177] In addition, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0178] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0179] Finally, it should be noted that the above-described embodiments are merely specific implementations of this disclosure, used to illustrate the technical solutions of this disclosure, and not to limit it. The protection scope of this disclosure is not limited thereto. Although this disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this disclosure. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this disclosure, and should all be covered within the protection scope of this disclosure. Therefore, the protection scope of this disclosure should be determined by the protection scope of the claims.
Claims
1. A control method of an apparatus, characterized by, The method comprises: determining a first device parameter matched with an object behavior according to environment data, and determining a second device parameter associated with the first device parameter, wherein the object behavior comprises: a user itinerary, a user operation record of a home device, and family member information, the operation record represents a device running parameter fed back by the home device after the user operates the home device, and the family member information comprises: member basic information and activity range information; determining a device set, and determining a target device matched with the first device parameter and the second device parameter in the device set respectively; controlling the target device according to the first device parameter and the second device parameter, comprising: when the target device comprises a smart water heater and a temperature control device, assigning a corresponding control area to the temperature control device based on the first device parameter, and each control area corresponds to at least one home device; when the control area is multiple, a plurality of sub-parameters are included in the second device parameter, and each sub-parameter corresponds to at least one temperature control device in the control area; controlling the running state of the temperature control device in different control areas according to the sub-parameters.
2. The method of claim 1, wherein, The method of determining the first device parameter matched with the object behavior according to the environment 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 device setting information according to the environment data; determining the first device parameter based on the target water use data.
3. The method of claim 2, wherein, The method of determining the target water use data matched with the object information and the device setting information according to the environment data comprises: when there are a plurality of service objects, determining sub-information corresponding to each service object, wherein the sub-information comprises object information and device setting information of the service object; determining water use sub-data matched with the sub-information of each service object according to the environment data; determining the target water use data based on the water use sub-data.
4. The method of claim 2, wherein, The method of determining the second device parameter associated with the first device parameter comprises: determining a target temperature matched with the target water use data; determining the second device parameter based on the target temperature.
5. The method of claim 1, wherein, The method of controlling the target device in the device set according to the first device parameter and the second device parameter comprises: when the target device comprises a smart water heater, obtaining a running state of the smart water heater; when the running state does not match the first device parameter, adjusting the running state of the smart water heater based on the first device parameter.
6. The method of claim 1, wherein, The method of controlling the target device in the device set according to the first device parameter and the second device parameter comprises: when the target device comprises a smart water heater and a temperature control device, determining a target running time of the temperature control device based on a running time of the smart water heater indicated by the first device parameter; adjusting the running state of the temperature control device based on the target running time and the second device parameter.
7. The method of claim 1, wherein, The method of controlling the target device in the device set according to the first device parameter and the second device parameter comprises: Based on the second device parameter, the temperature control device is controlled to make the temperature control device adjust the ambient temperature of the control area.
8. The method of claim 1, wherein, The method further comprises: After the target device in the device set is controlled according to the first device parameter and the second device parameter, a device running record of the target device is determined; Based on the device running record, association information of the target device and the environment data is determined.
9. A control device of an apparatus, characterized by comprising: Comprise: A first determining unit is configured to determine a first device parameter matched with an object behavior according to environment data, and determine a second device parameter associated with the first device parameter, wherein the object behavior comprises a user itinerary, a user operation record on a home device, and family member information, the operation record represents a device running parameter fed back by the home device after the user operates the home device, and the family member information comprises member basic information and activity range information; A second determining unit is configured to determine a device set, and determine a target device matched with the first device parameter and the second device parameter in the device set respectively; A control unit is configured to control the target device according to the first device parameter and the second device parameter, comprising: When the target device comprises a smart water heater and a temperature control device, the temperature control device is assigned a corresponding control area based on the first device parameter, and each control area corresponds to at least one home device; When the control area is multiple, a plurality of sub-parameters are included in the second device parameter, and each sub-parameter corresponds to at least one temperature control device in the control area; According to the sub-parameters, the running state of the temperature control devices in different control areas is controlled.
10. A computer device, comprising: Comprise: A processor, a memory and a bus, the memory stores machine readable instructions executable by the processor, when the computer device is running, the processor and the memory communicate through the bus, and the machine readable instructions are executed by the processor to perform the steps of the device control method in any one of claims 1 to 8.
11. A computer readable storage medium characterized by: The computer readable storage medium stores a computer program, and the computer program is executed by the processor to perform the steps of the device control method in any one of claims 1 to 8.
Citation Information
Patent Citations
Water temperature control method and device, water heater and storage medium
CN111435039A
Air conditioning device control method, system, device and storage medium
CN112984752A
Method and device for linkage control of intelligent household electrical appliances, air conditioner and storage medium
CN114838488A