CN105138385A - Complex event processing method for Internet of Things - Google Patents

Complex event processing method for Internet of Things Download PDF

Info

Publication number
CN105138385A
CN105138385A CN201510527518.5A CN201510527518A CN105138385A CN 105138385 A CN105138385 A CN 105138385A CN 201510527518 A CN201510527518 A CN 201510527518A CN 105138385 A CN105138385 A CN 105138385A
Authority
CN
China
Prior art keywords
event
internet
things
rule
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510527518.5A
Other languages
Chinese (zh)
Inventor
黄海
张雷
王柏
张艳梅
朱思远
李伟鹏
陈峥
薛寒寒
许纪念
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201510527518.5A priority Critical patent/CN105138385A/en
Publication of CN105138385A publication Critical patent/CN105138385A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a complex event processing method for the Internet of Things. According to the method, system data of the Internet of Things are regarded as events of different types, the relationships, such as the member relationship, the time relationship, the causal relationship and the inclusion relationship, among the events are analyzed, different event relationship sequence bases, namely, rule bases are set up, filtering, correlating, aggregation and other technologies are utilized, and finally advanced events or business processes are generated through simple events. A complete complex event processing life cycle module is achieved, complex event definition languages, complex event processing languages, a processing rule engine, event preprocessing, event detection, event distribution and the like are contained, and the rule engine is introduced as the core of event detection and rule matching. Compared with the prior art, the method is not limited to certain specific fields of complex event processing, and is universal, mass events are supported to be processed in an internal storage, real-time performance is improved, storage is optimized, and the event recognition accuracy rate is increased.

Description

