Claims
- 1. A method for metering usage of services which are accessed via a network, the method comprising the steps of:
in response to a request for a composite service which requests one or more component services, measuring usage of each one of the set of services comprising the composite service and the requested component services; and receiving measured usage data at a correlator and obtaining and using an identification of the requests to component services to correlate the measured usage data for the set of services corresponding to said request for the composite service.
- 2. A method according to claim 1, further comprising the step of:
generating service usage accounting data for the set of services corresponding to said request using the correlated measured usage data.
- 3. A method according to claim 2, further comprising the step of:
aggregating the service usage accounting data on a per customer, per provider basis to generate aggregate accounting records for a billing period.
- 4. A method according to claim 1, further comprising the step of:
outputting per-request measured usage data generated by said correlator for the set of services corresponding to said request.
- 5. A method according to claim 1, wherein the steps of obtaining an identification of requests to component services and correlating comprise:
a process associated with the composite service identifying a set of requests for component services which requests result from the request for the composite service, and providing the set of request identifiers to the correlator; and the correlator receiving the provided set of request identifiers and receiving usage data for the composite service and for the requested component services, and correlating the usage data by reference to the provided set of request identifiers.
- 6. A method according to claim 5, wherein the correlator is a component of an accounting service configured to receive measured usage data from a plurality of metering components which measure usage data for respective services, and wherein one or more metering components associated with said requested component services record s measured usage data in association with respective ones of the set of request identifiers and send said measured usage data and associated request identifiers to the correlator.
- 7. A method according to claim 5, further comprising the steps of:
sending records of measured usage for each of the set of requested component services to the correlator, wherein each of the set of records contains a respective request identifier of the set of request identifiers; and sending a partial record of measured usage data for the requested composite service to the correlator, wherein the partial record contains the set of request identifiers for the set of requested component services; and correlating said partial record and said set of records of service usage by reference to said set of request identifiers, thereby to generate a complete record of usage of said requested composite service and requested component services.
- 8. A method according to claim 7, wherein information for communicating with the correlator is provided to each of the set of component services by the requested composite service when requesting the component services.
- 9. A method according to claim 5, wherein said correlating step comprises a step of determining, by reference to said set of request identifiers for the requested composite service, whether measured usage data is available for all of said set of requested component services, and wherein said method comprises outputting said correlated measured usage data in response to a positive said determination and deferring said output in response to a negative said determination.
- 10. A method according to claim 9, further comprising the step of marking records as complete if any of the following conditions is satisfied:
the request is for a transactional operation; the set of requested component services is empty; or measured usage data is available for all of the set of requested component services and has been successfully correlated to generate composite service usage data; and wherein the method further comprises the step of sending complete records to an accounting component for generating accounting data for the requested composite service.
- 11. A method according to claim 9, wherein component services of a composite service may be composite, and wherein said step of determining whether measured usage data is available for all of said set of requested component services is performed for each composite service within a set of composite services requested in response to an original request, and wherein said correlated measured usage data is output only when said determination is positive for all of the set of composite services and respective component services corresponding to said original request.
- 12. A method according to claim 9, further comprising forwarding the correlated measured usage data to an accounting component in response to the positive determination, and the accounting component aggregating the correlated service usage data on a per customer, per provider basis to generate accounting records.
- 13. A method according to claim 1 including the step of registering said composite service and each of said one or more component services with a respective accounting service, the step of registering comprising providing to the accounting service an identification of at least one charging model supported by the respective service.
- 14. A method according to claim 13, wherein the accounting service comprises means for determining a charging model for the composite service in accordance with a charging policy and the charging models supported by the composite service and each one of the set of requested component services.
- 15. A method according to claim 14, further comprising the step of generating charging data from said composite service usage data and said determined charging model.
- 16. A method according to claim 13, wherein the step of registering further comprises providing to the accounting service an identification of the usage metric of the respective service to enable aggregation with usage data for other services of the composite service.
- 17. An apparatus for metering for usage of services which are accessed via a network, comprising:
one or more metering components, for measuring usage of each of a set of services comprising a requested composite service and one or more component services requested by the composite service in response to the request for the composite service; and one or more correlators adapted to receive measured usage data and to use an identification of the requests to component services to correlate the measured usage data for the set of services corresponding to the request for the composite service.
- 18. A computer program product comprising program code recorded on a recording medium for controlling the operation of a data processing apparatus on which the program code executes, to perform a method for metering usage of services which are accessed via a network, the method comprising the steps of:
in response to a request for a composite service which requests one or more component services, measuring usage of each one of the set of services comprising the composite service and the requested component services; and a correlator receiving measured usage data and obtaining and using an identification of the requests to component services to correlate the measured usage data for the set of services corresponding to said request for the composite service.
- 19. A method for generating service usage data for a requested composite service which invokes a set of one or more component services to satisfy the request, comprising the steps of:
in response to a request for a composite service which invokes one or more component services, receiving measured usage data at a correlator for each one of the set of services comprising the composite service and the requested component services; obtaining and using an identification of the requests to component services to correlate the measured usage data for the set of services corresponding to said request for the composite service; and outputting the correlated measured usage data corresponding to said request as per-request service usage data for the requested composite service.
- 20. A method according to claim 19, further comprising the steps of:
a correlator receiving records of measured usage for each of the set of invoked component services, wherein each of the set of records contains a request identifier from a set of request identifiers corresponding to the invocations of the set of invoked component services; the correlator receiving a partial record of measured usage data for the requested composite service, wherein the partial record contains the set of request identifiers for the set of invoked component services; and the correlator correlating said partial record and said set of records of service usage by reference to said set of request identifiers.
- 21. A method according to claim 19, further comprising the steps of:
one or more metering components measuring usage of each one of the set of services comprising the composite service and the requested component services, and sending the measured usage data to the correlator, wherein the measured usage data for the requested composite service contains a list of request identifiers for the requests to component services and wherein records of measured usage data for the component services each contain a respective one of said set of request identifiers.
- 22. An accounting service system for use in a method for monitoring and accounting for usage of services which are accessed via a network, the accounting service system comprising:
a correlator for receiving records of measured usage for each of the set of invoked component services, wherein each of the set of records contains a request identifier from a set of request identifiers corresponding to the invocations of the set of invoked component services, and for receiving a partial record of measured usage data for the requested composite service, wherein the partial record contains the set of request identifiers for the set of invoked component services, and wherein the correlator is adapted to correlate said partial record and said set of records of service usage by reference to said set of request identifiers.
- 23. An accounting service system according to claim 22, further comprising an accounting component for generating accounting data for a customer-provider pair using said correlated measured usage data.
- 24. An accounting service system according to claim 23, further comprising a billing component for applying a charging model for the customer-provider pair to generate billing data using said generated accounting data.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] The present application is related to co-pending, commonly-assigned U.S. patent application Ser. No. (Attorney reference JP9-2002-0160US 1).