A method and system for upgrading a power collection terminal

By updating the sliding window and weighting the similarity measure in the power collection terminal, combined with the degree of noise expression, the accuracy problem of the K-Shape clustering algorithm in time series data clustering is solved, and the upgrade accuracy of the power collection terminal is improved.

CN118519666BActive Publication Date: 2024-10-01WUHAN ZHONGYUAN ELECTRONICS INFORMATION
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411000953.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-01
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

In the existing technology, the K-Shape clustering algorithm only uses a single cross-correlation measure when calculating the dynamic change trend of time series data features, resulting in the inability to accurately evaluate the similarity measurement method between time series data, resulting in the accuracy of the clustering results. Poor.

Method used

By obtaining the current data sequence of the power acquisition terminal, multiple time series with the same length are obtained in segments, using the preset iteration step size to update the initial sliding window, calculating the initial similarity between each time series and weighting the sum, combined with the current data The degree of noise expression can be improved to improve the accuracy of similarity measurement and then perform clustering.

Benefits of technology

It improves the accuracy of the similarity between time series and ensures the accuracy of the clustering results, thus improving the upgrade accuracy of the power collection terminal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118519666B_ABST
    Figure CN118519666B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data processing, and more specifically, to an upgrade method and system for a power acquisition terminal, the method comprising: using a preset iteration step to update the length of the initial sliding window corresponding to each time series, during the update process, using the update window as a window for measuring the similarity between time series by the K-Shape clustering algorithm, obtaining the initial similarity of the two time series after each update, calculating the credibility of the corresponding initial similarity, performing weighted summation on the initial similarity after each update, obtaining the final similarity, clustering the current data series using the final similarity, and determining the upgrade mode of the power acquisition terminal according to the amount of current data in the category with less data. The present invention can accurately measure the similarity between the time series, thereby improving the accuracy of the clustering results, thereby improving the accuracy of the upgrade of the power acquisition terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and more specifically, to an upgrade method and system for a power collection terminal. Background Art

[0002] The power collection terminal is responsible for real-time monitoring of key electrical parameters such as current, voltage, power, electric energy, and frequency in the power grid. The upgrade of the power collection terminal is of extremely important strategic significance. The noise level of the power data in the power collection terminal can be used to determine whether the module corresponding to the power collection terminal needs to be upgraded. The K-Shape clustering algorithm is a shape-based time series clustering algorithm. Through clustering, the data can be divided into segments, and the noise data in the data sequence can be identified by using the similarity between each segment, so that the appropriate upgrade method can be set according to the amount of noise data.

[0003] In the related technology, a K-Shape clustering method based on LSTM features of time series data is disclosed in a patent application document with publication number CN114358157A. The method includes: collecting and preprocessing time series data samples; establishing and training a long short-term memory model, and outputting time series dynamic feature data; using the elbow method and the contour method to calculate the optimal clustering K value of clustering; establishing a K-Shape clustering model and outputting the results.

[0004] However, when the above scheme uses the K-Shape clustering algorithm to calculate and compare the dynamic change trends of time series data features, it only measures the similarity between two time series data through a single cross-correlation measure, resulting in a method of measuring the similarity between time series data that may not be able to accurately evaluate the change trends of the corresponding time series data, which may, to a certain extent, lead to the problem of poor accuracy of the obtained clustering results. Summary of the invention

[0005] In order to solve the problem of poor accuracy of the obtained clustering results, the present invention provides an upgrade method and system for a power collection terminal.

[0006] According to a first aspect of an embodiment of the present invention, there is provided a method for upgrading a power collection terminal, comprising:

[0007] Obtaining a current data sequence collected by a power collection terminal, segmenting the current data sequence to obtain multiple time series with the same length, and determining an initial sliding window for each time series;

[0008] The length of the initial sliding window is updated using the preset iteration step. If the minimum value of the stationarity of the data series added on both sides of the initial sliding window of any two time series during any update is greater than the preset threshold, the update is stopped and the update window after each update is determined;

