Method and apparatus in a data processing system for systematically serializing complex data structures
First Claim
1. A method in a data processing system for serializing a data element, the method comprising the data processing system implemented steps of:
- receiving the data element for serialization, wherein data element includes a class name;
replacing the class name with an indicator having a smaller size than the class name to form a modified data element; and
serializing the modified data element.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus in a data processing system for serialization data. A serializer receives a data element for serialization, wherein the data element includes a class name string. Responsive to receiving the data element, the serializer replaces the class name string with a code having a smaller size than the class name string to form a modified data element. Responsive to forming the modified data element, in which the serializer serializes the modified data element. The serialized data is transmitted and deserialized by deserializer which replaces the indicator with the class name.
177 Citations
24 Claims
-
1. A method in a data processing system for serializing a data element, the method comprising the data processing system implemented steps of:
-
receiving the data element for serialization, wherein data element includes a class name;
replacing the class name with an indicator having a smaller size than the class name to form a modified data element; and
serializing the modified data element. - View Dependent Claims (2, 3, 4, 5)
receiving the modified data element;
deserializing the modified data element; and
replacing the hash code with the class name string.
-
-
4. The method of claim 1, wherein the data element includes a path and wherein the path and the class name string are replaced with the indicator.
-
5. The method of claim 1, wherein the steps receiving a data element for serialization, wherein data element includes a class name;
- replacing the class name with an indicator having a smaller size than the class name to form a modified data element are performed at the data processing system; and
the steps of receiving the modified data element;
deserializing the modified data element; and
replacing the hash code with the class name are performed at another data processing system.
- replacing the class name with an indicator having a smaller size than the class name to form a modified data element are performed at the data processing system; and
-
6. A method in a data processing system for serializing a data element, the method comprising the data processing system implemented steps of:
-
receiving the data element for serialization wherein data element includes a class name;
replacing the class name with an indicator having a smaller size than the class name to form a modified data element;
serializing the modified data element determining whether the data element includes a class name that is replaceable; and
responsive to a determination that the data is unreplaceable serializing the data element using a default process.
-
-
7. A method in a data processing system for deserializing a data object, the method comprising:
-
receiving a data element for deserialization;
deserializing the data element; and
replacing an indicator within the data element with a class name. - View Dependent Claims (8, 9, 10)
using the hash code as a key within a hash table to identify the class name; and
replacing the hash code with the class name.
-
-
9. The method of claim 8, wherein the hash code also identifies a base Java class.
-
10. The method of claim 9, wherein the data is a base Java class path.
-
11. A data processing system comprising:
-
a serializer having a plurality of modes of operation including;
a first mode of operation in which the serializer receives a data element for serialization, wherein the data element includes a class name string;
a second mode of operation, responsive to receiving the data element in which the serializer replaces the class name string with a code having a smaller size than the class name string to form a modified data element; and
a third mode of operation, responsive to forming the modified data element, in which the serializer serializes modified data element. - View Dependent Claims (12)
-
-
13. A data processing system for serializing a data element, the data processing system comprising:
-
receiving means for receiving the data element for serialization, wherein data element includes a class name;
replacing means for replacing the class name with an indicator having a smaller size than the class name to form a modified data element; and
serializing means for serializing the modified data element. - View Dependent Claims (14, 15, 16, 17)
receiving means for receiving the modified data element;
deserializing means for deserializing the modified data element; and
replacing means for replacing the hash code with the class name string.
-
-
16. The data processing system of claim 13, wherein the means of receiving a data element for serialization, wherein data element includes a class name;
- replacing the class name with an indicator having a smaller size than the class name to form a modified data element are performed at the data processing system; and
the means of receiving the modified data element;
deserializing the modified data element; and
replacing the hash code with the class name are performed at another data processing system.
- replacing the class name with an indicator having a smaller size than the class name to form a modified data element are performed at the data processing system; and
-
17. The data processing system of claim 13, wherein the data element includes a path and wherein the path and the class name string are replaced with the indicator.
-
18. A data processing system for serializing a data element, the data processing system comprising:
-
receiving means for receiving the data element for serialization, wherein data element includes a class name;
replacing means for replacing the class name with an indicator having a smaller size than the class name to form a modified data element;
serializing means for serializing the modified data element determining means for determining whether the data element includes a class name that is replaceable; and
serializing means, responsive to a determination that the data is unreplaceable, for serializing the data element using a default process.
-
-
19. A data processing system for deserializing a data object, the data processing system comprising:
-
receiving means for receiving a data element for deserialization;
deserializing means for deserializing the data element; and
replacing means for replacing an indicator within the data element with a class name. - View Dependent Claims (20, 21, 22)
using means for using the hash code as a key within a hash table to identify the class name; and
replacing means for replacing the hash code with the class name.
-
-
21. The data processing system of claim 20, wherein the hash code also identifies a base Java class.
-
22. The data processing system of claim 21, wherein the data is a base Java class path.
-
23. A computer program product in a computer readable medium for serializing a data element, the computer program product comprising:
-
first instructions for receiving the data element for serialization, wherein data element includes a class name;
second instructions for replacing the class name with an indicator having a smaller size than the class name to form a modified data element; and
third instructions for serializing the modified data element.
-
-
24. A computer program product in a computer readable medium for deserializing a data object, the computer program product comprising:
-
first instructions for receiving a data element for deserialization;
second instructions for deserializing the data element; and
third instructions for replacing an indicator within the data element with a class name.
-
Specification