[go: up one dir, main page]

CN101222482B - Method and system for confirming policy regulation - Google Patents

Method and system for confirming policy regulation Download PDF

Info

Publication number
CN101222482B
CN101222482B CN200710001258.3A CN200710001258A CN101222482B CN 101222482 B CN101222482 B CN 101222482B CN 200710001258 A CN200710001258 A CN 200710001258A CN 101222482 B CN101222482 B CN 101222482B
Authority
CN
China
Prior art keywords
information
message
entity
rule
policing rule
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN200710001258.3A
Other languages
Chinese (zh)
Other versions
CN101222482A (en
Inventor
莫君贤
谢安宁
陈卫民
肖家幸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200710001258.3A priority Critical patent/CN101222482B/en
Priority to PCT/CN2008/070077 priority patent/WO2008083630A1/en
Publication of CN101222482A publication Critical patent/CN101222482A/en
Application granted granted Critical
Publication of CN101222482B publication Critical patent/CN101222482B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/535Tracking the activity of the user

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention discloses a method for determining policy rules, wherein, the method comprises the following steps that: a policy rule executing entity sends user terminal access information to a policy rule generating entity; the policy rule generating entity generates a policy rule according to the received user terminal access information and then sends the policy rule to the policy rule executing entity for execution. The present invention also discloses a policy rule determining system, comprising the policy rule generating entity and the policy rule executing entity, wherein, the policy rule executing entity is used to send MS access information to the policy rule generating entity and execute according to the policy rule sent by the policy rule generating entity; the policy rule generating entity is used to receive the MS access information sent by the policy rule executing entity, generate the policy rule according to the MS access information and sent the policy rule to the policy rule executing entity. The system and the method provided by the embodiment of the present invention can determine different policy rules according to current MS access information.

Description

一种确定策略规则的方法及系统 A method and system for determining policy rules

技术领域technical field

本发明涉及在网络中对策略规则的处理技术,特别涉及一种确定策略规则的方法及系统。The invention relates to the processing technology of policy rules in the network, in particular to a method and system for determining policy rules.

背景技术Background technique

在不同的网络中,如何确定并下发策略规则给执行实体执行,如策略控制与计费规则(PCC,Policy Control and Charging)、或服务质量(QoS,Quality of Service)策略或/和计费规则,成为了一个亟待解决的问题。In different networks, how to determine and issue policy rules to the execution entity for execution, such as policy control and charging rules (PCC, Policy Control and Charging), or service quality (QoS, Quality of Service) policies or/and charging Regulations have become an urgent problem to be solved.

微波接入全球互通(WiMAX,Worldwide Interoperability for MicrowaveAccess)网络工作组(NWG,Network Work Group)标准最新的服务质量(QoS,Quality of Service)框架如图1所示,移动终端(MS,Mobile Station)是用户的移动终端,用户通过MS与网络进行交互;业务流管理实体(SFM,Service Flow Manager)用于建立用户业务流并为建立的业务流分配无线资源等,该功能实体存在于ASN中;业务流授权实体(SFA,Service FlowAuthorization)用于为业务流的授权,该功能实体存在于ASN中;策略功能实体(PF,Policy Function,PF)用于为用户的业务流提供策略,该功能实体由网络服务提供商(NSP,Network Service Provider)提供,用户漫游时,将存在拜访PF(V-PF,Visited PF)和家乡PF(H-PF,Home PF);应用功能实体(AF,Application Function)是提供应用服务的功能实体,用户的MS直接通过应用层协议连接访问AF,AF将会通知PF主动为用户创建业务流,该功能实体由网络服务提供商(NSP,Network Service Provider)提供。The latest Quality of Service (QoS, Quality of Service) framework of the Worldwide Interoperability for Microwave Access (WiMAX, Worldwide Interoperability for MicrowaveAccess) Network Working Group (NWG, Network Work Group) standard is shown in Figure 1. The mobile terminal (MS, Mobile Station) It is the mobile terminal of the user, and the user interacts with the network through the MS; the service flow management entity (SFM, Service Flow Manager) is used to establish the user service flow and allocate wireless resources for the established service flow, etc., and this functional entity exists in the ASN; The service flow authorization entity (SFA, Service FlowAuthorization) is used to authorize the service flow, and this functional entity exists in the ASN; the policy functional entity (PF, Policy Function, PF) is used to provide policies for the user's business flow, and the functional entity Provided by the Network Service Provider (NSP, Network Service Provider), when the user roams, there will be a visited PF (V-PF, Visited PF) and a home PF (H-PF, Home PF); the application function entity (AF, Application Function ) is a functional entity that provides application services. The user's MS directly accesses the AF through an application layer protocol connection, and the AF will notify the PF to actively create a service flow for the user. This functional entity is provided by the Network Service Provider (NSP).

网际协议多媒体子系统(IMS,IP Multiedia Subsystem),作为下一代网络“融合”的核心,实现了网际协议(IP,Internet Protocol)多媒体业务的建立、维护及管理等功能的核心网络体系结构。可以在异构网络间实现基于IMS的互通。IMS架构的功能体主要有:The Internet Protocol Multimedia Subsystem (IMS, IP Multiedia Subsystem), as the core of the next-generation network "convergence", realizes the core network architecture of the establishment, maintenance and management of Internet Protocol (IP, Internet Protocol) multimedia services. Interworking based on IMS can be realized between heterogeneous networks. The main functions of the IMS architecture are:

代理呼叫控制功能(P-CSCF,Proxy-CSCF),其是用户在IMS系统中的第一个接触点。同一个运营商的网络可有一个或多个P-CSCF。其主要功能为:基于请求中UE提供的归属域名(home network domain name),转发UE的会话初始协议注册(SIP REGISTER)请求给查询CSCF(I-CSCF);用户注册成功后,可转发用户的SIP请求和响应消息给服务CSCF(S-CSCF);把计费信息发送给计费收集功能(CCF,Charging Collection Function);执行媒体修正;检查SIP会话中的媒体类型、编码格式等是否符合要求,QOS的要求能否被满足等;通过Gq参考点与策略决策功能(PDF,Policy DecisionFunction)交互,传输策略配置信息,以实现媒体授权;其他功能,如SIP消息压缩;保护SIP消息完整性,维持和用户之间的安全联盟等。Proxy Call Control Function (P-CSCF, Proxy-CSCF), which is the user's first contact point in the IMS system. The same operator's network may have one or more P-CSCFs. Its main functions are: based on the home network domain name (home network domain name) provided by the UE in the request, forward the UE's session initiation protocol registration (SIP REGISTER) request to the query CSCF (I-CSCF); after the user registers successfully, it can forward the user's SIP request and response messages to the serving CSCF (S-CSCF); send the charging information to the charging collection function (CCF, Charging Collection Function); perform media correction; check whether the media type and encoding format in the SIP session meet the requirements , whether the requirements of QOS can be satisfied, etc.; interact with the policy decision function (PDF, Policy DecisionFunction) through the Gq reference point, and transmit policy configuration information to realize media authorization; other functions, such as SIP message compression; protect SIP message integrity, Maintain security alliances with users, etc.

PDF负责根据从P-CSCF处获得的会话和媒体相关信息来制定策略,它作为基于局域网服务规则(SBLP,Service Based Local Policy)控制的一个策略决策点。其功能为:存储会话和媒体相关信息;生成授权令牌用于标识PDF和会话;在收到来自网际协议-IP-CAN的承载授权请求时,根据存储的会话和媒体相关信息来提供授权决策;在会话变更过程修改了会话和媒体相关信息时,更新相应的授权决策;启用已授权的承载的能力;禁用已授权的承载,但维持授权的能力;传送一个IMS计费标识符给网关通用分组无线业务支持节点(GGSN),并且传送一个通用分组无线业务(GPRS)计费标识符给P-CSCF。The PDF is responsible for formulating policies based on session and media-related information obtained from the P-CSCF, and it serves as a policy decision point controlled by Service Based Local Policy (SBLP). Its functions are: store session and media-related information; generate authorization tokens to identify PDF and sessions; when receiving bearer authorization requests from Internet Protocol-IP-CAN, provide authorization decisions based on stored session and media-related information ; When the session and media-related information is modified during the session change process, the corresponding authorization decision is updated; the ability to enable the authorized bearer; the ability to disable the authorized bearer but maintain the authorization; transmit an IMS charging identifier to the general gateway The Packet Radio Service Support Node (GGSN), and transmits a General Packet Radio Service (GPRS) Charging Identifier to the P-CSCF.

WiMAX标准在R1阶段对于与IMS融合只是作了初步的描述:在R1阶段的WiMAX-IMS融合方案中,WiMAX网络只是作为IMS客户端与IMS网络之间的一个IP传输网络,WiMAX网络原有架构、接口不用作改变就能支持此种方式的融合。In the R1 phase of the WiMAX standard, only a preliminary description was made on the integration with IMS: in the WiMAX-IMS integration solution in the R1 phase, the WiMAX network is only used as an IP transmission network between the IMS client and the IMS network, and the original structure of the WiMAX network , The interface does not need to be changed to support the integration of this method.

PCC构架是3GPP的版本7(R7)中主要解决的一个问题,其目的是Qos与计费的集成,3GPP已经成立专门的PCC议题小组来研究此问题。PCC当前架构是根据3GPP中R5定义的SBLP框架和R6定义的基于流量计费(FBC,Flow Based Charging)框架融合而成的一个方案。如图2所示:其中,将SBLP中的PDF和FBC中的CRF融合成一个策略控制和计费规则功能实体(PCRF,Policy and Charging Rules Function),PDF与CRF都是规则制定的功能实体。将SBLP中的PEP和FBC中的传输面功能(TPF,TrafficPlane Function)融合成策略控制和计费执行功能实体(PCEF,Policy andCharging Enforce Function),即网关(GW),PEP与TPF都是执行规则的功能实体。另外,应用功能(AF,Application Function)还是继承以前原有的功能,即提供业务信息。The PCC framework is a problem mainly solved in Release 7 (R7) of 3GPP, and its purpose is the integration of Qos and billing. 3GPP has set up a special PCC topic group to study this problem. The current PCC architecture is a solution based on the fusion of the SBLP framework defined in R5 and the Flow Based Charging (FBC) framework defined in R6 in 3GPP. As shown in Figure 2: Among them, the PDF in SBLP and the CRF in FBC are fused into a policy control and charging rule functional entity (PCRF, Policy and Charging Rules Function), and both PDF and CRF are functional entities for rule formulation. Integrate the PEP in SBLP and the transmission plane function (TPF, TrafficPlane Function) in FBC into a policy control and charging enforcement function entity (PCEF, Policy and Charging Enforcement Function), namely the gateway (GW), PEP and TPF are both execution rules functional entities. In addition, the application function (AF, Application Function) still inherits the previous original function, that is, provides business information.

另外,将Go和Gx接口合并为Gx+,分别向PEP/TPF提供计费规则和策略控制规则,Gx接口支持策略控制功能,称之为基于流的策略控制(FBP),PCC面向会话层和应用层的接口Gq和Rx合并为Rx+,Gq和Rx接口在功能上很相似,把会话控制层有关IMS会话和媒体参数的信息传递给PCC。在PCC中增加了一个存储预定策略(SPR,Subscription Profile Repository)功能实体,主要是用来保存实时的用户签约策略的实体,在PCC中更好的保持网络和用户的策略一致性。In addition, the Go and Gx interfaces are merged into Gx+, which provide charging rules and policy control rules to PEP/TPF respectively. The Gx interface supports policy control functions, called flow-based policy control (FBP), and PCC is oriented to the session layer and applications. The interfaces Gq and Rx of the layer are merged into Rx+. The Gq and Rx interfaces are very similar in function, and transmit the information about the IMS session and media parameters of the session control layer to the PCC. A Subscription Profile Repository (SPR, Subscription Profile Repository) functional entity is added to PCC, which is mainly an entity used to save real-time user subscription policies, and better maintain network and user policy consistency in PCC.

PCRF包含了SBLP中的PDF以及FBC中的CRF的功能,向GW提供QoS授权信息以及计费规则。PCRF制定计费规则的输入条件包括三方面的信息:AF提供的会话和媒体相关信息;PCEF提供的和用户签约以及网络承载相关的多种信息;PCRF上已配置的或SPR提供的和签约、业务相关的信息等。在收到AF的业务信息后,PCRF可能需要检查一下是否允许AF向PCRF传递这些信息。PCRF负责控制GW收到SDF后的行为,例如丢包操作,这可以通过下发PCC rules来实现。与此同时,PCRF还必须确保在GW的用户面流量映射、处理与用户的签约情况相一致,这可以通过向SPR获取相关信息来实现。对于GPRS,PCRF必须能够支持基于PDP上下文的策略控制。The PCRF includes the functions of the PDF in the SBLP and the CRF in the FBC, and provides QoS authorization information and charging rules to the GW. The input conditions for PCRF to formulate charging rules include three aspects of information: session and media-related information provided by AF; various information related to user subscription and network bearer provided by PCEF; configured on PCRF or provided by SPR and subscription, business-related information, etc. After receiving the service information of the AF, the PCRF may need to check whether the AF is allowed to transmit the information to the PCRF. PCRF is responsible for controlling the behavior of GW after receiving SDF, such as packet loss operation, which can be realized by issuing PCC rules. At the same time, the PCRF must also ensure that the traffic mapping and processing on the user plane of the GW are consistent with the subscription status of the user, which can be achieved by obtaining relevant information from the SPR. For GPRS, PCRF must be able to support policy control based on PDP context.

PDF提供授权QoS给GW,随后GW将该QoS与UE的QoS请求进行对比,然后决定后续操作。在PCC中,GW将请求的QoS提供给PCRF,由PCRF对比该请求的QoS以及PCRF上已有的授权QoS,并完成后续的操作。也就是说,原有GW的部分功能上移到PCRF中去执行了。在PCC中,PCRF才是控制实体,而GW只是执行实体。The PDF provides the authorized QoS to the GW, and then the GW compares the QoS with the QoS request of the UE, and then decides the follow-up operation. In the PCC, the GW provides the requested QoS to the PCRF, and the PCRF compares the requested QoS with the existing authorized QoS on the PCRF, and completes subsequent operations. That is to say, some functions of the original GW are moved up to the PCRF for execution. In PCC, PCRF is the control entity, and GW is only the execution entity.

PCC体系中,GW包含了SBLP的PEP和FBC的TPF功能,提供了用户面流量的策略执行和计费规则实施。此外,PCEF还有一个反馈功能,也即其需要向PCRF反馈用户面发生的事件消息。对于一个处于策略控制之下的SDF,只有相应的gate处于open的状态时,GW才会让它通过。对于一个处于FBC控制下的SDF,只有存在一个激活的计费规则时,GW才会让它通过。在信用重鉴定过程中,GW也可能允许一个SDF通过。In the PCC system, the GW includes the PEP of the SBLP and the TPF function of the FBC, and provides policy enforcement and charging rule enforcement for user plane traffic. In addition, the PCEF also has a feedback function, that is, it needs to feed back event messages that occur in the user plane to the PCRF. For an SDF under policy control, GW will let it pass only when the corresponding gate is in the open state. For an SDF under the control of the FBC, only if there is an active charging rule, the GW will let it pass. During the credit re-authentication process, the GW may also allow an SDF to pass.

无论是策略控制,还是计费控制,都是通过执行PCRF所下发的PCC规则来实现的。PCC规则中可能只携带策略控制规则,也可能只包含计费规则,也可能同时包含策略规则和计费规则。这种实施方式有利于SBLP\FBC向PCC的平滑演进,也有利于PCC具备更广泛的适用性。Both policy control and charging control are implemented by executing the PCC rules delivered by the PCRF. The PCC rule may only carry policy control rules, may only include charging rules, or may include both policy rules and charging rules. This implementation mode is conducive to the smooth evolution from SBLP\FBC to PCC, and is also conducive to the wider applicability of PCC.

WiMAX网络R1.5版本制定的WiMAX网络与IMS融合架构符合PCC架构要求。The WiMAX network and IMS convergence architecture formulated by the WiMAX network R1.5 version complies with the requirements of the PCC architecture.

先举WiMAX网络为例说明,在WiMAX网络中,分为ASN和与CSN,ASN中物理网元有BS、ASN-GW,CSN中有AAA服务器以及PCRF功能体等。一个ASN-GW与多个BS相连,并对这些BS进行管理。从Qos来说,SFM可以在BS上实现,而SFA或者PCEF可以在ASN-GW上实现。Let’s take the WiMAX network as an example. In the WiMAX network, it is divided into ASN and CSN. The physical network elements in the ASN include BS and ASN-GW, and the AAA server and PCRF function body in the CSN. One ASN-GW is connected to multiple BSs and manages these BSs. In terms of Qos, SFM can be implemented on BS, while SFA or PCEF can be implemented on ASN-GW.

在WiMAX网络中,GW又分为锚GW和服务GW概念,下面进行解释:In a WiMAX network, GW is further divided into anchor GW and serving GW concepts, which are explained below:

当一个MS在两个ASN-GW之间切换时(原来的ASN-GW称为服务ASN-GW,新的ASN-GW称为目标ASN-GW),用户会话的传输从目标ASN-GW到CSN将会存在两个可能的场景,分别如图3的场景一和场景二所示。When an MS switches between two ASN-GWs (the original ASN-GW is called the serving ASN-GW, and the new ASN-GW is called the target ASN-GW), the transfer of the user session is from the target ASN-GW to the CSN There will be two possible scenarios, as shown in scenario 1 and scenario 2 in FIG. 3 .

场景一:目标ASN-GW到锚ASN-GW之间建立一条R4数据通道,用户数据由目标ASN-GW先到锚ASN-GW,然后由锚ASN-GW再到CSN。Scenario 1: An R4 data channel is established between the target ASN-GW and the anchor ASN-GW. User data is sent from the target ASN-GW to the anchor ASN-GW first, and then from the anchor ASN-GW to the CSN.

场景二:目标ASN-GW重新锚定用户会话作为新的锚ASN-GW,直接连接到CSN。Scenario 2: The target ASN-GW re-anchors the user session as a new anchor ASN-GW, which is directly connected to the CSN.

这两种场景在ASN-GW切换时都会发生,一般情况下,用户会话将经过目标ASN-GW到锚ASN-GW,再由锚ASN-GW到CSN,但是当原来的锚ASN-GW在某些情况下会主动向目标ASN-GW要求由它充当新的锚ASN-GW,又或者当目标ASN-GW认为锚ASN-GW响应过慢,资源不足等情况下,会主动向锚ASN-GW发起请求,要求充当新的描ASN-GW。These two scenarios will happen when the ASN-GW is switched. Generally, the user session will pass through the target ASN-GW to the anchor ASN-GW, and then from the anchor ASN-GW to the CSN. However, when the original anchor ASN-GW In some cases, it will actively ask the target ASN-GW to act as the new anchor ASN-GW, or when the target ASN-GW thinks that the anchor ASN-GW responds too slowly and resources are insufficient, it will actively ask the anchor ASN-GW Initiate a request to act as a new ASN-GW.

为了明确表示ASN内同一用户经过多个GW的情况,以下将提供R3数据通道与核心网相连的ASN-GW称为R3GW,将直接与BS相连的GW称为R6GW,在很多场景下,R3GW与R6GW是同一个GW,伴随着用户终端移动,各种切换场景发生后,R3GW与R6GW可能是两个不同的GW。In order to clearly indicate that the same user in the ASN passes through multiple GWs, the ASN-GW that provides the R3 data channel and is connected to the core network is called R3GW, and the GW that is directly connected to the BS is called R6GW. In many scenarios, R3GW and R6GW is the same GW. With the movement of user terminals, after various handover scenarios occur, R3GW and R6GW may be two different GWs.

在无线网络中,BS与Cell是两个基本概念,下面分别介绍:In a wireless network, BS and Cell are two basic concepts, which are introduced below:

BS是无线基站;Cell是基站下面的一个小区(或者叫扇区),一个基站BS里可能配置成多个载频而形成的多个小区(或者叫扇区),也就是BS的覆盖区域可以划分成多个小区(或者叫扇区),当然一个基站也可以只有一个小区。当MS移动的时候,可以引发同一个BS不同小区Cell之间的切换,也就是说存在BS不变,但Cell改变的切换。BS is a wireless base station; Cell is a cell (or sector) under the base station. Multiple cells (or sectors) formed by configuring multiple carrier frequencies in a base station BS, that is, the coverage area of the BS can be Divided into multiple cells (or called sectors), of course, a base station can also have only one cell. When the MS moves, a handover between different cells of the same BS may be triggered, that is to say, there is a handover in which the BS remains unchanged but the Cell changes.

直径(Diameter)协议的引入是作为支持基于IP技术的AAA框架的AAA协议。Diameter协议主要功能为:认证(Authentication)用户在使用网络系统中的资源时对用户身份的确认;授权(Authorization)网络系统授权用户以特定的方式使用其资源;计费(Accounting))网络系统收集、记录用户对网络资源的使用,以便向用户收取资源使用费用,或者用于审计等目的。以互联网接入业务供应商ISP为例,用户的网络接入使用情况可以按流量或者时间被准确记录下来。Diameter (Diameter) protocol is introduced as an AAA protocol supporting the AAA framework based on IP technology. The main functions of the Diameter protocol are: Authentication (Authentication) confirms the user's identity when the user uses the resources in the network system; Authorization (Authorization) the network system authorizes the user to use its resources in a specific way; Accounting (Accounting)) The network system collects , Record the use of network resources by users, so as to charge users for resource usage fees, or for auditing purposes. Taking the Internet access service provider ISP as an example, the user's network access usage can be accurately recorded according to traffic or time.

