A method and device for production capacity prediction based on multi-source data, and electronic equipment

By acquiring multi-source data and utilizing a full-factor dynamic capacity forecasting model, the problem of insufficient accuracy and robustness in capacity forecasting in existing technologies has been solved. This enables real-time assessment of current capacity and accurate prediction of future capacity, providing more comprehensive support for production decision-making.

CN123178803APending Publication Date: 2026-11-27CHINA SHENHUA ENERGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611086725.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-21
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing capacity forecasting methods rely on the experience of management personnel, making it difficult to effectively and dynamically correlate multi-source data and capture long-distance dependencies and temporal change patterns, resulting in insufficient accuracy and robustness in capacity forecasting.

Method used

By acquiring equipment status data, external environment data, and historical production data, a full-factor dynamic capacity prediction model is used for real-time assessment and future prediction. Combined with a sliding time window mechanism and multi-dimensional feature data processing, a hybrid deep learning model is constructed for capacity prediction.

Benefits of technology

It enables real-time dynamic assessment of current production capacity and accurate prediction of future production capacity, improving the accuracy and robustness of production capacity forecasting, reducing the subjectivity and lag of human experience, and providing more comprehensive production decision support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178803A_ABST
    Figure CN123178803A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of artificial intelligence, and discloses a production capacity prediction method and device based on multi-source data and electronic equipment. The method comprises the following steps: acquiring equipment state data, external environment data and historical production data; determining a current production capacity evaluation result through a full-factor dynamic production capacity prediction model according to the equipment state data and the external environment data, the full-factor dynamic production capacity prediction model indicating a mapping relationship between real-time equipment state data and external environment data and the current production capacity; extracting monthly fluctuation feature data from the historical production data, and predicting a production capacity prediction result through the full-factor dynamic production capacity prediction model according to the current production capacity evaluation result, the monthly fluctuation feature data and external environment prediction data. Through the technical scheme, the problem of insufficient accuracy and robustness in production capacity prediction in the related art is solved, and the accuracy and robustness of production capacity prediction are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of artificial intelligence technology, specifically to a capacity prediction method, apparatus, and electronic device based on multi-source data. Background Technology

[0002] In related technologies, capacity forecasting is a crucial aspect of manufacturing production management. Early capacity forecasting relied primarily on managerial experience and simple statistical methods, which proved ill-suited to complex and ever-changing production environments, resulting in highly subjective assessments. With advancements in data acquisition and storage technologies, time series analysis methods have been applied to capacity forecasting, enabling the inference of capacity change trends based on the temporal characteristics of historical output data. However, these methods still do not comprehensively consider the multidimensional factors influencing capacity. In recent years, machine learning algorithms such as random forests and support vector machines have been introduced into the field of capacity forecasting. These algorithms can handle more dimensional data and uncover key features affecting capacity, thus improving forecast accuracy to some extent.

[0003] However, capacity forecasting methods in related technologies still suffer from the following problems. On the one hand, capacity forecasting relies on managers' understanding and experience in production data, making it difficult to conduct effective dynamic correlation analysis of historical production data, equipment status data, and external environmental parameter data from different data sources. The complex nonlinear relationships between multi-source data are not fully utilized, resulting in strong subjectivity and large errors in capacity assessment. On the other hand, factors such as equipment operating status, raw material supply, market demand, and policy regulation in the production process exhibit complex time-series dependencies and long-distance correlations. Traditional single-model architectures struggle to simultaneously capture long-distance dependencies and time-series change patterns in the data, and cannot respond promptly to changes in the production environment.

[0004] In other words, the relevant technologies suffer from insufficient accuracy and robustness in capacity forecasting. Summary of the Invention

[0005] In view of this, this application provides a capacity forecasting method, apparatus and electronic device based on multi-source data to solve the problems of insufficient accuracy and robustness in capacity forecasting in related technologies.

[0006] Firstly, this application provides a capacity forecasting method based on multi-source data, the method comprising: Acquire equipment status data, external environment data, and historical production data; Based on equipment status data and external environment data, the current capacity assessment result is determined through the all-factor dynamic capacity prediction model. The all-factor dynamic capacity prediction model indicates the mapping relationship between real-time equipment status data and external environment data and current capacity. Monthly fluctuation characteristic data is extracted from historical production data, and based on the current capacity assessment results, monthly fluctuation characteristic data and external environment forecast data, a full-factor dynamic capacity forecast model is used to make forecasts to obtain capacity forecast results. Among them, the external environment forecast data refers to the external environment data representing the future time obtained from the preset information source.

[0007] In one optional implementation, the current capacity assessment result is determined using a full-factor dynamic capacity prediction model based on equipment status data and external environment data, including: Based on equipment status data and external environment data, a sliding time window mechanism is used to organize real-time data within the window into candidate features at preset time intervals. The candidate features are input into the total factor dynamic capacity prediction model, and at least one of the current capacity utilization rate, equipment bottleneck indicators and external influence degree output by the total factor dynamic capacity prediction model is used as the current capacity assessment result.

[0008] In one optional implementation, monthly fluctuation characteristic data is extracted from historical production data, and based on the current capacity assessment results, the monthly fluctuation characteristic data, and external environment forecast data, a full-factor dynamic capacity forecasting model is used to make a forecast, resulting in a capacity forecast, including: The monthly fluctuation characteristic data, current capacity assessment results, and external environment prediction data are concatenated into a multi-dimensional feature vector, which is then input into the all-factor dynamic capacity prediction model to perform forward calculations and output the upper and lower limit prediction values ​​of the capacity at a preset future time. The capacity fluctuation range formed by the upper and lower limit forecasts is used as the capacity forecast result.

[0009] In an optional implementation, before determining the current capacity assessment result through the total factor dynamic capacity forecasting model, the method further includes: Obtain raw data of multiple production factors, and perform outlier removal, missing value imputation and normalization on the raw data of multiple production factors in sequence to obtain an initial sample. The raw data of multiple production factors should include at least historical production data, equipment status data and external environment data. Based on the initial samples, an expanded sample set is generated through data augmentation, and the expanded sample set is divided into a training set, a validation set, and a test set; Construct a neural network for predicting dynamic production capacity across all factors of production; The neural network for predicting total factor dynamic production capacity is trained using the training set. The prediction error is calculated based on the validation set, and the model parameters are adjusted in reverse until the error on the test set is lower than a preset threshold. The trained model parameters are then solidified to obtain the total factor dynamic production capacity prediction model.

