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 in the content description;
obtaining a schema associated with the context node, the schema defining the 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 and further containing a header;
creating a required elements section containing a value for each required element for the context node; and
creating an optional elements section containing a value for each optional element for the context node that appears in the content description and further containing a header.
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, identifiers for the optional attributes or optional elements are also encoded and 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.
-
Citations
18 Claims
-
1. A computerized method for encoding an instance document representing a content description, the method comprising:
-
determining a context node in the content description;
obtaining a schema associated with the context node, the schema defining the 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 and further containing a header;
creating a required elements section containing a value for each required element for the context node; and
creating an optional elements section containing a value for each optional element for the context node that appears in the content description and further containing a header. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. The computerized method of 1, wherein creating the optional attributes section comprises:
associating an attribute identifier with the value of each optional attribute present in the content.
-
14. The computerized method of 1, wherein creating the required elements section comprises:
associating an element identifier with the value of each required element.
-
15. The computerized method of 14, wherein creating the required elements section further comprises:
including a terminator field for a required element in the required elements section if the schema defines the corresponding required element as an unbounded sequence.
-
16. The computerized method of 1, wherein creating the optional elements section comprises:
associating an element identifier with the value of each optional element present in the content description.
-
17. The computerized method of 16, wherein creating the optional elements section further comprises:
-
associating a repeat field with each value of an optional element if the schema defines the corresponding optional element as having multiple occurrences; and
associating the element identifier with only one value of the optional element if the schema defines the corresponding optional element as having multiple occurrences.
-
-
18. The computerized method of 1 further comprising:
creating a reset field, the reset field specifying a different context in the content description.
Specification