Diameter消息由消息头和消息体组成,消息体部分以AVP为单位,每个AVP携带了一个具体的消息参数值,每个AVP包含AVP头和Data部分。其中,Event-Trigger AVP是一个枚举类型,当此AVP从PCRF发送到PCEF时,用来指示哪些事件发生后,PCEF需要重新申请PCC规则,当此AVP从PCEF发送到PCRF时,其指示相应的某些事件发生。The Diameter message is composed of a message header and a message body. The message body is in units of AVPs. Each AVP carries a specific message parameter value. Each AVP includes an AVP header and a Data part. Among them, Event-Trigger AVP is an enumerated type. When this AVP is sent from PCRF to PCEF, it is used to indicate which events occur, and PCEF needs to re-apply for PCC rules. When this AVP is sent from PCEF to PCRF, it indicates the corresponding certain events occur.

Diameter消息包括信用控制请求(CCR)消息和信用控制响应消息(CCA),其中,CCR消息为客户端与信用控制服务器之间为一个业务请求信用授权;CCA用于信用控制服务器和客户端之间确认接收到CCR消息。The Diameter message includes a Credit Control Request (CCR) message and a Credit Control Response message (CCA), where the CCR message requests credit authorization for a business between the client and the credit control server; CCA is used between the credit control server and the client Acknowledge receipt of the CCR message.

从上述简单叙述可以看出,3GPP标准组织首先提出PCC架构,由于PCC架构符合基于业务流的Qos控制与计费的网络发展趋势,所以越来越多的标准制定组织引进PCC标准作为其标准的一部分,相应的PCC架构原来是3GPP制定的,很多特性只符合3GPP的规范,所以这些引进PCC架构的各种标准组织都会对PCC架构进行一些改进,以使其适应本身网络的情况。From the above brief description, it can be seen that the 3GPP standards organization first proposed the PCC architecture. Since the PCC architecture conforms to the network development trend of QoS control and charging based on service flow, more and more standard-setting organizations introduce the PCC standard as their standard. Partly, the corresponding PCC architecture was originally formulated by 3GPP, and many features only conform to the 3GPP specifications. Therefore, various standard organizations that introduce the PCC architecture will make some improvements to the PCC architecture to adapt to their own network conditions.

但是,在融合PCC架构的网络中,目前还没有根据MS接入信息定制不同的PCC规则的方法。更进一步地,目前也没有根据MS接入信息确定策略规则的方法。However, currently there is no method for customizing different PCC rules according to MS access information in a network that integrates the PCC architecture. Furthermore, there is currently no method for determining policy rules based on MS access information.

发明内容Contents of the invention

本发明实施例提供了一种确定策略规则的方法,该方法能够根据MS接入信息确定不同的策略规则。本发明实施例还提供一种确定策略规则的系统,该系统能够根据MS接入信息确定不同的策略规则。The embodiment of the present invention provides a method for determining policy rules, which can determine different policy rules according to MS access information. The embodiment of the present invention also provides a system for determining policy rules, which can determine different policy rules according to MS access information.

根据上述目的,本发明实施例是这样实现的:一种确定策略规则的方法,该方法包括:策略规则执行实体将用户终端接入信息发送给策略规则生成实体;策略规则生成实体根据接收到的用户终端接入信息生成策略规则后,发送给策略规则执行实体执行;所述用户终端接入信息包括接入网络信息或/和基站信息;所述接入网络信息为网络接入提供商NAP、接入网标识码Access Network Code、或标识当前接入网络的信息;所述基站信息为基站标识码BS ID、小区标识码Cell ID、全球小区识别码CGI、BS IP地址、或SFMIP地址。According to the above purpose, the embodiment of the present invention is implemented as follows: a method for determining a policy rule, the method includes: the policy rule execution entity sends the user terminal access information to the policy rule generation entity; the policy rule generation entity After the user terminal access information generates a policy rule, it is sent to the policy rule execution entity for execution; the user terminal access information includes access network information or/and base station information; the access network information is a network access provider NAP, Access network identification code Access Network Code, or information identifying the current access network; the base station information is base station identification code BS ID, cell identification code Cell ID, global cell identification code CGI, BS IP address, or SFMIP address.

一种确定策略规则的系统,所述系统包括策略规则生成实体以及策略规则执行实体,其中,策略规则执行实体,用于向策略规则生成实体发送MS接入信息;根据接收策略规则生成实体发送的策略规则执行;策略规则生成实体,用于接收策略规则执行实体发送MS接入信息,根据MS接入信息生成策略规则后,发送给策略规则执行实体;所述用户终端接入信息包括接入网络信息或/和基站信息;所述接入网络信息为网络接入提供商NAP、接入网标识码Access Network Code、或标识当前接入网络的信息;所述基站信息为基站标识码BS ID、小区标识码Cell ID、全球小区识别码CGI、BS IP地址、或SFM IP地址。A system for determining policy rules, the system includes a policy rule generation entity and a policy rule execution entity, wherein the policy rule execution entity is used to send MS access information to the policy rule generation entity; Policy rule execution; the policy rule generation entity is used to receive the MS access information sent by the policy rule execution entity, and after generating the policy rule according to the MS access information, send it to the policy rule execution entity; the user terminal access information includes the access network information or/and base station information; the access network information is a network access provider NAP, an access network identification code Access Network Code, or information identifying a current access network; the base station information is a base station identification code BS ID, Cell identification code Cell ID, global cell identification code CGI, BS IP address, or SFM IP address.

由上述方案可以看出,本发明实施例提供的方法及系统可以由策略规则执行实体将MS接入信息上报给策略规则生成实体,策略规则生成实体可以根据接收到的MS接入信息生成策略规则后,发送给策略规则执行实体进行执行。因此,本发明实施例提供的系统及方法可以根据MS当前接入信息确定不同的策略规则。It can be seen from the above solutions that in the method and system provided by the embodiments of the present invention, the policy rule execution entity can report the MS access information to the policy rule generation entity, and the policy rule generation entity can generate policy rules according to the received MS access information After that, it is sent to the policy rule execution entity for execution. Therefore, the system and method provided by the embodiments of the present invention can determine different policy rules according to the current access information of the MS.

附图说明Description of drawings