[0010] In one alternative implementation, the total factor dynamic capacity prediction neural network adopts any of the following architectures: The Transformer layer and the LSTM layer are connected sequentially. The GRU layer, attention layer, and random forest output layer are connected in sequence. The TCN layer and the BERT pre-trained model layer are connected in sequence.

[0011] In one optional implementation, after obtaining the capacity forecast results, the method further includes: Based on the current capacity assessment and capacity forecast results, production decision support information is generated, which includes suggestions for adjusting production plans or instructions for resource reallocation.

[0012] In one alternative implementation, after generating production decision support information, the method further includes: Based on real-time collected equipment vibration spectrum data, the remaining service life of the production equipment or its components is determined using a pre-trained LSTM fault prediction model. When the remaining service life is lower than the warning threshold, the corresponding equipment identification and predicted failure time are embedded into the production decision support information, and the A* algorithm is used to plan the optimal route from the current location of the maintenance personnel to the production equipment.

[0013] Secondly, this application provides a capacity forecasting device based on multi-source data, comprising: The acquisition module is used to acquire equipment status data, external environment data, and historical production data. The current capacity assessment module is used to determine the current capacity assessment result based on equipment status data and external environment data through a full-factor dynamic capacity prediction model. The full-factor dynamic capacity prediction model indicates the mapping relationship between real-time equipment status data and external environment data and current capacity. The capacity forecasting module is used to extract monthly fluctuation characteristic data from historical production data, and to make forecasts based on the current capacity assessment results, monthly fluctuation characteristic data and external environment forecast data through a full-factor dynamic capacity forecasting model to obtain the capacity forecast results. The external environment forecast data refers to the external environment data representing the future time obtained from preset information sources.

[0014] Thirdly, this application provides an electronic device, including a processor and a memory, for executing the capacity forecasting method based on multi-source data of the first aspect or any corresponding embodiment described above.

[0015] Fourthly, this application provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the capacity forecasting method based on multi-source data described in the first aspect or any corresponding embodiment thereof.

[0016] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the capacity prediction method based on multi-source data described in the first aspect or any corresponding embodiment.

[0017] According to the capacity forecasting method based on multi-source data provided in this application, the following beneficial technical effects can be achieved compared with the prior art: This system acquires equipment status data, external environment data, and historical production data, integrating multi-source heterogeneous data to provide a comprehensive information foundation for capacity assessment and forecasting, overcoming the problem of insufficient information from a single data source. Based on equipment status data and external environment data, a full-factor dynamic capacity forecasting model determines the current capacity assessment result. This model indicates the mapping relationship between real-time equipment status data, external environment data, and current capacity, enabling real-time dynamic assessment of current capacity. It can quickly respond to changes in equipment status and fluctuations in the external environment, avoiding the subjectivity and lag of human experience. Monthly fluctuation characteristic data is extracted from historical production data, and based on the current capacity assessment result, monthly fluctuation characteristic data, and external environment forecast data, a full-factor dynamic capacity forecasting model is used to predict the capacity. The external environment forecast data indicates external environment data representing future time obtained from preset information sources. Combining historical patterns and future external factors, it outputs the capacity fluctuation range, improving the accuracy and reliability of future capacity forecasting. This enhances the accuracy and robustness of capacity forecasting. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the specific embodiments or related technologies of this application, the accompanying drawings used in the description of the specific embodiments or related technologies will be briefly introduced below.

[0019] Figure 1 This is a schematic diagram illustrating an application scenario of a capacity forecasting system based on multi-source data according to an embodiment of this application. Figure 2 This is a flowchart illustrating a capacity forecasting method based on multi-source data according to an embodiment of this application. Figure 3 This is a flowchart illustrating another capacity forecasting method based on multi-source data according to an embodiment of this application; Figure 4 This is a schematic diagram of another process for capacity forecasting based on multi-source data according to an embodiment of this application; Figure 5This is a structural block diagram of a capacity prediction device based on multi-source data according to an embodiment of this application; Figure 6 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0020] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0021] It is understood that before using the technical solutions disclosed in the various embodiments of this application, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this application in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0022] As one optional application scenario in the embodiments of this application, such as Figure 1 As shown, the capacity forecasting system based on multi-source data may include at least one terminal device and at least one server. Figure 1 The system, as exemplified in this embodiment, includes a computer 101, a mobile terminal 102, and a server 103. Terminal devices such as the computer 101 and mobile terminal 102 are connected to the server 103 via a network 110. The server 103 is equipped with a capacity forecasting service, integrating a data preprocessing module, a hybrid deep learning model, and a result visualization module. Terminal devices submit capacity forecasting requests to the server 103 via the network 110, and the server 103 executes the capacity forecasting method provided in this embodiment and returns the results.

[0023] Specifically, the terminal device can be a smartphone, tablet, laptop, PDA, desktop computer, game console, smart TV, smart wearable device, in-vehicle terminal, VR (Virtual Reality) device, AR (Augmented Reality) device, etc. Server 103 can be a standalone physical server, a server cluster, a distributed system, or a cloud server providing cloud services. Network 110 can be a wired or wireless network, examples of which include, but are not limited to, the Internet, corporate intranet, local area network, wide area network, mobile communication network, and combinations thereof.

[0024] It should be noted that, Figure 1 This is merely an example of an application scenario and does not limit the scope of protection of this application.

[0025] As described in the background section, existing capacity forecasting methods struggle to perform dynamic correlation analysis on multi-source data, and single-model architectures cannot simultaneously capture long-distance dependencies and temporal variation patterns, resulting in insufficient accuracy and robustness in capacity forecasting. Therefore, this application provides a capacity forecasting method, apparatus, and electronic device based on multi-source data. By fusing equipment status data, external environment data, and historical production data, it utilizes a full-factor dynamic capacity forecasting model to achieve real-time assessment of current capacity and dynamic prediction of future capacity, thereby improving the accuracy and robustness of capacity forecasting. The technical solution of this application will be described in detail below with reference to the accompanying drawings.

[0026] According to an embodiment of this application, a capacity forecasting method based on multi-source data is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0027] This embodiment provides a capacity forecasting method based on multi-source data, which can be used on the aforementioned mobile terminals, such as mobile phones and tablets. Figure 2 This is a flowchart of a capacity forecasting method based on multi-source data according to an embodiment of this application, such as... Figure 2 As shown, the process includes the following steps: Step S201: Obtain equipment status data, external environment data, and historical production data.

