Inter-applicataion interface system
First Claim
1. A method of operating a digital computer system in which a first process in said digital computer system invokes a second process in said digital computer system, said digital computer system having a system executive for maintaining a plurality of current process contexts and for scheduling and de-scheduling execution of processes, each of said processes having a respective one of said current process contexts, said method comprising the steps of:
- (a) said first process transmitting to said system executive an invocation request for invocation of said second process, said invocation request including a first callback parameter identifying a first entry point of said first process;
(b) said system executive receiving said invocation request from said first process, and in response, creating a process context for said second process and scheduling said second process for execution with said first callback parameter;
said second process being executed with said first callback parameter in response to being scheduled by said system executive for execution with said first callback parameter;
said second process returning a first acknowledgement to said first entry point of said first process, said first acknowledgement including an invocation status indicating whether said second process is in a condition for beginning processing for said first process;
(c) when said invocation status indicates that said second process is in a condition for beginning processing for said first process, said first process responding to said first acknowledgement by sending an initialize session request to said second process;
said initialize session request including a second callback parameter identifying a second entry point of said first process;
(d) said second process responding to said initialize session request by adjusting address space for performing data processing for said first process, and returning a second acknowledgement to said second entry point of said first process, said second acknowledgement including an initialization status indicating whether said second process has adjusted its address space for performing said data processing for said first process;
(e) when said initialization status indicates that said second process has adjusted its address space, said first process responding to said second acknowledgement by sending a data transfer request to said second process, said data transfer request including identification of data to be transferred from memory to said second process, said data transfer request also including a third callback parameter identifying a third entry point of said first process;
(f) said second process responding to said data transfer request by attempting to access said data in said memory, and returning a third acknowledgement to said third entry point of said first process, said third acknowledgement including a data transfer status indicating whether said data in said memory is successfully accessed by said second process, and when said data in said memory is successfully accessed by said second process, said second process obtaining said data from said memory;
(g) when said data transfer status indicates that said second process has successfully accessed said data in said memory, said first process responding to said third acknowledgement by sending an execute session request to said second process, said execute session request identifying at least one operation to be performed by said second process in connection with said data, said execute session request including a fourth callback parameter identifying a fourth entry point in said first process;
(h) said second process responding to said execute session request by performing said at least one operation in connection with said data to modify said data, transmitting the modified data to said first process, and transmitting a session exit request to said fourth entry point of said first process upon completion of performance of said at least one operation;
(i) in response to said session exit request, said first process deciding whether to either request additional processing by said second process or to request termination of said second process; and
when deciding to request additional processing by said second process, sending a request for additional processing to said second process, and when deciding to terminate said second process, sending a termination request to said second process; and
(j) said second process performing said additional processing upon receiving said request for additional processing, and terminating upon receiving said termination request.
2 Assignments
0 Petitions
Accused Products
Abstract
A new processing system includes a child system and a parent system. The child system performs operations in a session, and includes a child application and a child-parent interface for receiving communications from a parent to control said child application. The parent system includes a child application invocation portion for enabling a child application to be invoked, a parent-child interface for generating communication for transfer to said child-parent interface, and a parent application for controlling the child application invocation portion and said child parent interface to enable invocation of said child application and for thereafter enabling said child application to perform processing operations in a series of processing sessions.
-
Citations
21 Claims
-
1. A method of operating a digital computer system in which a first process in said digital computer system invokes a second process in said digital computer system, said digital computer system having a system executive for maintaining a plurality of current process contexts and for scheduling and de-scheduling execution of processes, each of said processes having a respective one of said current process contexts, said method comprising the steps of:
-
(a) said first process transmitting to said system executive an invocation request for invocation of said second process, said invocation request including a first callback parameter identifying a first entry point of said first process; (b) said system executive receiving said invocation request from said first process, and in response, creating a process context for said second process and scheduling said second process for execution with said first callback parameter;
said second process being executed with said first callback parameter in response to being scheduled by said system executive for execution with said first callback parameter;
said second process returning a first acknowledgement to said first entry point of said first process, said first acknowledgement including an invocation status indicating whether said second process is in a condition for beginning processing for said first process;(c) when said invocation status indicates that said second process is in a condition for beginning processing for said first process, said first process responding to said first acknowledgement by sending an initialize session request to said second process;
said initialize session request including a second callback parameter identifying a second entry point of said first process;(d) said second process responding to said initialize session request by adjusting address space for performing data processing for said first process, and returning a second acknowledgement to said second entry point of said first process, said second acknowledgement including an initialization status indicating whether said second process has adjusted its address space for performing said data processing for said first process; (e) when said initialization status indicates that said second process has adjusted its address space, said first process responding to said second acknowledgement by sending a data transfer request to said second process, said data transfer request including identification of data to be transferred from memory to said second process, said data transfer request also including a third callback parameter identifying a third entry point of said first process; (f) said second process responding to said data transfer request by attempting to access said data in said memory, and returning a third acknowledgement to said third entry point of said first process, said third acknowledgement including a data transfer status indicating whether said data in said memory is successfully accessed by said second process, and when said data in said memory is successfully accessed by said second process, said second process obtaining said data from said memory; (g) when said data transfer status indicates that said second process has successfully accessed said data in said memory, said first process responding to said third acknowledgement by sending an execute session request to said second process, said execute session request identifying at least one operation to be performed by said second process in connection with said data, said execute session request including a fourth callback parameter identifying a fourth entry point in said first process; (h) said second process responding to said execute session request by performing said at least one operation in connection with said data to modify said data, transmitting the modified data to said first process, and transmitting a session exit request to said fourth entry point of said first process upon completion of performance of said at least one operation; (i) in response to said session exit request, said first process deciding whether to either request additional processing by said second process or to request termination of said second process; and
when deciding to request additional processing by said second process, sending a request for additional processing to said second process, and when deciding to terminate said second process, sending a termination request to said second process; and(j) said second process performing said additional processing upon receiving said request for additional processing, and terminating upon receiving said termination request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method of operating a digital computer system in which a first process in said digital computer system invokes a second process in said digital computer system, said digital computer system having a system executive for maintaining a plurality of current process contexts and for scheduling and de-scheduling execution of processes, each of said processes having a respective one of said current process contexts, said method comprising the steps of:
-
(a) said first process transmitting to said system executive an invocation request for invocation of said second process; (b) said system executive receiving said invocation request from said first process, and in response, creating a process context for said second process and scheduling said second process for execution;
said second process being executed in response to being scheduled by said system executive for execution;
said second process generating an action item list including action items indicating operations of said second process that are selectable by said first process, said action item list further including a respective call address in said second process for each of said action items, and said second process returning an acknowledgment of invocation to said first process;(c) after receiving said acknowledgement of invocation from said second process, said first process sending a first action request to said second process to perform a first operation of a first one of said action items, said first action request including an identification of a first one of said action items; (d) said second process responding to said first action request by using said action item list to find the respective call address for said first one of said action items and calling the call address for said first one of said action items to perform said first operation, and transmitting an acknowledgement of completion to said first process upon completion of performance of said first operation; (e) in response to said acknowledgement of completion, said first process deciding whether to either request additional processing by said second process or to request termination of said second process; and
when deciding to request additional processing by said second process, sending a second action request to said second process for processing of a second operation of a second action item, said second action request including an identification of a second one of said action items, and when deciding to terminate said second process, sending a termination request to said second process; and(f) said second process performing said second operation of said second action item upon receiving said second action request, and terminating upon receiving said termination request. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21)
-
Specification