图1为现有技术中的提供QoS的WiMAX系统网络示意图;FIG. 1 is a schematic diagram of a WiMAX system network providing QoS in the prior art;

图2为现有技术中的融合了SBLP和FBC后的架构示意图;FIG. 2 is a schematic diagram of the architecture after the fusion of SBLP and FBC in the prior art;

图3为现有技术MS在两个ASN-GW之间切换时的场景示意图;FIG. 3 is a schematic diagram of a scene when an MS is switched between two ASN-GWs in the prior art;

图4为本发明实施例确定PCC规则的方法流程图;Fig. 4 is the flow chart of the method for determining PCC rules according to an embodiment of the present invention;

图5为本发明实施例确定QoS策略或/和计费规则的方法流程图;FIG. 5 is a flowchart of a method for determining QoS policies or/and charging rules according to an embodiment of the present invention;

图6为本发明较佳实施例一确定PCC规则的方法流程图;Fig. 6 is a flow chart of a method for determining PCC rules in a preferred embodiment of the present invention;

图7为本发明较佳实施例二下发上报MS接入网络信息改变事件的方法流程图;FIG. 7 is a flowchart of a method for sending and reporting MS access network information change events according to the second preferred embodiment of the present invention;

图8为本发明较佳实施例二上报MS接入网络信息改变事件的方法流程图;FIG. 8 is a flow chart of a method for reporting an MS access network information change event in the second preferred embodiment of the present invention;

图9为本发明实施例WiMAX网络在与IMS网络融合时采用PCC架构的示意图;9 is a schematic diagram of a PCC architecture used when a WiMAX network is integrated with an IMS network according to an embodiment of the present invention;

图10为本发明较佳实施例三确定PCC规则的方法流程图;Fig. 10 is a flow chart of a method for determining PCC rules in the third preferred embodiment of the present invention;

图11为本发明较佳实施例三上报MS接入网络信息改变事件的方法流程图;FIG. 11 is a flow chart of a method for reporting an MS access network information change event according to the third preferred embodiment of the present invention;

图12为本发明较佳实施例四确定PCC规则的方法流程图;Fig. 12 is a flowchart of a method for determining PCC rules according to the fourth preferred embodiment of the present invention;

图13为本发明较佳实施例五下发上报MS接入网络信息改变事件的方法流程图;Fig. 13 is a flowchart of a method for sending and reporting MS access network information change events according to the fifth preferred embodiment of the present invention;

图14为本发明较佳实施例五上报MS接入网络信息改变事件的方法流程图;FIG. 14 is a flow chart of a method for reporting an MS access network information change event according to the fifth preferred embodiment of the present invention;

图15为本发明较佳实施例六确定PCC规则的方法流程图;Fig. 15 is a flow chart of a method for determining PCC rules according to the sixth preferred embodiment of the present invention;

图16为本发明较佳实施例六上报MS接入网络信息改变事件的方法流程图;FIG. 16 is a flowchart of a method for reporting an MS access network information change event according to the sixth preferred embodiment of the present invention;

图17为本发明较佳实施例七确定PCC规则的方法流程图;Fig. 17 is a flow chart of a method for determining PCC rules according to the seventh preferred embodiment of the present invention;

图18为本发明较佳实施例八下发上报MS接入网络信息改变事件的方法流程图;Fig. 18 is a flowchart of a method for sending and reporting MS access network information change events according to the eighth preferred embodiment of the present invention;

图19为本发明较佳实施例八上报MS接入网络信息改变事件的方法流程图;FIG. 19 is a flowchart of a method for reporting an MS access network information change event according to the eighth preferred embodiment of the present invention;

图20为本发明较佳实施例九确定PCC规则的方法流程图;Fig. 20 is a flowchart of a method for determining PCC rules according to the ninth preferred embodiment of the present invention;

图21为本发明较佳实施例九上报MS接入网络信息改变事件的方法流程图;FIG. 21 is a flow chart of a method for reporting an MS access network information change event according to the ninth preferred embodiment of the present invention;

图22为本发明较佳实施例十确定QoS策略或/和计费规则的方法流程图;FIG. 22 is a flowchart of a method for determining QoS policies or/and charging rules according to the tenth preferred embodiment of the present invention;

图23为本发明实施例提供的一种确定策略规则的系统示意图。Fig. 23 is a schematic diagram of a system for determining policy rules provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面结合附图对本发明实施例作进一步的详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.

当用户接入网络时,MS的接入信息可以包括接入网络信息、接入区域信息或/和基站信息。When the user accesses the network, the access information of the MS may include access network information, access area information or/and base station information.

其中,接入网络信息可以为NAP、接入网标识码(Access Network Code)或其他能标识当前接入网络的信息。Wherein, the access network information may be NAP, Access Network Code (Access Network Code) or other information that can identify the current access network.

接入区域信息在不同的网络中可以对应不同的信息,对于WiMAX网络,接入区域信息可以是接入服务网络网关IP(ASN-GW IP)地址、业务流授权者IP(SFA IP)地址、外地代理IP(FA IP)地址、数据通道功能体IP(DP Function IP)地址等;对于GSM或码分多址(CDMA)网络,接入区域信息可以是局部区域面积标识(LAI,Location Area Identity)或者路由区域面积标识(RAI,Routing Area Identity),对于一般的IP网络而言,接入区域信息可以是接入服务器标识(NAS ID)或者接入服务器IP地址(NASIP地址)。The access area information may correspond to different information in different networks. For a WiMAX network, the access area information may be the access service network gateway IP (ASN-GW IP) address, service flow authorizer IP (SFA IP) address, Foreign agent IP (FA IP) address, data channel function body IP (DP Function IP) address, etc.; for GSM or code division multiple access (CDMA) network, access area information can be local area area identification (LAI, Location Area Identity ) or Routing Area Identity (RAI, Routing Area Identity), for a general IP network, the access area information can be an access server identification (NAS ID) or an access server IP address (NASIP address).

基站信息可以为基站标识码(BS ID)、小区标识码(Cell ID)、全球小区识别码(CGI,Cell Global Identity)、BS IP地址、或者业务流管理者IP(SFM IP)地址。The base station information can be a base station identification code (BS ID), a cell identification code (Cell ID), a global cell identification code (CGI, Cell Global Identity), a BS IP address, or a service flow manager IP (SFM IP) address.

本发明实施例在融合PCC架构的网络中,由PCEF上报MS的接入信息给PCRE,PCRF可以根据MS的接入信息确定不同的PCC规则后,下发给PCEF执行。这样,就可以实现根据MS接入信息确定不同地PCC规则。In the embodiment of the present invention, in a network integrating the PCC architecture, the PCEF reports the MS access information to the PCRE, and the PCRF can determine different PCC rules according to the MS access information, and deliver them to the PCEF for execution. In this way, different PCC rules can be determined according to the MS access information.

图4为本发明实施例确定PCC规则的方法流程图,该方法涉及PCC构架中的PCEF和PCRF,其具体步骤为:Fig. 4 is the flow chart of the method for determining PCC rules in the embodiment of the present invention, this method involves PCEF and PCRF in the PCC framework, and its specific steps are:

步骤401、PCEF向PCRF发送PCC规则请求消息,该消息携带MS接入信息。Step 401, PCEF sends a PCC rule request message to PCRF, and the message carries MS access information.

在本发明实施例中,PCC规则请求消息可以为CCR消息或其他消息,MS的接入信息为接入区域信息、接入网络信息和基站信息中的一种或多种组合。In the embodiment of the present invention, the PCC rule request message may be a CCR message or other messages, and the access information of the MS is one or more combinations of access area information, access network information and base station information.

步骤402、PCRF接收到该请求消息后,根据携带的MS接入信息,结合现有机制的其他信息,确定PCC规则。Step 402: After receiving the request message, the PCRF determines the PCC rule according to the carried MS access information and other information in the existing mechanism.

现有机制的其他信息为来自AF的业务信息,来自SPR的用户签约信息。Other information of the existing mechanism is service information from AF and user subscription information from SPR.

确定PCC规则的策略可以预先设定。例如,预先在PCRF设置MS的接入信息、现有机制的一些信息和各个PCC规则三者直接的对应关系,根据对应关系生成PCC规则,在PCC规则中,有如何进行计费、如何对计费进行标识、和如何控制计费等信息。The policy for determining the PCC rule can be preset. For example, the direct correspondence between the MS's access information, some information of the existing mechanism, and each PCC rule is set in PCRF in advance, and the PCC rule is generated according to the correspondence. In the PCC rule, how to charge, how to charge Information about identifying charges and how to control billing.

步骤403、PCRF向PCEF发送PCC规则响应消息,携带确定的PCC规则。In step 403, the PCRF sends a PCC rule response message to the PCEF, carrying the determined PCC rule.

该响应消息可以为CCA消息或其他消息。The response message may be a CCA message or other messages.

步骤404、PCEF接收到该响应消息后,执行所携带的PCC规则。Step 404: After receiving the response message, the PCEF executes the carried PCC rule.

在本发明实施例中,如果WiMAX网络引入PCC构架,其确定PCC规则的方法如图4所述,如果WiMAX网络遵循的是自己标准的规划,则如图5所示,涉及的网络实体包括SFA和PF,可以参见的网络框架如图1所示,其具体步骤为:In the embodiment of the present invention, if the WiMAX network introduces the PCC framework, the method for determining PCC rules is as shown in Figure 4, and if the WiMAX network follows its own standard planning, as shown in Figure 5, the involved network entities include SFA and PF, the network framework that can be referred to is shown in Figure 1, and its specific steps are:

步骤501、SFA向PF发送请求消息,该消息携带MS的接入信息。Step 501, the SFA sends a request message to the PF, and the message carries the access information of the MS.

该请求消息可以是策略决定(Policy-Decision)消息、资源预留(Resource-Reservation)消息、位置更新(Location-Update)消息、QoS策略请求消息、计费规则请求消息或CCR消息等。The request message may be a policy decision (Policy-Decision) message, a resource reservation (Resource-Reservation) message, a location update (Location-Update) message, a QoS policy request message, a charging rule request message, or a CCR message.

步骤502、PF根据接收到请求消息携带MS的接入信息,结合现有机制的其他信息,确定QoS策略或/和计费规则。In step 502, the PF determines the QoS policy or/and charging rule according to the access information of the MS carried in the received request message and in combination with other information of the existing mechanism.

确定QoS策略或/和计费规则的策略可以预先设定。Policies for determining QoS policies or/and charging rules can be preset.

现有机制的其他信息可以为来自AF的业务信息等。Other information of the existing mechanism may be service information from the AF, etc.

步骤503、PF向SFA发送响应消息,携带确定的QoS策略或/和计费规则。Step 503, the PF sends a response message to the SFA, carrying the determined QoS policy or/and charging rule.

步骤504、SFA接收到该响应消息后,执行所携带的QoS策略或/和计费规则。Step 504: After receiving the response message, the SFA executes the carried QoS policy or/and charging rule.

以下举具体实施例说明本发明实施例提供的方法。The following specific examples are given to illustrate the methods provided in the embodiments of the present invention.

实施例一到实施例三说明是如何根据MS接入网络信息确定PCC规则的实施例Embodiments 1 to 3 illustrate how to determine PCC rules according to MS access network information

实施例一Embodiment one

在PCC架构中(包括WiMAX PCC、3GPP PCC、3GPP2 MMD、TispanIMS等所有PCC架构)中,当MS接入网络、IP连通接入网络(IP-CAN,IP-Connectivity Access Network)会话建立或者PCEF变换情况下,PCEF与PCRF之间需要建立应用层会话,由于在3GPP中,PCEF与PCRF之间的接口为Gx接口,所以之间的会话称为Gx会话,PCEF在Gx会话建立请求消息中增加携带MS接入网络信息,PCRF根据接收到该消息携带的MS接入网络信息结合现有信息生成PCC规则。In the PCC architecture (including all PCC architectures such as WiMAX PCC, 3GPP PCC, 3GPP2 MMD, and TispanIMS), when MS accesses the network, IP-Connectivity Access Network (IP-CAN, IP-Connectivity Access Network) session establishment or PCEF conversion In this case, an application layer session needs to be established between PCEF and PCRF. Since the interface between PCEF and PCRF is a Gx interface in 3GPP, the session between PCEF and PCRF is called a Gx session. PCEF adds a Gx session establishment request message carrying The MS access network information, and the PCRF generates a PCC rule according to the MS access network information carried in the received message and combined with the existing information.

在3GPP2中,PCEF与PCRF之间的接口为Ty接口,所以之间的会话称为Ty会话,PCEF在Ty会话建立请求消息中增加携带MS接入网络信息,PCRF根据接收到该消息携带的MS接入网络信息结合现有信息生成PCC规则。In 3GPP2, the interface between PCEF and PCRF is a Ty interface, so the session between them is called a Ty session. PCEF adds MS access network information to the Ty session establishment request message, and PCRF receives the MS The access network information is combined with existing information to generate PCC rules.

图6为本发明较佳实施例一确定PCC规则的方法流程图,其具体步骤为:Fig. 6 is a flow chart of a method for determining PCC rules in a preferred embodiment of the present invention, and its specific steps are:

步骤601~602、MS接入网络注册、IP-CAN会话建立或者PCEF变化情况下,PCEF要建立与PCRF之间的应用层会话,PCEF发送CCR消息给PCRF,请求建立应用层会话(Gx Session或Ty Session),CCR消息中携带MS的接入网络信息,该接入网络信息为NAP或Access Network Code。Steps 601 to 602, MS access network registration, IP-CAN session establishment or PCEF changes, PCEF will establish an application layer session with PCRF, and PCEF sends a CCR message to PCRF to request the establishment of an application layer session (Gx Session or Ty Session), the CCR message carries the access network information of the MS, and the access network information is NAP or Access Network Code.

步骤603、PCRF接收到该CCR消息后,根据现有机制的一些信息结合携带的MS的接入网络信息,生成PCC规则。Step 603: After receiving the CCR message, the PCRF generates a PCC rule according to some information of the existing mechanism and combined with the carried MS's access network information.