[0028] Specifically, equipment status data refers to real-time parameters reflecting the operating status of production equipment, such as equipment vibration frequency, temperature, and current. External environment data refers to information on external factors affecting production capacity, such as meteorological data (temperature, humidity, rainfall) and policy announcements (production restriction orders, environmental protection requirements). Historical production data refers to statistical data on production results recorded over a past period, such as historical output, energy consumption, and equipment operating time.

[0029] This step, by acquiring three types of multi-source data, provides a comprehensive information foundation for subsequent capacity assessment and forecasting, overcoming the problem of insufficient information from a single data source.

[0030] In one possible implementation, vibration and temperature data are collected in real time at a sampling rate of 1024Hz by sensors deployed on the device as device status data. Real-time meteorological data is obtained by calling the meteorological application programming interface (API) and policy announcements from official websites are crawled as external environmental data. At the same time, historical production and energy consumption records of the past three years are extracted from the enterprise's production management system as historical production data.

[0031] Step S202: Based on equipment status data and external environment data, determine the current capacity assessment result through the all-factor dynamic capacity prediction model. The all-factor dynamic capacity prediction model indicates the mapping relationship between real-time equipment status data and external environment data and current capacity.

[0032] Specifically, the full-factor dynamic capacity forecasting model refers to a pre-trained hybrid deep learning model that can receive real-time collected equipment status data and external environment data, and output an assessment value of the current capacity. Its internal architecture may include temporal processing networks such as Transformer, Long Short-Term Memory (LSTM), Gated Recurrent Unit (GRU), and Temporal Convolutional Network (TCN). The current capacity assessment result refers to a quantitative indicator reflecting the capacity utilization level and operating status of the production system at the current moment, such as the current capacity utilization rate (percentage), the severity of equipment bottlenecks (high / medium / low), and the degree of influence of external factors (such as the extent of capacity reduction caused by policy-based production restrictions).

[0033] This step involves inputting real-time collected equipment status data and external environment data into a pre-trained full-factor dynamic capacity prediction model, performing a forward calculation to quickly obtain the current capacity assessment result. This enables real-time dynamic monitoring of production status, allowing for rapid response to equipment anomalies (such as sudden increases in vibration) or external changes (such as sudden production restriction policies), avoiding the subjectivity and lag of human experience-based judgment.

[0034] In one possible implementation, edge computing nodes collect equipment vibration spectrum and temperature data every 5 minutes, while simultaneously obtaining the latest weather data from a meteorological API and capturing real-time policy text from a policy monitoring module. This data is organized into feature vectors within a sliding time window and input into a pre-trained all-factor dynamic capacity prediction model. The model outputs a current capacity utilization rate of 87%, an equipment bottleneck index of 0 (no bottleneck), and an external impact level of 15% (due to power rationing caused by high temperatures). These indicators collectively constitute the current capacity assessment result.

[0035] Step S203: Extract monthly fluctuation characteristic data from historical production data, and make a prediction using a full-factor dynamic capacity prediction model based on the current capacity assessment results, monthly fluctuation characteristic data and external environment prediction data to obtain the capacity prediction result. The external environment prediction data refers to the external environment data representing the future time obtained from a preset information source.

