×

Inter-applicataion interface system

  • US 5,175,854 A
  • Filed: 05/29/1992
  • Issued: 12/29/1992
  • Est. Priority Date: 06/19/1989
  • Status: Expired due to Term
First Claim
Patent Images

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 all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×