[0009] The update window is used as the window for the K-Shape clustering algorithm to measure the similarity between the two time series, and the initial similarity of the two time series after each update is completed is obtained. The credibility of the initial similarity is calculated, and the credibility is negatively correlated with the difference in the noise performance of the current data in the corresponding update window;

[0010] The credibility is used as the weight of the corresponding initial similarity, and the initial similarity after each update is weighted and summed to obtain the final similarity between the two time series. The current data series are clustered using the final similarity between the time series to determine the upgrade method of the power collection terminal according to the amount of current data in the category with less data volume.

[0011] The present invention can measure the similarity between each time series by integrating multiple update windows, and when using each update window to measure the initial similarity between each time series, the difference in the noise performance degree of the current data in the corresponding update window is used as the weight of the corresponding initial similarity, so as to obtain the final similarity between the corresponding time series, thereby ensuring the accuracy of the similarity between the determined time series, so that the K-Shape clustering algorithm can be used to accurately identify the noise data in the current data sequence, ensuring the accuracy of the obtained clustering results, and thus to a certain extent, the accuracy of the upgrade of the power collection terminal can be improved.

[0012] In an exemplary embodiment of the present invention, the final similarity satisfies the following relationship:

[0013] ;

[0014] In the formula, Indicates the first The time series and The final similarity between the time series; is the number of update windows; For the The time series and The time series in The initial similarity after the update is completed; For the The time series and The time series in The credibility of the initial similarity after the update is completed; For the The time series and The time series in The confidence level of the initial similarity after the update is completed.

[0015] The calculation formula of the final similarity provided by the present invention can reduce the difficulty of calculating the final similarity between various time series.

[0016] In an exemplary embodiment of the present invention, determining the upgrade mode of the power collection terminal according to the amount of current data in a category with a smaller amount of data includes:

[0017] If the ratio of the amount of current data in the category with less data volume to the amount of current data in the current data sequence is greater than a first preset value, the data acquisition module of the power acquisition terminal is repaired and upgraded;

[0018] If the ratio is greater than a second preset value, the data acquisition module of the power acquisition terminal is replaced and upgraded;

[0019] The second preset value is greater than the first preset value.

[0020] The present invention determines the update mode of the data acquisition module of the power acquisition terminal by the ratio of the number of medium current data with less data volume to the number of current data in the current data sequence, and can accurately update the data acquisition module of the power acquisition terminal.

[0021] In an exemplary embodiment of the present invention, the credibility of the initial similarity satisfies the following relationship:

[0022] ;

[0023] In the formula, For the time series and The time series in The credibility of the initial similarity after the update is completed; For the The time series in The noise performance of the current data within the update window obtained after the first update is completed; For the The time series in The noise performance of the current data within the update window obtained after the first update is completed; For natural numbers An exponential function with base ; is the absolute value symbol.

[0024] In an exemplary embodiment of the present invention, a method for acquiring the noise performance level of current data in an update window includes:

[0025] Determine a fitting curve of the current data in any update window, and use the difference between the fitting value of each data point in the fitting curve and the current data at the corresponding time as the fitting error;

[0026] The noise performance degree of the current data within any update window is calculated, and the noise performance degree is positively correlated with the fitting error and negatively correlated with the length of any update window.

[0027] The present invention uses the fitting residual to determine the noise performance degree of the current data in the corresponding update window, thereby ensuring the accuracy of the noise performance degree.

[0028] In an exemplary embodiment of the present invention, the noise performance level of the current data in any update window satisfies the following relationship:

[0029] ;

[0030] In the formula, is the noise performance of the current data within any update window; is the number of the fitting curves corresponding to the current data in the update window. The fitted value of the data points; is the current data at the corresponding time of the data point; is the length of the update window; is the absolute value symbol.

[0031] In an exemplary embodiment of the present invention, the stationarity of the added data sequence satisfies the following relationship:

[0032] ;

[0033] In the formula, The stationarity of the data series added on one side at any update of the initial sliding window of any time series; This is the first Current data; This is the first Current data; is the number of current data in the data sequence; For natural numbers An exponential function with base ; is the absolute value symbol.

