A method for per-peer request delivery timeouts includes receiving a DIAMETER message at a DIAMETER Routing Agent, testing if the DIAMETER message is a request message destined for an associated peer, and if said test is affirmative, then retrieving a preset timeout associated with that peer; initiating a timeout timer with said preset timeout; and forwarding the DIAMETER request message to said peer. The disclosure provides additional steps with respect to stopping the timer in the event that a response message is received prior to the timer expiring; or alternatively, either resending the request or providing an unable_to_deliver response in the event the timer does expire. The method for per-peer request delivery timeouts provides for fine tuning timeout periods according to the networks to which the DIAMETER peers are connected. The method is particularly useful for reducing the amount of time waiting for response messages which will not be forthcoming.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A method performed by a DIAMETER Routing Agent (DRA) for processing a DIAMETER message associated with a peer of said DRA, the method comprising: receiving said DIAMETER message at the DRA; testing if said DIAMETER message is a request message destined for an associated peer, and if said test is affirmative, then retrieving a preset timeout associated with that peer; initiating a timeout timer with said preset timeout; and forwarding said DIAMETER request message to said peer.
2. The method as claimed in claim 1 , wherein, after said timeout timer times out, taking a preselected timeout action.
3. The method as claimed in claim 2 , wherein said preselected timeout action comprises: resending said DIAMETER request message to said peer; restarting a timeout counter with said preset timeout; and flagging that the timeout timer has expired once.
4. The method as claimed in claim 2 , wherein said preselected timeout action comprises: sending an unable_to_deliver response message.
5. The method as claimed in claim 1 , wherein, after a negative result of the test step, testing if said DIAMETER message is a response message from a peer with a running timeout timer, and if an answer is affirmative then, stopping said running timeout timer; and processing said response message.
6. The method as claimed in claim 5 , wherein, after a negative result of the test step of whether said DIAMETER message is a response message, then processing said response message.
7. A non-transitory machine readable storage medium encoded with instructions for execution by a DIAMETER Routing Agent (DRA) for processing a DIAMETER message associated with a peer of said DRA, the non-transitory machine readable storage medium comprising: instructions for receiving a DIAMETER message at the DRA; instructions for testing if said DIAMETER message is a request message destined for an associated peer, and if said test is affirmative, then instructions for retrieving a preset timeout associated with that peer; instructions for initiating a timeout timer with said preset timeout; and instructions for forwarding said DIAMETER request message to said peer.
8. The method of claim 1 , wherein the DRA supports use of inverse message contexts.
9. The method of claim 1 , further comprising: associating a timeout value with each peer.
10. The method of claim 9 , wherein the timeout value is associated according to an expected response time of each peer.
11. The method of claim 9 , wherein the timeout value is associated with egress IP addresses of each peer.
12. The method of claim 1 , further comprising: associating timeout values on a per-host basis.
13. The method of claim 1 , further comprising: associating timeout values on a per-realm basis.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
June 28, 2012
July 22, 2014
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.