Time series processing methods and power system load processing methods

By decomposing and predicting trends, cycles and residual terms of historical power system load data, the problem of low accuracy of power system load prediction during holidays is solved and higher prediction accuracy and adaptability are achieved.

CN118100178BActive Publication Date: 2024-10-29ALIBABA (CHINA) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410515994.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-26
Publication Date
2024-10-29
Estimated Expiration
2044-04-26

AI Technical Summary

Technical Problem

The traditional power system load forecasting method has low forecast accuracy during holidays, which is affected by many factors, leading to challenges to the stability and economy of power system operation.

Method used

Using the time series processing method, by determining the historical time series associated with the time period to be predicted, decomposing it into trend items, periodic items and residual items, and forecasting these items respectively, and finally summarizing the target forecast results to improve forecast accuracy .

Benefits of technology

It improves the accuracy and adaptability of power system load prediction during holidays and solves the problem of low prediction accuracy in special time periods with traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118100178B_ABST
    Figure CN118100178B_ABST
Patent Text Reader

Abstract

The present application discloses a method for processing time series and a method for processing power system load, which relate to the fields of artificial intelligence technology and power system technology. The method includes: determining a historical time series associated with a time period to be predicted, wherein the time period to be predicted is a time period after the current moment, and the historical time series is used to characterize the time series generated by the operation of the target system in the historical time period associated with the time period to be predicted; decomposing the historical time series to obtain trend items, cycle items, and residual items contained in the historical time series; predicting the trend items, cycle items, and residual items respectively to obtain multiple prediction results, and the multiple prediction results are used to characterize multiple time series in the time period to be predicted; summarizing the multiple prediction results to obtain the target prediction result corresponding to the time period to be predicted. The present application solves the technical problem that the power load prediction method of the related technology has low prediction accuracy in special time periods.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the fields of artificial intelligence technology and power system technology, and specifically, to a time series processing method and a power system load processing method. Background Art

[0002] With the rapid development of society and the continuous improvement of the degree of electricity marketization, the stability and economy of power system operation have received great attention. As an important basis for power system planning and operation, load forecasting plays a vital role in ensuring the safe and stable operation of the power system and optimizing the allocation of power resources. Holiday power system load forecasting is a particularly complex issue in power system planning and operation. However, firstly, the electricity consumption pattern on holidays is quite different from that on weekdays, such as holiday gatherings of residents and increased commercial activities. Secondly, the amount of holiday load data is small and will be affected by many factors, including social, economic and climate factors. The relationship between load growth and change becomes uncertain. Finally, due to the long holiday span, the traditional power load forecasting method is often challenged in terms of prediction accuracy during special periods such as holidays.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present application provide a time series processing method and a power system load processing method to at least solve the technical problem that the power load forecasting method in the related art has low prediction accuracy within a special time period.

[0005] According to one aspect of an embodiment of the present application, a method for processing a time series is provided, comprising: determining a historical time series associated with a time period to be predicted, wherein the time period to be predicted is a time period after a current moment, and the historical time series is used to characterize a time series generated by the operation of a target system in the historical time period associated with the time period to be predicted; decomposing the historical time series to obtain trend items, cycle items, and residual items contained in the historical time series, wherein the trend item is used to characterize data with a preset change trend in the historical time series, the cycle item is used to characterize data with a preset cycle in the historical time series, and the residual item is used to characterize other data in the historical time series except the trend item and the cycle item; predicting the trend item, the cycle item, and the residual item separately to obtain multiple prediction results, wherein the multiple prediction results are used to characterize multiple time series in the time period to be predicted; and summarizing the multiple prediction results to obtain a target prediction result corresponding to the time period to be predicted.

[0006] According to another aspect of an embodiment of the present application, a method for processing power system load is also provided, including: determining historical load data generated by the operation of the power system before a time period to be predicted, wherein the time period to be predicted is a time period after a current moment; decomposing the historical load data to obtain trend items, cycle items and residual items contained in the historical load data, wherein the trend item is used to characterize data with a preset change trend in the historical load data, the cycle item is used to characterize data with a preset cycle in the historical load data, and the residual item is used to characterize other data in the historical load data except the trend item and the cycle item; predicting the trend item, the cycle item and the residual item respectively to obtain multiple prediction results, wherein the multiple prediction results are used to characterize the load data generated by the operation of the power system in the time period to be predicted; summarizing the multiple prediction results to obtain a target prediction result corresponding to the time period to be predicted.

[0007] According to another aspect of an embodiment of the present application, a time series processing method is also provided, including: responding to an input instruction on an operation interface, displaying a time period to be predicted on the operation interface, wherein the time period to be predicted is a time period after a current moment; responding to a processing instruction on the operation interface, displaying a target prediction result corresponding to the time period to be predicted on the operation interface, wherein the target prediction result is a result obtained by aggregating multiple prediction results, and the multiple prediction results are results obtained by respectively predicting trend items, cycle items, and residual items contained in a historical time series associated with the time period to be predicted, and the trend items, cycle items, and residual items are obtained by decomposing the historical time series.

[0008] According to another aspect of an embodiment of the present application, a time series processing method is also provided, including: obtaining a historical time series associated with a time period to be predicted by calling a first interface, wherein the first interface includes a first parameter, the parameter value of the first parameter includes the historical time series, the time period to be predicted is a time period after a current moment, and the historical time series is used to characterize the time series generated by the operation of a target system in a historical time period associated with the time period to be predicted; decomposing the historical time series to obtain trend items, cycle items, and residual items contained in the historical time series, wherein the trend item is used to characterize data with a preset change trend in the historical time series, the cycle item is used to characterize data with a preset cycle in the historical time series, and the residual item is used to characterize other data in the historical time series except the trend item and the cycle item; predicting the trend item, the cycle item, and the residual item respectively to obtain multiple prediction results; summarizing the multiple prediction results to obtain a target prediction result corresponding to the time period to be predicted; outputting the target prediction result by calling a second interface, wherein the second interface includes a second parameter, and the parameter value of the second parameter includes the target prediction result.

[0009] According to another aspect of an embodiment of the present application, a time series processing device is also provided, including: a determination module, used to determine a historical time series associated with a time period to be predicted, wherein the time period to be predicted is a time period after a current moment, and the historical time series is used to characterize the time series generated by the operation of a target system in the historical time period associated with the time period to be predicted; a decomposition module, used to decompose the historical time series to obtain trend items, cycle items and residual items contained in the historical time series, wherein the trend item is used to characterize data with a preset change trend in the historical time series, the cycle item is used to characterize data with a preset cycle in the historical time series, and the residual item is used to characterize other data in the historical time series except the trend item and the cycle item; a prediction module, used to predict the trend item, the cycle item and the residual item respectively, to obtain multiple prediction results, wherein the multiple prediction results are used to characterize multiple time series in the time period to be predicted; and a summary module, used to summarize the multiple prediction results to obtain a target prediction result corresponding to the time period to be predicted.

[0010] According to another aspect of an embodiment of the present application, a device for processing power system load is also provided, including: a determination module, used to determine historical load data generated by the operation of the power system before a time period to be predicted, wherein the time period to be predicted is a time period after a current moment; a decomposition module, used to decompose the historical load data to obtain trend items, cycle items and residual items contained in the historical load data, wherein the trend item is used to characterize data with a preset change trend in the historical load data, the cycle item is used to characterize data with a preset cycle in the historical load data, and the residual item is used to characterize other data in the historical load data except the trend item and the cycle item; a prediction module, used to predict the trend item, the cycle item and the residual item respectively to obtain multiple prediction results, wherein the multiple prediction results are used to characterize the load data generated by the operation of the power system in the time period to be predicted; and a summary module, used to summarize the multiple prediction results to obtain a target prediction result corresponding to the time period to be predicted.