[0034] The present invention determines the stationarity of the corresponding data sequence through the first-order difference between the current data in the data sequence, and can accurately determine the stationarity of the data sequence.

[0035] In an exemplary embodiment of the present invention, a method for acquiring an update window includes:

[0036] Taking an initial sliding window of any one of the two time series as a first window and an initial sliding window of the other time series as a second window, obtaining a minimum value of the number of current data on either side of the first window and the number of current data on the corresponding side of the second window;

[0037] If the minimum value is greater than or equal to half of the iteration step during any update, current data of half the iteration step is added to the corresponding sides of the first window and the second window. If it is less than half of the iteration step, a corresponding amount of current data is added to the corresponding sides of the first window and the second window to obtain the corresponding update window.

[0038] In an exemplary embodiment of the present invention, if the minimum value of the stationarity of the data series added to both sides of the initial sliding window of any two time series during any update is greater than a preset threshold, the updating is stopped, including:

[0039] The data sequences added to both sides of the first window at any update are respectively used as the first data sequence and the second data sequence, and the data sequences added to both sides of the second window at any update are respectively used as the third data sequence and the fourth data sequence;

[0040] If the minimum value among the stationarity of the first data sequence, the stationarity of the second data sequence, the stationarity of the third data sequence and the stationarity of the fourth data sequence is greater than a preset threshold, the updating is stopped.

[0041] According to a second aspect of an embodiment of the present invention, an upgrade system for a power collection terminal is provided. The upgrade system for a power collection terminal includes a memory and a processor. A computer program is stored in the memory. The processor executes the computer program to implement the steps of the first aspect of the embodiment of the present invention.

[0042] The present invention has the following effects:

[0043] The present invention updates the initial sliding window of each time series and uses the difference in the noise performance degree of the current data in the update window to determine the weight of the initial similarity corresponding to each update window, thereby ensuring the accuracy of the final similarity between the time series. Based on the final similarity with higher accuracy, the clustering effect of the current data series can be improved, thereby improving the accuracy of the upgrade of the power collection terminal to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0045] Figure 1 The present invention is a schematic diagram of a step flow chart of an upgrade method for a power collection terminal according to an embodiment of the present invention. DETAILED DESCRIPTION

[0046] 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 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.

[0047] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0048] Reference Figure 1 , a method for upgrading a power collection terminal, comprising steps S1-S4, specifically as follows:

[0049] S1: Obtain the current data sequence collected by the power collection terminal, segment the current data sequence to obtain multiple time series with the same length, and determine the initial sliding window of each time series.

[0050] Specifically, the data acquisition module of the power acquisition terminal can be used to collect current data within a certain period of time, and then the collected current data can be arranged in order of collection time to obtain a current data sequence. The collection time can be set according to the specific situation. This embodiment does not specifically limit the length of the current data sequence.

[0051] It should be noted that, since the K-Shape clustering algorithm does not cluster according to a single data point on a single time series, but clusters based on the time series, the present invention segments the current data series so that the K-Shape clustering algorithm can be executed on each time series.

[0052] Optionally, starting from the current data collected at the most recent moment in the current data sequence, the current data sequence can be segmented in turn according to an empirical value such as 20 to obtain multiple time series with a length of 20, and when the number of current data in the last segment is less than 20, the current data in the segment is discarded, thereby obtaining multiple time series with the same length, and a window that can surround all current data in any time series can be used as the initial sliding window of the time series, wherein the length of the initial sliding window corresponding to each time series is 20. Of course, the current data sequence can also be segmented according to specific circumstances, and this embodiment does not specifically limit the segmentation method of the current data sequence.

[0053] For example, the collected current data sequence can be recorded as , the multiple time series with the same length obtained by segmentation are recorded as ,in, is the first time series, the initial sliding window corresponding to each time series can be recorded as ,in, For the The initial sliding window corresponding to the time series.

