A method for determining abnormal operation of a device cluster, an electronic device and a storage medium

By calculating the operating parameters and historical data of the equipment cluster and predicting its status anomalies in the future, it solves the problem in the existing technology that the equipment status cannot be predicted in the future, and improves equipment safety and maintenance efficiency.

CN117951625BActive Publication Date: 2024-09-13SHANDONG CLOUD SKY SECURITY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410149037.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-01
Publication Date
2024-09-13
Estimated Expiration
2044-02-01

AI Technical Summary

Technical Problem

Existing asset equipment status monitoring methods can only monitor abnormal status at historical moments and cannot predict the status at future moments. There is lag and safety accidents are prone to occur.

Method used

By obtaining the operating parameters of the target equipment cluster within a certain period of time, calculate the operating vector to be identified, and input it into the historical data standard deviation ellipse model, determine the key standard deviation ellipse and feature points, and calculate the distance from the feature point to the ellipse focus. Angle difference, if the variance is greater than the threshold, it is predicted that the target device cluster will be in an abnormal operating state in the future.

Benefits of technology

It can predict the status development trend of the target equipment cluster, conduct maintenance and repair in advance, reduce the number of abnormal occurrences, and improve security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117951625B
    Figure CN117951625B
Patent Text Reader

Abstract

The present invention provides a method for determining abnormal operation of a device cluster, an electronic device and a storage medium, and relates to the field of data processing. The method comprises: determining the operation vector to be identified of the target device cluster in the second target time period according to a number of operation parameters of each target device in the second target time period; determining the key feature points corresponding to the operation vector to be identified; sorting the key feature points, and if the sum of the distances from each key feature point to the two foci of the key standard deviation ellipse after sorting is in ascending order, then determining the operation state of the target device cluster in the third target time period according to the variance of the angle difference of the tangent angles corresponding to each two adjacent key feature points. The present invention determines the development trend of the operation state of the target device cluster by inputting the operation vector to be identified of the target device cluster into the historical data standard deviation ellipse model, and if the fluctuation is large, it is predicted that the target device cluster will be in an abnormal operation state at a future moment.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] At present, the status monitoring of asset equipment is mainly achieved by collecting the operating parameters of each asset equipment, and comparing the collected operating parameters of each asset equipment with the preset parameter threshold in real time. If the collected operating parameters of the asset equipment are greater than the corresponding parameter threshold, it means that the asset equipment has an abnormality at a historical moment and needs to be maintained. However, this status monitoring method can only monitor asset equipment that has experienced abnormal conditions at a historical moment, and cannot predict the status of the asset equipment at a future moment. It has a lag and is prone to safety accidents. Summary of the invention

[0003] In view of the above technical problems, the technical solution adopted by the present invention is:

[0004] According to one aspect of the present application, a method for determining an abnormal operation of a device cluster is provided, which is applied to a device cluster abnormality determination system, wherein the device cluster abnormality determination system is connected to a target device cluster, the target device cluster includes n target devices, and each target device corresponds to k operating parameter identifiers;

[0005] The method for determining abnormal operation of a device cluster comprises the following steps:

[0006] Step S100: every first target time period, obtain a number of operating parameters corresponding to each operating parameter identifier of each target device in a second target time period; the end time of the second target time period is the current time; the length of the second target time period is greater than the length of the first target time period;

[0007] Step S200, determining an operation vector to be identified of a target device cluster in the second target time period according to a number of operation parameters of each target device in the second target time period;

[0008] Step S300, inputting the operation vector to be identified into a preset historical data standard deviation ellipse model; the historical data standard deviation ellipse model is obtained according to the operation parameters of the target device cluster when it is in a safe operation state during the historical period; the historical data standard deviation ellipse model includes a plurality of target historical standard deviation ellipses; each target historical standard deviation ellipse corresponds to a standard deviation ellipse identifier; the target historical standard deviation ellipse is obtained according to a plurality of operation parameters of the target device cluster during the historical period;

[0009] Step S400, determining the target historical standard deviation ellipse where the characteristic point corresponding to the last characteristic information in the running vector to be identified is located as the key standard deviation ellipse;

[0010] Step S500, determining the feature points corresponding to the feature information located in the key standard deviation ellipse in the running vector to be identified as key feature points;

[0011] Step S600, sorting a number of key feature points in ascending order of time, and calculating the sum of the distances from each sorted key feature point to two foci of the key standard deviation ellipse;

[0012] Step S700: if the sum of the distances from each key feature point to the two foci of the key standard deviation ellipse after sorting is in ascending order, then the angle difference of the tangent angles corresponding to each two adjacent key feature points is obtained;

[0013] Step S800: If the variance of all angle differences is greater than a preset variance threshold, it is determined that the target device cluster is in an abnormal operating state within a third target time period; the start time of the third target time period is the end time of the second target time period, and the length of the third target time period is less than the length of the second target time period.

[0014] In an exemplary embodiment of the present application, step S200 includes:

[0015] Step S210: Determine each average operating parameter of each target device in the second target time period according to the operating parameters corresponding to each operating parameter identifier of each target device in the second target time period, and obtain a target average operating parameter list set A=(A1, A2, ..., A i ,...,A n );A i =(A i1 ,A i2 ,...,A ij ,...,A ig );A ij =(A ij1 ,A ij2 ,...,A ijh ,...,A ijk ); where, i=1,2,...,n; A i is a list of average operating parameters of the i-th target device in the second target time period; j = 1, 2, ..., g; g is the number of sub-time periods in the second target time period, and the g sub-time periods are connected in sequence; A ij is a list of average operating parameters of the i-th target device in the j-th sub-time period of the second target time period; h = 1, 2, ..., k; A ijh is the hth average operating parameter of the i-th target device in the j-th sub-time period of the second target time period; A ijh The operation parameter corresponding to the h-th operation parameter identifier of the i-th target device in the j-th sub-time period of the second target time period is averaged to obtain the operation parameter;

