Efficient binary coding scheme for multimedia content descriptions
First Claim
1. A computerized method for encoding an instance document representing a content description, the method comprising:
- determining a context node from a plurality of context nodes in the content description, the plurality of context nodes corresponding to description schemes for a particular multimedia content described by the instance document, wherein the plurality of context nodes are represented in the encoded instance document as a plurality of data structures;
obtaining a schema associated with the context node, the schema defining required attributes, optional attributes, required elements, and optional elements for the context node, with the optional attributes and optional elements having an order;
creating a required attributes section containing a value for each required attribute for the context node;
creating an optional attributes section containing a value for each optional attribute for the context node that appears in the content description;
creating a required elements section containing a value for each required element for the context node;
creating an optional elements section containing a value for each optional element for the context node that appears in the content description; and
generating the encoded instance document comprising the attributes and elements sections defined by the schema for each of the plurality of context nodes and a context-node reset code specifying an address for a next context node in the content description for each context node except a last context node, wherein the encoded instance document is a compressed representation of the instance document.
1 Assignment
0 Petitions
Accused Products
Abstract
An encoding methodology encodes an instance document describing multimedia content by determining a context node in the content description and using a schema associated with the context node to determine the maximum number of children attributes and elements of the context node. Values for required attributes and elements are encoded into required attributes and required elements sections, respectively. Values for each optional attribute and optional element present in the content description are encoded into corresponding optional attributes and optional elements sections. In one aspect, a mask is encoded that indicates which of the optional attributes or optional elements are present in the content description. In another aspect, a count of the optional attributes or optional elements is used in place of the mask. A corresponding decode methodology extracts the values of the attributes and elements from the encoded instance document to re-create the content description.
35 Citations
108 Claims
-
1. A computerized method for encoding an instance document representing a content description, the method comprising:
-
determining a context node from a plurality of context nodes in the content description, the plurality of context nodes corresponding to description schemes for a particular multimedia content described by the instance document, wherein the plurality of context nodes are represented in the encoded instance document as a plurality of data structures; obtaining a schema associated with the context node, the schema defining required attributes, optional attributes, required elements, and optional elements for the context node, with the optional attributes and optional elements having an order; creating a required attributes section containing a value for each required attribute for the context node; creating an optional attributes section containing a value for each optional attribute for the context node that appears in the content description; creating a required elements section containing a value for each required element for the context node; creating an optional elements section containing a value for each optional element for the context node that appears in the content description; and generating the encoded instance document comprising the attributes and elements sections defined by the schema for each of the plurality of context nodes and a context-node reset code specifying an address for a next context node in the content description for each context node except a last context node, wherein the encoded instance document is a compressed representation of the instance document. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer-readable storage medium having executable instructions to cause a computer to perform a method comprising:
-
determining a context node from a plurality of context nodes in a content description, the plurality of context nodes corresponding to description schemes for a particular multimedia content described by an instance document, wherein the plurality of context nodes are represented in the encoded instance document as a plurality of data structures; obtaining a schema associated with the context node, the schema defining required attributes, optional attributes, required elements, and optional elements for the context node, with the optional attributes and optional elements having an order; creating a required attributes section containing a value for each required attribute for the context node; creating an optional attributes section containing a value for each optional attribute for the context node that appears in the content description; creating a required elements section containing a value for each required element for the context node; creating an optional elements section containing a value for each optional element for the context node that appears in the content description; and generating the encoded instance document comprising the attributes and elements sections defined by the schema for each of the plurality of context nodes and a context-node reset code specifying an address for a next context node in the content description for each context node except a last context node, wherein the encoded instance document is a compressed representation of the instance document. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36)
-
-
37. A system comprising:
-
a processor coupled to a bus; a memory coupled to the processor through the bus; and an encode process executed by the processor from the memory to cause the processor to determine a context node from a plurality of context nodes in a content description, the plurality of context nodes corresponding to description schemes for a particular multimedia content described by an instance document, wherein the plurality of context nodes are represented in the encoded instance document as a plurality of data structures, obtain a schema associated with the context node, the schema defining required attributes, optional attributes, required elements, and optional elements for the context node, with the optional attributes and optional elements having an order, create a required attributes section containing a value for each required attribute for the context node, create an optional attributes section containing a value for each optional attribute for the context node that appears in the content description, create a required elements section containing a value for each required element for the context node, create an optional elements section containing a value for each optional element for the context node that appears in the content description, and generate the encoded instance document comprising the attributes and elements sections defined by the schema for each of the plurality of context nodes and a context-node reset code specifying an address for a next context node in the content description for each context node except a last context node, wherein the encoded instance document is a compressed representation of the instance document. - View Dependent Claims (38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54)
-
-
55. A computerized method for decoding an encoded instance document representing a content description, the method comprising:
-
obtaining a schema associated with a context node in the instance document, the context node being one of a plurality of context nodes corresponding to description schemes for a particular multimedia content described by the instance document, the schema defining required attributes, optional attributes, required elements, and optional elements for the context node, with the optional attributes and optional elements having an order, wherein the plurality of context nodes are represented in the encoded instance document as a plurality of data structures, and wherein the encoded instance document is a compressed representation of the instance document comprising the attributes and elements sections defined by the schema for each of the plurality of context nodes and a context-node reset code specifying an address for a next context node in the content description for each context node except a last context node; extracting a value for each required attribute from a required attributes section when present in the encoded instance document; extracting a value for each optional attribute that appears in the content description from an optional attributes section when present in the encoded instance document; extracting a value for each required element from a required elements section when present in the encoded instance document; extracting a value for each optional element that appears in the content description from an optional elements section when present in the encoded instance document, and generating the instance document from the values extracted from the compressed representation of the instance document. - View Dependent Claims (56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 70, 71, 72)
-
-
69. The computerized method of 68, wherein extracting from the required elements section further comprises:
extracting a terminator field for a required element in the required elements section if the schema defines the corresponding required element as an unbounded sequence.
-
73. A computer-readable storage medium having executable instructions to cause a computer to perform a method comprising:
-
obtaining a schema associated with a context node in an instance document, the context node corresponding to a description scheme for a particular multimedia content described by an instance document, the schema defining required attributes, optional attributes, required elements, and optional elements for the context node, with the optional attributes and optional elements having an order, wherein the plurality of context nodes are represented in the encoded instance document as a plurality of data structures, and wherein the encoded instance document is a compressed representation of the instance document comprising the attributes and elements sections defined by the schema for each of the plurality of context nodes and a context-node reset code specifying an address for a next context node in the content description for each context node except a last context node; extracting a value for each required attribute from a required attributes section when present in the encoded instance document; extracting a value for each optional attribute that appears in the content description from an optional attributes section when present in the encoded instance document; extracting a value for each required element from a required elements section when present in the encoded instance document; extracting a value for each optional element that appears in the content description from an optional elements section when present in the encoded instance document; and generating the instance document from the values extracted from the compressed representation of the instance document. - View Dependent Claims (74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90)
-
-
91. A system comprising;
-
a processor coupled to a bus; a memory coupled to the processor through the bus; and a decode process for an encoded instance document representing a content description, the decode process executed by the processor from the memory to cause the processor to obtain a schema associated with a context node in the instance document, the context node being one of a plurality of context nodes corresponding to description scheme for a particular multimedia content described by an instance document, the schema defining required attributes, optional attributes, required elements, and optional elements for the context node, with the optional attributes and optional elements having an order, wherein the plurality of context nodes are represented in the encoded instance document as a plurality of data structures, and wherein the encoded instance document is a compressed representation of the instance document comprising the attributes and elements sections defined by the schema for each of the plurality of context nodes and a context-node reset code specifying an address for a next context node in the content description for each context node except a last context node, extract a value for each required attribute from a required attributes section when present in the encoded instance document, extract a value for each optional attribute that appears in the content description from an optional attributes section when present in the encoded instance document, extract a value for each required element from a required elements section when present in the encoded instance document, extract a value for each optional element that appears in the content description from an optional elements section when present in the encoded instance document; and generate the instance document from the values extracted from the compressed representation of the instance document. - View Dependent Claims (92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108)
-
Specification