WO2011009261A1 - 事件处理方法和设备 - Google Patents

事件处理方法和设备 Download PDF

Info

Publication number
WO2011009261A1
WO2011009261A1 PCT/CN2009/075521 CN2009075521W WO2011009261A1 WO 2011009261 A1 WO2011009261 A1 WO 2011009261A1 CN 2009075521 W CN2009075521 W CN 2009075521W WO 2011009261 A1 WO2011009261 A1 WO 2011009261A1
Authority
WO
WIPO (PCT)
Prior art keywords
event
statement
matching rule
predefined
matching
Prior art date
Application number
PCT/CN2009/075521
Other languages
English (en)
French (fr)
Inventor
葛全民
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to BR112012000674A priority Critical patent/BR112012000674A2/pt
Publication of WO2011009261A1 publication Critical patent/WO2011009261A1/zh
Priority to IN416DEN2012 priority patent/IN2012DN00416A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2477Temporal data queries

Definitions

  • the present invention relates to the field of computer processing, and in particular, to an event processing method and apparatus. Background technique
  • the first simply provides information on the needs of the event.
  • the user terminal sends a building location request to the system side, the system side locates the user terminal after receiving the request, and then determines the requested building closest to the user terminal, and The determined building information is sent to the user.
  • the system side locates the user terminal after receiving the request, and then determines the requested building closest to the user terminal, and The determined building information is sent to the user.
  • the set event is monitored, and the monitored event is matched with a specific event pre-stored in the database, and when the matching is successful, a preset operation is triggered.
  • the illegal activity range of the user terminal is predefined, and is stored in the database, and then the terminal is monitored by the location, and the monitored terminal location is searched in the database using the database query language. If found, the description is The terminal enters the illegal activity range, and then sends an alarm message to the terminal according to a preset operation.
  • the present invention provides an event processing method and apparatus for improving the real-time and high efficiency of event processing.
  • the present invention provides an event processing method, the method comprising:
  • the set event action is triggered when it is determined that the specific event matching rule is satisfied.
  • the present invention provides an event processing device, the device comprising:
  • a CEP engine module for monitoring a predefined event, generating a first statement related to a specific event matching rule describing the predefined event
  • An ESP engine module configured to acquire a predefined event and generate a second statement describing the predefined event
  • the CEP engine module matches the second statement with the first statement, and determines, according to the matching result, whether the predefined event that is monitored to be generated by the data stream meets the specific event matching rule; when determining that the specific event matching rule is met, triggering Fixed event operations.
  • a predefined event is monitored, and a first statement related to a specific event matching rule describing the predefined event is generated; and at the same time, the continuous data stream is eventized to generate a predefined description of the data.
  • the second statement of the event determining whether the monitored event satisfies the specific event matching rule by matching the second statement with the first statement.
  • the set event action is triggered when the monitored event meets a specific event matching rule.
  • FIG. 1 is a schematic flowchart of a method according to an embodiment of the present disclosure
  • FIG. 2 is a schematic structural diagram of an event processing engine according to an embodiment of the present invention.
  • Embodiment 1 of the present invention is a schematic flowchart of Embodiment 1 of the present invention.
  • FIG. 4 is a schematic structural diagram of a system according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of determining a location of a user in Embodiment 1 of the present invention.
  • FIG. 6 is a schematic structural diagram of a device according to an embodiment of the present invention. detailed description
  • the present invention provides an event processing method.
  • a statement describing a specific event matching rule is generated, and the monitored data stream is converted into an event stream, and the monitoring event stream is pre-
  • the defined event generates a description of the predefined event statement, and the matching of the two statements determines whether the monitored event satisfies a specific event matching rule, and triggers the set event action when the specific event matching rule is met.
  • an event processing method provided by an embodiment of the present invention specifically includes the following steps: Step 10: Set and store a specific event matching rule of an event;
  • Step 11 monitoring a predefined event, generating a first statement related to a specific event matching rule describing the predefined event, and generating a second statement describing the predefined event;
  • Step 12 placing the second statement with the first The statement is matched, and according to the matching result, it is determined whether the monitored predefined event meets a specific event matching rule;
  • Step 13 When the monitored predefined event satisfies the specific event matching rule, Trigger the set event action.
  • the invention further includes: monitoring the data stream, converting the data stream into an event stream, and further obtaining a predefined event from the event stream.
  • a complex event processing (CEP) engine may be utilized to monitor a predefined event and generate a first statement describing a particular event matching rule for the predefined event in a set language.
  • Complex Event Processing (CEP) is a technique for filtering, analyzing meaningful events from a large number of event data streams, and realizing these meaningful event information in real time.
  • step 11 step 12 and step 13, the event stream processing (ESP) engine can be used to generate the second stream of the predefined event in a set language.
  • the CEP engine matches the second statement with the first statement, and determines whether the monitored event satisfies the specific event matching rule according to the matching result, and triggers the set event operation when satisfied.
  • ESP is a technology that processes large amounts of event data streams in real time.
  • the language set above can be EPL language or the like.
  • FIG. 2 it is a schematic diagram of a fusion structure of an ESP engine and a CEP engine, and the structure specifically includes: a connector and an adapter of an event stream, a declaration module, a common JAVA object module, an output adapter, an event query, and a causal schema language module. , core containers, historical data access layers, historical databases, and more.
  • the connector of the event stream and the adapter are used to receive the real-time data stream and pass the data stream to the pattern language module of the event query and causal relationship;
  • the pattern language module of the event query and causal relationship is used to generate a specific according to the information in the data stream
  • a pattern language module for event query and causality is also used to generate
  • the JAVA object describing the event information in the data stream is set in the language, and the JAVA object is saved in the ordinary JAVA object module, the JAVA object is matched with the statement statement saved in the declaration module, and the data flow is judged according to the matching result.
  • the specific event matching rule may be configured by the user, that is, according to the input specific event matching rule configuration information; or, the specific event matching rule may be generated according to the received demand information sent by the user.
  • a monitoring time window may be set, and within the time range of the monitoring time window, Monitor pre-defined events. For example, when the monitoring time window starts at T1 and the end time is T2, the monitoring time window has a time range from T1 to T2.
  • the set event operation may be a predefined processing operation such as issuing an alarm message, prohibiting the related data from continuing to propagate, but is not limited to the above enumerated manner, and the set event operation may be set according to any requirement of the user.
  • Set such as: issue alarm information and / or perform pre-defined processing operations.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the pre-defined event to be monitored is the location information of the communication terminal
  • the specific event matching rule is that the current location of the communication terminal deviates from the correct path from the source location to the destination location, for example, deviating from the correct path range by 1 km, in the satisfaction
  • the alarm message is sent to the communication terminal when the specific event matches the rule.
  • Step 1 The specific event matching rules that are set and stored are: Deviation from the correct path is greater than or equal to the lkm range.
  • Step 2 monitoring the location information of the communication terminal, generating a first statement describing the location information within a range of 1 km from the correct path, and acquiring real-time location information of the communication terminal, and generating a second statement describing the real-time location information;
  • Step 3 Match the second statement with the first statement, if the matching result is the second statement If the real-time location information of the communication terminal does not meet the location information in the first statement, it is determined that the monitored event meets the specific event matching rule, and the alarm information is sent to the communication terminal.
  • the process of the time processing method in this embodiment is specifically as follows:
  • Step 30 Deploy the event processing system
  • the entire system is deployed according to the system architecture of FIG. 4, and the event processing server that executes the event processing method in the present invention establishes a connection with the communication carrier network through the SAG interface, and establishes a connection with the GIS system through the related interface, see the dotted line in FIG. Box part
  • Step 31 The event processing server receives a path request message that carries the destination location identification information sent by the user's communication terminal.
  • the event processing server receives a path request message sent by the user by using a short message or an IVR, where the path request message carries the destination location identification information that the communication terminal is ready to reach;
  • Step 32 The event processing server determines the current location of the communication terminal, This location is referred to as the source location;
  • Step 33 The event processing server determines the correct path of the user from the source location to the destination location, and sends the information of the correct path to the communication terminal of the user;
  • the event processing server determines, by using the GPS method, the correct path of the destination location corresponding to the destination location identifier carried in the path request message from the source location, the correct path is composed of multiple location points, and the determined correct path is determined.
  • the information is transmitted to the communication terminal such that the user using the communication terminal can select the mobile route according to the correct path; preferably, the picture information transmitted to the communication terminal uses the Mobile SVG format.
  • Step 34 Establish a threading mechanism for the communication terminal, establish a time window, and integrate the CEP engine with the determined correct path;
  • the statement content of the Statement is the correct path deviating from the determination, for example, 1km beyond the correct path range;
  • a listener is generated, which triggers the operation of issuing an alert message to the communication terminal when it listens to the user's location to satisfy the specific event matching rule described by the Statement statement.
  • the method for establishing the time window may be: acquiring the traffic mode information used by the user carried in the path request message, determining the length of time required for the user to reach the destination location according to the traffic mode information; establishing the starting time as the current time and the ending time The time window corresponding to the time after the length of time is added to the current time.
  • Step 35 Real-time monitoring the location of the communication terminal, and converting the monitored location information into an event object through the ESP engine;
  • Step 36 Match the event object with the specific event matching rule described by the Statement statement. If the matching is successful, the position of the monitored communication terminal deviates from the correct path, and step 37 is performed; otherwise, return to step 35;
  • Step 37 Send the alarm information deviating from the correct path to the communication terminal of the user.
  • steps 32 and 35 the specific method for determining and monitoring the location of the communication terminal can be as follows, as shown in FIG. 5:
  • Step 50 The event processing server sends a positioning request including the communication terminal identifier to the SAG.
  • Step 51 The SAG converts the received positioning request into a standard message and sends the positioning request to the positioning platform.
  • Step 53 The ISMP returns an authentication response after performing authentication.
  • Step 54 The positioning platform locates the communication terminal in the positioning request, and returns the positioning result to the SAG.
  • Step 55 The SAG returns the positioning result to the event processing server.
  • Step 56 The event processing server sends an actual location acquisition request including the positioning result to the GIS system;
  • Step 57 The GIS system returns the actual location information of the communication terminal expressed in latitude and longitude to the event processing server.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the predefined event that needs to be monitored is location information and type information of a radio frequency identification (RFID) ticket
  • RFID radio frequency identification
  • the specific event matching rule is that the current location of the RFID ticket does not meet the correspondence between the type of the preset RFID ticket and the legal location. Relationship, when the monitored event meets the specific event matching rule, the alarm message is as follows:
  • RFID is a non-contact automatic identification technology that automatically recognizes target objects and acquires relevant data through radio frequency signals.
  • the identification work can work in various harsh environments without manual intervention.
  • RFID technology recognizes high-speed moving objects and recognizes multiple labels at the same time, making operation quick and easy.
  • Short-range RF products are not afraid of harsh environments such as oil stains and dust pollution. Bar codes can be replaced in such environments, such as tracking objects on the assembly line of a factory. Long-range RF products are mostly used for transportation, and the recognition distance can reach several tens of meters, such as automatic charging or identification of vehicle identity.
  • the most basic RFID system consists of three parts: a tag, consisting of a coupling element and a chip, each tag having a unique electronic code attached to the object to identify the target object; a reader (reader), reading (sometimes still A device that can write) tag information, which can be designed as a handheld or fixed type; an antenna (Antenna) that transmits RF signals between the tag and the reader.
  • a tag consisting of a coupling element and a chip, each tag having a unique electronic code attached to the object to identify the target object
  • a reader reader
  • reading sometimes still A device that can write
  • tag information which can be designed as a handheld or fixed type
  • An antenna Antenna
  • the basic working principle of RFID technology is that after the tag enters the magnetic field, it receives the RF signal from the reader, and sends the product information (passive tag, passive tag or passive tag) stored in the chip by the energy obtained by the induced current, or Actively send signals of a certain frequency (Active Tag, active tag or active tag); the reader reads the information and decodes it, and sends it to the central information system for data processing.
  • product information passive tag, passive tag or passive tag
  • Actively send signals of a certain frequency Actively send signals of a certain frequency
  • RFID is often used for electronic tickets and student campus cards.
  • RFID electronic card In the RFID electronic card.
  • Step 1 The specific event matching rule for setting and storing the electronic ticket is: The current location of the electronic ticket does not meet the preset type of the electronic ticket and Correspondence of legal locations;
  • Step 2 Monitor the location information and type information of the electronic ticket, generate a first statement describing the correspondence between the type of the electronic ticket and the legal location, and generate a second statement describing the current location of the electronic ticket.
  • Step 3 Match the second statement with the first statement. If the current location of the electronic ticket does not match the legal location of the electronic ticket, determine that the specific event matching rule is met, and send an alarm message to notify the administrator that the electronic ticket exceeds Legal area.
  • the processing method when the embodiment is applied to the electronic ticket specifically includes the following steps: Step 60: Read the information of the electronic ticket by using the RFID reader, and identify the authenticity of the electronic ticket according to the read information, and identify the electronic ticket. If it is true, the location information of the RFID reader, that is, the location information of the electronic ticket, and the type information of the electronic ticket are sent to the event processing server;
  • Step 61 The event processing server converts the received location information of the electronic ticket and the type information of the electronic ticket into an event object through an ESP engine;
  • Step 62 The event processing server acquires a statement statement saved by the CEP engine, where the content of the statement statement is a specific event matching rule, and the specific event matching rule is: the location of the electronic ticket does not meet the preset type of the electronic ticket and the legal position.
  • Step 63 The event processing server matches the converted event object in step 61 with the legal position of the electronic ticket, if not, proceed to step 64, otherwise, return to step 60;
  • the specific matching method is: determining a legal position corresponding to the type of the electronic ticket in the event object, whether the legal position of the electronic ticket is consistent with the position of the electronic ticket in the event object, and if not, the specific event matching rule is met. Otherwise, the specific event matching rule is not met.
  • the correspondence between the electronic ticket type in the event object and the electronic ticket position in the event object is searched, and if not found, the matching result is successful; otherwise, the matching result is a failure.
  • Step 64 Send an alarm message to inform the manager that the RFID e-ticket is outside the legal area.
  • the predefined event that needs to be monitored is the feature information of the received data packet
  • the specific event matching rule is that the feature information of the data packet conforms to the set abnormal data packet feature information, and the monitored event meets the specific event matching.
  • the rule sends an alarm message and performs processing such as blocking the packet from continuing to propagate the packet.
  • Step 1 The specific event matching rule for setting and storing the data packet is: Characteristic information of the data packet The characteristic information of the abnormal data packet that meets the setting;
  • the input abnormal packet characteristic information is obtained; and the feature information of the data packet is matched with the feature information of the abnormal data packet, and is set as the specific event matching rule.
  • Step 2 Monitor the feature information of the data packet in the transmission, generate a first statement describing the feature information of the abnormal data packet, and generate a second statement describing the feature information of the current data packet.
  • Step 3 Match the second statement with the first statement. If the feature information of the current data packet is consistent with the feature information of the abnormal data packet in the first statement, determine that the specific event matching rule that meets the setting is determined, and the detected data packet is sent. Abnormal alarm information, and performs processing operations that prevent the packet from continuing to be transmitted.
  • Step 70 Receive a data packet, and extract feature information of the data packet, for example, extract the The packet header part of the data packet is used as the feature information of the data packet; the feature information of the data packet is sent to the event processing server;
  • Step 71 The event processing server converts the feature information of the received data packet into an event object by using an ESP engine;
  • Step 72 The event processing server acquires a statement statement saved by the CEP engine, where the content of the statement is a specific event matching rule, and the specific event matching rule is: the feature information of the data packet conforms to the input abnormal packet characteristic information;
  • Step 73 The event processing server matches the converted event object in step 71 with the obtained specific event matching rule. If the event object satisfies the specific event matching rule, step 74 is performed, otherwise, step 70 is returned;
  • the specific matching method is: comparing whether the feature information of the data packet in the event object is consistent with the abnormal data packet feature information in the specific event matching rule, and if yes, determining that the event object satisfies the specific event matching rule; otherwise, determining the event object Specific event matching rules are not met.
  • Step 74 Send an alarm message that detects a packet abnormality, and perform a processing operation for preventing the packet from continuing to be transmitted.
  • the method of the present invention is not limited to the applications in the above three embodiments, and can be widely applied to a system that has a large number of real-time data event streams and needs to perform matching of related pattern rules and trigger related event operations when matching is successful. For example, Service Level Agreement (SLA) testing, air transportation scheduling, financial aspects (risk management, bullying detection), etc.
  • SLA Service Level Agreement
  • an embodiment of the present invention further provides an event processing device, where the device includes:
  • An ESP engine module 80 configured to acquire a predefined event and generate a second statement describing the predefined event
  • a CEP engine module 81 configured to store and store a specific event matching rule for an event; for monitoring the predefined event, generating a first statement related to a specific event matching rule describing the predefined event; Matching a statement, determining the result according to the matching result
  • the CEP engine module monitors whether the predefined event meets the specific event matching rule; when it is determined that the specific event matching rule is met, the set event action is triggered.
  • the ESP engine module 80 is further configured to monitor the data flow, convert the data flow into an event flow, and obtain a predefined event from the event flow.
  • the CEP engine module 81 includes:
  • a rule setting module 90 configured to store and store a specific event matching rule of an event
  • a rule matching module 91 configured to generate a first statement related to a specific event matching rule describing a predefined event, and by using the second statement with the first The statement is matched to determine whether the event monitored by the CEP engine module 81 satisfies the specific event matching rule
  • the event triggering module 92 is configured to trigger the set event operation when the rule matching module 91 determines that the predefined event meets the specific event matching rule.
  • the CEP engine module 81 is configured to monitor location information of the communication terminal, and generate a first statement describing location information within a range of 1 km from the correct path;
  • the rule setting module 90 is configured to receive a path request message that carries the destination location identification information sent by the communication terminal, determine a current location of the communication terminal, and a destination corresponding to the destination location identifier from the current location.
  • the correct path of the location; the current location of the communication terminal is offset from the correct path by a certain distance, and the specific event matching rule is set;
  • the rule matching module 91 is configured to generate a first statement describing location information within a range of 1 km from the correct path, and determine whether the current location information of the communication terminal satisfies the specific by matching the second statement with the first statement. Event matching rule;
  • the event triggering module 92 is configured to send, to the communication terminal, the alarm information that deviates from the correct path when the specific event matching rule is met.
  • the CEP engine module 81 is configured to monitor type information and location information of an electronic ticket. a first statement describing a correspondence between the type of the electronic ticket and the legal position; the rule setting module 90 is configured to obtain a correspondence between the type of the input electronic ticket and the legal position; and the current position of the electronic ticket does not meet the prior Corresponding relationship between the type of the electronic ticket set and the legal location is set as the specific event matching rule;
  • the rule matching module 91 is configured to generate a first statement describing a correspondence between a type of the electronic ticket and a legal location, and determine an event monitored by the ESP engine module by matching the second statement with the first statement. Whether the specific event matching rule is satisfied;
  • the event triggering module 92 is configured to, when the event satisfies the specific event matching rule, as the third embodiment:
  • the CEP engine module 81 is configured to monitor feature information of the data packet in the transmission, and generate a first statement describing the feature information of the abnormal data packet;
  • the rule setting module 90 is configured to obtain the input abnormal data packet feature information, and set the feature information of the data packet to the abnormal data packet feature information, and set the specific event matching rule;
  • the rule matching module 91 is configured to generate a first statement describing feature information of the abnormal data packet, and determine, by matching the second statement with the first statement, whether the event monitored by the ESP engine module satisfies the specific Event matching rule;
  • the event triggering module 92 is configured to: when the event meets the specific event matching rule, issue alarm information that detects the abnormality of the data packet and/or perform a processing operation that prevents the data packet from continuing to propagate.
  • the device further comprises:
  • a time window setting module 82 configured to set a monitoring time window
  • the CEP engine module 81 monitors a predefined event during a time period from a start time of the monitoring time window to a start time of the monitoring time window.
  • the first statement describing the monitored event and the second statement describing the specific event matching rule may be described in the same language or in different language descriptions.
  • the beneficial effects of the present invention include:
  • monitoring a predefined event generating a first statement related to a specific event matching rule describing the predefined event; and generating a second statement describing the predefined event;
  • the second statement matches the first statement to determine whether the monitored event satisfies the specific event matching rule, and triggers the set event operation when the monitored event satisfies a specific event matching rule.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Description

