发明名称 Event Processing Method and Apparatus
摘要 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.
申请公布号 US2017046209(A1) 申请公布日期 2017.02.16
申请号 US201615336194 申请日期 2016.10.27
申请人 Huawei Technologies Co., Ltd. 发明人 Ye Kaihe;Liu Shikai
分类号 G06F9/54;G06F17/30 主分类号 G06F9/54
代理机构 代理人
主权项 1. An event processing method, comprising: performing, by a state machine instance, matching in a current matching period after an Xth event occurs, wherein the state machine instance is configured to match, in one matching period, an event that has occurred with a preset matching rule and obtain a matching result, and wherein the matching result is a result indicating successful matching or a result indicating failed matching; 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; 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, wherein the events that have occurred are arranged as a first event to the (X+1)th event according to a time sequence of occurrence.
地址 Shenzhen CN