Patent ID: 8369232

Claim:
A system for measuring traffic based on user services, comprising: a terminal device, configured to send a registration request that comprises a terminal identifier to an equipment management server (EMS) via an optical line terminal (OLT) and send a service configuration request that comprises the terminal identifier to an terminal service configuration server; and receive service configuration information the terminal service configuration server, distinguish types of services accessed by service-accessing ports of the terminal device according to the received service configuration information, notify a traffic measuring module of the terminal device, and measure a traffic of each service type using the traffic measuring module of the terminal device; the EMS, configured to receive the registration request from the terminal device, and obtain the terminal type, service-accessing ports type of the terminal device and number of service-accessing ports according to the terminal identifier in the registration request from the terminal device, and send the obtained information to an operation support system (OSS); the OSS, configured to generate the service configuration information according to the obtained information from the EMS and sending the service configuration information to a terminal service configuration server; the terminal service configuration server, configured to receive and store the service configuration information and upon receipt of a service configuration request message from the terminal device, obtain the associated service configuration information according to the terminal identifier in the service configuration request from the terminal device and send the service configuration information to the terminal device, wherein the service configuration information comprising a mapping relationship between service-accessing ports of the terminal device and types of services, wherein the types of services comprise any one of voice service, data service and video service.