事件处理方法和设备 技术领域
本发明涉及计算机处理领域, 尤其涉及一种事件处理方法和设备。 背景技术
随着通信网络的发展, 带宽的增加, 融合各种技术的业务特别是数据 业务得到快速的发展。
针对用户要求业务使用便利、 响应实时的业务体验需求, 考虑系统多 种业务技术及节点融合的复杂系统特点, 规划系统大数据量处理的性能要 求, 系统中根据一定需求处理事件的效率和实时性是系统的瓶颈。 换句话 说, 能否提供实时的高效的事件处理方法是能否提供该类增值服务的关键。
传统的事件处理方法有以下两种:
第一种, 单纯的提供事件需求的信息。 例如, 在基于位置的增值业务 系统中, 用户终端向系统侧发送建筑物位置请求, 系统侧接收到该请求后 对用户终端进行定位, 然后确定距离该用户终端最近的所请求的建筑物, 将确定的建筑物信息发送给用户终。 具体可参见专利 "CN200710121970.7"
《一种基于移动通信终端的位置服务方法及其系统》。
第二种, 对设定的事件进行监控, 将监控到的事件与预先存储在数据 库中的特定事件进行匹配, 在匹配成功时, 触发预先设定的操作。 例如, 在位置监控系统中, 预先定义用户终端的非法活动范围, 并且保存在数据 库中, 然后对终端进行位置监控, 使用数据库查询语言在数据库中查找监 控到的终端位置, 若查找到, 则说明终端进入非法活动范围, 进而根据预 先设定的操作向终端发出告警信息。具体可以参见专利 "CN200510106285"
《一种位置监控方法及系统》。 从上面两种方式可以看出, 现有的事件处理方法, 要么只实现了单纯 的信息推送, 没有动态性, 要么对进行匹配的特定事件固化在数据库中, 每次进行事件匹配时需要查询数据库, 缺乏实时性和高效性。 发明内容
本发明提供一种事件处理方法和设备, 用于提高事件处理的实时性和 高效性。
本发明提供一种事件处理方法, 该方法包括:
设置并存储事件的特定事件匹配规则;
监控预先定义的事件, 生成描述该预先定义的事件的特定事件匹配 规则相关的第一语句, 并生成描述该预先定义的事件的第二语句;
将第二语句与第一语句进行匹配, 根据匹配结果确定监控到的预先定 义的事件是否满足所述特定事件匹配规则;
在确定满足所述特定事件匹配规则时, 触发设定的事件操作。
本发明提供一种事件处理设备, 该设备包括:
CEP 引擎模块, 用于监控预先定义的事件, 生成描述该预先定义的 事件的特定事件匹配规则相关的第一语句;
ESP 引擎模块, 用于获取预先定义的事件并生成描述该预先定义的 事件的第二语句;
CEP 引擎模块将第二语句与第一语句进行匹配, 根据匹配结果确定 监控到数据流生成的预先定义的事件是否满足所述特定事件匹配规则; 在确定满足所述特定事件匹配规则时, 触发设定的事件操作。
本发明提供的方案中, 监控预先定义的事件, 生成描述该预先定义的 事件的特定事件匹配规则相关的第一语句; 同时, 将连续不断的数据流, 进行事件化生成描述该数据的预先定义的事件的第二语句; 通过将第二语 句与第一语句进行匹配, 确定监控到的事件是否满足所述特定事件匹配规 则, 并在监控到的事件满足特定事件匹配规则时触发设定的事件操作。 可 见, 本发明中不需要在每次监控到设定的事件时进行一次数据库查询, 而 只需要进行语句匹配, 能够大大提高系统进行事件处理的实时性和处理效 率。 附图说明
图 1为本发明实施例提供的方法流程示意图;
图 2为本发明实施例中事件处理引擎的结构示意图;
图 3为本发明实施例一的流程示意图;
图 4为本发明实施例一所应用的系统结构示意图;
图 5为本发明实施例一中用户位置确定的流程示意图;
图 6为本发明实施例提供的设备结构示意图。 具体实施方式
为了提高事件处理的实时性和高效性, 本发明提供一种事件处理方法, 本方法中, 生成描述特定事件匹配规则相关的语句, 将监控到的数据流转 化为事件流, 监控事件流中预先定义的事件并生成描述该预先定义的事件 语句, 通过上述两个语句的匹配来确定监控到的事件是否满足特定事件匹 配规则, 并在满足特定事件匹配规则时触发设定的事件操作。
参见图 1 , 本发明实施例提供的事件处理方法, 具体包括以下步骤: 步骤 10: 设置并存储事件的特定事件匹配规则;
步骤 11 : 监控预先定义的事件, 生成描述该预先定义的事件的特定事 件匹配规则相关的第一语句, 并生成描述该预先定义的事件的第二语句; 步骤 12: 将第二语句与第一语句进行匹配, 根据匹配结果确定监控到 的预先定义的事件是否满足特定事件匹配规则;
步骤 13: 在监控到的预先定义的事件满足所述特定事件匹配规则时, 触发设定的事件操作。
本发明进一步包括: 监控数据流, 将该数据流转化为事件流, 并进一 步从该事件流中获取预先定义的事件。
步骤 10中, 具体可以利用复杂事件处理 (CEP ) 引擎来监控预先定义 的事件, 并生成以设定的语言描述该预先定义的事件的特定事件匹配规则 的第一语句。 复杂事件处理(CEP )是一种从大量事件数据流中过滤、 分析 有意义的事件, 并能够实时取得这些有意义的事件信息的技术。
步骤 11、 步骤 12和步骤 13中, 具体可以利用事件流处理(ESP ) 引 擎将取得的数据流生成以设定的语言描述成预先定义事件的第二语句。 CEP 引擎将第二语句与第一语句进行匹配, 根据匹配结果确定监控到的事件是 否满足特定事件匹配规则, 并在满足时触发设定的事件操作。 ESP是一种 实时处理大量事件数据流的技术。 上述设定的语言可以为 EPL语言等。
如图 2所示, 为 ESP引擎和 CEP引擎的融合结构示意图, 该结构具体 包括: 事件流的连接器及适配器、 声明模块、 普通 JAVA对象模块、 输出适 配器、 事件查询和因果关系的模式语言模块、 核心容器、 历史数据访问层、 历史数据库等。 其中, 事件流的连接器及适配器用于接收实时数据流并将 数据流传递给事件查询和因果关系的模式语言模块; 事件查询和因果关系 的模式语言模块用于根据数据流中的信息生成特定事件匹配规则, 并构造 以设定语言 (例如 EPL语言 )描述特定事件匹配规则的声明 ( statement ) 语句, 将该 statement语句保存在声明模块中; 事件查询和因果关系的模式 语言模块还用于生成以设定语言描述数据流中的事件信息的 JAVA对象,并 将该 JAVA对象保存在普通 JAVA对象模块中, 将 JAVA对象与声明模块中 保存的 statement语句进行匹配, 根据匹配结果判断数据流中的事件是否满 足特定事件匹配规则, 并在满足时通过历史数据访问层读取历史数据库中 的事件操作信息, 并根据读取的事件操作信息触发相应的事件操作。 本发明中, 特定事件匹配规则可以由用户进行配置, 即根据输入的特 定事件匹配规则配置信息生成; 或者, 还可以根据接收到的用户发来的需 求信息生成特定事件匹配规则。
较佳的, 为了实现在设定时间段内对预先定义的事件进行监控, 可以 在步骤 11中监控预先定义的事件之前, 设定一个监控时间窗, 并在该监控 时间窗的时间范围内, 监控预先定义的事件。 例如, 监控时间窗的起始时 刻为 T1 , 终止时刻为 T2 , 则该监控时间窗的时间范围为从 T1到 T2的时 间段。
步骤 13中, 设定的事件操作可以为发出告警信息、 禁止相关数据继续 传播等预先定义的处理操作, 但并不局限于上述列举的方式, 设定的事件 操作可以根据用户的任意需求进行设定, 如: 发出告警信息和 /或执行预先 定义的处理操作等。
下面以具体实施例对本发明方法进行说明:
实施例一:
本实施例中, 需要监控的预先定义的事件为通信终端的位置信息, 特 定事件匹配规则为通信终端的当前位置偏离了从源位置到达目的位置的正 确路径, 例如偏离正确路径范围 1km, 在满足特定事件匹配规则时向通信 终端发出告警信息。
本发明实施例 1事件处理方法, 包括:
步骤 1 : 设置并存储的特定事件匹配规则为: 偏离正确路径大于等于 lkm范围。
步骤 2: 监控通信终端的位置信息, 生成描述距离正确路径 lkm范围 内的位置信息的第一语句, 并获取通讯终端的实时位置信息, 生成描述该 实时位置信息的第二语句;
步骤 3: 将第二语句与第一语句进行匹配, 若匹配结果为第二语句中该 通信终端的实时位置信息不符合第一语句中的位置信息, 则确定监控到的 事件满足特定事件匹配规则, 则向通信终端发出告警信息。
如图 3所示, 本实施例时间处理方法流程具体如下:
步骤 30: 部署事件处理系统;
这里, 根据图 4 的系统架构部署整个系统, 执行本发明中事件处理方 法的事件处理服务器通过 SAG接口与通信运营商网络建立连接, 通过相关 的接口与 GIS系统建立连接, 参见图 4中的虚线框部分;
步骤 31 : 事件处理服务器接收到用户的通信终端发来的携带目的位置 标识信息的路径请求消息;
这里, 事件处理服务器接收到用户通过短信或者 IVR方式发来的路径 请求消息, 该路径请求消息中携带通信终端准备到达的目的位置标识信息; 步骤 32: 事件处理服务器确定通信终端当前所在的位置, 将该位置称 为源位置;
步骤 33:事件处理服务器确定用户从源位置到达目的位置的正确路径, 将正确路径的信息发给用户的通信终端;
这里, 事件处理服务器釆用 GPS方式确定通信终端从源位置到达路径 请求消息中携带的目的位置标识对应的目的位置的正确路径, 该正确路径 由多个位置点构成, 并将确定的正确路径的信息发送给通信终端, 使得使 用该通信终端的用户能够根据该正确路径选择移动路线; 优选的, 发送到 通信终端的图片信息使用 Mobile SVG格式。
步骤 34: 针对该通信终端建立线程机制, 建立时间窗, 将 CEP引擎与 确定的正确路径进行集成;
这里, 集成步骤如下:
首先, 获取一个 CEP引擎实例;
然后, 生成一个用 EPL语言描述的声明 (Statement ), 即生成用 EPL 语言描述的特定事件匹配规则, Statement的语句内容为偏离确定的正确路 径, 例如超出正确路径范围 1km;
接着, 使用获取的 CEP引擎实例注册该 Statement;
最后, 生成一个监听器(Listener ), 该 Listener在监听到用户的位置满 足 Statement语句描述的特定事件匹配规则时, 触发向通信终端发出告警信 息的操作。
上述时间窗的建立方法可以为: 获取路径请求消息中携带的用户釆用 的交通方式信息, 根据该交通方式信息确定用户达到目的位置所需的时间 长度; 建立起始时刻为当前时刻、 终止时刻为当前时刻加上该时间长度后 对应时刻的时间窗。
步骤 35: 实时监控通信终端的位置, 将监控得到的位置信息通过 ESP 引擎转化为事件对象;
步骤 36:将事件对象与 Statement语句描述的特定事件匹配规则进行匹 配, 若匹配成功, 说明监控到的通信终端的位置偏离了正确路径, 执行步 骤 37; 否则, 返回步骤 35;
步骤 37: 向用户的通信终端发送偏离正确路径的告警信息。
步骤 32和步骤 35中, 确定和监控通信终端位置的具体方法可以如下, 如图 5所示:
步骤 50: 事件处理服务器向 SAG发送包含通信终端标识的定位请求; 步骤 51 : SAG将接收到的定位请求转化成标准消息后发送给定位平台; 步骤 52: 定位平台向 ISMP发送鉴权处理请求;
步骤 53: ISMP进行鉴权后返回鉴权响应;
步骤 54: 定位平台对定位请求中的通信终端进行定位, 将定位结果返 回给 SAG;
步骤 55: SAG将定位结果返回给事件处理服务器; 步骤 56: 事件处理服务器向 GIS系统发送包含定位结果的实际位置获 取请求;
步骤 57: GIS 系统向事件处理服务器返回以经纬度表示的通信终端的 实际位置信息。
实施例二:
本实施例中, 需要监控的预先定义的事件为射频识别 (RFID ) 门票的 位置信息和类型信息,特定事件匹配规则为 RFID门票的当前位置不符合预 先设置的 RFID门票的类型与合法位置的对应关系,在监控的事件满足特定 事件匹配规则时发出报警信息, 具体如下:
RFID是一种非接触式的自动识别技术, 它通过射频信号自动识别目标 对象并获取相关数据, 识别工作无需人工干预, 可工作于各种恶劣环境。 RFID技术可识别高速运动物体并可同时识别多个标签, 操作快捷方便。 短 距离射频产品不怕油渍、 灰尘污染等恶劣的环境, 可在这样的环境中替代 条码, 例如用在工厂的流水线上跟踪物体。 长距射频产品多用于交通上, 识别距离可达几十米, 如自动收费或识别车辆身份等。
最基本的 RFID系统由三部分组成: 标签(Tag ), 由耦合元件及芯片组 成, 每个标签具有唯一的电子编码, 附着在物体上标识目标对象; 阅读器 ( Reader ), 读取(有时还可以写入)标签信息的设备, 可设计为手持式或 固定式; 天线(Antenna ), 在标签和读取器间传递射频信号。
RFID技术的基本工作原理为, 标签进入磁场后, 接收阅读器发出的射 频信号, 凭借感应电流所获得的能量发送出存储在芯片中的产品信息 ( Passive Tag,无源标签或被动标签),或者主动发送某一频率的信号( Active Tag, 有源标签或主动标签); 阅读器读取信息并解码后, 送至中央信息系 统进行有关数据处理。
针对 RFID技术的特点, RFID 常用于电子门票以及学生的校园卡等 RFID电子卡片中。
以电子门票为例, 进一步说明本发明实施例 2事件处理方法, 包括: 步骤 1 : 设置并存储电子门票的特定事件匹配规则为: 电子门票的当前 位置不符合预先设置的该电子门票的类型与合法位置的对应关系;
本步骤中, 获取输入的 RFID电子卡片的类型与该 RFID电子卡片的 合法位置的对应关系; 将 RFID 电子卡片的当前位置不符合所述对应关 系, 设置为所述特定事件匹配规则。
步骤 2: 监控电子门票的位置信息和类型信息, 生成描述该电子门票的 类型与合法位置的对应关系的第一语句, 并生成描述该电子门票的当前位 置的第二语句。
步骤 3: 将第二语句与第一语句进行匹配, 若该电子门票的当前位置与 该电子门票的合法位置不一致, 则确定满足设置的特定事件匹配规则, 发 送报警信息通知管理人员该电子门票超出合法区域。
本实施例应用于电子门票中时的处理方法流程具体包括以下步骤: 步骤 60: 通过 RFID阅读器读取电子门票的信息, 根据读取到的信息 鉴别电子门票的真伪,在鉴别该电子门票为真的情况下,将 RFID阅读器所 在的位置信息也即电子门票的位置信息、 以及电子门票的类型信息发送给 事件处理服务器;
步骤 61 : 事件处理服务器将接收到的电子门票的位置信息和电子门票 的类型信息通过 ESP引擎转化为事件对象;
步骤 62: 事件处理服务器获取 CEP 引擎保存的 statement语句, 该 statement语句的内容为特定事件匹配规则, 该特定事件匹配规则为: 电子 门票的位置不符合预先设定的电子门票的类型与合法位置的对应关系; 步骤 63:事件处理服务器将步骤 61中转化后的事件对象与该电子门票 的合法位置进行匹配, 若不一致, 则执行步骤 64, 否则, 返回步骤 60; 这里, 具体匹配方法为, 确定事件对象中电子门票的类型所对应的合 法位置, 比对该电子门票的合法位置与事件对象中电子门票的位置是否一 致, 若不一致, 则满足特定事件匹配规则, 否则, 不满足特定事件匹配规 则。 或者, 直接在特定事件匹配规则中的对应关系中, 查找事件对象中电 子门票类型与事件对象中电子门票位置的对应关系, 若未查找到, 则匹配 结果为成功, 否则, 匹配结果为失败。
步骤 64: 发出报警信息通知管理人员 RFID电子门票超出合法区域。 实施例三:
本实施例中, 需要监控的预先定义的事件为接收到的数据包的特征信 息, 特定事件匹配规则为数据包的特征信息符合设定的异常数据包特征信 息, 在监控的事件满足特定事件匹配规则时发出报警信息, 并对数据包执 行例如阻止数据包继续传播等处理。
本发明实施例 3事件处理方法, 包括:
步骤 1 : 设置并存储数据包的特定事件匹配规则为: 数据包的特征信息 符合设定的异常数据包的特征信息;
本步骤中, 获取输入的异常数据包特征信息; 将数据包的特征信息 符合所述异常数据包的特征信息, 设置为所述特定事件匹配规则。
步骤 2: 监控传输中的数据包的特征信息, 生成描述异常数据包的特征 信息的第一语句, 并生成描述当前数据包的特征信息的第二语句。
步骤 3: 将第二语句与第一语句进行匹配, 若当前数据包的特征信息与 第一语句中的异常数据包的特征信息一致, 则确定满足设置的特定事件匹 配规则, 发出检测出数据包异常的告警信息, 并执行阻止数据包继续传输 的处理操作。
本实施例应用于数据包中时的时间处理方法流程具体如下:
步骤 70: 接收到数据包, 提取该数据包的特征信息, 例如可以提取该 数据包的数据包头部分作为该数据包的特征信息; 将数据包的特征信息发 送给事件处理服务器;
步骤 71 : 事件处理服务器将接收到的数据包的特征信息通过 ESP引擎 转化为事件对象;
步骤 72: 事件处理服务器获取 CEP 引擎保存的 statement语句, 该 statement语句的内容为特定事件匹配规则, 该特定事件匹配规则为: 数据 包的特征信息符合输入的异常数据包特征信息;
步骤 73:事件处理服务器将步骤 71中转化后的事件对象与获取的特定 事件匹配规则进行匹配, 若事件对象满足特定事件匹配规则, 则执行步骤 74, 否则, 返回步骤 70;
这里, 具体匹配方法为, 比对事件对象中数据包的特征信息与特定事 件匹配规则中的异常数据包特征信息是否一致, 若一致, 则判定事件对象 满足特定事件匹配规则, 否则, 判定事件对象不满足特定事件匹配规则。
步骤 74: 发出检测出数据包异常的告警信息, 并执行阻止数据包继续 传输的处理操作。
本发明方法并不局限于上述三个实施例中的应用, 可以广泛应用于有 大量实时数据事件流, 并需要进行相关模式规则的匹配及匹配成功时触发 相关事件操作的系统中。 例如, 服务等级协议 ( SLA , Service Level Agreement )检测, 航空运输调度, 金融方面 (风险管理, 欺作探测)等。
参见图 6, 本发明实施例还提供一种事件处理设备, 该设备包括:
ESP引擎模块 80 , 用于获取预先定义的事件并生成描述该预先定义的 事件的第二语句;
CEP引擎模块 81 , 用于设置并存储事件的特定事件匹配规则; 用于监 控该预先定义的事件, 生成描述该预先定义的事件的特定事件匹配规则相 关的第一语句; 将第二语句与第一语句进行匹配, 根据匹配结果确定所述 CEP 引擎模块监控到预先定义的事件是否满足所述特定事件匹配规则; 在 确定满足所述特定事件匹配规则时, 触发设定的事件操作。
其中, ESP引擎模块 80, 进一步用于监控数据流, 将数据流转化为事 件流, 并从该事件流中获取预先定义的事件。
所述 CEP引擎模块 81包括:
规则设置模块 90, 用于设置并存储事件的特定事件匹配规则; 规则匹配模块 91 , 用于生成描述预先定义的事件的特定事件匹配规则 相关的第一语句, 并通过将第二语句与第一语句进行匹配, 确定所述 CEP 引擎模块 81监控到的事件是否满足所述特定事件匹配规则;
事件触发模块 92,用于在所述规则匹配模块 91确定预先定义的事件满 足特定事件匹配规则时, 触发设定的事件操作。
作为第一实施例:
所述 CEP引擎模块 81 , 用于监控通信终端的位置信息, 生成描述距离 正确路径 1km范围内的位置信息的第一语句;
所述规则设置模块 90, 用于接收所述通信终端发来的携带目的位置标 识信息的路径请求消息; 确定所述通信终端的当前位置, 以及从该当前位 置到所述目的位置标识对应的目的位置的正确路径; 将通信终端的当前位 置偏离所述正确路径某距离, 设置为所述特定事件匹配规则;
所述规则匹配模块 91 , 用于生成描述距离正确路径 1km范围内的位置 信息的第一语句, 并通过将第二语句与第一语句进行匹配, 确定通讯终端 的当前位置信息是否满足所述特定事件匹配规则;
所述事件触发模块 92, 用于在满足所述特定事件匹配规则时, 向所述 通信终端发送偏离正确路径的告警信息。
作为第二实施例:
所述 CEP引擎模块 81 , 用于监控电子门票的类型信息和位置信息, 生 成描述该电子门票的类型与合法位置的对应关系的第一语句; 所述规则设置模块 90, 用于获取输入的电子门票的类型与合法位置的 对应关系; 将电子门票的当前位置不符合预先设置的该电子门票的类型与 合法位置的对应关系设置为所述特定事件匹配规则;
所述规则匹配模块 91 , 用于生成描述该电子门票的类型与合法位置的 对应关系的第一语句, 并通过将第二语句与第一语句进行匹配, 确定所述 ESP引擎模块监控到的事件是否满足所述特定事件匹配规则;
所述事件触发模块 92, 用于在事件满足所述特定事件匹配规则时, 向 作为第三实施例:
所述 CEP引擎模块 81 , 用于监控传输中的数据包的特征信息, 生成描 述异常数据包的特征信息的第一语句;
所述规则设置模块 90, 用于获取输入的异常数据包特征信息, 将数据 包的特征信息符合所述异常数据包特征信息, 设置为所述特定事件匹配规 则;
所述规则匹配模块 91 , 用于生成描述异常数据包的特征信息的第一语 句, 并通过将第二语句与第一语句进行匹配, 确定所述 ESP引擎模块监控 到的事件是否满足所述特定事件匹配规则;
所述事件触发模块 92, 用于在事件满足所述特定事件匹配规则时, 发 出检测出所述数据包异常的告警信息和 /或执行阻止所述数据包继续传播的 处理操作。
较佳的, 该设备还包括:
时间窗设定模块 82 , 用于设定监控时间窗;
所述 CEP引擎模块 81在从所述监控时间窗的起始时刻到所述监控时间 窗的起始时刻的时间段内, 监控预先定义的事件。 本发明中, 描述监控到的事件的第一语句和描述特定事件匹配规则的 第二语句, 可以釆用相同的语言描述, 也可以釆用不同的语言描述。
综上, 本发明的有益效果包括:
本发明实施例提供的方案中, 监控预先定义的事件, 生成描述该预先 定义的事件的特定事件匹配规则相关的第一语句; 同时, 生成描述该预先 定义的事件的第二语句; 通过将第二语句与第一语句进行匹配, 确定监控 到的事件是否满足所述特定事件匹配规则, 并在监控到的事件满足特定事 件匹配规则时触发设定的事件操作。 可见, 本发明中不需要在每次监控到 设定的事件时进行一次数据库查询, 而只需要进行语句匹配, 能够大大提 高系统进行事件处理的实时性和处理效率, 并且, 本发明中特定事件匹配 规则可以根据用户的需求动态生成, 进一步提高了系统的实时性。 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。

