Intelligent integrated equipment control method and system

Through real-time monitoring and personalized control of deep neural network models, the inaccuracy problem caused by environmental factors in intelligent integrated equipment power management is solved, and the equipment is accurately and efficiently distributed.

CN118897496AInactive Publication Date: 2024-11-05ZHEJIANG SHIWANG WULIAN TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411391435.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-08
Publication Date
2024-11-05
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing intelligent integrated equipment is susceptible to environmental factors in power management, resulting in inaccurate power distribution and inconvenient control methods.

Method used

By monitoring the real-time data and environmental parameters of the user's house in real time, dynamically adjusting the supervision cycle and power distribution mode of the control equipment, using a deep neural network model for personalized power control, and optimizing power distribution with pre-trained models and multimodal fusion features.

Benefits of technology

It realizes accurate control of integrated equipment, improves the level of intelligence, significantly improves the accuracy and efficiency of power distribution, and fully considers the influence of environmental factors such as temperature and humidity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118897496A_ABST
    Figure CN118897496A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent integrated equipment control method and system, and relates to the technical field of electric quantity control, and the system comprises an acquisition input unit, a model training unit, a data processing unit and a trigger regulation and control unit. The technical key points are as follows: real-time related data and environmental parameters of a user house can be monitored in real time, and the supervision period and the electric quantity distribution mode of the control equipment are dynamically adjusted according to the data, so that the intelligent level of the user house is greatly improved, and the integrated accurate control of the equipment is realized; and the personalized control process of the electric energy control model is realized by constructing a deep neural network model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power control, and in particular to an intelligent integrated equipment control method and system. Background Art

[0002] Smart all-in-one devices are smart devices that integrate multiple functions or services into one device, such as audio, smart assistant and home control functions in one device. They usually provide intelligent control and services through artificial intelligence, machine learning and big data analysis. The distribution of power in smart all-in-one devices is a key factor, which involves how to effectively manage and distribute power to ensure that the device can operate normally while avoiding overload or inefficiency. With the development of technology, deep learning models are gradually introduced to realize automatic control and collaborative work of equipment. In the existing technology, an integrated device is usually set up to manage the power of different equipment in the user's house, such as: when the maximum power load is exceeded, power off protection operation is performed and power is distributed to equipment in different houses. Among them, smart meters are generally used to collect power parameters of related equipment in different rooms in the user's house. This control method is still not convenient enough in some cases, especially it is easy to ignore the influence of inaccurate power parameters caused by environmental factors such as temperature and humidity, thereby making the process of allocating power inaccurate; In view of the above technical defects, a solution is now proposed. Summary of the invention

[0003] 1. Technical issues to be resolved In view of the shortcomings of the prior art, the present invention proposes an intelligent integrated equipment control method and system. The system can monitor the real-time relevant data and environmental parameters of the user's house in real time, and dynamically adjust the supervision cycle and power distribution mode of the control equipment according to these data, which greatly improves the intelligence level of the user's house and realizes precise control of equipment integration. It also realizes the personalized control process of the power control model by constructing a deep neural network model, solving the problems raised in the background technology.

[0004] (II) Technical solution In order to achieve the above object, the present invention is implemented by the following technical solutions: An intelligent integrated equipment control method comprises the following steps: S1. Get the pre-trained initial model: After the work order is input, the real-time relevant data of the user's house is obtained, and the judgment analysis is performed to achieve the matching work of the preset load parameters. When the matching is successful, the supervision mechanism is triggered in the calibrated time period, and the target existence state is obtained according to the real-time relevant data; wherein, the target existence state contains the supervision cycle, and the real-time relevant data is compared and analyzed according to the target existence state and the preset rules to obtain the target judgment state, and the target judgment state contains the supervision cycle, and the target judgment state includes the query state and the confirmation state; The pre-initial training model is obtained by inputting the input features of the first target data integrated with the real-time relevant data and the corresponding target existence state and target judgment state into the deep neural network model, and then adjusting the model parameters by back propagation based on the marked required power control mode; S2. Adjust training data: The second target data is obtained by performing preprocessing analysis on the corresponding collected environmental parameters, and the first target data and the second target data are multimodally fused to adjust the input features of the deep neural network model; wherein the environmental parameters include the first environmental parameters and the second environmental parameters; Based on the pre-trained initial model, several blank new connection layers are added after the pre-trained layer of the pre-trained initial model, and the blank connection layers are trained based on the model adjustment input features; based on the model input features, the fully connected layers are gradually adjusted forward from the new connection layer to achieve model optimization; S3. Personalized power allocation: The personalized control of the power control model is completed through the optimized training model. By obtaining the real-time relevant data and environmental parameters of the user's house under the trigger supervision mechanism and inputting them into the adjusted power control model, power is allocated to each device corresponding to the user's house based on the power control model.

