# US 2004/0205545 A1 · Common annotation framework

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

- Number: US 2004/0205545 A1
- Document ID: US20040205545A1
- Status: Published application
- Kind: A1
- Application number: 10/119,544
- Filed: 2002-04-10
- Published: 2004-10-14
- Earliest claimed: 2002-04-10
- Assignees: Microsoft Corporation
- Inventors: David M. Bargeron; Anoop Gupta
- Web page: https://patentgrep.com/patent/US20040205545A1

## CPC

- G06F 40/169: Annotation, e.g. comment data or footnotes
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A Common Annotation Framework includes, in an embodiment, an annotation having a context anchor that identifies a resource and a position in the resource that the annotation pertains to, and a content anchor that identifies data that is annotating the resource. The annotation can also be extended with client application-defined data and/or functionality, and the framework can be extended with one or more of application-defined objects, methods, and annotation stores.

## Claims

### Claim 1

A system comprising:
a client application layer including one or more client applications;
a storage layer including an annotation store;
a common annotation layer, situated between the client application layer and the storage layer, including an annotation manager; and
wherein the annotation manager operates to allow the one or more client applications to store annotations to and retrieve annotations from the annotation store, and wherein the annotation manager further operates to add new types of properties, identified by the one or more client applications, to annotations to be stored in the annotation store.

### Claim 2 (depends on 1)

A system as recited in claim 1, wherein the client application layer and the common annotation layer are implemented on two different computing devices.

### Claim 3 (depends on 1)

A system as recited in claim 1, wherein the annotation manager further operates to allow the one or more client applications to create annotations for storage in the annotation store and remove annotations from the annotation store.

### Claim 4 (depends on 1)

A system as recited in claim 1, wherein the new types of properties include new data types.

### Claim 5 (depends on 1)

A system as recited in claim 1, wherein the new types of properties include new methods.

### Claim 6 (depends on 1)

A system as recited in claim 1, wherein each new type of property has an associated codebase identified in the annotation, wherein the codebase identifies a location where information can be obtained that describes how to process the new type of property.

### Claim 7 (depends on 6)

A system as recited in claim 6, wherein the information comprises a software code module.

### Claim 8

A method comprising:
receiving, from a client application, a request to create an annotation;
generating the annotation; and
allowing the client application to,
add context anchor data to the annotation, wherein the context anchor data identifies a resource and a position in the resource that the annotation pertains to,
add content anchor data to the annotation, wherein the content anchor data identifies data that is annotating the resource, and
extend the types of data that can be stored in the annotation by adding one or more additional properties to the annotation.

### Claim 9 (depends on 8)

A method as recited in claim 8, further comprising allowing the client application to add an additional property that describes an additional method that can be performed on the data stored in the annotation.

### Claim 10 (depends on 8)

A method as recited in claim 8, wherein allowing the client application to extend the types of data comprises allowing the client application to extend the types of data that can be stored in the annotation by adding one or more additional properties to the context anchor of the annotation.

### Claim 11 (depends on 8)

A method as recited in claim 8, wherein allowing the client application to extend the types of data comprises allowing the client application to extend the types of data that can be stored in the annotation by adding one or more additional properties to the content anchor of the annotation.

### Claim 12 (depends on 8)

A method as recited in claim 8, further comprising allowing the client application to add a plurality of context anchors to the annotation, each including different context anchor data.

### Claim 13 (depends on 8)

A method as recited in claim 8, farther comprising allowing the client application to add a plurality of content anchors to the annotation, each including different content anchor data.

### Claim 14 (depends on 8)

A method as recited in claim 8, wherein each of the one or more additional properties includes a codebase that identifies a location where instructions can be obtained that describe how to process the data type in the additional property.

### Claim 15 (depends on 14)

A method as recited in claim 14, wherein the instructions comprise a software code module.

### Claim 16

