# US 2012/0259912 A1 · Cluster unique identifier

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

- Number: US 2012/0259912 A1
- Document ID: US20120259912A1
- Status: Published application
- Kind: A1
- Application number: 13/082,315
- Filed: 2011-04-07
- Published: 2012-10-11
- Earliest claimed: 2011-04-07
- Assignees: Microsoft Corporation
- Inventors: David Matthew Kruse; Diaa E. Fathalla
- Web page: https://patentgrep.com/patent/US20120259912A1

## CPC

- G06F 16/164: {File meta data generation}
- G06F 16/122: {using management policies (point-in-time backing up or restoration of persistent data G06F11/1446; file migration policies for HSM systems G06F16/185)}
- G06F 16/13: File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06)
- G06F 16/275: {Synchronous replication}
- G06F 11/14: Error detection or correction of the data by redundancy in operations (error detection or correction of the data by redundancy in hardware G06F11/16)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Described are embodiments for providing unique identifiers for files or objects across servers in a server cluster. Embodiments include generating a unique identifier that includes at least three portions. The first portion includes a node identifier which identifies the particular server in a cluster which created the unique identifier. The second portion includes a major sequence number that is incremented when a server is rebooted or otherwise taken off-line and then brought back online. Additionally, the major sequence number is incremented when all of the minor sequence numbers, which are included in a third portion of the unique identifier, have been used. The minor sequence numbers in the third portion are incremented for every unique file or object requested.

## Claims

### Claim 1

A computer implemented method of providing an identifier, the method comprising:
receiving, at a first server of a cluster, a first request for a first file;
generating a first identifier associated with the file, wherein the first identifier comprises:
a node identifier in a first portion of the first identifier identifying the first server;
a first major sequence number in a second portion of the first identifier, the major sequence number being within a first range of numbers; and
a first minor sequence number in a third portion of the first identifier, the minor sequence number being within a second range of numbers; and
sending the first identifier.

### Claim 2 (depends on 1)

The computer implemented method of claim 1, the method further comprising:
receiving, at the first server of the cluster, a second request for a second file;
determining that the first minor sequence number used in the first identifier was not at a first position from the end of the second range of numbers;
generating a second identifier associated with the second file, wherein the second identifier comprises:
the node identifier in a first portion of the second identifier;
the major sequence number in the second portion of the second identifier;
an incremented minor sequence number in the third portion of the second identifier; and
sending the second identifier.

### Claim 3 (depends on 1)

The computer implemented method of claim 1, the method further comprising:
receiving, at the first server of the cluster, a second request for a second file;
determining that the major sequence number should be incremented;
generating a second identifier associated with the second file, wherein the second identifier comprises:
the node identifier in a first portion of the second identifier;
an incremented major sequence number in the second portion of the second identifier;
a minor sequence number in the third portion of the second identifier, the minor sequence number being at the beginning of the second range of numbers; and
sending the second identifier.

### Claim 4 (depends on 3)

The method of claim 3, wherein the determining comprises determining that the minor sequence number used in the first identifier is at a predetermined position from the end of the second range of numbers.

### Claim 5 (depends on 3)

The method of claim 3, wherein the determining comprises determining that a cluster service on the cluster has been restarted since the generating the first identifier.

### Claim 6 (depends on 3)

The method of claim 3, further comprising after the determining:
sending a request to a cluster service to reserve the incremented major sequence number;
receiving a response from the cluster service indicating that the incremented major sequence number has been reserved.

### Claim 7 (depends on 2)

The method of claim 2, wherein the first identifier and the second identifier are each 64 bits long.

### Claim 8 (depends on 7)

The method of claim 7, wherein the first portion of the first identifier and the first portion of the second identifier are each 8 bits in length.

### Claim 9 (depends on 8)

The method of claim 8, wherein the second portion of the first identifier and the second portion of the second identifier are each 24 bits in length.

### Claim 10 (depends on 9)

The method of claim 9, wherein the third portion of the first identifier and the third portion of the second identifier are each 32 bits in length.

### Claim 11

A computer readable storage medium comprising computer executable instructions that when executed by a processor perform a method of providing an identifier to a client, the method comprising:
generating a first 64-bit identifier associated with a file, wherein the first identifier comprises:
a node identifier in a first portion of the first 64-bit identifier;
a first major sequence number in a second portion of the first 64-bit identifier, the major sequence number being within a first range of numbers; and
a first minor sequence number in a third portion of the first 64-bit identifier, the minor sequence number being within a second range of numbers; and
providing the first 64-bit identifier to a client.

### Claim 12 (depends on 11)

The computer readable storage medium of claim 11, wherein the method further comprises, before the generating:
determining whether the minor sequence number used in the first 64-bit identifier is at a predetermined position from the end of the second range of numbers.

### Claim 13 (depends on 12)

The computer readable storage medium of claim 12, wherein in response to determining that the minor sequence number is at the predetermined position from the end of the second range of numbers, the method further comprises:
sending a request to reserve a second major sequence number which is incremented from the first major sequence number;
receiving an indication that the second major sequence number has been reserved.

### Claim 14 (depends on 13)

The computer readable storage medium of claim 13, wherein the method further comprises:
generating a plurality of additional 64-bit identifiers, each of the plurality of additional 64-bit identifiers associated with a different file; and
after using the last number in the second range of numbers in one of the plurality of additional 64-bit identifiers, generating a next 64-bit identifier comprising:
the node identifier in a first portion of the next 64-bit identifier;
the second major sequence number in a second portion of the next 64-bit identifier, the second major sequence number being within the first range of numbers; and
a second minor sequence number in a third portion of the next 64-bit identifier, the second minor sequence number being a first number in the second range of numbers.

### Claim 15 (depends on 13)

The computer readable storage medium of claim 13 wherein the method further comprises:
sending a request to reserve a second major sequence number which is incremented from the first major sequence number;
receiving an indication that the second major sequence number has been reserved.

### Claim 16 (depends on 11)

The computer readable storage medium of claim 11, wherein the method further comprises:
providing a session identifier to a client to establish a session for exchanging information, wherein the session identifier comprises a node identifier.

### Claim 17 (depends on 16)

The computer readable storage medium of claim 16, wherein the session is established using a version of the server message block (SMB) protocol and the session is used to provide file information to the client.

### Claim 18

A computer system for providing file information to a client, the system comprising:
a plurality of servers in a cluster, wherein at least a portion of the plurality of servers are configured to:
establish a session with a client to provide access to file information stored on the cluster;
receive a first request from a client for access to a first file;
in response to receiving the first request, generate a first 64-bit identifier associated with the first file, wherein the first 64-bit identifier comprises:
a server identifier in a first portion of the first 64-bit identifier;
a first major sequence number in a second portion of the first 64-bit identifier, the major sequence number being within a first range of numbers; and
a first minor sequence number in a third portion of the first 64-bit identifier, the minor sequence number being within a second range of numbers; and
provide the first 64-bit identifier to a client.

### Claim 19 (depends on 18)

The system of claim 18, wherein the portion of the plurality of servers are further configured to provide a session identifier to the client to establish the session, wherein the session identifier comprises a node identifier.

### Claim 20 (depends on 19)

The system of claim 19, wherein the session is established using a version of the server message block (SMB) protocol and the session is used to provide file information to the client.
