System for metering in an on-demand utility environment
First Claim
1. A method for metering use of at least one of a plurality of resources in an on-demand service environment, the method comprising the steps of:
- a computer receiving a usage record that indicates a particular state and includes an identifier that identifies a group of records, wherein the group of records includes the usage record;
the computer including in each one of the group of records an identification of one of the plurality of resources, an identification of one of a plurality of users that used the one of the plurality of resources, and an amount of usage of the one of the plurality of resources by the one of the plurality of users;
the computer storing the usage record in a record table, wherein the record table includes values of different types of usages of different ones of the plurality of resources, and wherein the group of records is stored in the record table;
the computer using a first rule to select a plurality of the group of records, wherein the first rule identifies at least one of the plurality of users and at least one of the plurality of resources that was used by the identified at least one of the plurality of usersthe computer adding each amount of usage included in each one of the plurality of the group of records to determine a total usage; and
the computer using the total usage and a formula that is included in a second rule to calculate a metric, wherein the second rule includes an identification of the at least one of the plurality of users that used the at least one of the plurality of resources.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for metering on-demand service (ODS) resource consumption by a user comprising a web services interface, a processing engine, and configuration data. A data gathering agent in the ODS stores the usage data in records, combines the records into packets, and transmits the packets to the web services interface. The web services interface passes the packets onto the processing engine, which stores the records in the packet into a database. The generalized format of the record is critical because it allows the metrics to be stored in the record table with the usage data. When a record contains an instruction to close a UOW, the processing engine applies the configuration data comprising composition rules and record selection rules to the database. The record selection rules select the desired records from the database. The composition rules aggregate, normalize, and compose the selected records to produce a metric.
43 Citations
27 Claims
-
1. A method for metering use of at least one of a plurality of resources in an on-demand service environment, the method comprising the steps of:
-
a computer receiving a usage record that indicates a particular state and includes an identifier that identifies a group of records, wherein the group of records includes the usage record; the computer including in each one of the group of records an identification of one of the plurality of resources, an identification of one of a plurality of users that used the one of the plurality of resources, and an amount of usage of the one of the plurality of resources by the one of the plurality of users; the computer storing the usage record in a record table, wherein the record table includes values of different types of usages of different ones of the plurality of resources, and wherein the group of records is stored in the record table; the computer using a first rule to select a plurality of the group of records, wherein the first rule identifies at least one of the plurality of users and at least one of the plurality of resources that was used by the identified at least one of the plurality of users the computer adding each amount of usage included in each one of the plurality of the group of records to determine a total usage; and the computer using the total usage and a formula that is included in a second rule to calculate a metric, wherein the second rule includes an identification of the at least one of the plurality of users that used the at least one of the plurality of resources. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A program product for metering use of at least one of a plurality of resources in an on-demand service environment, the program product comprising:
-
one or more computer-readable storage devices; program instructions, stored on at least one of the one or more storage devices, to receive a usage record that indicates a particular state and includes an identifier that identifies a group of records, wherein the group of records includes the usage record; program instructions, stored on at least one of the one or more storage devices, to include in each one of the group of records an identification of one of the plurality of resources, an identification of one of a plurality of users that used the one of the plurality of resources, and an amount of usage of the one of the plurality of resources by the one of the plurality of users; program instructions, stored on at least one of the one or more storage devices, to store the usage record in a record table, wherein the record table includes values of different types of usages of different ones of the plurality of resources, and wherein the group of records is stored in the record table; program instructions, stored on at least one of the one or more storage devices, to use a first rule to select a plurality of the group of records, wherein the first rule identifies at least one of the plurality of users and at least one of the plurality of resources that was used by the identified at least one of the plurality of users program instructions, stored on at least one of the one or more storage devices, to add each amount of usage included in each one of the plurality of the group of records to determine a total usage; and program instructions, stored on at least one of the one or more storage devices, to use the total usage and a formula that is included in a second rule to calculate a metric, wherein the second rule includes an identification of the at least one of the plurality of users that used the at least one of the plurality of resources. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer system for metering use of at least one of a plurality of resources in an on-demand service environment, the computer system comprising:
-
one or more processors, one or more computer-readable memories and one or more computer-readable storage devices; program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to receive a usage record that indicates a particular state and includes an identifier that identifies a group of records, wherein the group of records includes the usage record; program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to include in each one of the group of records an identification of one of the plurality of resources, an identification of one of a plurality of users that used the one of the plurality of resources, and an amount of usage of the one of the plurality of resources by the one of the plurality of users; program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to store the usage record in a record table, wherein the record table includes values of different types of usages of different ones of the plurality of resources, and wherein the group of records is stored in the record table; program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to use a first rule to select a plurality of the group of records, wherein the first rule identifies at least one of the plurality of users and at least one of the plurality of resources that was used by the identified at least one of the plurality of users; program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to add each amount of usage included in each one of the plurality of the group of records to determine a total usage; and program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to use the total usage and a formula that is included in a second rule to calculate a metric, wherein the second rule includes an identification of the at least one of the plurality of users that used the at least one of the plurality of resources. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
Specification