[0016] Step S220: According to the target average operating parameter list set A, a target device risk value list set B is obtained for each target device in the second target time period = (B1, B2, ..., B i ,...,B n );B i =(B i1 ,B i2 ,...,B ij ,...,B ig );B ij =(∑ k h=1 A ijh ) / k; where B i is a list of device risk values ​​of the i-th target device in the second target time period; B ij is the device risk value of the i-th target device in the j-th sub-time period of the second target time period;

[0017] Step S230: According to the target device risk value list set B, a target cluster risk value list D of the target device cluster in the second target time period is obtained. The target cluster risk value list D = (D1, D2, ..., D j ,...,D g );D j =(∑ n i=1 B ij ) / n; where D j is the cluster risk value of the target device cluster in the jth sub-time period of the second target time period;

[0018] Step S240: According to the target average operating parameter list set A and the target device risk value list set B, a target device fluctuation value list set C of each target device in the second target time period is obtained, which is equal to (C1, C2, ..., C i ,...,C n );C i =(C i1 ,C i2 ,...,C ij ,...,C ig );C ij =(∑ k h=1 (A ijh -B ij ) 2 ) / k; where C i is a list of device fluctuation values ​​of the i-th target device in the second target time period; C ij is the device fluctuation value of the i-th target device in the j-th sub-time period of the second target time period;

[0019] Step S250: According to the target device fluctuation value list set C, a target cluster fluctuation value list E of the target device cluster in the second target time period is obtained, which is equal to (E1, E2, ..., E j ,...,E g );E j =(∑ n i=1 C ij ) / n; where E j is the cluster fluctuation value of the target device cluster in the jth sub-time period of the second target time period;

[0020] Step S260: Determine the target device cluster's operation vector to be identified in the second target time period according to the target cluster risk value list D and the target cluster fluctuation value list E. j ,...,F g );F j =(D j ,E j );F j It is the characteristic information corresponding to the target device cluster in the jth sub-time period of the second target time period.

[0021] In an exemplary embodiment of the present application, after step S300, the method for determining abnormal operation of a device cluster further includes:

[0022] Step S310, determining the standard deviation ellipse identifier corresponding to the target historical standard deviation ellipse where the feature point corresponding to each feature information in the to-be-identified running vector F is located as the target ellipse identifier;

[0023] Step S320, performing the same clustering on a plurality of target ellipse identifiers to obtain a plurality of target ellipse identifier groupings; each target ellipse identifier grouping includes a plurality of target ellipse identifiers;

[0024] Step S330: If the number of the target ellipse identification clusters is greater than a preset cluster number threshold, it is determined that the target device cluster is in an abnormal operation state within the third target time period; otherwise, step S400 is executed.

[0025] In an exemplary embodiment of the present application, step S800 is replaced by:

[0026] Step S810: If the variance of all angle differences is greater than a preset variance threshold, and all angle differences are less than a preset angle difference threshold, the last two key feature points after sorting are connected, and the connecting line is determined as the target trajectory connecting line;

[0027] Step S811: If there is a target historical standard deviation ellipse in the extension direction of the last key feature point after sorting, it is determined that the target device cluster is in a safe operation state within the third target time period; otherwise, it is determined that the target device cluster is in an abnormal operation state within the third target time period.

[0028] In an exemplary embodiment of the present application, step S800 is replaced by:

[0029] Step S820: if the variance of all angle differences is greater than a preset variance threshold, and there is an angle difference greater than or equal to the preset angle difference threshold, determining whether the sorted angle differences are in ascending order;

[0030] Step S830: if the sorted angle differences are in ascending order, it is determined that the target device cluster is in a safe operation state within the third target time period; otherwise, a target trajectory area is formed according to the tangent angles corresponding to the last two key feature points after sorting;

[0031] Step S840: If there is a target historical standard deviation ellipse in the target trajectory area, it is determined that the target device cluster is in a safe operation state within the third target time period; otherwise, it is determined that the target device cluster is in an abnormal operation state within the third target time period.

[0032] In an exemplary embodiment of the present application, after step S200, the method for determining abnormal operation of a device cluster further includes:

[0033] Step S201, comparing the operation vector to be identified with a plurality of preset target operation vectors, if the matching degree between the operation vector to be identified and any preset target operation vector is greater than or equal to a preset matching degree threshold, determining that the target device cluster is in a safe operation state within a third target time period; if the matching degree between the operation vector to be identified and each preset target operation vector is less than the preset matching degree threshold, executing step S300;

[0034] The target operation vector is obtained according to the fluctuation value and risk value of the target device cluster during the historical safety period; the length of the historical safety period is equal to the length of the second target time period; and the target device cluster is in a safe operation state during the historical critical period; the start time of the historical critical period is the end time of the historical safety period, and the length of the historical critical period is equal to the length of the third target time period.

[0035] In an exemplary embodiment of the present application, the target operation vector is determined by the following steps:

[0036] Step S2011: Obtain each average operating parameter of each target device in the historical security period, and obtain a historical average operating parameter list set G = (G1, G2, ..., Gi ,...,G n );G i =(G i1 ,G i2 ,...,G ij ,...,G ig );G ij =(G ij1 ,G ij2 ,...,G ijh ,...,G ijk ), where G i is the average operating parameter list of the i-th target device in the historical safety period; G ij is a list of average operating parameters of the i-th target device in the j-th sub-period of the historical safety period; G ijh is the hth average operating parameter of the i-th target device in the j-th sub-time period of the historical safety period; the historical safety period includes g sub-time periods, and the length of the sub-time period included in the historical safety period is equal to the length of the sub-time period included in the second target time period;

[0037] Step S2012: Based on the historical average operating parameter list set G, obtain the historical equipment risk value list set H = (H1, H2, ..., H i ,...,H n );H i =(H i1 ,H i2 ,...,H ij ,...,H ig );H ij =(∑ k h=1 G ijh ) / k; where H i is the device risk value list of the i-th target device in the historical security period; H ij is the device risk value of the i-th target device in the j-th sub-period of the historical safety period;

