IP Library Granted Patent US 7,877,401
Granted Patent B1
US 7,877,401 · App. 11/753,315 · Granted Jan 25, 2011

Pattern matching

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,877,401
App. No.
11/753,315
Granted
Jan 25, 2011
Kind
B1
Abstract

A method for processing data for pattern matching includes: receiving a first sequence of data values; and generating a second sequence of data values based on the first sequence and one or more patterns and history of data values in the first sequence, wherein the second sequence has fewer data values than the first sequence and all subsequences in the first sequence that match at least one of the one or more patterns are represented in the second sequence.

Claims (47)

1. A method for processing data for pattern matching, the method comprising:

receiving a first sequence of data values; and

generating, by at least one processor, a second sequence of data values based on the first sequence, one or more patterns, and a history of data values in the first sequence, with the second sequence having fewer data values than the first sequence and all subsequences in the first sequence that match at least one of the one or more patterns being represented in the second sequence, with generating the second sequence of data values comprising

generating data values according to an associated buffer state corresponding to at least some of the first sequence of data values, the buffer state corresponding to fewer than or equal to a maximum number of data values, and

outputting at least one of the data values corresponding to the buffer state to prevent overflow of the buffer state beyond the maximum number of data values.

2. The method of claim 1 , wherein generating the second sequence comprises replacing an original subsequence of data values in the first sequence with a shorter subsequence of data values that corresponds to the same transition vector of a pattern-matching finite state machine associated with the one or more patterns as the original subsequence.

3. The method of claim 1 , wherein the subsequences in the first sequence that match at least one of the one or more patterns are included in the second sequence.

4. The method of claim 1 , wherein a given subsequence in the first sequence that matches at least one of the one or more patterns is represented in the second sequence by one or more data values that correspond to the same transition vector of a pattern-matching finite state machine associated with the one or more patterns as the given subsequence.

5. The method of claim 4 , wherein the given subsequence in the first sequence that matches at least one of the one or more patterns is represented in the second sequence by a single character that correspond to the same transition vector of the pattern-matching finite state machine as the given subsequence.

6. The method of claim 1 , wherein the buffer state corresponds to data values stored in a buffer.

7. The method of claim 1 , wherein the buffer state corresponds to data values associated with a state of a finite-state machine.

8. The method of claim 1 , wherein generating the second sequence of data values comprises evaluating data values corresponding to the buffer state for possible reduction.

9. The method of claim 1 , wherein generating the second sequence of data values comprises processing the first sequence according to a finite-state machine.

10. The method of claim 9 , wherein the number of states in the finite-state machine are determined according to an amount of compression of the second sequence relative to the first sequence.

11. The method of claim 1 , wherein at least some of the patterns are specified by a regular expression.

12. A system, comprising:

a plurality of processor cores interconnected by an interconnection network; and

information for configuring the system to execute instructions to

receive a first sequence of data values,

generate a second sequence of data values based on the first sequence, one or more patterns, and a history of data values in the first sequence, with the second sequence having fewer data values than the first sequence and all subsequences in the first sequence that match at least one of the one or more patterns being represented in the second sequence, with generating the second sequence of data values comprising

generating data values according to an associated buffer state corresponding to at least some of the first sequence of data values, the buffer state corresponding to fewer than or equal to a maximum number of data values, and

outputting at least one of the data values corresponding to the buffer state to prevent overflow of the buffer state beyond the maximum number of data values, and

match the second sequence of data values to the one or more patterns in a plurality of processor cores.

13. The system of claim 12 , further comprising a memory for storing the information for configuring the system.

14. The system of claim 12 , wherein generating the second sequence comprises replacing an original subsequence of data values in the first sequence with a shorter subsequence of data values that corresponds to the same transition vector of a pattern-matching finite state machine associated with the one or more patterns as the original subsequence.

15. The system of claim 12 , wherein the subsequences in the first sequence that match at least one of the one or more patterns are included in the second sequence.

16. The system of claim 12 , wherein a given subsequence in the first sequence that matches at least one of the one or more patterns is represented in the second sequence by one or more data values that correspond to the same transition vector of a pattern-matching finite state machine associated with the one or more patterns as the given subsequence.

17. The system of claim 12 , wherein the interconnection network comprises a two-dimensional network.

18. The system of claim 12 , wherein the interconnection network comprises a bus network, a ring network, a mesh network, or a crossbar switch network.

19. The system of claim 12 , wherein each of the plurality of processor cores corresponds to a tile on an integrated circuit, each tile comprising:

a computation unit; and