[0036] Specifically, monthly fluctuation characteristic data refers to the periodic change patterns extracted from historical production data, such as seasonal fluctuation patterns like a 20% increase in electricity production capacity during the winter heating season and a 30% decrease in manufacturing production capacity around the Spring Festival. External environment forecast data refers to future weather forecasts (such as next month's rainfall and temperature) and policy predictions (such as anticipated environmental protection production restriction orders) obtained from preset information sources (such as weather forecast interfaces and policy research institutions). Production capacity forecast results refer to the fluctuation range formed by the upper and lower limits of production capacity that may be reached within a preset period in the future, such as "next month's production capacity upper limit 90%, lower limit 70%".

[0037] This step takes the current capacity assessment results as a starting point, combines historical cyclical patterns (monthly fluctuation characteristics) and future external factor predictions (such as weather and policies), and inputs them into the same all-factor dynamic capacity forecasting model. Through forward calculation, the fluctuation range of future capacity is obtained. Compared with point forecasts that output a single value, interval forecasts can quantify uncertainty, provide a more comprehensive risk reference for production scheduling, and thus improve the reliability and practicality of the forecast.

[0038] In one possible implementation, the system calculates the average monthly output over the past three years from historical production data and extracts the monthly fluctuation feature of "production capacity from December to February of the following year increasing by an average of 20% compared to November"; it obtains the cold wave warning for the following month from the meteorological API and reads "the emergency response to heavy pollution weather is expected to be launched on December 1" from the policy database as external environmental forecast data; it concatenates the current production capacity assessment result (85%), the monthly fluctuation feature (+20%), and the external forecast (cold wave leading to increased demand + policy-related production restrictions leading to -10%) into a multi-dimensional feature vector, inputs it into the all-factor dynamic production capacity forecast model, and the model outputs the upper limit of production capacity for the following month at 92% and the lower limit at 72%, constituting the production capacity forecast result.

[0039] This embodiment provides a capacity forecasting method based on multi-source data. It acquires equipment status data, external environment data, and historical production data, integrating heterogeneous data from multiple sources to provide a comprehensive information foundation for capacity assessment and forecasting, overcoming the problem of insufficient information from a single data source. Based on equipment status data and external environment data, a full-factor dynamic capacity forecasting model determines the current capacity assessment result. This model indicates the mapping relationship between real-time equipment status data, external environment data, and current capacity, enabling real-time dynamic assessment of current capacity. It can quickly respond to changes in equipment status and fluctuations in the external environment, avoiding the subjectivity and lag of human experience. Monthly fluctuation characteristic data is extracted from historical production data. Based on the current capacity assessment result, monthly fluctuation characteristic data, and external environment forecast data, the full-factor dynamic capacity forecasting model is used to predict the capacity forecast result. The external environment forecast data indicates external environment data representing future time obtained from preset information sources. Combining historical patterns and future external factors, it outputs the capacity fluctuation range, improving the accuracy and reliability of future capacity forecasting. This enhances the accuracy and robustness of capacity forecasting.

[0040] This embodiment provides a capacity forecasting method based on multi-source data, which can be used on the aforementioned mobile terminals, such as mobile phones and tablets. Figure 3 This is a flowchart of another capacity forecasting method based on multi-source data according to an embodiment of this application, such as... Figure 3 As shown, the process includes the following steps: Step S301: Obtain equipment status data, external environment data, and historical production data.

[0041] Please see details Figure 2 Step S201 of the illustrated embodiment will not be described again here.

[0042] Step S302: Based on equipment status data and external environment data, determine the current capacity assessment result through the all-factor dynamic capacity prediction model. The all-factor dynamic capacity prediction model indicates the mapping relationship between real-time equipment status data and external environment data and current capacity.

[0043] Specifically, step S302 includes: Step S3021: Based on the device status data and external environment data, a sliding time window mechanism is used to organize the real-time data in the window into candidate features at preset time intervals.

[0044] Specifically, the sliding time window mechanism is a data sampling method that moves forward at fixed time steps to divide a continuous data stream into data segments of fixed length. The preset time interval refers to the time step the window moves forward each time, for example, 5 minutes. The window refers to the length of time used to store the data segment, for example, containing data from the past hour. Real-time data refers to the latest collected device status values ​​(such as vibration amplitude and temperature) and external environmental values ​​(such as air temperature and policy keywords). Candidate features are feature vectors formed by concatenating and statistically analyzing the raw data within the window, which can be directly input into the model, such as the average value of vibration peaks or the rate of temperature change over the past hour.

[0045] This step uses a sliding time window mechanism to convert continuous streaming data into a fixed-length historical context, enabling the model to perceive the trend of changes in production status over a recent period and improve its sensitivity to sudden events.

[0046] In one possible implementation, the system sets the window length to 60 minutes (i.e., including data from the past 60 minutes) and the time interval to 5 minutes. Every 5 minutes, the system extracts features such as the average device vibration, maximum temperature, and meteorological trend from each of the 12 data points within the window (one sampling point every 5 minutes, for a total of 60 minutes), concatenates them into a 128-dimensional feature vector as candidate features, and inputs it into the subsequent model.

[0047] Step S3022: Input the candidate features into the all-factor dynamic capacity prediction model, and take at least one of the current capacity utilization rate, equipment bottleneck index and external influence degree output by the all-factor dynamic capacity prediction model as the current capacity assessment result.

[0048] Specifically, current capacity utilization rate refers to the ratio of actual output to designed capacity, expressed as a percentage, such as 85%. Equipment bottleneck indicators reflect whether production equipment is in an abnormal state that restricts capacity; this can be expressed using levels (high / medium / low) or numerical values ​​(0 indicates no bottleneck, 1 indicates a minor bottleneck, 2 indicates a severe bottleneck), such as 0 indicating no bottleneck. External impact level refers to the negative impact of external environmental factors (such as extreme weather or sudden policy changes) on current capacity, expressed as a percentage, such as a 15% decrease in capacity due to power rationing caused by high temperatures.

[0049] This step inputs the organized candidate features into the trained full-factor dynamic capacity prediction model. After forward computation, the model outputs one or more of the following: current capacity utilization rate, equipment bottleneck index, and degree of external influence, as the current capacity assessment result. This achieves real-time quantitative assessment of production status, providing objective and timely data support for subsequent production scheduling and fault early warning.

[0050] In one possible implementation, the system inputs the candidate features generated in step S3021 into the model. The model outputs that the current capacity utilization rate is 87%, the equipment bottleneck index is 0 (no bottleneck), and the degree of external impact is 12% (production restriction due to mild smog). These results are pushed to the production management dashboard for schedulers to refer to.

[0051] Step S303: Extract monthly fluctuation characteristic data from historical production data, and make a prediction using a full-factor dynamic capacity prediction model based on the current capacity assessment results, monthly fluctuation characteristic data and external environment prediction data to obtain the capacity prediction result. The external environment prediction data refers to the external environment data representing the future time obtained from a preset information source.

[0052] Specifically, step S303 above includes the following steps: Step S3031: The monthly fluctuation characteristic data, the current capacity assessment results, and the external environment prediction data are concatenated into a multi-dimensional feature vector, which is then input into the all-factor dynamic capacity prediction model to perform forward calculation, and outputs the upper limit and lower limit prediction values ​​of the capacity at a preset time in the future.

[0053] Specifically, a multidimensional feature vector refers to a one-dimensional array composed of data from multiple different sources or dimensions, used as input to the model. For example, monthly fluctuation features (+20%), current capacity utilization (85%), and external environment prediction data (-10%) are concatenated into [0.20, 0.85, -0.10]. Forward computation refers to the process of passing input data from the input layer through each hidden layer to the output layer, without involving backpropagation, and is used to obtain the model's predictive output. The upper limit of capacity prediction refers to the highest value that capacity may reach in a certain period of time under given conditions, such as 92%. The lower limit of capacity prediction refers to the lowest value that capacity may drop to in the same period of time under given conditions, such as 72%.

[0054] This step integrates three types of information (historical patterns, current state, and future external factors) into a single feature vector, which is then input into a trained all-factor dynamic capacity forecasting model for forward computation, resulting in a capacity fluctuation range (upper and lower limits). Compared to single-point forecasting, range forecasting can quantify uncertainty, provide richer decision-making reference information, and help production managers formulate more robust production plans.

[0055] In one possible implementation, the system concatenates the extracted monthly fluctuation feature "expected growth of 20% next month" (coded as 0.20), the current capacity assessment result of 85% (coded as 0.85), and the external environment forecast data "combined impact of cold wave + production restriction -10%" (coded as -0.10) into a vector [0.20, 0.85, -0.10]. This vector is then input into the all-factor dynamic capacity forecasting model. After forward calculation, the model outputs a two-dimensional vector [0.92, 0.72], corresponding to the upper limit of next month's capacity of 92% and the lower limit of 72%, respectively.

[0056] Step S3032: The capacity fluctuation range formed by the upper limit forecast value and the lower limit forecast value is used as the capacity forecast result.

[0057] Specifically, the capacity fluctuation range refers to a range defined by the upper limit and lower limit of the capacity forecast. It is used to indicate the possible fluctuation range of capacity within a preset period in the future. For example, "capacity fluctuation range is [72%, 92%]" means that the capacity in the next month will be no less than 72% and no more than 92%.

[0058] This step combines the upper and lower limits of the model output into an interval, which serves as the final capacity forecast result. Interval forecasting can intuitively present the range of uncertainty in future capacity, helping production managers to identify the risks of insufficient or excessive capacity in advance, thereby formulating more reasonable production plans, material procurement, and personnel scheduling schemes.

[0059] In one possible implementation, the model outputs an upper limit of 92% and a lower limit of 72%, which the system represents as "Next Month's Capacity Fluctuation Range: 72%~92%" and marks it with a shaded area on the visualization dashboard. If the lower limit is below 70%, the system can trigger a capacity shortage warning, suggesting increased material preparation or overtime work. If the upper limit exceeds 95%, it indicates potential capacity waste and suggests adjusting the production schedule.

[0060] In some optional implementations, the method further includes the following step before step S302: Step a1: Obtain the original data of multiple production factors. Perform outlier removal, missing value imputation and normalization on the original data of multiple production factors in sequence to obtain the initial sample. The original data of multiple production factors includes at least historical production data, equipment status data and external environment data.

[0061] Step a2: Based on the initial samples, generate an expanded sample set through data augmentation, and divide the expanded sample set into a training set, a validation set, and a test set.

[0062] Step a3: Construct a neural network for predicting dynamic production capacity of all factors.

[0063] Step a4: Train the total factor dynamic capacity prediction neural network using the training set, calculate the prediction error based on the validation set and adjust the model parameters in reverse until the error on the test set is lower than the preset threshold, then solidify the trained model parameters to obtain the total factor dynamic capacity prediction model.

[0064] Specifically, multi-source production factor raw data refers to initial data directly from different data sources and without cleaning, such as historical output records exported from enterprise production management systems, raw vibration waveforms collected by sensors, raw weather reports returned by meteorological APIs, and text announcements from policy websites. Outlier removal refers to identifying and deleting outliers in the data that significantly deviate from the normal distribution. For example, the Z-score algorithm is used to identify and remove values ​​that exceed the mean ± 3 standard deviations as outliers to avoid interfering with model training. Missing value imputation refers to filling in missing or incomplete parts of the data. For example, mean imputation (filling with the average value of the column) or K-Nearest Neighbors (KNN) imputation (filling with the mean of the K most similar samples) is used to ensure the continuity of the data sequence. Normalization refers to transforming data of different dimensions to the same numerical range (such as [0,1]). For example, min-max normalization is used to eliminate differences in dimensions, enabling the model to learn various features equally. The initial samples refer to the clean, standardized dataset obtained after anomaly removal, missing data imputation, and normalization, but before expansion and partitioning. Data augmentation refers to techniques that generate new samples by transforming or synthesizing the original samples. For example, the Synthetic Minority Over-sampling Technique (SMOTE) algorithm is used to oversample small classes, or slight noise or temporal distortions are added to expand the training set and alleviate the small sample problem. The expanded sample set is the total set of samples obtained after data augmentation, and its size is larger than the initial samples. The training set is a portion of the expanded sample set used for model parameter learning, typically accounting for 70% of the total samples. The validation set is a portion of the samples used during training to evaluate model performance and adjust hyperparameters, typically accounting for 10%. The test set is a portion of the samples used after training to finally evaluate the model's generalization ability, typically accounting for 20%. The all-factor dynamic capacity prediction neural network refers to a deep learning network that can simultaneously process multiple source inputs and capture temporal dependencies and long-distance correlations. Its architecture can be Transformer+LSTM, GRU+attention+random forest or TCN+Bidirectional Encoder Representations from Transformers (BERT), etc.

[0065] Steps a1 to a4 constitute the complete training process of the all-factor dynamic capacity prediction model. First, raw data from multiple production factors are acquired, and clean, standardized initial samples are obtained through outlier removal, missing value imputation, and normalization. Then, data augmentation techniques (such as SMOTE oversampling) are used to generate an expanded sample set, which is then divided into training, validation, and test sets. Next, an all-factor dynamic capacity prediction neural network with time-series processing and long-range dependency capture capabilities is constructed. Finally, the network is iteratively trained using the training set, and the prediction error is monitored on the validation set, with the model parameters adjusted accordingly. Training stops when the error on the test set falls below a preset threshold, and the model parameters are solidified, resulting in a deployable all-factor dynamic capacity prediction model. This process, through systematic data cleaning, data augmentation, and multi-architecture neural network training, ensures the model's robustness to noise and its generalization ability in small-sample scenarios, providing a high-precision foundational model for subsequent real-time evaluation and future prediction.

[0066] In one possible implementation, the system obtains historical production data (1000 records) from the past three years from the production management system, extracts equipment vibration and temperature data (1000 records) from a sensor database, and obtains external environmental data (1000 records) from meteorological APIs and policy websites, forming the original multi-source production factor data. The Z-score algorithm is used to detect and remove outliers exceeding three times the standard deviation (approximately 5 outliers are removed), and the mean-filling method is used to fill in missing values ​​(approximately 10 outliers are filled). Then, the numerical features are normalized using min-max to obtain the initial samples. For small sample scenarios (such as when production data is scarce in certain seasons), the SMOTE algorithm is used to synthesize oversampling, generating an expanded sample set (expanded to 2000 records). The training set (1400 records), validation set (400 records), and test set (200 records) are divided in a 7:2:1 ratio. A full-factor dynamic production capacity prediction neural network is constructed, containing a 2-layer Transformer encoder (4 attention heads) and a 1-layer LSTM (128 hidden units). Using the Adam optimizer and mean squared error loss function, train on the training set for 100 epochs. After each epoch, calculate the loss on the validation set. If the validation loss does not decrease for 5 consecutive epochs, reduce the learning rate until the mean absolute percentage error on the test set is below 5%. Then stop training and save the model parameters.

[0067] In some alternative implementations, the total factor dynamic capacity prediction neural network adopts any of the following architectures: The Transformer layer and the LSTM layer are connected sequentially. The GRU layer, attention layer, and random forest output layer are connected in sequence. The TCN layer and the BERT pre-trained model layer are connected in sequence.

[0068] Specifically, the Transformer layer refers to a neural network layer based on a multi-head self-attention mechanism, used to capture long-distance dependencies between different positions in the input sequence, such as identifying the cross-temporal correlation between policy adjustments and production capacity changes. The LSTM layer refers to a Long Short-Term Memory network layer, which updates and maintains the state of time-series information through forget gates, input gates, and output gates, used to learn the periodic trends of production capacity data, such as the seasonal pattern of production capacity increases due to winter heating. The GRU layer refers to a gated recurrent unit layer, a simplified variant of LSTM, which retains the ability to capture long-short-term dependencies while having fewer gating structures and parameters, resulting in lower computational complexity; for example, it is suitable for deployment on edge computing nodes with limited computing power. The attention layer refers to a network layer that calculates attention weights between input features, used to capture multi-factor correlations between different time steps or different feature dimensions, such as determining the combined impact of current equipment vibration and external temperature changes on production capacity. The random forest output layer refers to a regression output layer ensembled from multiple decision trees, used for final prediction based on features extracted by the attention layer, exhibiting strong robustness to noisy data; for example, it can still stably output production capacity values ​​in oilfield data containing engineering interference. The TCN layer refers to the Temporal Convolutional Network layer, which uses causal convolution and dilated convolution to process the input sequence in parallel, extracting temporal features from long sequences, such as modeling the slow aging trend of power equipment over time. The BERT pre-trained model layer refers to the Transformer-based bidirectional encoder representation layer, pre-trained on massive amounts of cross-industry production data. It is fine-tuned to adapt to specific industry capacity prediction tasks, using pre-trained knowledge to compensate for insufficient data in small-sample industries.

[0069] This implementation provides three optional neural network architectures for constructing a full-factor dynamic capacity prediction model. Architecture 1 uses a combination of Transformer and LSTM, balancing long-range dependency capture and temporal memory capabilities; Architecture 2 uses a combination of GRU, attention layers, and random forests, reducing computational complexity while enhancing noise resistance and small-sample adaptability; Architecture 3 uses a combination of TCN and BERT pre-trained models to achieve parallelized long-sequence processing and leverage pre-trained knowledge to improve nonlinear modeling capabilities. Users can choose the most suitable architecture based on factors such as computing resources, data scale, and noise level in their specific business scenarios, thereby achieving accurate and robust capacity prediction results in various complex production environments.

[0070] In one possible implementation, given the limited data volume and significant sensor noise in a coal mining enterprise, a second architecture was chosen: a sequentially connected GRU layer (64 hidden units), an attention layer (4 attention heads), and a random forest output layer (100 decision trees). First, real-time collected equipment vibration and external environmental data are input into the GRU layer to extract temporal features. Then, the GRU output is fed into the attention layer to calculate feature weights. Finally, the weighted features are input into the random forest regressor to obtain the current production capacity assessment result. Testing showed that this architecture, with only 2000 training samples, reduced the prediction error by 12% compared to the traditional LSTM model.

[0071] In some optional implementations, after obtaining the capacity prediction result in step S303 above, the method further includes: Step b1: Based on the current capacity assessment results and capacity forecast results, generate production decision support information, which includes production plan adjustment suggestions or resource reallocation instructions.

[0072] Specifically, production decision support information refers to comprehensive suggestions or instructions generated based on capacity assessment and forecast results to guide production scheduling. Examples include actionable information such as "Increase shifts on production line A next month" or "Relocate materials from workshop B to workshop C." Production plan adjustment suggestions refer to modifications to production rhythm, shift arrangements, and order priorities in response to future capacity fluctuations. For example, "If next month's capacity limit is predicted to be only 70%, it is recommended to outsource urgent orders." Resource reallocation instructions refer to instructions for rescheduling production factors such as manpower, materials, and equipment between different production lines or workshops. For example, "Relocate 20% of materials from production line D (with sufficient inventory) to production line E to address insufficient capacity."

[0073] This step combines current capacity assessment results (real-time status) with future capacity forecast results (fluctuation range) to transform them into specific, actionable production decision support information. By outputting production plan adjustment suggestions or resource reallocation instructions, it helps managers transition directly from data insights to action plans, reducing the subjectivity and delays of manual decision-making and improving resource utilization efficiency and the scientific nature of production planning.

[0074] In one possible implementation, the system currently assesses that the capacity utilization rate of a certain automotive parts production line is 85%, predicts that the upper limit of capacity next month will be 70% and the lower limit will be 55%, and judges that there is a risk of insufficient capacity. Therefore, it generates production decision support information: "Production plan adjustment suggestion: Postpone the production of order B originally scheduled for this production line next month, and prioritize the completion of order A; Resource reallocation instruction: Transfer 50 key molds from spare parts inventory to this production line, and simultaneously transfer 5 operators from a neighboring production line to provide support." This information is automatically pushed to the enterprise resource planning system via an interface, triggering the production plan change and material allocation process.

[0075] In some optional implementations, after generating production decision support information in step b1 above, the method further includes: Step c1: Based on the real-time collected equipment vibration spectrum data, the remaining service life of the production equipment or its components is determined using a pre-trained LSTM fault prediction model.

[0076] Step c2: When the remaining service life is lower than the warning threshold, the corresponding equipment identifier and predicted failure time are embedded into the production decision support information, and the A* algorithm is used to plan the optimal travel route from the current location of the maintenance personnel to the production equipment.

[0077] Specifically, equipment vibration spectrum data refers to the frequency distribution data obtained by Fourier transforming equipment vibration signals collected at a high sampling rate (e.g., 1024Hz), including, for example, the fundamental frequency characteristics during normal operation and harmonic components during faults. A pre-trained LSTM fault prediction model is a long short-term memory network trained based on historical vibration spectra and fault records, used to learn equipment degradation patterns from vibration data and predict remaining lifespan. Production equipment refers to key machines involved in the manufacturing process, such as injection molding machines, stamping machines, and generators. Remaining lifespan refers to the time remaining between the current moment and the expected failure of production equipment or its key components, such as "this hydraulic pump can still operate normally for 48 hours." The warning threshold is the critical value of remaining lifespan that triggers a maintenance alarm, such as 48 hours. Equipment identifier refers to a unique identifier number or name for the equipment, such as "equipment number P-1023." Predicted failure time refers to the specific time point when a failure is expected to occur, such as "June 5, 2026, 14:30." The A* algorithm is a heuristic pathfinding algorithm that plans the shortest path by evaluating the actual cost and estimated cost from the starting point to the target point. The optimal route is the path with the shortest distance or the least time required from the current location of the maintenance personnel to the target equipment on the factory floor map.

[0078] This technical solution, based on the generation of decision support information, further introduces predictive maintenance functionality. By collecting real-time equipment vibration spectrum data, an LSTM fault prediction model is used to calculate the remaining service life of the equipment or component. When the remaining service life falls below a set warning threshold, the equipment's identifier and predicted failure time are embedded into the existing production decision support information. Simultaneously, the A* algorithm is used to plan the optimal route for maintenance personnel from their current location to the faulty equipment. This deep integration of capacity prediction and equipment maintenance ensures that production decision information not only includes capacity scheduling suggestions but also covers impending equipment failure warnings and maintenance path planning. This achieves a shift from a passive response to a proactive prediction-based maintenance model, reducing the risk of unplanned downtime and improving overall production efficiency.

[0079] In one possible implementation, a vibration sensor is installed on a stamping press in an automotive parts production line, collecting vibration spectra in real time at a sampling rate of 1024Hz. A pre-trained LSTM fault prediction model (trained based on 100,000 historical vibration and fault data points) analyzes the current spectrum and finds a significant sideband in the bearing's characteristic frequency, calculating the remaining service life of the bearing to be 40 hours. The system sets a warning threshold of 48 hours (i.e., a warning 2 days in advance). Therefore, "Equipment ID: Stamping Press #03, Predicted Failure Time: June 8, 2026, 10:00 AM" is embedded into existing production decision support information. Simultaneously, the system obtains that the current maintenance personnel are located in the tool room (coordinates X=15, Y=20), and Stamping Press #03 is located on the east side of the workshop (coordinates X=85, Y=30). Using the A* algorithm with Euclidean distance as the heuristic function, the shortest path is planned: Tool Room → Material Channel → Stamping Press #03, a total distance of 120 meters. This path is then sent to the maintenance worker's mobile app to guide them to reach the location quickly.

[0080] Figure 4 This is a schematic diagram illustrating another process for capacity forecasting based on multi-source data according to an embodiment of this application. For example... Figure 4 As shown, the process includes the following steps: Step A, data acquisition: historical production data, equipment status data, and external environmental parameter data are obtained through a multi-source data access mechanism and stored uniformly in a data buffer pool; Step B, data preprocessing, involves sequentially removing outliers (e.g., Z-score or Interquartile Range (IQR) algorithm), imputing missing values ​​(e.g., mean imputation or KNN imputation), and normalizing the collected data (e.g., min-max or decimal scaling normalization), and then dividing it into training, validation, and test sets in a 7:2:1 ratio. Step C, Model Training: The neural network for predicting total factor dynamic production capacity is trained using the training set. This network can adopt architectures such as Transformer+LSTM, GRU+Attention+Random Forest or TCN+BERT. Step D: Does the error meet the standard? Calculate the prediction error based on the validation set. If the error does not meet the preset threshold, return to step C to continue adjusting the model parameters. If it meets the standard, proceed to step E. Step E: Model solidification. The trained model parameters are stored in a callable file format to obtain the full-factor dynamic production capacity prediction model. Step F: Real-time assessment. Access real-time collected equipment status data and external environment data, perform forward calculations through a fixed model, and output at least one of the following as the current capacity utilization rate, equipment bottleneck indicators, and degree of external influence as the current capacity assessment result. Step G, Monthly Forecast: Extract monthly fluctuation characteristic data from historical production data, combine it with current capacity assessment results and external environment forecast data, input it into the solidified model to perform forward calculation, and output the upper limit forecast value and lower limit forecast value of capacity for the next 1-3 months, which constitute the capacity fluctuation range. Step H, Results Output: The real-time evaluation results and monthly forecast results will be displayed through a visual dashboard, and production decision support information will be generated, including suggestions for production plan adjustments or instructions for resource reallocation.

[0081] This embodiment also provides a capacity forecasting device based on multi-source data, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0082] This embodiment provides a capacity prediction device based on multi-source data, such as... Figure 5 As shown, it includes: The acquisition module 501 is used to acquire equipment status data, external environment data, and historical production data. The current capacity assessment module 502 is used to determine the current capacity assessment result based on equipment status data and external environment data through a full-factor dynamic capacity prediction model. The full-factor dynamic capacity prediction model indicates the mapping relationship between real-time equipment status data and external environment data and current capacity. The capacity forecasting module 503 is used to extract monthly fluctuation characteristic data from historical production data, and make predictions through a full-factor dynamic capacity forecasting model based on the current capacity assessment results, monthly fluctuation characteristic data and external environment forecast data to obtain capacity forecast results. The external environment forecast data refers to external environment data representing future time obtained from preset information sources.

