# US 2015/0149625 A1 · Method and system for low-overhead latency profiling

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0149625 A1
- Document ID: US20150149625A1
- Status: Published application
- Kind: A1
- Application number: 14/554,026
- Filed: 2014-11-25
- Published: 2015-05-28
- Earliest claimed: 2013-11-25
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Louis Thomas Piro, JR.; Jens Kaemmerer; Ashish Srivastava; Diana Yuryeva
- Web page: https://patentgrep.com/patent/US20150149625A1

## CPC

- H04L 12/1403: {Architecture for metering, charging or billing}
- H04L 43/0858: {One way delays}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present disclosure provides a method, non-transitory computer-readable storage medium, and computer system that implement a latency monitoring and reporting service configured to collect and report latency of service transactions. In one embodiment, a chronicler object is generated and transmitted to a charging engine, where the chronicler object is configured to collect a set of time points as the chronicler object travels through one or more components of the charging engine. Upon return of the chronicler object, the set of time points is extracted from the chronicler object and added to one of a plurality of accumulator objects. Each accumulator object includes a plurality of sets of time points from a plurality of chronicler objects that are received during a reporting window. The plurality of sets of times points of each accumulator object is used to calculate the latency of service transactions.

## Claims

### Claim 1

A method comprising:
generating a chronicler object, in response to detection of a usage request message being generated, wherein
the chronicler object is associated with the usage request message;
transmitting the chronicler object to a charging engine, wherein
the chronicler object is configured to collect a set of time points as the chronicler object travels through the charging engine;
receiving the chronicler object from the charging engine; and
calculating latency of the usage request message using the set of time points.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
generating an accumulator object, wherein
the accumulator object is associated with a collection period, and
the chronicler object is received during the collection period;
extracting the set of time points from the chronicler object, in response to the receiving the chronicler object; and
adding the set of time points to the accumulator object.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
adding the accumulator object to a FIFO (first in first out) circular buffer upon expiration of the collection period, wherein
the FIFO circular buffer is configured to temporarily store a plurality of accumulator objects that are received at the FIFO circular buffer during a reporting window.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
retrieving a batch of accumulator objects from a plurality of FIFO circular buffers, in response to a request to generate a latency report for an entity, wherein
the entity comprises one or more components of the charging engine; and
calculating latency for the entity, using information contained in the batch of accumulator objects, wherein
the information comprises a plurality of sets of time points extracted from a plurality of chronicler objects that have collected the plurality of sets of time points in the one or more components of the charging engine.

### Claim 5 (depends on 4)

The method of claim 4, wherein the calculating the latency comprises:
determining a length of a time between a first timestamp collected at a first interception point in the charging engine and a second timestamp collected at a second interception point in the charging engine, wherein
the set of time points comprise the first timestamp and the second timestamp, and
the set of time points further comprise a first point label associated with the first interception point and a second point label associated with the second interception point.

### Claim 6 (depends on 4)

The method of claim 4, wherein the calculating the latency comprises:
summing one or more time spreads to calculate the latency for the entity, wherein
the set of time points comprise one or more time spreads that each indicate a length of time associated with the one or more components of the charging engine.

### Claim 7 (depends on 4)

The method of claim 4, further comprising:
generating the latency report for the entity, wherein
the latency report comprises
a visual graph that illustrates the latency for the entity over time, and
one or more latency statistics determined from the latency of the entity.

### Claim 8

A non-transitory computer-readable medium configured to store program instructions that, when executed on a processor, are configured to cause the processor to perform operations comprising:
generating a chronicler object, in response to detection of a usage request message being generated, wherein
the chronicler object is associated with the usage request message;
transmitting the chronicler object to a charging engine, wherein
the chronicler object is configured to collect a set of time points as the chronicler object travels through the charging engine;
receiving the chronicler object from the charging engine; and
calculating latency of the usage request message using the set of time points.

### Claim 9 (depends on 8)

The non-transitory computer-readable medium of claim 8, the method further comprising:
generating an accumulator object, wherein
the accumulator object is associated with a collection period, and
the chronicler object is received during the collection period;
extracting the set of time points from the chronicler object, in response to the receiving the chronicler object; and
adding the set of time points to the accumulator object.

### Claim 10 (depends on 9)

