×

Dispatch mechanism for coordinating application and communication medium state

  • US 8,719,841 B2
  • Filed: 10/23/2009
  • Issued: 05/06/2014
  • Est. Priority Date: 11/16/2007
  • Status: Expired due to Fees
First Claim
Patent Images

1. At a computer system including one or more processors and system memory, the computer system also including a communication medium, a dispatcher, and an application, the dispatcher and the communication medium supporting a peek lock state coordination pattern to coordinate state transitions between the communication medium and any accessible applications, a method for coordinating state between the communication medium and the application in accordance with the peek lock state coordination pattern, the method comprising:

  • an act of the dispatcher interposed between an application and a communication medium sending a message request to the communication medium, the message request requesting a next available message from the communication medium on behalf of the application and which initiates a lock of the next available message by the communication medium;

    an act of the dispatcher receiving a view of content of a message comprising the next available message from the communication medium which has been locked by the communication medium following the response to the request from the dispatcher, wherein the dispatcher receiving the content view is indicative of the communication medium having locked the message at the communication medium for access by the dispatcher and such that the message will remain locked at the communication medium to prevent any additional access to the message directly from the communication medium until a dispatcher signal is sent to the communication medium from the dispatcher that indicates that the message is to be unlocked or deleted according to the peek lock state coordination pattern;

    an act of the dispatcher offering the content view to the application, even though the message remains locked at the communication medium;

    an act of the dispatcher observing an application signal, the application signal indicating whether the application successfully updated an application state for the application based on the content view;

    wherein the application does not natively support communication state updates or is unaware of the peek and lock state coordination pattern of the communication medium, such that the application is unable to update the communication medium state; and

    an act of the dispatcher sending a dispatcher signal to the communication medium, the dispatcher signal indicating how the communication medium is to update the communication medium state on behalf of the application, the dispatcher signal being based on the observed signal and in accordance with the peek lock state coordination pattern, the dispatcher signal indicating that the next available message is to be deleted when the application signal indicates the application state was successfully updated and the dispatcher signal indicating that the next available message is to be unlocked at the communication medium when the application signal indicates that updating the application state was unsuccessful.

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