# US 2020/0349111 A1 · Method, device and computer program product for creating index for stream storage

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

- Number: US 2020/0349111 A1
- Document ID: US20200349111A1
- Status: Published application
- Kind: A1
- Application number: 16/557,952
- Filed: 2019-08-30
- Published: 2020-11-05
- Earliest claimed: 2019-04-30
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Jeff Wu; Kevin Kaihao Zhao
- Web page: https://patentgrep.com/patent/US20200349111A1

## CPC

- G06F 16/13: File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06)
- G06F 16/2228: {Indexing structures}
- G06F 16/953: Querying, e.g. by the use of web search engines
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An index for stream storage is created. For example, at least one index segment is created for a stored stream and an index file is created for an event in the stream in one of the at least one index segment to map to the event.

## Claims

### Claim 1

A method, comprising:
creating, by a system comprising a processor, at least one index segment for a stored stream; and
creating, for an event in the stream, an index file in one of the at least one index segment, to map to the event.

### Claim 2 (depends on 1)

The method of claim 1, wherein the stream comprises a plurality of segments, and the creating the at least one index segment comprises:
creating a plurality of index segments for the plurality of segments in the stream.

### Claim 3 (depends on 2)

The method of claim 2, wherein each of the plurality of index segments is mapped to a respective segment of the plurality of segments in the stream.

### Claim 4 (depends on 2)

The method of claim 2, wherein the event in the stream is included in one of the plurality of segments in the stream, and the creating the index file comprises:
determining, from the plurality of index segments, an index segment mapped to the one of the plurality of segments in the stream.

### Claim 5 (depends on 4)

The method of claim 4, wherein the creating the index file further comprises:
creating the index file in the determined index segment, to map to the event

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
in response to a new event being appended into the stream, adding a new index file into one of the at least one index segment, to map to the new event.

### Claim 7 (depends on 1)

The method of claim 1, wherein the stream comprises at least one of: a metadata stream, a deleted file stream and a data stream.

### Claim 8

A device for creating an index for stream storage, comprising:
a processor, and
a memory having computer-executable instructions stored thereon which, when executed by the processor, causing the device to perform actions comprising:
creating at least one index segment for a stored stream; and
creating, for an event in the stream, an index file in one of the at least one index segment, to map to the event.

### Claim 9 (depends on 8)

The device for claim 8, wherein the stream comprises a plurality of segments, and the creating the at least one index segment comprises:
creating a plurality of index segments for the plurality of segments in the stream, wherein each of the plurality of index segments is mapped to a respective segment of the plurality of segments in the stream.

### Claim 10 (depends on 9)

The device for claim 9, wherein the event in the stream is included in one of the plurality of segments in the stream, and the creating the index file comprises:
determining, from the plurality of index segments, an index segment mapped to the one of the plurality of segments in the stream; and
creating the index file in the determined index segment, to map to the event.

### Claim 11 (depends on 8)

The device for claim 8, wherein the actions further comprise:
in response to a new event being appended into the stream, adding a new index file into one of the at least one index segment, to map to the new event.

### Claim 12 (depends on 8)

The device for claim 8, wherein the stream comprises a metadata stream.

### Claim 13 (depends on 8)

The device for claim 8, wherein the stream comprises a deleted file stream.

### Claim 14 (depends on 8)

The device for claim 8, wherein the stream comprises a data stream.

### Claim 15

A computer program product tangibly stored on a non-transitory computer-readable medium and comprising machine-executable instructions, the machine-executable instructions, when executed, causing a machine to perform actions comprising:
creating at least one index segment for a stored stream; and
creating, for an event in the stream, an index file in one of the at least one index segment, to map to the event.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the stream comprises a segments, and creating the at least one index segment comprises:
creating index segments for the segments in the stream, wherein each of the index segments is mapped to a respective segment of the segments in the stream.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein the event in the stream is included in one of the segments in the stream, and creating the index file comprises:
determining, from the index segments, an index segment mapped to the one of the segments in the stream.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the creating the index file further comprises:
creating the index file in the determined index segment, to map to the event.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein the actions further comprise:
in response to a new event being appended into the stream, adding a new index file into one of the at least one index segment, to map to the new event.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein the stream comprises at least one of: a metadata stream, a deleted file stream or a data stream.