A kind of Internet of Things Complex event processing method
Technical field
The invention belongs to Internet of Things field, particularly a kind of Internet of Things Complex event processing method and the Internet of things access method based on this system.
Background technology
Internet of Things describes a vision, in this vision, any object is linked in internet, and becoming a part for internet: this each object wherein can be uniquely identified and can both be linked in network, its position and state can be known, the function of the service that it can provide and intelligence is also added into this internet expanded and merges numeral and physical world, and finally affects our exchange way each other and the environment of living.
And the information Perception equipment in Internet of Things produces a large amount of continuously data stream, also a large amount of redundancies is often there is in these data, and the association of various complexity, for Internet of Things, the interested data of user should be able to be found well in time.Such as, fresh fruit supermarket require fruit from processing dispatch from the factory to enter warehouse, supermarket process, the temperature and humidity requirement that all demand fulfillment is certain in transport vehicle, otherwise be regarded as substandard product, and according to the difference of fruit, season temperature difference, these require all can be different, but can not provide corresponding service flexibly, accurately with the capacity of equipment of current Internet of Things.
Therefore, how under the condition of Internet of Things, how the interested data of user can be found in time, exactly, and gordian technique in order to Internet of Things development can be can be adjusted to flexibly according to the demand of user.
Summary of the invention
In order to effectively solve the problem, the invention provides a kind of Internet of Things Complex event processing system and method.
Concrete technical scheme is as follows:
A kind of Internet of Things Complex event processing system, this system described comprises event definition module, rule engine module, Complex event processing module, Internet of Things data perception layer and Internet of Things application system;
Described Internet of Things data perception layer receives the data that bottom internet of things equipment reports; And be sent to Complex event processing module;
Described complicated time-triggered protocol module obtains the data that above-mentioned internet of things equipment reports, and calling rule engine modules processes, and obtains the driving event for driving outside Internet of Things application system, and driving event is sent to Internet of Things application system;
Described rule engine module is used for defining the rule of Complex event processing module middle filtrator, explain and performing;
Described event definition module is for providing the interface of formulation, Admin Events for user.
Further, described Complex event processing module comprises redundancy event filtrator, type identification filtrator, mode filter and business rule integrator; The data that described Internet of Things data perception layer reports are sent to Internet of Things application system via redundancy event filtrator, type identification filtrator, mode filtering and business rule integrator successively.
Further, the data that described redundancy event filtrator receiver networking data sensing layer reports, and redundant data is eliminated;
Described type identification filtrator carries out type judgement to the event message received;
Described mode filter carries out pattern match by the validity event received;
Described business rule integrator carries out the additional of attribute information to mode event.
Further, described event definition module comprises event definition unit and event management unit, wherein:
Described event definition unit is used for providing user to make definition to complicated event;
Described event management unit is used for providing user to carry out additions and deletions to complicated event changing and look into;
Further, described rule engine module comprises rule file unit, rule database, regular deployment unit, wherein:
Described rule file unit is the rule file that the complicated event formulated according to user generates;
Described rule database provides the function of rule file being carried out to storage administration;
Described regular deployment unit is used for carrying out program compilation deployment to rule file, for calling.
The complicated time processing method of a kind of Internet of Things, apply above-mentioned disposal system, it is characterized in that, specifically comprise the following steps:
Step S1: user defines complicated event, the definition of user is converted into program language by disposal system;
Step S2: according to complicated event, is converted into the rule file that rule engine module is suitable for by complicated event, and carries out compiling deployment;
Step S3: obtain data from Internet of Things data perception layer;
Step S4: complicated time-triggered protocol module processes data, successively by redundancy event filtrator, type identification filtrator, mode filter and business rule integrator, generates elementary event, validity event, mode event and business event successively;
Step S5: carry out work by the business event driven Internet of Things application system generated.
Beneficial effect of the present invention is: the present invention adopts the mode can joined flexibly, carries out Rulemaking, and can when bottom elementary event data volume is larger, matched rule efficiently and accurately, produces event, thus drives upper layer application.
Accompanying drawing explanation
Fig. 1 is system construction drawing of the present invention;
Fig. 2 is rules engines processes process flow diagram of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is explained in further detail.Should be appreciated that specific embodiment described herein only for explaining the present invention, being not intended to limit the present invention.
On the contrary, the present invention is contained any by the substituting of making on marrow of the present invention and scope of defining of claim, amendment, equivalent method and scheme.Further, in order to make the public have a better understanding to the present invention, in hereafter details of the present invention being described, detailedly describe some specific detail sections.Do not have the description of these detail sections can understand the present invention completely for a person skilled in the art yet.
The invention provides a kind of Complex event processing system based on Internet of Things, this Complex event processing system described comprises event definition module 101, rule engine module 102, Complex event processing module 103, Internet of Things data perception layer 104, Internet of Things application system 105 wherein:
Described event definition module 101 is for providing the interface of formulation, Admin Events for user; Be specially described event definition module 101 and comprise event definition unit 121 and event management unit 122; Described event definition unit 121 makes the function of definition for providing user to complicated event; Described event management unit 122 changes for providing user the function looked into the additions and deletions that complicated event carries out.
Described rule engine module 102 is for defining the filtering rule of level filtrator each in event handling model, explain and perform.Due to the dirigibility of regulation engine, system according to the needs of different application process, can be carried out filtercondition rule at different abstraction hierarchies and arranges and dynamic load; Be specially rule engine module 102 and comprise rule file unit 131, rule database 132 and regular deployment unit 133, wherein: described rule file unit 131 is the rule file that the complicated event formulated according to user generates; Described rule database 132 provides the function of rule file being carried out to storage administration; Described regular deployment unit 133 for carrying out program compilation deployment to rule file, for calling.
The data of described Complex event processing module 103 for obtaining from Internet of Things data perception layer 104, calling rule engine modules 102 processes, thus produces driving event, drives outside Internet of Things application system 105;
Be specially described Complex event processing module 103 and comprise redundancy event filtrator 141, type identification filtrator 142, mode filter 143 and business rule integrator 144, wherein:
Described redundancy event filtrator 141 function is the event message receiving the magnanimity uploaded from awareness apparatus, these data also exist a large amount of repeat to read, skip and the information of mispronouncing, in order to effectively obtain data, using redundancy event filtrator, eliminating redundant data.
Described type identification filtrator 142, according to the data format specifications comprised in event message (as EPC identifier specification), carries out type judgement to any one event message received.
Described mode filter 143 is different according to concrete applied environment.Store in mode filter be interested to predefined upper layer application sequence of events rule, i.e. pattern.Relation between sequence of events comprises time relationship, hierarchical relationship, relation of inclusion, cause-effect relationship etc., wherein common with time relationship.Validity event sequence, through mode filter, can carry out pattern match, and the validity event that the match is successful is Sequence Transformed is mode event.
Relevant attribute information, on the basis of mode event, is attached in advanced event by described business rule integrator 144, finally obtains the interested business event of layer model.
Described Internet of Things data perception layer 104 is for obtaining the data that bottom internet of things equipment reports;
Described Internet of Things application system 105 is applications, provides the function of form.
The present invention also provides a kind of Complex event processing method based on Internet of Things
The concrete steps of this method are as follows:
Step S1: user is due to complicated event, and platform is translated into program language;
Step S2: according to complicated event, is translated into the rule file that regulation engine is suitable for, and carries out compiling deployment.
Step S3: obtain data from Internet of Things data perception layer; While sensing layer obtains data, can directly be sent to Complex event processing module;
Also the Data Analysis of acquisition can be become Internet of Things metaevent, wherein said metaevent comprises: read the data layout of described acquisition data, identify the data layout of described reading, when described data layout meets analysis condition, be Internet of Things metaevent by the Internet of Things Data Analysis obtained.
Step S4: Complex event processing module processes data, successively by redundancy event filtrator, type identification filtrator, mode filter and business rule integrator, generates elementary event, validity event, mode event and business event successively.
Step S5; Work is carried out by the event-driven Internet of Things application system generated.
Instantiation is as follows:
Step S1: user is due to complicated event, and platform is translated into program language;
For previously mentioned fruit supermarket, suppose that the best storage condition of certain fruit is: temperature 5-10 DEG C, humidity is 85%-90%.And fruit is sent to the time used in supermarket and is less than or equals 1 minute from lorry.In supplier's lorry in this fruit supermarket and fruit supermarket, dispose two sensor node DS000560 and DS000570 respectively detect temperature and humidity in the lorry of the supplier in this fruit supermarket and fruit supermarket respectively, atomic event can represent as follows:
E=(Id, DeviceId, Location, Time, KeyValuelist). so:
E1=(000010, " DS000560 ", " fruit supermarket ", 2015-03-1510-31, <Temperature, 7.5>), this formal description list is shown in 10:31 on March 15th, 2015 device number be the Temperature Humidity Sensor temperature perceived in fruit supermarket of DS000560 is 7.5 DEG C.
E2=(000011, " DS000560 ", " fruit supermarket ", 2015-03-1510-31, <Humidity, 86.5%>), this formal description list is shown in 10:31 on March 15th, 2015 device number be the Temperature Humidity Sensor humidity perceived in fruit supermarket of DS000560 is 86.5%.
E3=(000012, " RFID card reader A ", " lorry doorway ", 2015-03-1510-30, <Tag, 120001>), this formal description list is shown on March 15th, 2013 10:30RFID card reader B and scans on the doorway of the lorry of the supplier in fruit supermarket the label that label value is 120001.
In like manner can there is following atomic event:
E4=(000013, " RFID card reader B ", " supermarket ", 2015-03-1510-31, <Tag, 120001>),
E5=(000014, " DS000560 ", " lorry ", 2015-03-1510-30, <Temperature, 7.5>),
E6=(000015, " DS000560 ", " lorry ", 2015-03-1510-30, <Humidity, 86.5%>),
Can complicated event be specified:
(1)5<e1.Temperature<10,0.85<e2.Humidity<0.90
(2)5<e5.Temperature<10,0.85<e6.Humidity<0.90
(3)e1.Time=e2.Time&&e5.Time=e6.Time
(4)e3.Tag=e4.Tag
(5)e4.StartTime–e3.StartTime<=1
The result produced is: this fruit can enter warehouse, fruit supermarket.
Step S2: according to complicated event, is translated into the rule file that regulation engine is suitable for, and carries out compiling deployment.
Complicated event in step 1 is converted into the corresponding rule file of regulation engine, user can use the mode selected, and selected the rule of disposing
Step S3: obtain data from Internet of Things data perception layer;
Namely atomic event is obtained as e1=(000010, " DS000560 ", " fruit supermarket ", 2015-03-1510-31, <Temperature, 7.5>), this formal description list is shown in 10:31 on March 15th, 2015 device number be the Temperature Humidity Sensor temperature perceived in fruit supermarket of DS000560 is 7.5 DEG C.
Step S4: Complex event processing module processes data, successively by redundancy event filtrator, type identification filtrator, mode filter and business rule integrator, generates elementary event, validity event, mode event and business event successively.
First received the event message of the magnanimity uploaded from awareness apparatus by redundancy event filtrator, these data also exist a large amount of repeat to read, skip and the information of mispronouncing, in order to effectively obtain data, using redundancy event filtrator, eliminating redundant data.Produce simple event.
Afterwards by type identification filtrator according to the data format specifications comprised in event message (as EPC identifier specification), type judgement is carried out to any one event message received.The type reported as decision event is temperature, humidity or label.The data of further filtering out redundant, produce validity event.
Described mode filter is different according to concrete applied environment again.Store in mode filter be interested to predefined upper layer application sequence of events rule, i.e. pattern.Relation between sequence of events comprises time relationship, hierarchical relationship, relation of inclusion, cause-effect relationship etc., wherein common with time relationship.Validity event sequence, through mode filter, can carry out pattern match, and the validity event that the match is successful is Sequence Transformed is mode event.
Relevant attribute information, on the basis of mode event, is attached in advanced event by last business rule integrator, finally obtains the interested business event of upper layer software (applications).Add the driving behavior of generation, as alert trigger etc.
Step S5; Work is carried out by the event-driven Internet of Things application system generated.
According to above driving behavior, drive application layer work.