[0005] Furthermore, the real-time relevant data include current data, voltage data, power data and distribution load value monitored by the smart meter in each room; wherein, by pre-setting the first threshold interval, the second threshold interval and the third threshold interval corresponding to the distribution load value, and comparing and analyzing the distribution load value with the first threshold interval, the second threshold interval and the third threshold interval, the corresponding target existence state is obtained, including the first load state, the second load state and the third load state; the calibrated time period is set in advance, and a rule engine is built to first divide the twenty-four hours of each day into several time intervals, so that several time intervals are used as time periods, and are calibrated as time periods for continuously triggering the supervision mechanism.

[0006] Furthermore, the specific working process of conducting judgment analysis to achieve matching of preset load parameters is as follows: Step A1, inputting a work instruction, which includes the user's room number, device number, device type, smart meter number, and smart meter parameters; wherein the location, quantity, and type of the smart meter are based on the room type of the user's house; Step A2, after reading the equipment type, search in the entry database and determine whether the equipment type exists in the entry database. When the equipment type entry exists in the entry database, obtain the preset load parameters corresponding to the equipment type. When a preset load parameter corresponds to the equipment type and smart meter parameter in the work instruction, it indicates a successful match. The entry database stores the data required during the operation, including the equipment type, smart meter parameter range and preset load parameters. The preset load parameters refer to a set of parameters generated by merging the distribution load values ​​generated during the corresponding control process.

[0007] Furthermore, the specific working process of comparing and analyzing the real-time related data according to the target existence status and the preset rules is as follows: Step B1, monitor the relevant real-time data through the calibrated time period, and construct a monitoring vector, including: current data, voltage data, power data, target existence status and time period Time, and at the same time count the average value and fluctuation value of the current data, voltage data and power data in each time period; the fluctuation value represents half of the difference between the maximum value and the minimum value of the data in the same time period; For any time period Ta, mark the target existence state in this time period as Sa; mark the average values ​​of the corresponding current data, voltage data and power data in this time period Ta as ma1, ma2 and ma3 respectively, and the fluctuation values ​​of the corresponding current data, voltage data and power data in this time period Ta as mb1, mb2 and mb3 respectively; construct the judgment vector through different combinations; Step B2, input any judgment vector into the preset model, obtain the corresponding judgment result, set the corresponding threshold of the judgment result, and when the judgment result is less than the preset threshold, enter the confirmation state; otherwise, enter the query state; wherein, when the judgment state is the confirmation state, the supervision cycle is to monitor the user's house every 15 minutes and the monitoring number is repeated 5 times; when the judgment state is the query state, the supervision cycle is to monitor the user's house every 3 minutes.

[0008] Furthermore, the steps of pre-initial model training are as follows: Step C1, model construction: Use the deep learning framework to build the initial model architecture, design an input layer corresponding to the first target data feature vector, design a fully connected layer to classify the power matching of the user's premises equipment, design a softmax function as the activation function of the output layer, and select a loss function for training; Step C2, training process: Data segmentation: divide the integrated input features into training set, test set and validation set in a ratio of 3:1:1; Batch training: select the corresponding batch size; Learning rate scheduling: use the learning rate scheduler to dynamically adjust the learning rate; Early stopping: monitor the loss of the validation set; Step C3, evaluation and adjustment: During the training process, the performance of the training model is regularly evaluated on the validation set, and the network structure and model hyperparameters are adjusted according to the validation results; among them, the hyperparameters include learning rate, batch size, and regularization term.

[0009] Furthermore, the specific working process of preprocessing analysis is as follows: Step D1, constructing a reference analysis model: marking the input information as parameter Q, wherein parameter Q includes several data indicators, marking any data indicator in parameter Q as y, and marking the data value of the data indicator y as Ly, and setting the standard interval of the data indicator y as YZ[YZ1, YZ2]; then combining the data value Ly with the standard interval YZ, and obtaining the reference value Cy of the data indicator y by a preset formula; Step D2, applying the reference analysis model: obtaining corresponding collected environmental parameters, including a first environmental parameter and a second environmental parameter; the first environmental parameter includes humidity data and temperature data, which are marked as a1 and a2 respectively; the second environmental parameter includes heat data and electromagnetic data, which are marked as b1 and b2 respectively; The first environmental parameter is marked as parameter U1={humidity data a1, temperature data a2}, and the parameter U1 is substituted into the reference analysis model to obtain the humidity reference value Ca1 and the temperature reference value Ca2, and integrated into the first reference parameter set J1; The second environmental parameter is marked as parameter U2={thermal data b1, electromagnetic data b2}, and the parameter U2 is substituted into the reference analysis model to obtain the thermal reference value Cb1 and the electromagnetic reference value Cb2, and integrated into the second parameter reference set J2; Step D3: Integrate the first reference set J1 and the second reference set J2 and mark them as second target data.