Claims

权利要求书
1、 一种事件处理方法, 其特征在于, 该方法包括:
设置并存储事件的特定事件匹配规则;
监控预先定义的事件, 生成描述该预先定义的事件的特定事件匹配 规则相关的第一语句, 并生成描述该预先定义的事件的第二语句;
将第二语句与第一语句进行匹配, 根据匹配结果确定监控到的预先 定义的事件是否满足所述特定事件匹配规则;
在确定满足所述特定事件匹配规则时, 触发设定的事件操作。
2、 如权利要求 1所述的方法, 其特征在于, 所述监控预先定义的事 件之前, 该方法进一步包括: 监控数据流, 将该数据流转化为事件流, 并从该事件流中获取预先定义的事件。
3、 如权利要求 2所述的方法, 其特征在于, 所述预先定义的事件包 括: 通信终端的位置信息;
在获取描述该预先定义的事件的特定事件匹配规则相关的第一语句 之前, 该方法进一步包括:
按照以下方式生成所述特定事件匹配规则:
接收所述通信终端发来的携带目的位置标识信息的路径请求消息; 确定所述通信终端的当前位置, 以及从该当前位置到所述目的位置 标识对应的目的位置的路径;
将通信终端的位置偏离所述路径, 设置为所述特定事件匹配规则。
4、 如权利要求 2所述的方法, 其特征在于, 所述预先定义的事件包 括: 射频识别 RFID电子卡片的位置信息和类型信息;
在获取描述该预先定义的事件的特定事件匹配规则相关的第一语句 之前, 该方法进一步包括:
按照以下方式生成所述特定事件匹配规则: 获取输入的 RFID电子卡片的类型与该 RFID电子卡片的合法位置的 对应关系;
将 RFID电子卡片的当前位置不符合所述对应关系,设置为所述特定 事件匹配规则。
5、 如权利要求 2所述的方法, 其特征在于, 所述预先定义的事件包 括:
接收到的数据包的特征信息;
在获取描述该预先定义的事件的特定事件匹配规则相关的第一语句 之前, 该方法进一步包括:
按照以下方式生成所述特定事件匹配规则:
获取输入的异常数据包的特征信息;
将数据包的特征信息符合所述异常数据包的特征信息, 设置为所述 特定事件匹配规则。
6、 如权利要求 3-5中任一项所述的方法, 其特征在于, 所述事件操 作包括:
发出告警信息和 /或执行预先定义的处理操作。
7、 如权利要求 1-5中任一项所述的方法, 其特征在于, 在所述监控 预先定义的事件之前, 该方法进一步包括: 设定监控时间窗;
所述监控预先定义的事件包括:
在从所述监控时间窗的起始时刻到所述监控时间窗的终止时刻的时 间段内, 监控预先定义的事件。
8、 如权利要求 2所述的方法, 其特征在于, 利用复杂事件处理 CEP 引擎监控预先定义的事件, 生成描述该预先定义的事件的特定事件匹配 规则的第一语句;
利用事件流处理 ESP引擎, 监控数据流, 将该数据流转化为事件流, 并从该事件流中获取预先定义的事件, 生成描述该预先定义的事件的第 二语句;
CEP 引擎通过将第二语句与第一语句进行匹配, 确定监控到的事件 是否满足所述特定事件匹配规则, 在监控到的事件满足所述特定事件匹 配规则时, 触发设定的事件操作。
9、 一种事件处理设备, 其特征在于, 该设备包括:
CEP 引擎模块, 用于监控预先定义的事件, 生成描述该预先定义的 事件的特定事件匹配规则相关的第一语句;
ESP 引擎模块, 用于获取预先定义的事件并生成描述该预先定义的 事件的第二语句;
CEP 引擎模块将第二语句与第一语句进行匹配, 根据匹配结果确定 监控到预先定义的事件是否满足所述特定事件匹配规则; 在确定满足所 述特定事件匹配规则时, 触发设定的事件操作。
10、 如权利要求 9所述的设备, 其特征在于, 所述 ESP引擎模块进 一步用于监控数据流, 将该数据流转化为事件流, 并从该事件流中获取 所述预先定义的事件。
11、 如权利要求 9或 10所述的设备, 其特征在于, 所述 CEP引擎模 块包括:
规则设置模块, 用于设置并存储事件的所述特定事件匹配规则; 规则匹配模块, 用于通过将第二语句与第一语句进行匹配, 确定所 述 CEP 引擎模块监控到预先定义的事件是否满足所述特定事件匹配规 则;
事件触发模块, 用于在所述规则匹配模块确定预先定义的事件满足 特定事件匹配规则时, 触发设定的事件操作。
12、 如权利要求 11所述的设备, 其特征在于, 所述预先定义的事件 为通信终端的位置信息;
所述规则设置模块用于:
接收所述通信终端发来的携带目的位置标识信息的路径请求消息; 确定所述通信终端的当前位置, 以及从该当前位置到所述目的位置标识 对应的目的位置的正确路径; 将通信终端的位置偏离所述正确路径, 设 置为所述特定事件匹配规则。
13、 如权利要求 12所述的设备, 其特征在于, 所述预先定义的事件 为 RFID电子卡片的位置信息和类型信息;
所述规则设置模块用于:
获取输入的 RFID电子卡片的类型与该 RFID电子卡片的合法位置的 对应关系; 将 RFID电子卡片的当前位置不符合所述对应关系,设置为所 述特定事件匹配规则。
14、 如权利要求 13所述的设备, 其特征在于, 所述预先定义的事件 为数据包的特征信息;
所述规则设置模块用于:
获取输入的异常数据包的特征信息, 将数据包的特征信息符合所述 异常数据包的特征信息, 设置为所述特定事件匹配规则。
PCT/CN2009/075521 2009-07-22 2009-12-11 事件处理方法和设备 WO2011009261A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
BR112012000674A BR112012000674A2 (pt) 2009-07-22 2009-12-11 método e dispositivo de processamento de evento
IN416DEN2012 IN2012DN00416A (zh) 2009-07-22 2012-01-14

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910159185.X 2009-07-22
CN200910159185A CN101685466A (zh) 2009-07-22 2009-07-22 事件处理方法和设备