如何生成PCC规则可以根据设置的策略决定。例如:预先在PCRF设置MS的接入网络信息、现有机制的一些信息和各个PCC规则三者之间的对应关系,根据对应关系生成PCC规则,在PCC规则中,有如何进行计费、如何对计费进行标识、和如何控制计费等信息。How to generate the PCC rule can be determined according to the set policy. For example: the corresponding relationship between the MS’s access network information, some information of the existing mechanism, and each PCC rule is set in the PCRF in advance, and the PCC rule is generated according to the corresponding relationship. In the PCC rule, there are how to charge, how to Identify the billing, and how to control the billing and other information.

步骤604、PCRF返回CCA消息给PCEF,消息中携带PCC规则。In step 604, the PCRF returns a CCA message to the PCEF, and the message carries the PCC rule.

步骤605、PCEF执行接收到CCA消息携带的PCC规则。Step 605, the PCEF executes the PCC rule carried in the received CCA message.

实施例二Embodiment two

在PCC架构中,当MS接入网络、IP-CAN会话建立或者PCEF变换情况下,PCEF与PCRF之间要建立Gx Session或Ty Session,在建立Gx Session或Ty Session过程中,PCRF在会话建立响应消息里指出PCEF要上报MS接入网络信息改变事件,当MS移动切换时引起MS的接入网络信息变化时,PCEF就会上报MS接入网络信息改变事件同时上报MS的接入网络信息,PCRF根据上报的MS接入网络信息确定PCC规则后,在响应消息中下发该PCC规则,PCEF执行下发的PCC规则,图7为本发明较佳实施例二下发上报MS接入网络信息改变事件的方法流程图,其具体步骤为:In the PCC architecture, when the MS accesses the network, the IP-CAN session is established, or the PCEF is changed, a Gx Session or Ty Session must be established between the PCEF and the PCRF. During the establishment of the Gx Session or Ty Session, the PCRF responds when the session is established. The message indicates that the PCEF should report the MS access network information change event. When the MS access network information changes when the MS moves and switches, the PCEF will report the MS access network information change event and the MS access network information at the same time. PCRF After the PCC rule is determined according to the reported MS access network information, the PCC rule is issued in the response message, and the PCEF executes the issued PCC rule. Figure 7 shows the second preferred embodiment of the present invention to issue and report the MS access network information change The method flow chart of the event, the specific steps are:

步骤701、当MS接入网络、IP-CAN会话建立或者PCEF变换情况下,PCEF要建立与PCRF之间的Gx Session或Ty Session,PCEF发送CCR消息给PCRF,请求建立Gx Session或Ty Session,CCR消息中携带MS的接入网络信息,该接入网络信息为NAP或Access Network Code。Step 701, when the MS accesses the network, the IP-CAN session is established or the PCEF is changed, the PCEF needs to establish a Gx Session or Ty Session with the PCRF, and the PCEF sends a CCR message to the PCRF, requesting the establishment of the Gx Session or Ty Session, CCR The message carries the access network information of the MS, and the access network information is NAP or Access Network Code.

步骤702、PCRF接收到该CCR消息后,根据现有机制的一些信息结合携带的MS的接入网络信息,生成PCC规则,PCRF在PCC规则中指明了PCEF需要上报MS接入网络信息改变事件,PCRF返回CCA消息给PCEF,消息中携带PCC规则。Step 702, after the PCRF receives the CCR message, it generates a PCC rule based on some information of the existing mechanism combined with the carried MS's access network information, and the PCRF indicates in the PCC rule that the PCEF needs to report the MS's access network information change event, The PCRF returns a CCA message to the PCEF, and the message carries the PCC rule.

图8为本发明较佳实施例二上报MS接入网络信息改变事件的方法流程图,其具体步骤为:Fig. 8 is a flow chart of the method for reporting MS access network information change event in the second preferred embodiment of the present invention, and its specific steps are:

步骤801、由于MS移动、重认证等过程发生、或者其它情况引起MS接入网络信息发生变化时,包括但不限于NAP或Access Network Code改变,PCEF通过CCR消息上报接入网络信息改变事件给PCRF。CCR消息除现有的内容外,还携带的内容如表一所示:Step 801: When MS access network information changes due to MS movement, re-authentication process, or other circumstances, including but not limited to NAP or Access Network Code changes, PCEF reports access network information change events to PCRF through CCR messages . In addition to the existing content, the CCR message also carries the content shown in Table 1:

 AVPAVP  AVP的值AVP value   类别Category  Event-TriggerEvent-Trigger  在现有的Event-Trigger AVP中增加一个值来指示接入网络 信息改变事件。具体实现时可以增加 Access_Network_Change值来完成。Add a value to the existing Event-Trigger AVP to indicate the access network information change event. It can be completed by increasing the value of Access_Network_Change during specific implementation.   新增add new  接入网络信息access network information  接入网络信息的值为NAP或者Access Network CodeThe value of access network information is NAP or Access Network Code   新增add new

表一Table I

即CCR消息携带MS信息改变事件标识以及MS接入网络信息的更改值。That is, the CCR message carries the MS information change event identifier and the change value of the MS access network information.

步骤802、PCRF接收到该CCR消息后,根据现有机制的一些信息结合携带的MS接入网络信息的更改值,重新生成PCC规则。Step 802: After receiving the CCR message, the PCRF regenerates the PCC rule according to some information of the existing mechanism and the carried modification value of the MS access network information.

在本发明实施例中,重新生成的PCC规则与PCEF已经为MS执行的PCC规则可以不同,也可以相同,在相同情况下,表明MS接入网络信息的更改值并不影响PCC规则,此时PCRF收到MS接入网络信息改变事件标识后,并不一定会将重新生成的PCC规则下发。In the embodiment of the present invention, the regenerated PCC rule may be different from the PCC rule already executed by the PCEF for the MS, and may also be the same. In the same case, it indicates that the change value of the MS access network information does not affect the PCC rule. At this time After the PCRF receives the MS access network information change event identifier, it does not necessarily deliver the regenerated PCC rule.

步骤803、PCRF返回CCA消息给PCEF,消息中携带PCC规则。In step 803, the PCRF returns a CCA message to the PCEF, and the message carries the PCC rule.

步骤804、PCEF接收到CCA消息后,执行携带的PCC规则。Step 804: After receiving the CCA message, the PCEF executes the carried PCC rule.

实施例三Embodiment three

在本发明实施例中,WiMAX网络在与IMS网络融合时采用PCC架构,如图9所示,图9为本发明实施例WiMAX网络在与IMS网络融合时采用PCC架构的示意图,该示意图实际上为现有技术的示意图。In the embodiment of the present invention, the WiMAX network adopts the PCC architecture when merging with the IMS network, as shown in FIG. It is a schematic diagram of the prior art.

如图所示:该网络包括SFM、SFA、代理(Agent)、PCRF以及AF依次连接。在这种架构中,WiMAX网络引入了Agent功能体,此功能体的引入主要是为了不改变原有PCC架构的Gx接口,PCEF与PCRF之间的Gx接口是不支持移动性的,即在一次IP-CAN会话过程中,PCEF与PCRF都是不会移动的,两者之间Gx会话一直保持。当WiMAX网络引入PCC构架时,将PCEF放到ASN-GW(在图中为SFA)实体实现,而对于同一MS而言,随着MS的移动,ASN-GW是会改变的,为了不改动现有PCC构架而又适应WiMAX网络特点,所以提出了Agent这个功能体,此功能体的主要作用是转发Gx接口消息,屏蔽SFA的变化,即屏蔽ASN-GW的变换,Agent与SFA之间有一个接口称之为R3或者R3-PCC接口,与PCC构架的Gx接口不同的是R3或者R3-PCC接口允许在一次IP-CAN Session过程中PCEF可以发生变化。通过Agent,可以实现:Agent与PCRF之间使用现有的Gx接口,在PCRF看来,Agent就是一个不会移动的PCEF,同时Agent与SFA之间使用R3或者R3-PCC接口,SFA是实质上执行PCC规则的实体,SFA可以移动变化。从高层次的角度来看,可以将SFA与Agent共同看作是一个PCEF,这样就完全符合原PCC架构的规定。As shown in the figure: the network includes SFM, SFA, agent (Agent), PCRF and AF connected in sequence. In this architecture, the WiMAX network introduces the Agent function body. The introduction of this function body is mainly to not change the Gx interface of the original PCC architecture. The Gx interface between PCEF and PCRF does not support mobility. During the IP-CAN session, both PCEF and PCRF will not move, and the Gx session between the two is always maintained. When the WiMAX network introduces the PCC framework, the PCEF is placed in the ASN-GW (SFA in the figure) entity for implementation. For the same MS, the ASN-GW will change as the MS moves. In order not to change the current It has PCC structure and adapts to the characteristics of WiMAX network, so the function body of Agent is proposed. The main function of this function body is to forward the Gx interface message and shield the change of SFA, that is, to shield the transformation of ASN-GW. There is a The interface is called R3 or R3-PCC interface. The difference from the Gx interface of the PCC framework is that the R3 or R3-PCC interface allows PCEF to change during an IP-CAN Session. Through the Agent, it can be realized that the existing Gx interface is used between the Agent and the PCRF. From the perspective of the PCRF, the Agent is a PCEF that does not move. At the same time, the R3 or R3-PCC interface is used between the Agent and the SFA. The SFA is essentially Entities that implement PCC rules, SFA can move and change. From a high-level point of view, SFA and Agent can be regarded as a PCEF, which fully complies with the original PCC framework.

在图9所示架构的基础上,在建立SFA和Agent之间的R3 Session或者R3-PCC Session以及Agent与PCRF之间的Gx Session过程中,CCR消息携带MS的接入网络信息,其方法如图10所示:On the basis of the architecture shown in Figure 9, in the process of establishing the R3 Session or R3-PCC Session between the SFA and the Agent and the Gx Session between the Agent and the PCRF, the CCR message carries the MS's access network information, and the method is as follows As shown in Figure 10:

步骤1001、SFA发送CCR消息到Agent,指示R3 Session或者R3-PCCSession建立,CCR消息携带MS的接入网络信息。Step 1001, the SFA sends a CCR message to the Agent, instructing the R3 Session or R3-PCCSession to be established, and the CCR message carries the access network information of the MS.

在本发明实施例中,SFA也可以发送携带MS的接入网络信息的其他消息,用于替代CCR消息,如Policy-Decision消息、Resource-Reservation消息、Location-Update消息、QoS策略请求消息、或计费规则请求消息等,只要是SFA与Agent之间的承载消息即可。In the embodiment of the present invention, the SFA may also send other messages carrying the access network information of the MS to replace the CCR message, such as Policy-Decision message, Resource-Reservation message, Location-Update message, QoS policy request message, or Charging rule request messages, etc., only need to be bearer messages between the SFA and the Agent.

在本发明实施例中,Diameter CCR消息所携带内容如表2所示:In the embodiment of the present invention, the content carried by the Diameter CCR message is shown in Table 2:

  AVPAVP   AVP的值The value of AVP   类别Category   接入网络信息Access to network information   NAP或者Access Network CodeNAP or Access Network Code   新增add new

表二Table II

步骤1002、Agent接收到CCR消息后,判断自身是否存储MS的用户会话信息,如Session-ID,如果否,则执行步骤1003;Step 1002, after the Agent receives the CCR message, it judges whether it stores the user session information of the MS, such as Session-ID, if not, then executes step 1003;

如果是,则再判断存储MS的用户会话信息中的MS接入网络信息是否与CCR消息所携带的MS接入网络信息一致,如果是,执行步骤1005;如果否,则执行步骤1003。If yes, then judge whether the MS access network information stored in the user session information of the MS is consistent with the MS access network information carried in the CCR message, if yes, perform step 1005; if not, perform step 1003.

步骤1003、Agent向PCRF发送携带MS的接入网络信息的CCR消息。Step 1003, the Agent sends a CCR message carrying the MS's access network information to the PCRF.

在本发明实施例中,CCR消息所携带内容如表三所示:In the embodiment of the present invention, the content carried by the CCR message is shown in Table 3:

  AVPAVP   AVP的值The value of AVP   类别Category   接入网络信息Access to network information   NAP或者Access Network CodeNAP or Access Network Code   新增add new

表三Table three

步骤1004、PCRF接收到CCR消息后,根据携带的MS的接入网络信息以及现有机制的信息生成PCC规则并在CCA消息中返回给Agent,在此消息中携带的PCC规则可以指出要上报MS接入网络信息改变事件。Step 1004: After the PCRF receives the CCR message, it generates a PCC rule according to the carried MS's access network information and the information of the existing mechanism, and returns it to the Agent in the CCA message. The PCC rule carried in this message can indicate that it should be reported to the MS Access network information change events.

步骤1005、Agent返回CCA消息给SFA,该消息携带PCC规则。Step 1005, the Agent returns a CCA message to the SFA, and the message carries the PCC rule.

在本发明实施例中,SFA也可以发送携带携带PCC规则的其他消息,用于替代CCA消息,如Policy-Decision消息、Resource-Reservation消息、Location-Update消息、QoS策略请求消息、或计费规则请求消息等,只要是SFA与Agent之间的承载消息即可。In the embodiment of the present invention, SFA can also send other messages carrying PCC rules to replace CCA messages, such as Policy-Decision message, Resource-Reservation message, Location-Update message, QoS policy request message, or charging rules Request messages, etc., only need to be bearer messages between the SFA and the Agent.

步骤1006、SFA接收到CCA消息后,根据携带的PCC规则执行。Step 1006: After receiving the CCA message, the SFA executes according to the carried PCC rule.

在图9所示架构的基础上,MS移动引起接入网络信息变化时,Agent可以上报接入网络信息给PCRF。其具体过程如图11所示:On the basis of the architecture shown in FIG. 9 , when the mobile access network information of the MS changes, the Agent can report the access network information to the PCRF. The specific process is shown in Figure 11:

步骤1101、MS移动、重认证过程完成或者其它情况引起SFA变化,SFA要建立与Agent的应用层会话,发送CCR消息到Agent,携带MS接入网络信息,指示R3或者R3-PCC Session建立。Step 1101, when the MS moves, the re-authentication process is completed, or other circumstances cause the SFA to change, the SFA will establish an application layer session with the Agent, send a CCR message to the Agent, carry the MS access network information, and instruct R3 or R3-PCC Session establishment.

在本实施例中,SFA可以为MS切换后的SFA,MS第一次入网的SFA或MS重入网时所属的SFA等。In this embodiment, the SFA may be the SFA after the MS is handed over, the SFA of the MS's first access to the network, or the SFA to which the MS belongs when it re-enters the network.

在本发明实施例中,SFA也可以发送携带携带PCC规则的其他消息,用于替代CCR消息,只要是SFA与Agent之间的承载消息即可。In the embodiment of the present invention, the SFA may also send other messages carrying PCC rules to replace the CCR message, as long as it is a bearer message between the SFA and the Agent.

在本发明实施例中,CCR消息携带增加的内容如表四所示:In the embodiment of the present invention, the added content carried by the CCR message is shown in Table 4:

  AVPAVP   AVP的值The value of AVP   类别Category   接入网络信息Access to network information   NAP或者Access Network CodeNAP or Access Network Code   新增add new

表四Table four

步骤1102、Agent接收到CCR消息后,判断自身是否存储MS的用户会话信息,如Session-ID,如果否,则执行步骤1103;Step 1102, after the Agent receives the CCR message, it judges whether it stores the user session information of the MS, such as Session-ID, if not, then executes Step 1103;

如果是,则再判断存储MS的用户会话信息中的MS接入网络信息是否与CCR消息MS的用户会话信息所携带的MS接入网络信息一致,如果是,执行步骤1105;如果否,则执行步骤1103。If yes, then judge whether the MS access network information stored in the user session information of the MS is consistent with the MS access network information carried in the MS user session information of the CCR message, if yes, perform step 1105; if not, perform Step 1103.

步骤1103、Agent向PCRF发送携带MS的接入网络信息的CCR消息。Step 1103, the Agent sends a CCR message carrying the MS's access network information to the PCRF.

在本发明实施例中,CCR消息所携带内容如表五所示:In the embodiment of the present invention, the content carried by the CCR message is shown in Table 5:

 AVPAVP   AVP的值The value of AVP   类别Category  Event-TriggerEvent-Trigger   在现有的Event-Trigger AVP中增加一个值来  指示接入网络信息改变事件。具体实现时可以  增加Access_Network_Change值。Add a value to the existing Event-Trigger AVP to indicate the access network information change event. The value of Access_Network_Change can be increased during specific implementation.   新增add new  接入网络信息access network information   NAP或者Access Network CodeNAP or Access Network Code   新增add new

表五Table five

步骤1104、PCRF接收到该CCR消息后,根据现有机制的一些信息结合携带的MS接入网络信息的更改值,重新生成PCC规则,PCRF返回CCA消息给Agent,消息中携带PCC规则。Step 1104: After receiving the CCR message, the PCRF regenerates the PCC rule according to some information of the existing mechanism combined with the changed value of the MS access network information carried, and the PCRF returns a CCA message to the Agent, which carries the PCC rule.

在本发明实施例中,重新生成的PCC规则与PCEF已经为MS执行的PCC规则可以不同,也可以相同,在相同情况下,表明MS接入网络信息的更改值并不影响PCC规则,此时PCRF收到MS接入网络信息改变事件标识后,并不一定会将重新生成的PCC规则下发。In the embodiment of the present invention, the regenerated PCC rule may be different from the PCC rule already executed by the PCEF for the MS, and may also be the same. In the same case, it indicates that the change value of the MS access network information does not affect the PCC rule. At this time After the PCRF receives the MS access network information change event identifier, it does not necessarily deliver the regenerated PCC rule.

步骤1105、Agent返回CCA消息给SFA,携带PCC规则。Step 1105, the Agent returns a CCA message to the SFA, carrying the PCC rule.

在本发明实施例中,SFA也可以发送携带携带PCC规则的其他消息,用于替代CCA消息,只要是SFA与Agent之间的承载消息即可。In the embodiment of the present invention, the SFA may also send other messages carrying PCC rules to replace the CCA message, as long as it is a bearer message between the SFA and the Agent.

步骤1106、SFA接收到CCA消息后,执行PCC规则进行QoS授权。Step 1106, after receiving the CCA message, the SFA executes the PCC rule to perform QoS authorization.

实施例四到实施例六说明是如何根据MS接入区域信息确定PCC规则的实施例Embodiment 4 to Embodiment 6 illustrate the embodiment of how to determine the PCC rule according to the MS access area information

实施例四Embodiment four

在PCC架构中,当MS接入网络、IP-CAN会话建立或者PCEF变换情况下,PCEF与PCRF之间需要建立Gx Session或Ty Session,PCEF在GxSession或Ty Session建立请求消息中增加携带MS接入区域信息,PCRF根据接收到该消息携带的MS接入区域信息结合现有信息生成PCC规则,图12为本发明较佳实施例四确定PCC规则的方法流程图,其具体步骤为:In the PCC architecture, when the MS accesses the network, the IP-CAN session is established, or the PCEF is changed, a Gx Session or Ty Session needs to be established between the PCEF and the PCRF, and the PCEF adds the MS access in the GxSession or Ty Session establishment request message. Area information, PCRF generates PCC rules according to the MS access area information carried in the received message combined with existing information. FIG. 12 is a flowchart of a method for determining PCC rules in the fourth preferred embodiment of the present invention. The specific steps are:

步骤1201~1202、MS接入网络注册、IP-CAN会话建立或者PCEF变化情况下,PCEF要建立与PCRF之间的应用层会话,PCEF发送CCR消息给PCRF,请求建立Gx Session或Ty Session,CCR消息中携带MS的接入区域信息,该接入区域信息为为ASN-GW IP地址、SFA IP地址、FA IP地址、DP Function IP地址、LAI、RAI、NAS ID、或NAS IP地址。Steps 1201-1202, MS access network registration, IP-CAN session establishment or PCEF changes, PCEF will establish an application layer session with PCRF, PCEF sends a CCR message to PCRF, requesting to establish Gx Session or Ty Session, CCR The message carries the access area information of the MS, and the access area information is ASN-GW IP address, SFA IP address, FA IP address, DP Function IP address, LAI, RAI, NAS ID, or NAS IP address.

步骤1203、PCRF接收到该CCR消息后,根据现有机制的一些信息结合携带的MS的接入区域信息,生成PCC规则。Step 1203 , after receiving the CCR message, the PCRF generates a PCC rule according to some information of the existing mechanism and combined with the carrying area information of the MS.

如何生成PCC规则可以根据设置的策略决定。例如:预先在PCRF设置MS的接入区域信息、现有机制的一些信息和各个PCC规则三者之间的对应关系,根据对应关系生成PCC规则,在PCC规则中,有如何进行计费、如何对计费进行标识、和如何控制计费等信息。How to generate the PCC rule can be determined according to the set policy. For example: set the corresponding relationship between the MS's access area information, some information of the existing mechanism, and each PCC rule in the PCRF in advance, and generate the PCC rule according to the corresponding relationship. In the PCC rule, there are how to charge, how to Identify the billing, and how to control the billing and other information.

步骤1204、PCRF返回CCA消息给PCEF,消息中携带PCC规则。Step 1204, the PCRF returns a CCA message to the PCEF, and the message carries the PCC rule.

步骤1205、PCEF执行接收到CCA消息携带的PCC规则。Step 1205, the PCEF executes the PCC rule carried in the received CCA message.

实施例五Embodiment five

在PCC架构中,当MS接入网络、IP-CAN会话建立或者PCEF变换情况下,PCEF与PCRF之间要建立Gx Session或Ty Session,在建立Gx Session或Ty Session过程中,PCRF在会话建立响应消息里指出PCEF要上报MS接入区域信息改变事件,当MS移动切换时引起MS的接入区域信息变化时,PCEF就会上报MS接入区域信息改变事件同时上报MS新的接入区域信息,PCRF根据上报的MS接入区域信息确定PCC规则后,在响应消息中下发该PCC规则,PCEF执行下发新的PCC规则,图13为本发明较佳实施例五下发上报MS接入区域信息改变事件的方法流程图,其具体步骤为:In the PCC architecture, when the MS accesses the network, the IP-CAN session is established, or the PCEF is changed, a Gx Session or Ty Session must be established between the PCEF and the PCRF. During the establishment of the Gx Session or Ty Session, the PCRF responds when the session is established. The message indicates that the PCEF will report the MS access area information change event. When the MS access area information changes when the MS moves and switches, the PCEF will report the MS access area information change event and report the MS new access area information. After the PCRF determines the PCC rule according to the reported MS access area information, it issues the PCC rule in the response message, and the PCEF executes and issues the new PCC rule. FIG. A flow chart of the method for an information change event, the specific steps of which are:

步骤1301、当MS接入网络、IP-CAN会话建立或者PCEF变换情况下,PCEF要建立与PCRF之间的Gx Session或Ty Session,PCEF发送CCR消息给PCRF,请求建立Gx Session或Ty Session,CCR消息中携带MS的接入区域信息,该接入区域信息为ASN-GW IP地址、SFA IP地址、FA IP地址、DP Function IP地址、LAI、RAI、NAS ID、或NAS IP地址。Step 1301, when the MS accesses the network, the IP-CAN session is established or the PCEF is changed, the PCEF needs to establish a Gx Session or Ty Session with the PCRF, and the PCEF sends a CCR message to the PCRF, requesting the establishment of the Gx Session or Ty Session, CCR The message carries the access area information of the MS, and the access area information is ASN-GW IP address, SFA IP address, FA IP address, DP Function IP address, LAI, RAI, NAS ID, or NAS IP address.

步骤1302、PCRF接收到该CCR消息后,根据现有机制的一些信息结合携带的MS的接入区域信息,生成PCC规则,PCRF在PCC规则中指明了PCEF需要上报MS接入网络信息改变事件,PCRF返回CCA消息给PCEF,消息中携带PCC规则。Step 1302, after the PCRF receives the CCR message, it generates a PCC rule based on some information of the existing mechanism combined with the carried MS access area information, and the PCRF indicates in the PCC rule that the PCEF needs to report the MS access network information change event, The PCRF returns a CCA message to the PCEF, and the message carries the PCC rule.

图14为本发明较佳实施例五上报MS接入区域信息改变事件的方法流程图,其具体步骤为:Fig. 14 is a flow chart of a method for reporting an MS access area information change event according to the fifth preferred embodiment of the present invention, the specific steps of which are as follows:

步骤1401、由于MS移动、重认证等过程发生、或者其它情况引起MS接入区域信息发生变化时,PCEF通过CCR消息上报接入区域信息改变事件给PCRF。CCR消息除现有的内容外,还携带的内容如表六所示:Step 1401 , when the MS access area information changes due to MS movement, re-authentication process, or other circumstances, the PCEF reports the access area information change event to the PCRF through a CCR message. In addition to the existing content, the CCR message also carries the content shown in Table 6:

 AVPAVP   AVP的值The value of AVP   类别Category  Event-TriggerEvent-Trigger   在现有的Event-Trigger AVP中增加一个值来指示接入区域  信息改变事件。增加一个值:Gateway_Change.Add a value to the existing Event-Trigger AVP to indicate the access zone information change event. Add a value: Gateway_Change.   新增add new  接入区域信息access area information   接入区域信息的值为ASN-GW IP地址、SFA IP地址、FA IP  地址、DP Function IP地址、LAI、RAI、NAS ID、或NAS IP  地址The value of access area information is ASN-GW IP address, SFA IP address, FA IP address, DP Function IP address, LAI, RAI, NAS ID, or NAS IP address   新增add new

表六Table six

即CCR消息携带MS信息改变事件标识以及MS接入区域信息的更改值。That is, the CCR message carries the MS information change event identifier and the change value of the MS access area information.

步骤1402、PCRF接收到该CCR消息后,根据现有机制的一些信息结合携带的MS接入区域信息的更改值,重新生成PCC规则。Step 1402: After receiving the CCR message, the PCRF regenerates the PCC rule according to some information of the existing mechanism and the modified value of the carried MS access area information.

在本发明实施例中,重新生成的PCC规则与PCEF已经为MS执行的PCC规则可以不同,也可以相同,在相同情况下,表明MS接入区域信息的更改值并不影响PCC规则,此时PCRF收到MS接入区域信息改变事件标识后,并不一定会将重新生成的PCC规则下发。In the embodiment of the present invention, the regenerated PCC rule may be different from the PCC rule already executed by the PCEF for the MS, and may also be the same. In the same case, it indicates that the change value of the MS access area information does not affect the PCC rule. At this time After the PCRF receives the MS access area information change event identifier, it does not necessarily deliver the regenerated PCC rule.

步骤1403、PCRF返回CCA消息给PCEF,消息中携带PCC规则。Step 1403, the PCRF returns a CCA message to the PCEF, and the message carries the PCC rule.

步骤1404、PCEF接收到CCA消息后,执行携带的PCC规则。Step 1404, after receiving the CCA message, the PCEF executes the carried PCC rule.

在该实施例中,PCRF下发事件上报指示流程为可选流程,即可能先发生上报事件指示流程,再发生接入区域改变事件上报流程,也可能直接发生接入区域改变事件上报流程。In this embodiment, the PCRF issued event reporting instruction process is an optional process, that is, the reporting event indication process may occur first, and then the access area change event reporting process may occur, or the access area change event reporting process may directly occur.

实施例六Embodiment six