[0010] Furthermore, the specific working process of model optimization is as follows: Step E1, partial freezing: Step E1-1, load the initial model of the pre-trained layer and freeze the underlying feature extraction layer; Step E1-2, add several blank fully connected layers after the frozen bottom feature extraction layer, and fine-tune the top classification layer and regression layer; Step E2, gradual thawing: Step E2-1, preset a learning rate g1 and a learning rate g2, wherein g1<g2, g1∈[0.0001, 0.001] and g2∈[0.001, 0.01]; Unfreeze the frozen pre-trained layers layer by layer, and train the frozen layers with learning rate g1, and train the fine-tuned layers with learning rate g2; start training from the frozen bottom layer, and gradually unfreeze and train the higher layers of the network; Step E2-2, monitor the performance of the model on the training set and the validation set, and adjust the training strategy based on the performance; Step E3, stable training: Step E3-1, repeat step E2 until all training layers are unfrozen, and train a new fully connected layer based on the model to adjust the input features and adjust the training parameters until the newly added fully connected layer training is stable.

[0011] An intelligent integrated equipment control system, comprising an acquisition input unit, a model training unit, a data processing unit and a trigger control unit; The collection input unit obtains the real-time relevant data and environmental parameters corresponding to the user's house, and triggers the supervision mechanism in the calibrated time period, and the operation of the supervision mechanism depends on the data processing unit, the model training unit and the triggering and regulating unit; wherein the environmental parameters include the first environmental parameters and the second environmental parameters; The data processing unit first performs a judgment analysis to achieve the matching of preset load parameters, obtains the target existence state according to the real-time related data, and then performs a comparative analysis according to the target existence state to obtain the target judgment state, and integrates the real-time related data and the corresponding target existence state and target judgment state and marks them as the first target data; through the corresponding collected environmental parameters, the corresponding distribution load value is retrieved at the same time, and before the corresponding distribution load value reaches the maximum value, the real-time environmental parameters are pre-processed and analyzed to obtain the second target data; A model training unit, which trains the first target data and the second target data through a deep neural network and transfer learning technology to obtain a deep learning model, and evaluates and tunes the trained deep learning model; The trigger control unit completes the personalized control of the power control model through the optimized training model, and distributes power to each device corresponding to the user's house based on the power control model.

[0012] (III) Beneficial effects The present invention provides an intelligent integrated equipment control method and system, which has the following beneficial effects: (1) The system can monitor the real-time relevant data and environmental parameters of the user's house in real time, and dynamically adjust the supervision cycle and power distribution mode of the control equipment based on these data, which greatly improves the intelligence level of the user's house and realizes precise control of equipment integration; (2) The system can significantly reduce the time required to train the model from scratch by constructing a deep neural network model and using a pre-trained neural network as a starting point. By introducing the fusion features of the first target data and the second target data and fine-tuning the pre-trained model, higher accuracy and precision can be obtained than at the beginning of training. In this process, the influence of environmental factors such as temperature and humidity is fully considered, the feature extraction layer is frozen, and the classification layer and regression layer are fine-tuned to better adapt to the pre-specific application scenarios, thereby realizing the personalized control process of the power control model. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 A schematic diagram of the process of the present invention is shown; Figure 2 A module schematic diagram of the present invention is shown. DETAILED DESCRIPTION

[0014] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Embodiment 1