[0038] Step S2013: According to the historical equipment risk value list set H, obtain the historical cluster risk value list I of the target equipment cluster in the historical safety period = (I1, I2, ..., I j ,...,I g );I j =(∑ n i=1 H ij ) / n; where I j is the cluster risk value of the target device cluster in the jth sub-period of the historical safety period;

[0039] Step S2014: According to the historical average operating parameter list set G and the historical equipment risk value list set H, obtain the historical equipment fluctuation value list set J of each target equipment in the historical safety period = (J1, J2, ..., J i ,...,J n );J i =(J i1 ,J i2 ,...,J ij ,...,J ig );J ij =(∑ k h=1 (G ijh -H ij ) 2 ) / k; where J i is the device fluctuation value list of the i-th target device in the historical safety period; J ij is the device fluctuation value of the i-th target device in the j-th sub-time period of the historical safety period;

[0040] Step S2015: According to the historical equipment fluctuation value list set J, a historical cluster fluctuation value list K of the target equipment cluster in the historical safety period is obtained = (K1, K2, ..., K j ,...,K g );K j =(∑ n i=1 J ij ) / n; where K j is the cluster fluctuation value of the target device cluster in the jth sub-time period of the historical safety period;

[0041] Step S2016: Determine the historical operation vector L of the target device cluster in the historical safety period according to the historical cluster risk value list I and the historical cluster fluctuation value list K. j ,...,L g );L j =(I j ,K j );L j The characteristic information corresponding to the target device cluster in the jth sub-time period of the historical security period;

[0042] Step S2017: If the number of the historical safety period is one, the historical operation vector corresponding to the historical safety period is determined as the target operation vector.

[0043] In an exemplary embodiment of the present application, step S2017 further includes:

[0044] Step S20171: If there are multiple historical safety periods, cluster the historical operation vectors corresponding to each historical safety period to obtain a number of historical operation vector clusters; each historical operation vector cluster includes a number of historical operation vectors;

[0045] Step S20172: average a number of historical operation vectors in each historical operation vector group to obtain a historical center vector corresponding to each historical operation vector group;

[0046] Step S20173: determine each historical center vector as the target operation vector.

[0047] According to one aspect of the present application, a non-transitory computer-readable storage medium is provided, in which at least one instruction or at least one program is stored. The at least one instruction or the at least one program is loaded and executed by a processor to implement the aforementioned method for determining abnormal operation of a device cluster.

[0048] According to one aspect of the present application, an electronic device is provided, including a processor and the aforementioned non-transitory computer-readable storage medium.

[0049] The present invention has at least the following beneficial effects:

[0050] The present invention determines the operation vector to be identified of the target device cluster in the second target time period every first target time period according to several operation parameters corresponding to each operation parameter identifier of each target device in the second target time period, and inputs the operation vector to be identified into a preset historical data standard deviation ellipse model, determines the target historical standard deviation ellipse where the feature point corresponding to the last feature information in the operation vector to be identified is located as the key standard deviation ellipse, determines the feature point corresponding to the feature information in the operation vector to be identified that is located in the key standard deviation ellipse as the key feature point, sorts several key feature points according to the increasing order of time, and calculates the sum of the distances from each key feature point after sorting to the two foci of the key standard deviation ellipse, if the sum of the distances from each key feature point after sorting to the two foci of the key standard deviation ellipse is in increasing order, then obtains the angle difference of the tangent angle corresponding to each two adjacent key feature points, and if the variance of all the angle differences is greater than the preset variance threshold, it is determined that the target device cluster is in an abnormal operation state in the third target time period. By inputting the to-be-identified operating vector of the target device cluster in the second target time period into the standard deviation ellipse model of historical data, the development trend of the operating status of the target device cluster is determined. If the fluctuation is large, it is predicted that the target device cluster will be in an abnormal operating state in the third target time period in the future. When it is predicted that the target device cluster may be abnormal in the future, the staff can inspect and maintain the target device cluster in advance to reduce the number of abnormalities in the target device cluster and improve the safety of the target device cluster. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0052] Figure 1 A flowchart of a method for determining abnormal operation of a device cluster provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0053] 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 those skilled in the art without creative work are within the scope of protection of the present invention.

[0054] A method for determining an abnormality in operation of a device cluster is applied to a device cluster abnormality determination system. The device cluster abnormality determination system is connected to a target device cluster, the target device cluster includes n target devices, and each target device corresponds to k operation parameter identifiers.

[0055] The several target devices included in the target device cluster can be production equipment or asset equipment for network communication, etc. Each operating parameter identifier corresponds to a unique type of operating parameter. The operating parameter identifier is used to indicate the type of operating parameter monitored in real time for the target device. The operating parameter can be the operating temperature of the target device, ambient humidity, number of data packets received, number of data packets sent, etc.

[0056] like Figure 1 As shown, the method for determining abnormal operation of a device cluster proposed by the present invention includes the following steps:

[0057] Step S100: every first target time period, obtain a number of operating parameters corresponding to each operating parameter identifier of each target device in a second target time period; the end time of the second target time period is the current time; the length of the second target time period is greater than the length of the first target time period;

[0058] In one embodiment of the present application, the first target time period can be set to ten minutes, and the second target time period can be set to the past three hours, that is, every ten minutes, the average operating parameter corresponding to each operating parameter identifier of each target device in the past three hours is obtained. The first target time period and the second target time period can be determined according to the number of monitored target devices in the target device cluster or the number of types of monitored operating parameters. The more complex the target device cluster is, the shorter the length of the corresponding target time period is set.

[0059] The number of sub-time periods within the second target time period can also be determined according to the frequency of the operating parameters that the user wants to obtain. If the user wants to collect operating parameters with a higher frequency, the number of sub-time periods will be increased. Conversely, the number of sub-time periods will be reduced. The length of each sub-time period within the second target time period is the same, that is, the second target time period is equally divided into several sub-time periods to ensure that the difference in the average operating parameters obtained is not too large.