Claims (6)

1. an Internet of Things Complex event processing system, is characterized in that, this system described comprises event definition module, rule engine module, Complex event processing module, Internet of Things data perception layer and Internet of Things application system;
Described Internet of Things data perception layer receives the data that bottom internet of things equipment reports; And be sent to Complex event processing module;
Described complicated time-triggered protocol module obtains the data that above-mentioned internet of things equipment reports, and calling rule engine modules processes, and obtains the driving event for driving outside Internet of Things application system, and driving event is sent to Internet of Things application system;
Described rule engine module is used for defining the rule of Complex event processing module middle filtrator, explain and performing;
Described event definition module is for providing the interface of formulation, Admin Events for user.
2. a kind of Internet of Things Complex event processing system according to claim 1, it is characterized in that, described Complex event processing module comprises redundancy event filtrator, type identification filtrator, mode filter and business rule integrator; The data that described Internet of Things data perception layer reports are sent to Internet of Things application system via redundancy event filtrator, type identification filtrator, mode filtering and business rule integrator successively.
3. a kind of Internet of Things Complex event processing system according to claim 2, is characterized in that, the data that described redundancy event filtrator receiver networking data sensing layer reports, and redundant data is eliminated;
Described type identification filtrator carries out type judgement to the event message received;
Described mode filter carries out pattern match by the validity event received;
Described business rule integrator carries out the additional of attribute information to mode event.
4. a kind of Internet of Things Complex event processing system according to claim 1, it is characterized in that, described event definition module comprises event definition unit and event management unit, wherein:
Described event definition unit is used for providing user to make definition to complicated event, provides the data threshold values of thing network sensing layer, and is stored in database;
Described event management unit is used for providing user to carry out additions and deletions to complicated event changing and look into.
5. Internet of Things Complex event processing system according to claim 1, it is characterized in that, described rule engine module comprises rule file unit, rule database, regular deployment unit, wherein:
Described rule file unit is the rule file that the complicated event formulated according to user generates, and is mainly used in the mode filter of regulation engine;
Described rule database provides the function of rule file being carried out to storage administration;
Described regular deployment unit is used for carrying out program compilation deployment to rule file, for calling.
6. an Internet of Things Complex event processing method, the disposal system that one of application the claims 1-5 is described, is characterized in that, specifically comprise the following steps:
Step S1: user defines complicated event, the definition of user is converted into program language by disposal system;
Step S2: according to complicated event, is converted into the rule file that rule engine module is suitable for by complicated event, and carries out compiling deployment;
Step S3: obtain data from Internet of Things data perception layer;
Step S4: complicated time-triggered protocol module processes data, successively by redundancy event filtrator, type identification filtrator, mode filter and business rule integrator, generates elementary event, validity event, mode event and business event successively;
Step S5: carry out work by the business event driven Internet of Things application system generated.
CN201510527518.5A 2015-08-25 2015-08-25 Complex event processing method for Internet of Things Pending CN105138385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510527518.5A CN105138385A (en) 2015-08-25 2015-08-25 Complex event processing method for Internet of Things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510527518.5A CN105138385A (en) 2015-08-25 2015-08-25 Complex event processing method for Internet of Things