[0054] S2: Update the length of the initial sliding window using a preset iteration step. If the minimum value of the stationarity of the data sequences added on both sides of the initial sliding window of any two time series during any update is greater than a preset threshold, stop updating and determine the update window after each update.

[0055] It should be noted that the K-Shape clustering algorithm uses a fixed-length sliding window when measuring the similarity of two time series. When measuring the similarity of two time series, the fixed-length sliding window may not match the change pattern corresponding to the data series. For example, the fixed-length sliding window may split a section of normally changing data, which may lead to deviations in the similarity measurement of the data series. Therefore, in order to ensure the accuracy of the similarity of the two time series, the length of the sliding window needs to be updated.

[0056] In an exemplary embodiment of the present invention, the determination of the update window may be achieved by the following steps:

[0057] The initial sliding window of any one of the two time series is used as the first window, and the initial sliding window of the other time series is used as the second window, and the minimum value of the number of current data on either side of the first window and the number of current data on the corresponding side of the second window is obtained; if the minimum value is greater than or equal to half of the iteration step at any update, then half of the number of current data of the iteration step is added to the corresponding sides of the first window and the second window; if it is less than half of the iteration step, then the corresponding number of current data is added to the corresponding sides of the first window and the second window to obtain the corresponding update window.

[0058] For example, the iteration step size can be set to 10 based on empirical values. The initial sliding window corresponding to the time series The number of current data on either side, and the The initial sliding window corresponding to the time series The minimum value of the number of current data on the corresponding side is greater than or equal to 5, then as well as Add 5 current data in sequence on the corresponding side; if the The initial sliding window corresponding to the time series The number of current data on either side, and the The initial sliding window corresponding to the time series The minimum value of the number of current data on the corresponding side is less than 5, and the minimum value is 3, then as well as Add three current data to the corresponding side of as well as In the The update window after the update is completed is recorded as as well as .

[0059] In an exemplary embodiment of the present invention, the following steps can be used to stop updating the initial sliding windows of any two time series:

[0060] The data sequences added to both sides of the first window during any update are respectively used as the first data sequence and the second data sequence, and the data sequences added to both sides of the second window during any update are respectively used as the third data sequence and the fourth data sequence; if the minimum value among the stationarity of the first data sequence, the stationarity of the second data sequence, the stationarity of the third data sequence and the stationarity of the fourth data sequence is greater than a preset threshold, the updating is stopped.

[0061] For example, when The initial sliding window corresponding to the time series , and The initial sliding window corresponding to the time series In the After the update is completed, you can On the left side of The current data added during the first update is used as the first data sequence. On the right side of The current data added during the first update is used as the second data sequence. On the left side of The current data added during the first update is used as the third data sequence. On the right side of The current data added during the first update is used as the fourth data sequence.

[0062] Furthermore, the stationarity of the first data sequence, the stationarity of the second data sequence, the stationarity of the third data sequence, and the stationarity of the fourth data sequence may be calculated in sequence. Specifically, the calculation formula for the stationarity of the data sequence satisfies the following relationship:

[0063] ;

[0064] In the formula, The stationarity of the data series added on one side at any update of the initial sliding window of any time series; This is the first Current data; This is the first Current data; is the number of current data in the data sequence; For natural numbers An exponential function with base ; is the absolute value symbol.

[0065] in, It reflects the average first-order difference of the data sequence added on one side when the initial sliding window of any time series is updated at any time. The larger the value, the more drastic the change of the data series, and the worse the stability of the data series.

[0066] Optionally, the first data sequence, the second data sequence, the third data sequence and the fourth data sequence may be After the update is completed, the corresponding stability is recorded as , , as well as ,like If it is greater than the threshold value set according to experience, such as 0.7, the The initial sliding window corresponding to the time series , and The initial sliding window corresponding to the time series , and will The initial sliding window corresponding to the time series The update window after each update is completed is recorded as , will The initial sliding window corresponding to the time series The update window after each update is completed is recorded as , and then obtain the update window of the initial sliding window corresponding to all time series after each update is completed.

