Method and apparatus for messaging in the cloud
First Claim
1. A distributed message handling apparatus, comprising:
- a data storage; and
a processor communicatively coupled to the data storage, the processor configured to;
retrieve a session state representing an initial session context based on a session id of a received message;
extract an event parameter from the received message, the event parameter associated with a session parameter relevant to the session state;
create a session context based on the session state and the session parameter;
execute the session context; and
create an updated session state based on the executed session context;
wherein the initial session context is different from the session context being executed; and
wherein the data storage comprises the updated session state associated with the state machine and a secondary session state associated with a second state machine of a second distributed message handling apparatus.
4 Assignments
0 Petitions
Accused Products
Abstract
The distributed message handling system is created by using session states to represent the plurality of session contexts in the message handling system. The session states are flat representations of the session context which completely describe the session. Utilizing the session states to handle system message requests allows the message handling system to distribute the handling of the message requests to a plurality of state machines. Advantageously, the distributed messaging system allows the message handling system to dynamically allocate message handling resources to application instances based on demand. Such dynamic allocation allows providers to efficiently allocate resources to meet demand while meeting application execution demands.
31 Citations
21 Claims
-
1. A distributed message handling apparatus, comprising:
-
a data storage; and a processor communicatively coupled to the data storage, the processor configured to; retrieve a session state representing an initial session context based on a session id of a received message; extract an event parameter from the received message, the event parameter associated with a session parameter relevant to the session state; create a session context based on the session state and the session parameter; execute the session context; and create an updated session state based on the executed session context; wherein the initial session context is different from the session context being executed; and wherein the data storage comprises the updated session state associated with the state machine and a secondary session state associated with a second state machine of a second distributed message handling apparatus. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A distributed message handling apparatus in a distributed message handling system, the distributed message handling apparatus, comprising:
-
a data storage, the data storage comprising a session data store; and a processor communicatively coupled to the data storage, the processor configured to; receive a plurality of messages; forward at least a first message of the plurality of messages to a second distributed message handling apparatus in the distributed message handling system; and process at least a second message of the plurality of messages, the process comprising the processor configured to; retrieve a session state representing an initial session context from the session data store based on the second message; extract an event parameter from the received message, the event parameter associated with a session parameter relevant to the session state; create a session context based on the session state and the session parameter; execute the session context; create an updated session state based on the executed session context; and store the updated session state in the data storage; wherein the initial session context is different from the session context being executed; and wherein the data storage comprises the updated session state associated with the state machine and a secondary session state associated with a second state machine of a second distributed message handling apparatus. - View Dependent Claims (13, 14, 15, 16, 17, 18)
-
-
19. A method for handling a received message in a distributed message handling system, comprising:
-
at a processor communicatively coupled to a data storage, retrieving a session state representing an initial session context based on a session id of the received message; extracting, by the processor in cooperation with the data storage, an event parameter from the received message, the event parameter associated with a session parameter relevant to the session state; creating, by the processor in cooperation with the data storage, a session context based on the session state state and the session parameter; executing, by the processor in cooperation with the data storage, the session context; and creating, by the processor in cooperation with the data storage, an updated session state based on the executed session context; wherein the initial session context is different from the session context being executed; and wherein the data storage comprises the updated session state associated with the state machine and a secondary session state associated with a second state machine of a second distributed message handling apparatus. - View Dependent Claims (20, 21)
-
Specification