# US 2014/0279825 A1 · Extensibility model for document-oriented storage services

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

- Number: US 2014/0279825 A1
- Document ID: US20140279825A1
- Status: Published application
- Kind: A1
- Application number: 13/827,493
- Filed: 2013-03-14
- Published: 2014-09-18
- Earliest claimed: 2013-03-14
- Assignees: Microsoft Corporation
- Applicants: Microsoft Corporation
- Inventors: Dharma Shukla; Madhan Gajendran
- Web page: https://patentgrep.com/patent/US20140279825A1

## CPC

- G06F 16/93: Document management systems
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A document service may be provided by many document service packages, each presenting a particular set of service characteristics (e.g., the performance achievable on various storage device types; the available indexing models; and the types of transactions, scripts, and queries supported by the document service). For a particular project, an administrator may endeavor to select a document service package exhibiting characteristics that match some criteria of the project and to configure or adapt the document service for other criteria, but the range of adaptability for each document service package may be limited. Presented herein are architectures for document services involving a composable set of components respectively providing a service feature with a service characteristic. The document service may be automatically composed by, for each service feature of the document service, selecting a service component for the service feature that matches the service criteria specified in a service level agreement.

## Claims

### Claim 1

A method of configuring a server to provide a document service on a device having a processor, the method comprising:
executing on the processor instructions configured to:
for respective service features of the document service, provide at least two candidate components respectively providing the service feature with at least one service characteristic; and
upon receiving a request to provide the document service according to a service level agreement specifying, for respective service features, at least one service criterion:
for respective service features, among the candidate components for the service feature, identify a selected service component providing the service feature with service characteristics satisfying the at least one service criterion specified by the service level agreement for the service feature; and
compose the selected service components to provide the document service.

### Claim 2 (depends on 1)

The method of claim 1:
the service features of the document service including a file system interface provided by at least two file system components respectively configured to access documents of the document service according to a file system schema exhibiting at least one file system performance characteristic; and
identifying the selected service component for the file system interface comprising: selecting the file system component configured to access the documents of the document service according to a file system schema exhibiting file system performance characteristics satisfying at least one file system criterion specified by the service level agreement.

### Claim 3 (depends on 2)

The method of claim 2, respective file system schema specialized for a file system storage device type selected from a file system storage device set comprising:
a platter-based storage device;
a solid-state storage device;
a sequential-access storage device; and
a network storage device.

### Claim 4 (depends on 1)

The method of claim 1:
the service features of the document service including an indexing interface provided by at least two indexing components respectively configured to index documents of the document service according to a document indexing technique exhibiting at least one indexing characteristic; and
identifying the selected service component for the indexing interface comprising: selecting the indexing component implementing a document indexing technique configured to index the documents of the document service according to a document indexing technique exhibiting indexing characteristics satisfying at least one indexing criterion specified by the service level agreement.

### Claim 5 (depends on 4)

The method of claim 4, respective indexing components selected from an indexing component set comprising:
a hash indexing component utilizing a hash-based indexing technique;
a B-Tree indexing component utilizing a B-Tree indexing technique; and
a Bloom filter component utilizing a Bloom filter indexing technique.

### Claim 6 (depends on 1)

The method of claim 1:
the service features of the document service including a replication interface provided by at least two replication components respectively configured to replicate the document service over at least two servers according to a replication model exhibiting at least one replication characteristic; and
identifying the selected service component for the replication interface comprising: selecting the replication component configured to replicate the document service over the at least two servers according to a replication model exhibiting replication characteristics satisfying at least one replication criterion specified by the service level agreement.

### Claim 7 (depends on 6)

The method of claim 6, the replication characteristics selected from a replication characteristic set comprising:
a replica count;
a replica distribution level;
a replica consistency level; and
a replica conflict resolution policy.

### Claim 8 (depends on 1)

The method of claim 1:
the service features of the document service including a transaction interface provided by at least two transaction components respectively configured to apply transaction requests to at least one document of the document service according to a transaction model exhibiting at least one transaction characteristic; and
identifying the selected service component for the transaction interface comprising: selecting the transaction component configured to apply the transaction requests to the documents of the document service according to a transaction model exhibiting transaction characteristics satisfying at least one transaction criterion specified by the service level agreement.

### Claim 9 (depends on 8)

The method of claim 8, respective transaction components selected from a transaction model set comprising:
an ACID transaction model; and
a BASE transaction model.

### Claim 10 (depends on 1)

The method of claim 1:
the service features of the document service including a query interface provided by at least two query engine components respectively configured to apply queries to the document service according to a query model exhibiting at least one query model characteristic; and
identifying the selected service component for the query interface comprising: selecting the query engine component configured to apply queries to the document service according to a query model exhibiting query model characteristic satisfying at least one query criterion specified by the service level agreement.

### Claim 11 (depends on 1)

The method of claim 1:
the service features of the document service including a scripting interface provided by at least two scripting environment components respectively configured to execute scripts in a script language against the document service according to a scripting environment exhibiting at least one scripting characteristic; and
identifying the selected service component for the scripting interface comprising: selecting the scripting environment component configured to execute scripts in the script language against the document service according to a scripting environment exhibiting scripting characteristics satisfying at least one scripting criterion specified by the service level agreement.