[0083] In some optional implementations, the current capacity assessment module 502 includes: The candidate feature determination unit is used to organize real-time data within the window into candidate features according to a preset time interval based on equipment status data and external environment data using a sliding time window mechanism. The current capacity assessment unit is used to input candidate features into the total factor dynamic capacity forecasting model, and to take at least one of the current capacity utilization rate, equipment bottleneck indicators and external impact degree output by the total factor dynamic capacity forecasting model as the current capacity assessment result.

[0084] In some alternative implementations, the capacity forecasting module 503 includes: The output prediction unit is used to concatenate monthly fluctuation characteristic data, current capacity assessment results and external environment prediction data into a multi-dimensional feature vector, input it into the all-factor dynamic capacity prediction model to perform forward calculation, and output the upper limit and lower limit prediction values ​​of the capacity at a future preset time. The capacity forecasting unit is used to take the capacity fluctuation range formed by the upper and lower limit forecast values ​​as the capacity forecast result.

[0085] In some alternative implementations, the current capacity assessment module 502 further includes: The data acquisition unit is used to acquire raw data of multi-source production factors. It performs outlier removal, missing value filling and normalization on the raw data of multi-source production factors in sequence to obtain an initial sample. The raw data of multi-source production factors includes at least historical production data, equipment status data and external environment data. The sample partitioning unit is used to generate an expanded sample set based on the initial samples through data augmentation, and to partition the expanded sample set into a training set, a validation set, and a test set. Network building blocks are used to construct a neural network for predicting dynamic production capacity across all factors of production. The model training unit is used to train the total factor dynamic capacity prediction neural network using the training set, calculate the prediction error based on the validation set and adjust the model parameters in reverse until the error on the test set is lower than the preset threshold, and then solidify the trained model parameters to obtain the total factor dynamic capacity prediction model.