[0015] See also Figure 1 , this embodiment provides a method for controlling an intelligent integrated device; The control method comprises the following specific steps: S1. Get the pre-trained initial model: After the work order is input, the real-time relevant data of the user's house is obtained, and the judgment analysis is performed to achieve the matching work of the preset load parameters. When the matching is successful, the supervision mechanism is triggered in the calibrated time period, and the target existence state is obtained according to the real-time relevant data; wherein, the target existence state contains the supervision cycle, and the real-time relevant data is compared and analyzed according to the target existence state and the preset rules to obtain the target judgment state, and the target judgment state contains the supervision cycle, and the target judgment state includes the query state and the confirmation state; The pre-initial training model is obtained by inputting the input features of the first target data integrated with the real-time relevant data and the corresponding target existence state and target judgment state into the deep neural network model, and then adjusting the model parameters by back propagation based on the marked required power control mode; Among them, the real-time relevant data includes the current data, voltage data, power data and distribution load value monitored by the smart meter in each room; among them, by presetting the first threshold interval, the second threshold interval and the third threshold interval corresponding to the distribution load value, and comparing and analyzing the distribution load value with the preset first threshold interval, the second threshold interval and the third threshold interval, the load state interval of the equipment is determined, so as to improve the accuracy of the monitoring data in the subsequent process; generally speaking, the data measured in a stable load state is more accurate than the data measured in a high load state; When the distribution load value is in the first threshold interval, it is determined to be in a low load state and marked as the first load state; when the distribution load value is in the second threshold interval, it is determined to be in a medium load state and marked as the second load state; when the distribution load value is in the third threshold interval, it is determined to be in a high load state and marked as the third load state; wherein the first threshold interval is smaller than the second threshold interval and smaller than the third threshold interval; At the same time, the calibrated time period is set in advance. By building a rule engine, the twenty-four hours of each day are first divided into several time intervals and several time intervals are used as time periods, and then calibrated as time periods that continuously trigger the regulatory mechanism; The specific working process of conducting judgment analysis to achieve matching of preset load parameters is as follows: Step A1, inputting a work instruction, which includes the user's room number, device number, device type, smart meter number, and smart meter parameters; wherein the location, quantity, and type of the smart meter are based on the room type of the user's house; The room numbers are 1, 2, ..., N0, where N0 is the total number of rooms corresponding to the user's house, and N0 is a positive integer; The device serial number is 1, 2, ..., N1, where N1 is the total number of devices and is a positive integer; The device types are M1, M2, ..., Mi, where M1, M2, ..., Mi are all device types that correspond one-to-one to the device serial numbers; for example: home cameras, home televisions, home recorders, etc.; The serial numbers of smart meters are 1, 2, ..., N2, where N2 is the total number of smart meters and N2 is a positive integer; The parameters of the smart meter are K1, K2, ..., Ki, and K1, K2, ..., Ki are all parameters corresponding to the serial number of the smart meter one by one; Step A2, after the device type is read, search in the entry database and determine whether the device type exists in the entry database. When the entry of the device type exists in the entry database, obtain the preset load parameter corresponding to the device type. When a preset load parameter corresponds to the device type and smart meter parameter in the work instruction, it indicates that the match is successful; wherein the entry database stores the data required during the operation, including the device type, the smart meter parameter range and the preset load parameter; the preset load parameter refers to a parameter set generated by combining the distribution load value generated during the corresponding control process; Among them, the specific working process of comparing and analyzing the real-time related data according to the target existence status and the preset rules is as follows: Step B1, monitor the relevant real-time data through the calibrated time period, and construct a monitoring vector, including: current data, voltage data, power data, target existence status and time period Time, and at the same time count the average value and fluctuation value of the current data, voltage data and power data in each time period; the fluctuation value represents half of the difference between the maximum value and the minimum value of the data in the same time period; For any time period Ta, the target existence state in the time period is marked as Sa; the average values ​​of the corresponding current data, voltage data and power data in the time period Ta are marked as ma1, ma2 and ma3 respectively, and the fluctuation values ​​of the corresponding current data, voltage data and power data in the time period Ta are marked as mb1, mb2 and mb3 respectively; Eight judgment vectors are constructed through different combinations, including: ; ; ; ; ; ; ; ; Step B2, input any judgment vector into the preset model, obtain the corresponding judgment result, set the threshold value corresponding to the judgment result, and when the judgment result is less than the preset threshold value, enter the confirmation state; otherwise, enter the query state; wherein, when the judgment state is the confirmation state, the supervision cycle is to monitor the user's house every 15 minutes and the monitoring number is cycled 5 times; when the judgment state is the query state, the supervision cycle is to monitor the user's house every 3 minutes; The real-time related data, the corresponding target existence status and the target judgment status are integrated and marked as the first target data; In this embodiment, it should be noted that the preset model is a judgment model built into the system, which is built using a CNN neural network model. An initial neural network model (CNN) usually includes the following basic components: Input layer: The input layer is the first layer of the neural network and is responsible for receiving input data. At this stage, the raw data (such as image pixels, audio samples, or text data) is converted into a form that the network can process. In this embodiment, the judgment vector is input into the network, and the features of the judgment vector are extracted, such as time features, state features, etc. Hidden layer: It extracts features from input data and performs nonlinear transformation. It is located between the input layer and the output layer. There can be one or more hidden layers. Each layer contains several neurons (or nodes), and each neuron is connected to all neurons in the previous layer. Output layer: The output layer is the last layer of the neural network. Its task is to output the final prediction results based on the learning and processing of the network. By inputting any judgment vector into the model, the corresponding preprocessing result is output to perform quick reading judgment, and different judgment states are obtained to adaptively adjust the supervision mechanism, thereby improving the efficiency of system calculation; Among them, the steps of pre-initial model training are as follows: Step C1, model construction: Use the deep learning framework to build the initial model architecture, design an input layer corresponding to the first target data feature vector, design a fully connected layer to classify the power matching of the user's premises equipment, design a softmax function as the activation function of the output layer, and select a loss function for training; Step C2, training process: Data segmentation: divide the integrated input features into training set, test set and validation set in a ratio of 3:1:1; Batch training: select the corresponding batch size; Learning rate scheduling: use the learning rate scheduler to dynamically adjust the learning rate; Early stopping: monitor the loss of the validation set; Step C3, evaluation and adjustment: During the training process, the performance of the training model is regularly evaluated on the validation set, and the network structure and model hyperparameters are adjusted according to the validation results; hyperparameters include learning rate, batch size, and regularization term; S2. Adjust training data: The second target data is obtained by performing preprocessing analysis on the corresponding collected environmental parameters, and the first target data and the second target data are multimodally fused to adjust the input features of the deep neural network model; wherein the environmental parameters include the first environmental parameters and the second environmental parameters; Based on the pre-trained initial model, several blank new connection layers are added after the pre-trained layer of the pre-trained initial model, and the blank connection layers are trained based on the model adjustment input features; based on the model input features, the fully connected layers are gradually adjusted forward from the new connection layer to achieve model optimization; Among them, the specific working process of preprocessing analysis is: Step D1, constructing a reference analysis model: marking the input information as parameter Q, which includes several data indicators, marking any data indicator in parameter Q as y, and the data value of the marked data indicator y is Ly, setting the standard interval of the data indicator y to YZ[YZ1, YZ2]. When Ly is within the standard interval, it means that the data indicator y is normal; otherwise, it means that the data indicator y is abnormal; then combine the data value Ly with the standard interval YZ, and preset the formula: Obtain the reference value Cy of the data indicator y; it should be noted that the reference value Cy is a parabola opening upward, and the reference value Cy is greater than or equal to 0; Step D2, applying the reference analysis model: obtaining corresponding collected environmental parameters, including a first environmental parameter and a second environmental parameter; the first environmental parameter includes humidity data and temperature data, which are marked as a1 and a2 respectively; the second environmental parameter includes heat data and electromagnetic data, which are marked as b1 and b2 respectively; The first environmental parameter is marked as parameter U1={humidity data a1, temperature data a2}, and the parameter U1 is substituted into the reference analysis model to obtain the humidity reference value Ca1 and the temperature reference value Ca2, and integrated into the first reference parameter set J1; The second environmental parameter is marked as parameter U2={thermal data b1, electromagnetic data b2}, and the parameter U2 is substituted into the reference analysis model to obtain the thermal reference value Cb1 and the electromagnetic reference value Cb2, and integrated into the second parameter reference set J2; In this embodiment, it should be noted that: Thermal data: Helps identify equipment energy consumption patterns and efficiency, which may affect load forecasting and fault diagnosis of electric meters; Electromagnetic data: can be used to detect electromagnetic interference, which affects the accuracy and stability of the meter; Temperature data: Temperature changes affect the performance of the internal components of the meter. Too high or too low a temperature may cause reading errors or damage the device. Humidity data: High humidity may cause corrosion or short circuit in the internal circuit of the meter, affecting its normal operation; The heat data, temperature data and humidity data can be monitored through the temperature and humidity sensor, and the electromagnetic data can be monitored through the electromagnetic field sensor. The above sensors are not drawn in the figure and are installed adaptively; Step D3, integrating the first reference set J1 and the second reference set J2 and marking them as second target data; In this embodiment, the influence of environmental factors such as temperature and humidity on the inaccurate measurement of the electric meter is taken into consideration. By setting a reference analysis model, the environmental parameters are summarized under the same reference standard to achieve the purpose of data noise reduction processing, which is conducive to extracting the corresponding feature vector, laying the foundation for the subsequent data fusion input feature, and facilitating feature fusion analysis; wherein, the key point method can be used to calculate the cosine similarity between the first target data and the second target data, determine the best processing key point, and perform feature fusion; The formula is as follows: ; Among them, d is the cosine similarity, f and fc are two adjacent data, fc p is the feature vector of the pth data; it should be noted that the larger the cosine similarity calculated, the more similar the features between the two data are, and the greater the contribution to feature fusion; In this process, the first target data and the second target data have various dimensions and are not comparable. The influence of the dimensions can be eliminated and mapped to the [0, 1] interval through data conversion and linear transformation processing to facilitate subsequent processing. This embodiment does not elaborate on the relevant process. The specific working process of model optimization is as follows: Step E1, partial freezing: Step E1-1, load the initial model of the pre-trained layer and freeze the underlying feature extraction layer; Step E1-2, add several blank fully connected layers after the frozen bottom feature extraction layer, and fine-tune the top classification layer and regression layer; it should be noted that freezing means not updating the weights of certain layers of the model during the training process; fine-tuning means continuing to train the entire model on a specific task, including the previously frozen layers, and adjusting the weights of all layers to adapt to the new task. It is suitable for model adjustment in transfer learning. The general steps of fine-tuning are as follows: Classification task: By adding a fully connected layer, the number of output units is set according to the number of categories, and the probability distribution is output through the activation function to adjust the hyperparameters; Regression task: By adding fully connected layers, the number of output units is set according to the regression target to adjust the learning rate and other hyperparameters to optimize performance; Step E2, gradual thawing: Step E2-1, preset a learning rate g1 and a learning rate g2, wherein g1<g2, g1∈[0.0001, 0.001] and g2∈[0.001, 0.01]; Unfreeze the frozen pre-trained layers layer by layer, and train the frozen layers with learning rate g1, and train the fine-tuned layers with learning rate g2; start training from the frozen bottom layer, and gradually unfreeze and train the higher layers of the network; And adjust the weights of each layer of the training layer, for example: Initialize the learning rate first, and then reduce the learning rate every certain number of training cycles (epochs). Each training cycle (epoch) decays the learning rate exponentially. For example, the initial learning rate is 10 -3 , reduce the learning rate to 10% of the original value every 10 epochs, and reduce the learning rate when the performance of the validation set stops improving. For example, the learning rate for the 1st to 10th epochs is kept at 10 -3 , the learning rate is reduced to 10 for the 11th to 20th epochs -4 , the learning rate is reduced to 10 for the 21st-30th epochs -5 ; In this process, the gradient of the loss function relative to each parameter of the model is calculated through the back propagation algorithm. For example, if the current weight is ω, the learning rate is gm, and the gradient is ∇ω, then the updated weight ω new :ω new =ω-gm*∇ω; Step E2-2, monitor the performance of the model on the training set and the validation set, and adjust the training strategy based on the performance; Initially, the pre-trained layers are frozen to preserve their learned features; At the beginning of fine-tuning, choose to gradually unfreeze each layer starting from the bottom layer of the training model (closest to the input); in order to avoid damaging the common features learned by these layers, use a smaller learning rate than the initial training to train the frozen layers. Start training with a smaller learning rate and gradually increase it to the target learning rate in a certain number of steps or time, which helps to stabilize the training process; use a larger learning rate to train the fine-tuned layers. For these high-level training layers, setting a larger learning rate can make them adapt to new tasks faster; after gradually unfreezing and fine-tuning some pre-trained layers, you can choose to further train all layers of the entire model (including the newly added fully connected layers and the unfrozen pre-trained layers) with a smaller learning rate; this helps the model converge quickly in the early stage and make fine adjustments in the later stage; Step E3, stable training: Step E3-1, repeat step E2 until all training layers are unfrozen, and train a new fully connected layer based on the model to adjust the input features and adjust the training parameters until the training of the newly added fully connected layer is stable; For example: to monitor evaluation metrics during training: Loss function: The loss function itself is an important evaluation coefficient of the model, which is used to calculate the gap between the model prediction value and the true value; Evaluation metrics: Evaluation metrics calculated during training and validation are usually separate from the loss function, such as accuracy, precision, recall, F1 score, etc. These metrics are usually calculated at the end of each training cycle (epoch) and recorded in the training log; For example, the sample code is: Pre-trained models: import torch.optim as optim # Initialize the model and optimizer model = SimpleModel() criterion = nn.CrossEntropyLoss() optimizer = optim.Adam(model.parameters(), lr=0.001) # Training loop for epoch in range(num_pretraining_epochs): model.train() for data, target in train_loader: optimizer.zero_grad() output = model(data) loss = criterion(output, target) loss.backward() optimizer.step() # Print training loss print(f'Epoch {epoch+1}, Loss: {loss.item()}') Fine-tuning the model: # Redefine loss function and optimizer criterion = nn.CrossEntropyLoss() optimizer = optim.Adam(model.parameters(), lr=0.0001) # Fine-tune the loop for epoch in range(num_finetuning_epochs): model.train() for data, target in finetuning_loader: optimizer.zero_grad() output = model(data) loss = criterion(output, target) loss.backward() optimizer.step() # Print training loss print(f'Epoch {epoch+1}, Loss: {loss.item()}') Evaluate the model: from sklearn.metrics import accuracy_score model.eval() y_true, y_pred = [], [] with torch.no_grad(): for data, target in test_loader: output = model(data) _, predicted = torch.max(output, 1) y_true.extend(target.numpy()) y_pred.extend(predicted.numpy()) accuracy = accuracy_score(y_true, y_pred) print(f'Test Accuracy: {accuracy}') In this example, the pre-trained model can use the knowledge learned on a large dataset to reduce the need for a large amount of labeled data for new tasks, such as "specific power distribution control". Deep neural networks and transfer learning provide an effective solution; S3. Personalized power allocation: The personalized control of the power control model is completed through the optimized training model. The real-time relevant data and environmental parameters of the user's house under the trigger supervision mechanism are obtained and input into the adjusted power control model. Based on the power control model, power is allocated to each device corresponding to the user's house. Embodiment 2