[0011] According to another aspect of an embodiment of the present application, a time series processing device is also provided, including: a first display module, used to respond to an input instruction acting on an operation interface, and display a time period to be predicted on the operation interface, wherein the time period to be predicted is a time period after a current moment; a second display module, used to respond to a processing instruction acting on the operation interface, and display a target prediction result corresponding to the time period to be predicted on the operation interface, wherein the target prediction result is a result obtained by aggregating multiple prediction results, and the multiple prediction results are results obtained by respectively predicting trend items, cycle items, and residual items contained in a historical time series associated with the time period to be predicted, and the trend items, cycle items, and residual items are obtained by decomposing the historical time series.

[0012] According to another aspect of an embodiment of the present application, a time series processing device is also provided, including: a first calling module, used to obtain a historical time series associated with a time period to be predicted by calling a first interface, wherein the first interface includes a first parameter, and the parameter value of the first parameter includes the historical time series, the time period to be predicted is a time period after the current moment, and the historical time series is used to characterize the time series generated by the operation of the target system in the historical time period associated with the time period to be predicted; a decomposition module, used to decompose the historical time series to obtain trend items, cycle items and residual items contained in the historical time series, wherein the trend item is used to characterize data with a preset change trend in the historical time series, the cycle item is used to characterize data with a preset cycle in the historical time series, and the residual item is used to characterize other data in the historical time series except the trend item and the cycle item; a prediction module, used to predict the trend item, the cycle item and the residual item respectively to obtain multiple prediction results; a summary module, used to summarize the multiple prediction results to obtain a target prediction result corresponding to the time period to be predicted; a second calling module, used to output the target prediction result by calling a second interface, wherein the second interface includes a second parameter, and the parameter value of the second parameter includes the target prediction result.

[0013] According to another aspect of the embodiments of the present application, an electronic device is further provided, including: a memory storing an executable program; and a processor for running the program, wherein the method of each embodiment of the present application is executed when the program is running.

[0014] According to another aspect of an embodiment of the present application, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the methods in each embodiment of the present application.

[0015] According to another aspect of the embodiments of the present application, a computer program product is also provided, including a computer program, and when the computer program is executed by a processor, the method in each embodiment of the present application is implemented.

[0016] According to another aspect of an embodiment of the present application, a computer program product is also provided, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method in each embodiment of the present application is implemented.

[0017] According to another aspect of the embodiments of the present application, a computer program is also provided, and when the computer program is executed by a processor, the methods in the various embodiments of the present application are implemented.

[0018] In an embodiment of the present application, a historical time series associated with a time period to be predicted is determined, the historical time series is decomposed to obtain trend items, cycle items and residual items contained in the historical time series, the trend items, cycle items and residual items are predicted respectively to obtain multiple prediction results, and the multiple prediction results are summarized to obtain a target prediction result corresponding to the time period to be predicted, thereby achieving the purpose of predicting the time series within the time period to be predicted. It is easy to notice that the target prediction result corresponding to the time period to be predicted is obtained by predicting the trend items, cycle items and residual items contained in the historical time series. In the process of predicting the time series, the present application fully considers the various characteristics of the time series, decomposes the complex time series into simple cycle items, trend items and residual items, thereby improving the accuracy and adaptability of the load forecasting of the power system during holidays, and thus solves the technical problem that the prediction accuracy of the power load forecasting method in the related technology is low in special time periods.

[0019] It is easy to notice that the above general description and the following detailed description are only for the purpose of exemplifying and explaining the present application, and do not constitute a limitation of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0021] Figure 1 is a schematic diagram of an application scenario of a time series processing method according to an embodiment of the present application;

[0022] Figure 2 is a flowchart of a method for processing a time series according to Embodiment 1 of the present application;

[0023] Figure 3 is a flowchart of an optional time series processing method according to an embodiment of the present application;

[0024] Figure 4 is a flow chart of a method for processing power system load according to Embodiment 2 of the present application;

[0025] Figure 5 is a flowchart of a method for processing a time series according to Embodiment 3 of the present application;

[0026] Figure 6 is a flowchart of a method for processing a time series according to Embodiment 4 of the present application;

[0027] Figure 7 is a schematic diagram of a time series processing device according to Embodiment 5 of the present application;

[0028] Figure 8 is a schematic diagram of a power system load processing device according to Embodiment 6 of the present application;

[0029] Fig. 9 is a schematic diagram of a time series processing device according to Example 7 of the present application;

[0030] Fig.10 is a schematic diagram of a time series processing device according to Example 8 of the present application;

[0031] Fig.11 It is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0032] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0034] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following explanations:

[0035] Exponential Smoothing Model: Exponential Smoothing Model is a time series forecasting method used to predict future values. This method can be based on past observations and give more weight to recent observations. There are many types of exponential smoothing models, mainly including simple exponential smoothing, Holt linear trend smoothing, and Holt-Winters seasonal smoothing.

[0036] Generalized Additive Model: A generalized additive model (GAM) is a statistical model used to describe the relationship between one or more independent variables and a dependent variable. Unlike traditional linear models, GAM allows the relationship between independent variables and dependent variables to be nonlinear. This flexibility makes GAM very useful when dealing with complex data and relationships.

[0037] Support Vector Machine Model: Support Vector Machine (SVM) is a supervised learning algorithm that can be used for classification and regression tasks. SVM is based on the concept of finding a target boundary (called a hyperplane) that separates two classes of data points in the feature space. In two-dimensional space, this hyperplane can be viewed as a straight line, but in high-dimensional space, it is a hyperplane.

[0038] Robust Period Prediction Algorithm: The Robust Period Prediction Algorithm (RobustPeriod) is a method for analyzing the periodicity of time series data. The basic principle of the Robust Period Prediction Algorithm is to compare the time series data with a series of sine waves and cosine waves and determine the period by maximizing the correlation between the signal and the waveform. This method is particularly suitable for data with noise because it can improve the accuracy of period detection by minimizing the impact of noise.

[0039] Robust Seasonal and trend decomposition using Loess, referred to as RobustSTL, is an algorithm for time series data processing. It is an improved version of the STL algorithm and can decompose the time series into trend terms, period terms and residual terms.

[0040] Sparse Random Mode Decomposition Method: Sparse Random Mode Decomposition (SRMD) is a signal processing technique that aims to extract useful information from complex signals. This method effectively represents and analyzes signals by decomposing them into a set of sparse and random modes (i.e., basic components). The core idea of ​​SRMD is to use the inherent sparsity and randomness of signals to improve the accuracy and efficiency of signal processing.

[0041] Example 1

[0042] According to an embodiment of the present application, a method for processing a time series is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0043] The time series processing method provided in the embodiment of the present application can be applied to Figure 1 The application scenarios shown are not limited to these. Figure 1 In the application scenario shown, the large model is deployed in the server 10, and the server 10 can be connected to one or more client devices 20 through a local area network connection, a wide area network connection, an Internet connection, or other types of data networks. The client device 20 here may include but is not limited to: a smart phone, a tablet computer, a laptop computer, a PDA, a personal computer, a smart home device, a vehicle-mounted device, etc. The client device 20 can interact with the user through a graphical user interface to implement the call of the large model, thereby implementing the method provided in the embodiment of the present application.

[0044] In an embodiment of the present application, a system composed of a client device and a server can perform the following steps: the client device determines the time period to be predicted, the server determines the historical time series associated with the time period to be predicted, decomposes the historical time series, obtains the trend item, cycle item and residual item contained in the historical time series, predicts the trend item, cycle item and residual item respectively, obtains multiple prediction results, and summarizes the multiple prediction results to obtain the target prediction result corresponding to the time period to be predicted, and the client device can also display the target prediction result. It should be noted that when the operating resources of the client device can meet the deployment and operation conditions of the large model, the embodiment of the present application can be performed in the client device.