[0060] Step S200, determining the to-be-identified operation vector of the target device cluster in the second target time period according to a number of operation parameters of each target device in the second target time period, and executing step S201;

[0061] Further, the method for determining the operation vector to be identified includes steps S210 to S260:

[0062] Step S210: Determine each average operating parameter of each target device in the second target time period according to the operating parameters corresponding to each operating parameter identifier of each target device in the second target time period, and obtain a target average operating parameter list set A=(A1, A2, ..., A i ,...,A n );A i =(A i1 ,A i2 ,...,A ij ,...,A ig );A ij =(A ij1 ,A ij2 ,...,A ijh ,...,A ijk ); where, i=1,2,...,n; A i is a list of average operating parameters of the i-th target device in the second target time period; j = 1, 2, ..., g; g is the number of sub-time periods in the second target time period, and the g sub-time periods are connected in sequence; A ij is a list of average operating parameters of the i-th target device in the j-th sub-time period of the second target time period; h = 1, 2, ..., k; A ijh is the hth average operating parameter of the i-th target device in the j-th sub-time period of the second target time period; A ijh The operation parameter corresponding to the h-th operation parameter identifier of the i-th target device in the j-th sub-time period of the second target time period is averaged to obtain the operation parameter;

[0063] The average operating parameter is the average value of several operating parameters corresponding to each operating parameter identifier of the target device within the second target time period, that is, each operating parameter identifier corresponds to an average operating parameter, and the average operating parameter is the average value of several operating parameters of the same type.

[0064] Step S220: According to the target average operating parameter list set A, a target device risk value list set B is obtained for each target device in the second target time period = (B1, B2, ..., B i ,...,B n );B i =(B i1 ,B i2 ,...,B ij ,...,B ig );B ij =(∑ k h=1 A ijh ) / k; where B iis a list of device risk values ​​of the i-th target device in the second target time period; B ij is the device risk value of the i-th target device in the j-th sub-time period of the second target time period;

[0065] Step S230: According to the target device risk value list set B, a target cluster risk value list D of the target device cluster in the second target time period is obtained. The target cluster risk value list D = (D1, D2, ..., D j ,...,D g );D j =(∑ n i=1 B ij ) / n; where D j is the cluster risk value of the target device cluster in the jth sub-time period of the second target time period;

[0066] Step S240: According to the target average operating parameter list set A and the target device risk value list set B, a target device fluctuation value list set C of each target device in the second target time period is obtained, which is equal to (C1, C2, ..., C i ,...,C n );C i =(C i1 ,C i2 ,...,C ij ,...,C ig );C ij =(∑ k h=1 (A ijh -B ij ) 2 ) / k; where C i is a list of device fluctuation values ​​of the i-th target device in the second target time period; C ij is the device fluctuation value of the i-th target device in the j-th sub-time period of the second target time period;

[0067] Step S250: According to the target device fluctuation value list set C, a target cluster fluctuation value list E of the target device cluster in the second target time period is obtained, which is equal to (E1, E2, ..., E j ,...,E g );E j =(∑ n i=1 C ij ) / n; where E j is the cluster fluctuation value of the target device cluster in the jth sub-time period of the second target time period;

[0068] The fluctuation value indicates the fluctuation of the operating parameters of the target device cluster in the corresponding time period, and determines whether the target device cluster is in a normal and stable operating state in the corresponding time period. The larger the fluctuation value, the more unstable the operation of the target device cluster in the corresponding time period.

[0069] The risk value indicates the risk level of the operation status of the target device cluster in the corresponding time period. The larger the risk value, the more likely the target device cluster is to have abnormal operation in the corresponding time period.

[0070] First, the target device risk value and the target device fluctuation value of each target device in the corresponding time period are determined, and then the target cluster risk value and the target cluster fluctuation value of the target device cluster in the corresponding time period are determined.

[0071] Step S260: Determine the target device cluster's operation vector to be identified in the second target time period according to the target cluster risk value list D and the target cluster fluctuation value list E. j ,...,F g );F j =(D j ,E j );F j It is the characteristic information corresponding to the target device cluster in the jth sub-time period of the second target time period.

[0072] Each feature information of the operation vector to be identified corresponding to the target device cluster can be represented as a two-dimensional coordinate point, the horizontal coordinate of the two-dimensional coordinate point is the target cluster risk value of the target device cluster in the corresponding time period, and the vertical coordinate of the two-dimensional coordinate point is the target cluster fluctuation value of the target device cluster in the corresponding time period.

[0073] Through the operation vector to be identified, the target cluster risk value and the target cluster fluctuation value of the target device cluster in each sub-time period of the corresponding time period can be obtained.

[0074] Step S201, comparing the operation vector to be identified with a plurality of preset target operation vectors, if the matching degree between the operation vector to be identified and any preset target operation vector is greater than or equal to a preset matching degree threshold, determining that the target device cluster is in a safe operation state within a third target time period; if the matching degree between the operation vector to be identified and each preset target operation vector is less than the preset matching degree threshold, executing step S300;

[0075] Among them, the target operation vector is obtained according to the fluctuation value and risk value of the target device cluster in the historical safety period; the length of the historical safety period is equal to the length of the second target time period; and the target device cluster is in a safe operation state during the historical critical period; the start time of the historical critical period is the end time of the historical safety period, and the length of the historical critical period is equal to the length of the third target time period; the start time of the third target time period is the end time of the second target time period, and the length of the third target time period is less than the length of the second target time period.

[0076] In order to ensure that the matching degree between the running vector to be identified and the target running vector is more accurate, the length of the historical safety period is set to be equal to the length of the second target time period, and the number of sub-time periods in the historical safety period is equal to the number of sub-time periods in the second target time period, so as to ensure that the dimension of each target running vector is equal to the dimension of the running vector to be identified, so as to facilitate comparison between the two.

