An event processing method, apparatus, device and computer readable storage medium

By determining the event pattern and counting threshold in Apache Flink and generating target event matching logic, the problem of counting only continuous inflow events with a fixed time sequence is solved, and counting non-continuous inflow events is realized, improving applicability and compatibility with business scenarios.

CN115145746BActive Publication Date: 2026-07-17SANGFOR TECH INC

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SANGFOR TECH INC
Filing Date
2022-06-27
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Apache Flink can only count events that flow in continuously according to a fixed time sequence, which has poor applicability.

Method used

By defining event patterns and counting thresholds, target event matching logic is generated, enabling the counting of events that flow in continuously or discontinuously according to the target time sequence. Nondeterministic loosely continuous repeating count analysis is performed using the Repeat Until template and the Flink CEP dedicated library.

Benefits of technology

It enriches the counting semantics of complex event correlation analysis in Apache Flink, improves its applicability, enables the handling of non-continuous event inflows, and enhances compatibility and resilience in business scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115145746B_ABST
    Figure CN115145746B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose an event processing method, which comprises: determining an event pattern and a count threshold for pattern matching of an event stream; determining target counting logic for counting a number of target events matching the event pattern; wherein the target events at least comprise events flowing in discontinuously in a target time sequence; determining target event matching logic based on the event pattern, the count threshold and the target counting logic; wherein the target event matching logic is used to determine a composite event matching the event pattern and satisfying the count threshold; and processing the event stream to be processed based on the target event matching logic. Embodiments of the present application also disclose an event processing device, equipment and a computer readable storage medium.
Need to check novelty before this filing date? Find Prior Art