[0067] S3: The update window is used as a window for the K-Shape clustering algorithm to measure the similarity between the two time series, the initial similarity of the two time series after each update is completed is obtained, and the credibility of the initial similarity is calculated. The credibility is negatively correlated with the difference in the noise performance of the current data in the corresponding update window.

[0068] It should be noted that, in the process of updating the initial sliding window of each time series, only the change of the current data is taken into account, and it is not considered whether the change of the current data is caused by noise data or normal current data. Therefore, in order to ensure the accuracy of the similarity between the determined time series, the influence of noise data needs to be taken into account.

[0069] In an exemplary embodiment of the present invention, the determination of the noise performance level of the current data within the update window may be achieved by the following steps:

[0070] Determine a fitting curve of the current data within any update window, and take the difference between the fitting value of each data point in the fitting curve and the current data at the corresponding time as the fitting error; calculate the noise performance degree of the current data within any update window, and the noise performance degree is positively correlated with the fitting error and negatively correlated with the length of any update window.

[0071] Optionally, the least squares method can be used to fit the current data in any update window to obtain a fitting curve corresponding to the current data in the update window with time as the horizontal axis and current value as the vertical axis. Therefore, the noise performance of the current data in the update window can be calculated based on the difference between the fitting value corresponding to each current data in the update window and the current data at the corresponding time.

[0072] Specifically, the noise performance of the current data in any update window satisfies the following relationship:

[0073] ;

[0074] In the formula, is the noise performance of the current data within any update window; is the number of the fitting curves corresponding to the current data in the update window. The fitted value of the data points; is the current data at the time corresponding to the data point; is the length of the update window; is the absolute value symbol.

[0075] in, It reflects the fitting error of the current data in the update window during the fitting process. The larger the value is, the greater the noise performance of the current data in the update window is.

[0076] In another embodiment, the calculation of the noise performance level of the current data in any update window may be implemented by other formulas, for example, not by a calculation formula of a proportional relationship, but by a calculation formula of a gamma transform.

[0077] For example, in the The initial sliding window corresponding to the time series , and The initial sliding window corresponding to the time series During the update process, when determining Update window after the first update is completed ,as well as Update window after the first update is completed After that, you can as well as , as the K-Shape clustering algorithm metric The time series and The similarity window between the time series is obtained time series and The initial similarity of the time series after the first update is completed, and then calculate The noise level of the current data is related to The difference between the noise performance of the current data within and outside the circuit is determined based on the difference. time series and The credibility of the initial similarity of the time series after the first update is completed. It should be noted that the use of the K-Shape clustering algorithm to measure the similarity between any two time series is a prior art and will not be described in detail here.

[0078] Specifically, the credibility of the initial similarity satisfies the following relationship:

[0079] ;

[0080] In the formula, For the time series and The time series in The credibility of the initial similarity after the update is completed; For the The time series in The noise performance of the current data within the update window obtained after the first update is completed; For the The time series in The noise performance of the current data within the update window obtained after the first update is completed; For natural numbers An exponential function with base ; is the absolute value symbol.

[0081] In another embodiment, the calculation of the credibility of the initial similarity may be implemented by other formulas, for example, not by a calculation formula of a difference relationship, but by a calculation formula of a proportional relationship.

[0082] S4: Taking the credibility as the weight of the corresponding initial similarity, weighted summing the initial similarity after each update is completed to obtain the final similarity between the two time series, and clustering the current data series using the final similarity between the time series to determine the upgrade method of the power collection terminal according to the amount of current data in the category with less data volume.

[0083] Specifically, the final similarity between any two time series satisfies the following relationship:

[0084] ;

[0085] In the formula, Indicates the first The time series and The final similarity between the time series; is the number of update windows; For the The time series and The time series in The initial similarity after the update is completed; For the The time series and The time series in The credibility of the initial similarity after the update is completed; For the The time series and The time series in The confidence level of the initial similarity after the update is completed.

