Signature serialization
First Claim
1. One or more electronically-accessible storage media comprising electronically-executable instructions that, when executed, direct an electronic apparatus to perform actions comprising:
- creating a type signature (i) using a hashing algorithm and based on an object type, the hashing algorithm comprising determining whether a field type of the object type is an atomic type and inserting information from the field into a binary blob to serialize the object without inserting a prefix corresponding to the field type, and (ii) using a type name of the object type and a prefix corresponding to a value field of the object type;
responsive to the determining of the hashing algorithm, inserting the type signature and an index into the binary blob to serialize an object, the type signature comprising the type signature based on the object type of the object, the index indicating a location of the object in a duplicate table; and
transmitting the serialized binary blob.
2 Assignments
0 Petitions
Accused Products
Abstract
One or more electronically-accessible media including electronically-executable instructions that direct an apparatus to perform actions including: inserting a type signature tag into a serialized binary blob to serialize an object, the type signature tag including a type signature based on an object type of the object; and transmitting the serialized binary blob. An arrangement including: a signature table having multiple entries, each respective entry of the multiple entries associating a respective object type with a respective type signature, each respective type signature created responsive to a structural representation of the respective object type associated therewith. An apparatus including: one or more media having electronically-executable instructions; and one or more processors capable of executing the electronically-executable instructions to perform actions including: receiving a serialized binary blob; and deserializing an object by extracting a type signature from the serialized binary blob, the type signature derivable from an object type of the object.
28 Citations
41 Claims
-
1. One or more electronically-accessible storage media comprising electronically-executable instructions that, when executed, direct an electronic apparatus to perform actions comprising:
-
creating a type signature (i) using a hashing algorithm and based on an object type, the hashing algorithm comprising determining whether a field type of the object type is an atomic type and inserting information from the field into a binary blob to serialize the object without inserting a prefix corresponding to the field type, and (ii) using a type name of the object type and a prefix corresponding to a value field of the object type; responsive to the determining of the hashing algorithm, inserting the type signature and an index into the binary blob to serialize an object, the type signature comprising the type signature based on the object type of the object, the index indicating a location of the object in a duplicate table; and transmitting the serialized binary blob. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An apparatus comprising:
-
one or more storage media, the one or more storage media including electronically-executable instructions; and one or more processors, the one or more processors capable of executing the electronically-executable instructions to perform actions comprising; creating a type signature (i) using a hashing algorithm and based on an object type, the hashing algorithm comprising determining whether a field type of the object type is an atomic type and inserting information from the field into a binary blob to serialize the object without inserting a prefix corresponding to the field type, and (ii) using a type name of the object type and a prefix corresponding to a value field of the object type; serializing an object by inserting the type signature and an index into a the binary blob, the object corresponding to the object type, the index indicating a location of the object in a duplicate table; and transmitting the serialized binary blob. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. An apparatus having a processor comprising:
-
a signature table having a plurality of entries, each respective entry of the plurality of entries associating a respective object type with a respective type signature, each respective type signature created (i) using a hashing algorithm and responsive to the associated respective object type, the hashing algorithm comprising determining whether a field type of the object type is an atomic type and inserting information from the field into a binary blob to serialize the object without inserting a prefix corresponding to the field type, and (ii) based on a type name of the respective object type and a prefix corresponding to a value field of the respective object type; and a serializer that serializes a graph of objects using at least one of the plurality of entries in the signature table and an index, the serializer inserting the index into the binary blob, the index indicating a location of the object in a duplicate table. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. A system comprising a processor for serializing a graph of objects, the system comprising:
-
creation means for creating a signature table from a type system, the signature table having a plurality of entries, each respective entry of the plurality of entries associating a respective object type of the type system with a respective type signature, each respective type signature created (i) using a hashing algorithm and responsive to the associated respective object type, the hashing algorithm comprising determining whether a field type of the object type is an atomic type and inserting information from the field into a binary blob to serialize the object without inserting a prefix corresponding to the field type, and (ii) based on a type name of the respective object type and a prefix corresponding to a value field of the respective object type; and serialization means for serializing the graph of objects using the entries found in the signature table and an index to produce a serialized binary blob table, the serialization means inserting the index into the serialized binary blob, the index indicating a location of the object in a signature duplicate table. - View Dependent Claims (20)
-
-
21. One or more electronically-accessible storage media comprising electronically-executable instructions that, when executed, direct an electronic apparatus to perform actions comprising:
-
creating a type signature (i) using a hashing algorithm and based on an object type, the hashing algorithm comprising determining whether a field type of the object type is an atomic type and inserting information from the field into a binary blob to serialize an object without inserting a prefix corresponding to the field type, and (ii) responsive to a type name of the object type and a prefix corresponding to a value field of the object type; creating an index, the index indicating a location of the object in a duplicate table; serializing the binary blob with the type signature and the index; sending the serialized binary blob; receiving the serialized binary blob; and extracting;
a type signature, an index from the serialized binary blob to deserialize an object in the serialized binary blob, the type signature comprising the type signature based on the object type of the object, and information for a deserialized field from the serialized binary blob to deserialize the object without extracting a prefix corresponding to the object type. - View Dependent Claims (22, 23, 24, 25, 26)
-
-
27. An apparatus comprising:
-
one or more storage media, the one or more storage media including electronically-executable instructions; and one or more processors, the one or more processors capable of executing the electronically-executable instructions to perform actions comprising; creating a type signature (i) using a hashing algorithm and based on an object type, the hashing algorithm comprising determining whether a field type of the object type is an atomic type and inserting information from the field into a binary blob to serialize the object without inserting a prefix corresponding to the field type, and (ii) responsive to a type name of the object type and a prefix corresponding to a value field of the object type; creating an index, the index indicating a location of the object in a signature table; serializing the binary blob with the type signature and the index; sending the serialized binary blob; receiving a serialized binary blob; and deserializing an object by extracting the type signature and index from the serialized binary blob, the object corresponding to the object type. - View Dependent Claims (28, 29, 30, 31, 32, 33)
-
-
34. An apparatus having a processor comprising:
-
a signature table having a plurality of entries, each respective entry of the plurality of entries associating a respective object type with a respective type signature and an index, wherein the index indicates a location of the object type in the signature table, each respective type signature created (i) using a hashing algorithm and responsive to the associated respective object type, the hashing algorithm comprising determining whether a field type of the object type is an atomic type and inserting information from the field into a binary blob to serialize the object without inserting a prefix corresponding to the field type, and (ii) based on a type name of the respective object type and a prefix corresponding to a value field of the respective object type; and a deserializer that deserializes a serialized bit stream using at least one of the plurality of entries in the signature table and the index. - View Dependent Claims (35, 36, 37, 38, 39)
-
-
40. A system having a processor for deserializing a serialized binary blob, the system comprising:
-
creation means for creating a signature table from a type system, the signature table having a plurality of entries, each respective entry of the plurality of entries associating a respective object type of the type system with a respective type signature and an index indicating a location of the object in the signature table, each respective type signature created (i) using a hashing algorithm and responsive to the associated respective object type, the hashing algorithm comprising determining whether a field type of the object type is an atomic type and extracting information for a field from the serialized blob wherein the field in the serialized blob does not have a corresponding prefix corresponding to the field type, and (ii) based on a type name of the respective object type and a prefix corresponding to a value field of the respective object type; and deserialization means for deserializing the serialized binary blob using at least one of the plurality of entries in the signature table to produce a new graph of objects. - View Dependent Claims (41)
-
Specification