[0086] In some alternative implementations, the total factor dynamic capacity prediction neural network adopts any of the following architectures: The Transformer layer and the LSTM layer are connected sequentially. The GRU layer, attention layer, and random forest output layer are connected in sequence. The TCN layer and the BERT pre-trained model layer are connected in sequence.

[0087] In some optional implementations, the capacity forecasting module 503 further includes: The information generation unit is used to generate production decision support information based on the current capacity assessment results and capacity forecast results. The production decision support information includes production plan adjustment suggestions or resource reallocation instructions.

[0088] In some optional implementations, the information generation unit further includes: The service life prediction subunit is used to determine the remaining service life of production equipment or its components based on real-time acquired equipment vibration spectrum data and a pre-trained LSTM fault prediction model. The route planning subunit is used to embed the corresponding equipment identification and predicted failure time into the production decision support information when the remaining service life is lower than the warning threshold, and to plan the optimal travel route from the current location of the maintenance personnel to the production equipment using the A* algorithm.

[0089] The capacity forecasting apparatus based on multi-source data provided in this application can execute the capacity forecasting method based on multi-source data provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects for executing the method. Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.

[0090] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0091] The following is a detailed reference. Figure 6 This diagram illustrates a suitable structural schematic for implementing the electronic device described in the embodiments of this application. The electronic device may include a processor (e.g., a central processing unit, graphics processor, etc.) 601, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 602 or a program loaded from memory 608 into random access memory (RAM) 603. The RAM 603 also stores various programs and data required for the operation of the electronic device. The processor 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0092] Typically, the following devices can be connected to I / O interface 605: input devices 606 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 607 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 608 including, for example, magnetic tapes, hard disks, etc.; and communication devices 609. Communication device 609 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 6 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.

