METHOD AND SYSTEM FOR GENERATING A MAPPING BETWEEN TYPES OF DATA
First Claim
1. A method in a computer system for identifying a sequence of routines for processing data, the computer system having a plurality of routines, each routine for inputting data of an input type and outputting data of an output type, the method comprising:
- providing pairs of alias types, each pair having an output type and input type wherein data of the output type can be processed by a routine for inputting data with the input type;
receiving data of a source type that is to be converted to a destination type;
identifying a sequence of routines such that a first routine in the sequence inputs data of the source type or of an alias type of the source type as indicated by the provided pairs of alias types, such that a last routine in the sequence outputs data of the destination type, and such that each intermediate routine in the sequence inputs data of the output type of the previous routine in the sequence or data of an alias type of the output type of the previous routine in the sequence as indicated by the provide pairs of alias types.
4 Assignments
0 Petitions
Accused Products
Abstract
A method and system for routing data of an source type to a target type is provided. The system has various routines for converting data in one type into data in another type. In one embodiment, the system receives an indication of a source type and identifies various sequences of routines that can convert the data from the source type to a target type. The system then coordinates the processing of the data by each routines in the sequences to the conversion of the data to the target type. The process of identifying the routines is referred to as “discovery.” The system also provides an aliasing mechanism by which compatible types can be identified. When identifying a sequence of routines, the system may check for routines that support compatible types. When a sequence of routines is identified, the system caches the identity of the sequence to facilitate identifying that sequence when the data of the source type is to be converted to the target type. The system also uses a mechanism for discovering sequences of routines from other computer systems. These other computer systems may broadcast various sequences of routines which are stored at the receiving computer system. A user may use a switchboard mechanism to direct data of a certain source type to one of the broadcasted sequences. This directing of the data to a certain source effects the routing of the data from one computer system to a device or routine on another computer system.
-
Citations
18 Claims
-
1. A method in a computer system for identifying a sequence of routines for processing data, the computer system having a plurality of routines, each routine for inputting data of an input type and outputting data of an output type, the method comprising:
-
providing pairs of alias types, each pair having an output type and input type wherein data of the output type can be processed by a routine for inputting data with the input type; receiving data of a source type that is to be converted to a destination type; identifying a sequence of routines such that a first routine in the sequence inputs data of the source type or of an alias type of the source type as indicated by the provided pairs of alias types, such that a last routine in the sequence outputs data of the destination type, and such that each intermediate routine in the sequence inputs data of the output type of the previous routine in the sequence or data of an alias type of the output type of the previous routine in the sequence as indicated by the provide pairs of alias types. - View Dependent Claims (2, 3, 4)
-
-
5. A method in a computer system for routing data of an output type to a target, the method comprising:
-
providing an identifier of a path for routing data of the output type to the target; providing an indication to route data of the output type to the target; receiving data of the output type; using the output type of the received data to retrieve the provided indication to route data of that output type to the target; using the target of the retrieved indication to retrieving the provided path identifier for that target; and routing data in accordance with the retrieved path. - View Dependent Claims (6, 7, 8, 9, 10)
-
-
11. A method in a computer system for determining a sequence of routines for converting data of a source type to a target type, the method comprising:
-
providing a plurality of routines, each routine having an input type and an output type; and identifying one or more routines of the sequence such that the output type of each routine in the sequence is compatible with the input type of the next routine in the sequence and wherein the input type of the first routine in the sequence is compatible with the source type and wherein the input type of the last routine in the sequence is compatible with the output type. - View Dependent Claims (12, 13)
-
-
14. A computer system for processing data, comprising:
-
a set of routines for processing data in an input type into an output type; a searching component that receives an indication of a source type and that identifies a sequence of routines for processing the data into a target type; a routing component that receives identifications of sequences of routines for routing data in a source type to a target; and a processing component that receives an indication of a source type and selects an identified sequence of routine for processing data of the source type. - View Dependent Claims (15, 16, 17, 18)
-
Specification