a switch including switching circuitry to forward data received over data paths of the interconnection network from other tiles to the computation unit and to switches of other tiles, and to forward data received from the computation unit to switches of other tiles.

20. The system of claim 19 , wherein the computation unit comprises a pipelined processor and the switch is coupled to a plurality of pipeline stages of the pipelined processor.

21. The system of claim 20 , wherein at least one port of the switch is mapped to a register name space of the pipelined processor.

22. The method of claim 1 , further comprising performing pattern matching to match the second sequence of data values to the one or more patterns.

23. The system of claim 12 , wherein at least a first processor core is configured to break down the first sequence of data values into segments and distribute the segments to different respective processor cores including a second processor core configured to generate the second sequence of data values.

24. The system of claim 23 , wherein the first of the processor cores is configured to distribute the segments based on respective sets of patterns to be matched.

25. The system of claim 23 , wherein the different respective processor cores are configured to provide data values to the plurality of processor cores configured to match the second sequence of data values to the one or more patterns.

26. The system of claim 25 , wherein at least a third processor core is configured to collect outputs of multiple of the plurality of processor cores configured to match the second sequence of data values to the one or more patterns.

27. A method for processing data for pattern matching in an integrated circuit comprising a plurality of processor cores interconnected by an interconnection network, the method comprising:

receiving a first sequence of data values;

breaking down the first sequence of data values into segments in at least one processor core and distributing the segments to different respective compressor processor cores;

for each of the compressor processor cores, generating a second sequence of data values based on the first sequence, one or more patterns, and history of data values in the first sequence, with the second sequence having fewer data values than the first sequence and all subsequences in the first sequence that match at least one of the one or more patterns being represented in the second sequence, with generating the second sequence of data values comprising

generating data values according to an associated buffer state corresponding to at least some of the first sequence of data values, the buffer state corresponding to fewer than or equal to a maximum number of data values, and

outputting at least one of the data values corresponding to the buffer state to prevent overflow of the buffer state beyond the maximum number of data values;

for each of multiple pattern matching processor cores coupled to a respective compressor processor core, performing pattern matching on the second sequence of data values to match the second sequence of data values to the one or more patterns of the respective compressor processor core; and

collecting outputs of multiple of the pattern matching processor cores in at least one processor core.

Assignments (9)
RELEASE OF SECURITY INTEREST IN PATENT COLLATERAL AT REEL/FRAME NO. 42962/0859 Recorded Jul 13, 2018
From: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT
To: MELLANOX TECHNOLOGIES, LTD.; MELLANOX TECHNOLOGIES TLV LTD.; MELLANOX TECHNOLOGIES SILICON PHOTONICS INC.
Reel/Frame 046551/0459 →
SECURITY INTEREST Recorded Jun 23, 2017
From: MELLANOX TECHNOLOGIES, LTD.; MELLANOX TECHNOLOGIES TLV LTD.; MELLANOX TECHNOLOGIES SILICON PHOTONICS INC.
To: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT
Reel/Frame 042962/0859 →
DIVIDEND DECLARATION FROM EZCHIP SEMICONDUCTOR INC. TO THE STOCKHOLDER OF RECORD ON 6/2/2015 (EZCHIP INC., A DELAWARE CORPORATION) Recorded Feb 16, 2017
From: EZCHIP SEMICONDUCTOR INC.
To: EZCHIP, INC.
Reel/Frame 041736/0013 →
PURCHASE AGREEMENT Recorded Feb 16, 2017
From: EZCHIP, INC.
To: EZCHIP SEMICONDUCTOR LTD.
Reel/Frame 041736/0151 →
MERGER Recorded Feb 16, 2017
From: EZCHIP TECHNOLOGIES LTD.
To: EZCHIP SEMICONDUCTOR LTD.
Reel/Frame 041736/0321 →
MERGER Recorded Feb 16, 2017
From: EZCHIP SEMICONDUCTOR LTD.
To: MELLANOX TECHNOLOGIES, LTD.
Reel/Frame 041870/0455 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 16, 2017
From: EZCHIP SEMICONDUCTOR LTD.
To: EZCHIP TECHNOLOGIES, LTD.
Reel/Frame 041736/0253 →
MERGER Recorded Feb 16, 2017
From: TILERA CORPORATION
To: EZCHIP SEMICONDUCTOR INC.
Reel/Frame 041735/0792 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 4, 2009
From: HOSTETTER, MATHEW; STEELE, KENNETH M.; AGGARWAL, VIJAY
To: TILERA CORPORATION
Reel/Frame 023617/0381 →