One or more computer readable media having stored thereon a plurality of instructions that, when executed by one or more processors, causes the one or more processors to::
receive, from a client application, a request to create an annotation;
generate the annotation; and
allow the client application to,
add context anchor data to the annotation, wherein the context anchor data identifies a first resource and a position in the first resource that the annotation pertains to,
add content anchor data to the annotation, wherein the content anchor data identifies a second resource, wherein the second resource annotates the first resource, and
extend the types of data that can be stored in the annotation by adding one or more additional properties to the annotation.

### Claim 17

One or more computer readable media having stored thereon a plurality of instructions that, when executed by one or more processors, causes the one or more processors to:
receive a request to retrieve an annotation;
identify an extended property in the annotation;
identify a codebase corresponding to the extended property, wherein the codebase identifies a location where information can be obtained that describes how to process the contents of the extended property; and
process the contents of the extended property in accordance with the information.

### Claim 18 (depends on 17)

One or more computer readable media as recited in claim 17, wherein the information comprises a software code module.

### Claim 19 (depends on 17)

One or more computer readable media as recited in claim 17, wherein the contents of the extended property comprise data.

### Claim 20 (depends on 17)

One or more computer readable media as recited in claim 17, wherein the contents of the extended property comprise a method.

### Claim 21 (depends on 17)

One or more computer readable media as recited in claim 17, wherein the instructions to receive the request comprise instructions that cause the one or more processors to receive, by a client application, a request from a user to retrieve an annotation.

### Claim 22 (depends on 17)

One or more computer readable media as recited in claim 17, wherein the instructions to receive the request comprise instructions that cause the one or more processors to receive, by an annotation manager, a request from a client application to retrieve an annotation.

### Claim 23 (depends on 17)

One or more computer readable media as recited in claim 17, wherein the plurality of instructions comprise a client application.

### Claim 24 (depends on 17)

One or more computer readable media as recited in claim 17, wherein the plurality of instructions comprise an annotation manager.

### Claim 25 (depends on 17)

One or more computer readable media as recited in claim 17, wherein the codebase comprises a uniform resource locator (URL) of the location.

### Claim 26

A computer readable medium having stored thereon a data structure comprising:
an id field that contains data identifying an annotation;
a context anchor element that contains data identifying a location of a resource to which the annotation pertains;
a content anchor element that contains data which annotates the resource;
a property element that contains client application-defined data; and
a field functioning to identify the end of the data structure.

### Claim 27 (depends on 26)

A computer readable medium as recited in claim 26, wherein the data structure further comprises:
an author field that contains data identifying the user that created the annotation; and
a creation date field that contains data identifying when the annotation was created.

### Claim 28 (depends on 26)

A computer readable medium as recited in claim 26, wherein the data structure further comprises one or more additional context anchor elements that each contain data identifying a different location of the resource to which the annotation pertains.

### Claim 29 (depends on 26)

A computer readable medium as recited in claim 26, wherein the data structure further comprises one or more additional context anchor elements that each contain data identifying a location of a different resource to which the annotation pertains.

### Claim 30 (depends on 26)

A computer readable medium as recited in claim 26, wherein the data structure further comprises one or more additional content anchor elements that each contain different data which annotates the resource.

### Claim 31 (depends on 26)

A computer readable medium as recited in claim 26, wherein the property element comprises:
a name field that contains data identifying the client application-defined data;
a format field that contains data identifying a format in which the client application-defined data is stored;
a property data field that contains the client application-defined data; and
a codebase field that contains data identifying a location where instructions for processing the client application-defined data can be obtained.

### Claim 32 (depends on 26)

A computer readable medium as recited in claim 26, wherein the context anchor element comprises:
an id field t hat contains data identifying the context anchor element;
a label field that contains data identifying the context anchor element as a context anchor;
a position field that contains data identifying the location of the resource; and
a content field that contains data identifying the resource.

### Claim 33 (depends on 32)

A computer readable medium as recited in claim 32, wherein the position field includes:
a position data field that contains data identifying the location;
a format field that contains data identifying a format in which the data in the position data field is stored; and
a codebase field that contains data identifying a location where instructions for processing the data in the position data field can be obtained.

### Claim 34 (depends on 32)

