System and method for generating optimized binary representation of an object tree
First Claim
1. A method for generating a data structure encoding data in media, comprising:
- receiving extensible application markup language information corresponding to an object tree; and
generating an optimized binary representation of extensible application markup language information corresponding to the object tree, the optimized binary representation comprising;
an information record including encoded;
assembly information comprising at least one first identifier of one or more known object types in the extensible application markup language to invoke an associated loader of the known object types,type information indicating a type of an object associated with the object tree, andattribute information indicating an attribute of an object associated with the object tree, the attribute information including at least one second identifier of one or more classes associated with at least one object of the object tree; and
a structure record including an encoded structure property of the object tree,wherein the information record and the structure record are both used to reconstruct the object tree.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and related techniques accept extensible application markup language (XAML) inputs corresponding to object trees, such as those representing user interface elements, and map those inputs to a binary construct. A mapping engine may generate tokenized binary outputs representing the XAML file input and ultimately the associated user interface or other object. The binary representation generated by the mapping engine may be optimized in multiple ways, including to encode dimension information such as length, width etc. of dialog boxes or other elements in the binary representation without a necessity for explicit definition. Other optimizations include the type indexing of data types when a novel instance of the type is first encountered, and embedding loader definitions to load the object or data reflected in the binary representation without having to do a lookup against loader lists.
-
Citations
13 Claims
-
1. A method for generating a data structure encoding data in media, comprising:
-
receiving extensible application markup language information corresponding to an object tree; and generating an optimized binary representation of extensible application markup language information corresponding to the object tree, the optimized binary representation comprising; an information record including encoded; assembly information comprising at least one first identifier of one or more known object types in the extensible application markup language to invoke an associated loader of the known object types, type information indicating a type of an object associated with the object tree, and attribute information indicating an attribute of an object associated with the object tree, the attribute information including at least one second identifier of one or more classes associated with at least one object of the object tree; and a structure record including an encoded structure property of the object tree, wherein the information record and the structure record are both used to reconstruct the object tree. - View Dependent Claims (2, 3, 4)
-
-
5. A data structure encoding data in media, the data structure tangibly embodied on one or more computer-readable media, comprising:
-
an optimized binary representation of extensible application markup language corresponding to an object tree, the optimized binary representation information comprising; an information record the information record including encoded; assembly information comprising at least one first identifier of one or more known object types in the extensible application markup language to invoke an associated loader of the known object types, type information indicating a type of an object associated with the object tree, and attribute information indicating an attribute of an object associated with the object tree, the attribute information including at least one second identifier of one or more classes associated with at least one object of the object tree; and a structure record including an encoded structure property of the object tree, wherein the information record and the structure record are both used to reconstruct the object tree. - View Dependent Claims (6, 7, 8, 9)
-
-
10. A method of reading a data structure encoded in media, comprising:
-
accessing an optimized binary representation of extensible application markup language information corresponding to an object tree, the optimized binary representation comprising; an information record including encoded; assembly information comprising at least one first identifier of one or more known object types in the extensible application markup language to invoke an associated loader of the known object types, type information indicating a type of an object associated with the object tree, and attribute information indicating an attribute of an object associated with the object tree, the attribute information including at least one second identifier of one or more classes associated with at least one object of the object tree; and a structure record encoding including an encoded structure property of the object tree; and decoding the optimized binary representation to reconstruct the object tree; wherein the information record and the structure record are both used to reconstruct the object tree. - View Dependent Claims (11, 12, 13)
-
Specification