# US 2008/0301135 A1 · Event processing query language using pattern matching

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0301135 A1
- Document ID: US20080301135A1
- Status: Published application
- Kind: A1
- Application number: 12/043,552
- Filed: 2008-03-06
- Published: 2008-12-04
- Earliest claimed: 2007-05-29
- Assignees: BEA Systems, Inc.
- Inventors: Alexandre de Castro Alves; James Taylor
- Web page: https://patentgrep.com/patent/US20080301135A1

## CPC

- G06F 16/2453: Query optimisation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An event processor can use event processing queries to operate on an event stream. Event processing queries can include a “matching” function that matches a pattern in the event stream.

## Claims

### Claim 1

A computer-implemented system comprising:
an event processor using event processing queries to operate on an event stream, at least some event processing queries including a “matching” function that matches a pattern in the event stream.

### Claim 2 (depends on 1)

The computer-implemented system of claim 1, wherein a variable is bound to the event that matches.

### Claim 3 (depends on 2)

The computer implemented system of claim 2, wherein the variable is used in a later query expression.

### Claim 4 (depends on 1)

The computer-implemented system of claim 1, wherein the first or second stream filtered before the matching by filter clause of the query.

### Claim 5 (depends on 1)

The computer-implemented system of claim 1, wherein a “followed by” operator is used to match event conditions in a particular order.

### Claim 6 (depends on 1)

The computer implemented system of claim 1, wherein a query can use Boolean operations for a match.

### Claim 7 (depends on 6)

The computer-implemented system of claim 6, wherein the Boolean operations include an “AND”.

### Claim 8 (depends on 6)

The computer-implemented system of claim 6, wherein the Boolean operations include an “OR”.

### Claim 9 (depends on 6)

The computer-implemented system of claim 6, wherein the Boolean operations include a “NOT”.

### Claim 10

A computer-implemented method comprising:
receiving an event stream; and
using an event processing query language “matching” function to match a pattern in the event stream.

### Claim 11 (depends on 10)

The computer-implemented method of claim 10, wherein a variable is bound to the event that matches.

### Claim 12 (depends on 11)

The computer implemented method of claim 11, wherein the variable is used in a later query expression.

### Claim 13 (depends on 10)

The computer-implemented method of claim 10, wherein the first or second stream filtered before the matching by filter clause of the query.

### Claim 14 (depends on 10)

The computer-implemented method of claim 10, wherein a “followed by” operator is used to match event conditions in a particular order.

### Claim 15 (depends on 10)

The computer implemented method of claim 10, wherein a query can use Boolean operations for a match.

### Claim 16 (depends on 15)

The computer-implemented method of claim 15, wherein the Boolean operations include an “AND”.

### Claim 17 (depends on 15)

The computer-implemented method of claim 15, wherein the Boolean operations include an “OR”.

### Claim 18 (depends on 15)

The computer-implemented method of claim 15, wherein the Boolean operations include a “NOT”.

### Claim 19

A computer readable storage medium comprising:
receive an event stream; and
use an event processing query language “matching” function to match a pattern in the event stream.

### Claim 20 (depends on 19)

The computer readable storage medium of claim 19, wherein a variable is bound to the event that matches.

### Claim 21 (depends on 20)

The computer readable storage medium of claim 20, wherein the variable is used in a later query expression.

### Claim 22 (depends on 19)

The computer readable storage medium of claim 19, wherein the first or second stream filtered before the matching by filter clause of the query.

### Claim 23 (depends on 19)

The computer readable storage medium of claim 19, wherein a “followed by” operator is used to match event conditions in a particular order.

### Claim 24 (depends on 19)

The computer readable storage medium of claim 19, wherein a query can use Boolean operations for a match.

### Claim 25 (depends on 19)

The computer readable storage medium of claim 19, wherein the Boolean operations include an “AND”.

### Claim 26 (depends on 19)

The computer readable storage medium of claim 19, wherein the Boolean operations include an “OR”.

### Claim 27 (depends on 19)

The computer readable storage medium of claim 19, wherein the Boolean operations include a “NOT”.
