Method and apparatus for coordination of client/server processes
    1.
    发明申请
    Method and apparatus for coordination of client/server processes 有权
    用于协调客户端/服务器进程的方法和装置

    公开(公告)号:US20030074483A1

    公开(公告)日:2003-04-17

    申请号:US10157764

    申请日:2002-05-28

    Inventor: Martin A. Minow

    CPC classification number: G06F9/466 H04L67/42

    Abstract: The invention provides for the coordination of client/server processes. One or more embodiments provide a completion object comprised of various states of completion of a client request. The completion object may be manipulated to transition from one state to another by both the client and server. The following states of completion may be provided: idle, ready, active, completing, completed, and acknowledged. In the idle state, the completion object is obtained by the client (by constructing a new object or retrieving an existing object that has been recycled). In the ready state, the request has been initialized but not yet issued to the server or I/O device. In the active state, the server processes the I/O request. In the completing state, the server has completed the I/O operations requested but has not yet stored the results. In the completed state, the server stores the results to be returned to the client and notifies the client. At the acknowledged state, the client examines the results, performs additional operations and frees up the completion object for use by another client request. Depending on the state of the completion object, a request to cancel the I/O operations may require varying actions. The completion object provides the ability to easily and quickly determine where in the completion process an I/O request is. Further, when a client request is canceled, the completion object provides the ability to easily identify the actions necessary to properly cancel the request.

    Abstract translation: 本发明提供了客户端/服务器进程的协调。 一个或多个实施例提供了由客户端请求完成的各种状态组成的完成对象。 可以通过客户端和服务器两者来操纵完成对象以从一个状态转换到另一个状态。 可以提供以下完成状态:空闲,准备,主动,完成,完成和确认。 在空闲状态下,完成对象由客户端获取(通过构建新对象或检索已被回收的现有对象)。 在就绪状态下,请求已初始化,但尚未发送到服务器或I / O设备。 在活动状态下,服务器处理I / O请求。 在完成状态下,服务器已完成请求的I / O操作,但尚未存储结果。 在完成状态下,服务器将要返回的结果存储到客户端并通知客户端。 在确认状态下,客户端检查结果,执行其他操作,并释放完成对象以供另一客户端请求使用。 根据完成对象的状态,取消I / O操作的请求可能需要不同的操作。 完成对象提供了轻松快速地确定完成过程中I / O请求的位置的能力。 此外,当客户端请求被取消时,完成对象提供了容易地识别正确地取消请求所需的动作的能力。

Patent Agency Ranking