Patent ID: 8649761

Claim:
A service charging method, comprising: receiving, by a network access server, a service packet, obtaining, by the network access server, a protocol ID from the service packet; determining, according to the protocol ID, by the network access server, that a protocol resolution needs to be performed on the service packet and forwarding the service packet to a protocol resolving device; obtaining, by the protocol resolving device, a transport layer quintuple for transporting a data packet by resolving a protocol control packet if the service packet is protocol control packet of a protocol in which a control signaling and a data packet are transported separately; generating, by the protocol resolving device, a dynamic rule based on the transport layer quintuple, and sending, by the protocol resolving device, the dynamic rule based on the transport layer quintuple to the network access server; wherein, the dynamic rule indicates that the continuation policy of the service IP packet based on the transport layer quintuple is that: the network access server accumulates the traffic or the duration and traffic of the service IP packet based on the transport layer quintuple according to the transport layer quintuple, and reports the traffic or the duration and traffic to the corresponding protocol resolving device periodically or quantitatively; receiving, by the network access server, other service packet; founding, by the network access server, the dynamic rule based on the transport layer quintuple of the other service packet, determining, by the network access server, that the other service packet is the data packet of the protocol in which the control signaling and the data packet are transported separately; accumulating, by the network access server, according to the dynamic rule based on the transport layer quintuple, the traffic, or the duration and traffic of the data packet based on the transport layer quintuple, and reporting, by the network access server, the traffic, or the duration and traffic accumulated to the protocol resolving device periodically or quantitatively; associating, by the protocol resolving device, the traffic of the data packet based on the transport layer quintuple with the protocol control packet corresponding to the data packet; obtaining, by the protocol resolving device, charging information, and sending the charging information to a charging subsystem; and performing, by the charging subsystem, a service charging according to the charging information and a preset charging policy.