The non-transitory computer-readable medium of claim 9, the method further comprising:
adding the accumulator object to a FIFO (first in first out) circular buffer upon expiration of the collection period, wherein
the FIFO circular buffer is configured to temporarily store a plurality of accumulator objects that are received at the FIFO circular buffer during a reporting window.

### Claim 11 (depends on 8)

The non-transitory computer-readable medium of claim 8, the method further comprising:
retrieving a batch of accumulator objects from a plurality of FIFO circular buffers, in response to a request to generate a latency report for an entity, wherein
the entity comprises one or more components of the charging engine; and
calculating latency for the entity, using information contained in the batch of accumulator objects, wherein
the information comprises a plurality of sets of time points extracted from a plurality of chronicler objects that have collected the plurality of sets of time points in the one or more components of the charging engine.

### Claim 12 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the calculating the latency comprises:
determining a length of a time between a first timestamp collected at a first interception point in the charging engine and a second timestamp collected at a second interception point in the charging engine, wherein
the set of time points comprise the first timestamp and the second timestamp, and
the set of time points further comprise a first point label associated with the first interception point and a second point label associated with the second interception point.

### Claim 13 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the calculating the latency comprises:
summing one or more time spreads to calculate the latency for the entity, wherein
the set of time points comprise one or more time spreads that each indicate a length of time associated with the one or more components of the charging engine.

### Claim 14 (depends on 11)

The non-transitory computer-readable medium of claim 11, the method further comprising:
generating the latency report for the entity, wherein
the latency report comprises
a visual graph that illustrates the latency for the entity over time and
one or more latency statistics determined from the latency of the entity.

### Claim 16 (depends on 15)

The computer system of claim 15, the instructions further configured to implement a chronicler accumulator configured to
generate an accumulator object, wherein
the accumulator object is associated with a collection period, and
the chronicler object is received during the collection period,
extract the set of time points from the chronicler object, in response to the receiving the chronicler object, and
add the set of time points to the accumulator object.

### Claim 17 (depends on 16)

The computer system of claim 16, the chronicler accumulator further configured to:
add the accumulator object to a FIFO (first in first out) circular buffer upon expiration of the collection period, wherein
the FIFO circular buffer is configured to temporarily store a plurality of accumulator objects that are received at the FIFO circular buffer during a reporting window.

### Claim 18

A computer system comprising:
a processor;
a memory, coupled to the processor;
a non-transitory computer-readable storage medium coupled to the processor; and
a plurality of instructions, encoded in the non-transitory computer-readable storage medium and configured to cause the processor to implement
a chronicler generator configured to generate a chronicler object, in response to detection of a usage request message being generated, wherein
the chronicler object is associated with the usage request message,
a chronicler transmitter configured to transmit the chronicler object to a charging engine, wherein
the chronicler object is configured to collect a set of time points as the chronicler object travels through the charging engine,
a chronicler receiver configured to receive the chronicler object from the charging engine, and
a latency reporter configured to calculate latency of the usage request message using the set of time points.

### Claim 18 (depends on 15)

The computer system of claim 15, the latency reporter further configured to:
retrieve a batch of accumulator objects from a plurality of FIFO circular buffers, in response to a request to generate a latency report for an entity, wherein
the entity comprises one or more components of the charging engine; and
calculate latency for the entity, using information contained in the batch of accumulator objects, wherein
the information comprises a plurality of sets of time points extracted from a plurality of chronicler objects that have collected the plurality of sets of time points in the one or more components of the charging engine.

### Claim 19 (depends on 18)

The computer system of claim 18, wherein the latency reporter is further configured to:
determine a length of a time between a first timestamp collected at a first interception point in the charging engine and a second timestamp collected at a second interception point in the charging engine, wherein
the set of time points comprise the first timestamp and the second timestamp, and
the set of time points further comprise a first point label associated with the first interception point and a second point label associated with the second interception point.

### Claim 20 (depends on 18)

The computer system of claim 18, wherein the latency reporter is further configured to:
sum one or more time spreads to calculate the latency for the entity, wherein
the set of time points comprise one or more time spreads that each indicate a length of time associated with the one or more components of the charging engine.

### Claim 21 (depends on 18)

The computer system of claim 18, the latency reporter is further configured to:
generate the latency report for the entity, wherein
the latency report comprises
a visual graph that illustrates the latency for the entity over time, and
one or more latency statistics determined from the latency of the entity.
