Research and Implementation of Complex Events Based Abnormality Recognition and Early-Warning Technologies in Distributed Computing Systems
- Author
- LiuJiaHong
- Advisor
- WuQuanYuan
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TP338.8 Distributed computer
- Degree
- Doctoral dissertation
- Year
- 2009
- Downloads
- 148
- Citations
- 2
- Distributed Computing Systems
- abnormality recognition
- complex events
- event steam
- recognition trees
- algebraic equifinality
- event instance screening
- proactive early-warning
Abstract
With the continuous development of information technology, distributed computing systems become increasingly sophisticated. A variety of abnormalities in distributed systems, such as virus attacks in network, vehicle blockings in traffic monitoring systems, malicious money launderings hidden in financial algorithm trading, are bound to reflect a series of abnormal changes of information states. The states changes that systems concerned are events. That is to say, system abnormalities are related to a set of events in essential. On the other hand, events among this set are related to each other by temporal and logical correlations. Events with such temporal and logical correlation relationship involved in an abnormality together give rise to the concept of complex events. How to timely find and locate the speficied system abnormalities throuth recognition of complex events, is becoming one of important and hot research topics in distributed computing community. Based on the analysis of the latest achievements in this community, we conduct in-depth studies on expressive language of complex events, recognition algorithm, instance screening policy, and proactive early-warning technologies of abnormalities, the main contributions include:First, based on event algebra we design a formal expressive language of complex events called CREWLan. CREWLan defines event structure, including temporal and logical operators, as well as recursive generation rule of complex events connected by operators. Event structures define event type, occurrence time, and other event properties for an event, and define occurrence time of an event as interval time stamp. Based on event structure and time model, event operators define the temporal and logic relationship among events which recursively constitute complex events. CREWLan clearly expresses the sturctures and complicated relationships of a set of events invovled in an abnormality, thus it is expressive. We present the BNF of CREWLan, then use meta-language tool ANTLR to get the compiled syntax parser. For each expression of complex event, the parser can automatically generate a corresponding recognition tree, which represents the specified system abnormality. The leaf nodes of recognition trees are primitive events come from external environments. Multiple recognition trees might constitute a forest, which represent multiple system abnormalities.Secondly, we propose deadline matching policy based recognition methods, and design a corresponding recognition engine. Under network environments, events occurred early can arrive in recognition engine later, this is called the out-of-order arrival problem. Deadline matching policy allows the early arrived events matching with the delayed events during a specified time span. Thus, deadline matching policy can solve the out-of-order arrival problem in some degree. Further, there are shared nodes, especially nodes in equivalent semantic but different syntax, in a recognition forest composed by a number of recognition trees. These shared nodes can share the same matching process. Based on algebraic semantic ecuivalence of nodes, we design a shared nodes searching algorithm to effectively reducing matcing time in recognition forest. Experimental results show that in scenarios of multiple recognition trees, our recognition engine can achieve 25% lower matching time and 40% higher throughput than other similar systems.Thirdly, we designed retaining-latest principle based event intances screening strategy and its implementation algorithm, which effectively prevent the combinatorial explosion of event instances during recognition process. If there are multiple matching instances during recognition process, based on latest principle, the strategy only retain instances with latest start time and same end time as intermediate outputs to the next matching step. Algebraic reasoning shows that the strategy is of good algebraic properties that it can be recursively applied to the child complex events, and its spatial and temporal complexity of recognition is only proportional to the depth D of recognition tree, i.e. O(D2). The experimental results verify the effectiveness of the screening strategy.Fourthly, for weak complex events which ignore temporal relationships, we designed top-k based proactive early-warning technology of system abnormalities. For early-warning of system abnormalities, we treat complex events or abnormalities as sets of events occure during a time span. This method stores importance and probability of complex events in database and build indices for them, and based on top-k., computes continuously the overall scores of importance and occurrence probability upon events in sliding window, to decide which k complex events with highest overall scores are most likely to be imminent, without waiting until the total corresponding component events arrive. As optimization, we make preprocess through sorted access phase, to reduce the main computing overhead caused by random accesses. Expriment results show that the method can achieve rapid top-k continuous computing, and the sliding window size and other factors have no obvious effects on the computing performance.Finally, based on the above works, we design and implement a complex event based abnormality recognition and early-warning system called CREW. We discuss its applications too.
Table of contents
Abstract 11-13
ABSTRACT 13-15
first chapter 15-39
1.1 Background 15-27
1.1.1 distribution system anomaly identification and early warning 15-21
1.1.2 composite event continuous recognition 21-27
1.2 composite event continuous recognition research 27-34
1.2.1 continuous composite event recognition system 27-28
1.2.2 composite event description language 28-30
1.2.3 composite event continuous identification method 30-33
1.2.4 Research summarizes 33-34
1.3 This paper work 34-36
1.4 thesis structure 36-39
the
chapter composite event the description language CREWLan 39-51
2.1 event structure 39-41
2.1.1 Event 39-41
2.1.2 41
2.2 time model 41-46
2.2.1 problems with existing work 41-44
2.2.2 time model expansion 44-46
2.3 CREWLan semantic 46-48
2.4 abnormal events described example 48-49
2.4.1 business processes run abnormal 48-49
2.4.2 Financial insider trading anomaly 49
2.5 Summary 49-51
Chapter complex event recognition and optimization methods 51-71
3.1 Related work 51-53
3.1.1 composite event recognition when the out-of-order transmission 51-52
3.1.2-oriented multiple composite event recognition 52-53
3.2 identifying tree matching 53-57
3.2.1 pretreatment 53-55
3.2.2 identify tree matching 55-57
3.3 events out of order transmission composite event recognition 57-60
3.3.1 recognition results omission 58
3.3.2 recognition results overstatement 58
3.3.3 composite event recognition based on matching limit strategy 58-60
The
match the 3.4 identify forest optimization 60-65
3.4.1 equivalence relation algebraic properties 60-61
3.4.2 Basic operation sub algebraic properties 61
3.4.3 negate the operation of sub-algebra nature 61-62
3.4.4 Time algebraic properties limit the operation of sub- 62
3.4.5 shared node search algorithm 62-64
3.4.6 time limit conversion algorithm 64-65
3.5 Experimental 65-69
3.5.1 experimental environment configuration 65-66
3.5.2 event recognition performance when the out-of-order transmission 66-67
3.5.3 identify forest shared node matching optimization effect 67-68
3.5.4 time limit conversion optimization results 68-69
3.6 Summary 69-71
Chapter based on the latest instance retained the principle of screening strategies 71-87
4.1 has been working with the problem description 71-77
4.2 and latest retention strategies 77-79
4.3 latest retention strategies algebraic properties 79-80
4.4 the latest retention strategies recognition algorithm 80-83
4.4.1 recognition algorithm 80-82
4.4.2 Complexity Analysis 82-83
4.5 Experimental 83-84
4.6 Summary 84-87
Chapter based composite event abnormal warning 87-99
5.1 Problem definition and has been working 87-88
5.1.1 reactive approach 87-88
5.2 Assumptions and warning architecture 88-89
5.2.1 assumes 88
5.2.2 early warning system structure 88-89
5.3 top-k algorithm for composite event warning 89-91
5.3.1 metadata 89-90
5.3.2 internal data structures 90-91
5.3.3 Top-k aggregate functions 91
5.4 two-stage algorithm TCHybrid 91-97
5.4.1 algorithm structure 91-92
5.4.2 Sort access 92-93
5.4.3 Random Access 93-94
5.4.4 the warning result of the correctness 94-95
5.4.5 algorithm the initiative early warning features 95-96
5.4.6 algorithm running example 96
the 5.4.7 memory access overhead 96-97
5.5 Experimental 97-98
5.5.1 warning time 97
5.5.2 different parameters the warning performance 97-98
5.6 Summary 98-99
Chapter anomaly identification and early warning systems 99-115
6.1 anomaly identification and early warning system CREW 99-102
6.1.1 business activities anomaly identification and early warning needs 99-100
6.1.2 CREW 100-102
6.2 CREWLan design and implementation 102-104
6.2.1 event said 103-104
6.2.2 lexical parser 104
6.3 anomaly identification achieve 104-111
6.3.1 support in the event communications the composite event 104-107
6.3.2 support composite event event communication framework design 107-108
6.3.3 event communication, business process describes the conversion for composite events described 108-109
the
the 6.3.4 complex event recognition memory management optimization 109-111
6.4 CREW application 111-114
6.4.1 business activities anomaly identification 111-112
6.4.2 Public Security police fled committing the crime analysis 112
the
the 6.4.3 distribution networks software Monitoring Information Processing 112-114
6.5 Summary 114-115
Chapter VII Conclusion 115-119
7.1 This paper work and innovation point 115-116
7.2 Next Job Outlook 116-119
Acknowledgements 119-121
the
References 121-131
studying for a doctorate obtained during the academic achievements 131-133
studying for a doctorate participate during research projects 133