A computer readable medium as recited in claim 32, wherein the content field includes:
a content data field that contains data identifying the resource;
a format field that contains data identifying a format in which the data in the content data field is stored; and
a codebase field that contains data identifying a location where instructions for processing the data in the content data field can be obtained.

### Claim 35 (depends on 32)

A computer readable medium as recited in claim 32, wherein the context anchor element further comprises an additional property element that contains additional client application-defined data that corresponds to the context anchor element, wherein the additional property elements includes:
a name field that contains data identifying the additional client application-defined data;
a format field that contains data identifying a format in which the additional client application-defined data is stored;
a property data field that contains the additional client application-defined data; and
a codebase field that contains data identifying a location where instructions for processing the additional client application-defined data can be obtained.

### Claim 36 (depends on 26)

A computer readable medium as recited in claim 26, wherein the content anchor element comprises:
an id field that contains data identifying the content anchor element;
a label field that contains data identifying the content anchor element as a content anchor;
a content field that contains data identifying the data which annotates the resource.

### Claim 37 (depends on 36)

A computer readable medium as recited in claim 36, wherein the content field includes the literal data which annotates the resource.

### Claim 38 (depends on 36)

A computer readable medium as recited in claim 36, wherein the content field includes a reference to the literal data which annotates the resource.

### Claim 39 (depends on 36)

A computer readable medium as recited in claim 36, wherein the content field includes:
a content data field that contains data identifying the data which annotates the resource;
a format field that contains data identifying a format in which the data in the content data field is stored; and
a codebase field that contains data identifying a location where instructions for processing the data in the content data field can be obtained.

### Claim 40 (depends on 36)

A computer readable medium as recited in claim 36, wherein the content anchor element further comprises an additional property element that contains additional client application-defined data that corresponds to the content anchor element, wherein the additional property elements includes:
a name field that contains data identifying the additional client application-defined data;
a format field that contains data identifying a format in which the additional client application-defined data is stored;
a property data field that contains the additional client application-defined data; and
a codebase field that contains data identifying a location where instructions for processing the additional client application-defined data can be obtained.

### Claim 41 (depends on 26)

A method for populating at least a portion of the data structure of claim 26.

### Claim 42 (depends on 26)

A method for retrieving a data structure of claim 26.

### Claim 43

A computer readable medium having stored thereon a data structure comprising:
an order field that includes data specifying how anchor elements identified in the data structure are to be used;
an anchor id field that includes data specifying one or more annotation structures; and
a field functioning to identify the end of the data structure.

### Claim 44 (depends on 43)

A computer readable medium as recited in claim 43, wherein the data structure further comprises:
a composite id field that includes data identifying one or more additional data structures, each additional data structure including,
an order field that includes data specifying how anchor elements identified in the data structure are to be used,
an anchor id field that includes data specifying one or more annotation structures, and
a field functioning to identify the end of the additional data structure.

### Claim 45 (depends on 43)

A computer readable medium as recited in claim 43, wherein each annotation structure comprises:
an id field that contains data identifying an annotation;
a context anchor element that contains data identifying a location of a resource to which the annotation pertains;
a content anchor element that contains data which annotates the resource;
a property element that contains client application-defined data; and
a field functioning to identify the end of the annotation structure.

### Claim 46 (depends on 43)

A computer readable medium as recited in claim 43, wherein the data structure further comprises:
a role field that includes data describing why the anchor elements are identified in the data structure.

### Claim 47

A computer readable medium having stored thereon a data structure comprising:
an id field that contains data identifying a set of annotations;
a children field that contains data identifying a plurality of annotations that are part of the set;
a property field that contains client application-defined data regarding the set of annotations; and
a field functioning to identify the end of the data structure.

### Claim 48 (depends on 47)

A computer readable medium as recited in claim 47, further comprising a parent field that contains data identifying an additional set of annotations that the set of annotations is part of.

### Claim 49 (depends on 47)

