×

Coordinating resources using a volatile network intermediary

  • US 8,505,030 B2
  • Filed: 01/23/2008
  • Issued: 08/06/2013
  • Est. Priority Date: 11/16/2007
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a computer architecture including a communication medium, an intermediary resource manager, and an application with a plurality of consumers that consume messages from the communication medium, the intermediary resource manager situated between the application and the communication medium, the application supporting a state coordination pattern to coordinate state transitions between the application and accessible communication mediums, wherein the communication medium does not support the state coordination pattern of the application, a method for coordinating state between the communication medium and the application based on the state coordination pattern, notwithstanding that the communication medium does not support the state coordination pattern, the method comprising:

  • receiving a message request from a consumer in the plurality of consumers, wherein the message request is requesting a message from the communication medium through the intermediary resource manager, for processing;

    the intermediary resource manager identifying an available message available at the communication medium;

    an act of the intermediary resource manager implementing at least part of the state coordination pattern to facilitate processing of the available message, wherein the intermediary resource manager including a message list which is a temporary queue listing enumerated message IDs for messages, wherein the intermediary resource manager including a consumer list which is a temporary queue listing competing consumers for messages, wherein the intermediary resource manager including a lock table comprising corresponding message IDs and consumer IDs, and wherein the intermediary resource manager enumerates the message list to find a message that is not present in the lock table;

    the intermediary resource manager implementing the state coordination pattern on behalf of the communication medium to coordinate state between the application and the communication medium, the intermediary resource manager appearing to the consumer as the communication medium, wherein the intermediary resource manager provides an implementation of the state coordination pattern for the application and manipulates the state of the communication medium which does not support the state coordination pattern of the application such that the states of the application and the communication medium are coordinated as if the communication medium supported the state coordination pattern directly despite that the communication medium does not support the state coordination pattern;

    the intermediary resource manager receiving a signal from the requesting consumer indicating the results of an attempt to update application state based on the contents of the available message;

    an act of determining what the corresponding communication medium state is to be based on and in response to the received signal indicating the results of attempting to update the application state; and

    an act of the intermediary resource manager implementing at least a second part of the state coordination pattern on behalf of the communication medium to coordinate the corresponding communication medium state with the application state.

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