Publications (1)

Publication Number Publication Date
CN105138385A true CN105138385A (en) 2015-12-09

Family

ID=54723742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510527518.5A Pending CN105138385A (en) 2015-08-25 2015-08-25 Complex event processing method for Internet of Things

Country Status (1)

Country Link
CN (1) CN105138385A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653734A (en) * 2016-02-26 2016-06-08 国网江苏省电力公司电力科学研究院 Uncertain complex event processing system and method
CN110794739A (en) * 2019-11-15 2020-02-14 国网安徽省电力有限公司安庆供电公司 Safety management and control system for mobile intelligent terminal equipment
WO2021057387A1 (en) * 2019-09-24 2021-04-01 中兴通讯股份有限公司 Event processing method and apparatus, terminal and computer-readable storage medium
CN112653749A (en) * 2020-12-18 2021-04-13 北京工商大学 Edge computing-based complex event processing system and method for Internet of things
CN114416060A (en) * 2022-03-28 2022-04-29 北京人人云图信息技术有限公司 Complex event processing method and system for time sequence data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110161328A1 (en) * 2009-12-28 2011-06-30 Oracle International Corporation Spatial data cartridge for event processing systems
CN102355482A (en) * 2011-07-28 2012-02-15 山东中创软件工程股份有限公司 Data transmission method and equipment thereof
CN103458033A (en) * 2013-09-04 2013-12-18 北京邮电大学 System for providing services of event-driven service-oriented internet of things and working method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110161328A1 (en) * 2009-12-28 2011-06-30 Oracle International Corporation Spatial data cartridge for event processing systems
CN102355482A (en) * 2011-07-28 2012-02-15 山东中创软件工程股份有限公司 Data transmission method and equipment thereof
CN103458033A (en) * 2013-09-04 2013-12-18 北京邮电大学 System for providing services of event-driven service-oriented internet of things and working method thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
曾庆香: "物联网复杂事件处理机制的研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
高鹏: "基于复杂事件处理的RFID中间件关键技术研究", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653734A (en) * 2016-02-26 2016-06-08 国网江苏省电力公司电力科学研究院 Uncertain complex event processing system and method
CN105653734B (en) * 2016-02-26 2019-03-19 国网江苏省电力公司电力科学研究院 A kind of processing system and method for uncertainty complicated event
WO2021057387A1 (en) * 2019-09-24 2021-04-01 中兴通讯股份有限公司 Event processing method and apparatus, terminal and computer-readable storage medium
CN110794739A (en) * 2019-11-15 2020-02-14 国网安徽省电力有限公司安庆供电公司 Safety management and control system for mobile intelligent terminal equipment
CN112653749A (en) * 2020-12-18 2021-04-13 北京工商大学 Edge computing-based complex event processing system and method for Internet of things
CN114416060A (en) * 2022-03-28 2022-04-29 北京人人云图信息技术有限公司 Complex event processing method and system for time sequence data