Publications (1)

Publication Number Publication Date
WO2011009261A1 true WO2011009261A1 (zh) 2011-01-27

Family

ID=42048630

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/075521 WO2011009261A1 (zh) 2009-07-22 2009-12-11 事件处理方法和设备

Country Status (4)

Country Link
CN (1) CN101685466A (zh)
BR (1) BR112012000674A2 (zh)
IN (1) IN2012DN00416A (zh)
WO (1) WO2011009261A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109600279A (zh) * 2018-12-14 2019-04-09 平安城市建设科技(深圳)有限公司 基于日志流的动态监控方法、设备、存储介质及装置

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101685466A (zh) * 2009-07-22 2010-03-31 中兴通讯股份有限公司 事件处理方法和设备
CN101894162B (zh) * 2010-07-22 2012-05-09 北京天融信科技有限公司 一种动态网络事件关联与联动的实现方法和装置
JP5598235B2 (ja) * 2010-10-05 2014-10-01 富士通株式会社 複合イベント処理装置および複合イベント処理方法
WO2013078682A1 (zh) * 2011-12-02 2013-06-06 华为技术有限公司 处理数据流的方法及装置
WO2013097073A1 (zh) * 2011-12-26 2013-07-04 华为技术有限公司 一种流处理方法和装置
US9483332B2 (en) 2014-06-30 2016-11-01 Huawei Technologies Co., Ltd. Event processing method in stream processing system and stream processing system
CN104050543B (zh) * 2014-06-30 2017-06-20 华为技术有限公司 流处理系统中的事件处理方法及流处理系统
CN105786451A (zh) 2014-12-15 2016-07-20 华为技术有限公司 一种复杂事件处理方法、装置及系统
CN104778042B (zh) * 2015-03-30 2017-09-19 江苏省邮电规划设计院有限责任公司 一种基于事件流处理和插件式开发框架的流数据处理方法
CN104753724A (zh) * 2015-04-13 2015-07-01 成都双奥阳科技有限公司 可疑加密信道自主发现报警系统
CN106709023A (zh) * 2016-12-28 2017-05-24 深圳市华傲数据技术有限公司 数据异常的报警处理方法及装置
CN108628884B (zh) * 2017-03-20 2022-03-25 华为技术有限公司 一种复杂事件处理方法、系统及其装置
CN110737565B (zh) * 2019-09-12 2023-12-05 华青融天(北京)软件股份有限公司 一种数据监控方法、装置、电子设备及存储介质
CN111736492B (zh) * 2020-06-05 2021-07-13 中国农业大学 基于复杂事件处理的温室自动控制方法及系统
CN112001267B (zh) * 2020-07-31 2024-04-12 珠海市特车网络科技有限公司 基于rfid与ocr的车辆识别匹配方法及系统
CN113722173A (zh) * 2020-12-29 2021-11-30 京东数字科技控股股份有限公司 一种业务流程监控方法、系统、设备及可读存储介质
CN112613317B (zh) * 2020-12-30 2023-12-08 中国农业银行股份有限公司 一种文本数据清洗方法及装置
CN113726854B (zh) * 2021-07-30 2024-05-31 联合汽车电子有限公司 一种信息处理方法、装置、存储介质、调试设备及车辆

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1441260A (zh) * 2002-02-27 2003-09-10 三星电子株式会社 用于导航服务的单一或多重路径地图匹配装置及其方法
CN1738257A (zh) * 2004-12-31 2006-02-22 北京大学 基于应用协议检测引擎的网络入侵检测系统和方法
KR20070104047A (ko) * 2006-04-21 2007-10-25 에스케이 텔레콤주식회사 사용자별 생활 패턴에 따른 이벤트 관리 시스템 및 방법
CN101436337A (zh) * 2008-12-23 2009-05-20 北京中星微电子有限公司 一种事件监测方法及装置
CN101685466A (zh) * 2009-07-22 2010-03-31 中兴通讯股份有限公司 事件处理方法和设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1441260A (zh) * 2002-02-27 2003-09-10 三星电子株式会社 用于导航服务的单一或多重路径地图匹配装置及其方法
CN1738257A (zh) * 2004-12-31 2006-02-22 北京大学 基于应用协议检测引擎的网络入侵检测系统和方法
KR20070104047A (ko) * 2006-04-21 2007-10-25 에스케이 텔레콤주식회사 사용자별 생활 패턴에 따른 이벤트 관리 시스템 및 방법
CN101436337A (zh) * 2008-12-23 2009-05-20 北京中星微电子有限公司 一种事件监测方法及装置
CN101685466A (zh) * 2009-07-22 2010-03-31 中兴通讯股份有限公司 事件处理方法和设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109600279A (zh) * 2018-12-14 2019-04-09 平安城市建设科技(深圳)有限公司 基于日志流的动态监控方法、设备、存储介质及装置

