CEP rule updating method based on Flink streaming engine
An update method and rule technology, applied in database update, special data processing application, instrument, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] like figure 1 As shown, the present invention provides a method for updating CEP rules based on the Flink streaming engine, comprising the following steps:
[0028] Step 1: Each task loads the initial rules from an external file. The initial rules are multiple rule lists containing rule numbers, which are stored in memory according to the key-value pairs. In addition, the task accesses the event stream from the external message engine, and according to the loaded rules for analysis;
[0029] Step 2: Obtain the rule data that needs to be updated from the external cache or the system, then broadcast it, and combine it with the event stream. Each task obtains the combined stream at this operator node;
[0030] Step 3: According to the number of the update rule, compare it with the key of the operator node in step 2. If they are the same, convert this update rule into an event flow with a special flag. If there are multiple concurrent nodes at this time, you need to copy m...
Embodiment 2
[0034] like figure 1 As shown, the present invention provides a method for updating CEP rules based on the Flink streaming engine, and the method for updating CEP rules based on the Flink streaming engine also includes the following steps:
[0035] S1: At the combined flow node where the event flow and the rule flow are combined, update the rules of the rule flow, and analyze the event flow after updating the rules;
[0036] S2: After the updated rules analyze the event flow, additional processing services are written, and the newly written processing services are used to perform correlation analysis on each event, thereby completing the rule update for all operator nodes.
[0037]In this embodiment, the task accesses the event stream from the external message engine, analyzes according to the loaded rules, obtains the rule data that needs to be updated from the external cache or the system, and then broadcasts it. The update rule is converted into an event flow with a specia...
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