在本发明实施例中,WiMAX网络在与IMS网络融合时采用PCC架构,即图9所示的架构。在图9所示架构的基础上,在建立SFA和Agent之间的R3 Session或者R3-PCC Session、Agent与PCRF之间的Gx Session过程中,CCR消息携带MS的接入区域信息,其方法如图15所示:In the embodiment of the present invention, the PCC architecture is adopted when the WiMAX network is integrated with the IMS network, that is, the architecture shown in FIG. 9 . On the basis of the architecture shown in Figure 9, in the process of establishing the R3 Session or R3-PCC Session between the SFA and the Agent, and the Gx Session between the Agent and the PCRF, the CCR message carries the information of the MS's access area. The method is as follows As shown in Figure 15:

步骤1501、SFA发送CCR消息到Agent,指示R3Session或者R3-PCCSession建立,CCR消息携带MS的接入区域信息。Step 1501, the SFA sends a CCR message to the Agent to instruct the R3Session or R3-PCCSession to be established, and the CCR message carries the access area information of the MS.

在本发明实施例中,SFA也可以发送携带携带PCC规则的其他消息,用于替代CCR消息,只要是SFA与Agent之间的承载消息即可。In the embodiment of the present invention, the SFA may also send other messages carrying PCC rules to replace the CCR message, as long as it is a bearer message between the SFA and the Agent.

在本发明实施例中,CCR消息所携带内容如表七所示:In the embodiment of the present invention, the content carried by the CCR message is shown in Table 7:

  AVPAVP   AVP的值The value of AVP   类别Category   接入区域信息Access area information   ASN-GW IP地址、SFA IP地址、FA IP  地址、DP Function IP地址、LAI、RAI、  NAS ID、或NAS IP地址ASN-GW IP address, SFA IP address, FA IP address, DP Function IP address, LAI, RAI, NAS ID, or NAS IP address   新增add new

表七Table Seven

步骤1502、Agent接收到CCR消息后,判断自身是否存储有MS的用户会话信息,如Session-ID,如果否,则执行步骤1503;Step 1502, after the Agent receives the CCR message, it judges whether it stores the user session information of the MS, such as Session-ID, if not, then executes Step 1503;

如果是,则再判断存储MS的用户会话信息中的MS接入区域信息是否与CCR消息所携带的MS接入区域信息一致,如果是,执行步骤1505;如果否,则执行步骤1503。If yes, then judge whether the MS access area information stored in the user session information of the MS is consistent with the MS access area information carried in the CCR message, if yes, perform step 1505; if not, perform step 1503.

步骤1503、Agent向PCRF发送携带MS的接入区域信息的CCR消息。Step 1503, the Agent sends a CCR message carrying the information of the MS's access area to the PCRF.

在本发明实施例中,CCR消息所携带内容如表八所示:In the embodiment of the present invention, the content carried by the CCR message is shown in Table 8:

  AVPAVP   AVP的值The value of AVP   类别Category   接入区域信息Access area information   ASN-GW IP地址、SFA IP地址、FA IP  地址、DP Function IP地址、LAI、RAI、  NAS ID、或NAS IP地址ASN-GW IP address, SFA IP address, FA IP address, DP Function IP address, LAI, RAI, NAS ID, or NAS IP address   新增add new

表八table eight

步骤1504、PCRF接收到CCR消息后,根据携带的MS的接入区域信息以及现有机制的信息生成PCC规则并在CCA消息中返回给Agent,在此消息中携带的PCC规则可以指出要上报MS接入区域信息改变事件。Step 1504, after the PCRF receives the CCR message, it generates a PCC rule according to the carried MS's access area information and the information of the existing mechanism and returns it to the Agent in the CCA message. The PCC rule carried in this message can indicate that it should be reported to the MS Access area information change event.

步骤1505、Agent返回CCA消息给SFA,该消息携带PCC规则。Step 1505, the Agent returns a CCA message to the SFA, and the message carries the PCC rule.

在本发明实施例中,SFA也可以发送携带携带PCC规则的其他消息,用于替代CCA消息,只要是SFA与Agent之间的承载消息即可。In the embodiment of the present invention, the SFA may also send other messages carrying PCC rules to replace the CCA message, as long as it is a bearer message between the SFA and the Agent.

步骤1506、SFA接收到CCA消息后,根据携带的PCC规则执行。Step 1506: After receiving the CCA message, the SFA executes according to the carried PCC rules.

在图9所示架构的基础上,MS移动引起接入区域信息变化时,Agent可以上报接入区域信息给PCRF。其具体过程如图16所示:On the basis of the architecture shown in FIG. 9 , when the MS moves and the access area information changes, the Agent can report the access area information to the PCRF. The specific process is shown in Figure 16:

步骤1601、MS移动、重认证过程完成或者其它情况引起SFA变化,SFA要建立与Agent的应用层会话,发送CCR消息到Agent,携带MS接入区域信息,指示R3 Session或者R3-PCC Session建立。Step 1601, MS moves, the re-authentication process is completed, or other circumstances cause SFA to change. SFA needs to establish an application layer session with Agent, sends a CCR message to Agent, carries MS access area information, and instructs R3 Session or R3-PCC Session to be established.

在本实施例中,SFA可以为MS切换后的SFA,MS第一次入网的SFA或MS重入网时所属的SFA等。In this embodiment, the SFA may be the SFA after the MS is handed over, the SFA of the MS's first access to the network, or the SFA to which the MS belongs when it re-enters the network.

在本发明实施例中,SFA也可以发送携带携带PCC规则的其他消息,用于替代CCR消息,只要是SFA与Agent之间的承载消息即可。In the embodiment of the present invention, the SFA may also send other messages carrying PCC rules to replace the CCR message, as long as it is a bearer message between the SFA and the Agent.

在本发明实施例中,CCR消息携带增加的内容如表九所示:In the embodiment of the present invention, the added content carried by the CCR message is shown in Table 9:

  AVPAVP   AVP的值The value of AVP   类别Category   接入区域信息Access area information   ASN-GW IP地址、SFA IP地址、FA IP  地址、DP Function IP地址、LAI、RAI、  NAS ID、或NAS IP地址ASN-GW IP address, SFA IP address, FA IP address, DP Function IP address, LAI, RAI, NAS ID, or NAS IP address   新增add new

表九Table nine

步骤1602、Agent接收到CCR消息后,判断自身是否存储MS的用户会话信息,如Session-ID,如果否,则执行步骤1603;Step 1602, after the Agent receives the CCR message, it judges whether it stores the user session information of the MS, such as Session-ID, if not, then executes Step 1603;

如果是,则再判断存储MS的用户会话信息中的MS接入区域信息是否与CCR消息所携带的MS接入区域信息一致,如果是,执行步骤1605;如果否,则执行步骤1603。If yes, then judge whether the MS access area information stored in the user session information of the MS is consistent with the MS access area information carried in the CCR message, if yes, execute step 1605; if no, execute step 1603.

步骤1603、Agent向PCRF发送携带MS的接入区域信息的CCR消息。Step 1603, the Agent sends a CCR message carrying the access area information of the MS to the PCRF.

在本发明实施例中,CCR消息所携带内容如表十所示:In the embodiment of the present invention, the content carried by the CCR message is shown in Table 10:

 AVPAVP  AVP的值AVP value   类别Category  Event-TriggerEvent-Trigger  在现有的Event-Trigger AVP中增加一个值来 指示接入区域信息改变事件。具体实现时可 以增加Gateway_Change.值。Add a value to the existing Event-Trigger AVP to indicate the access area information change event. The value of Gateway_Change. can be increased during specific implementation.   新增add new  接入区域信息access area information  ASN-GW IP地址、SFA IP地址、FA IP地址、 DP Function IP地址、LAI、RAI、NAS ID、 或NAS IP地址。ASN-GW IP address, SFA IP address, FA IP address, DP Function IP address, LAI, RAI, NAS ID, or NAS IP address.   新增add new

表十table ten

步骤1604、PCRF接收到该CCR消息后,根据现有机制的一些信息结合携带的MS接入区域信息的更改值,重新生成PCC规则,PCRF返回CCA消息给Agent,消息中携带PCC规则。Step 1604: After receiving the CCR message, the PCRF regenerates the PCC rule according to some information of the existing mechanism combined with the changed value of the MS access area information carried, and the PCRF returns a CCA message to the Agent, which carries the PCC rule.

在本发明实施例中,重新生成的PCC规则与PCEF已经为MS执行的PCC规则可以不同,也可以相同,在相同情况下,表明MS接入区域信息的更改值并不影响PCC规则,此时PCRF收到MS接入区域信息改变事件标识后,并不一定会将重新生成的PCC规则下发。In the embodiment of the present invention, the regenerated PCC rule may be different from the PCC rule already executed by the PCEF for the MS, and may also be the same. In the same case, it indicates that the change value of the MS access area information does not affect the PCC rule. At this time After the PCRF receives the MS access area information change event identifier, it does not necessarily deliver the regenerated PCC rule.

步骤1605、Agent返回CCA消息给SFA,携带PCC规则。Step 1605, the Agent returns a CCA message to the SFA, carrying the PCC rule.

在本发明实施例中,SFA也可以发送携带携带PCC规则的其他消息,用于替代CCA消息,只要是SFA与Agent之间的承载消息即可。In the embodiment of the present invention, the SFA may also send other messages carrying PCC rules to replace the CCA message, as long as it is a bearer message between the SFA and the Agent.

步骤1606、SFA接收到CCA消息后,执行PCC规则进行QoS授权。Step 1606, after receiving the CCA message, the SFA executes the PCC rule to perform QoS authorization.

实施例七到实施例九说明是如何根据基站信息确定PCC规则的实施例Embodiment 7 to Embodiment 9 illustrate how to determine the embodiment of the PCC rule according to the information of the base station

实施例七Embodiment seven

在PCC架构中,当MS接入网络、IP-CAN,IP-Connectivity AccessNetwork会话建立或者PCEF变换情况下,PCEF与PCRF之间需要建立GxSession或Ty Session,PCEF在Gx Session或Ty Session建立请求消息中增加携带MS基站信息,PCRF根据接收到该消息携带的MS基站信息结合现有信息生成PCC规则,图17为本发明较佳实施例七确定PCC规则的方法流程图,其具体步骤为:In the PCC architecture, when the MS accesses the network, IP-CAN, IP-Connectivity AccessNetwork session is established or PCEF is changed, a GxSession or Ty Session needs to be established between PCEF and PCRF, and PCEF is included in the Gx Session or Ty Session establishment request message Add the carrying MS base station information, and PCRF generates PCC rules according to the MS base station information carried by the received message in combination with existing information. FIG. 17 is a flow chart of a method for determining PCC rules in preferred embodiment 7 of the present invention. The specific steps are:

步骤1701~1702、MS接入网络注册、IP-CAN会话建立或者PCEF变化情况下,PCEF要建立与PCRF之间的应用层会话,PCEF发送CCR消息给PCRF,请求建立Gx Session或Ty Session,CCR消息中携带MS的基站信息,该基站信息为BS ID、Cell ID、CGI、BS IP地址或SFM IP地址。Steps 1701-1702, MS access network registration, IP-CAN session establishment or PCEF changes, PCEF needs to establish an application layer session with PCRF, PCEF sends a CCR message to PCRF, requesting to establish Gx Session or Ty Session, CCR The message carries the base station information of the MS, and the base station information is BS ID, Cell ID, CGI, BS IP address or SFM IP address.

步骤1703、PCRF接收到该CCR消息后,根据现有机制的一些信息结合携带的MS的基站信息,生成PCC规则。Step 1703 , after receiving the CCR message, the PCRF generates a PCC rule according to some information of the existing mechanism and combined with the carried MS's base station information.

如何生成PCC规则可以根据设置的策略决定,例如:预先在PCRF设置MS的接入区域信息、现有机制的一些信息和各个PCC规则三者之间的对应关系,根据对应关系生成PCC规则,在PCC规则中,有如何进行计费、如何对计费进行标识、和如何控制计费等信息。How to generate PCC rules can be determined according to the set policy, for example: set the corresponding relationship between the MS’s access area information, some information of the existing mechanism, and each PCC rule in PCRF in advance, and generate PCC rules according to the corresponding relationship. In the PCC rules, there are information such as how to perform charging, how to identify charging, and how to control charging.

步骤1704、PCRF返回CCA消息给PCEF,消息中携带PCC规则。Step 1704, the PCRF returns a CCA message to the PCEF, and the message carries the PCC rule.

步骤1705、PCEF执行接收到CCA消息携带的PCC规则。Step 1705, the PCEF executes the PCC rule carried in the received CCA message.

实施例八Embodiment eight

在PCC架构中,当MS接入网络、IP-CAN会话建立或者PCEF变换情况下,PCEF与PCRF之间要建立Gx Session或Ty Session,在建立Gx Session或Ty Session过程中,PCRF在会话建立响应消息里指出PCEF要上报MS基站信息改变事件,当MS移动切换时引起MS的基站信息变化时,PCEF就会上报MS基站信息改变事件同时上报MS的基站信息,PCRF根据上报的MS基站信息确定PCC规则后,在响应消息中下发该PCC规则,PCEF执行下发的PCC规则,图18为本发明较佳实施例八下发上报MS基站信息改变事件的方法流程图,其具体步骤为:In the PCC architecture, when the MS accesses the network, the IP-CAN session is established, or the PCEF is changed, a Gx Session or Ty Session must be established between the PCEF and the PCRF. During the establishment of the Gx Session or Ty Session, the PCRF responds when the session is established. The message indicates that the PCEF needs to report the MS base station information change event. When the MS base station information changes when the MS moves and switches, the PCEF will report the MS base station information change event and the MS base station information at the same time. PCRF determines the PCC based on the reported MS base station information. After the rule is issued, the PCC rule is issued in the response message, and the PCEF executes the issued PCC rule. Figure 18 is a flow chart of the method for issuing and reporting the MS base station information change event in the eighth preferred embodiment of the present invention. The specific steps are:

