Typed-data translation for platform independence
First Claim
Patent Images
1. A typed data object translation method, comprising:
- obtaining, from a first application, a typed data object having a first format with a first corresponding byte ordering;
creating a token in an operating system specified memory identifying the received typed data object;
receiving a request for the typed data object in a second format with a second corresponding byte ordering;
translating the received typed data object into the second format;
updating the token to identify the translated typed data object so that the token identifies both the received typed data object and the translated typed data object wherein the received typed data object remains in the first format and the translated typed data object is in the second format; and
sending the translated typed data object to a second application wherein sending to the second application comprises sending the token.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, computer program and device for the translation of typed data objects in a heterogeneous computational environment is described. The operating system (or installed shared code libraries) translates typed data objects from a first format (e.g., big-endian) to a second format (e.g., little-endian) if the application sending the object and the application receiving the object utilize different formats. By placing data object format translation capabilities into the operating system, the software development effort required to permit an application (e.g., a user-level application) to execute in a heterogeneous environment is significantly reduced.
15 Citations
22 Claims
-
1. A typed data object translation method, comprising:
-
obtaining, from a first application, a typed data object having a first format with a first corresponding byte ordering; creating a token in an operating system specified memory identifying the received typed data object; receiving a request for the typed data object in a second format with a second corresponding byte ordering; translating the received typed data object into the second format; updating the token to identify the translated typed data object so that the token identifies both the received typed data object and the translated typed data object wherein the received typed data object remains in the first format and the translated typed data object is in the second format; and sending the translated typed data object to a second application wherein sending to the second application comprises sending the token. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer system, comprising:
-
non-volatile storage coupled to a central processing unit; volatile storage coupled to the central processing unit; user-level applications, stored on the non-volatile storage; an operating system, stored on the non-volatile storage and comprising a plurality of functional components, wherein at least one of the plurality of components is configured to; obtain, from a first application, a typed data object having a first format with a first corresponding byte ordering; create a token in an operating system specified memory identifying the received typed data object; receive a request for the typed data object in a second format with a second corresponding byte ordering; translate the received typed data object into the second format; update the token to identify the translated typed data object so that the token identifies both the received typed data object and the translated typed data object wherein the received typed data object remains in the first format and the translated typed data object is in the second format; and send the translated typed data object to the a second application wherein sending to the second application comprises sending the token; and whereas the central processor unit is further configured to execute one or more of the user-level applications. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A program storage device, readable by a programmable control device, comprising instructions stored on the program storage device for causing the programmable control device to:
-
obtain, from a first application, a typed data object having a first format with a first corresponding byte ordering; create a token in an operating system specified memory identifying the received typed data object; receive a request for the typed data object in a second format with a second corresponding byte ordering; translate the received typed data object into the second format; update the token to identify the translated typed data object so that the token identifies both the received typed data object and the translated typed data object wherein the received typed data object remains in the first format and the translated typed data object is in the second format; and send the translated typed data object to a second application wherein sending to the second application comprises sending the token. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22)
-
Specification