[0045] Under the above operating environment, this application provides Figure 2 The processing method of the time series shown. Figure 2 FIG. 1 is a flowchart of a method for processing a time series according to Embodiment 1 of the present application. Figure 2 As shown, the method may include the following steps:

[0046] Step S202, determining a historical time series associated with the time period to be predicted, wherein the time period to be predicted is a time period after the current moment, and the historical time series is used to characterize a time series generated when the target system runs in the historical time period associated with the time period to be predicted.

[0047] The time period to be predicted in the above steps may be input by the user. The future time period for which time series prediction is desired may be set according to the application scenario. For example, in the power system scenario, in order to achieve the purpose of power system load prediction on holidays, the time period to be predicted here may be a holiday input by the user. For another example, in the weather forecast scenario, in order to achieve the purpose of weather forecast, the time period to be predicted here may be 1 day, 2 days, etc. input by the user, but is not limited thereto. In the embodiment of the present application, a detailed description is given by taking the time period to be predicted as a holiday input by the user as an example.

[0048] The target system in the above steps can be a system that can generate time series in different scenarios. For example, in the power system scenario, the target system can be the power system, and the corresponding time series is the power system load; for example, in the weather forecast scenario, the target system can be the weather forecast system, and the corresponding time series can be weather information, but it is not limited to this.

[0049] It should be noted that in order to realize the prediction of the time series of the time period to be predicted, the time series of a period of time before the time period to be predicted can usually be obtained as the historical time series, that is, the historical time period associated with the time period to be predicted can be a period of time before the time period to be predicted. For example, if the time period to be predicted is the May Day holiday, then the historical time period associated with the time period to be predicted can be the time period between April 20 and March 30. However, considering that the time series in the two time periods before and after are sometimes highly different, and the time series often has periodicity, for example, taking the power system scenario as an example, the difference between the power system load on holidays and the power system load on normal days is relatively high, and it is usually based on a year. Therefore, the time series of the time period corresponding to the time period to be predicted in the previous cycle can be obtained as the historical time series, that is, the historical time period associated with the time period to be predicted can be the time period corresponding to the time period to be predicted in the previous cycle. For example, if the time period to be predicted is the May Day holiday, then the historical time period associated with the time period to be predicted can be the May Day holiday last year. Furthermore, in order to reduce the impact of the differences in time series in different time periods on time series prediction, the time series in the previous cycle before the time period to be predicted can also be obtained as the historical time series. That is, the historical time period associated with the time period to be predicted can be the time period before the time period to be predicted in the previous cycle. For example, if the time period to be predicted is the May Day holiday, then the historical time period associated with the time period to be predicted can be the time period between April 20 and March 30 last year.

[0050] In an optional embodiment, after obtaining the future time period for which the user wishes to perform time series prediction (i.e., the above-mentioned time period to be predicted), the above-mentioned method can be used to determine the historical time period associated with the time period to be predicted, and further read the time series generated in the historical time period from the database as the historical time series.

[0051] Step S204, decompose the historical time series to obtain trend items, cycle items and residual items contained in the historical time series, wherein the trend item is used to characterize the data with a preset change trend in the historical time series, the cycle item is used to characterize the data with a preset cycle in the historical time series, and the residual item is used to characterize other data in the historical time series except the trend item and the cycle item.

[0052] In order to improve the accuracy of time series prediction, we can fully consider the various characteristics of time series, such as periodicity, trend, and other uncertainties, and then decompose the historical time series into periodic terms with strong regularity, trend terms that are greatly affected by the time to be predicted, and residual terms affected by uncertainty factors.

[0053] In an optional embodiment, different sequence decomposition algorithms can be used to decompose the historical time series according to the characteristics of the time series. For example, the user can observe and analyze the historical time series and manually decompose the historical time series; for another example, the historical time series can be decomposed by mathematical algorithms such as seasonal decomposition method, Fourier transform, time-frequency analysis method, etc.; for another example, a machine learning model can be pre-trained and the historical time series can be decomposed by the model. Optionally, in the embodiment of the present application, the robust period decomposition algorithm RobustSTL can be used to decompose the historical time series.

[0054] Step S206, predicting the trend item, the cycle item and the residual item respectively to obtain a plurality of prediction results, wherein the plurality of prediction results are used to characterize a plurality of time series within the time period to be predicted.

[0055] Since the differences among trend terms, cycle terms and residual terms are large, in order to improve the accuracy of time series prediction, different methods can be used to predict the trend terms, cycle terms and residual terms respectively, and the prediction results corresponding to the trend terms, the prediction results corresponding to the cycle terms and the prediction results corresponding to the residual terms can be obtained, thereby obtaining the above-mentioned multiple time series.

[0056] In an optional embodiment, multiple different prediction models can be pre-trained for trend items, period items and residual items, and then the corresponding data can be predicted using the multiple prediction models to obtain multiple prediction results. For example, the trend item prediction model can be used to predict the trend item to obtain the prediction result corresponding to the trend item, the period item prediction model can be used to predict the period item to obtain the prediction result corresponding to the period item, and the residual item prediction model can be used to predict the residual item to obtain the prediction result corresponding to the residual item.

[0057] Step S208, summarizing the multiple prediction results to obtain the target prediction result corresponding to the time period to be predicted.

[0058] In an optional embodiment, the multiple prediction results may be summarized by summing, averaging, weighted summing or exponential transformation. In another optional embodiment, the multiple prediction results may be compared and a suitable prediction result may be selected as the target prediction result. In yet another optional embodiment, the multiple prediction results may be spliced ​​together to obtain the target prediction result.

[0059] Optionally, in an embodiment of the present application, taking a method of performing weighted summation of multiple prediction results as an example, a method of aggregating multiple prediction results is described in detail.

[0060] For example, taking the power system scenario as an example, in order to predict the power system load, the user can first set holidays through human-computer interaction and obtain historical load data related to the holidays. The historical load data can be hourly load data. The historical load data is further decomposed to obtain periodic items with strong regularity, trend items affected by weather and date, and residual items affected by uncertain factors, which simplifies the complex and improves the accuracy and interpretability of the prediction results. Then, the trend items, periodic items, and residual items are predicted separately to obtain multiple power system predicted loads. Finally, the predicted loads of multiple power systems are summarized to obtain the target predicted load of the power system.

[0061] Through the technical solution provided by the above-mentioned embodiments of the present application, the historical time series associated with the time period to be predicted is determined, the historical time series is decomposed, the trend items, cycle items and residual items contained in the historical time series are obtained, the trend items, cycle items and residual items are predicted respectively, and multiple prediction results are obtained, and the multiple prediction results are summarized to obtain the target prediction result corresponding to the time period to be predicted, thereby achieving the purpose of predicting the time series within the time period to be predicted. It is easy to notice that the target prediction result corresponding to the time period to be predicted is obtained by predicting the trend items, cycle items and residual items contained in the historical time series. In the process of predicting the time series, the present application fully considers the various characteristics of the time series, decomposes the complex time series into simple cycle items, trend items and residual items, thereby improving the accuracy and adaptability of the load forecasting of the power system during holidays, and thus solves the technical problem that the prediction accuracy of the power load forecasting method in the related technology is low in special time periods.

[0062] In the above embodiment of the present application, determining the historical time series associated with the time period to be predicted includes: determining the historical time period associated with the time period to be predicted; obtaining a first time series within a first preset time period before the historical time period, a second time series within the historical time period, and a third time series within a second preset time period before the time period to be predicted; splicing the first time series, the second time series, and the third time series to obtain the historical time series.

