Linkage energy control method, system and server for whole-house smart home
By implementing the linkage energy consumption control method of whole-house smart homes on the server side, responding to the request of terminal devices, determining the energy model of each online smart device, and updating the energy model and control instructions based on current device parameters, user behavior preferences and electricity price changes, adjusting the energy consumption mode and parameters of the equipment, solving the overall strategy and electricity price variation problems of existing smart home energy management, and achieving efficient energy saving and user experience improvement.
Patent Information
- Application Number
- CN202411961900.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-08
AI Technical Summary
The energy management of existing smart homes is only based on the energy consumption management of single-dimensional smart devices. It fails to consider the overall energy consumption strategy and the band variation of electricity prices of whole-house smart homes, and cannot provide users with equipment energy consumption strategies based on electricity price changes.
By implementing the linkage energy consumption control method of whole-house smart homes on the server side, responding to the request of the terminal device, determining the energy model of each online smart device, and updating the energy model and control instructions based on the current device parameters, user behavior preferences and electricity price changes, adjusting the energy consumption mode and parameters of the equipment.
It realizes the overall energy consumption strategy of whole-house smart home equipment and the intelligent energy consumption control under changes in electricity prices, improving the overall energy-saving effect and user experience of whole-house smart home equipment.
Smart Images

Figure CN119781304A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home control technology, and in particular to a linkage energy control method, system and server for a whole-house smart home. Background Art
[0002] With the development of science and technology and the improvement of people's living standards, smart home technology has gradually become an important part of modern families. Smart home technology realizes the intelligent and automatic control of home devices through technical means such as the Internet of Things, cloud computing and big data. Energy management systems are also constantly developing, achieving efficient use of energy and reducing energy consumption of equipment through intelligent means.
[0003] In the relevant technical solutions, the energy management of smart homes is based on the energy consumption management of single-dimensional smart devices. However, in actual applications, there are many types of energy-consuming and energy-supplying devices in smart homes, and the overall energy strategy of the whole smart home is not considered. At the same time, the band variability of electricity prices is not considered, and users cannot be provided with equipment energy strategy based on electricity price changes. Summary of the invention
[0004] The purpose of this application is to provide a linkage energy control method, system and server for the whole house smart home, which can realize the overall energy consumption strategy of the whole house smart home equipment and provide users with energy consumption strategies for smart devices based on changes in electricity prices.
[0005] In a first aspect, the present application provides a linkage energy control method for a whole-house smart home, which is applied to a server, and the method includes:
[0006] In response to a request instruction for a whole-house device energy usage model sent by a terminal device, determine an energy model corresponding to each online smart device in the whole-house smart home, wherein the energy model is used to determine an energy usage mode and corresponding device parameters of the smart device;
[0007] Obtaining current device parameters and user behavior preferences of each online smart device, updating the corresponding energy model based on the current device parameters and user behavior preferences, determining the current energy model of each online smart device, and sending the current energy model to the corresponding online smart device;
[0008] In response to current electricity price change information, control instructions are output to each online smart device based on the current electricity price change information, so that each online smart device determines its own energy usage mode and corresponding device parameters based on the corresponding current energy model.
[0009] In response to a request instruction for the energy usage model of the whole-house equipment sent by the terminal device, an energy model corresponding to each online smart device in the whole-house smart home is determined, including:
[0010] In response to a request instruction for a whole-house equipment energy usage model sent by a terminal device, determine each online smart device in the whole-house smart home and the corresponding device type, where the device type is at least one of the following: a common energy device, a delayed energy device, and an energy storage and supply device;
[0011] Based on each online smart device and the corresponding device type, an energy model corresponding to each online smart device is determined.
[0012] Based on each online smart device and its corresponding device type, determine the energy model corresponding to each online smart device, including:
[0013] For any device type, perform model training of the energy model of the device type, the model training comprising: using historical device energy consumption data and corresponding device parameter data as a training set, and using the training set to perform model training on the initial energy model, to obtain a trained initial energy model of the device type;
[0014] Based on the training set of each device type, the trained initial energy models of each device type are jointly trained to obtain a trained energy model of each device type.
[0015] Obtain the current device parameters and user behavior preferences of each online smart device, update the corresponding energy model based on the current device parameters and user behavior preferences, and determine the current energy model of each online smart device, including:
[0016] Obtain the current device parameters and user behavior preferences of each online smart device;
[0017] The weight ratio of the current device parameters and the user behavior preference is set, the current device parameters and the user behavior preference are input into the energy model of the online smart device, and the current energy model of each online smart device is output.
[0018] In response to the current electricity price change information, a control instruction is output to each online smart device based on the current electricity price change information, so that each online smart device adjusts its own energy usage mode and corresponding device parameters based on the corresponding current energy model, including:
[0019] In response to the current electricity price being a peak electricity price, outputting a first control instruction to the online smart device based on the peak electricity price;
[0020] The online intelligent device responds to the first control instruction, determines that the energy usage mode of the device is the energy-saving mode based on the current energy model of the device itself, determines the first parameter corresponding to the energy-saving mode according to the device type, and controls the operation of the device with the first parameter.
[0021] In response to the current electricity price change information, a control instruction is output to each online smart device based on the current electricity price change information, so that each online smart device adjusts its own energy usage mode and corresponding device parameters based on the corresponding current energy model, including:
[0022] In response to the current electricity price being a valley electricity price, outputting a second control instruction to the online intelligent device based on the valley electricity price;
[0023] The online intelligent device responds to the second control instruction, determines that the energy usage mode of the device is the normal mode based on the current energy model of the device itself, determines the second parameter corresponding to the normal mode according to the device type, and controls the operation of the device with the second parameter.
[0024] Determining that the energy usage mode of the device is an energy-saving mode based on the current energy model of the device itself, determining a first parameter corresponding to the energy-saving mode according to the device type, and controlling the operation of the device with the first parameter, including:
[0025] If the device type of the online smart device is a common energy device, the control device itself runs in a low power consumption state;
[0026] If the device type of the online intelligent device is a delayed energy-consuming device, the control device is in standby mode;
[0027] If the device type of the online intelligent device is an energy storage device, the control device is in the energy supply state;
[0028] and / or,
[0029] Determining the energy usage mode of the device as a normal mode based on the current energy model of the device itself, determining a second parameter corresponding to the normal mode according to the device type, and controlling the operation of the device with the second parameter, including:
[0030] If the device type of the online intelligent device is a common energy device, the control device itself operates in a normal state;
[0031] If the device type of the online intelligent device is a delayed energy-consuming device, the control device itself operates in a normal state;
[0032] If the device type of the online intelligent device is an energy storage device, the control device itself is in an energy storage state.
[0033] In response to current electricity price change information, output control instructions to each online smart device based on the current electricity price change information, including:
[0034] If the online smart device supports the Wifi protocol, the server sends the control command to the online smart device based on the Wifi protocol;
[0035] If the online smart device does not support the Wifi protocol, the server sends the control instruction to the gateway based on the Wifi protocol. The gateway converts the control instruction into a control instruction that complies with the communication protocol supported by the smart device and sends the converted control instruction to the online smart device.
[0036] In a second aspect, the present application also provides a server for linkage energy control of a whole-house smart home, the server comprising:
[0037] An energy model acquisition module is used to respond to a request instruction for the energy usage model of the whole house equipment sent by the terminal device, and determine the energy model corresponding to each online smart device in the whole house smart home, wherein the energy model is used to determine the energy usage mode of the smart device and the corresponding device parameters;
[0038] An energy model update module is used to obtain the current device parameters and user behavior preferences of each online smart device, update the corresponding energy model based on the current device parameters and user behavior preferences, determine the current energy model of each online smart device, and send the current energy model to the corresponding online smart device;
[0039] The control module is used to respond to the current electricity price change information and output control instructions to each online smart device based on the current electricity price change information, so that each online smart device can adjust the energy usage mode and corresponding device parameters of the device itself based on the corresponding current energy model.
[0040] In a third aspect, the present application also provides a linkage energy control system for a whole-house smart home, the system comprising a terminal device, a service and a plurality of smart devices, wherein:
[0041] The terminal device obtains the request instruction of the whole-house equipment energy consumption model input by the user and sends it to the server;
[0042] The server is used to respond to the request instruction, determine the energy model corresponding to each online smart device in the whole house smart home, obtain the current device parameters and user behavior preferences of each online smart device, update the corresponding energy model based on the current device parameters and user behavior preferences, determine the current energy model of each online smart device, and send the current energy model to the corresponding online smart device, respond to the current electricity price change information, and output the control instruction to each online smart device based on the current electricity price change information, wherein the energy model is used to determine the energy usage mode of the smart device and the corresponding device parameters;
[0043] The smart device is used to obtain the current energy model corresponding to the device itself, and in response to the control instruction, adjust the energy usage mode of the device itself and the corresponding device parameters based on the current energy model.
[0044] This application updates the energy model of the online smart device in the whole-house smart home through the current device parameters and user behavior preferences of the online smart device, and determines the energy-saving mode and device parameters of the smart device based on changes in electricity prices. It can provide an overall energy usage strategy for smart devices in the whole-house smart home scenario, can control the energy usage of smart devices based on changes in electricity prices, and realize real-time updating of the energy usage strategy of smart devices, thereby improving the overall energy-saving effect of the whole-house smart home devices and the energy-saving effect of smart home devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a first flow chart of the linkage energy control method of the whole-house smart home provided by the embodiment of the present application;
[0046] Figure 2 is a second flow chart of the linkage energy control method for the whole-house smart home provided in an embodiment of the present application;
[0047] Figure 3 is a third flow chart of the linkage energy control method for the whole-house smart home provided in an embodiment of the present application;
[0048] Figure 4 is a fourth flow chart of a linkage energy control method for a whole-house smart home provided in an embodiment of the present application;
[0049] Figure 5 is a fifth flow chart of a linkage energy control method for a whole-house smart home provided in an embodiment of the present application;
[0050] Figure 6 is a sixth flow chart of the linkage energy control method for the whole-house smart home provided in an embodiment of the present application;
[0051] Figure 7 is a seventh flow chart of a linkage energy control method for a whole-house smart home provided in an embodiment of the present application;
[0052] Figure 8 is an eighth flow chart of the linkage energy control method for the whole-house smart home provided in an embodiment of the present application;
[0053] Fig. 9 is a ninth flow chart of a linkage energy control method for a whole-house smart home provided according to an embodiment of the present application;
[0054] Fig.10 is a system block diagram of a server provided according to an embodiment of the present application;
[0055] Fig.11 It is a system block diagram of a linkage energy control system for a whole-house smart home provided according to an embodiment of the present application;
[0056] Fig.12 It is a schematic diagram of the hardware structure of a computer device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0057] The present application will be described in detail below in conjunction with the specific implementation modes shown in the accompanying drawings, but these implementation modes do not limit the present application. Structural, methodological, or functional changes made by ordinary technicians in the field based on these implementation modes are included in the protection scope of the present application.
[0058] Please refer to Figure 1 The present application provides a linkage energy control method for a whole-house smart home, which is applied to a server and includes the following steps:
[0059] Step S101: In response to a request instruction for a whole-house device energy usage model sent by a terminal device, determine an energy model corresponding to each online smart device in the whole-house smart home, wherein the energy model is used to determine the energy usage mode and corresponding device parameters of the smart device.
[0060] Exemplarily, a request instruction for the energy consumption model of the whole house equipment input by the user on the terminal device is obtained, and the terminal device outputs the request instruction to the server. The server receives the request instruction, determines each online smart device in the whole house smart home, and determines the energy model corresponding to each online smart device.
[0061] For example, a user can input a request instruction for the energy usage model of all the devices in the house on the interface of the APP client of the terminal device, so that the server responds to the request instruction and determines the energy model corresponding to each online smart device in the whole house smart home.
[0062] Exemplarily, the server receives a request instruction for the energy usage model of all the equipment in the house, and based on the request instruction, determines each online smart device in the house smart home based on the data interaction result by interacting with each smart device in the house smart home, and determines the device type of each online smart device.
[0063] Exemplarily, in a database of the server, energy consumption models corresponding to each smart device are pre-stored, and a mapping relationship between the identification of the smart device and the energy consumption model is established. The server determines each online smart device and can determine the corresponding energy consumption model according to the identification of each online smart device. The energy model is used to determine the energy consumption mode of the smart device and the corresponding device parameters. The energy model can be trained by a neural network model based on historical energy consumption data and historical device parameter data.
[0064] Exemplarily, the energy usage mode may be an energy-saving mode or a normal mode. The device parameter may be an operating parameter of the device, and the operating parameter may be an operating mode, temperature, brightness, operating time, etc. Based on the energy usage model, corresponding device parameters may be determined according to different energy usage modes, and thus the energy usage strategy of the device may be controlled.
[0065] Exemplarily, the terminal device may be a mobile phone, a tablet computer, an IPAD, a wearable device, etc.
[0066] Exemplarily, the smart device may be a refrigerator, an air conditioner, a washing machine, a sweeping robot, a charging pile, a dryer, a balcony photovoltaic device, etc.
[0067] Step S102: Obtain the current device parameters and user behavior preferences of each online smart device, update the corresponding energy model based on the current device parameters and user behavior preferences, determine the current energy model of each online smart device, and send the current energy model to the corresponding online smart device.
[0068] The server exchanges data with each online smart device and obtains the current device parameters of each online smart device based on the result of the data interaction. The current device parameters can be device operating parameters that characterize the current smart device, such as operating mode parameters and temperature parameters of the air conditioner.
[0069] It is understandable that user behavior preferences can be user usage habits and behavior preferences for smart devices, such as device usage time period preferences, room temperature preferences, etc. The server updates the energy model of each smart device based on the current device parameters of each smart device and the user's behavior preferences, thereby obtaining the current energy model of each online smart device and sending the current energy model to the corresponding online smart device. Based on the current energy model obtained, the online smart device can adjust the parameters of the device under different energy usage modes to achieve a better energy consumption state for the online smart devices in the whole house.
[0070] Step 103: In response to the current electricity price change information, a control instruction is output to each online smart device based on the current electricity price change information, so that each online smart device determines its own energy usage mode and corresponding device parameters based on the corresponding current energy model.
[0071] The server monitors the current electricity price changes in real time. When the electricity price changes, it generates control instructions based on the current electricity price change information. The server sends the control instructions to each online smart device. Each online smart device receives the control instructions and determines the energy usage mode and corresponding device parameters of the device itself based on the stored current energy model to adjust the energy usage strategy of the smart device.
[0072] In this embodiment, the energy model of the online smart device is updated through the current device parameters and user behavior preferences of the online smart device in the whole house smart home, and the energy-saving mode and operating parameters of the smart device are controlled based on the change in electricity price. The overall energy control strategy of the smart device in the whole house smart home scenario can be provided, the energy control of the smart device can be realized based on the change in electricity price, and the real-time update of the energy-saving strategy of the smart device can be realized, thereby improving the overall energy-saving effect of the smart home devices in the whole house, realizing the refined management of household energy consumption and improving energy utilization efficiency, providing users with the maximum energy consumption based on the change in electricity price, and improving the user experience of the smart home.
[0073] In one embodiment, Figure 2 As shown, based on each online smart device and the corresponding device type, determining the energy model corresponding to each online smart device includes the following steps:
[0074] Step S201: In response to the request instruction of the whole-house equipment energy consumption model sent by the terminal device, each online smart device and the corresponding device type in the whole-house smart home are determined, and the device type is at least one of the following: common energy device, delayed energy device, and energy storage and supply device.
[0075] Smart devices can be classified into different types according to their functions and energy usage characteristics. For example, device types can be divided into common energy devices, delayed energy devices, and energy storage and supply devices. Common energy devices generally refer to devices that need to be used continuously or frequently, such as refrigerators and air conditioners; delayed energy devices generally refer to devices that can be used later, such as washing machines and sweeping robots; energy storage and supply devices generally refer to devices involving the storage and supply of energy, such as solar photovoltaic panels.
[0076] Exemplarily, the server stores the device types corresponding to each smart device and the device itself, for example, constructs a mapping relationship between the ID of the smart device and the device type. The server receives a request instruction for the energy consumption model of the whole house equipment, and based on the request instruction, determines each online smart device in the whole house smart home based on the interaction result by interacting with each smart device in the whole house smart home, and determines the corresponding device type based on the device ID of each online smart device.
[0077] Step S202: Based on each online smart device and the corresponding device type, determine the energy model corresponding to each online smart device.
[0078] According to each online smart device and the corresponding device type, an energy model corresponding to the online smart device is determined based on the device type. For example, if the device type is a common energy device, the corresponding energy model is the energy model of the common energy device; if the device type is a delayed energy device, the corresponding energy model is the energy model of the delayed energy device; if the device type is an energy storage and supply device, the corresponding energy model is the energy model of the energy storage and supply device.
[0079] Smart devices can be divided into different types according to their functional characteristics and energy characteristics. For each type of device, a corresponding energy model can be obtained by training the neural network model. Different types of devices will also lead to different settings of their operating parameters and energy modes. For example, the energy consumption of an air conditioner is related to the operating time of the temperature setting, and the energy consumption of a washing machine is related to different washing modes.
[0080] In this embodiment, by analyzing the device type of the smart device and determining the corresponding energy model, the corresponding energy model can be determined according to the characteristics of each smart device, so that the energy model can better adapt to the characteristics of the smart device itself, thereby better providing energy usage strategies for the smart device.
[0081] In one embodiment, Figure 3 As shown, based on each online smart device and the corresponding device type, determining the energy model corresponding to each online smart device includes the following steps:
[0082] Step S301: for any device type, perform model training of the energy model of the device type, the model training includes: using historical device energy usage data and device parameter data as a training set, and using the training set to train the initial energy model to obtain a trained initial energy model of the device type.
[0083] For different types of equipment, corresponding energy models are constructed and model training is performed. For any type of equipment, the energy model of the equipment type is trained. The model training includes: obtaining historical data of the equipment type, that is, obtaining historical equipment energy consumption data and corresponding equipment parameter data, obtaining historical equipment energy consumption data and corresponding equipment parameter data as a training set, and using the training set to train the initial energy model. During the model training process, the model parameters are continuously adjusted to obtain a trained initial energy model of the equipment type. The trained initial energy model can be used to obtain a match between the energy consumption mode of the smart device and the optimal device parameters. The historical equipment energy consumption data can be the energy consumption data of the smart device in different time periods / different conditions, and the corresponding equipment parameter data in the time period / under the conditions, such as the energy consumption statistics of the smart device in each time period, the temperature set by the user, etc. as a training set.
[0084] The energy model can be a neural network model built based on machine learning or deep learning methods. The initial energy model parameters can be adjusted to make the predicted output of the initial energy model as consistent as possible with the actual energy consumption data. This process is called training. The goal of training is to optimize the model parameters of the energy model so that it can accurately capture and predict the energy consumption pattern of smart devices under device parameters, thereby forming an energy model that can accurately describe the energy consumption characteristics of smart devices and provide accurate decision support for energy management and device control.
[0085] Step S302: Based on the training set of each device type, jointly train the trained initial energy models of each device type to obtain a trained energy model of each device type.
[0086] Joint training can refer to the process of combining the initial energy models of different device types and training them simultaneously using their respective training sets. The training set of each device type can contain the historical energy usage data and device parameter data of the smart device of that type. During the joint training process, although the energy model corresponding to each smart device is independent of its device type, it is optimized under the same training framework, which can consider the potential correlation and influence between different smart devices in the whole house smart home, so that different energy models can learn from each other, share knowledge, and improve the prediction accuracy of their respective models. After joint training, the energy models of various device types are optimized, and the energy model can better reflect the energy strategy of the overall linkage of the whole house smart home.
[0087] This embodiment can accurately capture the energy consumption characteristics and operating rules of each type of device, realize personalized and refined management of the energy consumption of smart devices in the whole house, optimize the overall energy consumption of the whole smart home, and provide accurate energy modes and device parameters for smart devices in the whole smart home.
[0088] In one embodiment, Figure 4 As shown, the current device parameters and user behavior preferences of each online smart device are obtained, the corresponding energy model is updated based on the current device parameters and user behavior preferences, and the current energy model of each online smart device is determined, including the following steps:
[0089] Step S401: Obtain current device parameters and user behavior preferences of each online smart device.
[0090] The current device parameters can be the temperature of the refrigerator, the temperature of the air conditioner, the charging power of the charging pile, the working mode of the sweeper, the set drying temperature of the dryer, the output power of the balcony photovoltaic, etc. User behavior preferences reflect the user's usage habits and personalized needs for smart home devices. For example, the user may prefer to turn on the air conditioner in advance through mobile phone remote control or set automatic temperature adjustment to maintain a constant indoor temperature before arriving home; the user may set the washing program to start at a specific time in the evening. It should be noted that the user behavior preference can be the user's historical behavior preference, and the user behavior preference can be obtained through the user's client on the terminal device, or indirectly obtained by analyzing the user's interaction behavior with the device.
[0091] Step S402: setting the weight ratio of the current device parameters and the user behavior preference, inputting the current device parameters and the user behavior preference into the energy model of the online smart device, and outputting the current energy model of each online smart device.
[0092] According to the current device parameters and user behavior preferences of the online smart devices, the weight ratio of the current device parameters and the user behavior preferences is set, that is, the weight of the current device parameters is set, and the weight of the user behavior preferences is set, and the current device parameters and user behavior preferences are input into the energy model of the online smart devices, and the current energy model of each online smart device is output. The weight of the current device parameters and the weight of the user behavior preferences can be set according to the actual situation. For example, taking air conditioning equipment as an example, the user behavior preference is the preference for the air conditioning use time period and room temperature setting, so the weight of the user behavior preference can be set higher than the weight of the current device parameters. By assigning weights to the input parameters of the model, their relative importance in the energy model is balanced.
[0093] In this embodiment, the energy model of the device is updated according to the current device parameters and user behavior preferences to output an energy model that is more suitable for the smart device in the current scenario, so that the energy model can be more adaptable to changes in user behavior and real-time updates of device status, and the output is a whole-house energy control strategy that is more suitable for the family. Real-time updating of the device energy-saving strategy is achieved, which can respond to various needs of users and make energy management more flexible, so that it can adapt to energy strategy control in various smart home scenarios, thereby improving the energy-saving effect of smart devices in the whole smart home.
[0094] In one embodiment, Figure 5 As shown, in response to the current electricity price change information, a control instruction is output to each online smart device based on the current electricity price change information, so that each online smart device adjusts the energy usage mode and corresponding device parameters of the device itself based on the corresponding current energy model, including the following steps:
[0095] Step S501: In response to the current electricity price being a peak electricity price, outputting a first control instruction to an online smart device based on the peak electricity price.
[0096] Peak electricity price may refer to an electricity price set by the power company that is higher than the basic electricity price during a period of high electricity demand. Through a third-party electricity price platform, the server can monitor the current electricity price information in real time. When the server detects that the current electricity price is the peak electricity price, it sends a first control instruction to each online smart device. The first control instruction is used to indicate that the current electricity price is the peak electricity price.
[0097] Step S502: The online intelligent device responds to the first control instruction, determines that the energy usage mode of the device is the energy-saving mode based on the current energy model of the device itself, determines the first parameter corresponding to the energy-saving mode according to the device type, and controls the operation of the device with the first parameter.
[0098] The online smart device obtains the first control instruction, and the online smart device can determine that the energy usage mode of the device is the energy-saving mode based on the current energy model, determine the first parameter corresponding to the energy-saving mode according to the device type and the current energy model, and control the operation of the device with the first parameter.
[0099] For common energy devices, such as air conditioners, the first parameter can be to increase the set temperature to reduce the cooling load; for delayed energy devices, such as washing machines, the first parameter can be to delay the start or adjust to a lower energy consumption washing mode; for energy storage and supply devices, such as balcony photovoltaics, the first parameter can be to adjust its energy storage strategy to prioritize the storage of electricity generated during off-peak hours so that it can be used during peak hours. After determining the first parameter, each smart device will automatically adjust its operating status according to its corresponding device type and the first parameter.
[0100] In one embodiment, Figure 6 As shown, in response to the current electricity price change information, a control instruction is output to each online smart device based on the current electricity price change information, so that each online smart device adjusts the energy usage mode and corresponding device parameters of the device itself based on the corresponding current energy model, including the following steps:
[0101] Step S601: In response to the current electricity price being a valley electricity price, outputting a second control instruction to an online smart device based on the valley electricity price.
[0102] The off-peak electricity price may refer to an electricity price set by the power company that is lower than the basic electricity price during a period of low electricity demand. When the server detects that the current electricity price is the off-peak electricity price through the third-party electricity price platform, the server sends a second control instruction to each online smart device. The second control instruction is used to indicate that the current electricity price is the off-peak electricity price.
[0103] Step S602: The online intelligent device responds to the second control instruction, determines that the energy usage mode of the device is the normal mode based on the current energy model of the device itself, determines the second parameter corresponding to the normal mode according to the device type, and controls the operation of the device with the second parameter.
[0104] When the online smart device receives the second control instruction, the online smart device can determine that the energy usage mode of the device is the normal mode based on the current energy model. According to the device type and the current energy model of the device, the second parameter corresponding to the normal mode is determined, and the operation of the device is controlled by the second parameter.
[0105] For commonly used energy devices, such as air conditioners, the second parameter may be to adjust the temperature setting back to the user's preferred comfort range; for delayed energy consumption devices, such as washing machines, the second parameter may be the normal startup parameter; for energy storage and supply devices, such as balcony photovoltaics, the second parameter may be that in normal mode, energy output may be optimized according to weather and sunshine conditions, while excess energy is delivered to the battery energy storage system or the power grid.
[0106] This embodiment can dynamically adjust the parameters of smart devices according to the information of electricity price changes to achieve the control of device energy consumption. During the period of peak electricity price, the device is controlled to energy-saving mode to save the energy consumption of each smart device in the whole smart home. During the period of low electricity price, the device is controlled to normal operation mode to effectively utilize the energy in this period, thereby improving the reasonable allocation of household electricity resources and reducing household electricity bills.
[0107] In one embodiment, Figure 7 As shown, based on the current energy model of the device itself, determining that the energy usage mode is the energy-saving mode, and determining the first parameter corresponding to the energy-saving mode according to the device type, and controlling the operation of the device with the first parameter, includes the following steps:
[0108] Step S701: If the device type of the online smart device is a normal energy device, the device itself is controlled to operate in a low power consumption state.
[0109] If the device type of the online smart device is a common energy device, the energy usage mode of the device is determined to be an energy-saving mode based on the current energy model of the common energy device itself, and the smart device is controlled to operate in a low power consumption state to reduce the power consumption of the device. For example, the refrigerator cooling temperature is reduced or the air conditioner temperature is increased to make the refrigerator or air conditioner operate in a low power consumption state.
[0110] Step S702: If the device type of the online smart device is a delayed energy-consuming device, the device is controlled to be in a standby state.
[0111] If the device type of the online smart device is a delayed energy-consuming device, the energy-consuming mode of the device is determined to be an energy-saving mode based on the current energy model of the delayed energy-consuming device itself, and the device is controlled to be in a standby state. The standby state may be that the device is in a sleep mode. For example, the standby state of a smart TV may only keep the central processor of the smart TV powered, and the rest of the parts are powered off. The standby state of a specific device can be set according to the actual needs of the device, and this application does not specifically limit this.
[0112] Step S703: If the device type of the online smart device is an energy storage and supply device, the device is controlled to be in an energy supply state.
[0113] If the type of online smart device is energy storage and supply device, the energy consumption mode of the device is determined to be energy-saving mode based on the current energy model of the energy storage and supply device itself, and the device is controlled to be in energy supply state. For example, the balcony photovoltaic is controlled to be in energy supply state so that the balcony photovoltaic can provide energy or connect to the grid to sell electricity.
[0114] In one embodiment, Figure 8 As shown, based on the current energy model of the device itself, determining that the energy usage mode is the normal mode, determining the second parameter corresponding to the normal mode according to the device type, and controlling the operation of the device with the second parameter, includes the following steps:
[0115] Step S801: If the device type of the online smart device is a common-function device, the device itself is controlled to operate in a normal state.
[0116] If the device type of the online smart device is a common energy device, the energy usage mode of the device is determined to be a normal mode based on the current energy model of the common energy device itself, and the device is controlled to be in a normal operating state. For example, an air conditioner can operate normally according to the temperature set by the user.
[0117] Step 802: If the device type of the online smart device is a delayed energy-consuming device, the device itself is controlled to operate in a normal state.
[0118] If the device type of the online smart device is a delayed energy consumption device, the energy consumption mode of the device is determined to be a normal mode based on the current energy model of the delayed energy consumption device itself, and the delayed energy consumption device operates in a normal state, for example, the charging pile starts charging normally.
[0119] Step S803: If the device type of the online smart device is an energy storage and supply device, the control device itself is in an energy storage state.
[0120] If the type of online intelligent device is energy storage and supply device, the energy usage mode of the device is determined to be normal mode based on the current energy model of the energy storage and supply device itself. For example, the balcony photovoltaic is controlled to be in energy storage state, and energy is obtained from the power grid to store electrical energy.
[0121] This embodiment can achieve refined energy management according to changes in electricity prices and equipment characteristics, optimize household energy consumption, improve energy utilization efficiency, and maximize the energy use of smart home devices throughout the house.
[0122] In one embodiment, Fig. 9 As shown, in response to the current electricity price change information, outputting control instructions to each online smart device based on the current electricity price change information includes the following steps:
[0123] Step S901: If the online smart device supports the Wifi protocol, the server sends the control instruction to the online smart device based on the Wifi protocol.
[0124] Step S902: If the online smart device does not support the Wifi protocol, the server sends the control instruction to the gateway based on the Wifi protocol. The gateway converts the control instruction into a control instruction that complies with the communication protocol supported by the smart device and sends the converted control instruction to the online smart device.
[0125] The server can determine the communication protocols supported by each smart device based on each smart device. For online smart devices that support the Wifi protocol, the server encapsulates the control instructions into a data packet that complies with the Wifi protocol format, and sends the data packet to the corresponding online smart device. The online smart device receives the data packet, parses the data packet based on the Wifi protocol, obtains the control instructions in the data packet, and uses the control instructions to adjust the device parameters of the device.
[0126] If the online smart device does not support the Wifi protocol, for example, the communication protocols supported by the online smart device are Zigbee protocol, Sigmesh protocol, Z-Wave protocol, etc., it is generally necessary to perform protocol conversion and data forwarding through the gateway in the smart home system. The gateway can support multiple communication protocols, such as Wifi protocol, Zigbee protocol, Sigmesh protocol, Z-Wave protocol, etc. The gateway can determine the communication protocols supported by each smart device. The data communication between the server and the gateway is generally based on the Wifi protocol for data transmission, and the communication between the gateway and each smart device can be based on the communication protocol supported by the smart device itself for data transmission. The server encapsulates the control instruction into a first data packet that conforms to the Wifi protocol format and sends the first data packet to the gateway. The gateway determines the communication protocol supported by the smart device based on the smart device ID in the first data packet, encapsulates the first data packet into a second data packet that conforms to the communication protocol, and sends the second data packet to the corresponding online smart device. The online smart device receives the second data packet, parses the second data packet, obtains the control instruction in the second data packet, and determines the energy usage mode and corresponding device parameters of the device with the control instruction.
[0127] In this implementation, by converting the control instructions into communication protocols, communication between the server and various smart devices in the whole-house smart home can be achieved, batch regulation of various smart devices in the whole-house smart home can be achieved, batch regulation of multi-protocol smart devices can be achieved, and then the energy consumption strategy of the whole-house smart home can be adjusted.
[0128] Based on the same inventive concept, the embodiment of the present application also provides a server involved in the above-mentioned whole-house smart home linkage energy control method. The implementation scheme for solving the problem provided by the server is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the server embodiment provided below can refer to the above-mentioned limitations on the whole-house smart home linkage energy control method, which will not be repeated here.
[0129] like Fig.10 As shown, the present application provides a server, which includes:
[0130] The energy model acquisition module 1001 is used to respond to the request instruction of the whole-house equipment energy usage model sent by the terminal device, and determine the energy model corresponding to each online smart device in the whole-house smart home, wherein the energy model is used to determine the energy usage mode and corresponding device parameters of the smart device;
[0131] The energy model updating module 1002 is used to obtain the current device parameters and user behavior preferences of each online smart device, update the corresponding energy model based on the current device parameters and user behavior preferences, determine the current energy model of each online smart device, and send the current energy model to the corresponding online smart device;
[0132] The control module 1003 is used to respond to the current electricity price change information and output control instructions to each online smart device based on the current electricity price change information, so that each online smart device adjusts its own energy usage mode and corresponding device parameters based on the corresponding current energy model.
[0133] In this embodiment, the energy model of the online smart device is updated through the current device parameters and user behavior preferences of the online smart device in the whole house smart home, and the energy-saving mode and operating parameters of the smart device are controlled based on the change in electricity price. The energy consumption of the smart device can be controlled based on the change in electricity price, and the energy-saving strategy of the smart device can be updated in real time, thereby improving the overall energy-saving effect of the smart home devices in the whole house, and providing users with the maximum energy consumption and supply based on the change in electricity price.
[0134] Furthermore, the energy model acquisition module 1001 is specifically used for:
[0135] In response to a request instruction for a whole-house equipment energy usage model sent by a terminal device, determine each online smart device in the whole-house smart home and the corresponding device type, where the device type is at least one of the following: a common energy device, a delayed energy device, and an energy storage and supply device;
[0136] Based on each online smart device and the corresponding device type, an energy model corresponding to each online smart device is determined.
[0137] Furthermore, the energy model acquisition module 1001 is specifically used for:
[0138] For any device type, perform model training of the energy model of the device type, the model training comprising: using historical device energy consumption data and corresponding device parameter data as a training set, and using the training set to perform model training on an initial energy model to obtain a trained initial energy model of the device type;
[0139] Based on the training set of each device type, the trained initial energy models of each device type are jointly trained to obtain a trained energy model of each device type.
[0140] Furthermore, the energy model updating module 1002 is specifically used for:
[0141] Obtain the current device parameters and user behavior preferences of each online smart device;
[0142] The weight ratio of the current device parameters and the user behavior preference is set, the current device parameters and the user behavior preference are input into the energy model of the online smart device, and the current energy model of each online smart device is output.
[0143] Furthermore, the control module 1003 is specifically used for:
[0144] In response to the current electricity price being a peak electricity price, outputting a first control instruction to the online smart device based on the peak electricity price;
[0145] The online intelligent device responds to the first control instruction, determines that the energy usage mode of the device is the energy-saving mode based on the current energy model of the device itself, determines the first parameter corresponding to the energy-saving mode according to the device type, and controls the operation of the device with the first parameter.
[0146] Furthermore, the control module 1003 is specifically used for:
[0147] In response to the current electricity price being a valley electricity price, outputting a second control instruction to the online intelligent device based on the valley electricity price;
[0148] The online intelligent device responds to the second control instruction, determines that the energy usage mode of the device is the normal mode based on the current energy model of the device itself, determines the second parameter corresponding to the normal mode according to the device type, and controls the operation of the device with the second parameter.
[0149] Furthermore, the control module 1003 is specifically used for:
[0150] If the device type of the online smart device is a common energy device, the control device itself runs in a low power consumption state;
[0151] If the device type of the online intelligent device is a delayed energy-consuming device, the control device is in standby mode;
[0152] If the device type of the online intelligent device is an energy storage and supply device, the control device is in an energy supply state.
[0153] Furthermore, the control module 1003 is specifically used for:
[0154] If the device type of the online intelligent device is a common energy device, the control device itself operates in a normal state;
[0155] If the device type of the online intelligent device is a delayed energy-consuming device, the control device itself operates in a normal state;
[0156] If the device type of the online intelligent device is an energy storage device, the control device itself is in an energy storage state.
[0157] Furthermore, the control module 1003 is specifically used for:
[0158] If the online smart device supports the Wifi protocol, the server sends the control command to the online smart device based on the Wifi protocol;
[0159] If the online smart device does not support the Wifi protocol, the server sends the control instruction to the gateway based on the Wifi protocol. The gateway converts the control instruction into a control instruction that complies with the communication protocol supported by the smart device and sends the converted control instruction to the online smart device.
[0160] like Fig.11 As shown, the present application provides a linkage energy control system for the whole house smart home, the system includes a terminal device 1101, a server 1102 and multiple smart devices 1103, wherein:
[0161] The terminal device 1101 obtains the request instruction of the whole-house equipment energy consumption model input by the user and sends it to the server;
[0162] The server 1102 is used to determine the energy model corresponding to each online smart device in the whole smart home in response to the request instruction, obtain the current device parameters and user behavior preferences of each online smart device, update the corresponding energy model based on the current device parameters and user behavior preferences, determine the current energy model of each online smart device, and send the current energy model to the corresponding online smart device, and output a control instruction to each online smart device based on the current electricity price change information in response to the current electricity price change information, wherein the energy model is used to determine the energy usage mode of the smart device and the corresponding device parameters;
[0163] The smart device 1103 is used to obtain the current energy model corresponding to the device itself, and in response to the control instruction, adjust the energy usage mode of the device itself and the corresponding device parameters based on the current energy model.
[0164] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, any of the above-mentioned methods for controlling the linked energy use of a whole-house smart home is implemented.
[0165] Fig.12 It is a schematic diagram of the hardware structure of a computer device provided in an embodiment of the present application. Fig.12 The computer device shown includes: a processor 1201, a communication interface 1202, a memory 1203 and a communication bus 1204. The processor 1201, the communication interface 1202 and the memory 1203 communicate with each other via the communication bus 1204. Fig.12 The connection method between the processor 1201, the communication interface 1202, and the memory 1203 shown is merely exemplary. During implementation, the processor 1201, the communication interface 1202, and the memory 1203 may also be connected to each other in communication with each other using other connection methods besides the communication bus 1204.
[0166] The memory 1203 can be used to store computer programs, which may include instructions and data to implement the steps of any of the above methods for controlling the linkage energy consumption of the whole smart home. In an embodiment of the present application, the memory 1203 may be various types of storage media, such as random access memory (RAM), read only memory (ROM), non-volatile RAM (NVRAM), programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), flash memory, optical storage, and registers. The memory 1203 may include a hard disk and / or memory.
[0167] The processor 1201 may be a general-purpose processor, which may be a processor that performs specific steps and / or operations by reading and executing a computer program (e.g., a computer program) stored in a memory (e.g., memory 1203), and the general-purpose processor may use data stored in the memory (e.g., memory 1203) during the execution of the steps and / or operations. The general-purpose processor may be, for example, but not limited to, a central processing unit (CPU). In addition, the processor 1201 may also be a dedicated processor, which may be a processor specially designed to perform specific steps and / or operations, and the dedicated processor may be, for example, but not limited to, an ASIC and an FPGA, etc. In addition, the processor 1201 may also be a combination of multiple processors, such as a multi-core processor.
[0168] The communication interface 1202 may include an input / output (I / O) interface, a physical interface, and a logical interface for interconnecting devices within the network device, as well as an interface for interconnecting the network device with other devices (e.g., network devices). The communication network may be Ethernet, a radio access network (RAN), a wireless local area network (WLAN), etc. The communication interface 1202 may be a module, a circuit, a transceiver, or any device capable of implementing communication.
[0169] In the implementation process, each step of the above method can be completed by an integrated logic circuit of the hardware in the processor 1201 or an instruction in the form of software. The method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in the processor for execution. The software module can be located in a mature storage medium in the art such as a random access memory flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 1203, and the processor 1201 reads the information in the memory 1203 and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it is not described in detail here.
[0170] Although the preferred embodiments of the present application have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the application as disclosed in the accompanying claims.
Claims
1. A linkage energy control method for a whole-house smart home, applied to a server, characterized in that: The method comprises: In response to a request instruction for a whole-house device energy usage model sent by a terminal device, determine an energy model corresponding to each online smart device in the whole-house smart home, wherein the energy model is used to determine an energy usage mode and corresponding device parameters of the smart device; Acquire current device parameters and user behavior preferences of each of the online smart devices, update the corresponding energy model based on the current device parameters and user behavior preferences, determine the current energy model of each online smart device, and send the current energy model to the corresponding online smart device; In response to current electricity price change information, control instructions are output to each of the online smart devices based on the current electricity price change information, so that each of the online smart devices determines the energy usage mode and corresponding device parameters of the device itself based on the corresponding current energy model.
2. The linkage energy control method for the whole-house smart home according to claim 1, characterized in that: The step of responding to the request instruction for the whole-house equipment energy usage model sent by the terminal device, and determining the energy model corresponding to each online smart device in the whole-house smart home, comprises: In response to a request instruction for a whole-house equipment energy usage model sent by a terminal device, determine each online smart device in the whole-house smart home and the corresponding device type, wherein the device type is at least one of the following: a common energy device, a delayed energy device, and an energy storage and supply device; Based on each online smart device and the corresponding device type, an energy model corresponding to each online smart device is determined.
3. The linkage energy control method for the whole-house smart home as claimed in claim 2, characterized in that: The step of determining an energy model corresponding to each online smart device based on each online smart device and the corresponding device type includes: For any device type, perform model training of the energy model of the device type, the model training comprising: using historical device energy consumption data and corresponding device parameter data as a training set, and using the training set to perform model training on an initial energy model to obtain a trained initial energy model of the device type; Based on the training set of each device type, the trained initial energy models of each device type are jointly trained to obtain a trained energy model of each device type.
4. The linkage energy control method for the whole-house smart home according to claim 1, characterized in that: The obtaining of current device parameters and user behavior preferences of each of the online smart devices, updating a corresponding energy model based on the current device parameters and user behavior preferences, and determining a current energy model of each of the online smart devices includes: Obtaining current device parameters and user behavior preferences of each of the online smart devices; The weight ratio of the current device parameters and the user behavior preference is set, the current device parameters and the user behavior preference are input into the energy model of the online smart device, and the current energy model of each online smart device is output.
5. The linkage energy control method for the whole-house smart home as claimed in claim 1, characterized in that: In response to the current electricity price change information, outputting a control instruction to each of the online smart devices based on the current electricity price change information, so that each of the online smart devices adjusts the energy usage mode and corresponding device parameters of the device itself based on the corresponding current energy model, including: In response to a current electricity price being a peak electricity price, outputting a first control instruction to the online smart device based on the peak electricity price; The online intelligent device responds to the first control instruction, determines that the energy usage mode of the device is the energy-saving mode based on the current energy model of the device itself, determines the first parameter corresponding to the energy-saving mode according to the device type, and controls the operation of the device with the first parameter.
6. The linkage energy control method for the whole-house smart home according to claim 1, characterized in that: In response to the current electricity price change information, outputting a control instruction to each of the online smart devices based on the current electricity price change information, so that each of the online smart devices adjusts the energy usage mode and corresponding device parameters of the device itself based on the corresponding current energy model, including: In response to the current electricity price being a valley electricity price, outputting a second control instruction to the online intelligent device based on the valley electricity price; The online intelligent device responds to the second control instruction, determines that the energy usage mode of the device is a normal mode based on the current energy model of the device itself, determines a second parameter corresponding to the normal mode according to the device type, and controls the operation of the device with the second parameter.
7. The linkage energy control method for the whole-house smart home as claimed in claim 5 or 6, characterized in that: The method of determining that the energy usage mode of the device is an energy-saving mode based on the current energy model of the device itself, determining a first parameter corresponding to the energy-saving mode according to the device type, and controlling the operation of the device with the first parameter includes: If the device type of the online smart device is a common energy device, the control device itself operates in a low power consumption state; If the device type of the online intelligent device is a delayed energy-consuming device, the control device is in a standby state; If the device type of the online intelligent device is an energy storage and supply device, the control device is in an energy supply state; and / or, Determining that the energy usage mode of the device is a normal mode based on the current energy model of the device itself, determining a second parameter corresponding to the normal mode according to the device type, and controlling the operation of the device with the second parameter, including: If the device type of the online intelligent device is a common energy device, the control device itself operates in a normal state; If the device type of the online intelligent device is a delayed energy-consuming device, the control device itself operates in a normal state; If the device type of the online intelligent device is an energy storage device, the control device itself is in an energy storage state.
8. The linkage energy control method for the whole-house smart home as claimed in claim 1, characterized in that: The step of responding to the current electricity price change information and outputting a control instruction to each of the online smart devices based on the current electricity price change information includes: If the online smart device supports the Wifi protocol, the server sends the control instruction to the online smart device based on the Wifi protocol; If the online smart device does not support the Wifi protocol, the server sends the control instruction to the gateway based on the Wifi protocol, and the gateway performs protocol conversion on the control instruction, converts it into a control instruction that complies with the communication protocol supported by the smart device, and sends the converted control instruction to the online smart device.
9. A server, characterized in that: The server comprises: An energy model acquisition module is used to respond to a request instruction for the energy usage model of the whole house equipment sent by the terminal device, and determine the energy model corresponding to each online smart device in the whole house smart home, wherein the energy model is used to determine the energy usage mode and corresponding device parameters of the smart device; An energy model updating module, configured to obtain current device parameters and user behavior preferences of each of the online smart devices, update the corresponding energy model based on the current device parameters and user behavior preferences, determine the current energy model of each online smart device, and send the current energy model to the corresponding online smart device; The control module is used to respond to the current electricity price change information and output control instructions to each of the online smart devices based on the current electricity price change information, so that each of the online smart devices adjusts the energy usage mode and corresponding device parameters of the device itself based on the corresponding current energy model.
10. A linkage energy control system for the whole house smart home, characterized in that: It includes terminal equipment, servers and multiple smart devices, among which: The terminal device obtains a request instruction for the whole-house equipment energy consumption model input by the user and sends the request instruction to the server; The server is used to determine the energy model corresponding to each online smart device in the whole house smart home in response to the request instruction, obtain the current device parameters and user behavior preferences of each online smart device, update the corresponding energy model based on the current device parameters and user behavior preferences, determine the current energy model of each online smart device, and send the current energy model to the corresponding online smart device, and respond to the current electricity price change information, output control instructions to each online smart device based on the current electricity price change information, wherein the energy model is used to determine the energy usage mode and corresponding device parameters of the smart device; The smart device is used to obtain the current energy model corresponding to the device itself, and in response to the control instruction, adjust the energy usage mode of the device itself and the corresponding device parameters based on the current energy model.