[0077] In addition, there are specific rules for limiting the historical safety period, that is, the target device cluster is in a safe operating state during the historical critical period after the historical safety period, so as to facilitate the subsequent prediction of the operating state of the target device cluster at a future moment. The future moment is the third target time period, and the length of the third target time period is equal to the length of the historical critical period. The historical safety period and the historical critical period are both historical moments.

[0078] Through the operating parameters of the target device cluster at historical moments, several target operating vectors are obtained, and then the operating vector to be identified is compared with several target operating vectors. If the matching degree between the operating vector to be identified and any target operating vector is greater than or equal to a preset matching degree threshold, it means that the operating state of the target device cluster in the second target time period is similar to the operating state of the target device cluster in the historical safety period corresponding to the similar target operating vector. Since the target device cluster is in a safe operating state in the historical critical time period after the historical safety period, it can be determined that the target device cluster is also in a safe operating state in the third target time period after the second target time period, so as to predict the operating state of the target device cluster at future moments.

[0079] If the matching degree between the operation vector to be identified and each target operation vector is less than the preset matching degree threshold, it means that the operation status of the target device cluster in the second target time period is different from the operation status of the target device cluster in the historical safety period corresponding to each target operation vector, and it cannot be determined whether the operation status of the target device cluster in the third target time period is normal. Further judgment is required, that is, executing step S300 to determine the operation status of the target device cluster in the third target time period.

[0080] The target operation vector is determined by steps S2011 to S20173:

[0081] Step S2011: Obtain each average operating parameter of each target device in the historical security period, and obtain a historical average operating parameter list set G = (G1, G2, ..., G i ,...,G n );G i =(G i1 ,G i2 ,...,G ij ,...,G ig );G ij =(G ij1 ,G ij2 ,...,G ijh ,...,G ijk ), where G i is the average operating parameter list of the i-th target device in the historical safety period; G ij is a list of average operating parameters of the i-th target device in the j-th sub-period of the historical safety period; G ijh is the hth average operating parameter of the i-th target device in the j-th sub-time period of the historical safety period; the historical safety period includes g sub-time periods, and the length of the sub-time period included in the historical safety period is equal to the length of the sub-time period included in the second target time period;

[0082] Step S2012: Based on the historical average operating parameter list set G, obtain the historical equipment risk value list set H = (H1, H2, ..., H i ,...,H n );H i =(H i1 ,H i2 ,...,H ij ,...,H ig );H ij =(∑ k h=1 G ijh ) / k; where H i is the device risk value list of the i-th target device in the historical security period; H ij is the device risk value of the i-th target device in the j-th sub-period of the historical safety period;

[0083] Step S2013: According to the historical equipment risk value list set H, obtain the historical cluster risk value list I of the target equipment cluster in the historical safety period = (I1, I2, ..., I j ,...,I g );Ij =(∑ n i=1 H ij ) / n; where I j is the cluster risk value of the target device cluster in the jth sub-period of the historical safety period;

[0084] Step S2014: According to the historical average operating parameter list set G and the historical equipment risk value list set H, obtain the historical equipment fluctuation value list set J of each target equipment in the historical safety period = (J1, J2, ..., J i ,...,J n );J i =(J i1 ,J i2 ,...,J ij ,...,J ig );J ij =(∑ k h=1 (G ijh -H ij ) 2 ) / k; where J i is the device fluctuation value list of the i-th target device in the historical safety period; J ij is the device fluctuation value of the i-th target device in the j-th sub-time period of the historical safety period;

[0085] Step S2015: According to the historical equipment fluctuation value list set J, a historical cluster fluctuation value list K of the target equipment cluster in the historical safety period is obtained = (K1, K2, ..., K j ,...,K g );K j =(∑ n i=1 J ij ) / n; where K j is the cluster fluctuation value of the target device cluster in the jth sub-time period of the historical safety period;

[0086] Step S2016: Determine the historical operation vector L of the target device cluster in the historical safety period according to the historical cluster risk value list I and the historical cluster fluctuation value list K. j ,...,L g );L j =(I j ,K j );L j The characteristic information corresponding to the target device cluster in the jth sub-time period of the historical security period;

[0087] Step S2017: If the number of historical safety periods is one, determine the historical operation vector corresponding to the historical safety period as the target operation vector;

[0088] Step S20171: If there are multiple historical safety periods, cluster the historical operation vectors corresponding to each historical safety period to obtain a number of historical operation vector clusters; each historical operation vector cluster includes a number of historical operation vectors;

[0089] Step S20172: average a number of historical operation vectors in each historical operation vector group to obtain a historical center vector corresponding to each historical operation vector group;

[0090] Step S20173: determine each historical center vector as the target operation vector.

[0091] The method for determining the target operation vector is the same as the method for determining the operation vector to be identified, except that the time period of the collected operation parameters is different.

[0092] Step S300, inputting the operation vector to be identified into a preset historical data standard deviation ellipse model;

[0093] The historical data standard deviation ellipse model is obtained based on the operating parameters of the target device cluster when it is in a safe operating state during the historical period; the historical data standard deviation ellipse model includes several target historical standard deviation ellipses; each target historical standard deviation ellipse corresponds to a standard deviation ellipse identifier; the target historical standard deviation ellipse is obtained based on several operating parameters of the target device cluster during the historical period;

[0094] The historical data standard deviation ellipse model is a tool for drawing a target historical standard deviation ellipse. Each target historical standard deviation ellipse is generated by the historical data standard deviation ellipse model.

[0095] The target historical standard deviation ellipse is a standard deviation ellipse obtained based on several operating parameters of the target device cluster in the historical period. The historical period can be determined according to user needs. There is no limited relationship between the historical period and the second target time period and the historical safety period. The two may overlap or not overlap. The number of historical periods can also be determined according to actual conditions. It is just that by collecting several operating parameters of the target device cluster in the historical period, the corresponding target historical standard deviation ellipse is obtained. The method of determining the standard deviation ellipse through data is an existing technology and will not be repeated here.

[0096] Each target historical standard deviation ellipse corresponds to a number of operating parameters of the target device cluster in each historical period.

