Activity Data
Data about all recent activities performed by a subscriber or customer care representative are stored in activity objects in the activity database.
Rather than have separate session objects that are created and closed each time a subscriber starts and stops usage, all subscriber-related activities are stored as arrays in the activity object. This includes sessions, debit records for immediate events, such as MMS and SMS, and non-usage events, such as catalog item purchases and cancelations. Storing the information as an array inside a single object, rather than as separate objects, greatly reduces the processing requirements of the system and allows for faster cleanup operations.
Activity data is stored on a per-device basis. For each device, all EVENT_REQUEST data for one-time events is recorded in case a refund needs to occur. Also per device, all information about a current session and any previous network messages related to the session are recorded. This enables a processing server to immediately determine if a network message is a duplicate so invalid duplicate rating is not performed. The session data includes any authorization or re-authorization requests, usage type and unit, for example duration and megabytes, and the used quantity, if it exists. The information also includes the amount from the total balance that has been reserved to handle the authorization requests. This information allows MATRIXX Charging Application to update balances in real-time, as each session message is processed. If event aggregation is enabled, when an aggregation period ends, the aggregated usage data that is recorded during the aggregation period is moved to the event database where it is stored as event objects.
The activity data also includes all EVENT_REQUEST data for one-time events.
To ensure the activity database does not fill up due to inactive sessions that were not terminated correctly, such as dropped calls, the Task Manager scans the activity database at a configured interval and removes them.