[0093] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 609, or installed from a memory 608, or installed from a ROM 602. When the computer program is executed by the processor 601, it performs the functions defined in the capacity forecasting method based on multi-source data of this application.

[0094] Figure 6 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0095] This application also provides a computer-readable storage medium. The methods described in this application can be implemented in hardware or firmware, or implemented as recordable on a storage medium, or implemented as computer code downloaded over a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the capacity prediction method based on multi-source data shown in the above embodiments is implemented.

[0096] A portion of this application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to this application through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.

[0097] Although embodiments of this application have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of this application, and all such modifications and variations fall within the scope defined by the appended claims.

Claims

1. A capacity forecasting method based on multi-source data, characterized in that, The method includes: Acquire equipment status data, external environment data, and historical production data; Based on the equipment status data and the external environment data, the current capacity assessment result is determined by the all-factor dynamic capacity prediction model, which indicates the mapping relationship between real-time equipment status data and external environment data and current capacity. Monthly fluctuation characteristic data is extracted from the historical production data, and based on the current production capacity assessment results, the monthly fluctuation characteristic data, and the external environment prediction data, the production capacity prediction results are obtained by using the all-factor dynamic production capacity prediction model. The external environment prediction data refers to external environment data representing future time obtained from a preset information source.

2. The method according to claim 1, characterized in that, The step of determining the current capacity assessment result based on the equipment status data and the external environment data using a full-factor dynamic capacity prediction model includes: Based on the device status data and the external environment data, a sliding time window mechanism is used to organize the real-time data in the window into candidate features at preset time intervals. The candidate features are input into the total factor dynamic capacity prediction model, and at least one of the current capacity utilization rate, equipment bottleneck index and external influence degree output by the total factor dynamic capacity prediction model is used as the current capacity assessment result.