[0097] Step S310, determining the standard deviation ellipse identifier corresponding to the target historical standard deviation ellipse where the feature point corresponding to each feature information in the to-be-identified running vector F is located as the target ellipse identifier;

[0098] The feature point corresponding to the feature information is the two-dimensional coordinate point mentioned in step S260.

[0099] Step S320, performing the same clustering on a plurality of target ellipse identifiers to obtain a plurality of target ellipse identifier groupings; each target ellipse identifier grouping includes a plurality of target ellipse identifiers;

[0100] Step S330: If the number of the target ellipse identification clusters is greater than a preset cluster number threshold, it is determined that the target device cluster is in an abnormal operation state within the third target time period; otherwise, step S400 is executed.

[0101] If the number of target ellipse identification clusters is greater than the cluster number threshold, it means that the operating status of the target device cluster in the second target time period includes the operating status of multiple historical time periods, indicating that the operating status of the target device cluster in the second target time period is unstable and there is an abnormal risk. It is determined that the target device cluster is in an abnormal operating state in the third target time period in the future.

[0102] Step S400, determining the target historical standard deviation ellipse where the characteristic point corresponding to the last characteristic information in the running vector to be identified is located as the key standard deviation ellipse;

[0103] If the number of target ellipse identification clusters is less than or equal to the cluster number threshold, it means that the operating status of the target device cluster in the second target time period is relatively stable. However, in order to further improve the accuracy of the prediction, the operating status trend of the target device cluster at the next moment is predicted based on the feature points corresponding to the feature information of the target device cluster in the last sub-time period of the second target time period.

[0104] Step S500, determining the feature points corresponding to the feature information located in the key standard deviation ellipse in the running vector to be identified as key feature points;

[0105] Step S600, sorting a number of key feature points in ascending order of time, and calculating the sum of the distances from each sorted key feature point to two foci of the key standard deviation ellipse;

[0106] Step S700: if the sum of the distances from each key feature point to the two foci of the key standard deviation ellipse after sorting is in ascending order, then the angle difference of the tangent angles corresponding to each two adjacent key feature points is obtained;

[0107] If the sum of the distances from each key feature point after sorting to the two foci of the key standard deviation ellipse is in increasing order, it means that the feature points corresponding to the operating status of the target device cluster have an operating trend of moving outside the key standard deviation ellipse, and the operating status of the target device cluster within the third target time period is further judged by obtaining the angle difference of the tangent angles of adjacent key feature points; otherwise, it means that the feature points corresponding to the operating status of the target device cluster may move within the key standard deviation ellipse, and it is determined that the target device cluster is in a safe operating state within the third target time period.

[0108] Step S800: If the variance of all angle differences is greater than a preset variance threshold, it is determined that the target device cluster is in an abnormal operation state within a third target time period.

[0109] In the second embodiment of the present application, step S800 is replaced by:

[0110] Step S810: If the variance of all angle differences is greater than a preset variance threshold, and all angle differences are less than a preset angle difference threshold, the last two key feature points after sorting are connected, and the connecting line is determined as the target trajectory connecting line;

[0111] Step S811: If there is a target historical standard deviation ellipse in the extension direction of the last key feature point after sorting, it is determined that the target device cluster is in a safe operation state within the third target time period; otherwise, it is determined that the target device cluster is in an abnormal operation state within the third target time period.

[0112] In the third embodiment of the present application, step S800 is replaced by:

[0113] Step S820: if the variance of all angle differences is greater than a preset variance threshold, and there is an angle difference greater than or equal to the preset angle difference threshold, determining whether the sorted angle differences are in ascending order;

[0114] Step S830: if the sorted angle differences are in ascending order, it is determined that the target device cluster is in a safe operation state within the third target time period; otherwise, a target trajectory area is formed according to the tangent angles corresponding to the last two key feature points after sorting;

[0115] Step S840: If there is a target historical standard deviation ellipse in the target trajectory area, it is determined that the target device cluster is in a safe operation state within the third target time period; otherwise, it is determined that the target device cluster is in an abnormal operation state within the third target time period.

[0116] The present invention determines the operation vector to be identified of the target device cluster in the second target time period every first target time period according to several operation parameters corresponding to each operation parameter identifier of each target device in the second target time period, and inputs the operation vector to be identified into a preset historical data standard deviation ellipse model, determines the target historical standard deviation ellipse where the feature point corresponding to the last feature information in the operation vector to be identified is located as the key standard deviation ellipse, determines the feature point corresponding to the feature information in the operation vector to be identified that is located in the key standard deviation ellipse as the key feature point, sorts several key feature points according to the increasing order of time, and calculates the sum of the distances from each key feature point after sorting to the two foci of the key standard deviation ellipse, if the sum of the distances from each key feature point after sorting to the two foci of the key standard deviation ellipse is in increasing order, then obtains the angle difference of the tangent angle corresponding to each two adjacent key feature points, and if the variance of all the angle differences is greater than the preset variance threshold, it is determined that the target device cluster is in an abnormal operation state in the third target time period. By inputting the to-be-identified operating vector of the target device cluster in the second target time period into the standard deviation ellipse model of historical data, the development trend of the operating status of the target device cluster is determined. If the fluctuation is large, it is predicted that the target device cluster will be in an abnormal operating state in the third target time period in the future. When it is predicted that the target device cluster may be abnormal in the future, the staff can inspect and maintain the target device cluster in advance to reduce the number of abnormalities in the target device cluster and improve the safety of the target device cluster.

[0117] An embodiment of the present invention further provides a computer program product, which includes program code. When the program product is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the method according to various exemplary embodiments of the present invention described above in this specification.

[0118] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0119] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0120] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0121] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".

[0122] The electronic device according to this embodiment of the present invention is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0123] The electronic device is presented in the form of a general-purpose computing device. The components of the electronic device may include, but are not limited to: the at least one processor mentioned above, the at least one storage device mentioned above, and a bus connecting different system components (including storage devices and processors).

[0124] The storage stores program codes, which can be executed by the processor, so that the processor executes the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification.

