Data processing method, recording medium, and data processing apparatus
First Claim
1. A data processing method wherein a message is sent from a client object to a server object that includes two or more objects and said server object executes a processing in response to a request by said message and returns a result of said processing to said client object, said data processing method comprising the steps of:
- reserving a data area for storing said result of said processing executed by said server object upon sending said message from said client object to said server object;
delegating an authorization for returning said result of said processing executed by said server object to said client object between said two or more objects of said server object upon an execution of said processing by said server object in response to said request by said message;
storing in said data area said result of said processing executed by one of said two or more objects of said server object delegated with said authorization for returning said result of said processing; and
receiving by said client object said result of said processing executed by said server object by reading the data stored in said data area.
5 Assignments
0 Petitions
Accused Products
Abstract
Message passing is suitably performed even if there are a plurality of server objects, and even if a processing request is received and a processing result is returned by a different server object. When sending a message from a client object to a server object, a data area for storing a result of processing executed by the server object is reserved. In executing the processing by the server object, an authorization to return the processing result of the server object to the client object is delegated between the server objects. Then, the result of the processing executed by the object which was most recently delegated to possess the above authorization is stored in the data area. The client object then reads the data stored in the data area so as to receive the processing result by the server object.
-
Citations
8 Claims
-
1. A data processing method wherein a message is sent from a client object to a server object that includes two or more objects and said server object executes a processing in response to a request by said message and returns a result of said processing to said client object, said data processing method comprising the steps of:
-
reserving a data area for storing said result of said processing executed by said server object upon sending said message from said client object to said server object;
delegating an authorization for returning said result of said processing executed by said server object to said client object between said two or more objects of said server object upon an execution of said processing by said server object in response to said request by said message;
storing in said data area said result of said processing executed by one of said two or more objects of said server object delegated with said authorization for returning said result of said processing; and
receiving by said client object said result of said processing executed by said server object by reading the data stored in said data area. - View Dependent Claims (2)
controlling said client object for continuing processing after said client object has sent said message to said server object, and for reading said data stored in said data area when said client object requires said result of said processing executed by said server object;
controlling said client object for entering a waiting state when said result of said processing executed by said server object is not stored in said data area upon reading by said client object of said data stored in said data area; and
causing said client object to remain in said waiting state before said result of said processing executed by said server object is stored in said data area.
-
-
3. A recording medium whereon an operating system is recorded, wherein
said operating system includes: -
message-sending means for sending a message from a client object to a server object having a plurality of objects; and
authorization-delegating means for delegating an authorization between said plurality of objects, said message-sending means and said authorization-delegating means being used as application program interfaces for describing said pluarity of objects; and
whereinsaid operating system sends a message from said client object to said server object upon a request to execute said message-sending means, and reserves a data area for storing a result of a processing executed by said server object;
said operating system delegates an authorization for returning said result of said processing executed by said server object to said client object from a first object of said pluraity of objects of said server object to a second object of said plurality of objects of said server object upon a request to execute said authorization-delegating means; and
said operating system stores in said data area said result of said processing executed by one of said plurality of objects of said server object delegated with said authorization by said authorization-delegating means, upon completing said processing by said server object in response to said message sent to said server object by said message-sending means. - View Dependent Claims (4, 5)
said operating system causes said client object to enter a waiting state when said result of said processing executed by said server object is not stored in said data area upon reading by said client object according to said data reading means said data stored in said data area; and
said operating system causes said client object to remain in said waiting state before said result of said processing executed by said server object is stored in said data area.
-
-
6. A data processing apparatus comprising :
-
an operating system;
a recording medium whereon said operating system is recorded, said operating system including;
message-sending means for sending a message from a client object to a server object having a plurality of objects; and
authorization-delegating means for delegating an authorization between said plurality of objects, said message-sending means and said authorization-delegating means being used as application program interfaces for describing said plurality of objects; and
whereinsaid operating system sends a message from said client object to said server object upon a request to execute said message-sending means, and reserves a data area for storing a result of a processing executed by said server object;
said operating system delegates an authorization for returning said result of said processing executed by said server object to said client object from a first object of said plurality of objects of said server object to a second object of said plurality of objects of said server object upon request to execute said authorization-delegating means; and
said operating system stores in said data area said result of said processing executed by one of said plurality of objects of said server object delegated with said authorization by said authorization-delegating means, upon completing said processing by said server object in response to said message sent to said server object by said message-sending means. - View Dependent Claims (7, 8)
said operating system controls said client object for entering a waiting state when said result of said processing executed by said server object is not stored in said data area upon reading by said client object according to said data reading means said data stored in said data area; and
said operating system controls said client object for remaining in said waiting state before said result of said processing executed by said server object is stored in said data area.
-
Specification