Method and system for message transfer session management
First Claim
1. A method of managing a message transfer session between first and second nodes in a message queuing system, comprising the steps of:
- specifying by the first node to the second node a first acknowledgment timeout period for the second node to acknowledge receipt of packets sent by the first node and a first window size for message transfer from the second node to the first node;
returning by the second node to the first node a second acknowledgment timeout period for the first node to acknowledge receipt of packets sent by the second node and a second window size for message transfer from the first node to the second node;
transmitting from the first node to the second node multiple message packets up to the second window size;
sending a session acknowledgment from the second node to the first node indicating whether the multiple message packets from the first node are received by the second node;
wherein the session acknowledgment includes a window size field for specifying a new window size for message transfer to the second node to dynamically adjust a maximum number of message packets allowed to be transferred to the second node based on resources available to the second node.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for managing the transfer of message packets between first and second nodes in a message queuing system utilizes a session acknowledgment protocol to coordinate the two-way flow of packet transmission. In a session initiation phase, each node specifies a session acknowledgment timeout period and a transmission window size for transmission of message packets thereto. During the session, the first node transmits multiple message packets up to the window size set by the second node and stops to wait for a session acknowledgment from the second computer. The session acknowledgment may piggyback on a message packet sent to the first node. A window-size field in the session acknowledgment allows the receiving node to dynamically adjust the incoming data flow.
-
Citations
17 Claims
-
1. A method of managing a message transfer session between first and second nodes in a message queuing system, comprising the steps of:
-
specifying by the first node to the second node a first acknowledgment timeout period for the second node to acknowledge receipt of packets sent by the first node and a first window size for message transfer from the second node to the first node;
returning by the second node to the first node a second acknowledgment timeout period for the first node to acknowledge receipt of packets sent by the second node and a second window size for message transfer from the first node to the second node;
transmitting from the first node to the second node multiple message packets up to the second window size;
sending a session acknowledgment from the second node to the first node indicating whether the multiple message packets from the first node are received by the second node;
wherein the session acknowledgment includes a window size field for specifying a new window size for message transfer to the second node to dynamically adjust a maximum number of message packets allowed to be transferred to the second node based on resources available to the second node. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer-readable medium having computer-executable instructions for performing steps for transferring messages in a session between first and second nodes in a message queuing system, comprising:
-
specifying by the first node to the second node a first acknowledgment timeout period for the second node to acknowledge receipt of packets sent by the first node and a first window size for message transfer from the second node to the first node;
returning by the second node to the first node a second acknowledgment timeout period for the first node to acknowledge receipt of packets sent by the second node and a second window size for message transfer from the first node to the second node;
transmitting from the first node to the second node multiple message packets up to the second window size;
sending a session acknowledgment from the second node to the first node indicating whether the multiple message packets from the first node are received by the second node;
wherein the session acknowledgment includes a window size field for specifying a new window size for message transfer to the second node to dynamically adjust a maximum number of message packets allowed to be transferred to the second node based on resources available to the second node. - View Dependent Claims (7, 8)
-
-
9. A system for managing a message transfer session between first and second nodes in a message route in a message queuing system, comprising:
a first message queue (MQ) server on the first node and a second MQ server on the second node for handling transfer of message packets between the two nodes, the first and second MQ servers being programmed to exchange a first acknowledgment timeout period for the second node to acknowledge receipt of packets sent by the first node and a first window size for message transfer from the second node to the first node and a second acknowledgment timeout period for the first node to acknowledge receipt of packets sent by the second node and a second window size for message transfer from the first node to the second node, the first MQ server during the session transmitting to the second MQ server multiple message packets up to the second window size;
the second MQ server sending a session acknowledgment to the first MQ server for receipt of the multiple message packets;
wherein the session acknowledgment includes a window size field for specifying a new window size for message transfer to the second node to dynamically adjust a maximum number of message packets allowed to be transferred to the second node based on resources available to the second node.- View Dependent Claims (10, 11)
-
12. A method of communication between a first node and a second node in a message queuing system during a message transfer session between the first node and second node, comprising the steps of:
-
initiating a message transfer session by sending an establish-connection packet from the first node to the second node;
responding by the second node to the establish-connection packet from the first node by returning response packet to the first node indicating an agreement to establish a session;
sending, by the first node after receiving the response packet, to the second node a first communication parameter packet which includes a first receipt acknowledgment timeout period for the second node to acknowledge receipt of packets transmitted from the first node, and a first window size for packets transmitted from the second node;
returning by the second node to the first node a second communication parameter packet which includes a second receipt acknowledgment timeout period for the first node to acknowledge receipt of packets transmitted from the second node, and a second window size for packets transmitted from the first node to the second node;
transmitting from the first node to the second node message packets up to the second window size; and
acknowledging by the second node receipt of the message packets by sending a session acknowledgment which includes a sync acknowledgment field containing data representing a number of packets received in the transmission;
wherein the session acknowledgment includes a window size field which permits the second node to specify a new window size for message packet transmission to the second node to dynamically adjust a maximum number of message packets allowed to be transferred to the second node based on resources available to the second node. - View Dependent Claims (13, 14, 15, 16, 17)
-
Specification