Multi-level ager rings for tracking session life cycle
AssigneeJuniper Networks, Inc.
InventorJianwen K. Pi
Life of this patent
Estimating the term…
Abstract
A device may determine a session life cycle associated with a communication session. The session life cycle may indicate a time period associated with expiration of the communication session. The device may compare the session life cycle and a threshold value, and may determine that the session life cycle satisfies the threshold value based on comparing the session life cycle and the threshold value. The device may initialize multiple ager rings based on determining that the session life cycle satisfies the threshold value. The multiple ager rings may be used to monitor the expiration of the communication session. The device may monitor the expiration of the communication session using the multiple ager rings.
Claims20
A device, comprising:
- one or more processors to:
- initialize one or more ager rings;
- detect a session event;
- determine an event life cycle, associated with the session event, based on detecting the session event;
- determine an aging pointer position at an ager ring of the one or more ager rings;
- update a session pointer position, at the ager ring, based on the event life cycle and the aging pointer position,
- the aging pointer position being a first aging position;
- determine whether the first aging position satisfies a threshold;
- and
- update a second aging position on a higher-level ager ring based on determining that the first aging position satisfies the threshold.
A method, comprising:
- initializing, by a network device, one or more ager rings;
- monitoring, by the network device, for a session event;
- detecting, by the network device, the session event based on monitoring for the session event;
- determining, by the network device, an event life cycle, associated with the session event, based on detecting the session event,
- the event life cycle including a time period after which a session is to be terminated based on no additional session events occurring during the time period;
- determining, by the network device, an aging pointer position at an ager ring of the one or more ager rings;
- and
- updating, by the network device, a session pointer position, at the ager ring, based on the event life cycle and the aging pointer position,
- the aging pointer position being a first aging position;
- determining, by the network device, whether the first aging position satisfies a threshold;
- and
- updating, by the network device, a second aging position on a higher-level ager ring based on determining that the first aging position satisfies the threshold.
A non-transitory computer-readable medium storing instructions, the instructions comprising:
- one or more instructions that, when executed by one or more processors, cause the one or more processors to:
- initialize one or more ager rings;
- monitor for a session event or an aging event;
- detect the session event;
- determine an event life cycle, associated with the session event, based on detecting the session event;
- determine an aging pointer position at an ager ring of the one or more ager rings;
- update a session pointer position, at the ager ring, based on the event life cycle and the aging pointer position, the aging pointer position being a first aging position;
- determine whether the first aging position satisfies a threshold;
- and
- update a second aging position on a higher-level ager ring based on determining that the first aging position satisfies the threshold.
Dependencies are inferred from the claim text.