[0125] The memory may include readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory, and may further include read only memory (ROM).

[0126] The storage may also include a program / utility having a set (at least one) of program modules, such program modules including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.

[0127] The bus may represent one or more of several types of bus structures including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.

[0128] The electronic device can also communicate with one or more external devices (such as keyboards, pointing devices, Bluetooth devices, etc.), and can also communicate with one or more devices that enable users to interact with the electronic device, and / or communicate with any device (such as routers, modems, etc.) that enables the electronic device to communicate with one or more other computing devices. This communication can be carried out through an input / output (I / O) interface. In addition, the electronic device can also communicate with one or more networks (such as local area networks (LANs), wide area networks (WANs) and / or public networks, such as the Internet) through a network adapter. As shown in the figure, the network adapter communicates with other modules of the electronic device through a bus. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0129] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0130] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.

[0131] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0132] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0133] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0134] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0135] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0136] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0137] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A method for determining abnormal operation of a device cluster, characterized in that: Applied to a device cluster anomaly determination system, the device cluster anomaly determination system is connected to a target device cluster, the target device cluster includes n target devices, and each of the target devices corresponds to k operating parameter identifiers; The method comprises the following steps: Step S100: every first target time period, obtain a number of operating parameters corresponding to each operating parameter identifier of each target device in a second target time period; the end time of the second target time period is the current time; the length of the second target time period is greater than the length of the first target time period; Step S200, determining an operation vector to be identified of the target device cluster in the second target time period according to a plurality of operation parameters of each of the target devices in the second target time period; Step S300, inputting the operation vector to be identified into a preset historical data standard deviation ellipse model; the historical data standard deviation ellipse model is obtained according to the operation parameters of the target device cluster when it is in a safe operation state within a historical period; The historical data standard deviation ellipse model includes a plurality of target historical standard deviation ellipses; each of the target historical standard deviation ellipses corresponds to a standard deviation ellipse identifier; the target historical standard deviation ellipse is obtained according to a plurality of operating parameters of the target device cluster in a historical period; Step S400, determining the target historical standard deviation ellipse where the characteristic point corresponding to the last characteristic information in the running vector to be identified is located as the key standard deviation ellipse; Step S500, determining the feature points corresponding to the feature information located in the key standard deviation ellipse in the running vector to be identified as key feature points; Step S600, sorting the key feature points in ascending order of time, and calculating the sum of the distances from each of the sorted key feature points to the two foci of the key standard deviation ellipse; Step S700: if the sum of the distances from each of the key feature points to the two foci of the key standard deviation ellipse after sorting is in ascending order, then obtaining the angle difference of the tangent angles corresponding to each two adjacent key feature points; Step S800: If the variance of all angle differences is greater than a preset variance threshold, it is determined that the target device cluster is in an abnormal operating state within a third target time period; the start time of the third target time period is the end time of the second target time period, and the length of the third target time period is less than the length of the second target time period.

2. The method according to claim 1, characterized in that The step S200 includes: Step S210: Determine each average operating parameter of each target device in the second target time period according to the operating parameters corresponding to each operating parameter identifier of each target device in the second target time period, and obtain a target average operating parameter list set A=(A1, A2, ..., A i ,...,A n );A i =(A i1 ,A i2 ,...,A ij ,...,A ig );A ij =(A ij1 ,A ij2 ,...,A ijh ,...,A ijk ); where, i=1,2,...,n; A i is a list of average operating parameters of the i-th target device in the second target time period; j=1, 2, ..., g; g is the number of sub-time periods in the second target time period, and the g sub-time periods are connected in sequence; A ij is a list of average operating parameters of the i-th target device in the j-th sub-time period of the second target time period; h = 1, 2, ..., k; A ijh is the hth average operating parameter of the i-th target device in the j-th sub-time period of the second target time period; A ijh The operation parameter corresponding to the h-th operation parameter identifier of the i-th target device in the j-th sub-time period of the second target time period is averaged to obtain the operation parameter; Step S220: According to the target average operating parameter list set A, a target device risk value list set B of each target device in the second target time period is obtained = (B1, B2, ..., B i ,...,B n );B i =(B i1 ,B i2 ,...,B ij ,...,B ig );B ij =(∑ k h=1 A ijh ) / k; where B i is a list of device risk values ​​of the i-th target device in the second target time period; B ij is the device risk value of the i-th target device in the j-th sub-time period of the second target time period; Step S230: According to the target device risk value list set B, a target cluster risk value list D of the target device cluster in the second target time period is obtained. The target cluster risk value list D = (D1, D2, ..., D j ,...,D g );D j =(∑ n i=1 B ij ) / n; where D j is the cluster risk value of the target device cluster in the jth sub-time period of the second target time period; Step S240: According to the target average operating parameter list set A and the target device risk value list set B, a target device fluctuation value list set C of each target device in the second target time period is obtained, which is equal to (C1, C2, ..., C i ,...,C n );C i =(C i1 ,C i2 ,...,C ij ,...,C ig );C ij =(∑ k h=1 (A ijh -B ij ) 2 ) / k; where C i is a list of device fluctuation values ​​of the i-th target device in the second target time period; C ij is the device fluctuation value of the i-th target device in the j-th sub-time period of the second target time period; Step S250: According to the target device fluctuation value list set C, a target cluster fluctuation value list E=(E1, E2, ..., E j ,...,E g );E j =(∑ n i=1 C ij ) / n; where E j is the cluster fluctuation value of the target device cluster in the jth sub-time period of the second target time period; Step S260: Determine the target device cluster's operation vector to be identified in the second target time period according to the target cluster risk value list D and the target cluster fluctuation value list E. j ,...,F g );F j =(D j ,E j );F j It is the characteristic information corresponding to the target device cluster in the jth sub-time period of the second target time period.