3. The method according to claim 1, characterized in that, The process involves extracting monthly fluctuation characteristic data from the historical production data, and then using the total factor dynamic capacity prediction model to make predictions based on the current capacity assessment results, the monthly fluctuation characteristic data, and external environment forecast data, to obtain capacity prediction results, including: The monthly fluctuation characteristic data, the current production capacity assessment results, and the external environment prediction data are concatenated into a multi-dimensional feature vector, which is then input into the all-factor dynamic production capacity prediction model to perform forward calculations and output the upper limit and lower limit prediction values ​​of production capacity at a preset future time. The capacity fluctuation range formed by the predicted upper and lower limits of the capacity is taken as the capacity prediction result.

4. The method according to claim 1, characterized in that, Before determining the current capacity assessment result through the full-factor dynamic capacity forecasting model, the following is also included: Obtain raw data of multiple production factors, and sequentially perform outlier removal, missing value imputation and normalization on the raw data of multiple production factors to obtain an initial sample. The raw data of multiple production factors includes at least historical production data, equipment status data and external environment data. Based on the initial samples, an expanded sample set is generated through data augmentation, and the expanded sample set is divided into a training set, a validation set, and a test set. Construct a neural network for predicting dynamic production capacity across all factors of production; The training set is used to train the total factor dynamic capacity prediction neural network. The prediction error is calculated based on the validation set and the model parameters are adjusted in reverse until the error on the test set is lower than a preset threshold. The trained model parameters are then fixed to obtain the total factor dynamic capacity prediction model.

5. The method according to claim 4, characterized in that, The total factor dynamic capacity prediction neural network adopts any of the following architectures: The Transformer layer and the LSTM layer are connected sequentially. The GRU layer, attention layer, and random forest output layer are connected in sequence. The TCN layer and the BERT pre-trained model layer are connected in sequence.

6. The method according to claim 1, characterized in that, After obtaining the capacity forecast results, the following are also included: Based on the current capacity assessment results and the capacity forecast results, production decision support information is generated, which includes production plan adjustment suggestions or resource reallocation instructions.

7. The method according to claim 6, characterized in that, After generating the production decision support information, the following is also included: Based on real-time collected equipment vibration spectrum data, the remaining service life of the production equipment or its components is determined using a pre-trained LSTM fault prediction model. When the remaining service life is lower than the warning threshold, the corresponding equipment identifier and predicted failure time are embedded in the production decision support information, and the A* algorithm is used to plan the optimal travel route from the current location of the maintenance personnel to the production equipment.

8. A capacity forecasting device based on multi-source data, characterized in that, include: The acquisition module is used to acquire equipment status data, external environment data, and historical production data. The current capacity assessment module is used to determine the current capacity assessment result based on the equipment status data and the external environment data through a full-factor dynamic capacity prediction model. The full-factor dynamic capacity prediction model indicates the mapping relationship between real-time equipment status data and external environment data and current capacity. The capacity forecasting module is used to extract monthly fluctuation characteristic data from the historical production data, and make a forecast based on the current capacity assessment result, the monthly fluctuation characteristic data and the external environment forecast data through the all-factor dynamic capacity forecasting model to obtain the capacity forecasting result. The external environment forecast data refers to the external environment data representing the future time obtained from the preset information source.

9. An electronic device, characterized in that, include: At least one processor; And a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 1 to 7.