-
公开(公告)号:US20170046209A1
公开(公告)日:2017-02-16
申请号:US15336194
申请日:2016-10-27
Applicant: Huawei Technologies Co., Ltd.
Inventor: Kaihe Ye , Shikai Liu
CPC classification number: G06F9/542 , G06F9/46 , G06F17/30551
Abstract: An event processing method and apparatus which relate to the field of data processing technologies and applicable to a device on which a system having a pattern matching function runs, and reduce memory overheads when a complex event processing (CEP) system performs pattern matching in a complex scenario. The method includes performing, by a state machine instance, matching in a current matching period after an Xth event occurs, detecting, by the state machine instance, whether a quantity of events that have currently occurred is greater than 1 when no result indicating successful matching is obtained, and setting a time when an (X+1)th event occurs as a start time of a next matching period when the quantity of events that have currently occurred is greater than 1, and performing matching again in the next matching period.
Abstract translation: 涉及数据处理技术领域并适用于具有模式匹配功能的系统的设备运行的事件处理方法和装置,并且当复杂事件处理(CEP)系统在复合体中执行模式匹配时减少存储器开销 情景。 该方法包括:通过状态机实例在第X个事件发生之后的当前匹配周期中执行匹配,由状态机实例检测当没有指示成功匹配的结果时,当前发生的事件的数量是否大于1 并且当当前发生的事件量大于1时,将第(X + 1)事件作为下一个匹配周期的开始时间发生的时间设置,并且在下一个匹配周期中再次执行匹配。
-
公开(公告)号:US09658903B2
公开(公告)日:2017-05-23
申请号:US15336194
申请日:2016-10-27
Applicant: Huawei Technologies Co., Ltd.
Inventor: Kaihe Ye , Shikai Liu
CPC classification number: G06F9/542 , G06F9/46 , G06F17/30551
Abstract: An event processing method and apparatus which relate to the field of data processing technologies and applicable to a device on which a system having a pattern matching function runs, and reduce memory overheads when a complex event processing (CEP) system performs pattern matching in a complex scenario. The method includes performing, by a state machine instance, matching in a current matching period after an Xth event occurs, detecting, by the state machine instance, whether a quantity of events that have currently occurred is greater than 1 when no result indicating successful matching is obtained, and setting a time when an (X+1)th event occurs as a start time of a next matching period when the quantity of events that have currently occurred is greater than 1, and performing matching again in the next matching period.
-