步骤1801、当MS接入网络、IP-CAN会话建立或者PCEF变换情况下,PCEF要建立与PCRF之间的Gx Session或Ty Session,PCEF发送CCR消息给PCRF,请求建立Gx Session或Ty Session,CCR消息中携带MS的基站信息,该基站信息为BS ID、Cell ID、CGI、BS IP地址、或SFM IP地址。Step 1801, when the MS accesses the network, the IP-CAN session is established or the PCEF is changed, the PCEF needs to establish a Gx Session or Ty Session with the PCRF, and the PCEF sends a CCR message to the PCRF, requesting the establishment of a Gx Session or Ty Session, CCR The message carries the base station information of the MS, and the base station information is BS ID, Cell ID, CGI, BS IP address, or SFM IP address.

步骤1802、PCRF接收到该CCR消息后,根据现有机制的一些信息结合携带的MS的基站信息,生成PCC规则,PCRF在PCC规则中指明了PCEF需要上报MS接入网络信息改变事件,PCRF返回CCA消息给PCEF,消息中携带PCC规则。Step 1802: After receiving the CCR message, the PCRF generates a PCC rule according to some information of the existing mechanism combined with the carried MS's base station information. The PCRF indicates in the PCC rule that the PCEF needs to report the MS access network information change event, and the PCRF returns The CCA message is sent to the PCEF, and the PCC rule is carried in the message.

图19为本发明较佳实施例五上报MS基站信息改变事件的方法流程图,其具体步骤为:Fig. 19 is a flow chart of the method for reporting the MS base station information change event in the fifth preferred embodiment of the present invention, and its specific steps are:

步骤1901、由于MS移动、重认证等过程发生、或者其它情况引起MS基站信息发生变化时,PCEF通过CCR消息上报基站信息改变事件给PCRF。CCR消息除现有的内容外,还携带的内容如表十一所示:Step 1901 , when the base station information of the MS changes due to MS movement, re-authentication process, or other circumstances, the PCEF reports the base station information change event to the PCRF through a CCR message. In addition to the existing content, the CCR message also carries the content shown in Table 11:

 AVPAVP   AVP的值The value of AVP   类别Category  Event-TriggerEvent-Trigger   在现有的Event-Trigger AVP中增加一个值来指示基站信  息改变事件。具体实现时可以增加BS_Change or  Cell_Change值.Add a value to the existing Event-Trigger AVP to indicate the base station information change event. The value of BS_Change or Cell_Change can be increased during specific implementation.   新增add new  基站信息base station information   基站信息的值为BS ID、Cell ID、CGI、BS IP地址或SFM IP  地址The value of base station information is BS ID, Cell ID, CGI, BS IP address or SFM IP address   新增add new

表十一Table Eleven

即CCR消息携带MS信息改变事件标识以及MS基站信息的更改值。That is, the CCR message carries the MS information change event identifier and the change value of the MS base station information.

步骤1902、PCRF接收到该CCR消息后,根据现有机制的一些信息结合携带的MS基站信息的更改值,重新生成PCC规则。Step 1902 , after receiving the CCR message, the PCRF regenerates the PCC rule according to some information of the existing mechanism and the modified value of the carried MS base station information.

在本发明实施例中,重新生成的PCC规则与PCEF已经为MS执行的PCC规则可以不同,也可以相同,在相同情况下,表明MS基站信息的更改值并不影响PCC规则,此时PCRF收到MS基站信息改变事件标识后,并不一定会将重新生成的PCC规则下发。In the embodiment of the present invention, the regenerated PCC rule and the PCC rule already executed by the PCEF for the MS may be different or the same. After the MS base station information changes event identifier, the regenerated PCC rule may not be issued.

步骤1903、PCRF返回CCA消息给PCEF,消息中携带PCC规则。Step 1903, the PCRF returns a CCA message to the PCEF, and the message carries the PCC rule.

步骤1904、PCEF接收到CCA消息后,执行携带的PCC规则。Step 1904, after receiving the CCA message, the PCEF executes the carried PCC rule.

在该实施例中,PCRF下发事件上报指示流程为可选流程,即可能先发生上报事件指示流程,再发生基站信息改变事件上报流程,也可能直接发生基站信息改变事件上报流程。In this embodiment, the event reporting instruction process issued by the PCRF is an optional process, that is, the reporting event indication process may occur first, and then the base station information change event reporting process may occur, or the base station information change event reporting process may directly occur.

实施例九Embodiment nine

在本发明实施例中,WiMAX网络在与IMS网络融合时采用PCC架构,即图9所示的架构。在图9所示架构的基础上,在建立SFA和Agent之间的R3 Session或者R3-PCC Session、Agent与PCRF之间的Gx Session过程中,CCR消息携带MS的基站信息,其方法如图20所示:In the embodiment of the present invention, the PCC architecture is adopted when the WiMAX network is integrated with the IMS network, that is, the architecture shown in FIG. 9 . On the basis of the architecture shown in Figure 9, in the process of establishing the R3 Session or R3-PCC Session between the SFA and the Agent, and the Gx Session between the Agent and the PCRF, the CCR message carries the base station information of the MS, and the method is shown in Figure 20 Shown:

步骤2001、SFA发送CCR消息到Agent,指示R3 Session或者R3-PCCSession建立,CCR消息携带MS的基站信息。Step 2001, the SFA sends a CCR message to the Agent, instructing the R3 Session or R3-PCCSession to be established, and the CCR message carries the base station information of the MS.

在本发明实施例中,SFA也可以发送携带携带PCC规则的其他消息,用于替代CCR消息,只要是SFA与Agent之间的承载消息即可。In the embodiment of the present invention, the SFA may also send other messages carrying PCC rules to replace the CCR message, as long as it is a bearer message between the SFA and the Agent.

在本发明实施例中,CCR消息所携带内容如表十二所示:In the embodiment of the present invention, the content carried by the CCR message is shown in Table 12:

  AVPAVP  AVP的值AVP value   类别Category   基站信息Base station information  BS ID、Cell ID、CGI、BS IP地址或SFM IP地址BS ID, Cell ID, CGI, BS IP address or SFM IP address   新增add new

表十二Table 12

步骤2002、Agent接收到CCR消息后,判断自身是否存储有MS的用户会话信息,如Session-ID,如果否,则执行步骤2003;Step 2002, after the Agent receives the CCR message, it judges whether it stores user session information of the MS, such as Session-ID, if not, then executes step 2003;

如果是,则再判断存储MS的用户会话信息中的MS基站信息是否与CCR消息所携带的MS基站信息一致,如果是,执行步骤2005;如果否,则执行步骤2003。If yes, then judge whether the MS base station information stored in the user session information of the MS is consistent with the MS base station information carried in the CCR message, if yes, execute step 2005; if no, execute step 2003.

步骤2003、Agent向PCRF发送携带MS的基站信息的CCR消息。Step 2003, the Agent sends a CCR message carrying the base station information of the MS to the PCRF.

在本发明实施例中,CCR消息所携带内容如表十三所示:In the embodiment of the present invention, the content carried by the CCR message is shown in Table 13:

  AVPAVP  AVP的值AVP value   类别Category   基站信息Base station information  BS ID、Cell ID、CGI、BS IP地址或SFM IP地址BS ID, Cell ID, CGI, BS IP address or SFM IP address   新增add new

表十三Table 13

步骤2004、PCRF接收到CCR消息后,根据携带的MS的基站信息以及现有机制的信息生成PCC规则并在CCA消息中返回给Agent,在此消息中携带的PCC规则可以指出要上报MS基站信息改变事件。Step 2004, after the PCRF receives the CCR message, it generates a PCC rule according to the carried MS base station information and the information of the existing mechanism and returns it to the Agent in the CCA message. The PCC rule carried in this message can indicate that the MS base station information should be reported change event.

步骤2005、Agent返回CCA消息给SFA,该消息携带PCC规则。Step 2005, the Agent returns a CCA message to the SFA, and the message carries the PCC rule.

在本发明实施例中,SFA也可以发送携带携带PCC规则的其他消息,用于替代CCA消息,只要是SFA与Agent之间的承载消息即可。In the embodiment of the present invention, the SFA may also send other messages carrying PCC rules to replace the CCA message, as long as it is a bearer message between the SFA and the Agent.

步骤2006、SFA接收到CCA消息后,根据携带的PCC规则执行。Step 2006: After receiving the CCA message, the SFA executes according to the carried PCC rules.

在图9所示架构的基础上,MS移动引起基站信息变化时,Agent可以上报基站信息给PCRF。其具体过程如图21所示:On the basis of the architecture shown in FIG. 9 , when the MS moves and the base station information changes, the Agent can report the base station information to the PCRF. The specific process is shown in Figure 21:

步骤2101、MS移动、重认证过程完成或者其它情况引起SFA变化,SFA要建立与Agent的应用层会话,发送CCR消息到Agent,携带MS基站信息,指示R3 Session or R3-PCC Session建立。Step 2101, MS moves, the re-authentication process is completed, or other circumstances cause SFA changes. SFA needs to establish an application layer session with the Agent, and sends a CCR message to the Agent, carrying MS base station information, and instructs the R3 Session or R3-PCC Session to be established.

在本实施例中,SFA可以为MS切换后的SFA,MS第一次入网的SFA或MS重入网时所属的SFA等。In this embodiment, the SFA may be the SFA after the MS is handed over, the SFA of the MS's first access to the network, or the SFA to which the MS belongs when it re-enters the network.

在本发明实施例中,SFA也可以发送携带携带PCC规则的其他消息,用于替代CCR消息,只要是SFA与Agent之间的承载消息即可。In the embodiment of the present invention, the SFA may also send other messages carrying PCC rules to replace the CCR message, as long as it is a bearer message between the SFA and the Agent.

在本发明实施例中,CCR消息携带增加的内容如表十四所示:In the embodiment of the present invention, the added content carried by the CCR message is shown in Table 14:

  AVPAVP  AVP的值AVP value   类别Category   基站信息Base station information  BS ID、Cell ID、CGI、BS IP地址或SFM IP地址BS ID, Cell ID, CGI, BS IP address or SFM IP address   新增add new

表十四Table Fourteen

步骤2102、Agent接收到CCR消息后,判断自身是否存储MS的用户会话信息,如Session-ID,如果否,则执行步骤2103;Step 2102, after the Agent receives the CCR message, it judges whether it stores the user session information of the MS, such as Session-ID, if not, then executes Step 2103;

如果是,则再判断存储MS的用户会话信息中的MS基站信息是否与CCR消息所携带的MS基站信息一致,如果是,执行步骤2105;如果否,则执行步骤2103。If yes, then judge whether the MS base station information stored in the user session information of the MS is consistent with the MS base station information carried in the CCR message, if yes, perform step 2105; if not, perform step 2103.

步骤2103、Agent向PCRF发送携带MS的基站信息的CCR消息。Step 2103, the Agent sends a CCR message carrying the base station information of the MS to the PCRF.

在本发明实施例中,CCR消息所携带内容如表五所示:In the embodiment of the present invention, the content carried by the CCR message is shown in Table 5:

  AVPAVP   AVP的值The value of AVP   类别Category

[0254][0254]  Event-TriggerEvent-Trigger  在现有的Event-Trigger AVP中增加一个值来 指示基站信息改变事件。具体实现时可以增 加BS_Change or Cell_Change值。Add a value to the existing Event-Trigger AVP to indicate the base station information change event. The value of BS_Change or Cell_Change can be increased during specific implementation.   新增add new  基站信息base station information  BS ID、Cell ID、CGI、BS IP地址或SFM IP 地址BS ID, Cell ID, CGI, BS IP address or SFM IP address   新增add new

表十五Table 15

步骤2104、PCRF接收到该CCR消息后,根据现有机制的一些信息结合携带的MS基站信息的更改值,重新生成PCC规则,PCRF返回CCA消息给Agent,消息中携带PCC规则。Step 2104: After receiving the CCR message, the PCRF regenerates the PCC rule according to some information of the existing mechanism combined with the changed value of the carried MS base station information, and the PCRF returns a CCA message to the Agent, which carries the PCC rule.

在本发明实施例中,重新生成的PCC规则与PCEF已经为MS执行的PCC规则可以不同,也可以相同,在相同情况下,表明MS基站信息的更改值并不影响PCC规则,此时PCRF收到MS基站信息改变事件标识后,并不一定会将重新生成的PCC规则下发。In the embodiment of the present invention, the regenerated PCC rule and the PCC rule already executed by the PCEF for the MS may be different or the same. After the MS base station information changes event identifier, the regenerated PCC rule may not be issued.

步骤2105、Agent返回CCA消息给SFA,携带PCC规则。Step 2105, the Agent returns a CCA message to the SFA, carrying the PCC rule.

在本发明实施例中,SFA也可以发送携带携带PCC规则的其他消息,用于替代CCR消息,只要是SFA与Agent之间的承载消息即可。In the embodiment of the present invention, the SFA may also send other messages carrying PCC rules to replace the CCR message, as long as it is a bearer message between the SFA and the Agent.

步骤2106、SFA接收到CCA消息后,执行PCC规则进行QoS授权。Step 2106, after receiving the CCA message, the SFA executes the PCC rule for QoS authorization.

实施例十Embodiment ten

在本实施例中,WiMAX网络中,SFA上报MS的区域信息给PF,PF根据MS的区域信息确定不同的QoS策略或/和计费规则,然后将生成的QoS策略或/和计费规则下发给SFA,SFA执行QoS策略或/和计费规则。In this embodiment, in the WiMAX network, the SFA reports the area information of the MS to the PF, and the PF determines different QoS policies or/and charging rules according to the area information of the MS, and then applies the generated QoS policy or/and charging rules to the PF. Send it to the SFA, and the SFA executes the QoS policy or/and charging rules.

图22为本发明较佳实施例十确定QoS策略或/和计费规则的方法流程图,其具体步骤为:Fig. 22 is a flow chart of a method for determining QoS policies or/and charging rules according to the tenth preferred embodiment of the present invention, and its specific steps are:

步骤2200、SFA向PF发送请求消息,携带MS的接入信息。Step 2200, the SFA sends a request message to the PF, carrying the access information of the MS.

