摘要 |
A method and apparatus for providing prepaid billing on a data network for wireless prepaid services, which includes a network-access device, such as a network access server or PDSN, that requests from a network-access-control device, such as a AAA server, network access for one or more wireless communication sessions. In response to the request for network access, the network-access device receives from the network-access-control device a block of credits and at least one measurement-method parameter. After being granted network access, the network-access device establishes session activity for the wireless communication sessions. The network-access device periodically measures usage of the session activity for the wireless communication session and then debits the usage of the session activity from the block of credits. When the remain credits in the block of credits reach a predetermined threshold, the network-access device requests from the network-access-control device an additional block of credits. In responsive to this request, the network-access device receives from the network-access-control device the additional block of credits, if available credits remain in a cache of available credits from which the blocks are withdrawn. The network-access-control device may also receive the measurement-method parameters. The network-access device then debits the usage of the session activity for the wireless communication session from the additional block of credits. At some predetermined threshold and responsive to an authorization to purchase credits, credits may be added to the cache of available credits. During this process, the ongoing wireless communication session may be redirected to a redirect device.
|