[0063] The above-mentioned historical time period may refer to the time period corresponding to the time period to be predicted in the previous cycle. For example, taking the power system scenario as an example, if the time period to be detected is a holiday, then the historical time period may be the same holiday in previous years, but is not limited to this.

[0064] In an optional embodiment, considering the differences between different time periods, the time period before the time period to be predicted, the historical prediction time period in the previous cycle, and the time period before the historical prediction time period in the previous cycle can be used as the historical time period associated with the time period to be predicted. Furthermore, by splicing the time series in different time periods in a sequence splicing manner, a historical time series with higher integrity can be obtained.

[0065] For example, still taking the power system scenario as an example, if the time period to be detected is a holiday, then the power system load N days before the historical holidays, the power system load on the historical holidays, and the power system load N days before the current holiday can be spliced ​​together to obtain a historical time series, instead of letting the normal day load data occupy a larger majority in the data set, thereby reducing the impact of the normal day load pattern on the holiday load forecast.

[0066] In the above embodiments of the present application, the trend term, the cycle term and the residual term are predicted respectively to obtain multiple prediction results, including: predicting the cycle term using an exponential smoothing model to obtain a first prediction result; predicting the trend term using a generalized additive model to obtain a second prediction result; predicting the residual term using a support vector machine model to obtain a third prediction result; and summarizing the first prediction result, the second prediction result and the third prediction result to obtain multiple prediction results.

[0067] In an optional embodiment, for the periodic term, an exponential smoothing model can be used for prediction; for the trend term, the nonlinear effects and interactions between variables are considered, a generalized additive model is established, and then the trend term is predicted using the generalized additive model; for the residual term, this term mainly contains uncertainty components, but also has certain regular patterns in it, and these regular patterns have a certain positive effect on the prediction accuracy of the critical interval of the load curve. Considering that the residual term signal has the characteristics of obvious intermittence and greater randomness, a support vector machine model can be used for prediction. Therefore, the result output by a prediction model can be used as a prediction result.

[0068] In the above embodiment of the present application, an exponential smoothing model is used to predict the periodic item to obtain a first prediction result, including: using a robust period prediction algorithm to determine the period of the periodic item; using an exponential smoothing model to predict the periodic item based on the period to obtain a first prediction result.

[0069] In an optional embodiment, for the periodic term, a robust periodic prediction algorithm may be used to first determine the most important period of the periodic term, and then an exponential smoothing model (particularly the Holt-winters model) may be used to predict the periodic term.

[0070] In the above embodiment of the present application, the method also includes: obtaining a factor feature set corresponding to the time period to be predicted, wherein the factor feature set includes: time factor features, meteorological factor features and interactive factor features, the time factor features are used to characterize the type of the time period to be predicted, the meteorological factor features are used to characterize the weather within the time period to be predicted, and the interactive factor features are used to characterize the combined effect of temperature and humidity within the time period to be predicted; constructing a generalized additive model based on the factor feature set.

[0071] In an optional embodiment, considering the nonlinear effects and interactions between variables, after the user inputs the time to be predicted, first, the time factor feature can be constructed according to the time to be predicted. For example, the time to be predicted in the form of year, month, and day can be converted into a column vector form to obtain the above-mentioned time factor feature; for another example, the type corresponding to the time to be predicted (such as working days, weekends, weeks, holidays, etc.) can be determined, and the type can be converted into a column vector form to obtain the above-mentioned time factor feature. Secondly, the meteorological data corresponding to the time to be predicted (such as temperature data, air pressure data, wind speed data, precipitation data, radiation data, etc.) can be obtained from the meteorological server to construct the meteorological factor feature. For example, the meteorological factor feature is extracted from the meteorological data, such as 100-meter U wind component, surface temperature, 100-meter V wind component, 10-meter U wind component, total cloud cover, downward surface solar radiation, total precipitation, surface pressure, 2-meter dew point temperature, 2-meter temperature, 10-meter V wind component, surface net solar radiation, surface sensible heat flux, clear sky surface net solar radiation, etc., but not limited to this. Finally, after obtaining the meteorological data, considering the joint effect between different meteorological factors, the interactive factor features can be extracted from the meteorological data. For example, considering the joint effect of temperature and humidity, temperature data and humidity data can be extracted from the meteorological data, and human comfort can be determined, thereby taking human comfort as the interactive factor feature, but not limited to this. It should be noted that the above different factor features can be stored and processed in the form of column data.

[0072] After obtaining the above-mentioned different factor characteristics, the factor feature set can be used as input data to establish a generalized additive model. Optionally, a smoothing function can be determined based on the factor feature set, and the generalized additive model can be constructed by adjusting the parameters of the smoothing function. The specific construction process can refer to relevant technologies and will not be described in detail here.

[0073] In the above embodiment of the present application, a generalized additive model is used to predict the trend item to obtain a second prediction result, including: adding constraints to the factor feature set in the generalized additive model to obtain a new generalized additive model; and using the new generalized additive model to predict the trend item to obtain a second prediction result.

[0074] In an optional embodiment, considering the sequence characteristics of the target time series, a piecewise monotonicity constraint (i.e., the above-mentioned constraint condition) can be imposed on the time factor characteristics in the generalized additive model, that is, the load decreases monotonically before the holiday and increases monotonically after the holiday, so as to ensure that the predicted load is consistent with expert experience.

[0075] For example, in the power system scenario, the power system load has a V-shaped load characteristic during holidays, that is, during holidays, the power system load presents a "V" shape, with a higher power system load at the beginning and end of holidays, and a lower power system load during holidays. This load characteristic can be explained from the following aspects: First, before the start of holidays, users usually avoid overtime and try to return home as early as possible, increasing the demand for electricity for residents. At the same time, some enterprises and factories will increase production efforts to ensure rest during holidays, which also increases the demand for electricity. These factors together lead to the increase of power system load before the start of holidays; secondly, during the holidays, most enterprises and factories will suspend production and reduce electricity demand, while users usually choose to travel or visit relatives and friends, which also reduces the demand for electricity for residents. These factors together lead to a reduction in power load during holidays; finally, as the holidays end, users return to work, enterprises and factories resume production, and electricity demand quickly recovers, resulting in an increase in power system load at the end of holidays. Therefore, a generalized additive model can be established for prediction, and a piecewise monotonicity constraint can be imposed on the effect of the date factor in the generalized additive model, that is, the load decreases monotonically before the holiday and increases monotonically after the holiday, ensuring that the predicted load is consistent with expert experience.

[0076] In the above embodiment of the present application, the residual term is predicted using a support vector machine model to obtain a third prediction result, including: decomposing the residual term using a sparse random mode decomposition method to obtain multiple intrinsic mode functions; predicting the multiple intrinsic mode functions using a support vector machine model to obtain prediction results corresponding to the multiple intrinsic mode functions; and adding the prediction results corresponding to the multiple intrinsic mode functions to obtain a third prediction result.

[0077] In an optional embodiment, for the residual term, considering that the residual term signal has the characteristics of obvious intermittency and high randomness, the sparse random mode decomposition method is used to decompose the residual term to obtain a series of intrinsic mode functions, and then these mode functions are predicted using a support vector machine model to obtain the prediction results of the residual term (i.e., the third prediction result mentioned above). By using the sparse random mode decomposition method to perform secondary decomposition on the residual term, the effective information in the residual term is fully mined, and the prediction accuracy is further improved.

[0078] In the above embodiment of the present application, the historical time series is decomposed to obtain the trend term, period term and residual term contained in the historical time series, including: using a robust periodic decomposition algorithm to decompose the historical time series to obtain the trend term, periodic term and residual term.