在本发明实施例中,该消息可以为Policy-Decision消息、Resource-Reservation消息、QoS策略请求消息、计费规则请求消息或CCR消息。In the embodiment of the present invention, the message may be a Policy-Decision message, a Resource-Reservation message, a QoS policy request message, a charging rule request message or a CCR message.

步骤2201、PF接收到该请求消息后,结合现有机制的其他信息来源,比如来自AF的业务信息生成QoS策略或/和计费规则。Step 2201, after receiving the request message, the PF generates QoS policies or/and charging rules in combination with other information sources of the existing mechanism, such as service information from the AF.

步骤2202、PF向SFA发送响应消息,携带QoS策略或/和计费规则。Step 2202, PF sends a response message to SFA, carrying QoS policy or/and charging rule.

步骤2203、SFA接收到响应消息后,执行QoS策略或/和计费规则。Step 2203, after receiving the response message, the SFA executes the QoS policy or/and charging rule.

本发明还提供一种确定策略规则的系统,如图23所示,该系统包括策略规则生成实体以及策略规则执行实体,其中,The present invention also provides a system for determining policy rules. As shown in FIG. 23 , the system includes a policy rule generation entity and a policy rule execution entity, wherein,

策略规则执行实体,用于向策略规则生成实体发送MS接入信息;根据接收策略规则生成实体发送的策略规则执行;The policy rule execution entity is used to send the MS access information to the policy rule generation entity; execute according to the policy rule sent by the policy rule generation entity;

策略规则生成实体,用于接收策略规则执行实体发送MS接入信息,根据MS接入信息生成策略规则后,发送给策略规则执行实体。The policy rule generation entity is used to receive the MS access information sent by the policy rule execution entity, generate a policy rule according to the MS access information, and send it to the policy rule execution entity.

在本发明实施例所述的系统中,策略规则执行实体可以为PCEF(在WiMAX网络融合PCC架构时)、也可以为SFA和Agent(在WiMAX网络通过PCC架构与IMS交互时)、还可以为SFA(在WiMAX网络没有融合PCC架构时);策略生成实体为PCRF(在WiMAX网络融合PCC架构时)或PF(在WiMAX网络没有融合PCC架构时)。In the system described in the embodiment of the present invention, the policy rule enforcement entity may be PCEF (when the WiMAX network integrates the PCC architecture), or it may be SFA and Agent (when the WiMAX network interacts with the IMS through the PCC architecture), or it may be SFA (when the PCC architecture is not integrated in the WiMAX network); the policy generation entity is PCRF (when the PCC architecture is integrated in the WiMAX network) or PF (when the PCC architecture is not integrated in the WiMAX network).

在本发明实施例所述的系统中,MS接入信息为MS接入网络信息、MS接入区域信息或/和基站信息。In the system described in the embodiment of the present invention, the MS access information is MS access network information, MS access area information or/and base station information.

通过上述本发明实施例可以看出,本发明实施例由策略规则执行实体将获得的MS接入信息(包括MS接入网络信息、MS接入区域信息或/和基站信息)上报给策略规则生成实体,策略规则生成实体可以根据接收到的MS接入信息生成策略规则后,发送给策略规则执行实体进行执行。从而克服了现有技术中没有根据MS接入信息定制不同策略规则的技术方案的缺陷,特别是在融合PCC架构的网络中,解决了现有技术没有根据MS接入信息定制不同的PCC规则的方法的缺陷。本发明实施例在生成策略规则时,可以根据MS当前的接入信息进行,充分考虑了MS自身以及所在网络的信道质量或/和计费策略等信息。因此,本发明实施例可以根据MS当前接入信息确定不同的策略规则。It can be seen from the above embodiments of the present invention that in the embodiments of the present invention, the policy rule enforcement entity reports the obtained MS access information (including MS access network information, MS access area information or/and base station information) to the policy rule generation Entity, the policy rule generation entity can generate a policy rule according to the received MS access information, and send it to the policy rule execution entity for execution. Therefore, the defect of the technical solution of not customizing different policy rules according to the MS access information in the prior art is overcome, especially in a network integrating PCC architecture, it solves the problem that the prior art does not customize different PCC rules according to the MS access information method flaws. In the embodiment of the present invention, when generating policy rules, it can be performed according to the current access information of the MS, fully considering information such as the channel quality or/and charging policy of the MS itself and the network where it is located. Therefore, the embodiment of the present invention can determine different policy rules according to the current access information of the MS.

以上是对本发明具体实施例的说明,在具体的实施过程中可对本发明的方法进行适当的改进,以适应具体情况的具体需要。因此可以理解,根据本发明的具体实施方式只是起示范作用,并不用以限制本发明的保护范围。The above is the description of the specific embodiments of the present invention, and the method of the present invention can be appropriately improved during the specific implementation process to meet the specific needs of specific situations. Therefore, it can be understood that the specific implementation manners according to the present invention are only exemplary, and are not intended to limit the protection scope of the present invention.

Claims (14)

1. the method for a definite policing rule is characterized in that, this method comprises:
Policing rule is carried out entity the user terminal access information is sent to policing rule generation entity;
Policing rule generates entity according to after the user terminal access information generation strategy rule that receives, and sends to policing rule and carries out the entity execution;
Described user terminal access information comprises access network information or/and base station information;
Described access network information is Network Access Provider NAP, Access Network identification code AccessNetwork Code or the information that identifies current access network;
Described base station information is Base transceiver Station Identity Code BS ID, cell identification code Cell ID, Cell Global Identification CGI, BS IP address or SFM IP address.
2. the method for claim 1, it is characterized in that, described policing rule is policy control and charging PCC rule, and it is policy control and charging execution function entity PCEF that described policing rule is carried out entity, and it is policy control and charging regulation function entity PCRF that described policing rule generates entity.
3. method as claimed in claim 2 is characterized in that, described user terminal access information is carried in the credit control request CCR message and sends;
Described PCC rule is carried in the credit control response CCA message and sends.
4. the method for claim 1 is characterized in that, described policing rule is policy control and charging PCC rule, and described policing rule execution entity is service authorization person SFA and acts on behalf of Agent that it is PCRF that described policing rule generates entity.
5. method as claimed in claim 4 is characterized in that, described user terminal access information process of transmitting is:
SFA sends the message of carrying the user terminal access information and arrives Agent, and the CCR message that Agent will carry the user terminal access information sends to PCRF;
Described PCC rule process of transmitting is:
The CCA message that PCRF will carry the PCC rule sends to Agent, and Agent will carry the message of PCC rule and give SFA.
6. method as claimed in claim 5 is characterized in that, before the CCR message that Agent will carry the user terminal access information sent to PCRF, this method also comprised:
Agent judges the user terminal access information user information corresponding that does not have storing message to carry.
7. the method for claim 1 is characterized in that, described policing rule is a QoS policy or/and charging regulation, and it is SFA that described policing rule is carried out entity, and it is policing feature PF that described policing rule generates entity.
8. method as claimed in claim 7 is characterized in that, described user terminal access information is carried in the request message and sends;
Described qos policy is or/and charging regulation is carried in the response message sends.
9. method as claimed in claim 8, it is characterized in that described request message is strategy decision Policy-Decision message, resource reservation Resource-Reservation message, position renewal Location-Update message, qos policy request message, charging regulation request message or CCR message.
10. as claim 1,3,5,6 or 8 described methods, it is characterized in that before described user terminal access information sent, this method also comprised:
The user terminal access information is changed, and the user terminal access information of having changed is carried in the message;
Before described transmission policing rule, this method also comprises: policing rule generates entity and changes corresponding to the policing rule that this user terminal generates, and the policing rule of changing is sent to policing rule carry out entity.
11. method as claimed in claim 10 is characterized in that, before the user terminal information that user terminal will have been changed was carried at message, this method also comprised:
The policing rule entity is set up indication policy execution entity report of user terminal access information change incident in the response message in session.
12. the system of a definite policing rule is characterized in that, described system comprises that policing rule generates entity and policing rule is carried out entity, wherein,
Policing rule is carried out entity, is used for generating entity to policing rule and sends the MS access information; Generate the policing rule execution that entity sends according to receiving policing rule;
Policing rule generates entity, is used to receive policing rule and carries out entity transmission MS access information, after MS access information generation strategy rule, sends to policing rule and carries out entity;
Described user terminal access information comprises access network information or/and base station information;
Described access network information is Network Access Provider NAP, Access Network identification code AccessNetwork Code or the information that identifies current access network;
Described base station information is Base transceiver Station Identity Code BS ID, cell identification code Cell ID, Cell Global Identification CGI, BS IP address or SFM IP address.
13. system as claimed in claim 12 is characterized in that, described policing rule carry out entity be PCEF or, SFA and Agent;
It is PCRF that described policing rule generates entity.
14. system as claimed in claim 12 is characterized in that, it is SFA that described policing rule is carried out entity, and it is PF that described policing rule generates entity.
CN200710001258.3A 2007-01-11 2007-01-11 Method and system for confirming policy regulation Expired - Fee Related CN101222482B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200710001258.3A CN101222482B (en) 2007-01-11 2007-01-11 Method and system for confirming policy regulation
PCT/CN2008/070077 WO2008083630A1 (en) 2007-01-11 2008-01-10 Method, system and device for policy and rules decision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710001258.3A CN101222482B (en) 2007-01-11 2007-01-11 Method and system for confirming policy regulation

Publications (2)

Publication Number Publication Date
CN101222482A CN101222482A (en) 2008-07-16
CN101222482B true CN101222482B (en) 2010-10-06

Family

ID=39608379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710001258.3A Expired - Fee Related CN101222482B (en) 2007-01-11 2007-01-11 Method and system for confirming policy regulation

Country Status (2)

Country Link
CN (1) CN101222482B (en)
WO (1) WO2008083630A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431420B (en) * 2008-11-25 2011-07-13 中兴通讯股份有限公司 Policy and charging control method and system
CN101771986A (en) * 2009-01-06 2010-07-07 中兴通讯股份有限公司 Strategic charging control method, device and system based on multiple access technology
CN102170625B (en) * 2010-02-26 2014-08-06 中国移动通信集团公司 Method and device for realizing PCC (Policy and Charging Control) policy
US8560410B2 (en) * 2010-08-13 2013-10-15 T-Mobile Usa, Inc. Mapping a mobile device location to billing regions in internet protocol multimedia subsystems
CN102469020B (en) * 2010-11-19 2017-10-17 华为技术有限公司 A kind of service control method and system, evolution base station, packet data network gateway
CN103095470B (en) * 2011-10-27 2016-02-10 阿尔卡特朗讯 A kind of method of the Guest User's online charging to application content provider
CN103179616A (en) * 2011-12-20 2013-06-26 华为技术有限公司 Policy and charging rule function module selection method, system and device
CN102547648B (en) * 2012-01-13 2014-08-27 华中科技大学 Intelligent pipeline flow control method based on user behavior
CN103957168B (en) * 2014-04-15 2017-01-25 华东师范大学 Scheduling method of PCC rules in EPS system
CN106686756B (en) * 2016-12-13 2020-02-21 广东工业大学 A location-based PCC session establishment method and system
CN110035424B (en) * 2018-01-12 2021-10-19 华为技术有限公司 Policy-related communication method, device and system
CN112153698B (en) * 2020-09-10 2023-06-23 中国联合网络通信集团有限公司 A method and device for generating cross-domain multi-access edge computing policies

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1894985A (en) * 2003-12-19 2007-01-10 诺基亚公司 Control decisions in a communication system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6611864B2 (en) * 1999-09-10 2003-08-26 Intel Corporation Extensible policy-based network management architecture

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1894985A (en) * 2003-12-19 2007-01-10 诺基亚公司 Control decisions in a communication system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
3rd Generation Partnership Project *
Policy and chargingcontrol architecture (Release 7).3GPP TS 23.203 v7.1.0.2006,3(23203710),全文. *
Technical SpecificationGroup Services and System Aspects *
张万强,李冬瑀,张平.WiMAX网络架构浅析.电信工程技术与标准化.2006,全文. *

Also Published As

Publication number Publication date
WO2008083630A1 (en) 2008-07-17
CN101222482A (en) 2008-07-16

Similar Documents

Publication Publication Date Title
CN101222482B (en) Method and system for confirming policy regulation
CN101222413B (en) Processing method and system in business process
CN101483847B (en) Method, apparatus and system for implementing policy control
US8353000B2 (en) System and charging control method of network convergence policy and charging control architecture
CN101156359B (en) Method, device and system for providing online charging
CN100536401C (en) Subscriber contract information processing method and apparatus in strategy and charging control
CN100563388C (en) A Policy and Charging Control Method in User Roaming State
CN100490555C (en) Method and application for obtaining beared information in mobile communication system
CN101127694B (en) A system and method for implementing policy and billing control
US20120320801A1 (en) Nodes For Improved Credit Validation
WO2009024048A1 (en) A method, network system, pdn gw and accounting system for managing accounting
CN101127609A (en) A method for managing user policy charging control subscription information in an evolved network
CN101232385B (en) System and method for charging for microwave to switch in global intercommunication system
CN101188504A (en) System and processing method of a network convergence policy charging control framework
CN102215469A (en) Policy and charging control (PCC) method and system based on network load
CN101001402B (en) Mobile communication system and method of using attaching network application function service
CN101232433A (en) Method for establishing signaling bearer and system and device for establishing signaling bearer
WO2009132536A1 (en) Method, system and equipment of policy authorization
CN101820656B (en) Service flow switching method, network selection method, and related device and system
CN102711086B (en) Sponsored Data Connection Processing Method and Policy and Charging Rules Functional Entity
CN101442507B (en) Method and system of fusion of WiMAX network and 3GPP network
CN101442745B (en) A method and system for integrating WiMAX network and 3GPP network
CN101312561A (en) Radio communication system and radio communication method
CN101369901B (en) A method, device and system for associating policy and charging executive function entities
CN101426242A (en) Method and system for contact establishment between PCRF and target access network, and PCC rule implementation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101006

Termination date: 20140111