Smart Balances and Meters

A smart balance or smart meter has one or more associated filters. The filters act like policies that determine whether it is examined for validity during rating so it can be used.

Using smart balances and meters simplifies the creation of a pricing plan because it removes the need for you to specify complex pricing based on variables that change. The filters take care of performing the necessary logic to determine whether it is applicable during a set of conditions.

For balances, associate a balance class to a price component and let the filters determine which balance is valid during usage. If the set of conditions changes during usage, the currently valid balance might become invalid. This is recognized and if another balance is valid, it is used during rating and updated by the pricing that applies. For example, say a product offer charges subscribers a different data rate based on their device type and the zone they are in, such as:

  • Charge $1.00 per MB for device type 1 in zone A
  • Charge $0.75 per MB for device type 2 in zone B
  • Charge $0.50 per MB for device type 3 in zone C
  • ...

Normally, to define all the different rate combinations, you must know how to set up the rate table entries to combine each set of variables with each price, understanding when each applies and when it does not. By using smart balances, you just define a use/do not use logic for each smart balance. The filter determines whether the balance is valid (the usage can occur) for a specific zone. Pulling the policy information out of the rate table and putting it into a filter on the balance keeps the rate tables simpler. In this example, each rate table references only one normalizer for the device type, and the rate table references the balance class containing the smart balances. The smart balances reference the filter for each zone, and specify whether it applies. If the balance filter does not apply, the rate table does not apply.

Note that the overall complexity of the pricing does not change. You must still set up the logic for the zone determination in the filter. What it separates is the how to use logic in the rate table from the use/do not use logic in the smart balance. Making this separation is powerful and provides flexibility and control in setting up pricing policies.