3. The method according to claim 2, characterized in that After step S300, the method further includes: Step S310, determining the standard deviation ellipse identifier corresponding to the target historical standard deviation ellipse where the feature point corresponding to each feature information in the to-be-identified running vector F is located as the target ellipse identifier; Step S320, performing the same clustering on the target ellipse identifiers to obtain a plurality of target ellipse identifier groupings; each of the target ellipse identifier groupings includes a plurality of the target ellipse identifiers; Step S330: If the number of the target ellipse identification clusters is greater than a preset cluster number threshold, it is determined that the target device cluster is in an abnormal operating state within a third target time period; otherwise, execute step S400.

4. The method according to claim 1, characterized in that: The step S800 is replaced by: Step S810: If the variance of all angle differences is greater than a preset variance threshold, and all angle differences are less than a preset angle difference threshold, the last two key feature points after sorting are connected, and the connecting line is determined as the target trajectory connecting line; Step S811: If there is a target historical standard deviation ellipse in the extension direction of the last key feature point after sorting, it is determined that the target device cluster is in a safe operation state within the third target time period; otherwise, it is determined that the target device cluster is in an abnormal operation state within the third target time period.

5. The method according to claim 4, characterized in that The step S800 is replaced by: Step S820: if the variance of all angle differences is greater than a preset variance threshold, and there is an angle difference greater than or equal to the preset angle difference threshold, determining whether the sorted angle differences are in ascending order; Step S830: if the sorted angle differences are in ascending order, it is determined that the target device cluster is in a safe operation state within the third target time period; otherwise, a target trajectory area is formed according to the tangent angles corresponding to the last two key feature points after sorting; Step S840: If a target historical standard deviation ellipse exists in the target trajectory area, it is determined that the target device cluster is in a safe operation state within the third target time period; otherwise, it is determined that the target device cluster is in an abnormal operation state within the third target time period.

6. The method according to claim 2, characterized in that After step S200, the method further includes: Step S201: Compare the operation vector to be identified with a plurality of preset target operation vectors. If the matching degree between the operation vector to be identified and any preset target operation vector is greater than or equal to a preset matching degree threshold, determine that the target device cluster is in a safe operation state within a third target time period; if the matching degree between the operation vector to be identified and each preset target operation vector is less than the preset matching degree threshold, execute step S300; The target operation vector is obtained according to the fluctuation value and risk value of the target device cluster during the historical safety period; the length of the historical safety period is equal to the length of the second target time period; and the target device cluster is in a safe operation state during the historical critical period; the start time of the historical critical period is the end time of the historical safety period, and the length of the historical critical period is equal to the length of the third target time period.

7. The method according to claim 6, characterized in that The target operation vector is determined by the following steps: Step S2011: Obtain each average operating parameter of each target device in a historical safety period, and obtain a historical average operating parameter list set G = (G1, G2, ..., G i ,...,G n );G i =(G i1 ,G i2 ,...,G ij ,...,G ig );G ij =(G ij1 ,G ij2 ,...,G ijh ,...,G ijk ), where G i is a list of average operating parameters of the i-th target device in the historical safety period; G ij is a list of average operating parameters of the i-th target device in the j-th sub-time period of the historical safety period; G ijh is the hth average operating parameter of the i-th target device in the j-th sub-time period of the historical safety period; the historical safety period includes g sub-time periods, and the length of the sub-time period included in the historical safety period is equal to the length of the sub-time period included in the second target time period; Step S2012: According to the historical average operating parameter list set G, a historical device risk value list set H = (H1, H2, ..., H i ,...,H n );H i =(H i1 ,H i2 ,...,H ij ,...,H ig );H ij =(∑ k h=1 G ijh ) / k; where H i is a list of device risk values ​​of the i-th target device in the historical security period; H ij is the device risk value of the i-th target device in the j-th sub-time period of the historical safety period; Step S2013: According to the historical equipment risk value list set H, obtain the historical cluster risk value list I=(I1, I2, ..., I j ,...,I g );I j =(∑ n i=1 H ij ) / n; where I j is the cluster risk value of the target device cluster in the jth sub-time period of the historical safety period; Step S2014: According to the historical average operating parameter list set G and the historical equipment risk value list set H, obtain the historical equipment fluctuation value list set J of each target equipment in the historical safety period = (J1, J2, ..., J i ,...,J n );J i =(J i1 ,J i2 ,...,J ij ,...,J ig );J ij =(∑ k h=1 (G ijh -H ij ) 2 ) / k; where J i is a list of device fluctuation values ​​of the i-th target device in the historical safety period; J ij is the device fluctuation value of the i-th target device in the j-th sub-time period of the historical security period; Step S2015: According to the historical equipment fluctuation value list set J, a historical cluster fluctuation value list K of the target equipment cluster in the historical safety period is obtained, which is K=(K1, K2, ..., K j ,...,K g );K j =(∑ n i=1 J ij ) / n; where K j is the cluster fluctuation value of the target device cluster in the jth sub-time period of the historical safety period; Step S2016: Determine the historical operation vector L of the target device cluster in the historical safety period according to the historical cluster risk value list I and the historical cluster fluctuation value list K. j ,...,L g );L j =(I j ,K j );L j The characteristic information corresponding to the target device cluster in the jth sub-time period of the historical security period; Step S2017: If the number of the historical safety period is one, the historical operation vector corresponding to the historical safety period is determined as the target operation vector.

8. The method according to claim 7, characterized in that The step S2017 further includes: Step S20171: If there are multiple historical safety periods, cluster the historical operation vectors corresponding to each historical safety period to obtain a plurality of historical operation vector clusters; each of the historical operation vector clusters includes a plurality of historical operation vectors; Step S20172: average a plurality of historical operation vectors in each of the historical operation vector clusters to obtain a historical center vector corresponding to each of the historical operation vector clusters; Step S20173: determine each of the historical center vectors as a target operation vector.

9. A non-transitory computer-readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, characterized in that: The at least one instruction or the at least one program is loaded and executed by the processor to implement the method according to any one of claims 1 to 8.

10. An electronic device, characterized in that: The invention comprises a processor and the non-transitory computer-readable storage medium as claimed in claim 9.