### Claim 12 (depends on 1)

The method of claim 1:
the service features of the document service including a security interface provided by at least two security components respectively configured to apply to the document service a security model exhibiting at least one security characteristic; and
identifying the selected service component for the security interface comprising: selecting the security component configured to apply to the document service a security model exhibiting security characteristics satisfying at least one security criterion specified by the service level agreement.

### Claim 13 (depends on 1)

The method of claim 1, identifying the selected service component for respective service features comprising:
for respective candidate components providing the service feature:
provisionally select the candidate component for the service feature;
measure at least one exhibited service characteristic of the document service while utilizing the candidate component; and
identify the selected service component as the candidate component having exhibited service characteristics satisfying the at least one service criterion specified by the service level agreement for the service feature.

### Claim 14 (depends on 1)

The method of claim 1, identifying the selected service component providing a first service feature comprising: after identifying a second selected service component for a second service feature, identify the selected service components among candidate components for the first service feature in view of the second selected service component for the second service feature.

### Claim 15 (depends on 1)

The method of claim 1, the instructions further configured to, upon identifying, for a service feature, at least two candidate components respectively satisfying the at least one service criterion specified by the service level agreement for the service feature:
notify an administrator of the server of the two candidate components; and
upon receiving from the administrator a selection of a selected candidate component, identify the selected candidate component as the selected service component for the service feature.

### Claim 16 (depends on 1)

The method of claim 1, the instructions further configured to, after identifying a selected service component for a service feature:
measure at least one exhibited service characteristic of the selected service component while utilizing the selected service component in the document service for the service feature; and
upon measuring at least one exhibited service characteristic that fails to satisfy at least one service criterion specified by the service level agreement, notify an administrator of the document service of the exhibited service characteristics of the selected service component.

### Claim 17 (depends on 1)

The method of claim 1, the instructions further configured to, after identifying a selected service component among the candidate components for a service feature:
measure at least one exhibited service characteristic of the selected service component while utilizing the selected service component in the document service for the service feature; and
upon measuring at least one exhibited service characteristic that fails to satisfy at least one service criterion specified by the service level agreement:
reevaluate the candidate components for the service feature; and
upon identifying a second candidate component exhibiting service characteristics satisfying the at least one service criterion specified by the service level agreement for the service feature, substitute the second candidate component for the selected service component in the document service.

### Claim 18 (depends on 1)

The method of claim 1, the instructions further configured to, upon receiving an updated service level agreement while using a current service level agreement:
identify at least one updated service feature for which the updated service level agreement specifies at least one updated service criterion of the updated service feature as compared with the at least one service criterion of the current service level agreement; and
for respective updated service features:
reevaluate the candidate components for the updated service feature; and
upon identifying a second candidate component exhibiting service characteristics satisfying the at least one updated service criterion specified by the updated service level agreement for the updated service feature, substitute the second candidate component for the selected service component in the document service.

### Claim 19

A nonvolatile computer-readable storage device storing instructions that, when executed on a processor of a device, configure a server provide a document service by:
for respective service features of the document service, providing at least two candidate components respectively providing the service feature with at least one service characteristic; and
upon receiving a request to provide the document service according to a service level agreement specifying, for respective service features, at least one service criterion:
for respective service features, identifying, among the candidate components for the service feature, a selected service component providing the service feature with service characteristics satisfying the at least one service criterion specified by the service level agreement for the service feature; and
composing the selected service components to provide the document service.

### Claim 20

A document service provided on a server having a memory and a processor, the document service comprising:
for respective service features of the document service, at least two candidate components respectively providing the service feature with at least one service characteristic, the service features including:
a file system interface provided by at least two file system components respectively configured to access documents of the document service according to a file system schema exhibiting at least one file system performance characteristic;
an indexing interface provided by at least two indexing components respectively configured to index documents of the document service according to a document indexing technique exhibiting at least one indexing characteristic;
a transaction interface provided by at least two transaction components respectively configured to apply transaction requests to at least one document of the document service according to a transaction model exhibiting at least one transaction characteristic;
a replication interface provided by at least two replication components respectively configured to replicate the document service over at least two servers according to a replication model exhibiting at least one replication characteristic;
a query interface provided by at least two query engine components respectively configured to apply queries to the document service according to a query model exhibiting at least one query model characteristic;
a scripting interface provided by at least two scripting environment components respectively configured to execute scripts in a script language against the document service according to a scripting environment exhibiting at least one scripting characteristic; and
a security interface provided by at least two security components respectively configured to apply to the document service a security model exhibiting at least one security characteristic; and
a document service component selector comprising instructions stored in the memory that, when executed on the processor, compose the document service by:
upon receiving a request to provide the document service according to a service level agreement specifying, for respective service features, at least one service criterion:
for respective service features, among the candidate components for the service feature, identifying a selected service component providing the service feature with service characteristics satisfying the at least one service criterion specified by the service level agreement for the service feature; and
composing the selected service components to provide the document service.
