Data flow dynamic prediction method and system based on Flink and LSTM
A technology of dynamic prediction and data flow, applied in neural learning methods, biological neural network models, design optimization/simulation, etc., can solve the problem of disconnection of data situation, lack of data flow traction, prediction program does not know when there is a new model, etc. problem, achieve the effect of improving efficiency and saving manpower
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] Embodiment 1, with the real-time generation and influx of the monitoring data flow of the monitored system, the data flow needs to be cached so as to invoke the latest known data during modeling. Establish a data channel from Flink source (data source) to sink (data sink): use Kafka as the data source, read the Kafka source operator through Flink, and continuously ingest data streams. Transform the original data stream into a marked data stream, where the mark is the key to realize dynamic prediction. Then the data stream is incrementally written to an external system through the Flinksink operator, which can be a file system or a database (such as a MySQL database).
[0060] For a specific process of judging whether to trigger a modeling action instruction according to the real-time state of the input data stream, reference may be made to Embodiment 2.
[0061] The real-time status here can be understood as whether the conditions for predictive analysis are met.
Embodiment 2
[0062] Embodiment 2 judges the state of the data in the input data stream in real time, and triggers the first modeling action command when the conditions for predictive analysis are met. The conditions for predictive analysis to meet the needs can be understood as: set according to user needs, for example, the temperature is 38°C at the beginning, the data flow has been rising slowly, and when it rises to 39°C, the modeling instruction is triggered. In fact, it is a threshold judgment, and there is no hard requirement.
[0063] When the judgment result is yes, the model is constructed based on the data set, and the specific process of obtaining the prediction model can refer to Embodiment 3.
Embodiment 3
[0064] In embodiment 3, after the first modeling instruction is issued, a cycle timer is used to create a periodic update mechanism for the LSTM model, and an action instruction for periodically updating the model is triggered after the timer expires.
[0065] After the two instructions are issued, the LSTM modeling program is automatically called, and the latest data set will be read when the modeling program is running. Among them, the latest data set is: from the time when the data stream is written into the external system to the moment when the modeling instruction is issued, the external system will continuously accumulate data, and the latest data set is the data read from the external system for the most recent period. After the modeling is completed, immediately change the Flag value. Here, the Flag value needs to be used by the forecasting program to judge whether a new model is generated, so as to carry out predictive analysis and notify the forecasting program to st...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



