Patent ID: 7526075

Claim:
A method for realizing charging, comprising: a. setting up a mapping relation between a service attribute of a to-be-charged service and a charging rule of the to-be-charged service, wherein said service attribute comprises a service identifier and a service charging type; b. acquiring the service attribute of the to-be-charged service when the to-be-charged service is needed to be charged; c. acquiring the charging rule of the to-be-charged service through the service attribute of the to-be-charged service, according to the mapping relation between the service attribute and the charging rule; and d. charging the to-be-charged service according to the acquired charging rule of the to-be-charged service, wherein a comprises, a1. setting up a mapping relation among said service identifier, said service charging type and field name included in a service charging attribute, and a2. setting up a mapping relation between said service charging attribute and said charging rule, and wherein c comprises, c1. according to the mapping relation among said service identifier, said service charging type and the field name included in said service charging attribute, the field names included in said service charging attribute of the to-be-charged service being acquired through service identifier and service charging type of the to-be-charged service, c2. confirming said service charging attribute of the to-be-charged service according to the field names included in said service charging attribute of the to-be-charged service, and c3. according to the mapping relation between said service charging attribute and said charging rule, the charging rule of the to-be-charged service being acquired through said service charging attribute of the to-be-charged service.