Flow control of events based on threshold, grace period, and event signature
First Claim
1. A method for controlling sender events arriving at a recipient system, comprising:
- receiving an event at the recipient system transmitted from a sender, wherein the event is a request;
determining an event signature for the event transmitted by the sender, wherein the event signature can be determined as a billing category in one case, and wherein the event signature can be determined as an ordering category in another case;
calculating an elapsed time between the event received and a previous event from the sender;
when the elapsed time is less than or equal to a predetermined critical time, further comprising;
determining when a counter is equal to or greater than a maximum value for the counter;
when the counter is equal to or greater than the maximum value for the counter, rejecting the event such that the event is not processed;
when the counter is less than the maximum value for the counter, incrementing the counter by an increment factor and processing the event;
when the elapsed time is greater than the predetermined critical time, determining when the elapsed time is less than or equal to a grace period and when the counter is greater than zero;
when the elapsed time is less than or equal to the grace period and when the counter is greater than zero, decrementing the counter by a decrement factor and processing the event; and
when the elapsed time is greater than the grace period and when the counter is not greater than zero, setting the counter to zero and processing the event;
wherein the predetermined critical time, the grace period, the maximum value for the counter, the increment factor, and the decrement factor are set based on the event signature for the event; and
wherein based on a detected pattern of the sender, the recipient system automatically adjusts the increment factor and the decrement factor.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for controlling sender events arriving at a recipient system is provided. An event transmitted from a sender is received at recipient system, and an event signature is determined. An elapse time between received event and a previous event is calculated. If elapse time is less than or equal to a critical time, it is determined if a counter is equal to or greater than a maximum value. If yes, event is rejected. If not, counter is incremented and the event is processed. If elapse time is greater than critical time, it is determined if elapse time is less than or equal to a grace period and if counter is greater than zero. If yes, counter is decremented and the event is processed. If not, counter is set to zero and event is processed. The critical time, maximum value, and increment/decrement factor are set based on the event signature.
-
Citations
19 Claims
-
1. A method for controlling sender events arriving at a recipient system, comprising:
-
receiving an event at the recipient system transmitted from a sender, wherein the event is a request; determining an event signature for the event transmitted by the sender, wherein the event signature can be determined as a billing category in one case, and wherein the event signature can be determined as an ordering category in another case; calculating an elapsed time between the event received and a previous event from the sender; when the elapsed time is less than or equal to a predetermined critical time, further comprising; determining when a counter is equal to or greater than a maximum value for the counter; when the counter is equal to or greater than the maximum value for the counter, rejecting the event such that the event is not processed; when the counter is less than the maximum value for the counter, incrementing the counter by an increment factor and processing the event; when the elapsed time is greater than the predetermined critical time, determining when the elapsed time is less than or equal to a grace period and when the counter is greater than zero; when the elapsed time is less than or equal to the grace period and when the counter is greater than zero, decrementing the counter by a decrement factor and processing the event; and when the elapsed time is greater than the grace period and when the counter is not greater than zero, setting the counter to zero and processing the event; wherein the predetermined critical time, the grace period, the maximum value for the counter, the increment factor, and the decrement factor are set based on the event signature for the event; and wherein based on a detected pattern of the sender, the recipient system automatically adjusts the increment factor and the decrement factor. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A recipient system configured to control sender events arriving at the recipient system, comprising:
-
memory for storing one or more programs for controlling sender events arriving at the recipient system; and a processor, functionally coupled to the memory, the processor being responsive to computer-executable instructions contained in the program and operative to; receiving an event transmitted from a sender; determining an event signature for the event transmitted by the sender, wherein the event signature can be determined as a billing category in one case, and wherein the event signature can be determined as an ordering category in another case; calculating an elapsed time between the event and a previous event from the sender; determining when the elapsed time is less than or equal to a predetermined critical time, wherein a counter is increased by an increment factor when the elapsed time is less than or equal to the predetermined critical time; when the elapsed time is greater than the predetermined critical time, determining when the elapsed time is less than or equal to a grace period and when the counter is greater than zero; when the elapsed time is less than or equal to the grace period and when the counter is greater than zero, decrementing the counter by a decrement factor and processing the event; and when the elapsed time is greater than the grace period and when the counter is not greater than zero, setting the counter to zero and processing the event; wherein the predetermined critical time, the grace period, the maximum value for the Counter, the increment factor, and the decrement factor are set based on the event signature for the event; and wherein based on a detected pattern of the sender, the recipient system automatically adjusts the increment factor and the decrement factor. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer program product, tangibly embodied on a computer readable medium, the computer program product including instructions for causing a recipient system to execute a method for controlling sender events arriving at the recipient system, comprising:
-
receiving an event transmitted from a sender; determining an event signature for the event transmitted by the sender, wherein the event signature can be determined as a billing category in one case, and wherein the event signature can be determined as an ordering category in another case; calculating an elapsed time between the event received and a previous event from the sender; when the elapsed time is less than or equal to a predetermined critical time, further comprising; determining when a counter is equal to or greater than a maximum value for the counter; when the counter is equal to or greater than the maximum value for the counter, rejecting the event such that the event is not processed; when the counter is less than the maximum value for the counter, incrementing the counter by an increment factor and processing the event; when the elapsed time is greater than the predetermined critical time, determining when the elapsed time is less than or equal to a grace period and when the counter is greater than zero; when the elapsed time is less than or equal to the grace period and when the counter is greater than zero, decrementing the counter by a decrement factor and processing the event; and when the elapsed time is greater than the grace period and when the counter is not greater than zero, setting the counter to zero and processing the event; wherein the predetermined critical time, the maximum value for the counter, the grace period, the increment factor, and the decrement factor are set based on the event signature for the event; and wherein based on a detected pattern of the sender, the recipient system automatically adjusts the increment factor and the decrement factor. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification