Movatterモバイル変換


[0]ホーム

URL:


CN114339605B - PCC policy control method, device, equipment and storage medium - Google Patents

PCC policy control method, device, equipment and storage medium
Download PDF

Info

Publication number
CN114339605B
CN114339605BCN202111648494.0ACN202111648494ACN114339605BCN 114339605 BCN114339605 BCN 114339605BCN 202111648494 ACN202111648494 ACN 202111648494ACN 114339605 BCN114339605 BCN 114339605B
Authority
CN
China
Prior art keywords
identification information
user
pra
list
real
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.)
Active
Application number
CN202111648494.0A
Other languages
Chinese (zh)
Other versions
CN114339605A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co LtdfiledCriticalChina United Network Communications Group Co Ltd
Priority to CN202111648494.0ApriorityCriticalpatent/CN114339605B/en
Publication of CN114339605ApublicationCriticalpatent/CN114339605A/en
Application grantedgrantedCritical
Publication of CN114339605BpublicationCriticalpatent/CN114339605B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明提供一种PCC策略控制方法、装置、设备及存储介质,应用于通信技术领域。具体实现方案包括:采用功能实体设备AF对订购目标业务的用户标识信息及对应的进出位置上报区域PRA标识信息进行配置;确定所述用户标识信息对应的当前PCC策略标识信息;获取移网深度报文检测DPI数据采集系统上报的用户终端实时位置消息;若根据所述实时位置消息、所述用户标识信息及对应的PRA标识信息确定用户进出对应的PRA,则更改进出对应的PRA的目标用户的PCC策略标识信息;将所述目标用户标识信息及更改后的PCC策略标识信息发送至策略和计费规则功能实体PCRF/PCF。

Figure 202111648494

The invention provides a PCC policy control method, device, equipment and storage medium, which are applied in the technical field of communication. The specific implementation scheme includes: adopting the functional entity equipment AF to configure the user identification information of the subscription target service and the PRA identification information of the corresponding entry and exit position reporting area; determining the current PCC policy identification information corresponding to the user identification information; obtaining the mobile network depth report The document detects the real-time location message of the user terminal reported by the DPI data acquisition system; if it is determined according to the real-time location message, the user identification information and the corresponding PRA identification information that the user enters and exits the corresponding PRA, then the target user's location of the corresponding PRA is changed. PCC policy identification information; sending the target user identification information and the modified PCC policy identification information to the policy and charging rules functional entity PCRF/PCF.

Figure 202111648494

Description

Translated fromChinese
PCC策略控制方法、装置、设备及存储介质PCC policy control method, device, equipment and storage medium

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种基于PCC策略控制方法、装置、设备及存储介质。The present invention relates to the technical field of communications, and in particular to a PCC-based strategy control method, device, equipment and storage medium.

背景技术Background technique

为了支持对业务流的服务质量(英文全称为:Quality of Service,简称为QoS)控制、计费控制等,第三代合作伙伴计划(英文全称为:3rd Generation PartnershipProject,简称为:3GPP)制定了基于策略计费控制(英文全称为:Policy and ChargingControl,简称为:PCC)架构。PCC架构使得运营商实现基于业务和用户的精细化的业务控制和计费方式,以合理利用网络资源。In order to support quality of service (full name in English: Quality of Service, QoS for short) control, charging control, etc. for business flows, the 3rd Generation Partnership Project (full name in English: 3rd Generation Partnership Project, 3GPP for short) has formulated Based on policy charging control (English full name: Policy and Charging Control, abbreviated as: PCC) architecture. The PCC architecture enables operators to implement fine-grained service control and billing methods based on services and users, so as to rationally utilize network resources.

PCC架构是移动核心网的重要组成部分。在用户订购PCC策略控制业务后,目前需要采用移动核心网功能实体进行PCC策略的控制。The PCC architecture is an important part of the mobile core network. After the user subscribes to the PCC policy control service, it is currently necessary to use the mobile core network functional entity to control the PCC policy.

目前对PCC策略的控制方式,需要在核心网功能实体上进行进出位置上报区域列表(简称PRA列表)的配置,配置过程复杂且容易出错。并且在PRA列表中具有大量的PPA定义,会大量消耗核心网功能实体的系统资源。而且目前的对PCC策略的控制方式,在网用户终端需要先下线,并重新建立分组数据网络(英文全称为:Packet Data Network,简称为:PDN)连接后,才能使订购的PCC策略控制业务生效。并且需要核心网功能实体均支持开启PRA的可选特性,导致核心网功能实体成本的增加。The current PCC policy control method needs to configure the entry and exit location report area list (referred to as the PRA list) on the core network functional entity, and the configuration process is complicated and error-prone. And there are a large number of PPA definitions in the PRA list, which will consume a large amount of system resources of the core network functional entity. Moreover, in the current control mode of PCC strategy, the user terminal on the network needs to go offline first, and re-establish the packet data network (English full name: Packet Data Network, abbreviated as: PDN) connection before the subscribed PCC strategy can control the business. take effect. In addition, all core network functional entities are required to support the optional feature of enabling the PRA, resulting in an increase in the cost of the core network functional entity.

发明内容Contents of the invention

本发明提供一种PCC策略控制方法、装置、设备及存储介质,用以解决配置过程复杂且容易出错,消耗核心网网元的系统资源,重新建立PDN连接后,才能订购的PCC策略控制业务生效,并且成本增加的技术问题。The present invention provides a PCC policy control method, device, equipment and storage medium, which are used to solve the problem that the configuration process is complicated and error-prone, consumes system resources of network elements of the core network, and the ordered PCC policy control service can only take effect after the PDN connection is re-established , and the technical problem of cost increase.

第一方面,本发明提供一种PCC策略控制方法,所述方法应用于应用功能实体设备AF,所述方法包括:In a first aspect, the present invention provides a PCC policy control method, the method is applied to an application function entity device AF, and the method includes:

对订购目标业务的用户标识信息及对应的进出位置上报区域PRA标识信息进行配置;Configure the user identification information of the subscription target service and the PRA identification information of the corresponding entry and exit location reporting area;

确定所述用户标识信息对应的当前PCC策略标识信息;Determine the current PCC policy identification information corresponding to the user identification information;

获取移网深度报文检测DPI数据采集系统上报的用户终端实时位置消息;Obtain the real-time position information of the user terminal reported by the DPI data acquisition system of the mobile network depth message detection;

若根据所述实时位置消息、所述用户标识信息及对应的PRA标识信息确定用户进出对应的PRA,则更改进出对应的PRA的目标用户的PCC策略标识信息;If it is determined according to the real-time location message, the user identification information and the corresponding PRA identification information that the user enters and exits the corresponding PRA, then change the PCC strategy identification information of the target user who exits the corresponding PRA;

将所述目标用户标识信息及更改后的PCC策略标识信息发送至策略和计费规则功能实体PCRF/PCF,以使PCRF/PCF将目标用户的当前PCC策略标识信息调整为更改后的PCC策略标识信息。Send the target user identification information and the modified PCC policy identification information to the policy and charging rule functional entity PCRF/PCF, so that PCRF/PCF adjusts the current PCC policy identification information of the target user to the modified PCC policy identification information.

第二方面,本发明提供一种PCC策略控制装置,所述装置位于应用功能实体AF,所述装置包括:In a second aspect, the present invention provides a PCC policy control device, the device is located in the application function entity AF, and the device includes:

配置模块,用于对订购目标业务的用户标识信息及对应的进出位置上报区域PRA标识信息进行配置;The configuration module is used to configure the user identification information of the subscription target service and the PRA identification information of the corresponding entry and exit location reporting area;

确定模块,用于确定所述用户标识信息对应的当前PCC策略标识信息;A determining module, configured to determine the current PCC policy identification information corresponding to the user identification information;

获取模块,用于获取移网深度报文检测DPI数据采集系统上报的用户终端实时位置消息;The obtaining module is used to obtain the real-time position information of the user terminal reported by the mobile network depth message detection DPI data collection system;

更改模块,用于若根据所述实时位置消息、所述用户标识信息及对应的PRA标识信息确定用户进出对应的PRA,则更改进出对应的PRA的目标用户的PCC策略标识信息;A modification module, configured to change the PCC policy identification information of the target user who exits the corresponding PRA if it is determined according to the real-time location message, the user identification information, and the corresponding PRA identification information that the user enters or exits the corresponding PRA;

发送模块,用于将所述目标用户标识信息及更改后的PCC策略标识信息发送至策略和计费规则功能实体PCRF/PCF,以使PCRF/PCF将目标用户的当前PCC策略标识信息调整为更改后的PCC策略标识信息。A sending module, configured to send the target user identification information and the modified PCC policy identification information to the policy and charging rule functional entity PCRF/PCF, so that PCRF/PCF adjusts the current PCC policy identification information of the target user to the modified The following PCC policy identification information.

第三方面,本发明提供一种应用功能实体设备,包括:至少一个处理器;存储器及收发器;In a third aspect, the present invention provides an application function entity device, including: at least one processor; a memory and a transceiver;

所述存储器,所述处理器及所述收发器电路互联;the memory, the processor and the transceiver circuits are interconnected;

所述存储器存储有可被所述至少一个处理器执行的指令,所述收发器,用于分别与移网深度报文检测DPI数据采集系统、策略和计费规则功能实体PCRF/PCF之间收发数据;The memory stores instructions that can be executed by the at least one processor, and the transceiver is used to send and receive between the mobile network depth packet detection DPI data collection system and the policy and charging rule functional entity PCRF/PCF respectively data;

所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行第一方面所述的方法。The instructions are executed by the at least one processor, so that the at least one processor can execute the method described in the first aspect.

第四方面,本发明提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如第一方面所述的方法。In a fourth aspect, the present invention provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are used to implement the method as described in the first aspect when executed by a processor .

本发明提供的PCC策略控制方法、装置、设备及存储介质,通过采用功能实体设备AF对订购目标业务的用户标识信息及对应的进出位置上报区域PRA标识信息进行配置;确定所述用户标识信息对应的当前PCC策略标识信息;获取移网深度报文检测DPI数据采集系统上报的用户终端实时位置消息;若根据所述实时位置消息、所述用户标识信息及对应的PRA标识信息确定用户进出对应的PRA,则更改进出对应的PRA的目标用户的PCC策略标识信息;将所述目标用户标识信息及更改后的PCC策略标识信息发送至策略和计费规则功能实体PCRF/PCF,以使PCRF/PCF将目标用户的当前PCC策略标识信息调整为更改后的PCC策略标识信息。由于AF是面对运营商的设备,所以可通过页面的形式进行订购目标业务的用户标识信息及对应的进出位置上报区域PRA标识信息的配置,所以能够有效降低配置门槛,并提高配置的准确性,并且有效避免在核心网功能实体上配置PRA列表时消耗的系统资源。而且从移网DPI数据采集系统获取用户终端实时位置消息,在AF中根据用户终端的实时位置信息进行是否调整用户的PCC策略的判断,不需要用户终端重新建立PDN连接,就可实现PCC策略的调整,提高了PCC策略的控制效率。并且在控制过程中无需核心网功能实体均支持开启PRA的可选特性,有效降低成本。The PCC policy control method, device, device and storage medium provided by the present invention configure the user identification information of the subscription target service and the corresponding PRA identification information of the entry and exit location reporting area by using the functional entity equipment AF; determine that the user identification information corresponds to the current PCC policy identification information; obtain the user terminal real-time location information reported by the mobile network depth message detection DPI data acquisition system; if the user enters and exits the corresponding PRA, then modify the PCC policy identification information of the corresponding PRA target user; send the target user identification information and the changed PCC policy identification information to the policy and charging rule functional entity PCRF/PCF, so that PCRF/PCF The current PCC policy identification information of the target user is adjusted to the changed PCC policy identification information. Since AF is an operator-facing device, it is possible to configure the user identification information of the ordering target service and the PRA identification information of the corresponding entry and exit location report area through the form of a page, so it can effectively reduce the configuration threshold and improve the accuracy of configuration. , and effectively avoid system resources consumed when configuring the PRA list on the core network functional entity. Moreover, the real-time location information of the user terminal is obtained from the mobile network DPI data collection system, and whether to adjust the user's PCC strategy is judged in the AF according to the real-time location information of the user terminal. The PCC strategy can be implemented without the need for the user terminal to re-establish a PDN connection. Adjusted to improve the control efficiency of the PCC strategy. In addition, in the control process, no core network functional entity is required to support the optional feature of enabling the PRA, effectively reducing costs.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1为现有技术中基于PCC策略控制方法的信令流程图;Fig. 1 is the signaling flowchart based on PCC policy control method in the prior art;

图2为本发明提供的PCC策略控制方法的一种网络架构图;Fig. 2 is a kind of network architecture diagram of the PCC policy control method provided by the present invention;

图3为本发明提供的PCC策略控制方法的另一种网络架构图;Fig. 3 is another network architecture diagram of the PCC policy control method provided by the present invention;

图4为本发明一实施例提供的PCC策略控制方法的流程图;FIG. 4 is a flowchart of a PCC strategy control method provided by an embodiment of the present invention;

图5为本发明另一实施例提供的PCC策略控制方法的流程图;FIG. 5 is a flowchart of a PCC policy control method provided in another embodiment of the present invention;

图6为本发明再一实施例提供的PCC策略控制方法的信令流程图;FIG. 6 is a signaling flowchart of a PCC policy control method provided by another embodiment of the present invention;

图7为本发明一实施例提供的PCC策略控制装置的结构示意图;FIG. 7 is a schematic structural diagram of a PCC policy control device provided by an embodiment of the present invention;

图8为本发明一实施例提供的应用功能实体设备的框图。Fig. 8 is a block diagram of an application function entity device provided by an embodiment of the present invention.

通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。By means of the above-mentioned drawings, certain embodiments of the present disclosure have been shown and will be described in more detail hereinafter. These drawings and written description are not intended to limit the scope of the disclosed concept in any way, but to illustrate the disclosed concept for those skilled in the art by referring to specific embodiments.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

首先对本发明实施例所涉及的现有技术进行详细说明及分析。Firstly, the prior art involved in the embodiments of the present invention will be described and analyzed in detail.

现有技术中,PCC架构是移动核心网的重要组成部分,对用户和业务的QoS进行控制,能为用户提供差异化的承载资源保障以及计费策略。在用户办理相关业务后,需要采用移动核心网进行PCC策略的控制。In the prior art, the PCC architecture is an important part of the mobile core network, which controls the QoS of users and services, and can provide users with differentiated bearer resource guarantees and charging policies. After the user handles related services, the mobile core network needs to be used to control the PCC strategy.

其中,采用移动核心网进行PCC策略的控制时,PCC策略的控制机制主要有基于用户等级、基于使用时间、基于使用位置、基于累计用量、基于业务类型、基于接入类型或者基于上述任意多个组合进行控制。其中,在移动数据网络中,移动业务最显著的一个特征是移动性管理。当用户处于不同的地理位置时,运营商可以针对区域特点,给用户提供不同的业务体验。所以基于使用位置进行PCC策略的控制是主要的控制机制。Among them, when the mobile core network is used to control the PCC policy, the control mechanism of the PCC policy is mainly based on user level, usage time, usage location, cumulative usage, service type, access type, or any of the above. combination to control. Among them, in the mobile data network, one of the most notable features of the mobile service is mobility management. When users are in different geographic locations, operators can provide users with different service experiences according to regional characteristics. Therefore, the control of the PCC strategy based on the usage location is the main control mechanism.

目前在基于使用位置进行PCC策略的控制时,一般是由策略和计费规则功能实体(简称PCRF/PCF)或核心网设备(简称:MME)来进行PRA列表的配置。具体地,以4G网络,PCRF/PCF进行PRA列表的配置为例,对目前采用移动核心网功能实体进行PCC策略的控制进行说明。如图1所示,采用移动核心网功能实体进行PCC策略的控制包括以下步骤:Currently, when the PCC policy is controlled based on the usage location, the configuration of the PRA list is generally performed by the Policy and Charging Rules Functional Entity (referred to as PCRF/PCF) or core network equipment (referred to as: MME). Specifically, taking the configuration of the PRA list by the PCRF/PCF in the 4G network as an example, the current use of the mobile core network functional entity to control the PCC policy is described. As shown in Figure 1, using the mobile core network functional entity to control the PCC strategy includes the following steps:

步骤101,用户终端发起初始附着请求,以接入到网络中。Step 101, the user terminal initiates an initial attach request to access the network.

其中,用户终端简称UE。Wherein, the user terminal is called UE for short.

步骤102,MME向P-GW/PCEF发起会话建立请求。In step 102, the MME initiates a session establishment request to the P-GW/PCEF.

其中,MME经由S-GW向P-GW/PCEF发起会话建立请求。其中S-GW为服务网关(英文全称为:Serving Gateway)。P-GW为EPC网关。PCEF为策略和计费执行功能实体,英文全称为:Policy and Control Enforcement Function。Wherein, the MME initiates a session establishment request to the P-GW/PCEF via the S-GW. The S-GW is a serving gateway (full name in English: Serving Gateway). The P-GW is an EPC gateway. PCEF is a policy and charging enforcement function entity, and its full English name is: Policy and Control Enforcement Function.

步骤103,P-GW/PCEF向PCRF发送CCR-Initial请求消息。In step 103, the P-GW/PCEF sends a CCR-Initial request message to the PCRF.

其中,CCR-Initial请求消息为信用控制初始化请求消息。在CCR-Initial请求消息中携带用户标识信息。Wherein, the CCR-Initial request message is a credit control initialization request message. The user identification information is carried in the CCR-Initial request message.

步骤104,PCRF根据用户标识信息确定用户签约PCC策略控制的业务,并生成PCC策略。In step 104, the PCRF determines, according to the user identification information, that the user subscribes to a service controlled by the PCC policy, and generates a PCC policy.

步骤105,PCRF向P-GW/PCEF返回CCA-Initial消息。In step 105, the PCRF returns a CCA-Initial message to the P-GW/PCEF.

其中,CCA-Initial消息为信用控制应答初始化消息。在CCA-Initial消息中包括用户标识信息,还包括对应的PCC策略及配置的PRA列表。Wherein, the CCA-Initial message is a credit control response initialization message. The CCA-Initial message includes user identification information, and also includes the corresponding PCC policy and configured PRA list.

步骤106,P-GW/PCEF安装PCC策略,并给MME返回会话建立完成消息。In step 106, the P-GW/PCEF installs the PCC policy, and returns a session establishment complete message to the MME.

其中,P-GW/PCEF经由S-GW给MME返回会话建立完成消息。Wherein, the P-GW/PCEF returns a session establishment complete message to the MME via the S-GW.

其中,在会话建立完成消息中包括PCRF配置的PRA列表。Wherein, the PRA list configured by the PCRF is included in the session establishment complete message.

步骤107,MME给UE发送接受附着消息。In step 107, the MME sends an attach accept message to the UE.

步骤108,UE向MME返回附着完成消息,以完成UE接入到网络中。In step 108, the UE returns an attach complete message to the MME, so as to complete the UE's access to the network.

步骤109,MME开启PRA上报会话并存储PRA标识。In step 109, the MME starts a PRA reporting session and stores the PRA identifier.

步骤110,MME检测到UE的位置区域状态发生变化时,向P-GW/PCEF发送修改承接请求。Step 110, when the MME detects that the location area state of the UE changes, it sends a modification takeover request to the P-GW/PCEF.

其中,在修改承接请求中包括UE所处的位置区域状态。Wherein, the location area status of the UE is included in the modification takeover request.

步骤111,P-GW/PCEF会向PCRF发送CCR-Update请求消息。In step 111, the P-GW/PCEF sends a CCR-Update request message to the PCRF.

其中,CCR-Update请求消息为信用控制更新请求消息。在CCR-Update请求消息中包括用户标识信息及UE所处的位置区域状态。Wherein, the CCR-Update request message is a credit control update request message. The CCR-Update request message includes user identification information and location area status of the UE.

步骤112,PCRF根据上报的用户标识信息及UE所处的位置区域状态确定UE进入或离开PRA列表中的区域,匹配用户进入或离开该区域的新的PCC策略。In step 112, the PCRF determines that the UE enters or leaves the area in the PRA list according to the reported user identification information and the location area state of the UE, and matches the new PCC policy for the user to enter or leave the area.

步骤113,PCRF向P-GW/PCEF发送CCA-Update消息。In step 113, the PCRF sends a CCA-Update message to the P-GW/PCEF.

其中,CCA-Update消息为信用控制更新消息。在CCA-Update消息中携带用户标识信息及新的PCC策略。Wherein, the CCA-Update message is a credit control update message. The CCA-Update message carries user identification information and new PCC policies.

步骤114,P-GW/PCEF删除原有PCC策略,安装新的PCC策略。In step 114, the P-GW/PCEF deletes the original PCC policy and installs a new PCC policy.

步骤115,P-GW给MME返回修改承接响应消息。In step 115, the P-GW returns a modification acceptance response message to the MME.

通过步骤101-步骤115完成了PCC策略的控制。所以目前的PCC策略的控制,需要在PCRF/PCF或MME进行PRA列表的配置。由于PCRF/PCF和MME均为核心网功能实体,所以在进行PRA列表的配置时,需要具有专业技能的核心网维护人员完成一系列复杂的配置,包括:在PCRF/PCF或MME上定义每个PRA列表;针对每个PRA列表,配置一系列的条件、动作、规则和策略。操作门槛高,工作量大,人为配置易出错,无法灵活且频繁快速地响应市场业务需求。并且在PRA列表中具有大量的PPA定义,所以会大量消耗PCRF/PCF或MME的系统资源。如带宽、内存、CPU资源。并且在进行PCC策略的控制时,是在用户终端接入网络过程中完成的,所以用户终端需要先下线,并重新建立PDN连接后,才能使订购的PCC策略控制业务生效。并且需要核心网功能实体均支持开启PRA的可选特性,导致核心网功能实体成本的增加。Through steps 101 to 115, the control of the PCC policy is completed. Therefore, the control of the current PCC policy requires the configuration of the PRA list in the PCRF/PCF or MME. Since both PCRF/PCF and MME are core network functional entities, when configuring the PRA list, core network maintenance personnel with professional skills are required to complete a series of complex configurations, including: defining each PRA list; configure a series of conditions, actions, rules and policies for each PRA list. The operation threshold is high, the workload is heavy, human configuration is prone to error, and it cannot respond flexibly, frequently and quickly to market business needs. And there are a lot of PPA definitions in the PRA list, so it will consume a lot of system resources of PCRF/PCF or MME. Such as bandwidth, memory, CPU resources. Moreover, the PCC policy control is completed when the user terminal accesses the network, so the user terminal needs to go offline first and re-establish the PDN connection before the subscribed PCC policy control service can take effect. In addition, all core network functional entities are required to support the optional feature of enabling the PRA, resulting in an increase in the cost of the core network functional entity.

所以面对现有技术存在的技术问题时,发明人通过创造性的研究发现,应用功能实体设备AF是面对运营商的设备,可通过页面的形式进行参数的配置。并且AF与PCRF在3G/4G网络时通过Rx接口/SOAP接口进行通信连接,AF与PCF在5G网络时通过N5接口/SOAP接口进行通信连接。其中,Rx接口和N5接口为3GPP标准定义的接口。SOAP接口为简单对象访问协议接口。所以可在3GPP中引入AF,由AF进行用户标识信息及对应的进出位置上报区域PRA标识信息的配置。并对AF与PCRF/PCF之间的接口进行能力开放,在AF上满足PCC策略的申请、修改、释放等功能。Therefore, when faced with the technical problems existing in the prior art, the inventor found through creative research that the application function entity device AF is a device facing operators, and parameters can be configured in the form of pages. In addition, the AF and the PCRF communicate through the Rx interface/SOAP interface on the 3G/4G network, and the AF and the PCF communicate through the N5 interface/SOAP interface on the 5G network. Wherein, the Rx interface and the N5 interface are interfaces defined by the 3GPP standard. The SOAP interface is a Simple Object Access Protocol interface. Therefore, AF can be introduced into 3GPP, and the AF configures the user identification information and the PRA identification information of the corresponding entry and exit location reporting area. And open the capability of the interface between AF and PCRF/PCF, and satisfy functions such as application, modification, and release of PCC policies on AF.

并且目前运营商与核心网同步建设有移网深度报文检测DPI数据采集系统,简称为移网DPI数据采集系统。在移网DPI数据采集系统可采集并解析MME、S-GW、P-GW等重要核心网功能实体的信令接口和用户面接口的消息,具备秒级知晓全网UE在网络上位置改变(如:位置更新、切换、路由区更新、跟踪区更新)的能力。所以可通过AF与移网DPI数据采集系统进行通信,获取用户终端实时位置消息。And at present, the operator and the core network have simultaneously built the mobile network deep message detection DPI data collection system, which is called the mobile network DPI data collection system for short. The mobile network DPI data collection system can collect and analyze the signaling interface and user plane interface messages of important core network functional entities such as MME, S-GW, and P-GW, and has the ability to know the position change of the entire network UE on the network in seconds ( Such as: location update, handover, routing area update, tracking area update) capabilities. Therefore, AF can communicate with the mobile network DPI data acquisition system to obtain real-time location information of user terminals.

通过上述的研究发现,形成本申请提供的PCC策略控制方法。即在AF对订购目标业务的用户标识信息及对应的进出位置上报区域PRA标识信息进行配置;确定用户标识信息对应的当前PCC策略标识信息。AF通过与移网DPI数据采集系统进行通信,获取移网DPI数据采集系统上报的用户终端实时位置消息。根据实时位置消息、用户标识信息及对应的PRA标识信息确定用户进出对应的PRA,若是,则更改进出对应的PRA的目标用户的PCC策略标识信息;将目标用户标识信息及更改后的PCC策略标识信息发送至策略和计费规则功能实体PCRF/PCF,以使PCRF/PCF将目标用户的当前PCC策略标识信息调整为更改后的PCC策略标识信息。Through the above research findings, the PCC policy control method provided by the present application is formed. That is, configure the user identification information of the subscription target service and the PRA identification information of the corresponding entry and exit location reporting area in the AF; determine the current PCC policy identification information corresponding to the user identification information. The AF communicates with the Mobile Network DPI data collection system to obtain the real-time location information of the user terminal reported by the Mobile Network DPI data collection system. According to the real-time location message, user identification information and corresponding PRA identification information, it is determined that the user enters and exits the corresponding PRA, if so, then the PCC policy identification information of the target user of the corresponding PRA is changed; the target user identification information and the changed PCC policy identification The information is sent to the policy and charging rule functional entity PCRF/PCF, so that the PCRF/PCF adjusts the current PCC policy identification information of the target user to the changed PCC policy identification information.

下面对本发明实施例提供的网络架构进行介绍。The network architecture provided by the embodiment of the present invention is introduced below.

如图2所示,在3G/4G网络中,本发明提供的PCC策略控制方法中包括:移网DPI数据采集系统11、AF 12、PCRF 13、P-GW/PCEF 14、MME 15、演进型基站(英文全称为:EvolvedNode B,简称为:eNodeB)16。其中,移网DPI数据采集系统11通过eNodeB 16与MME 15之间的S1_MME接口获取用户终端实时位置消息。AF 12通过Rx接口/SOAP接口与PCRF 13进行通信连接,PCRF 13通过P-GW/PCEF 14与MME 15进行通信连接。AF对订购目标业务的用户标识信息及对应的进出位置上报区域PRA标识信息进行配置;确定用户标识信息对应的当前PCC策略标识信息。AF从移网DPI数据采集系统获取用户终端实时位置消息。AF根据实时位置消息、用户标识信息及对应的PRA标识信息确定用户进出对应的PRA,若是,则更改进出对应的PRA的目标用户的PCC策略标识信息,将目标用户标识信息及更改后的PCC策略标识信息发送至策略和计费规则功能实体PCRF/PCF,PCRF/PCF将目标用户的当前PCC策略标识信息调整为更改后的PCC策略标识信息,PCRF将更改后的PCC策略标识信息通过P-GW/PCEF发送给MME,以完成PCC策略控制。As shown in Figure 2, in a 3G/4G network, the PCC policy control method provided by the present invention includes: mobile network DPIdata acquisition system 11,AF 12,PCRF 13, P-GW/PCEF 14,MME 15, evolved A base station (full name in English: EvolvedNode B, abbreviated as: eNodeB) 16 . Wherein, the mobile network DPIdata collection system 11 obtains the real-time location information of the user terminal through the S1_MME interface between theeNodeB 16 and theMME 15 . TheAF 12 communicates with thePCRF 13 through the Rx interface/SOAP interface, and thePCRF 13 communicates with theMME 15 through the P-GW/PCEF 14 . The AF configures the user identification information of the subscription target service and the corresponding PRA identification information of the entry and exit location reporting area; determines the current PCC policy identification information corresponding to the user identification information. The AF obtains the real-time location information of the user terminal from the mobile network DPI data acquisition system. The AF determines the user's access to the corresponding PRA according to the real-time location message, user identification information, and corresponding PRA identification information. The identification information is sent to the policy and charging rule functional entity PCRF/PCF, and the PCRF/PCF adjusts the current PCC policy identification information of the target user to the changed PCC policy identification information, and the PCRF passes the changed PCC policy identification information through the P-GW /PCEF is sent to MME to complete PCC policy control.

如图3所示,在5G网络中,本发明提供的PCC策略控制方法中包括:移网DPI数据采集系统11、AF 12、PCF 17、会话管理功能实体(英文全称为:Session ManagementFunction,简称:SMF)18、接入和移动管理功能(英文全称为:Access and MobilityManagement Function,简称:AMF)19及5G基站(简称:gNodeB)110。其中,移网DPI数据采集系统11通过gNodeB 110与AMF 19之间的N1/N2接口获取用户终端实时位置消息。AF 12通过N5接口/SOAP接口与PCF 17进行通信连接,PCF 17通过SMF18与AMF 19进行通信连接。具体的方案实现过程与图2中的类似,在此不再一一赘述。As shown in Figure 3, in a 5G network, the PCC policy control method provided by the present invention includes: a mobile network DPIdata collection system 11, anAF 12, aPCF 17, and a session management function entity (English full name: Session ManagementFunction, referred to as: SMF) 18, access and mobility management function (English full name: Access and Mobility Management Function, abbreviation: AMF) 19 and 5G base station (abbreviation: gNodeB) 110. Among them, the mobile network DPIdata collection system 11 obtains the real-time location information of the user terminal through the N1/N2 interface between thegNodeB 110 and theAMF 19 . TheAF 12 communicates with thePCF 17 through the N5 interface/SOAP interface, and thePCF 17 communicates with theAMF 19 through the SMF18. The specific implementation process of the solution is similar to that in FIG. 2 , and will not be repeated here.

下面以具体地实施例对本发明的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本发明的实施例进行描述。The technical solution of the present invention and how the technical solution of the present application solves the above technical problems will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.

图4为本发明一实施例提供的PCC策略控制方法的流程图,如图2所示,本实施例提供的PCC策略控制方法执行主体为PCC策略控制装置。该PCC策略控制装置位于应用功能实体设备AF中。则本实施提供的PCC策略控制方法包括以下步骤:FIG. 4 is a flowchart of a PCC policy control method provided by an embodiment of the present invention. As shown in FIG. 2 , the PCC policy control method provided by this embodiment is executed by a PCC policy control device. The PCC policy control device is located in the application function entity equipment AF. Then the PCC strategy control method that this implementation provides comprises the following steps:

步骤201,对订购目标业务的用户标识信息及对应的进出位置上报区域PRA标识信息进行配置。Step 201, configure the user identification information of the subscription target service and the corresponding PRA identification information of the entry and exit location reporting area.

其中,目标业务为PCC策略控制业务。用户可通过运营商提供的线上订购平台或线下订购PCC策略控制业务。Wherein, the target service is a PCC policy control service. Users can order PCC policy control services through the online ordering platform provided by the operator or offline ordering.

本实施例中,在用户订购目标业务时,需要确定用户标识信息,并确定用户订购PCC策略控制业务时享受PCC策略控制业务时进出位置上报区域PRA标识信息及具体享受PCC策略控制业务时的PCC策略。所以基于用户订购目标业务的信息AF对订购目标业务的用户标识信息及对应的进出位置上报区域PRA标识信息进行配置。In this embodiment, when the user subscribes to the target service, it is necessary to determine the user identification information, and determine the PCC when the user enjoys the PCC policy control service when subscribing to the PCC policy control service. Strategy. Therefore, based on the information AF of the user's subscription target service, the user identification information of the subscription target service and the corresponding PRA identification information of the entry and exit location reporting area are configured.

其中,用户标识信息可以为用户终端的国际移动用户识别码(简称为:IMSI)或者移动用户号码(简称为:MSISDN)或其他表示唯一用户的信息。Wherein, the user identification information may be the International Mobile Subscriber Identity (IMSI for short) or Mobile Subscriber Number (MSISDN for short) of the user terminal, or other information representing a unique user.

其中,PRA标识信息可以根据区域粒度的不同采用以下任意一个信息表示:小区全球识别码(英文全称为:Cell Global Identity,简称为:CGI)、服务区识别码(英文全称为:Service Area Identity,简称为:SAI)、路由区域识别码(英文全称为:Routing AreaIdentity,简称为:RAI)、跟踪区域识别码(英文全称为:Tracking Area Identity,简称为:TAI)、演进的UMTS陆地无线接入网识别码、宏基站识别码、家庭基站识别码。Among them, the PRA identification information can be represented by any of the following information according to the different granularity of the area: Cell Global Identity (English full name: Cell Global Identity, abbreviated as: CGI), service area identification code (English full name: Service Area Identity, Abbreviated as: SAI), routing area identification code (full name in English: Routing Area Identity, abbreviated as: RAI), tracking area identification code (full name in English: Tracking Area Identity, abbreviated as: TAI), evolved UMTS terrestrial wireless access Network identification code, macro base station identification code, home base station identification code.

本实施例中,AF在对订购目标业务的用户标识信息及对应的进出位置上报区域PRA标识信息进行配置时,可向预设人员提供配置页面,预设人员在页面中输入用户标识信息及对应的进出位置上报区域PRA标识信息,并触发配置操作后,AF进行相应的配置。In this embodiment, when the AF configures the user identification information of the subscription target service and the corresponding PRA identification information of the entry and exit location reporting area, it can provide a configuration page to the preset personnel, and the preset personnel input the user identification information and the corresponding PRA identification information on the page. After reporting the area PRA identification information at the entry and exit locations of the AF and triggering the configuration operation, the AF performs corresponding configuration.

其中,预设人员可以为市场人员。Wherein, the preset personnel may be market personnel.

步骤202,确定用户标识信息对应的当前PCC策略标识信息。Step 202, determine the current PCC policy identification information corresponding to the user identification information.

本实施例中,由于在用户订购目标业务时,需要确定出用户具体享受PCC策略控制业务时的PCC策略。所以还可确定出用户未享受PCC策略控制业务时的PCC策略。并且每种PCC策略具有对应的标识信息,每种PCC策略具有对应的标识信息可以为PCC策略的编号。In this embodiment, when the user subscribes to the target service, it is necessary to determine the PCC policy when the user specifically enjoys the PCC policy control service. Therefore, the PCC policy when the user does not enjoy the PCC policy control service can also be determined. And each PCC strategy has corresponding identification information, and each PCC strategy has corresponding identification information which may be the serial number of the PCC strategy.

本实施例中,AF可向PCRF/PCF发送策略标识获取请求,在策略标识获取请求中可包括用户标识信息。在用户订购目标业务时,PCRF/PCF中已经配置了用户当前的PCC策略,所以PCRF/PCF根据策略标识获取请求,获取到用户标识信息对应的当前的PCC策略,进而确定出当前的PCC策略的标识信息,PCRF/PCF将当前的PCC策略的标识信息发送给AF,进而AF确定出用户标识信息对应的当前PCC策略标识信息。In this embodiment, the AF may send a policy identifier acquisition request to the PCRF/PCF, and the policy identifier acquisition request may include user identifier information. When the user subscribes to the target service, the PCRF/PCF has already configured the user's current PCC policy, so the PCRF/PCF obtains the current PCC policy corresponding to the user identification information according to the policy identification acquisition request, and then determines the current PCC policy. Identification information. The PCRF/PCF sends the identification information of the current PCC policy to the AF, and then the AF determines the current PCC policy identification information corresponding to the user identification information.

其中,当前PCC策略标识信息可采用当前PCC策略的编号表示。Wherein, the identification information of the current PCC strategy may be represented by the serial number of the current PCC strategy.

步骤203,获取移网DPI数据采集系统上报的用户终端实时位置消息。其中,移网DPI数据采集系统为移网深度报文检测DPI数据采集系统的简称。Step 203, obtaining the real-time location information of the user terminal reported by the mobile network DPI data collection system. Among them, the mobile network DPI data acquisition system is the abbreviation of the mobile network deep packet detection DPI data acquisition system.

本实施例中,移网DPI数据采集系统在3G/4G网络中,通过S1_MME能够采集到eNodeB与MME之间的信令,进而能够获取到信令中的用户终端实时位置信息。在5G网络中,通过N1/N2接口能够采集gNodeB与AMF之间的信令,进而能够获取到信令中的用户终端的实时位置信息。In this embodiment, the mobile network DPI data collection system can collect the signaling between the eNodeB and the MME through the S1_MME in the 3G/4G network, and then can obtain the real-time location information of the user terminal in the signaling. In the 5G network, the signaling between gNodeB and AMF can be collected through the N1/N2 interface, and then the real-time location information of the user terminal in the signaling can be obtained.

所以AF可与移网DPI数据采集系统建立通信连接后,在移网DPI数据采集系统采集到用户终端实时位置消息后,就可将用户终端实时位置消息上报为AF,使得AF获取到移网DPI数据采集系统上报的用户终端实时位置消息。Therefore, after the AF can establish a communication connection with the mobile network DPI data collection system, after the mobile network DPI data collection system collects the real-time location information of the user terminal, it can report the real-time location information of the user terminal to the AF, so that the AF can obtain the mobile network DPI The real-time position information of the user terminal reported by the data acquisition system.

其中,在用户终端实时位置消息中可包括用户标识信息,用户终端实时位置所在的区域,用户终端实时位置所在的区域可采用与PRA标识信息同一类的区域的标识信息进行表示,与PRA标识信息同一类的区域采用以下任意一种区域进行表示:小区、服务区、路由区域、跟踪区域、演进的UMTS陆地无线接入网、宏基站、家庭基站。Wherein, the user identification information may be included in the real-time location message of the user terminal, the area where the real-time location of the user terminal is located, and the area where the real-time location of the user terminal is located may be represented by the identification information of the same type of area as the PRA identification information, and the PRA identification information Areas of the same type are represented by any of the following areas: cell, service area, routing area, tracking area, evolved UMTS terrestrial radio access network, macro base station, and home base station.

步骤204,若根据实时位置消息、用户标识信息及对应的PRA标识信息确定用户进出对应的PRA,则更改进出对应的PRA的目标用户的PCC策略标识信息。Step 204: If it is determined according to the real-time location information, user identification information and corresponding PRA identification information that the user enters or exits the corresponding PRA, update the PCC policy identification information of the target user who exits the corresponding PRA.

本实施例中,根据实时位置消息、用户标识信息及对应的PRA标识信息判断用户是否进出对应的PRA,若确定出用户进出对应的PRA,则说明需要对进出对应的PRA的目标用户的PCC策略进行更改,则获取到当前PCC策略标识信息,并获取到未使用PCC策略标识信息。并将当前PCC策略标识信息更改为未使用PCC策略标识信息。In this embodiment, it is judged whether the user enters or exits the corresponding PRA according to the real-time location information, the user identification information and the corresponding PRA identification information. If it is determined that the user enters or exits the corresponding PRA, then the PCC strategy for the target user entering or exiting the corresponding PRA is required. If the modification is made, the current PCC policy identification information and the unused PCC policy identification information are obtained. And change the current PCC policy identification information to unused PCC policy identification information.

其中,若确定目标用户进入对应的PRA,则未使用的PCC策略标识信息为享受PCC策略控制业务时对应的PCC策略标识信息。若确定目标用户离开对应的PRA,则未使用的PCC策略标识信息为未享受PCC策略控制业务时对应的PCC策略标识信息。Wherein, if it is determined that the target user enters the corresponding PRA, the unused PCC policy identification information is the corresponding PCC policy identification information when enjoying the PCC policy control service. If it is determined that the target user leaves the corresponding PRA, the unused PCC policy identification information is the corresponding PCC policy identification information when not enjoying the PCC policy control service.

步骤205,将目标用户标识信息及更改后的PCC策略标识信息发送至策略和计费规则功能实体PCRF/PCF,以使PCRF/PCF将目标用户的当前PCC策略标识信息调整为更改后的PCC策略标识信息。Step 205: Send the target user identification information and the modified PCC policy identification information to the policy and charging rule functional entity PCRF/PCF, so that the PCRF/PCF adjusts the current PCC policy identification information of the target user to the modified PCC policy Identification information.

本实施例中,在3G/4G网络中,将目标用户标识信息及更改后的PCC策略标识信息发送至PCRF中,PCRF将目标用户的当前PCC策略标识信息调整为更改后的PCC策略标识信息,该更改后的PCC策略标识信息为未使用的PCC策略标识信息。PCRF通过P-GW/PCEF将更改后的PCC策略标识信息发送给MME,以完成PCC策略控制。In this embodiment, in the 3G/4G network, the target user identification information and the modified PCC policy identification information are sent to the PCRF, and the PCRF adjusts the current PCC policy identification information of the target user to the modified PCC policy identification information, The changed PCC policy identification information is unused PCC policy identification information. The PCRF sends the changed PCC policy identification information to the MME through the P-GW/PCEF to complete PCC policy control.

在5G网络中,将目标用户标识信息及更改后的PCC策略标识信息发送至PCF中,PCF将目标用户的当前PCC策略标识信息调整为更改后的PCC策略标识信息。PCF通过SMF将更改后的PCC策略标识信息发送给AMF,以完成PCC策略控制。In the 5G network, the target user identification information and the changed PCC policy identification information are sent to the PCF, and the PCF adjusts the current PCC policy identification information of the target user to the changed PCC policy identification information. The PCF sends the changed PCC policy identification information to the AMF through the SMF to complete PCC policy control.

本实施例提供的PCC策略控制方法,通过AF对订购目标业务的用户标识信息及对应的进出位置上报区域PRA标识信息进行配置;确定用户标识信息对应的当前PCC策略标识信息;获取移网深度报文检测DPI数据采集系统上报的用户终端实时位置消息;若根据实时位置消息、用户标识信息及对应的PRA标识信息确定用户进出对应的PRA,则更改进出对应的PRA的目标用户的PCC策略标识信息;将目标用户标识信息及更改后的PCC策略标识信息发送至策略和计费规则功能实体PCRF/PCF,以使PCRF/PCF将目标用户的当前PCC策略标识信息调整为更改后的PCC策略标识信息。由于AF是面对运营商的设备,所以可通过页面的形式进行订购目标业务的用户标识信息及对应的进出位置上报区域PRA标识信息的配置,所以能够有效降低配置门槛,并提高配置的准确性,并且有效避免在核心网功能实体上配置PRA列表时消耗的系统资源。而且从移网DPI数据采集系统获取用户终端实时位置消息,在AF中根据用户终端的实时位置信息进行是否调整用户的PCC策略的判断,不需要用户终端重新建立PDN连接,就可实现PCC策略的调整,提高了PCC策略的控制效率。并且在控制过程中无需核心网功能实体均支持开启PRA的可选特性,有效降低成本。The PCC policy control method provided by this embodiment configures the user identification information of the subscription target service and the PRA identification information of the corresponding entry and exit location reporting area through the AF; determines the current PCC policy identification information corresponding to the user identification information; obtains the mobile network depth report The document detects the real-time location message of the user terminal reported by the DPI data acquisition system; if it is determined according to the real-time location message, user identification information and corresponding PRA identification information that the user enters and exits the corresponding PRA, then the PCC policy identification information of the target user corresponding to the PRA is changed ; Send the target user identification information and the changed PCC policy identification information to the policy and charging rule functional entity PCRF/PCF, so that PCRF/PCF adjusts the current PCC policy identification information of the target user to the changed PCC policy identification information . Since AF is an operator-facing device, it is possible to configure the user identification information of the ordering target service and the PRA identification information of the corresponding entry and exit location report area through the form of a page, so it can effectively reduce the configuration threshold and improve the accuracy of configuration. , and effectively avoid system resources consumed when configuring the PRA list on the core network functional entity. Moreover, the real-time location information of the user terminal is obtained from the mobile network DPI data collection system, and whether to adjust the user's PCC strategy is judged in the AF according to the real-time location information of the user terminal. The PCC strategy can be implemented without the need for the user terminal to re-establish a PDN connection. Adjusted to improve the control efficiency of the PCC strategy. In addition, in the control process, no core network functional entity is required to support the optional feature of enabling the PRA, effectively reducing costs.

实施例二Embodiment two

图5为本发明另一实施例提供的PCC策略控制方法的流程图,如图5所示,本实施例提供的PCC策略控制方法在实施例提供的PCC策略控制方法的基础上,对步骤201的进一步细化,并且还包括了其他步骤,则本实施例提供的PCC策略控制方法包括以下步骤:FIG. 5 is a flow chart of a PCC strategy control method provided by another embodiment of the present invention. As shown in FIG. Further refinement, and also includes other steps, then the PCC policy control method provided in this embodiment includes the following steps:

步骤301,接收预设人员输入的订购目标业务的用户列表及PRA列表;用户列表中包括至少一个用户标识信息,PRA列表中包括至少一个PRA标识信息。Step 301, receiving a user list and a PRA list for ordering target services input by preset personnel; the user list includes at least one user identification information, and the PRA list includes at least one PRA identification information.

其中,预设人员可以为运营商的市场人员。Wherein, the preset personnel may be marketing personnel of the operator.

本实施例中,AF向预设人员提供配置页面,预设人员可在配置页面中输入订购目标业务的用户列表及PRA列表。In this embodiment, the AF provides a configuration page to the preset personnel, and the preset personnel can input the user list and the PRA list for ordering the target service on the configuration page.

其中,在用户列表可包括至少一个用户标识信息,如可以为IMSI或MSISDN。还可包括用户类型及其他用户信息。若用户列表中包括多个用户标识信息,则需要保证多个用户标识信息与同一个PRA列表中的PRA标识信息具有对应关系。Wherein, the user list may include at least one user identification information, such as IMSI or MSISDN. User type and other user information may also be included. If the user list includes multiple user identification information, it needs to ensure that the multiple user identification information has a corresponding relationship with the PRA identification information in the same PRA list.

其中,在PRA列表中包括至少一个PRA标识信息,其中,PRA标识信息可以为ECGI对应的标识信息。还可以包括至少一个PRA标识信息所在的省、州、市。还可包括PRA标识信息对应的区域名称等信息。若在PRA列表中包括多个PRA标识信息,则需要保证在用户列表中的至少一个用户标识均与多个PRA标识信息具有对应关系。Wherein, at least one piece of PRA identification information is included in the PRA list, where the PRA identification information may be identification information corresponding to ECGI. It may also include at least one province, state, and city where the PRA identification information is located. Information such as the area name corresponding to the PRA identification information may also be included. If the PRA list includes multiple PRA identification information, it needs to ensure that at least one user identification in the user list has a corresponding relationship with the multiple PRA identification information.

步骤302,将用户列表与PRA列表进行绑定,以对用户标识信息及对应的PRA标识信息进行配置。Step 302, bind the user list with the PRA list, so as to configure user identification information and corresponding PRA identification information.

本实施例中,AF在接收到用户列表及PRA列表后,将两个列表进行绑定,以将用户列表中的至少一个用户标识信息与PRA列表中的至少一个PRA标识信息进行配置,表示至少一个用户标识信息与至少一个PRA标识信息具有对应关系。In this embodiment, after receiving the user list and the PRA list, the AF binds the two lists to configure at least one user identification information in the user list with at least one PRA identification information in the PRA list, indicating that at least One piece of user identification information has a corresponding relationship with at least one piece of PRA identification information.

步骤303,确定用户标识信息对应的当前PCC策略标识信息。Step 303, determine the current PCC policy identification information corresponding to the user identification information.

本实施例中,步骤303的实现方式与本发明实施例一中的步骤202的实现方式类似,在此不再一一赘述。In this embodiment, the implementation manner of step 303 is similar to the implementation manner of step 202 in Embodiment 1 of the present invention, and will not be repeated here.

步骤304,获取移网DPI数据采集系统上报的用户终端实时位置消息。Step 304, acquiring the real-time location information of the user terminal reported by the mobile network DPI data collection system.

其中,用户终端实时位置消息中包括用户标识信息及用户终端实时位置所在的区域的标识信息。其中,用户标识信息采用IMSI或MSISDN表示。用户终端实时位置所在的区域的标识信息采用ECGI的标识信息进行表示。Wherein, the real-time location message of the user terminal includes user identification information and identification information of the area where the real-time location of the user terminal is located. Wherein, the user identification information is represented by IMSI or MSISDN. The identification information of the area where the real-time position of the user terminal is located is represented by the identification information of the ECGI.

具体地,本实施例中,在移网DPI数据采集系统采集用户终端实时位置消息时,若确定用户位置发生改变时,则将用户终端实时位置消息上报给AF。Specifically, in this embodiment, when the mobile network DPI data collection system collects the real-time location information of the user terminal, if it is determined that the user location changes, the real-time location information of the user terminal is reported to the AF.

步骤305,根据实时位置消息、用户标识信息及对应的PRA标识信息判断是否存在用户进出对应的PRA,若是,则执行步骤306,否则返回执行步骤304。Step 305, judge whether there is a user entering or leaving the corresponding PRA according to the real-time location information, user identification information and corresponding PRA identification information, if yes, perform step 306, otherwise return to step 304.

作为一种可选实施方式,本实施例中,步骤305包括以下步骤:As an optional implementation manner, in this embodiment,step 305 includes the following steps:

步骤3051,判断实时位置消息中的用户标识信息是否存在于用户列表中,并判断用户终端所在区域标识信息是否存在于PRA列表中。Step 3051, judge whether the user identification information in the real-time location message exists in the user list, and judge whether the area identification information of the user terminal exists in the PRA list.

步骤3052,根据判断结果确定是否存在用户进出对应的PRA。Step 3052, determine whether there is a PRA corresponding to the user's entry or exit according to the judgment result.

本实施例中,获取用户列表和PRA列表,根据实时位置消息中的用户标识信息对用户列表中的用户标识信息进行遍历,判断实时位置消息中的用户标识信息是否存在于用户列表中。根据实时位置消息中的用户终端所在区域标识信息对PRA列表中的PRA标识信息进行遍历,判断用户终端所在区域标识信息是否存在于PRA列表中。并根据判断结果确定是否存在用户进出对应的PRA。In this embodiment, the user list and the PRA list are acquired, the user identification information in the user list is traversed according to the user identification information in the real-time location message, and it is judged whether the user identification information in the real-time location message exists in the user list. Traverse the PRA identification information in the PRA list according to the identification information of the area where the user terminal is located in the real-time location message, and judge whether the identification information of the area where the user terminal is located exists in the PRA list. And according to the judgment result, it is determined whether there is a PRA corresponding to the user's entry or exit.

由于PRA列表中的PRA标识信息的个数不同,具体根据判断结果确定是否存在用户进出对应的PRA的方案也不同,所以分别进行说明。Since the number of PRA identification information in the PRA list is different, the specific schemes for determining whether there is a corresponding PRA for the user to enter or exit according to the judgment result are also different, so they are described separately.

可选地,PRA列表中的PRA标识信息为一个,相应地,步骤3052包括以下方案:Optionally, there is one PRA identification information in the PRA list, and accordingly, step 3052 includes the following solutions:

若确定实时位置消息中的用户标识信息存在于用户列表中且用户终端所在区域标识信息存在于PRA列表中,则确定用户进入对应的PRA。If it is determined that the user identification information in the real-time location message exists in the user list and the area identification information of the user terminal exists in the PRA list, it is determined that the user enters the corresponding PRA.

若确定实时位置消息中的用户标识信息存在于用户列表中且用户终端所在区域标识信息未存在于PRA列表中,则获取前一次的实时位置信息的用户标识信息及用户终端所在区域标识信息;若前一次的实时位置信息的用户标识信息存在于用户列表中且前一次的实时位置信息的用户终端所在区域标识信息存在于PRA列表中,则确定用户离开对应的PRA。If it is determined that the user identification information in the real-time location message exists in the user list and the area identification information of the user terminal does not exist in the PRA list, then obtain the user identification information of the previous real-time location information and the area identification information of the user terminal; if If the user identification information of the previous real-time location information exists in the user list and the user terminal area identification information of the previous real-time location information exists in the PRA list, it is determined that the user leaves the corresponding PRA.

若确定实时位置消息中的用户标识信息不存在于用户列表中,则确定用户未进出对应的PRA。If it is determined that the user identification information in the real-time location message does not exist in the user list, it is determined that the user has not entered or exited the corresponding PRA.

具体地,本实施例中,若确定实时位置消息中的用户标识信息存在于用户列表中,则说明该用户发生了位置改变并且为订购目标业务的用户,若确定用户终端所在区域标识信息存在于PRA列表中,PRA列表中的PRA标识信息为一个,则说明用户发生位置改变时,从不在PRA列表的区域进入到了PRA列表对应的区域中,所以用户进入对应的PRA。Specifically, in this embodiment, if it is determined that the user identification information in the real-time location message exists in the user list, it means that the user has changed location and is a user who subscribes to the target service. In the PRA list, if the PRA identification information in the PRA list is one, it means that when the user changes location, he enters the area corresponding to the PRA list from an area not in the PRA list, so the user enters the corresponding PRA.

具体地,本实施例中,若确定实时位置消息中的用户标识信息存在于用户列表中,则说明该用户发生了位置改变并且为订购目标业务的用户,若确定用户终端所在区域标识信息未存在于PRA列表中,PRA列表中的PRA标识信息为一个,则说明用户发生位置改变时,有一种可能性为:从一个不在PRA列表的区域进入到了另一个不在PRA列表的区域中。或者另一种可能性为:从在PRA列表的区域离开,进入了不在PRA列表的区域。则为了进一步确定用户是否离开对应的PRA。则获取前一次的实时位置信息的用户标识信息及用户终端所在区域标识信息。若前一次的实时位置信息的用户标识信息存在于用户列表中,则说明前一次实时位置信息中该用户发生了位置改变并且为订购目标业务的用户。若前一次的实时位置信息的用户终端所在区域标识信息存在于PRA列表中,则说明前一次实时位置信息中用户发生位置改变后进入到了对应的PRA。所以在当前实时位置信息中,确定用户是离开对应的PRA。Specifically, in this embodiment, if it is determined that the user identification information in the real-time location message exists in the user list, it means that the user has changed location and is a user who subscribes to the target service; if it is determined that the user terminal area identification information does not exist In the PRA list, if there is only one PRA identification information in the PRA list, it means that when the user changes location, there is a possibility that: from an area not in the PRA list to another area not in the PRA list. Or another possibility is: leaving an area on the PRA list and entering an area not on the PRA list. Then in order to further determine whether the user leaves the corresponding PRA. The user identification information of the previous real-time location information and the area identification information of the user terminal are acquired. If the user identification information of the previous real-time location information exists in the user list, it means that the user in the previous real-time location information has a location change and is a user who subscribes to the target service. If the identification information of the area where the user terminal is located in the previous real-time location information exists in the PRA list, it means that the user has entered the corresponding PRA after a location change in the previous real-time location information. Therefore, in the current real-time location information, it is determined that the user is leaving the corresponding PRA.

具体地,若确定实时位置消息中的用户标识信息不存在于用户列表中,则说明该用户发生了位置改变但未订购目标业务的用户,所以也不会有对应的PRA,进而确定用户未进出对应的PRA。Specifically, if it is determined that the user identification information in the real-time location message does not exist in the user list, it means that the user has changed his location but has not subscribed to the target service, so there will be no corresponding PRA, and it is determined that the user has not entered or exited Corresponding PRA.

可选地,PRA列表中的PRA标识信息为多个。相应地,步骤3052包括以下方案:Optionally, there are multiple PRA identification information in the PRA list. Accordingly, step 3052 includes the following solutions:

若确定实时位置消息中的用户标识信息存在于用户列表中且用户终端所在区域标识信息存在于PRA列表中,则获取前一次的实时位置信息的用户标识信息及用户终端所在区域标识信息;若前一次的实时位置信息的用户标识信息存在于用户列表中且前一次的实时位置信息的用户终端所在区域标识信息不存在于PRA列表中,则确定用户进入对应的PRA。If it is determined that the user identification information in the real-time location message exists in the user list and the area identification information of the user terminal exists in the PRA list, then obtain the user identification information of the previous real-time location information and the area identification information of the user terminal; if the previous If the user identification information of the real-time location information exists in the user list and the user terminal area identification information of the previous real-time location information does not exist in the PRA list, it is determined that the user enters the corresponding PRA.

若确定实时位置消息中的用户标识信息存在于用户列表中且用户终端所在区域标识信息未存在于PRA列表中,则获取前一次的实时位置信息的用户标识信息及用户终端所在区域标识信息;若前一次的实时位置信息的用户标识信息存在于用户列表中且前一次的实时位置信息的用户终端所在区域标识信息存在于PRA列表中,则确定用户离开对应的PRA。If it is determined that the user identification information in the real-time location message exists in the user list and the area identification information of the user terminal does not exist in the PRA list, then obtain the user identification information of the previous real-time location information and the area identification information of the user terminal; if If the user identification information of the previous real-time location information exists in the user list and the user terminal area identification information of the previous real-time location information exists in the PRA list, it is determined that the user leaves the corresponding PRA.

若确定实时位置消息中的用户标识信息不存在于用户列表中,则确定用户未进出对应的PRA。If it is determined that the user identification information in the real-time location message does not exist in the user list, it is determined that the user has not entered or exited the corresponding PRA.

具体地,本实施例中,若确定实时位置消息中的用户标识信息存在于用户列表中,则说明该用户发生了位置改变并且为订购目标业务的用户,若确定用户终端所在区域标识信息存在于PRA列表中,PRA列表中的PRA标识信息为多个,则说明用户发生位置改变时,有一种可能性为:从在PRA列表的一个区域进入到了在PRA列表的另一个区域中。或者另一种可能性为:从不在PRA列表的区域进入了在PRA列表的区域。则为了进一步确定用户是否进入对应的PRA。则获取前一次的实时位置信息的用户标识信息及用户终端所在区域标识信息。若前一次的实时位置信息的用户标识信息存在于用户列表中且前一次的实时位置信息的用户终端所在区域标识信息不存在于PRA列表中,则说明前一次实时位置信息,用户终端发生位置改变后,不在PRA列表中的区域,所以实时位置消息中的用户标识信息存在于用户列表中且用户终端所在区域标识信息存在于PRA列表中为上述的另一种可能性的情况,进而确定用户进入对应的PRA。Specifically, in this embodiment, if it is determined that the user identification information in the real-time location message exists in the user list, it means that the user has changed location and is a user who subscribes to the target service. In the PRA list, if there are multiple PRA identification information in the PRA list, it means that when the location of the user changes, there is a possibility that the user enters from one area in the PRA list to another area in the PRA list. Or another possibility is: entering a PRA-listed area from a non-PRA-listed area. Then in order to further determine whether the user enters the corresponding PRA. The user identification information of the previous real-time location information and the area identification information of the user terminal are acquired. If the user identification information of the previous real-time location information exists in the user list and the user terminal area identification information of the previous real-time location information does not exist in the PRA list, it means that the previous real-time location information and the location of the user terminal have changed Finally, the area that is not in the PRA list, so the user identification information in the real-time location message exists in the user list and the area identification information of the user terminal exists in the PRA list is another possibility described above, and then it is determined that the user enters Corresponding PRA.

具体地,本实施例中,若确定实时位置消息中的用户标识信息存在于用户列表中,则说明该用户发生了位置改变并且为订购目标业务的用户,且用户终端所在区域标识信息未存在于PRA列表中,PRA列表中的PRA标识信息为多个,则说明用户发生位置改变时,有一种可能性为:从不在PRA列表的一个区域离开,进入到了不在PRA列表的另一个区域中。或者另一种可能性为:从在PRA列表的区域离开,进入了不在PRA列表的区域。则为了进一步确定用户是否离开对应的PRA。则为了进一步确定用户是否离开对应的PRA。则获取前一次的实时位置信息的用户标识信息及用户终端所在区域标识信息;若前一次的实时位置信息的用户标识信息存在于用户列表中且前一次的实时位置信息的用户终端所在区域标识信息存在于PRA列表中,则说明在前一次实时位置信息,用户终端发生位置改变后,在PRA列表中的区域,所以实时位置消息中的用户标识信息存在于用户列表中且用户终端所在区域标识信息未存在于PRA列表中为上述的另一种可能性的情况,进而确定用户离开对应的PRA。Specifically, in this embodiment, if it is determined that the user identification information in the real-time location message exists in the user list, it means that the user has changed his location and is a user who subscribes to the target service, and the identification information of the area where the user terminal is located does not exist in the user list. In the PRA list, if there are multiple PRA identification information in the PRA list, it means that when the user changes location, there is a possibility that the user leaves an area not in the PRA list and enters another area not in the PRA list. Or another possibility is: leaving an area on the PRA list and entering an area not on the PRA list. Then in order to further determine whether the user leaves the corresponding PRA. Then in order to further determine whether the user leaves the corresponding PRA. Then obtain the user identification information of the previous real-time location information and the area identification information of the user terminal; if the user identification information of the previous real-time location information exists in the user list and the user terminal area identification information of the previous real-time location information Exists in the PRA list, it means that in the previous real-time location information, after the location of the user terminal changes, it is in the area in the PRA list, so the user identification information in the real-time location message exists in the user list and the identification information of the area where the user terminal is located Not existing in the PRA list is another possible situation described above, and then it is determined that the user leaves the corresponding PRA.

具体地,若确定实时位置消息中的用户标识信息不存在于用户列表中,则说明该用户发生了位置改变但未订购目标业务的用户,所以也不会有对应的PRA,进而确定用户未进出对应的PRA。Specifically, if it is determined that the user identification information in the real-time location message does not exist in the user list, it means that the user has changed his location but has not subscribed to the target service, so there will be no corresponding PRA, and it is determined that the user has not entered or exited Corresponding PRA.

步骤306,获取目标用户标识信息对应的未使用的PCC策略标识信息;将目标用户标识信息对应的当前PCC策略标识信息更改为未使用的PCC策略标识信息,未使用的PCC策略标识信息为更改后的PCC策略标识信息。Step 306, obtaining the unused PCC policy identification information corresponding to the target user identification information; changing the current PCC policy identification information corresponding to the target user identification information into unused PCC policy identification information, and the unused PCC policy identification information being changed PCC policy identification information.

本实施例中,步骤306为实施例一中步骤204中更改进出对应的PRA的目标用户的PCC策略标识信息的一种可选实施方式。In this embodiment, step 306 is an optional implementation manner of updating and obtaining the PCC policy identification information of the corresponding PRA target user in step 204 in the first embodiment.

本实施例中,若确定目标用户离开对应的PRA,则当前PCC策略标识信息为享受PCC策略控制业务时对应的PCC策略标识信息,未使用的PCC策略标识信息为未享受PCC策略控制业务时对应的PCC策略标识信息。若确定目标用户进入对应的PRA,则当前PCC策略标识信息为未享受PCC策略控制业务时对应的PCC策略标识信息。未使用的PCC策略标识信息为享受PCC策略控制业务时对应的PCC策略标识信息。In this embodiment, if it is determined that the target user leaves the corresponding PRA, the current PCC policy identification information is the corresponding PCC policy identification information when enjoying the PCC policy control service, and the unused PCC policy identification information is the corresponding PCC policy identification information when not enjoying the PCC policy control service. PCC policy identification information. If it is determined that the target user enters the corresponding PRA, the current PCC policy identification information is the corresponding PCC policy identification information when not enjoying the PCC policy control service. The unused PCC policy identification information is the corresponding PCC policy identification information when enjoying the PCC policy control service.

所以若确定目标用户离开对应的PRA,则将享受PCC策略控制业务时对应的PCC策略标识信息更改为未享受PCC策略控制业务时对应的PCC策略标识信息。若确定目标用户进入对应的PRA,则将未享受PCC策略控制业务时对应的PCC策略标识信息更改为享受PCC策略控制业务时对应的PCC策略标识信息。Therefore, if it is determined that the target user leaves the corresponding PRA, the corresponding PCC policy identification information when enjoying the PCC policy control service is changed to the corresponding PCC policy identification information when not enjoying the PCC policy control service. If it is determined that the target user enters the corresponding PRA, the corresponding PCC policy identification information when not enjoying the PCC policy control service is changed to the corresponding PCC policy identification information when enjoying the PCC policy control service.

步骤307,将目标用户标识信息及更改后的PCC策略标识信息发送至策略和计费规则功能实体PCRF/PCF,以使PCRF/PCF将目标用户的当前PCC策略标识信息调整为更改后的PCC策略标识信息。Step 307: Send the target user identification information and the modified PCC policy identification information to the policy and charging rule functional entity PCRF/PCF, so that PCRF/PCF adjusts the current PCC policy identification information of the target user to the modified PCC policy Identification information.

本实施例中,步骤307的实现方式与本发明实施例一中步骤205的实现方式类似,在此不再一一赘述。In this embodiment, the implementation manner of step 307 is similar to the implementation manner of step 205 in Embodiment 1 of the present invention, and will not be repeated here.

本实施例提供的PCC策略控制方法,在对订购目标业务的用户标识信息及对应的进出位置上报区域PRA标识信息进行配置时,接收预设人员输入的订购目标业务的用户列表及PRA列表;用户列表中包括至少一个用户标识信息,PRA列表中包括至少一个PRA标识信息;将用户列表与PRA列表进行绑定,以对用户标识信息及对应的PRA标识信息进行配置。由于采用用户列表对用户标识信息进行配置,采用PRA列表对PRA标识信息进行配置,能够同时对多个订购目标业务并具有相同PRA标识信息的用户进行用户标识信息及对应的PRA标识信息配置,进一步提高了配置效率。The PCC policy control method provided in this embodiment, when configuring the user identification information of the ordering target service and the PRA identification information of the corresponding entry and exit location reporting area, receives the user list and the PRA list of the ordering target service input by the preset personnel; the user The list includes at least one user identification information, and the PRA list includes at least one PRA identification information; the user list and the PRA list are bound to configure the user identification information and corresponding PRA identification information. Since the user list is used to configure the user identification information, and the PRA list is used to configure the PRA identification information, the user identification information and the corresponding PRA identification information can be configured for multiple subscription target services and users with the same PRA identification information at the same time, further Improve configuration efficiency.

本实施例提供的PCC策略控制方法,根据实时位置消息、用户标识信息及对应的PRA标识信息判断是否存在用户进出对应的PRA,判断实时位置消息中的用户标识信息是否存在于用户列表中,并判断用户终端所在区域标识信息是否存在于PRA列表中;根据判断结果确定是否存在用户进出对应的PRA,能够准确判断出是否存在用户进出对应的PRA。The PCC policy control method provided in this embodiment judges whether there is a PRA corresponding to the user's entry and exit according to the real-time location message, user identification information and corresponding PRA identification information, judges whether the user identification information in the real-time location message exists in the user list, and Judging whether the identification information of the area where the user terminal is located exists in the PRA list; determining whether there is a PRA corresponding to the user's entry and exit according to the judgment result, and can accurately determine whether there is a PRA corresponding to the user's entry and exit.

实施例三Embodiment three

图6为本发明再一实施例提供的PCC策略控制方法的信令流程图,如图6所示,本实施例提供的PCC策略控制方法的执行主体为PCC策略控制系统,本实施例以网络为3G/4G网络为例,说明PCC策略控制方法。Fig. 6 is a signaling flow chart of the PCC policy control method provided by another embodiment of the present invention. As shown in Fig. Taking the 3G/4G network as an example, the PCC policy control method is described.

并且在本发明本实施例提供的应用场景为:为了能节省铺设有线网络的费用,在指定区域采用CPE设备降低业务流量资费提高上下行速率,在非指定区域不降低业务流量资费并降低上下行速率。所以为指定区域的用户订购PCC策略控制策略。配置的第一PCC策略为:指定区域内上行下行速率可达到20Mbps。第二PCC策略为:离开指定区域则上下行速率不超过10Kbps。其中指定区域为指定的小区。该指定小区为第一小区。其中,CPE设备为将高速4G或者5G信号转换成WiFi信号的设备。And the application scenario provided in this embodiment of the present invention is: in order to save the cost of laying a wired network, use CPE equipment in designated areas to reduce service traffic charges and increase uplink and downlink rates, and in non-designated areas do not reduce service flow charges and reduce uplink and downlink charges. rate. So order the PCC policy control policy for the users in the specified area. The configured first PCC policy is: the uplink and downlink rates in the specified area can reach 20 Mbps. The second PCC strategy is: the uplink and downlink rates do not exceed 10Kbps when leaving the specified area. The specified area is a specified cell. The designated cell is the first cell. Among them, the CPE device is a device that converts high-speed 4G or 5G signals into WiFi signals.

本实施例提供的PCC策略控制方法包括以下步骤:The PCC policy control method provided in this embodiment includes the following steps:

步骤401,AF对订购目标业务的用户标识信息及对应的进出位置上报区域PRA标识信息进行配置。In step 401, the AF configures the user identification information of the subscription target service and the corresponding PRA identification information of the entry and exit location reporting area.

其中,预设人员配置的订购目标业务的用户标识信息为在第一小区的用户标识信息。PRA标识信息为第一小区的标识信息。Wherein, the user identification information of the subscription target service configured by the preset personnel is the user identification information in the first cell. The PRA identification information is identification information of the first cell.

步骤402,AF确定用户标识信息对应的当前PCC策略标识信息。In step 402, the AF determines the current PCC policy identification information corresponding to the user identification information.

示例性的,AF获取到的每个用户标识信息对应的当前PCC策略标识信息均为第一PCC策略的标识信息。即每个用户在第一小区内上行下行速率可达到20Mbps。Exemplarily, the current PCC policy identification information corresponding to each user identification information acquired by the AF is the identification information of the first PCC policy. That is, the uplink and downlink rate of each user in the first cell can reach 20Mbps.

步骤403,移网DPI数据采集系统向AF上报用户终端实时位置消息。Step 403, the mobile network DPI data collection system reports the real-time location information of the user terminal to the AF.

步骤404,AF若根据实时位置消息、用户标识信息及对应的PRA标识信息确定用户进出对应的PRA,则更改进出对应的PRA的目标用户的PCC策略标识信息。Step 404, if the AF determines that the user enters and exits the corresponding PRA according to the real-time location information, user identification information and corresponding PRA identification information, then update the PCC policy identification information of the target user who exits the corresponding PRA.

示例性地,在第一小区中的第一用户离开了第一小区,则更改第一用户对应的PCC策略标识信息为第二PCC策略标识信息,表示第一用户离开第一小区上下行速率不超过10Kbps。Exemplarily, if the first user in the first cell leaves the first cell, the PCC policy identification information corresponding to the first user is changed to the second PCC policy identification information, indicating that the uplink and downlink rate of the first user leaving the first cell is not More than 10Kbps.

步骤405,AF向PCRF发送目标用户标识信息及更改后的PCC策略标识信息。In step 405, the AF sends the target user identification information and the modified PCC policy identification information to the PCRF.

本实施例中,AF向PCRF通过SOAP接口发送目标用户标识信息及更改后的PCC策略标识信息。In this embodiment, the AF sends the target user identification information and the modified PCC policy identification information to the PCRF through the SOAP interface.

示例性地,发送第一用户标识信息及对应的第二PCC策略标识信息。Exemplarily, the first user identification information and the corresponding second PCC policy identification information are sent.

步骤406,PCRF向P-GW/PCEF发送CCR-Update消息。In step 406, the PCRF sends a CCR-Update message to the P-GW/PCEF.

其中,在CCR-Update消息中携带有目标用户标识信息及更改后的PCC策略标识信息。Wherein, the CCR-Update message carries target user identification information and changed PCC policy identification information.

步骤407,P-GW/PCEF向MME发送修改承载请求消息。In step 407, the P-GW/PCEF sends a modify bearer request message to the MME.

其中,在修改承载请求消息中携带有目标用户标识信息及更改后的PCC策略标识信息。Wherein, the modify bearer request message carries target user identification information and modified PCC policy identification information.

步骤408,MME根据修改承载请求消息中携带的目标用户标识信息及更改后的PCC策略标识信息对承接的上下行速率进行更改。Step 408, the MME changes the accepted uplink and downlink rates according to the target user identification information carried in the modify bearer request message and the modified PCC policy identification information.

本实施例中,MME根据第一用户标识信息及第二PCC策略标识信息,对预先存储的第一用户标识信息对应的第一PCC策略标识信息修改为第二PCC策略标识信息,以对承接的上下行速率进行更改。In this embodiment, according to the first user identification information and the second PCC policy identification information, the MME modifies the first PCC policy identification information corresponding to the pre-stored first user identification information to the second PCC policy identification information, so as to Uplink and downlink rates are changed.

在MME接收到第一用户终端发送的信令或请求时,采用第二PCC策略标识信息对应的上下行速率进行信令或请求的传输。When the MME receives the signaling or request sent by the first user terminal, it uses the uplink and downlink rates corresponding to the second PCC policy identifier information to transmit the signaling or request.

步骤409,MME向P-GW/PCEF发送修改承载响应消息。In step 409, the MME sends a modify bearer response message to the P-GW/PCEF.

步骤410,P-GW/PCEF向PCRF发送CCA-Update消息。Step 410, the P-GW/PCEF sends a CCA-Update message to the PCRF.

实施例四Embodiment four

图7为本发明一实施例提供的PCC策略控制装置的结构示意图,如图7所示,本实施例提供的PCC策略控制装置50位于应用功能实体设备AF中,包括:配置模块51,确定模块52,获取模块53,更改模块54及发送模块55。FIG. 7 is a schematic structural diagram of a PCC policy control device provided by an embodiment of the present invention. As shown in FIG. 7, the PCCpolicy control device 50 provided by this embodiment is located in the application function entity device AF, including: aconfiguration module 51, adetermination module 52 , anacquisition module 53 , amodification module 54 and a sendingmodule 55 .

其中,配置模块51,用于对订购目标业务的用户标识信息及对应的进出位置上报区域PRA标识信息进行配置。确定模块52,用于确定用户标识信息对应的当前PCC策略标识信息。获取模块53,用于获取移网深度报文检测DPI数据采集系统上报的用户终端实时位置消息。更改模块54,用于若根据实时位置消息、用户标识信息及对应的PRA标识信息确定用户进出对应的PRA,则更改进出对应的PRA的目标用户的PCC策略标识信息。发送模块55,用于将目标用户标识信息及更改后的PCC策略标识信息发送至策略和计费规则功能实体PCRF/PCF,以使PCRF/PCF将目标用户的当前PCC策略标识信息调整为更改后的PCC策略标识信息。Wherein, theconfiguration module 51 is configured to configure the user identification information of the subscription target service and the corresponding PRA identification information of the entry and exit position reporting area. The determiningmodule 52 is configured to determine the current PCC policy identification information corresponding to the user identification information. The obtainingmodule 53 is configured to obtain the real-time location information of the user terminal reported by the DPI data collection system of mobile network depth message detection. Themodification module 54 is configured to modify the PCC policy identification information of the target user exiting the corresponding PRA if it is determined according to the real-time location message, user identification information and corresponding PRA identification information that the user enters or exits the corresponding PRA. The sendingmodule 55 is configured to send the target user identification information and the modified PCC policy identification information to the policy and charging rule functional entity PCRF/PCF, so that PCRF/PCF adjusts the current PCC policy identification information of the target user to the modified PCC policy identification information.

本实施例提供的PCC策略控制装置可以执行上述实施例一提供的PCC策略控制方法。具体的实现方式与原理类似,不再一一赘述。The PCC policy control device provided in this embodiment can execute the PCC policy control method provided in the first embodiment above. The specific implementation manner is similar to the principle, and will not be repeated one by one.

可选地,配置模块51,具体用于:Optionally, theconfiguration module 51 is specifically used for:

接收预设人员输入的订购目标业务的用户列表及PRA列表;用户列表中包括至少一个用户标识信息,PRA列表中包括至少一个PRA标识信息;将用户列表与PRA列表进行绑定,以对用户标识信息及对应的PRA标识信息进行配置。Receive the user list and PRA list of the order target business input by the preset personnel; the user list includes at least one user identification information, and the PRA list includes at least one PRA identification information; bind the user list and the PRA list to identify the user information and corresponding PRA identification information.

可选地,本实施例提供的PCC策略控制装置,好包括:判断模块。Optionally, the PCC policy control device provided in this embodiment preferably includes: a judging module.

具体地,判断模块,用于根据实时位置消息、用户标识信息及对应的PRA标识信息判断是否存在用户进出对应的PRA。Specifically, the judging module is configured to judge whether there is a corresponding PRA for a user to enter or exit according to real-time location information, user identification information and corresponding PRA identification information.

可选地,实时位置消息中包括:用户标识信息,用户终端所在区域标识信息;Optionally, the real-time location message includes: user identification information, identification information of the area where the user terminal is located;

相应地,判断模块,具体用于:Correspondingly, the judging module is specifically used for:

判断实时位置消息中的用户标识信息是否存在于用户列表中,并判断用户终端所在区域标识信息是否存在于PRA列表中;根据判断结果确定是否存在用户进出对应的PRA。Judging whether the user identification information in the real-time location message exists in the user list, and judging whether the area identification information of the user terminal exists in the PRA list; determining whether there is a corresponding PRA for the user to enter or exit according to the judgment result.

可选地,PRA列表中的PRA标识信息为一个,相应地,判断模块,在根据判断结果确定是否存在用户进出对应的PRA时,具体用于:Optionally, there is one PRA identification information in the PRA list, and accordingly, the judging module, when determining whether there is a corresponding PRA for the user to enter or exit according to the judging result, is specifically used for:

若确定实时位置消息中的用户标识信息存在于用户列表中且用户终端所在区域标识信息存在于PRA列表中,则确定用户进入对应的PRA;若确定实时位置消息中的用户标识信息存在于用户列表中且用户终端所在区域标识信息未存在于PRA列表中,则获取前一次的实时位置信息的用户标识信息及用户终端所在区域标识信息;若前一次的实时位置信息的用户标识信息存在于用户列表中且前一次的实时位置信息的用户终端所在区域标识信息存在于PRA列表中,则确定用户离开对应的PRA;若确定实时位置消息中的用户标识信息不存在于用户列表中,则确定用户未进出对应的PRA。If it is determined that the user identification information in the real-time location message exists in the user list and the area identification information of the user terminal exists in the PRA list, then it is determined that the user enters the corresponding PRA; if it is determined that the user identification information in the real-time location message exists in the user list and the identification information of the area where the user terminal is located does not exist in the PRA list, then obtain the user identification information of the previous real-time location information and the identification information of the area where the user terminal is located; if the user identification information of the previous real-time location information exists in the user list and the user terminal area identification information of the previous real-time location information exists in the PRA list, then it is determined that the user leaves the corresponding PRA; if it is determined that the user identification information in the real-time location information does not exist in the user list, it is determined that the user has not In and out of the corresponding PRA.

可选地,PRA列表中的PRA标识信息为多个,判断模块,在根据判断结果确定是否存在用户进出对应的PRA时,具体用于:Optionally, there are multiple PRA identification information in the PRA list, and the judging module is specifically used for:

