Rate monitoring of connections in a communications network using history buffer
First Claim
1. A method of measuring a rate of message element traffic over a message path in a communications network, the message path including at least one connection and being associated with a maximum rate of transmission of message elements thereover, the method comprising the steps of:
- (a) periodically polling the message path for transmission of a message element, the periodic polling being performed at a polling rate associated with polling intervals which are at least as frequent as the maximum rate of transmission;
(b) if transmission of a message element is detected during a said polling interval, incrementing a running count of such detection, the running count of detection being associated with the connection over which the message element was detected;
(c) if transmission of a message element is not detected during a said polling interval, incrementing a running count of such non-detection, the running count of non-detection being associated with inactivity of the message path;
(d) during each said polling interval, retrieving an oldest stored value from a memory comprising a preselected number of stored values each corresponding respectively to an equal number of most recent sequential events of detection and non-detection resulting from said periodic polling, wherein each stored value which represents an event of detection corresponds to an identifier denoting the connection over which the message element was detected and wherein each stored value which represents an event of non-detection corresponds to an identifier denoting inactivity of the message path;
(e) following step (d) and during each said polling interval, decrementing the running count of detection associated with the connection corresponding to the identifier of the retrieved value if the retrieved value represents an event of detection and decrementing the running count of non-detection if the retrieved value represents inactivity of the message path;
(f) following step (e) and during each said polling interval, replacing in the memory the retrieved value with a value corresponding to an identifier which denotes the connection over which the message element was detected if transmission of a message element was detected in step (b) and otherwise replacing in the memory the retrieved value with a value corresponding to an identifier which denotes inactivity of the message path if transmission of a message element was not detected in step (c);
(g) repeating each of steps (a) through (f) for so long as said measurement is undertaken; and
wherein the rate of message element traffic over a connection of the message path is proportional to the running count of detection associated with the connection.
8 Assignments
0 Petitions
Accused Products
Abstract
There is provided a method and device for measuring a rate of message element traffic over a message path in a communications network. The path includes at least one connection and is associated with a maximum rate of transmission. The path is periodically polled for transmission of a message element, the polling being performed at a polling rate associated with polling intervals which are at least as frequent as the maximum rate of transmission. If transmission of a message element is detected during a polling interval, a running count of such detection is incremented, the running count of detection being associated with the connection over which the message element was detected. If transmission of a message element is not detected, a running count of such non-detection is incremented, the running count of non-detection being associated with inactivity of the message path. During each polling interval, an oldest stored value is retrieved from a memory which includes a preselected number of stored values that correspond to an equal number of most recent sequential events of detection and non-detection. Each stored value which represents an event of detection corresponds to an identifier denoting the connection over which the message element was detected. Each stored value which represents an event of non-detection corresponds to an identifier denoting inactivity of the message path. Following retrieval during each polling interval, the running count of detection associated with the connection corresponding to the identifier of the retrieved value is decremented if the retrieved value represents an event of detection. The running count of non-detection is decremented if the retrieved value represents inactivity. The retrieved value is thereafter replaced with a value corresponding to an identifier which denotes the connection over which the message element was detected if transmission was detected. Otherwise the retrieved value is replaced in the memory with a value corresponding to an identifier which denotes inactivity if transmission was not detected. The foregoing steps are repeated for so long as the measurement is undertaken. The rate of message element traffic over a connection of the message path is proportional to the running count of detection associated with the connection.
-
Citations
29 Claims
-
1. A method of measuring a rate of message element traffic over a message path in a communications network, the message path including at least one connection and being associated with a maximum rate of transmission of message elements thereover, the method comprising the steps of:
-
(a) periodically polling the message path for transmission of a message element, the periodic polling being performed at a polling rate associated with polling intervals which are at least as frequent as the maximum rate of transmission;
(b) if transmission of a message element is detected during a said polling interval, incrementing a running count of such detection, the running count of detection being associated with the connection over which the message element was detected;
(c) if transmission of a message element is not detected during a said polling interval, incrementing a running count of such non-detection, the running count of non-detection being associated with inactivity of the message path;
(d) during each said polling interval, retrieving an oldest stored value from a memory comprising a preselected number of stored values each corresponding respectively to an equal number of most recent sequential events of detection and non-detection resulting from said periodic polling, wherein each stored value which represents an event of detection corresponds to an identifier denoting the connection over which the message element was detected and wherein each stored value which represents an event of non-detection corresponds to an identifier denoting inactivity of the message path;
(e) following step (d) and during each said polling interval, decrementing the running count of detection associated with the connection corresponding to the identifier of the retrieved value if the retrieved value represents an event of detection and decrementing the running count of non-detection if the retrieved value represents inactivity of the message path;
(f) following step (e) and during each said polling interval, replacing in the memory the retrieved value with a value corresponding to an identifier which denotes the connection over which the message element was detected if transmission of a message element was detected in step (b) and otherwise replacing in the memory the retrieved value with a value corresponding to an identifier which denotes inactivity of the message path if transmission of a message element was not detected in step (c);
(g) repeating each of steps (a) through (f) for so long as said measurement is undertaken; and
wherein the rate of message element traffic over a connection of the message path is proportional to the running count of detection associated with the connection. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 21)
-
-
11. An apparatus for measuring a rate of message element traffic over a message path in a communications network, the message path including at least one connection and being associated with a maximum rate of transmission of message elements thereover, the apparatus comprising:
-
(a) an input port for receiving message elements which are transmitted over the message path;
(b) a timer producing a clock rate which is at least as frequent as the maximum rate of transmission;
(c) a processor for periodically polling the input port for transmission of a message element, the periodic polling being performed at polling intervals which are synchronized to the clock rate of the timer and;
(c.1) if transmission of a message element is detected during a polling interval, wherein the processor increments a running count of such detection, the running count of detection being associated with the connection over which the message element was detected; and
(c.2) if transmission of a message element is not detected during a polling interval, wherein the processor increments a running count of such non-detection, the running count of non-detection being associated with inactivity of the message path;
(d) a memory accessible by said processor and comprising a preselected number of stored values each corresponding respectively to an equal number of most recent sequential events of detection and non-detection resulting from said periodic polling, each stored value which represents an event of detection corresponding to an identifier denoting the connection over which the message element was detected and each stored value which represents an event of non-detection corresponding to an identifier denoting inactivity of the message path, and wherein;
(d.1) during each polling interval the processor retrieves an oldest stored value from the memory and decrements the running count of detection associated with the connection corresponding to the identifier of the retrieved value if the retrieved value represents an event of detection and decrements the running count of non-detection if the retrieved value represents inactivity of the message path;
(d.2) after decrementing such running count and during the same polling interval, the processor replaces the retrieved value in the memory with a value corresponding to an identifier which denotes the connection over which the message element was detected if transmission of a message element was detected over the input port during the same polling interval and otherwise the processor replaces in the memory the retrieved value with a value corresponding to an identifier which denotes inactivity of the message path if transmission of a message element was not detected over the input port during the same polling interval; and
wherein the rate of message element traffic over a connection of the message path is proportional to the running count of detection associated with the connection. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20, 22)
-
-
23. A method of measuring a rate of message element traffic over a message path in a communications network,, said message path including at least one flow of message element traffic and being associated with a maximum rate of transmission of message elements thereover, said message path being polled periodically for transmission of a message element, said polling being performed at a polling rate associated with polling intervals which are at least as frequent as said maximum rate of transmission, said method comprising the steps of:
-
(a) establishing a running count of non-detection of a message element transmitted over said message path, said running count of non-detection representing events of inactivity of said message path for a predetermined number of sequential polling intervals; and
(b) for each flow of message element traffic of said message path, establishing a respective running count of detection of a message element being transmitted therein each said running count of detection representing a number of events of detection of a message element transmitted in a corresponding flow of message element traffic for said predetermined number of sequential polling intervals; and
wherein said predetermined number of sequential polling intervals reflects, for every polling interval, most recent said events of detection and of inactivity of said message path, and wherein said rate of message element traffic in said corresponding flow of message element traffic of said message path for said predetermined number of sequential polling intervals is proportional to said running count of detection for said corresponding flow of message element traffic. - View Dependent Claims (24, 25, 26, 27, 28, 29)
(c) during a current polling interval, retrieving an oldest stored identifier from said memory;
wherein said running count of non-detection is established during each said polling interval by; (a1) decrementing said running count of non-detection following said step (c) if said identifier retrieved during said current polling interval represents inactivity of said message path; and
(a2) incrementing said running count of non-detection if transmission of a message element is not detected during said current polling interval;
and wherein said running counts of detection are established during each said polling interval by; (b1) decrementing said running count of detection corresponding to said connection denoted by said retrieved identifier following said step (c) if said identifier retrieved during said current polling interval represents an event of detection; and
(b2) incrementing said running count of detection corresponding to said connection in which said message element is transmitted if transmission of a message element is detected during said cue polling interval.
-
-
29. A method of measuring a rate of message element traffic over a message path in a communications network according to claim 28, wherein recording said most recent said events of detection and of inactivity of said message path in said memory replace said retrieved identifier in said memory with one of said identifiers (i) and (ii) as aforesaid.
Specification