[0079] In an optional embodiment, the RobustSTL method may be used to decompose the historical time series to obtain trend terms, cycle terms, and residual terms.

[0080] In the above-mentioned embodiment of the present application, a plurality of prediction results are summarized to obtain a target prediction result corresponding to the time period to be predicted, including: weighting and processing the plurality of prediction results to obtain a target prediction result.

[0081] In an optional embodiment, the prediction results of the period term, the trend term and the residual term are added together to obtain the target prediction result.

[0082] In the above-mentioned embodiment of the present application, the historical time series is decomposed to obtain the trend term, cycle term and residual term contained in the historical time series, including: performing logarithmic processing on the historical time series to obtain a logarithmic time series; decomposing the logarithmic time series to obtain the trend term, cycle term and residual term; adding and processing multiple prediction results to obtain a target time series corresponding to the time to be predicted, including: adding and processing multiple prediction results to obtain a target prediction result; performing exponential transformation on the target prediction result to obtain a target time series.

[0083] In an optional embodiment, based on the assumption that load uncertainty is proportional to load amplitude, the logarithm of the historical time series can be taken to obtain a logarithmic time series, and then the logarithmic time series can be decomposed using the RobustSTL method. After obtaining multiple prediction results, the multiple prediction results can be weighted and summed to obtain a target prediction result, and then the target prediction result can be transformed using an exponential transformation to obtain a target time series.

[0084] Combine the following Figure 3 , taking the power system scenario as an example, a preferred embodiment of the present application is described in detail. Figure 3 As shown in the figure, the implementation process of the solution is as follows:

[0085] S301, input historical load data, date factor characteristics of the forecast day, and meteorological factor characteristics.

[0086] S302, concatenate the load data near holidays in previous years (load data N days before holidays in previous years and load data of holidays in previous years) + the load data N days before the holiday to be predicted this year to obtain the concatenated new load data y.

[0087] S303, based on the assumption that load uncertainty is proportional to load amplitude, the logarithm of the new load data is taken to obtain a logarithmic load time series y=log(y).

[0088] S304, decomposing the logarithmic load time series using the RobustSTL method to obtain a trend term, a cycle term and a residual term.

[0089] S305, for the cyclical item, the most important period of the cyclical item is calculated using the RobustPeriod method, and the period is used as a parameter of the Holt-winters model to predict the cyclical item.

[0090] S306, for trend items, construct date factor characteristics, meteorological factor characteristics and interactive factor characteristics, and establish a generalized additive model for prediction. Optionally, taking into account the V-shaped load characteristics of holidays, based on date factor characteristics, meteorological factor characteristics and interactive factor characteristics, a generalized additive model is used, and a piecewise monotonicity constraint is imposed on the date factor characteristics of the generalized additive model to predict trend items, that is, the load decreases monotonically before the holiday and increases monotonically after the holiday, so as to ensure that the predicted load is consistent with expert experience.

[0091] S307, for the residual term, considering that the residual term signal has the characteristics of obvious intermittency and high randomness, the sparse random mode decomposition method is used to decompose the residual term again to obtain a series of intrinsic mode functions, and then the support vector machine model is used to predict these intrinsic mode functions to obtain the prediction results of different intrinsic mode functions, and the prediction results are added up to obtain the prediction result of the residual term.

[0092] S308, summing up the prediction results of the period term, the trend term and the residual term to obtain prediction data of the logarithmic load, and then transforming the prediction result using exponential transformation to obtain a prediction curve.

[0093] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0094] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0095] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0096] Example 2

[0097] According to an embodiment of the present application, a method for processing power system loads is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0098] Under the operating environment provided in Example 1, the present application also provides the following Figure 4 The processing method of the time series shown. Figure 4 is a flow chart of a method for processing power system load according to Embodiment 2 of the present application. Figure 4 As shown, the method may include the following steps:

[0099] Step S402, determining historical load data generated by the operation of the power system before the time period to be predicted, wherein the time period to be predicted is a time period after the current moment.

[0100] Step S404, decomposing the historical load data to obtain trend items, cycle items and residual items contained in the historical load data, wherein the trend item is used to characterize the data with a preset change trend in the historical load data, the cycle item is used to characterize the data with a preset cycle in the historical load data, and the residual item is used to characterize other data in the historical load data except the trend item and the cycle item.

[0101] Step S406, predicting the trend item, the cycle item and the residual item respectively to obtain a plurality of prediction results, wherein the plurality of prediction results are used to characterize the load data generated by the operation of the power system in the time period to be predicted.

[0102] Step S408, summarizing the multiple prediction results to obtain the target prediction result corresponding to the time period to be predicted.

[0103] In the above embodiment of the present application, determining the historical load data generated by the operation of the power system before the time period to be predicted includes: determining the historical time period associated with the time period to be predicted; obtaining first load data generated by the operation of the power system in a first preset time period before the historical time period, second load data generated by the operation of the power system in the historical time period, and third load data generated by the operation of the power system in a second preset time period before the time period to be predicted; splicing the first load data, the second load data and the third load data to obtain the historical load data.

[0104] In the above embodiments of the present application, the trend term, the cycle term and the residual term are predicted respectively to obtain multiple prediction results, including: predicting the cycle term using an exponential smoothing model to obtain a first prediction result; predicting the trend term using a generalized additive model to obtain a second prediction result; predicting the residual term using a support vector machine model to obtain a third prediction result; and summarizing the first prediction result, the second prediction result and the third prediction result to obtain multiple prediction results.

[0105] It should be noted that the preferred implementation scheme involved in the above embodiments of the present application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.

[0106] Example 3

[0107] According to an embodiment of the present application, a method for processing a time series is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0108] Under the operating environment provided in Example 1, the present application also provides the following Figure 5 The processing method of the time series shown. Figure 5 is a flow chart of a method for processing a time series according to Embodiment 3 of the present application. Figure 5 As shown, the method may include the following steps:

[0109] Step S502, in response to an input instruction on the operation interface, the time period to be predicted is displayed on the operation interface, wherein the time period to be predicted is a time period after the current moment.

[0110] Step S504, in response to the processing instruction acting on the operation interface, the target prediction result corresponding to the time period to be predicted is displayed on the operation interface, wherein the target prediction result is a result obtained by summarizing multiple prediction results, and the multiple prediction results are results obtained by respectively predicting the trend item, the cycle item and the residual item contained in the historical time series associated with the time period to be predicted, and the trend item, the cycle item and the residual item are obtained by decomposing the historical time series.

[0111] It should be noted that the preferred implementation scheme involved in the above embodiments of the present application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.

[0112] Example 4

[0113] According to an embodiment of the present application, a method for processing a time series is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0114] Under the operating environment provided in Example 1, the present application also provides the following Figure 6 The processing method of the time series shown. Figure 6 FIG. 4 is a flowchart of a method for processing a time series according to Embodiment 4 of the present application. Figure 6 As shown, the method may include the following steps:

[0115] Step S602, obtaining a historical time series associated with the time period to be predicted by calling a first interface, wherein the first interface includes a first parameter, a parameter value of the first parameter includes a historical time series, the time period to be predicted is a time period after a current moment, and the historical time series is used to characterize a time series generated by the target system running in the historical time period associated with the time period to be predicted.

[0116] Step S604, decompose the historical time series to obtain trend items, cycle items and residual items contained in the historical time series, wherein the trend item is used to characterize the data with a preset change trend in the historical time series, the cycle item is used to characterize the data with a preset cycle in the historical time series, and the residual item is used to characterize other data in the historical time series except the trend item and the cycle item.

[0117] Step S606, predicting the trend term, the period term and the residual term respectively to obtain multiple prediction results.

[0118] Step S608, summarizing the multiple prediction results to obtain the target prediction result corresponding to the time period to be predicted.

[0119] Step S610: outputting the target prediction result by calling the second interface, wherein the second interface includes a second parameter, and a parameter value of the second parameter includes the target prediction result.

[0120] It should be noted that the preferred implementation scheme involved in the above embodiments of the present application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.

[0121] Example 5

[0122] According to an embodiment of the present application, a time series processing device for implementing the above-mentioned time series processing method is also provided. Figure 7 As shown, the device 700 includes: a first determination module 702 , a first decomposition module 704 , a first prediction module 706 and a first summary module 708 .

[0123] Among them, the first determination module 702 is used to determine the historical time series associated with the time period to be predicted, wherein the time period to be predicted is the time period after the current moment, and the historical time series is used to characterize the time series generated by the operation of the target system in the historical time period associated with the time period to be predicted; the first decomposition module 704 is used to decompose the historical time series to obtain the trend item, cycle item and residual item contained in the historical time series, wherein the trend item is used to characterize the data with a preset change trend in the historical time series, the cycle item is used to characterize the data with a preset cycle in the historical time series, and the residual item is used to characterize other data in the historical time series except the trend item and the cycle item; the first prediction module 706 is used to predict the trend item, cycle item and residual item respectively, and obtain multiple prediction results, wherein the multiple prediction results are used to characterize the multiple time series in the time period to be predicted; the first aggregation module 708 is used to aggregate the multiple prediction results to obtain the target prediction result corresponding to the time period to be predicted.

[0124] It should be noted that the first determination module 702, the first decomposition module 704, the first prediction module 706 and the aggregation module 708 correspond to steps S202 to S208 in Example 1, and the four modules and the corresponding steps implement the same instances and application scenarios, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned modules or units may be hardware components or software components stored in a memory and processed by one or more processors, and the above-mentioned modules may also be part of the device and may be run in the server 10 provided in Example 1.

[0125] In the above embodiment of the present application, the first determination module includes: a first determination unit, a first acquisition unit and a first splicing unit.

[0126] Among them, the first determination unit is used to determine the historical time period associated with the time period to be predicted; the first acquisition unit is used to acquire the first time series within the first preset time period before the historical time period, the second time series within the historical time period, and the third time series within the second preset time period before the time period to be predicted; the first splicing unit is used to splice the first time series, the second time series and the third time series to obtain the historical time series.

[0127] In the above embodiment of the present application, the first prediction module includes: a first prediction unit, a second prediction unit, a third prediction unit and a first summarizing unit.

[0128] Among them, the first prediction unit is used to predict the periodic term using an exponential smoothing model to obtain a first prediction result; the second prediction unit is used to predict the trend term using a generalized additive model to obtain a second prediction result; the third prediction unit is used to predict the residual term using a support vector machine model to obtain a third prediction result; the first summary unit is used to summarize the first prediction result, the second prediction result and the third prediction result to obtain multiple prediction results.

[0129] In the above embodiment of the present application, the first prediction unit is also used to determine the period of the periodic item using a robust period prediction algorithm; and to predict the periodic item based on the period using an exponential smoothing model to obtain a first prediction result.

[0130] In the above embodiments of the present application, the device further includes: an acquisition module and a construction module.

[0131] Among them, the acquisition module is used to obtain the factor feature set corresponding to the time period to be predicted, wherein the factor feature set includes: time factor features, meteorological factor features and interactive factor features, the time factor features are used to characterize the type of the time period to be predicted, the meteorological factor features are used to characterize the weather within the time period to be predicted, and the interactive factor features are used to characterize the joint effect of temperature and humidity within the time period to be predicted; the construction module is used to construct a generalized additive model based on the factor feature set.

[0132] In the above embodiment of the present application, the second prediction unit is also used to add constraints to the factor feature set in the generalized additive model to obtain a new generalized additive model; and use the new generalized additive model to predict the trend item to obtain a second prediction result.

[0133] In the above embodiment of the present application, the third prediction unit is also used to decompose the residual term using a sparse random mode decomposition method to obtain multiple intrinsic mode functions; use a support vector machine model to predict the multiple intrinsic mode functions to obtain prediction results corresponding to the multiple intrinsic mode functions; and add the prediction results corresponding to the multiple intrinsic mode functions to obtain a third prediction result.

[0134] In the above embodiment of the present application, the first decomposition module includes: a decomposition unit.

[0135] The decomposition unit is used to decompose the historical time series using the robust period decomposition algorithm to obtain trend terms, period terms and residual terms.

[0136] In the above embodiment of the present application, the first summarizing module includes: a weighted sum unit.

[0137] The weighted sum unit is used to perform weighted sum processing on multiple prediction results to obtain a target prediction result.

[0138] In the above embodiment of the present application, the first decomposition module is also used to perform logarithmic processing on the historical time series to obtain a logarithmic time series, decompose the logarithmic time series to obtain a trend term, a periodic term and a residual term; the weighted sum unit is also used to add multiple prediction results to obtain a target prediction result, perform an exponential transformation on the target prediction result to obtain a target time series.

[0139] It should be noted that the preferred implementation scheme involved in the above embodiments of the present application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.

[0140] Example 6

[0141] According to an embodiment of the present application, a power system load processing device for implementing the above-mentioned power system load processing method is also provided, such as Figure 8 As shown, the device 800 includes: a second determination module 802 , a second decomposition module 804 , a second prediction module 806 and a second summary module 808 .

[0142] Among them, the second determination module 802 is used to determine the historical load data generated by the operation of the power system before the time period to be predicted, wherein the time period to be predicted is the time period after the current moment; the second decomposition module 804 is used to decompose the historical load data to obtain the trend item, cycle item and residual item contained in the historical load data, wherein the trend item is used to characterize the data with a preset change trend in the historical load data, the cycle item is used to characterize the data with a preset cycle in the historical load data, and the residual item is used to characterize other data in the historical load data except the trend item and the cycle item; the second prediction module 806 is used to predict the trend item, cycle item and residual item respectively to obtain multiple prediction results, wherein the multiple prediction results are used to characterize the load data generated by the operation of the power system in the time period to be predicted; the second summary module 808 is used to summarize the multiple prediction results to obtain the target prediction result corresponding to the time period to be predicted.

[0143] It should be noted that the second determination module 802, the second decomposition module 804, the second prediction module 806 and the second aggregation module 808 correspond to steps S402 to S408 in Example 2, and the four modules and the corresponding steps implement the same instances and application scenarios, but are not limited to the contents disclosed in Example 1. It should be noted that the above modules or units may be hardware components or software components stored in a memory and processed by one or more processors, and the above modules may also be part of the device and run in the server 10 provided in Example 1.

[0144] In the above embodiment of the present application, the second determination module includes: a second determination unit, a second acquisition unit and a second splicing unit.

[0145] Among them, the second determination unit is used to determine the historical time period associated with the time period to be predicted; the second acquisition unit is used to obtain the first load data generated by the operation of the power system in a first preset time period before the historical time period, the second load data generated by the operation of the power system in the historical time period, and the third load data generated by the operation of the power system in the second preset time period before the time period to be predicted; the second splicing unit is used to splice the first load data, the second load data and the third load data to obtain the historical load data.

[0146] In the above embodiment of the present application, the second prediction module includes: a fourth prediction unit, a fifth prediction unit, a sixth prediction unit and a second summarizing unit.

[0147] Among them, the fourth prediction unit is used to predict the periodic term using the exponential smoothing model to obtain the first prediction result; the fifth prediction unit is used to predict the trend term using the generalized additive model to obtain the second prediction result; the sixth prediction unit is used to predict the residual term using the support vector machine model to obtain the third prediction result; the second summary unit is used to summarize the first prediction result, the second prediction result and the third prediction result to obtain multiple prediction results.

[0148] It should be noted that the preferred implementation scheme involved in the above embodiments of the present application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.

[0149] Example 7

[0150] According to an embodiment of the present application, a time series processing device for implementing the above-mentioned time series processing method is also provided. Fig. 9 As shown, the device 900 includes: a first display module 902 and a second display module 904 .

[0151] Among them, the first display module 902 is used to respond to the input instructions acting on the operation interface, and display the time period to be predicted on the operation interface, wherein the time period to be predicted is the time period after the current moment; the second display module 904 is used to respond to the processing instructions acting on the operation interface, and display the target prediction result corresponding to the time period to be predicted on the operation interface, wherein the target prediction result is the result obtained by summarizing multiple prediction results, and the multiple prediction results are the results of respectively predicting the trend items, cycle items and residual items contained in the historical time series associated with the time period to be predicted, and the trend items, cycle items and residual items are obtained by decomposing the historical time series.

[0152] It should be noted that the first display module 902 and the second display module 904 correspond to steps S502 to S504 in Example 3, and the examples and application scenarios implemented by the two modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned modules or units may be hardware components or software components stored in a memory and processed by one or more processors, and the above-mentioned modules may also be part of the device and may run in the server 10 provided in Example 1.

[0153] It should be noted that the preferred implementation scheme involved in the above embodiments of the present application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.

[0154] Example 8

[0155] According to an embodiment of the present application, a time series processing device for implementing the above-mentioned time series processing method is also provided. Fig.10 As shown, the device 1000 includes: a first calling module 1002 , a third decomposition module 1004 , a third prediction module 1006 , a third aggregation module 1008 and a second calling module 1010 .

[0156] Among them, the first calling module 1002 is used to obtain the historical time series associated with the time period to be predicted by calling the first interface, wherein the first interface includes a first parameter, the parameter value of the first parameter includes the historical time series, the time period to be predicted is the time period after the current moment, and the historical time series is used to characterize the time series generated by the operation of the target system in the historical time period associated with the time period to be predicted; the third decomposition module 1004 is used to decompose the historical time series to obtain the trend item, the cycle item and the residual item contained in the historical time series, wherein the trend item is used to characterize the data with a preset change trend in the historical time series, the cycle item is used to characterize the data with a preset cycle in the historical time series, and the residual item is used to characterize other data in the historical time series except the trend item and the cycle item; the third prediction module 1006 is used to predict the trend item, the cycle item and the residual item respectively to obtain multiple prediction results; the third summary module 1008 is used to summarize the multiple prediction results to obtain the target prediction result corresponding to the time period to be predicted; the second calling module 1010 is used to output the target prediction result by calling the second interface, wherein the second interface includes a second parameter, and the parameter value of the second parameter includes the target prediction result.

[0157] It should be noted that the first calling module 1002, the third decomposition module 1004, the third prediction module 1006, the third aggregation module 1008 and the second calling module 1010 correspond to steps S602 to S610 in Example 4, and the five modules and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the above-mentioned modules or units may be hardware components or software components stored in a memory and processed by one or more processors, and the above-mentioned modules may also be part of the device and may run in the server 10 provided in Example 1.

[0158] It should be noted that the preferred implementation scheme involved in the above embodiments of the present application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.

[0159] Example 9

[0160] The embodiment of the present application may provide an electronic device, which may be any electronic device in a group of electronic devices. Optionally, in this embodiment, the electronic device may also be replaced by a terminal device such as a mobile terminal.

[0161] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.

[0162] In this embodiment, the computer terminal can execute the program code in the method.

[0163] Optionally, Fig.11 1 is a block diagram of an electronic device according to an embodiment of the present application. As shown in the figure, the electronic device A may include: one or more (only one is shown in the figure) processors 102, a memory 104, a storage controller, and a peripheral interface, wherein the peripheral interface is connected to a radio frequency module, an audio module, and a display.

[0164] Among them, the memory can be used to store software programs and modules, such as program instructions / modules corresponding to the methods and devices in the embodiments of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, implementing the methods in the above embodiments. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the terminal A via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0165] It will be understood by those skilled in the art that the structure shown in the figure is only for illustration, and the electronic device may also be a smart phone (such as , tablet computers, PDAs, and mobile Internet devices (MID), PADs, and other terminal devices. This figure does not limit the structure of the above electronic devices. For example, electronic device A may also include more or fewer components (such as network interfaces, display devices, etc.) than those shown in the figure, or have a different configuration from that shown in the figure.

[0166] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0167] Example 10

[0168] The embodiment of the present application further provides a computer-readable storage medium. Optionally, in this embodiment, the computer-readable storage medium can be used to store the program code executed by the method provided in the above embodiment.

[0169] Optionally, in this embodiment, the storage medium may be located in any electronic device in a group of electronic devices in a computer network, or in any mobile terminal in a group of mobile terminals.

[0170] Embodiment 11

[0171] The embodiment of the present application further provides a computer program product. Optionally, in this embodiment, the computer program product may include a computer program, and the computer program implements the method provided in the embodiment when executed by a processor.

[0172] Example 12

[0173] The embodiments of the present application also provide a computer program product. Optionally, the computer program product may include a non-volatile computer-readable storage medium, which may be used to store a computer program, and when the computer program is executed by a processor, the method provided in the embodiments is implemented.

[0174] Example 13

[0175] The embodiment of the present application further provides a computer program. Optionally, in this embodiment, when the computer program is executed by a processor, the method provided in the above embodiment is implemented.

[0176] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0177] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0178] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0179] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0180] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0181] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc., which can store program code.

[0182] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A time series processing method, characterized in that: include: Determine a historical time series associated with a time period to be predicted, wherein the time period to be predicted is a time period after a current moment, the historical time series is used to characterize a time series generated when a target system is operated in a historical time period associated with the time period to be predicted, and the historical time series is historical load data or historical meteorological data; Decomposing the historical time series to obtain a trend item, a cycle item and a residual item contained in the historical time series, wherein the trend item is used to characterize data with a preset change trend in the historical time series, the cycle item is used to characterize data with a preset cycle in the historical time series, and the residual item is used to characterize other data in the historical time series except the trend item and the cycle item; The trend item, the period item and the residual item are predicted respectively by using a plurality of different preset models to obtain a plurality of prediction results, wherein the plurality of prediction results are used to characterize a plurality of time series within the time period to be predicted, the trend item is predicted by using a generalized additive model, and the generalized additive model is constructed based on the sequence characteristics of the historical time series and using a factor feature set and constraint conditions corresponding to the time to be predicted, wherein the factor feature set includes: time factor features, meteorological factor features and interactive factor features, the time factor features are used to characterize the type of the time period to be predicted, the meteorological factor features are used to characterize the weather within the time period to be predicted, and the interactive factor features are used to characterize the joint effect of temperature and humidity within the time period to be predicted; The multiple prediction results are aggregated to obtain a target prediction result corresponding to the time period to be predicted.

2. The method according to claim 1, characterized in that The determining of the historical time series associated with the time period to be predicted includes: Determining a historical time period associated with the time period to be predicted; Acquire a first time series within a first preset time period before the historical time period, a second time series within the historical time period, and a third time series within a second preset time period before the time period to be predicted; The first time series, the second time series and the third time series are concatenated to obtain the historical time series.

3. The method according to claim 1, characterized in that The method uses a plurality of different preset models to respectively predict the trend term, the period term and the residual term to obtain a plurality of prediction results, including: Using an exponential smoothing model to predict the periodic item, obtaining a first prediction result; Predicting the trend item using a generalized additive model to obtain a second prediction result; Using a support vector machine model to predict the residual term to obtain a third prediction result; The first prediction result, the second prediction result and the third prediction result are aggregated to obtain the multiple prediction results.