[0086] in, Reflects the The time series and A time series, in The normalization operation of the credibility of the initial similarity after the first update is completed ensures that the sum of the weights of all the initial similarities determined is 1, thereby reducing the difficulty of calculating the final similarity between the time series to a certain extent.

[0087] Optionally, before the final similarity between each time series is used as the K-Shape clustering algorithm to measure the similarity between corresponding time series, the current data series needs to be standardized before clustering the current data series. In this embodiment, z-score standardization is used to standardize the current data series, and then the current data series is clustered using the final similarity between each time series. According to empirical values, the number of clusters can be set to 100, the sliding window length can be set to 20, the sliding step size can be set to 1, and the cluster centers can be clustered using an equally spaced method to cluster the current data series. It should be noted that the process of clustering time series using the K-Shape clustering algorithm is a prior art and is not described in detail herein.

[0088] It should be further explained that the amount of noise data is smaller than that of normal data, and is distributed in various positions of the current data sequence. Therefore, noise data often exists in clusters with smaller data volumes, and the amount of data in the cluster where the noise data is located is quite different from that in the cluster where the normal data is located. Therefore, the maximum inter-class variance can be used, and the amount of data in each cluster can be used as the basis for classification to divide all clusters into two categories, and the category with smaller data volume is the cluster where the noise data is located.

[0089] In an exemplary embodiment of the present invention, the upgrade mode of the power collection terminal can be determined by the following steps:

[0090] If the ratio of the number of current data in the category with less data volume to the number of current data in the current data sequence is greater than a first preset value, the data acquisition module of the power acquisition terminal is repaired and upgraded; if the ratio is greater than a second preset value, the data acquisition module of the power acquisition terminal is replaced and upgraded; wherein the second preset value is greater than the first preset value.

[0091] Optionally, when the ratio of the number of current data in the category with less data volume to the number of all current data in the current data sequence is greater than a first preset value, such as 18%, the data acquisition module of the power acquisition terminal is repaired and upgraded; when the ratio of the number of current data in the category with less data volume to the number of all current data in the current data sequence is greater than a second preset value, such as 30%, the data acquisition module of the power acquisition terminal is replaced and upgraded, thereby improving the accuracy of the upgrade of the power acquisition terminal to a certain extent.

[0092] The present invention also provides an upgrade system for a power collection terminal. The system includes a memory and a processor, and a computer program is stored in the memory. The computer program integrates the function of an upgrade method for a power collection terminal. When the computer program is executed, the upgrade method for the power collection terminal can accurately measure the similarity between each time series, thereby improving the accuracy of the clustering result, thereby improving the accuracy of the upgrade of the power collection terminal.

[0093] In the description of this specification, "plurality" or "several" means at least two, such as two, three or more, etc., unless otherwise clearly and specifically defined.

[0094] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.

Claims

1. A method for upgrading a power collection terminal, characterized in that: include: Acquire a current data sequence collected by a power collection terminal, segment the current data sequence to obtain a plurality of time series with the same length, and determine an initial sliding window for each of the time series; The length of the initial sliding window is updated using a preset iteration step, including: taking the initial sliding window of any one of the two time series as a first window, and the initial sliding window of the other time series as a second window, and obtaining the minimum value of the number of current data on either side of the first window and the number of current data on the corresponding side of the second window; If the minimum value is greater than or equal to half of the iteration step at any update, then add current data of half the iteration step to the corresponding sides of the first window and the second window; if it is less than half of the iteration step, then add corresponding amounts of current data to the corresponding sides of the first window and the second window to obtain corresponding update windows; if the minimum value of the stationarity of the data sequences added to both sides of the initial sliding windows of any two time series at any update is greater than a preset threshold, then stop updating, and determine the update window after each update is completed; Using the update window as a window for measuring the similarity between the two time series using a K-Shape clustering algorithm, obtaining the initial similarity of the two time series after each update, and calculating the credibility of the initial similarity, wherein the credibility is negatively correlated with the difference in the noise performance of the current data in the corresponding update window; The credibility is used as the weight of the corresponding initial similarity, and the initial similarity after each update is weighted and summed to obtain the final similarity between the two time series. The current data series are clustered using the final similarity between the time series to determine the upgrade method of the power collection terminal according to the amount of current data in the category with less data volume.

