×

Method and apparatus for implementing recursive remote procedure calls

  • US 7,519,601 B2
  • Filed: 12/17/2004
  • Issued: 04/14/2009
  • Est. Priority Date: 12/17/2004
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for operating a database server, the method comprising:

  • receiving a database request message by a database server from a client, the database request message including a user-defined extension (UDE) portion to be processed by a UDE server;

    generating a procedure request by the database server, the procedure request formatted as a packet including a tag identifying the procedure request;

    establishing a call stack by the database server associated with the procedure request;

    transmitting the procedure request from the database server to the UDE server based on the UDE portion of the database request message;

    receiving the procedure request by the UDE server;

    establishing a call stack by the UDE server to manage processing of the procedure request received by the UDE server;

    determining if a response received from the UDE server by the database server is a procedure reply in response to the procedure request, the determining based on a comparison of the tag of the procedure request and a tag identifying the procedure reply;

    updating the call stack of the database server and the call stack of the UDE server in the instance the determination concludes the response received from the UDE server is not the procedure reply in response to the procedure request and is for an intermediate process between the database server and the UDE server to process the intermediate process;

    closing the call stack of the database server and the call stack of the UDE server in the instance the determination determines the response received from the UDE server by the database server is the procedure reply in response to the procedure request, the procedure reply formatted as a packet and including the tag identifying the procedure reply; and

    outputting a database reply to the client in the instance the determination concludes the response received from the UDE server is the procedure reply in response to the procedure request.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×