Verifying and maintaining connection liveliness in a reliable messaging for web services environment
First Claim
1. At an initiator computer system in a Web Services (WS) environment, a method of maintaining connection liveliness for a sequence session between endpoints by utilizing Reliable Messaging protocol for WS (RM-WS protocol), the method comprising acts of:
- establishing a sequence session, identified by a unique sequence identifier, at an application layer between two endpoint applications in accordance with a RM-WS protocol;
identifying an inactivity timeout period for the sequence session, the inactivity timeout period representing an upper limit to the time that may pass without receiving a message for the sequence session;
calculating a keep-alive expiration timeout in accordance with an algorithm that is based on the inactivity timeout period;
based on the calculated keep-alive expiration timeout, sending a message that includes the unique sequence identifier;
receiving a message that includes the unique sequence identifier before the inactivity timeout period, which maintains the connection liveliness; and
based on the received message, resetting an inactivity timer for the inactivity timeout period such that the sequence session is kept alive.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention monitors the receipt of messages between two endpoints on established sequence session in accordance with a Reliable Messaging protocol for Web Services (RM-WS protocol). The messages received may be application or infrastructure messages (e.g., acknowledgement messages in accordance with the RM-WS protocol). Further, the present invention defines a time period known as the inactivity timeout, which is an upper limit to the time that may pass without receiving a message (either application or infrastructure) on the sequence session. Based on this inactivity timeout period, the present invention calculates time periods for sending idempotent infrastructure messages in accordance with the RM-WS protocol for verifying and maintaining connection liveliness.
139 Citations
46 Claims
-
1. At an initiator computer system in a Web Services (WS) environment, a method of maintaining connection liveliness for a sequence session between endpoints by utilizing Reliable Messaging protocol for WS (RM-WS protocol), the method comprising acts of:
-
establishing a sequence session, identified by a unique sequence identifier, at an application layer between two endpoint applications in accordance with a RM-WS protocol;
identifying an inactivity timeout period for the sequence session, the inactivity timeout period representing an upper limit to the time that may pass without receiving a message for the sequence session;
calculating a keep-alive expiration timeout in accordance with an algorithm that is based on the inactivity timeout period;
based on the calculated keep-alive expiration timeout, sending a message that includes the unique sequence identifier;
receiving a message that includes the unique sequence identifier before the inactivity timeout period, which maintains the connection liveliness; and
based on the received message, resetting an inactivity timer for the inactivity timeout period such that the sequence session is kept alive. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. At a computer system in a Web Services (WS) environment, a method of verifying connection liveliness for a sequence session between endpoint applications by utilizing Reliable Messaging protocol for WS (RM-WS protocol), the method comprising acts of:
-
establishing a sequence session, identified by a unique sequence identifier, at an application layer between two endpoint applications in accordance with a RM-WS protocol;
identifying an inactivity timeout period, the inactivity timeout period representing an upper limit to the time that may pass without exchanging a message between the two endpoints for the sequence session;
before the inactivity timeout period expires, receiving a message for verifying the connection liveliness, the message including a unique sequence identifier corresponding to the sequence session; and
based on the received message, resetting an inactivity timer for the inactivity timeout period such that the sequence session is kept alive. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25)
-
-
26. At an initiator computer system in a Web Services (WS) environment, a computer program product for implementing a method of maintaining connection liveliness for a sequence session between endpoints by utilizing Reliable Messaging protocol for WS (RM-WS protocol), the computer program product comprising one or more computer readable media having stored thereon computer executable instructions that, when executed by a processor, can cause the messaging system to perform the following:
-
establish a sequence session, identified by a unique sequence identifier, at an application layer between two endpoint applications in accordance with a RM-WS protocol;
identify an inactivity timeout period for the sequence session, the inactivity timeout period representing an upper limit to the time that may pass without receiving a message for the sequence session;
calculate a keep-alive expiration timeout in accordance with an algorithm that is based on the inactivity timeout period;
based on the calculated keep-alive expiration timeout, send a message that includes the unique sequence identifier;
receive a message that includes the unique sequence identifier before the inactivity timeout period, which maintains the connection liveliness; and
based on the received message, reset an inactivity timer for the inactivity timeout period such that the sequence session is kept alive. - View Dependent Claims (27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39)
-
-
40. At a computer system in a Web Services (WS) environment, a computer program product for implementing a method of verifying connection liveliness for a sequence session between endpoint applications by utilizing Reliable Messaging protocol for WS (RM-WS protocol), the computer program product comprising one or more computer readable media having stored thereon computer executable instructions that, when executed by a processor, can cause the messaging system to perform the following:
-
establish a sequence session, identified by a unique sequence identifier, at an application layer between two endpoint applications in accordance with a RM-WS protocol;
identify an inactivity timeout period, the inactivity timeout period representing an upper limit to the time that may pass without exchanging a message between the two endpoints for the sequence session;
before the inactivity timeout period expires, receive a message for verifying the connection liveliness, the message including a unique sequence identifier corresponding to the sequence session; and
based on the received message, reset an inactivity timer for the inactivity timeout period such that the sequence session is kept alive. - View Dependent Claims (41, 42, 43, 44, 45, 46)
-
Specification