主权项 |
1. A system for providing a service according to a policy, wherein the system is based on a machine-to-machine (M2M) system architecture, the system comprising:
a common service entity (CSE) comprising,
one common service function (CSF) module that comprises a policy enforcement (PE) module and a policy decision (PD) module, orat least two CSF modules one of which comprises a PE module and the other one of which comprises a PD module;wherein the PE module and the PD module are configured to communicate with another CSF module in the CSE and an application entity (AE), the PE module is configured to communicate with an underlying network service entity (NSE), and the PE module and the PD module are configured to communicate with each other; wherein the PE module is configured to:
receive service request information that is sent by the AE or the NSE,translate policy information comprised in the received service request information to a language that can be supported by the PD module,send the translated policy information to the PD module,acquire a service policy that is determined by the PD module according to the policy information, andprovide, according to the service policy, a service that is requested by the service request information; and wherein the PD module is configured to:
receive the translated policy information that is sent by the PE module, anddetermine the service policy according to the policy information. |