Method and apparatus for data transfer across a network
First Claim
1. A method for communication in a distributed object-oriented data processing environment, comprising:
- sending from a first data processing apparatus to a second data processing apparatus a request to retrieve an item from the second data processing apparatus and send the item to the first data processing apparatus, the request including a first object which is targeted at a target data processing object that is included in the second data processing apparatus, the first object including data and an executable class function for applying a test condition to target data that is stored in the target data processing object;
responsive to receipt of the first object at the second data processing apparatus, executing the class function to apply the test condition to test the target data;
testing the target data to determine whether or not the item can be retrieved from the second data processing apparatus;
responsive to a positive result from the test, generating a positive reply to the item request and sending the positive reply from the second data processing apparatus to the first data processing apparatus;
wherein the first object instantiates a class which includes a class function for encoding the first object for transmission from the first data processing apparatus to the second data processing apparatus, and a class function for restoring itself when received at the second data processing apparatus;
wherein, responsive to attributes having been set for the first object, said encoding of the first object is performed in accordance with said attributes; and
wherein a first sender computer program at the first data processing apparatus is responsible for sending the first object, the first sender computer program being responsive to said set attributes to create an attributes object and to associate the attributes object with the first object.
3 Assignments
0 Petitions
Accused Products
Abstract
Provided are methods, computer programs and apparatus for communication in a distributed object-oriented data processing environment. Requests for retrieval of data items from another data processing apparatus include embedded objects having executable class functions for performing operations at the target data processing apparatus. This has the advantages of the request implicitly sending data as well as requesting data and allows the request to perform a test on data within an object. Objects within the request can be embedded within each other with different encryption and compression applied to the different objects. As well as achieving communication efficiencies, the ability to selectively encrypt components of a request can be used to provide greater security. For example a store may be able to interpret the request, but credit details may be separately encrypted such that only a bank can decrypt that subcomponent of the request.
20 Citations
13 Claims
-
1. A method for communication in a distributed object-oriented data processing environment, comprising:
-
sending from a first data processing apparatus to a second data processing apparatus a request to retrieve an item from the second data processing apparatus and send the item to the first data processing apparatus, the request including a first object which is targeted at a target data processing object that is included in the second data processing apparatus, the first object including data and an executable class function for applying a test condition to target data that is stored in the target data processing object; responsive to receipt of the first object at the second data processing apparatus, executing the class function to apply the test condition to test the target data; testing the target data to determine whether or not the item can be retrieved from the second data processing apparatus; responsive to a positive result from the test, generating a positive reply to the item request and sending the positive reply from the second data processing apparatus to the first data processing apparatus; wherein the first object instantiates a class which includes a class function for encoding the first object for transmission from the first data processing apparatus to the second data processing apparatus, and a class function for restoring itself when received at the second data processing apparatus; wherein, responsive to attributes having been set for the first object, said encoding of the first object is performed in accordance with said attributes; and wherein a first sender computer program at the first data processing apparatus is responsible for sending the first object, the first sender computer program being responsive to said set attributes to create an attributes object and to associate the attributes object with the first object.
-
-
2. The method according to claim 1, wherein the first object includes a data item identifier, a test condition and one or more data parameter values of a specified data type, said class function operating on the identifier, test condition and data values to test whether a data item within the target data processing object corresponds to the identifier and satisfies the test condition.
-
3. The method according to claim 1, wherein said positive reply to said item request includes the requested item.
-
4. The method according to claim 1, wherein said test condition comprises a comparison between data within the first object and data within the target data processing object.
-
5. The method according to claim 1, including the steps of:
-
in responsive to said positive test result, generating a second object implementing a verification request and sending the second object to a remote data processing apparatus to perform the requested verification check; and sending a result of the verification check to the second data processing apparatus; wherein the positive reply to the item request is generated in response to a positive verification result.
-
-
6. The method according to claim 5, wherein said generated second object includes a sub-component of the first object.
-
7. The method according to claim 6, wherein said sub-component includes financial information relevant to a user of the first data processing apparatus, a verification of said financial information being performed at the remote data processing apparatus.
-
8. The method according to claim 7, wherein the financial information is encapsulated within an embedded object of said first object, said embedded object instantiating a class which includes an executable class function for encoding the embedded object in accordance with set security attributes, for transmission in a secure form from said first data processing apparatus to said remote data processing apparatus.
-
9. The method according to claim 1, wherein said attributes include security attributes and said class function for encoding is adapted to encode the first object in a secure form.
-
10. The method according to claim 1, wherein said attributes include a compression attribute and said class function for encoding is adapted to encode the first object in a compressed form.
-
11. The method according to claim 1, wherein the first object instantiates an object class which includes a class function for object embedding, such that said first object includes one or more embedded objects, and wherein different attributes can be set for each embedded object.
-
12. The method according to claim 1, wherein the target data processing object instantiates a class which includes one or more class functions for performing operations in response to receipt of the first object.
-
13. The method according to claim 12, wherein said one or more class functions include a class function for responding to the received first object by generating a second object and sending it to a remote data processing apparatus, and for generating and sending the reply to the first object in response to a reply from the remote data processing apparatus.
Specification