Similar Documents

Publication Publication Date Title
Zhang et al. IoT-enabled real-time production performance analysis and exception diagnosis model
Tu et al. IoT-based production logistics and supply chain system–Part 1: Modeling IoT-based manufacturing supply chain
Ahmadi et al. A review of CPS 5 components architecture for manufacturing based on standards
Holler et al. Internet of things
Bandyopadhyay et al. Internet of things: Applications and challenges in technology and standardization
Elbasani et al. A Survey on RFID in Industry 4.0
Godager et al. The concept of enterprise BIM: Current research practice and future trends
CN105138385A (en) Complex event processing method for Internet of Things
Qin et al. When things matter: A data-centric view of the internet of things
US20100125476A1 (en) System having business aware framework for supporting situation awareness
Cao et al. The design of an IoT-GIS platform for performing automated analytical tasks
CN103714129A (en) Device and method for buildingg dynamic data structures and relationships based on condition rules
Steinmetz et al. Ontology-driven IoT code generation for FIWARE
Dogan et al. Segmentation of indoor customer paths using intuitionistic fuzzy clustering: Process mining visualization
CN108134812A (en) Data processing method and device
US10990570B2 (en) Methods, systems and apparatus to improve spatial-temporal data management
CN104766108A (en) Optimizing processing method for FID electronic tag in BIM model
CN114170041A (en) Method for establishing intelligent building operation and maintenance management system by applying building subject data
Bretones Cassoli et al. Knowledge Graphs for Data And Knowledge Management in Cyber-Physical Production Systems
Subahi A Model Transformation Approach for Detecting Distancing Violations in Weighted Graphs.
Akanbi et al. Semantic interoperability middleware architecture for heterogeneous environmental data sources
Zhou Interne in the
Steinmetz et al. Enabling and supporting car-as-a-service by digital twin modeling and deployment
Slama et al. The digital playbook: A practitioner’s guide to smart, connected products and solutions with AIoT
Maria Anu et al. An overview of RFID data processing techniques

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151209

RJ01 Rejection of invention patent application after publication