[0016] See also Figure 2 , this embodiment provides an intelligent integrated equipment control system; The system includes an acquisition input unit, a model training unit, a data processing unit, and a trigger control unit; The collection input unit obtains the real-time relevant data and environmental parameters corresponding to the user's house, and triggers the supervision mechanism in the calibrated time period, and the operation of the supervision mechanism depends on the data processing unit, the model training unit and the triggering and regulating unit; wherein the environmental parameters include the first environmental parameters and the second environmental parameters; The data processing unit first performs a judgment analysis to achieve the matching of preset load parameters, obtains the target existence state according to the real-time relevant data, and then performs a comparative analysis according to the target existence state to obtain the target judgment state, and integrates the real-time relevant data, the corresponding target existence state and the target judgment state and marks them as the first target data; through the corresponding collected environmental parameters, the corresponding distribution load value is retrieved at the same time, and before the corresponding distribution load value reaches the maximum value, the real-time environmental parameters are pre-processed and analyzed to obtain the second target data; A model training unit, which trains the first target data and the second target data through a deep neural network and transfer learning technology to obtain a deep learning model, and evaluates and tunes the trained deep learning model; The trigger control unit completes the personalized control of the power control model through the optimized training model, and distributes power to each device corresponding to the user's house based on the power control model.

[0017] In summary, the present invention relates to the field of power control technology. The system includes an acquisition input unit, a model training unit, a data processing unit, and a trigger control unit. The key technical points are: the system can monitor the real-time relevant data and environmental parameters of the user's house in real time, and dynamically adjust the supervision cycle and power distribution mode of the control equipment according to these data, which greatly improves the intelligence level of the user's house, realizes precise control of equipment integration, and realizes the personalized control process of the power control model by constructing a deep neural network model.

[0018] The size of the interval and threshold is set for the convenience of comparison. The size of the threshold depends on the amount of sample data and the number of bases set by technicians in this field for each group of sample data; as long as it does not affect the proportional relationship between the parameter and the quantized value; The above formulas are all dimensionless and numerical calculations. The formula is a formula obtained by collecting a large amount of data and performing software simulation to obtain the most recent real situation. The preset parameters in the formula are set by technicians in this field according to actual conditions. If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk. The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A method for controlling intelligent integrated equipment, Features: The following steps are involved: S1. Get the pre-trained initial model: After the work order is input, the real-time relevant data of the user's house is obtained, and the judgment analysis is performed to achieve the matching work of the preset load parameters. When the matching is successful, the supervision mechanism is triggered in the calibrated time period, and the target existence state is obtained according to the real-time relevant data; wherein, the target existence state contains the supervision cycle, and the real-time relevant data is compared and analyzed according to the target existence state and the preset rules to obtain the target judgment state, and the target judgment state contains the supervision cycle, and the target judgment state includes the query state and the confirmation state; The pre-initial training model is obtained by inputting the input features of the first target data integrated with the real-time relevant data and the corresponding target existence state and target judgment state into the deep neural network model, and then adjusting the model parameters by back propagation based on the marked required power control mode; S2. Adjust training data: The second target data is obtained by performing preprocessing analysis on the corresponding collected environmental parameters, and the first target data and the second target data are multimodally fused to adjust the input features of the deep neural network model; wherein the environmental parameters include the first environmental parameters and the second environmental parameters; Based on the pre-trained initial model, several blank new connection layers are added after the pre-trained layer of the pre-trained initial model, and the blank connection layers are trained based on the model adjustment input features; based on the model input features, the fully connected layers are adjusted forward from the new connection layer to achieve model optimization; S3. Personalized power allocation: The control of the power control model is completed through the optimized training model. By obtaining the real-time relevant data and environmental parameters of the user's house under the trigger supervision mechanism and inputting them into the adjusted power control model, power is allocated to each device corresponding to the user's house based on the power control model.

2. According to claim 1, a method for controlling an intelligent integrated device, Features: The real-time relevant data include the current data, voltage data, power data and distribution load value monitored by the smart meter in each room; wherein, by presetting the first threshold interval, the second threshold interval and the third threshold interval corresponding to the distribution load value, and comparing and analyzing the distribution load value with the first threshold interval, the second threshold interval and the third threshold interval, the corresponding target existence state is obtained, including the first load state, the second load state and the third load state; the calibrated time period is set in advance, and a rule engine is built to first divide the twenty-four hours of each day into several time intervals, so that several time intervals are used as time periods, and are calibrated as time periods for continuously triggering the supervision mechanism.

3. The intelligent integrated device control method according to claim 1, Features: The specific working process of conducting judgment analysis to achieve matching of preset load parameters is as follows: Step A1, inputting a work instruction, which includes the user's room number, device number, device type, smart meter number, and smart meter parameters; wherein the location, quantity, and type of the smart meter are based on the room type of the user's house; Step A2, after reading the equipment type, search in the entry database and determine whether the equipment type exists in the entry database. When the equipment type entry exists in the entry database, obtain the preset load parameters corresponding to the equipment type. When a preset load parameter corresponds to the equipment type and smart meter parameter in the work instruction, it indicates a successful match. The entry database stores the data required during the operation, including the equipment type, smart meter parameter range and preset load parameters. The preset load parameters refer to a set of parameters generated by merging the distribution load values ​​generated during the corresponding control process.

4. The intelligent integrated device control method according to claim 1, Features: The specific working process of comparing and analyzing the real-time related data according to the target existence status and preset rules is as follows: Step B1, monitor the relevant real-time data through the calibrated time period, and construct a monitoring vector, including: current data, voltage data, power data, target existence status and time period Time, and at the same time count the average value and fluctuation value of the current data, voltage data and power data in each time period; the fluctuation value represents half of the difference between the maximum value and the minimum value of the data in the same time period; For any time period Ta, mark the target existence state in this time period as Sa; mark the average values ​​of the corresponding current data, voltage data and power data in this time period Ta as ma1, ma2 and ma3 respectively, and the fluctuation values ​​of the corresponding current data, voltage data and power data in this time period Ta as mb1, mb2 and mb3 respectively; construct the judgment vector through different combinations; Step B2, input any judgment vector into the preset model, obtain the corresponding judgment result, set the corresponding threshold of the judgment result, and when the judgment result is less than the preset threshold, enter the confirmation state; otherwise, enter the query state; wherein, when the judgment state is the confirmation state, the supervision cycle is to monitor the user's house every 15 minutes and the monitoring number is repeated 5 times; when the judgment state is the query state, the supervision cycle is to monitor the user's house every 3 minutes.