Also Published As

Publication number Publication date
BR112012000674A2 (pt) 2016-02-10
CN101685466A (zh) 2010-03-31
IN2012DN00416A (zh) 2015-05-22

Similar Documents

Publication Publication Date Title
WO2011009261A1 (zh) 事件处理方法和设备
US9697511B2 (en) Method for securing transactions, transaction device, bank server, mobile terminal, and corresponding computer programs
US20060063540A1 (en) Systems and methods for object location notification
WO2013036177A1 (en) Internet of things lawful interception
AU2012287719A1 (en) Method and apparatus for providing transaction related service
CN103136661A (zh) Esl 系统、检查商品信息的方法以及商品的支付方法
KR20170035926A (ko) 티켓팅 방법 및 시스템
US20150263791A1 (en) System and Method for Near Field Communication (NFC) Crowdsource Product Matrix
CN104699427A (zh) 一种远程打印方法和系统
US20140327541A1 (en) System and method for tracking firearms
CN103186952B (zh) 智能停车场的支付管理方法、装置及系统
Reza et al. A new approach for road networks-a vehicle xml device collaboration with big data
CN109729151A (zh) 一种车载终端数据传输系统及方法
KR101274272B1 (ko) Rfid 서비스 시스템 및 방법
CN109903759B (zh) 交互管理装置和非暂时性计算机可读记录介质
CN104113593A (zh) 一种物联网信息服务方法及系统
KR101102922B1 (ko) 식별코드를 이용한 차량/사용자위치정보 제공방법 및 시스템
US10755534B2 (en) Monitoring method and system for offline payment machine
US20190295065A1 (en) Affiliated store labeling method, affiliated store labeling device, and affiliated store labeling system for wireless lan fingerprint
KR101825816B1 (ko) 택시 정보 제공 방법 및 시스템
JP2007213207A (ja) 災害対策処理方法及び装置
CN103198563B (zh) 基于ic卡的电子票证交互方法和装置
KR101423504B1 (ko) 스마트폰을 이용한 안심서비스 시스템 및 방법
CN105072166A (zh) 一种业务网点与客户之间实时交互通信的方法及装置
KR101151298B1 (ko) 무선 액세스 포인트를 이용한 모바일 신용 결제 방법 및 장치와 그 시스템

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09847496

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 416/DELNP/2012

Country of ref document: IN

NENP Non-entry into the national phase

Ref country code: DE

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112012000674

Country of ref document: BR

Kind code of ref document: A2

122 Ep: pct application non-entry in european phase

Ref document number: 09847496

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 112012000674

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20120111