2. The method for upgrading a power collection terminal according to claim 1, characterized in that: The final similarity satisfies the following relationship: ; In the formula, Indicates the first The time series and The final similarity between the time series; is the number of update windows; For the The time series and The time series in The initial similarity after the update is completed; For the The time series and The time series in The credibility of the initial similarity after the update is completed; For the The time series and The time series in The confidence level of the initial similarity after the update is completed.

3. The method for upgrading a power collection terminal according to claim 1, characterized in that: The step of determining the upgrade mode of the power collection terminal according to the amount of current data in the category with less data volume includes: If the ratio of the amount of current data in the category with less data volume to the amount of current data in the current data sequence is greater than a first preset value, the data acquisition module of the power acquisition terminal is repaired and upgraded; If the ratio is greater than a second preset value, the data acquisition module of the power acquisition terminal is replaced and upgraded; Wherein, the second preset value is greater than the first preset value.

4. The method for upgrading a power collection terminal according to claim 1, characterized in that: The credibility of the initial similarity satisfies the following relationship: ; In the formula, For the time series and The time series in The credibility of the initial similarity after the update is completed; For the The time series in The noise performance of the current data within the update window obtained after the first update is completed; For the The time series in The noise performance of the current data within the update window obtained after the first update is completed; For natural numbers An exponential function with base ; is the absolute value symbol.

5. The method for upgrading a power collection terminal according to claim 4, characterized in that: The method for obtaining the noise performance degree of the current data in the update window includes: Determine a fitting curve of the current data in any update window, and use the difference between the fitting value of each data point in the fitting curve and the current data at the corresponding time as the fitting error; The noise performance degree of the current data within any one of the update windows is calculated, wherein the noise performance degree is positively correlated with the fitting error and negatively correlated with the length of any one of the update windows.

6. A method for upgrading a power collection terminal according to claim 5, characterized in that: The noise performance degree of the current data in any update window satisfies the following relationship: ; In the formula, is the noise performance of the current data within any update window; is the number of the fitting curves corresponding to the current data in the update window. The fitted value of the data points; is the current data at the time corresponding to the data point; is the length of the update window; is the absolute value symbol.

7. The method for upgrading a power collection terminal according to claim 1, characterized in that: The stationarity of the added data sequence satisfies the following relationship: ; In the formula, The stationarity of the data series added on one side at any update of the initial sliding window of any time series; This is the first Current data; This is the first Current data; is the number of current data in the data sequence; For natural numbers An exponential function with base ; is the absolute value symbol.

8. The method for upgrading a power collection terminal according to claim 1, characterized in that: If the minimum value of the stationarity of the data series added to both sides of the initial sliding windows of any two time series during any update is greater than a preset threshold, then the update is stopped, including: The data sequences added to both sides of the first window during any update are respectively used as the first data sequence and the second data sequence, and the data sequences added to both sides of the second window during any update are respectively used as the third data sequence and the fourth data sequence; If the minimum value among the stationarity of the first data sequence, the stationarity of the second data sequence, the stationarity of the third data sequence and the stationarity of the fourth data sequence is greater than a preset threshold, the updating is stopped.

9. An upgrade system for a power collection terminal, characterized in that: The upgrade system for a power collection terminal comprises a memory and a processor, the memory stores a computer program, and the processor executes the computer program to implement the steps of any one of the methods of claims 1-8.

Citation Information

Patent Citations

  • K-Shape clustering method based on time series data LSTM features

    CN114358157A

  • Wind speed fluctuation process classification method and device based on sliding window

    CN115564184A

  • Spatial data clustering method, system, equipment and medium

    CN116226697A

  • Low-voltage power distribution network cable user relation identification method and device, storage medium and equipment

    CN117312890A

  • Digital financial service mass information transmission method

    CN117729264A