A method for processing Internet of Things data based on big data and artificial intelligence
Through big data and artificial intelligence, the historical data of IoT terminals is analyzed, a time series collaboration diagram is constructed, and terminal anomalies are identified, which solves the problem of difficulty in finding subtle anomalies in existing technologies, improves detection efficiency and accuracy, and reduces labor costs.
Patent Information
- Application Number
- CN202411041732.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-31
AI Technical Summary
Existing technology makes it difficult to detect subtle anomalies in a timely manner through the operating data of IoT terminals, resulting in delayed discovery, affecting business use, and the manual detection workload is large and complex.
Using methods based on big data and artificial intelligence, it receives terminal historical data of IoT terminals, builds a time series collaboration diagram through terminal collaboration data and operating data, determines the terminal operating status, identifies abnormal terminals, and determines the relationship between terminals through terminal collaboration data. interactions to identify subtle anomalies.
It improves the accuracy and efficiency of abnormal identification of IoT terminals, reduces labor costs, and avoids exceptions from covering up abnormalities in other terminals.
Smart Images

Figure CN118573588B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of big data and artificial intelligence, and in particular to an Internet of Things data processing method based on big data and artificial intelligence. Background Art
[0002] Since IoT terminals are not like human networks, that is, mobile phone terminals used by people, people cannot proactively complain when encountering problems while using the network services provided by operators. Therefore, they can only be discovered passively by the companies or personnel to which the IoT terminals belong. This may result in a large delay in discovery time, which may have seriously affected business use. On the other hand, IoT terminals are often used in large quantities and in a wide variety of application scenarios. Relying on humans to discover abnormal behavior or conditions in terminals is not only a huge workload, but also places high demands on operation and maintenance personnel, who need to understand the terminal abnormality judgment standards for various usage scenarios.
[0003] The existing technology usually analyzes whether there is any abnormal operation of the IoT terminal through the operation data of the IoT terminal. However, some subtle abnormalities cannot be discovered only through the operation data of the IoT terminal, so that the abnormalities cannot be discovered in time, resulting in subsequent serious losses.
[0004] Therefore, how to detect subtle anomalies of IoT terminals through the operating status of IoT terminals and the synergy between IoT terminals, so as to accurately detect IoT terminals has become an important research issue. Summary of the invention
[0005] In view of this, the present invention provides an Internet of Things data processing method based on big data and artificial intelligence, which includes receiving terminal historical data sent by all Internet of Things terminals in the Internet of Things; the terminal historical data includes terminal collaboration data and terminal operation data;
[0006] Determine the operation status of each IoT terminal based on the terminal operation data of each IoT terminal, and identify the IoT terminal with abnormal operation status as an abnormal operation terminal;
[0007] Based on the terminal collaborative data of the abnormal operation terminal, the IoT terminal that collaborates with the abnormal operation terminal is acquired and used as a collaborative operation terminal;
[0008] Building a time sequence collaboration graph of the Internet of Things based on the terminal collaboration data of all the Internet of Things terminals in the Internet of Things, and then building a time sequence collaboration constraint based on the time sequence collaboration graph;
[0009] Based on the terminal cooperation data of each cooperative operation terminal, a time series cooperation trajectory corresponding to each cooperative operation terminal is constructed, and it is determined whether the time series cooperation trajectory corresponding to each cooperative operation terminal satisfies the time series cooperation constraint;
[0010] When the timing coordination trajectory corresponding to the collaborative operation terminal satisfies the timing coordination constraint, the corresponding collaborative operation terminal is judged to be a normal operating terminal; when the timing coordination trajectory corresponding to the collaborative operation terminal does not satisfy the timing coordination constraint, the corresponding collaborative operation terminal is judged to be an abnormal operating terminal.
[0011] According to a preferred embodiment, the terminal collaboration data records the collaborative terminal, collaboration time and collaboration data that collaborate with the Internet of Things terminal; the terminal operation data records the operation data of the Internet of Things terminal at each time point.
[0012] According to a preferred embodiment, each IoT terminal has a terminal number for unique identification.
[0013] According to a preferred embodiment, the terminal number of the cooperative terminal cooperating with the abnormal operation terminal is obtained based on the terminal cooperation data of the abnormal operation terminal, and the Internet of Things terminal corresponding to the terminal number is marked as a cooperative operation terminal in the database.
[0014] According to a preferred embodiment, judging the operating status of each IoT terminal based on the terminal operating data of each IoT terminal includes:
[0015] Extract several terminal status data and corresponding time identifiers from the terminal operation data, and arrange all the terminal status data in the order of the time identifiers to obtain the initial time series data of the IoT terminal, and then preprocess the initial time series data to obtain standard time series data;
[0016] The standard time series data is segmented according to the operation cycle of the IoT terminal to obtain a plurality of operation time series data; the operation time series data represents the terminal status data of the IoT terminal arranged in the order of time identifiers within an operation cycle;
[0017] Extracting the features of the running time series data to obtain corresponding running time series features, and mapping the running time series features to corresponding feature spaces to obtain data fluctuation features; the data fluctuation features are used to characterize the fluctuation of the values of various running indicators of the corresponding Internet of Things terminal within the corresponding running cycle;
[0018] Obtaining standard fluctuation characteristics of the corresponding Internet of Things terminal from the database; the standard fluctuation characteristics are used to characterize the fluctuation of data of various operating indicators of the corresponding Internet of Things terminal during normal operation;
[0019] Compare the data fluctuation characteristics of each operation cycle with the standard fluctuation characteristics to determine whether the IoT terminal operates abnormally in each operation cycle;
[0020] If an IoT terminal operates abnormally in two consecutive operation cycles, it means that the operation status of the corresponding IoT terminal is abnormal.
[0021] According to a preferred embodiment, the preprocessing of the initial time series data includes:
[0022] Obtain sample training data from a database, and train a model based on the sample training data to obtain a data-filled model;
[0023] Performing deduplication processing on the initial time series data to remove duplicate redundant data in the initial time series data;
[0024] Identify missing data values in the initial time series data, and mark the time series positions of the missing data values to obtain missing time-stamp data of the initial time series data;
[0025] The missing values in the initial time series data are filled with preset values, and the initial time series data filled with preset values and the corresponding missing time-standard data are input into the data filling model to output standard time series data after the missing values of the initial time series data are filled.
[0026] According to a preferred embodiment, constructing a time series collaboration graph of the Internet of Things based on the terminal collaboration data of all the Internet of Things terminals in the Internet of Things includes:
[0027] Traverse all IoT terminals of the IoT, and use the IoT terminal being traversed as the target terminal, and then obtain the coordinated terminal of the target terminal according to the terminal coordinated data of the target terminal;
[0028] Determine the cooperation type of each cooperative terminal based on the data transmission direction between the target terminal and the cooperative terminal; the cooperation types include: active cooperation, passive cooperation and bidirectional cooperation; the active cooperation is that the target terminal transmits data to the cooperative terminal; the passive cooperation is that the cooperative terminal transmits data to the target terminal; the bidirectional cooperation is that the target terminal and the cooperative terminal perform bidirectional data transmission;
[0029] The cooperation density of each cooperative terminal is obtained based on the data transmission volume between the target terminal and the cooperative terminal; the higher the cooperation density, the higher the data transmission volume between the target terminal and the cooperative terminal;
[0030] Extracting the features of the cooperation type, cooperation data and cooperation density of each cooperation terminal to obtain the cooperation type feature, cooperation data feature and cooperation density feature of each cooperation terminal, and mapping the cooperation type feature, cooperation data feature and cooperation density feature to the feature space to obtain the cooperation feature of each cooperation terminal, and then associating the cooperation features of all cooperation terminals according to the corresponding cooperation time to obtain the time series cooperation feature of the target terminal;
[0031] Repeat the above steps to obtain the timing coordination features of each IoT terminal, and concatenate the timing coordination features of all IoT terminals in the same feature space to obtain a timing coordination graph.
[0032] According to a preferred embodiment, constructing a timing collaboration constraint based on a timing collaboration graph includes:
[0033] Extract features of the time series collaboration graph, and map the features to a feature space to obtain a number of feature points, traverse each feature point, and use the feature point being traversed as a target feature point, and then calculate the feature distance between the target feature point and each feature point;
[0034] Taking a feature point whose feature distance is greater than a distance threshold as a constraint feature point of a target feature point, and connecting all constraint feature points of the target feature point to obtain a constraint feature curve of the target feature point;
[0035] Repeat the above steps to obtain the constraint characteristic curve of each feature point;
[0036] The constraint characteristic curves of all feature points are fitted to obtain the timing coordination constraints.
[0037] According to a preferred embodiment, constructing a time series collaborative trajectory corresponding to the collaborative operation terminal based on the terminal collaborative data of the collaborative operation terminal includes:
[0038] Acquire all IoT terminals cooperating with the cooperative operation terminal according to the terminal cooperative data of the cooperative operation terminal, and use all IoT terminals cooperating with the cooperative operation terminal as first associated terminals;
[0039] Acquire all IoT terminals that cooperate with the first associated terminal according to the terminal cooperation data of the first associated terminal, and use all IoT terminals that cooperate with the first associated terminal as second associated terminals;
[0040] Iterate the above steps until the number of iterations is equal to the preset number of iterations, and use the associated terminal obtained in each iteration as the cooperative associated terminal;
[0041] Based on the data transmission direction of the cooperatively associated terminal, the cooperatively associated terminal whose cooperative type is active cooperative is selected and used as the active cooperative terminal;
[0042] Obtaining the cooperation density of each active cooperation terminal based on the data transmission volume between the cooperative operation terminal and the active cooperation terminal;
[0043] Acquire the coordination time feature, coordination data feature and coordination density feature of each active coordination terminal according to the coordination time, coordination data and coordination density of the active coordination terminal;
[0044] Mapping the collaborative time feature, collaborative data feature and collaborative density feature of each active collaborative terminal to a feature vector space of the same dimension to obtain a collaborative time vector, a collaborative data vector and a collaborative density vector;
[0045] The collaborative time vector, collaborative data vector and collaborative density vector of each active collaborative terminal are feature fused to obtain the collaborative timing point corresponding to each active collaborative terminal. Based on the collaborative time features of the collaborative time point, all the collaborative timing points are connected to obtain the timing collaborative trajectory corresponding to the collaborative operation terminal.
[0046] According to a preferred embodiment, judging whether the timing coordination trajectory corresponding to the coordinated operation terminal satisfies the timing coordination constraint includes:
[0047] Acquire all coordinated timing points in the time series coordinated trajectory, and acquire adjacent coordinated points of each coordinated timing point; the adjacent coordinated points are the previous coordinated timing point and the next coordinated timing point adjacent to the coordinated timing point;
[0048] Determine whether the coordination density of each coordination timing point is simultaneously greater than or simultaneously less than the corresponding adjacent coordination point, and if so, take the coordination timing point as an extreme value point;
[0049] Determine whether the extreme point is within the timing coordination constraint;
[0050] If all extreme value points are within the timing coordination constraint, it means that the corresponding timing coordination trajectory satisfies the timing coordination constraint;
[0051] If one or more extreme points are outside the timing coordination constraint, it means that the corresponding timing coordination trajectory does not satisfy the timing coordination constraint.
[0052] The present invention has the following beneficial effects: the present application identifies an IoT terminal with abnormal operation through the terminal operation data of the IoT terminal, and determines the interaction between the IoT terminals through the terminal collaboration data of the IoT terminals to identify subtle anomalies, thereby avoiding the abnormal situation of other IoT terminals being masked by the abnormally operating IoT terminal, thereby improving the accuracy of anomaly identification.
[0053] In addition, this application automatically detects the operating status of IoT terminals through big data and artificial intelligence, thereby improving the efficiency and accuracy of anomaly detection and reducing labor costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 A flowchart of a method for processing Internet of Things data based on big data and artificial intelligence is provided as an exemplary embodiment. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.
[0056] The terms used in the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The singular forms "a", "the" and "the" used in the present invention and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0057] It should be understood that although the terms first, second, third, etc. may be used in the present invention to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present invention, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0058] See also Figure 1 In one embodiment, a method for processing Internet of Things data based on big data and artificial intelligence includes:
[0059] S1. Receive terminal historical data sent by all IoT terminals in the IoT; the terminal historical data includes terminal collaboration data and terminal operation data.
[0060] Optionally, the terminal collaboration data records the collaborative terminal, collaboration time and collaboration data that collaborates with the Internet of Things terminal; the terminal operation data records the operation data of the Internet of Things terminal at each time point.
[0061] Optionally, the collaborative terminal is an IoT terminal that cooperates, interacts, or transmits data with an IoT terminal.
[0062] Optionally, the collaboration time is a time point for collaboration, interaction or data transmission.
[0063] Optionally, the collaborative data is data transmitted during cooperation and interaction.
[0064] Optionally, each IoT terminal has a terminal number for unique identification, and the corresponding IoT terminal can be uniquely identified according to the terminal number.
[0065] S2. Determine the operating status of each IoT terminal based on the terminal operating data of each IoT terminal, and identify the IoT terminal with abnormal operating status as an abnormal operating terminal.
[0066] In a preferred embodiment, judging the operating state of each IoT terminal based on the terminal operating data of each IoT terminal includes:
[0067] Extract several terminal status data and corresponding time identifiers from the terminal operation data, and arrange all the terminal status data in the order of the time identifiers to obtain the initial time series data of the IoT terminal, and then preprocess the initial time series data to obtain standard time series data;
[0068] The standard time series data is segmented according to the operation cycle of the IoT terminal to obtain a plurality of operation time series data; the operation time series data represents the terminal status data of the IoT terminal arranged in the order of time identifiers within an operation cycle;
[0069] Extracting the features of the running time series data to obtain corresponding running time series features, and mapping the running time series features to corresponding feature spaces to obtain data fluctuation features; the data fluctuation features are used to characterize the fluctuation of the values of various running indicators of the corresponding Internet of Things terminal within the corresponding running cycle;
[0070] Obtaining standard fluctuation characteristics of the corresponding Internet of Things terminal from the database; the standard fluctuation characteristics are used to characterize the fluctuation of data of various operating indicators of the corresponding Internet of Things terminal during normal operation;
[0071] Compare the data fluctuation characteristics of each operation cycle with the standard fluctuation characteristics to determine whether the IoT terminal operates abnormally in each operation cycle;
[0072] If an IoT terminal operates abnormally in two consecutive operation cycles, it means that the operation status of the corresponding IoT terminal is abnormal.
[0073] In a preferred embodiment, the preprocessing of the initial time series data includes:
[0074] Obtain sample training data from a database, and train a model based on the sample training data to obtain a data-filled model;
[0075] Performing deduplication processing on the initial time series data to remove duplicate redundant data in the initial time series data;
[0076] Identify missing data values in the initial time series data, and mark the time series positions of the missing data values to obtain missing time-stamp data of the initial time series data;
[0077] The missing values in the initial time series data are filled with preset values, and the initial time series data filled with preset values and the corresponding missing time-standard data are input into the data filling model to output standard time series data after the missing values of the initial time series data are filled.
[0078] Optionally, the initial time series data may have data duplication and data missing. If the operation status analysis is performed directly through the initial time series data, the analysis results will be inaccurate. Therefore, before performing the operation status analysis, the initial time series data is preprocessed to remove duplicate data and fill in missing data, thereby improving the accuracy of subsequent status analysis.
[0079] S3. Based on the terminal collaborative data of the abnormal operation terminal, an Internet of Things terminal that collaborates with the abnormal operation terminal is obtained and used as a collaborative operation terminal.
[0080] Preferably, the terminal number of the cooperative terminal cooperating with the abnormal operation terminal is obtained based on the terminal cooperation data of the abnormal operation terminal, and the Internet of Things terminal corresponding to the terminal number is marked as a cooperative operation terminal in the database.
[0081] The operation data of the abnormally operating terminal will affect the IoT terminals cooperating with it. Therefore, the accuracy of the detection result can be improved by further detecting the cooperating terminals of the abnormally operating terminal.
[0082] S4. Construct a timing collaboration graph of the Internet of Things based on the terminal collaboration data of all the Internet of Things terminals in the Internet of Things, and then construct a timing collaboration constraint based on the timing collaboration graph.
[0083] Preferably, constructing a time series collaboration graph of the Internet of Things based on the terminal collaboration data of all the Internet of Things terminals in the Internet of Things includes:
[0084] Traverse all IoT terminals of the IoT, and use the IoT terminal being traversed as the target terminal, and then obtain the coordinated terminal of the target terminal according to the terminal coordinated data of the target terminal;
[0085] Determine the cooperation type of each cooperative terminal based on the data transmission direction between the target terminal and the cooperative terminal; the cooperation types include: active cooperation, passive cooperation and bidirectional cooperation; the active cooperation is that the target terminal transmits data to the cooperative terminal; the passive cooperation is that the cooperative terminal transmits data to the target terminal; the bidirectional cooperation is that the target terminal and the cooperative terminal perform bidirectional data transmission;
[0086] The cooperation density of each cooperative terminal is obtained based on the data transmission volume between the target terminal and the cooperative terminal; the higher the cooperation density, the higher the data transmission volume between the target terminal and the cooperative terminal;
[0087] Extracting the features of the cooperation type, cooperation data and cooperation density of each cooperation terminal to obtain the cooperation type feature, cooperation data feature and cooperation density feature of each cooperation terminal, and mapping the cooperation type feature, cooperation data feature and cooperation density feature to the feature space to obtain the cooperation feature of each cooperation terminal, and then associating the cooperation features of all cooperation terminals according to the corresponding cooperation time to obtain the time series cooperation feature of the target terminal;
[0088] Repeat the above steps to obtain the timing coordination features of each IoT terminal, and concatenate the timing coordination features of all IoT terminals in the same feature space to obtain a timing coordination graph.
[0089] In one embodiment, constructing a timing collaboration constraint based on a timing collaboration graph includes:
[0090] Extract features of the time series collaboration graph, and map the features to a feature space to obtain a number of feature points, traverse each feature point, and use the feature point being traversed as a target feature point, and then calculate the feature distance between the target feature point and each feature point;
[0091] Taking a feature point whose feature distance is greater than a distance threshold as a constraint feature point of a target feature point, and connecting all constraint feature points of the target feature point to obtain a constraint feature curve of the target feature point;
[0092] Repeat the above steps to obtain the constraint characteristic curve of each feature point;
[0093] The constraint characteristic curves of all feature points are fitted to obtain the timing coordination constraints.
[0094] S5. Construct a time sequence coordination trajectory corresponding to each coordinated operation terminal based on the terminal coordination data of each coordinated operation terminal, and determine whether the time sequence coordination trajectory corresponding to each coordinated operation terminal satisfies the time sequence coordination constraint.
[0095] Optionally, constructing a time series collaborative trajectory corresponding to the collaborative operation terminal based on the terminal collaborative data of the collaborative operation terminal includes:
[0096] Acquire all IoT terminals cooperating with the cooperative operation terminal according to the terminal cooperative data of the cooperative operation terminal, and use all IoT terminals cooperating with the cooperative operation terminal as first associated terminals;
[0097] Acquire all IoT terminals that cooperate with the first associated terminal according to the terminal cooperation data of the first associated terminal, and use all IoT terminals that cooperate with the first associated terminal as second associated terminals;
[0098] Iterate the above steps until the number of iterations is equal to the preset number of iterations, and use the associated terminal obtained in each iteration as the cooperative associated terminal;
[0099] Based on the data transmission direction of the cooperatively associated terminal, the cooperatively associated terminal whose cooperative type is active cooperative is selected and used as the active cooperative terminal;
[0100] Obtaining the cooperation density of each active cooperation terminal based on the data transmission volume between the cooperative operation terminal and the active cooperation terminal;
[0101] Acquire the coordination time feature, coordination data feature and coordination density feature of each active coordination terminal according to the coordination time, coordination data and coordination density of the active coordination terminal;
[0102] Mapping the collaborative time feature, collaborative data feature and collaborative density feature of each active collaborative terminal to a feature vector space of the same dimension to obtain a collaborative time vector, a collaborative data vector and a collaborative density vector;
[0103] The collaborative time vector, collaborative data vector and collaborative density vector of each active collaborative terminal are feature fused to obtain the collaborative timing point corresponding to each active collaborative terminal. Based on the collaborative time features of the collaborative time point, all the collaborative timing points are connected to obtain the timing collaborative trajectory corresponding to the collaborative operation terminal.
[0104] According to a preferred embodiment, judging whether the timing coordination trajectory corresponding to the coordinated operation terminal satisfies the timing coordination constraint includes:
[0105] Acquire all coordinated timing points in the time series coordinated trajectory, and acquire adjacent coordinated points of each coordinated timing point; the adjacent coordinated points are the previous coordinated timing point and the next coordinated timing point adjacent to the coordinated timing point;
[0106] Determine whether the coordination density of each coordination timing point is greater than or less than the corresponding adjacent coordination point at the same time, and if so, take the coordination timing point as an extreme value point;
[0107] Determine whether the extreme point is within the timing coordination constraint;
[0108] If all extreme value points are within the timing coordination constraint, it means that the corresponding timing coordination trajectory satisfies the timing coordination constraint;
[0109] If one or more extreme points are outside the timing coordination constraint, it means that the corresponding timing coordination trajectory does not satisfy the timing coordination constraint.
[0110] S6. When the timing coordination trajectory corresponding to the collaborative operation terminal satisfies the timing coordination constraint, the corresponding collaborative operation terminal is judged to be a normal operation terminal; when the timing coordination trajectory corresponding to the collaborative operation terminal does not satisfy the timing coordination constraint, the corresponding collaborative operation terminal is judged to be an abnormal operation terminal.
[0111] The present application identifies IoT terminals with abnormal operation through the terminal operation data of the IoT terminals, and determines the interaction between IoT terminals through the terminal collaboration data of the IoT terminals to identify subtle anomalies, thereby avoiding the abnormal conditions of other IoT terminals being masked by the abnormally operating IoT terminals, thereby improving the accuracy of anomaly identification.
[0112] In addition, this application automatically detects the operating status of IoT terminals through big data and artificial intelligence, thereby improving the efficiency and accuracy of anomaly detection and reducing labor costs.
[0113] In addition, each functional unit in each embodiment of this invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
[0114] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this article is essentially or the part that contributes to the prior art, or all or 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, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of this article. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0115] Specific embodiments are used in this article to illustrate the principles and implementation methods of this article. The description of the above embodiments is only used to help understand the methods and core ideas of this article. At the same time, for general technicians in this field, according to the ideas of this article, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on this article.
Claims
1. A method for processing Internet of Things data based on big data and artificial intelligence, characterized in that: Receive terminal historical data sent by all IoT terminals in the IoT; the terminal historical data includes terminal collaboration data and terminal operation data; Determine the operation status of each IoT terminal based on the terminal operation data of each IoT terminal, and identify the IoT terminal with abnormal operation status as an abnormal operation terminal; Based on the terminal collaborative data of the abnormal operation terminal, the IoT terminal that collaborates with the abnormal operation terminal is acquired and used as a collaborative operation terminal; Building a time sequence collaboration graph of the Internet of Things based on the terminal collaboration data of all the Internet of Things terminals in the Internet of Things, and then building a time sequence collaboration constraint based on the time sequence collaboration graph; Based on the terminal cooperation data of each cooperative operation terminal, a time series cooperation trajectory corresponding to each cooperative operation terminal is constructed, and it is determined whether the time series cooperation trajectory corresponding to each cooperative operation terminal satisfies the time series cooperation constraint; When the timing coordination trajectory corresponding to the collaborative operation terminal satisfies the timing coordination constraint, the corresponding collaborative operation terminal is judged to be a normal operation terminal; when the timing coordination trajectory corresponding to the collaborative operation terminal does not satisfy the timing coordination constraint, the corresponding collaborative operation terminal is judged to be an abnormal operation terminal; The time series collaboration graph of the Internet of Things is constructed based on the terminal collaboration data of all IoT terminals in the Internet of Things, including: Traverse all IoT terminals of the IoT, and use the IoT terminal being traversed as the target terminal, and then obtain the coordinated terminal of the target terminal according to the terminal coordinated data of the target terminal; Determine the cooperation type of each cooperative terminal based on the data transmission direction between the target terminal and the cooperative terminal; the cooperation types include: active cooperation, passive cooperation and bidirectional cooperation; the active cooperation is that the target terminal transmits data to the cooperative terminal; the passive cooperation is that the cooperative terminal transmits data to the target terminal; the bidirectional cooperation is that the target terminal and the cooperative terminal perform bidirectional data transmission; The cooperation density of each cooperative terminal is obtained based on the data transmission volume between the target terminal and the cooperative terminal; the higher the cooperation density, the higher the data transmission volume between the target terminal and the cooperative terminal; Extracting the features of the cooperation type, cooperation data and cooperation density of each cooperation terminal to obtain the cooperation type feature, cooperation data feature and cooperation density feature of each cooperation terminal, and mapping the cooperation type feature, cooperation data feature and cooperation density feature to the feature space to obtain the cooperation feature of each cooperation terminal, and then associating the cooperation features of all cooperation terminals according to the corresponding cooperation time to obtain the time series cooperation feature of the target terminal; Repeat the above steps to obtain the timing coordination features of each IoT terminal, and concatenate the timing coordination features of all IoT terminals in the same feature space to obtain a timing coordination graph; The time series collaborative trajectory corresponding to the collaborative operation terminal is constructed based on the terminal collaborative data of the collaborative operation terminal, including: Acquire all IoT terminals cooperating with the cooperative operation terminal according to the terminal cooperative data of the cooperative operation terminal, and use all IoT terminals cooperating with the cooperative operation terminal as first associated terminals; Acquire all IoT terminals that cooperate with the first associated terminal according to the terminal cooperation data of the first associated terminal, and use all IoT terminals that cooperate with the first associated terminal as second associated terminals; Iterate the above steps until the number of iterations is equal to the preset number of iterations, and use the associated terminal obtained in each iteration as the cooperative associated terminal; Based on the data transmission direction of the cooperatively associated terminal, the cooperatively associated terminal whose cooperative type is active cooperative is selected and used as the active cooperative terminal; Obtaining the cooperation density of each active cooperation terminal based on the data transmission volume between the cooperative operation terminal and the active cooperation terminal; Acquire the coordination time feature, coordination data feature and coordination density feature of each active coordination terminal according to the coordination time, coordination data and coordination density of the active coordination terminal; Mapping the collaborative time feature, collaborative data feature and collaborative density feature of each active collaborative terminal to a feature vector space of the same dimension to obtain a collaborative time vector, a collaborative data vector and a collaborative density vector; The collaborative time vector, collaborative data vector and collaborative density vector of each active collaborative terminal are feature fused to obtain the collaborative timing point corresponding to each active collaborative terminal. Based on the collaborative time features of the collaborative time point, all the collaborative timing points are connected to obtain the timing collaborative trajectory corresponding to the collaborative operation terminal.
2. The method according to claim 1, characterized in that: The terminal collaboration data records the collaborative terminals, collaboration time and collaboration data that collaborate with the IoT terminal; the terminal operation data records the operation data of the IoT terminal at each time point.
3. The method according to claim 2, characterized in that Each IoT terminal has a terminal number for unique identification.
4. The method according to claim 3, characterized in that The terminal number of the cooperative terminal cooperating with the abnormal operation terminal is acquired based on the terminal cooperative data of the abnormal operation terminal, and the Internet of Things terminal corresponding to the terminal number is marked as a cooperative operation terminal in the database.
5. The method according to claim 4, characterized in that Judging the operation status of each IoT terminal based on the terminal operation data of each IoT terminal includes: Extract several terminal status data and corresponding time identifiers from the terminal operation data, and arrange all the terminal status data in the order of the time identifiers to obtain the initial time series data of the IoT terminal, and then preprocess the initial time series data to obtain standard time series data; The standard time series data is segmented according to the operation cycle of the IoT terminal to obtain a plurality of operation time series data; the operation time series data represents the terminal status data of the IoT terminal arranged in the order of time identifiers within an operation cycle; Extracting the features of the running time series data to obtain corresponding running time series features, and mapping the running time series features to corresponding feature spaces to obtain data fluctuation features; the data fluctuation features are used to characterize the fluctuation of the values of various running indicators of the corresponding Internet of Things terminal within the corresponding running cycle; Obtaining standard fluctuation characteristics of the corresponding Internet of Things terminal from the database; the standard fluctuation characteristics are used to characterize the fluctuation of data of various operating indicators of the corresponding Internet of Things terminal during normal operation; Compare the data fluctuation characteristics of each operation cycle with the standard fluctuation characteristics to determine whether the IoT terminal operates abnormally in each operation cycle; If an IoT terminal operates abnormally in two consecutive operation cycles, it means that the operation status of the corresponding IoT terminal is abnormal.
6. The method according to claim 5, characterized in that The preprocessing of the initial time series data includes: Obtain sample training data from a database, and train a model based on the sample training data to obtain a data-filled model; Performing deduplication processing on the initial time series data to remove duplicate redundant data in the initial time series data; Identify missing data values in the initial time series data, and mark the time series positions of the missing data values to obtain missing time-stamp data of the initial time series data; The missing values in the initial time series data are filled with preset values, and the initial time series data filled with preset values and the corresponding missing time-standard data are input into the data filling model to output standard time series data after the missing values of the initial time series data are filled.
7. The method according to claim 6, characterized in that Judging whether the timing coordination trajectory corresponding to the coordinated operation terminal satisfies the timing coordination constraint includes: Acquire all coordinated timing points in the time series coordinated trajectory, and acquire adjacent coordinated points of each coordinated timing point; the adjacent coordinated points are the previous coordinated timing point and the next coordinated timing point adjacent to the coordinated timing point; Determine whether the coordination density of each coordination timing point is simultaneously greater than or simultaneously less than the corresponding adjacent coordination point, and if so, take the coordination timing point as an extreme value point; Determine whether the extreme point is within the timing coordination constraint; If all extreme value points are within the timing coordination constraint, it means that the corresponding timing coordination trajectory satisfies the timing coordination constraint; If one or more extreme points are outside the timing coordination constraint, it means that the corresponding timing coordination trajectory does not satisfy the timing coordination constraint.