4. The method according to claim 3, characterized in that The step of using an exponential smoothing model to predict the periodic item to obtain a first prediction result includes: Determining the period of the periodic term using a robust period prediction algorithm; The exponential smoothing model is used to predict the periodic item based on the period to obtain the first prediction result.

5. The method according to claim 3, characterized in that: The method further comprises: Obtaining a factor feature set corresponding to the time period to be predicted; The generalized additive model is constructed based on the factor feature set.

6. The method according to claim 5, characterized in that The using the generalized additive model to predict the trend item to obtain the second prediction result includes: Adding constraints to the factor feature set in the generalized additive model to obtain a new generalized additive model; The trend item is predicted using the new generalized additive model to obtain the second prediction result.

7. The method according to claim 3, characterized in that The method of using the support vector machine model to predict the residual term to obtain a third prediction result includes: Decomposing the residual term by using a sparse random mode decomposition method to obtain a plurality of intrinsic mode functions; Predicting the multiple intrinsic mode functions using the support vector machine model to obtain prediction results corresponding to the multiple intrinsic mode functions; The prediction results corresponding to the multiple intrinsic mode functions are summed up to obtain the third prediction result.

8. The method according to claim 1, characterized in that Decomposing the historical time series to obtain trend terms, period terms and residual terms contained in the historical time series includes: The historical time series is decomposed using a robust periodic decomposition algorithm to obtain the trend term, the periodic term and the residual term.

9. The method according to claim 1, characterized in that: The aggregating the multiple prediction results to obtain a target prediction result corresponding to the time period to be predicted includes: The multiple prediction results are weighted and processed to obtain the target prediction result.

10. The method according to any one of claims 9, characterized in that: Decomposing the historical time series to obtain trend terms, period terms and residual terms contained in the historical time series includes: Performing logarithmic processing on the historical time series to obtain a logarithmic time series; Decomposing the logarithmic time series to obtain the trend term, the period term and the residual term; The adding and processing the multiple prediction results to obtain the target time series corresponding to the time to be predicted includes: Adding the multiple prediction results to obtain a target prediction result; The target prediction result is subjected to exponential transformation to obtain the target time series.

11. A method for processing power system load, characterized in that: include: Determine historical load data generated by the operation of the power system before the time period to be predicted, wherein the time period to be predicted is a time period after the current moment; Decomposing the historical load data to obtain a trend item, a cycle item and a residual item contained in the historical load data, wherein the trend item is used to characterize data with a preset change trend in the historical load data, the cycle item is used to characterize data with a preset cycle in the historical load data, and the residual item is used to characterize other data in the historical load data except the trend item and the cycle item; The trend item, the period item and the residual item are predicted respectively by using a plurality of different preset models to obtain a plurality of prediction results, wherein the plurality of prediction results are used to characterize the load data generated by the operation of the power system during the time period to be predicted, the trend item is predicted by using a generalized additive model, and the generalized additive model is constructed based on the sequence characteristics of the historical load data and using a factor feature set and constraint conditions corresponding to the time to be predicted, wherein the factor feature set includes: a time factor feature, a meteorological factor feature and an interaction factor feature, the time factor feature is used to characterize the type of the time period to be predicted, the meteorological factor feature is used to characterize the weather during the time period to be predicted, and the interaction factor feature is used to characterize the combined effect of temperature and humidity during the time period to be predicted; The multiple prediction results are aggregated to obtain a target prediction result corresponding to the time period to be predicted.

12. The method according to claim 11, characterized in that The determining of historical load data generated by the operation of the power system before the time period to be predicted includes: Determining a historical time period associated with the time period to be predicted; Acquire first load data generated by the operation of the power system in a first preset time period before the historical time period, second load data generated by the operation of the power system in the historical time period, and third load data generated by the operation of the power system in a second preset time period before the time period to be predicted; The first load data, the second load data and the third load data are concatenated to obtain the historical load data.

13. The method according to claim 11, characterized in that The trend term, the period term and the residual term are predicted respectively to obtain a plurality of prediction results, including: Using an exponential smoothing model to predict the periodic item, obtaining a first prediction result; Predicting the trend item using a generalized additive model to obtain a second prediction result; Using a support vector machine model to predict the residual term to obtain a third prediction result; The first prediction result, the second prediction result and the third prediction result are aggregated to obtain the multiple prediction results.

14. A time series processing method, characterized in that: include: In response to an input instruction on the operation interface, a time period to be predicted is displayed on the operation interface, wherein the time period to be predicted is a time period after the current moment; In response to a processing instruction acting on the operation interface, a target prediction result corresponding to the time period to be predicted is displayed on the operation interface, wherein the target prediction result is a result obtained by summarizing multiple prediction results, and the multiple prediction results are results obtained by respectively predicting trend items, period items and residual items contained in a historical time series associated with the time period to be predicted using multiple different preset models, the trend items, the period items and the residual items are obtained by decomposing the historical time series, the historical time series is used to characterize the time series generated by the operation of the target system in the historical time period associated with the time period to be predicted, the historical time series is historical load data or historical meteorological data, the trend item is predicted using a generalized additive model, and the generalized additive model is constructed based on the sequence characteristics of the historical time series using a factor feature set and constraint conditions corresponding to the time to be predicted, wherein the factor feature set includes: time factor features, meteorological factor features and interactive factor features, the time factor features are used to characterize the type of the time period to be predicted, the meteorological factor features are used to characterize the meteorology in the time period to be predicted, and the interactive factor features are used to characterize the joint effect of temperature and humidity in the time period to be predicted.

15. A time series processing method, characterized in that: include: Acquire a historical time series associated with a time period to be predicted by calling a first interface, wherein the first interface includes a first parameter, a parameter value of the first parameter includes the historical time series, the time period to be predicted is a time period after a current moment, the historical time series is used to characterize a time series generated when a target system is operated in a historical time period associated with the time period to be predicted, and the historical time series is historical load data or historical meteorological data; Decomposing the historical time series to obtain a trend item, a cycle item and a residual item contained in the historical time series, wherein the trend item is used to characterize data with a preset change trend in the historical time series, the cycle item is used to characterize data with a preset cycle in the historical time series, and the residual item is used to characterize other data in the historical time series except the trend item and the cycle item; The trend item, the period item and the residual item are predicted respectively by using a plurality of different preset models to obtain a plurality of prediction results, wherein the plurality of prediction results are used to characterize a plurality of time series within the time period to be predicted, the trend item is predicted by using a generalized additive model, and the generalized additive model is constructed based on the sequence characteristics of the historical time series and using a factor feature set and constraint conditions corresponding to the time to be predicted, wherein the factor feature set includes: time factor features, meteorological factor features and interactive factor features, the time factor features are used to characterize the type of the time period to be predicted, the meteorological factor features are used to characterize the weather within the time period to be predicted, and the interactive factor features are used to characterize the joint effect of temperature and humidity within the time period to be predicted; Summarizing the multiple prediction results to obtain a target prediction result corresponding to the time period to be predicted; The target prediction result is output by calling a second interface, wherein the second interface includes a second parameter, and a parameter value of the second parameter includes the target prediction result.

16. An electronic device, characterized in that: include: A memory storing an executable program; A processor, configured to run the program, wherein the program executes the method according to any one of claims 1 to 15 when running.

17. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 15.

18. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 15.

Citation Information

Patent Citations

  • Service resource scheduling method and system

    CN110955513A

  • Electrical load prediction method and device

    CN111080486A

  • Spring festival holiday load prediction method based on load characteristic curve and typical characteristic value fusion

    CN113705929A