A computer readable medium as recited in claim 47, wherein each of the plurality of annotations comprises:
an id field that contains data identifying an annotation;
a context anchor element that contains data identifying a location of a resource to which the annotation pertains;
a content anchor element that contains data which annotates the resource;
a property element that contains client application-defined data; and
a field functioning to identify the end of the annotation structure.

### Claim 50 (depends on 47)

A computer readable medium as recited in claim 47, wherein the property element comprises:
a name field that contains data identifying the client application-defined data;
a format field that contains data identifying a format in which the client application-defined data is stored;
a property data field that contains the client application-defined data; and
a codebase field that contains data identifying a location where instructions for processing the client application-defined data can be obtained.

### Claim 51

A system implementing a Common Annotation Framework comprising:
a plurality of annotation objects, each configured to store data regarding a resource being annotated and data annotating the resource; and
an object manager configured to allow a client application to access the plurality of annotation objects, and further configured to allow the client application to extend individual objects of the plurality of annotation objects with client application-defined data.

### Claim 52 (depends on 51)

A system as recited in claim 51, wherein the object manager includes a create method interface that allows the client application to request that an annotation object be created.

### Claim 53 (depends on 51)

A system as recited in claim 51, wherein the object manager includes a save method interface that allows the client application to request that an annotation object be saved into an annotation store.

### Claim 54 (depends on 51)

A system as recited in claim 51, wherein the object manager includes a remove method interface that allows the client application to request that an annotation object be removed form an annotation store.

### Claim 55 (depends on 51)

A system as recited in claim 51, wherein the object manager includes a retrieve method interface that allows the client application to request that an annotation object be retrieved from an annotation store.

### Claim 56 (depends on 51)

A system as recited in claim 51, wherein the object manager includes an invoke method interface that allows the client application to request that a client application-defined method be executed by the object manager.

### Claim 57 (depends on 51)

A system as recited in claim 51, wherein the object manager includes a codebase method interface that allows another client application to obtain an identifier of a location of instructions regarding how to process the client application-defined data.

### Claim 58 (depends on 51)

A system as recited in claim 51, wherein the client application-defined data comprises methods.

### Claim 59 (depends on 51)

A system as recited in claim 51, wherein the client application-defined data comprises properties.

### Claim 60 (depends on 51)

A system as recited in claim 51, wherein each of the plurality of annotation objects exposes an annotation interface that allows the client application to access a pointer to an anchor object that identifies a location of the resource that the annotation object pertains to.

### Claim 61 (depends on 51)

A system as recited in claim 51, wherein each of the plurality of annotation objects exposes an annotation interface that allows the client application to access a pointer to an anchor object that identifies a location of another resource that contains the data annotating the resource.

### Claim 62 (depends on 51)

A system as recited in claim 51, wherein the Common Annotation Framework further comprises a set object that allows selected ones of the plurality of annotation objects to be grouped together.

### Claim 63 (depends on 51)

A system as recited in claim 51, wherein the Common Annotation Framework further comprises an event object that includes data to be returned to the client application in an asynchronous manner.

### Claim 64 (depends on 51)

A system as recited in claim 51, wherein the Common Annotation Framework further comprises an anchor object that contains the data regarding the resource being annotated.

### Claim 65 (depends on 51)

A system as recited in claim 51, wherein the Common Annotation Framework further comprises an anchor object that contains the data annotating the resource.

### Claim 66 (depends on 51)

A system as recited in claim 51, wherein the Common Annotation Framework further comprises a property object that contains the client application-defined data.

### Claim 67

A method comprising:
receiving a request to retrieve, from an annotation store, one or more objects; and
implementing one or more of a plurality of handlers as needed to respond to the request, the plurality of handlers including an extended property handler, extended object handler, and an extended storage handler.

### Claim 68 (depends on 67)

A method as recited in claim 67, wherein the extended property handler operates on annotation object properties.

### Claim 69 (depends on 67)

A method as recited in claim 67, wherein the extended property handler operates on anchor object properties.

### Claim 70 (depends on 67)

A method as recited in claim 67, wherein the extended storage handler operates on objects from the annotation store.
