Typed-data translation for platform independence
First Claim
Patent Images
1. A typed data object translation method, comprising:
- receiving a typed data object having a first format byte ordering from a first application;
creating a token in an operating system specified memory identifying the received type data object;
storing the token in the memory;
receiving a request for the typed data object in a second format byte ordering;
translating the received typed data object into the second format byte ordering;
updating a data pointer associated with the token to indicate that the object type is big-endian or little-endian;
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; and
sending the translated typed data object to a second application.
2 Assignments
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.
-
Citations
14 Claims
-
1. A typed data object translation method, comprising:
-
receiving a typed data object having a first format byte ordering from a first application; creating a token in an operating system specified memory identifying the received type data object; storing the token in the memory; receiving a request for the typed data object in a second format byte ordering; translating the received typed data object into the second format byte ordering; updating a data pointer associated with the token to indicate that the object type is big-endian or little-endian; 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; and sending the translated typed data object to a second application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14)
-
-
13. A computer system, comprising:
-
a central processing unit; non-volatile storage coupled to the central processing unit; volatile storage coupled to the central processing unit; applications, stored on the non-volatile storage, adapted to be executed by the central processing unit from the volatile storage; an operating system application, stored on the non-volatile storage and comprising a plurality of functional components, adapted to be executed by the central processing unit from the volatile storage, wherein at least one of the plurality of components is adapted to— receive a typed data object having a first format byte ordering from a first application, store 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 byte ordering, translate the received typed data object into the second format byte ordering, update a data pointer associated with the token to indicate that the object type is big-endian or little endian, 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, and send the translated typed data object to a second application.
-
Specification