若确定实时位置消息中的用户标识信息存在于用户列表中且用户终端所在区域标识信息存在于PRA列表中,则获取前一次的实时位置信息的用户标识信息及用户终端所在区域标识信息;若前一次的实时位置信息的用户标识信息存在于用户列表中且前一次的实时位置信息的用户终端所在区域标识信息不存在于PRA列表中,则确定用户进入对应的PRA;若确定实时位置消息中的用户标识信息存在于用户列表中且用户终端所在区域标识信息未存在于PRA列表中,则获取前一次的实时位置信息的用户标识信息及用户终端所在区域标识信息;若前一次的实时位置信息的用户标识信息存在于用户列表中且前一次的实时位置信息的用户终端所在区域标识信息存在于PRA列表中,则确定用户离开对应的PRA;若确定实时位置消息中的用户标识信息不存在于用户列表中,则确定用户未进出对应的PRA。If it is determined that the user identification information in the real-time location message exists in the user list and the area identification information of the user terminal exists in the PRA list, then obtain the user identification information of the previous real-time location information and the area identification information of the user terminal; if the previous Once the user identification information of the real-time location information exists in the user list and the user terminal area identification information of the previous real-time location information does not exist in the PRA list, then it is determined that the user enters the corresponding PRA; The user identification information exists in the user list and the area identification information of the user terminal does not exist in the PRA list, then obtain the user identification information of the previous real-time location information and the area identification information of the user terminal; if the previous real-time location information The user identification information exists in the user list and the user terminal area identification information of the previous real-time location information exists in the PRA list, then it is determined that the user leaves the corresponding PRA; if it is determined that the user identification information in the real-time location message does not exist in the user list, it is determined that the user has not entered or exited the corresponding PRA.

可选地,更改模块54,在更改进出对应的PRA的目标用户的PCC策略标识信息时,具体用于:Optionally, themodification module 54 is specifically used to:

获取目标用户标识信息对应的未使用的PCC策略标识信息;将目标用户标识信息对应的当前PCC策略标识信息更改为未使用的PCC策略标识信息,未使用的PCC策略标识信息为更改后的PCC策略标识信息。Obtain unused PCC policy identification information corresponding to the target user identification information; change the current PCC policy identification information corresponding to the target user identification information into unused PCC policy identification information, and the unused PCC policy identification information is the changed PCC policy Identification information.

本实施例提供的PCC策略控制方法可以执行上述实施例二或实施例三提供的PCC策略控制方法。具体的实现方式与原理类似,不再一一赘述。The PCC policy control method provided in this embodiment may implement the PCC policy control method provided in the second or third embodiment above. The specific implementation manner is similar to the principle, and will not be repeated one by one.

实施例五Embodiment five

图8为本发明一实施例提供的应用功能实体设备的框图,如图8所示,本实施例提供的应用功能实体设备60包括:至少一个处理器62;存储器61及收发器63;FIG. 8 is a block diagram of an application function entity device provided by an embodiment of the present invention. As shown in FIG. 8 , the application function entity device 60 provided by this embodiment includes: at least one processor 62; amemory 61 and atransceiver 63;

其中,存储器61,处理器62及收发器63电路互联。Wherein, thememory 61, the processor 62 and thetransceiver 63 are interconnected in circuit.

存储器61存储有可被至少一个处理器62执行的指令,收发器63,用于分别与移网深度报文检测DPI数据采集系统、策略和计费规则功能实体PCRF/PCF之间收发数据。Thememory 61 stores instructions executable by at least one processor 62, and thetransceiver 63 is used to send and receive data with the mobile network depth packet inspection DPI data collection system and the policy and charging rule functional entity PCRF/PCF respectively.

指令被至少一个处理器执行,以使至少一个处理器能够执行任意一个实施例提供的PCC策略控制方法。The instructions are executed by at least one processor, so that the at least one processor can execute the PCC policy control method provided by any one embodiment.

相关说明可以对应参见任意一个实施例提供的PCC策略控制方法的步骤所对应的相关描述和效果进行理解,此处不做过多赘述。Relevant descriptions can be understood by correspondingly referring to the relevant descriptions and effects corresponding to the steps of the PCC policy control method provided in any embodiment, and details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,计算机执行指令被处理器执行时用于实现如任意一个实施例提供的PCC策略控制方法。An embodiment of the present invention also provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to implement the PCC policy control method provided in any one of the embodiments.

本发明实施例还提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行上述任意一个实施例提供的PCC策略控制方法。An embodiment of the present invention further provides a computer program product, including a computer program, and the computer program is used by a processor to execute the PCC policy control method provided in any one of the above embodiments.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Depending on the application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the application.

进一步需要说明的是,虽然流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be further noted that although the steps in the flow chart are shown sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in the flowchart may include multiple sub-steps or multiple stages, these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, the execution of these sub-steps or stages The order is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.

应该理解,上述的装置实施例仅是示意性的,本申请的装置还可通过其它的方式实现。例如,上述实施例中单元/模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。例如,多个单元、模块或组件可以结合,或者可以集成到另一个系统,或一些特征可以忽略或不执行。It should be understood that the above device embodiments are only illustrative, and the device of the present application may also be implemented in other ways. For example, the division of units/modules in the above embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, several units, modules or components may be combined, or may be integrated into another system, or some features may be omitted or not implemented.

另外,若无特别说明,在本申请各个实施例中的各功能单元/模块可以集成在一个单元/模块中,也可以是各个单元/模块单独物理存在,也可以两个或两个以上单元/模块集成在一起。上述集成的单元/模块既可以采用硬件的形式实现,也可以采用软件程序模块的形式实现。In addition, unless otherwise specified, each functional unit/module in each embodiment of the present application may be integrated into one unit/module, each unit/module may exist separately physically, or two or more units/modules may exist separately. Modules are integrated together. The above-mentioned integrated units/modules can be implemented in the form of hardware or in the form of software program modules.

集成的单元/模块如果以硬件的形式实现时,该硬件可以是数字电路,模拟电路等等。硬件结构的物理实现包括但不局限于晶体管,忆阻器等等。若无特别说明,人工智能处理器可以是任何适当的硬件处理器,比如CPU、GPU、FPGA、DSP和ASIC等等。若无特别说明,存储单元可以是任何适当的磁存储介质或者磁光存储介质,比如,阻变式存储器RRAM(Resistive Random Access Memory)、动态随机存取存储器DRAM(Dynamic Random AccessMemory)、静态随机存取存储器SRAM(Static Random-Access Memory)、增强动态随机存取存储器EDRAM(Enhanced Dynamic Random Access Memory)、高带宽内存HBM(High-Bandwidth Memory)、混合存储立方HMC(Hybrid Memory Cube)等等。If the integrated unit/module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, or the like. Physical implementations of hardware structures include, but are not limited to, transistors, memristors, and so on. Unless otherwise specified, the artificial intelligence processor may be any appropriate hardware processor, such as CPU, GPU, FPGA, DSP, ASIC, and the like. Unless otherwise specified, the storage unit can be any suitable magnetic storage medium or magneto-optical storage medium, such as, resistive variable memory RRAM (Resistive Random Access Memory), dynamic random access memory DRAM (Dynamic Random Access Memory), static random access memory Access memory SRAM (Static Random-Access Memory), Enhanced Dynamic Random Access Memory EDRAM (Enhanced Dynamic Random Access Memory), high-bandwidth memory HBM (High-Bandwidth Memory), hybrid memory cube HMC (Hybrid Memory Cube), etc.

集成的单元/模块如果以软件程序模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。An integrated unit/module may be stored in a computer-readable memory if implemented in the form of a software program module and sold or used as an independent product. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory. Several instructions are included to make a computer device (which may be a personal computer, a server or a network device, etc.) execute all or part of the steps of the methods in the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。上述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments. The various technical features of the above-mentioned embodiments can be combined arbitrarily. For the sake of concise description, all possible combinations of the various technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be within the range described in this specification.

Claims (7)

CN202111648494.0A2021-12-292021-12-29PCC policy control method, device, equipment and storage mediumActiveCN114339605B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111648494.0ACN114339605B (en)2021-12-292021-12-29PCC policy control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111648494.0ACN114339605B (en)2021-12-292021-12-29PCC policy control method, device, equipment and storage medium

Publications (2)

Publication NumberPublication Date
CN114339605A CN114339605A (en)2022-04-12
CN114339605Btrue CN114339605B (en)2023-05-30

Family

ID=81019687

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111648494.0AActiveCN114339605B (en)2021-12-292021-12-29PCC policy control method, device, equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN114339605B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105163345A (en)*2015-08-052015-12-16中国联合网络通信集团有限公司Area reporting method and system
CN106921954A (en)*2015-12-252017-07-04中兴通讯股份有限公司Pass in and out the processing method and processing device of area monitoring
CN110972092A (en)*2018-09-302020-04-07华为技术有限公司Local area network communication method, device and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP4008094A1 (en)*2019-05-032022-06-08Lenovo (Singapore) Pte. Ltd.Method and apparatus for determining validity information for a protocol data unit session

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105163345A (en)*2015-08-052015-12-16中国联合网络通信集团有限公司Area reporting method and system
CN106921954A (en)*2015-12-252017-07-04中兴通讯股份有限公司Pass in and out the processing method and processing device of area monitoring
CN110972092A (en)*2018-09-302020-04-07华为技术有限公司Local area network communication method, device and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
China Mobile, China Unicom, Huawei, CATT.S2-1911628 "CR TS 23.503 Enhancement for GERAN/UTRAN access".3GPP tsg_sa\wg2_arch.2019,(第tsgs2_136_reno期),全文.*
Ericsson.S2-144449 "Removing Editors note in Monitoring via PCC".3GPP tsg_sa\WG2_Arch.2014,(第TSGS2_106_San_Francisco期),全文.*

Also Published As

Publication numberPublication date
CN114339605A (en)2022-04-12

Similar Documents

PublicationPublication DateTitle
CN111211913B (en)Charging method, device and system
CN101808307B (en) A strategy control method and device
US8675663B2 (en)Method for QoS authorization
CN101959252B (en)Quality of service (QoS) control and strategy configuration method and device
KR20180014082A (en) Method and apparatus for customer service management of a wireless communication network
US8661145B2 (en)Method and system for transmitting a bearer control mode in roaming scenarios
WO2012083795A1 (en)Service control method, device and system
US10701216B2 (en)Methods and devices for time-based conditional presence reporting
US20110317718A1 (en)Authorizing qos per qci
CN103428731B (en)Routing optimization method and system, gateway
CN103188759B (en)Method, packet gateway and strategy that bearing mode selects control functional entity with charging
CN112398662B9 (en)Charging method, device and system
CN101841766A (en)Control method, equipment and system of service quality
CN103220721B (en)Wireless access capability report method and base station, policy control method and system
CN102332985A (en)Method and device for providing charging support based on local internet protocol (IP) access (LIPA) bearer
CN113412606A (en)Packet Switched (PS) data turn-off feature initiated in a network
CN102547854B (en)Policy control method and device
CN105307219A (en)Method and system for controlling service quality of communication service
CN102170625B (en)Method and device for realizing PCC (Policy and Charging Control) policy
CN107426721A (en)A kind of wireless network resource regulates and controls method and device
CN102711086B (en) Sponsored Data Connection Processing Method and Policy and Charging Rules Functional Entity
CN101848453B (en)Method and device for dynamically adjusting data transmission
KR20140131676A (en)Apparatus and method for policy and charging control in flat networks
CN114339605B (en)PCC policy control method, device, equipment and storage medium
CN106488428B (en) Policy control method, network device and system for user equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp