A method for detecting anomaly in instrument data based on hybrid autonomous sharing of data
By building a long-short-term memory neural network model between the cloud server and the local server, combining cloud detection and local detection, and using reinforcement learning to determine the weight distribution, the contradiction between data security and detection accuracy is solved, and the system is realized without uploading data. High-accuracy data anomaly detection.
Patent Information
- Application Number
- CN202410041600.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-11
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-01-11
AI Technical Summary
Existing data anomaly detection methods have conflicts between ensuring data security and detection accuracy. Especially in enterprises with high data security requirements, traditional methods will affect detection accuracy and lack the ability to detect data without uploading data. A solution to achieve high accuracy.
Using a method based on hybrid autonomous sharing of data, a long-short-term memory neural network model is jointly constructed through cloud servers and local servers to achieve data anomaly detection. The main detection model and sub-detection model are used to detect data anomalies by combining cloud detection and local detection methods. And determine the weight distribution through reinforcement learning to improve detection capabilities.
High-accuracy data anomaly detection is achieved without uploading data, meeting the needs of enterprises with high data security requirements. Through multiple rounds of iterative updates and weight optimization, detection capabilities and accuracy are improved.
Smart Images

Figure CN117877006B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of instrumentation, and in particular to an instrumentation data anomaly detection method based on hybrid data autonomous sharing. Background Art
[0002] With the improvement of industrial automation and intelligence, various instruments and meters are widely used in production lines, laboratories and other scenarios, which also requires a large amount of data to be monitored and analyzed in real time to ensure the normal operation of the system. The automation system needs to have the ability to respond promptly when data anomalies occur to reduce the impact of failures on production and experiments. In the fields of industrial production, equipment operation and laboratories, the normal operation of instruments and meters is crucial to ensure the stability of the workflow and product quality. However, due to equipment aging, changes in the external environment, improper operation or failure, instruments and meters may experience abnormal conditions, resulting in abnormal operation, performance degradation, and even safety hazards.
[0003] There are currently two ways to detect anomalies in big data: First, if industry participants are willing to expose local instrumentation operation data, the locally stored operation data will be transferred to the cloud server for training with other industry participants' instrumentation operation data. A large amount of training data can make the trained model more accurate, but because the data needs to be uploaded, the data security is poor. Second, if industry participants are unwilling to expose local data, they can use negotiated training model algorithms such as CNN, ANN and other algorithms to train the data locally to obtain a local training model, and then transfer the relevant parameters of the local model to the cloud server for aggregation and training using a suitable algorithm. This method is safer than the previous method, but it has a certain impact on accuracy. Summary of the invention
[0004] The invention discloses an instrument data anomaly detection method based on data hybrid autonomous sharing, which can accurately realize data anomaly detection without uploading data.
[0005] It is achieved through such a technical solution, the method is based on a data anomaly detection system, which includes a cloud server and several local servers;
[0006] The local servers independently acquire and store local data collected by local instruments;
[0007] The cloud server interacts with all local server data and builds a main detection model for data anomaly detection;
[0008] The local server uses cloud detection or local detection to complete anomaly detection of local data;
[0009] Cloud detection: The local server transmits local data to the cloud server. The cloud server trains the main detection model based on the received local data and completes anomaly detection of the local data of each local server through the main detection model.
[0010] Local detection: Each local server that requires local detection builds a unique sub-detection model. The cloud server sends the model parameters of the main detection model to the local server, covering the sub-detection model of the local server. The local server trains the sub-detection model through local data and completes anomaly detection of the local data of the local server through the sub-detection model.
[0011] The advantage of this embodiment is that for enterprises with low data security requirements, data anomaly detection of instruments and meters can be performed through cloud servers, and for enterprises with high data security requirements, data anomaly detection of instruments and meters can be performed through local servers; the detection model used by the local server is the same as the detection model used by the cloud server, and the sub-detection model can obtain the model parameters of the main detection model, and can still maintain high detection accuracy in the absence of training data.
[0012] Furthermore, the main detection model and the sub-detection model are both long short-term memory neural network models.
[0013] Furthermore, data anomaly detection is completed through the long short-term memory neural network model. The specific method is as follows:
[0014] Obtain historical data for long short-term memory neural network model training, and divide the historical data into training set and validation set. The training set is used to train the model, and the validation set is used to adjust model parameters and optimize performance.
[0015] Normalize the local data. The normalization formula is as follows:
[0016]
[0017] Among them, x is the current sample data value, x max is the maximum value of the data sample, x min is the minimum value of the data sample;
[0018] The normalized local data is input into the trained long short-term memory neural network model to calculate the difference between the actual observed value and the predicted value at each time step. The root mean square error formula is used to calculate the difference. The specific formula is as follows:
[0019]
[0020] in is the sample size, x is the true value, x predicted is the predicted value;
[0021] A threshold y is set to determine the normal range of the prediction error. When RMSE>y, the data at this time step is abnormal, otherwise it is normal.
[0022] The advantage of this embodiment is that, for time series data, the LSTM model can allocate attention according to the generation time of the data, and can take into account the association rules between adjacent data, which can significantly improve the accuracy of abnormal data detection.
[0023] Furthermore, for the identified abnormal data, the abnormal type is classified according to the amplitude, trend, and shape of the prediction error RMSE, and then these features are used as input to classify the abnormalities of instrument operation data using support vector machines.
[0024] Furthermore, the abnormal data classification includes: jump abnormality, offset abnormality, oscillation abnormality, trend abnormality, sudden increase / decrease abnormality and missing data abnormality.
[0025] The advantage of this embodiment is that it not only realizes the detection of abnormal data, but also can perform abnormal classification locally after the abnormal data is identified. The support vector machine has small requirements on the amount of data and computing power, and is suitable for local server operation, which further increases the practicality of the method.
[0026] Furthermore, after the instrument collects the local data, the local data is preprocessed first, and the specific method is as follows:
[0027] The signal processing unit inside the instrument amplifies, filters and digitizes the electrical signal.
[0028] Furthermore, in the local detection method, the model parameters of the main detection model are obtained as follows:
[0029] The cloud server transmits the initialization model parameters of the main detection model to several selected local servers;
[0030] The selected local server inputs the initialization model parameters into the sub-detection model, and the local server trains the sub-detection model through local historical data to obtain the updated sub-detection model parameters of the sub-detection model;
[0031] The local server uploads the sub-detection model parameters to the cloud server, thus completing a round of communication between the cloud server and the local server;
[0032] After receiving all sub-detection model parameters, the cloud server designs the weight of each sub-detection model parameter;
[0033] The cloud server weights the sub-detection model parameters to obtain the model parameters of the main detection model.
[0034] The advantage of this embodiment is that one round of communication is used as one training, so that the main detection model has long-term iterative update capability. As the usage time increases, the detection capability of the main detection model will gradually increase. For newly added sub-detection models or those with small amounts of training data, high detection accuracy can also be quickly achieved.
[0035] Furthermore, the weights of each sub-detection model parameter are designed separately, and the reference contents include: the loss of the main detection model parameters and each sub-detection model parameter, the loss of the sub-detection model parameters and the updated sub-detection model parameters, and the amount of data when the local server trains the sub-detection model.
[0036] The advantage of this embodiment is that when the main detection model parameters are integrated, not only the amount of training data of each sub-detection model is taken into account, but also the parameter loss between the main and sub-models, as well as the parameter loss between the sub-models before and after training. This makes the integration more comprehensive and can further improve the detection capability of the main detection model.
[0037] Furthermore, the weights of the parameters of each sub-detection model are designed separately. The specific method is as follows:
[0038] The loss of the main detection model parameters and each sub-detection model parameter, the loss of the sub-detection model parameters and the updated sub-detection model parameters, and the amount of data when the local server trains the sub-detection model are mathematically expressed as follows:
[0039]
[0040] In the formula, represents the loss of the main detection model parameters and the I-th sub-detection model parameters in the t-th round of communication; represents the loss of the I-th sub-detection model parameters and the updated I-th sub-detection model parameters in the t-th round of communication; n I Represents the amount of training data for I sub-detection model;
[0041] Generate a weighted action for round t of communication is the weight of the parameters of the ith sub-detection model in the t-th round, and the mathematical expression is as follows:
[0042]
[0043] definition:
[0044]
[0045] In the formula, a t is the action of the tth round of communication, μ is the mean of the Gaussian distribution, and σ is the variance of the Gaussian distribution;
[0046] For each action, calculate the reward function corresponding to the action, and design the mathematical expression of the reward function as follows:
[0047]
[0048] For the t+1th round of communication, the main detection model obtains the results of all sub-detection models in the tth round of communication Aggregate from all clients To get the status s t+1 ;
[0049] Status t+1 is input to the policy network π to obtain action a t+1 , the network parameters such as the number of layers and learning rate are set based on experience;
[0050] Extract some experience (a t ,s t ,r t ,s t+1 );
[0051] The main value network Q-network is used to prioritize the extracted experience, and the priority function is δ t =r t +γQ(s t+1 ,a t )-Q(s t ,a t );
[0052] Use the gradient descent method to update the main value network Q-network, that is
[0053]
[0054] Among them, B is the number of experiences drawn from the experience buffer;
[0055] Use the gradient ascent method to update the main policy network π, that is
[0056] Finally the updates are transferred to the main value network.
[0057] The advantage of this embodiment is that it adopts the method of action and action corresponding reward function to evaluate each weight strategy, and a more reasonable weight distribution method can be obtained by comparing multiple weight strategies; the new action generation method and the multi-action selection method are also adjusted according to the results, which can significantly improve the rationality and practicality of weight calculation.
[0058] Furthermore, a visualization platform is established through web technology, and the anomaly detection results are displayed through the visualization platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The accompanying drawings of the present invention are as follows.
[0060] Figure 1 It is a schematic diagram of the connection between the main detection model and the sub-detection model in the local detection method in the embodiment.
[0061] Figure 2 Schematic diagram of the process of anomaly detection method in the embodiment.
[0062] Figure 3 It is a structural diagram of the web visualization design in the embodiment. DETAILED DESCRIPTION
[0063] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0064] An instrument abnormality detection system based on big data includes a cloud server and several local servers;
[0065] The local servers independently acquire and store local data collected by local instruments;
[0066] The cloud server interacts with all local server data and builds a main detection model for data anomaly detection.
[0067] Generally speaking, instruments and meters use sensors or detection elements to sense or detect physical quantities to be measured, such as temperature, humidity, flow and other parameters. After the detection is completed, the signal processing unit inside the instrument and meter will amplify, filter, digitize and perform other operations on the electrical signal generated by the sensor to ensure the accuracy and reliability of the data. To ensure the security of the data, industry participants will store the obtained data on local storage devices.
[0068] A method for detecting anomaly of instrument data based on hybrid data autonomous sharing, in which a local server completes the anomaly detection of local data using cloud detection or local detection methods, such as Figure 2 As shown, the specific method is as follows:
[0069] S1. Cloud detection: The local server transmits local data to the cloud server. The cloud server trains the main detection model through the received local data and completes anomaly detection of the local data of each local server through the main detection model.
[0070] After the instrument collects local data, the local data is preprocessed first, including: the signal processing unit inside the instrument amplifies, filters and digitizes the electrical signal.
[0071] S2. Local detection: Each local server that needs local detection builds a unique sub-detection model. The cloud server sends the model parameters of the main detection model to the local server, covering the sub-detection model of the local server. The local server trains the sub-detection model with local data and completes the anomaly detection of the local data of the local server through the sub-detection model. Figure 1 shown.
[0072] Specifically, in the local detection method, the model parameters of the main detection model are obtained as follows:
[0073] S21. The cloud server transmits the initialization model parameters of the main detection model to several selected local servers.
[0074] S22. The selected local server inputs the initialization model parameters into the sub-detection model. The local server trains the sub-detection model through local historical data to obtain updated sub-detection model parameters of the sub-detection model.
[0075] S23: The local server uploads the sub-detection model parameters to the cloud server, thereby completing a round of communication between the cloud server and the local server.
[0076] S24: After receiving all sub-detection model parameters, the cloud server designs the weight of each sub-detection model parameter.
[0077] Specifically, the weights of each sub-detection model parameter are designed respectively, and the reference contents include: the loss of the main detection model parameters and each sub-detection model parameter, the loss of the sub-detection model parameters and the updated sub-detection model parameters, and the amount of data when the local server trains the sub-detection model.
[0078] In step S24, traditional federated learning, such as the federated average algorithm FedAvg, makes the weight proportional to the number of client samples. This method considers all samples equally, but will make the model overly biased towards data appearing in multiple clients, thereby reducing the impact of abnormal data on the model. Most traditional federated learning algorithms use aggregation methods that also follow this rule, which will make data appearing in multiple clients have a greater influence on the global model, which is not conducive to the training of the global model. Therefore, we use the reinforcement learning method to determine the weight of each client, and use the reinforcement learning agent to interact with the environment and self-learning ability to make decisions, and determine the reinforcement learning content of the weight of each client.
[0079] Here, we make the following definitions:
[0080] Agent: The subject of reinforcement learning training, that is, the central server, which uses a decision-making agent based on reinforcement learning, and its output is the weight of each client. and Wt It is the connection between the weight vector of the client in the tth round of communication and the local model of each client. Then the central server calculates the global model. The weight in the gradient or deep learning model is usually expressed as the following formula:
[0081]
[0082] State: The state provides all the information that helps make decisions. The state will give the influencing factors used to aggregate the local model in our scenario. The state contains the information needed by the agent, namely: whether the data of each client is valuable; how to aggregate the trained parameters of each client to produce a global model that is not biased towards any specific client.
[0083] The state is designed to contain the following information: the loss of the global model on each client's dataset, the loss of the local client after each round of communication in local training, and the amount of data each client has. The mathematical representation is as follows:
[0084]
[0085] The parameters in the array correspond to the above three pieces of information, and t is the number of rounds of communication.
[0086] Action: We define an action by a set of Gaussian distributions, mathematically represented as follows:
[0087]
[0088] where a t is the action of the tth round of communication, μ is the mean of the Gaussian distribution, σ is the variance of the Gaussian distribution, and through action a t , the proxy will determine the weight of the i-th client, the formula is as follows:
[0089]
[0090] The Softmax function converts the input vector into a probability distribution of non-negative numbers between 0 and 1, and the sum of all elements is equal to 1. N() is a Gaussian distribution.
[0091] Reward: The reward function guides the agent's behavior. The goals of the reward function are: 1. Improve the accuracy of the global model; 2. Balance the performance of the global model on all client datasets. The first goal is achieved by reducing the average loss of the global model on all client datasets, and the second goal is achieved by minimizing the gap between the losses of the global model on each client dataset.
[0092]
[0093] The training process of reinforcement learning is as follows:
[0094] In the t+1th round of communication, the proxy, i.e., the central server, receives data from each client, i.e. The proxy aggregates traffic from all clients. To get the status s t+1
[0095] Status t+1 is input to the policy network π used to obtain action a t+1 , the network parameters such as the number of layers and learning rate are set based on experience.
[0096] Proxy Usage The formula calculates the impact factor for each client and aggregates the client's model.
[0097] The agent takes a tuple (a t ,s t ,r t ,s t+1 ) is stored in the experience buffer; while the main thread is running, the agent continues to run the secondary thread to improve the performance of the policy network. The basic process is as follows:
[0098] The agent extracts a set of experiences (a t ,s t ,r t ,s t+1 ), we prioritize these experiences through the time difference priority strategy. Each group of experiences has a priority. The value function network we choose is Q-network, so the priority function is δ t =r t +γQ(s t+1 ,a t )-Q(s t ,a t ), the higher the priority of the experience, the more likely it is to be selected.
[0099] Using the selected experience, the agent will update the main value network Q-network using the gradient descent method, i.e. Where B is the number of experiences drawn from the experience buffer; the agent will use the gradient ascent method to update the main policy network π, that is, Finally, the ρ-soft update mechanism is used to transmit the updates of the main network to the target network.
[0100] Federated learning is not a one-time training, but usually an iterative process. When the global model is updated, industry participants can negotiate a fixed cycle. At the end of the cycle, a new round of federated learning will be initiated again. In this new round, the client will use the latest global model as the starting point, and then perform further training and updates on its local data. Before the end of the cycle, when the client detects that its local data has changed significantly, new data has arrived, or the model performance has degraded, it can actively request to obtain the latest global model from the server and retrain and update parameters locally. It can also choose to upload the update to the central server. After receiving these updates, the server uses the above-mentioned weighted average aggregation method to integrate these local updates and immediately generate a new global model, that is, the asynchronous update strategy.
[0101] S25. The cloud server weights the sub-detection model parameters to obtain the model parameters of the main detection model.
[0102] In step S25, the weighting formula is as follows:
[0103]
[0104] Where W globalUpdate is the global model parameter obtained after aggregation, α i is the weight of client i, which is usually related to factors such as the amount of data, data quality, and model performance of client i. This parameter represents the contribution of each client to the global model. The higher the weight, the greater the influence of the client on the global model.
[0105] In step S1 and step S2, the main detection model and the sub-detection model are both long short-term memory neural network models, and the specific method is as follows:
[0106] Obtain historical data for long short-term memory neural network model training, and divide the historical data into training set and validation set. The training set is used to train the model, and the validation set is used to adjust model parameters and optimize performance.
[0107] Normalize the local data. The normalization formula is as follows:
[0108]
[0109] Among them, x is the current sample data value, x max is the maximum value of the data sample, x min is the minimum value of the data sample;
[0110] The normalized local data is input into the trained long short-term memory neural network model to calculate the difference between the actual observed value and the predicted value at each time step. The root mean square error formula is used to calculate the difference. The specific formula is as follows:
[0111]
[0112] in is the sample size, x is the true value, x predicted is the predicted value;
[0113] A threshold y is set to determine the normal range of the prediction error. When RMSE>y, the data at this time step is abnormal, otherwise it is normal.
[0114] For the identified abnormal data, the abnormal type is classified according to the amplitude, trend and shape of the prediction error RMSE, and then these features are used as input to classify the abnormal data of instrument operation using support vector machine. The abnormal data classification includes: jump abnormality, offset abnormality, oscillation abnormality, trend abnormality, sudden increase / decrease abnormality and missing data abnormality.
[0115] S3, build a visualization platform through web technology, such as Figure 3 As shown in Figure 2, the anomaly detection results are displayed through a visualization platform.
[0116] Use web technology to build a visualization platform, import real-time operation data into the platform, and the platform will display the real-time operation data in the form of curves. Apply the trained abnormal diagnosis model to the platform to diagnose and predict the real-time operation data. Once the system diagnoses an abnormality or predicts that an abnormality will occur, the platform will notify the administrator through a pop-up warning on the web page and SMS notification, and display the abnormal data and abnormal classification on the platform and back up and record this information.
[0117] S4. Establish an emergency response system.
[0118] Before a failure occurs: Based on the experience of instrument operation, the management personnel will set the time intervals for regular calibration, maintenance, and inspection of instruments on the platform. The web system platform will provide platform prompts and SMS notifications to the relevant responsible personnel at the set time. The data anomalies and the corresponding maintenance fault problems, solutions, and emergency handling procedures will be entered into the system platform database for expert system training, and this process will continue during the production process. In order to facilitate emergency management of instruments, all instruments will be connected to the network and related hardware interfaces will be prepared for remote control by the visual monitoring and early warning platform.
[0119] When a fault occurs: the visual monitoring platform will quickly issue an alarm and determine the type of fault through the expert system. When power failure, electrical problems, mechanical component failure, etc. appear in the list of fault causes that may cause serious safety problems, production accidents or personal injuries, the power supply of the instrument will be quickly cut off through remote control and the backup instrument will be switched for production.
[0120] The system will list the possible causes of failure of instruments and meters corresponding to each type of data anomaly, such as sensor anomaly, equipment aging, etc., and sort the listed causes of failure according to the established expert system to facilitate maintenance personnel to troubleshoot. At the same time, a clear emergency handling process and standard operating procedures will be formulated, and the contact information of suppliers or professional service providers will be provided to ensure that all operators understand the steps to be taken in an emergency and the suppliers to be contacted.
[0121] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for detecting anomalies in instrument data based on hybrid autonomous data sharing, the method being based on a data anomaly detection system comprising a cloud server and several local servers; The local servers independently acquire and store local data collected by local instruments; The cloud server interacts with all local server data and builds a main detection model for data anomaly detection; It is characterized by: The local server uses cloud detection or local detection to complete anomaly detection of local data; Cloud detection: The local server transmits local data to the cloud server. The cloud server uses the received local data to train the main detection model and completes anomaly detection of the local data of each local server through the main detection model. Local detection: Each local server that requires local detection builds a unique sub-detection model. The cloud server sends the model parameters of the main detection model to the local server, overwriting the local server's sub-detection model. The local server trains the sub-detection model using local data and uses the sub-detection model to complete anomaly detection on the local server's local data. In the local detection method, the model parameters of the main detection model are obtained as follows: The cloud server transmits the initialization model parameters of the main detection model to several selected local servers; The selected local server inputs the initialization model parameters into the sub-detection model. The local server trains the sub-detection model using local historical data and obtains the updated sub-detection model parameters. The local server uploads the sub-detection model parameters to the cloud server, thus completing a round of communication between the cloud server and the local server; After receiving all sub-detection model parameters, the cloud server designs the weight of each sub-detection model parameter; The cloud server weights the sub-detection model parameters to obtain the model parameters of the main detection model; Design the weights of each sub-detection model parameter separately, taking into account the loss between the main detection model parameters and each sub-detection model parameter, the loss between the sub-detection model parameters and the updated sub-detection model parameters, and the amount of data used by the local server to train the sub-detection model. The weights of each sub-detection model parameter are designed separately. The specific method is as follows: The loss between the main detection model parameters and each sub-detection model parameter, the loss between the sub-detection model parameters and the updated sub-detection model parameters, and the amount of data used by the local server to train the sub-detection model can be mathematically expressed as follows: Where, represents the loss of the main detection model parameters and the I-th sub-detection model parameters during the t-th round of communication; Indicates the loss of the parameters of the I-th sub-detection model and the updated parameters of the I-th sub-detection model during the t-th round of communication; n I Represents the amount of training data for I sub-detection model; Generate a weighted action for round t of communication is the weight of the parameters of the ith sub-detection model in the t-th round, and its mathematical expression is as follows: definition: Where a t is the action of the tth round of communication, μ is the mean of the Gaussian distribution, and σ is the variance of the Gaussian distribution; For each action, calculate the reward function corresponding to the action. The mathematical expression of the designed reward function is as follows: For the t+1th round of communication, the main detection model obtains the results of all sub-detection models in the tth round of communication Aggregate from all clients To get the status s t+1 ; Status t+1 is input to the policy network π to obtain action a t+1 , the number of layers and learning rate of the network parameters are set based on experience; Extract some experience (a t ,s t ,r t ,s t+1 ); The main value network Q-network is used to prioritize the extracted experiences, and the priority function is δ t =r t +γQ(s t+1 ,a t )-Q(s t ,a t ); Use the gradient descent method to update the main value network Q-network, that is Where B is the number of experiences drawn from the experience buffer; Use the gradient ascent method to update the main policy network π, that is Finally the updates are transferred to the main value network.
2. The instrument data anomaly detection method based on hybrid data autonomous sharing according to claim 1, characterized in that: The main detection model and the sub-detection model are both long short-term memory neural network models.
3. The instrument data anomaly detection method based on hybrid data autonomous sharing as claimed in claim 2, characterized in that: Data anomaly detection is completed through the long short-term memory neural network model. The specific method is as follows: Obtain historical data for long-short-term memory neural network model training, divide the historical data into training set and validation set, the training set is used to train the model, and the validation set is used to adjust model parameters and optimize performance; Normalize the local data. The normalization formula is as follows: Among them, x is the current sample data value, x max is the maximum value of the data sample, x min is the minimum value of the data sample; The normalized local data is input into the trained long short-term memory neural network model, and the difference between the actual observation value and the predicted value at each time step is calculated. The root mean square error formula is used to calculate the difference. The specific formula is as follows: in is the sample size, x is the true value, x predicted is the predicted value; Set a threshold y to determine the normal range of prediction error. When RMSE>y, the data at this time step is abnormal, otherwise it is normal.
4. The method for detecting anomaly in instrument data based on hybrid autonomous data sharing according to claim 3, characterized in that: For the identified abnormal data, the abnormal type is classified according to the amplitude, trend and shape of the prediction error RMSE. Then these features are used as input to classify the abnormal instrument operation data using support vector machine.
5. The method for detecting anomaly in instrument data based on hybrid autonomous data sharing according to claim 4, characterized in that: Abnormal data classification includes: jump anomaly, offset anomaly, oscillation anomaly, trend anomaly, sudden increase / decrease anomaly and missing data anomaly.
6. The method for detecting anomaly in instrument data based on hybrid autonomous data sharing according to claim 1, characterized in that: After the instrument collects the local data, it first pre-processes the local data. The specific method is as follows: The signal processing unit inside the instrument amplifies, filters and digitizes the electrical signal.
7. The instrument data anomaly detection method based on hybrid data autonomous sharing according to claim 1, characterized in that: A visualization platform is established through web technology, and the anomaly detection results are displayed through the visualization platform.