5. The intelligent integrated device control method according to claim 1, Features: The steps for pre-initial model training are as follows: Step C1, model construction: Use the deep learning framework to build the initial model architecture, design an input layer corresponding to the first target data feature vector, design a fully connected layer to classify the power matching of the user's premises equipment, design a softmax function as the activation function of the output layer, and select a loss function for training; Step C2, training process: Data segmentation: divide the integrated input features into training set, test set and validation set in a ratio of 3:1:1; Batch training: select the corresponding batch size; Learning rate scheduling: use the learning rate scheduler to dynamically adjust the learning rate; Early stopping: monitor the loss of the validation set; Step C3, evaluation and adjustment: During the training process, the performance of the training model is regularly evaluated on the validation set, and the network structure and model hyperparameters are adjusted according to the validation results; among them, the hyperparameters include learning rate, batch size, and regularization term.

6. The intelligent integrated device control method according to claim 1, Features: The specific working process of preprocessing analysis is as follows: Step D1, constructing a reference analysis model: marking the input information as parameter Q, wherein parameter Q includes several data indicators, marking any data indicator in parameter Q as y, and marking the data value of the data indicator y as Ly, and setting the standard interval of the data indicator y as YZ[YZ1, YZ2]; then combining the data value Ly with the standard interval YZ, and obtaining the reference value Cy of the data indicator y by a preset formula; Step D2, applying the reference analysis model: obtaining corresponding collected environmental parameters, including a first environmental parameter and a second environmental parameter; the first environmental parameter includes humidity data and temperature data, which are marked as a1 and a2 respectively; the second environmental parameter includes heat data and electromagnetic data, which are marked as b1 and b2 respectively; The first environmental parameter is marked as parameter U1={humidity data a1, temperature data a2}, and the parameter U1 is substituted into the reference analysis model to obtain the humidity reference value Ca1 and the temperature reference value Ca2, and integrated into the first reference parameter set J1; The second environmental parameter is marked as parameter U2={thermal data b1, electromagnetic data b2}, and the parameter U2 is substituted into the reference analysis model to obtain the thermal reference value Cb1 and the electromagnetic reference value Cb2, and integrated into the second parameter reference set J2; Step D3: Integrate the first reference set J1 and the second reference set J2 and mark them as second target data.

7. The intelligent integrated device control method according to claim 1, Features: The specific working process of model optimization is as follows: Step E1, partial freezing: Step E1-1, load the initial model of the pre-trained layer and freeze the underlying feature extraction layer; Step E1-2, add several blank fully connected layers after the frozen bottom feature extraction layer, and fine-tune the top classification layer and regression layer; Step E2, gradual thawing: Step E2-1, preset a learning rate g1 and a learning rate g2, wherein g1<g2, g1∈[0.0001, 0.001] and g2∈[0.001, 0.01]; Unfreeze the frozen pre-trained layers layer by layer, and train the frozen layers with learning rate g1, and train the fine-tuned layers with learning rate g2; start training from the frozen bottom layer, and gradually unfreeze and train the higher layers of the network; Step E2-2, monitor the performance of the model on the training set and the validation set, and adjust the training strategy based on the performance; Step E3, stable training: Step E3-1, repeat step E2 until all training layers are unfrozen, and train a new fully connected layer based on the model to adjust the input features and adjust the training parameters until the newly added fully connected layer training is stable.

8. An intelligent integrated equipment control system, using any method described in claims 1-7, Features: The system includes an acquisition input unit, a model training unit, a data processing unit, and a trigger control unit; The collection input unit obtains the real-time relevant data and environmental parameters corresponding to the user's house, and triggers the supervision mechanism in the calibrated time period, and the operation of the supervision mechanism depends on the data processing unit, the model training unit and the triggering and regulating unit; wherein the environmental parameters include the first environmental parameters and the second environmental parameters; The data processing unit first performs a judgment analysis to achieve the matching of preset load parameters, obtains the target existence state according to the real-time related data, and then performs a comparative analysis according to the target existence state to obtain the target judgment state, and integrates the real-time related data and the corresponding target existence state and target judgment state and marks them as the first target data; through the corresponding collected environmental parameters, the corresponding distribution load value is retrieved at the same time, and before the corresponding distribution load value reaches the maximum value, the real-time environmental parameters are pre-processed and analyzed to obtain the second target data; A model training unit, which trains the first target data and the second target data through a deep neural network and transfer learning technology to obtain a deep learning model, and evaluates and tunes the trained deep learning model; The trigger control unit completes the control of the power control model through the optimized training model, and distributes power to various devices corresponding to the user's house based on the power control model.

Citation Information

Patent Citations

  • Building integrated and intelligent electricity utilization system

    CN105159110A

  • User load identification method based on smart electric energy meter

    CN109936131A

  • Intelligent household time-sharing and room-sharing control device and method

    CN113341747A

  • Method and system for improving energy efficiency of large water-cooling central air-conditioning system

    CN117553404A

  • Whole-house intelligent light illumination non-inductive control method and related device

    CN118102556A