Movatterモバイル変換


[0]ホーム

URL:


CN109309766B - Addressing method and device - Google Patents

Addressing method and device
Download PDF

Info

Publication number
CN109309766B
CN109309766BCN201710632324.0ACN201710632324ACN109309766BCN 109309766 BCN109309766 BCN 109309766BCN 201710632324 ACN201710632324 ACN 201710632324ACN 109309766 BCN109309766 BCN 109309766B
Authority
CN
China
Prior art keywords
pcrf
user
identifier
identification
network
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
CN201710632324.0A
Other languages
Chinese (zh)
Other versions
CN109309766A (en
Inventor
朱守才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co LtdfiledCriticalHuawei Technologies Co Ltd
Priority to CN201710632324.0ApriorityCriticalpatent/CN109309766B/en
Publication of CN109309766ApublicationCriticalpatent/CN109309766A/en
Application grantedgrantedCritical
Publication of CN109309766BpublicationCriticalpatent/CN109309766B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The disclosure provides an addressing method and an addressing device, and belongs to the technical field of mobile communication. The method comprises the following steps: acquiring a user identifier and a PCRF identifier of a user, and correspondingly storing the user identifier and the PCRF identifier; receiving a request for applying for capacity; determining a PCRF identifier corresponding to the user identifier from the stored user identifier and the stored PCRF identifier; and addressing based on the PCRF identification, and requesting the service quality capability to the PCRF network element corresponding to the PCRF identification. According to the method and the device, the user identification and the PCRF identification of the user are obtained and stored correspondingly, so that when an application capacity request carrying the user identification is received, the PCRF identification corresponding to the user identification can be determined from the stored user identification and the stored PCRF identification, addressing is carried out based on the PCRF identification, a Gx interface session information table does not need to be established for the user, capacity expansion of the storage capacity of DRA is avoided, and the deployment cost of a communication system is reduced.

Description

Translated fromChinese
寻址方法及装置Addressing method and device

技术领域technical field

本公开涉及移动通信技术领域,特别涉及一种寻址方法及装置。The present disclosure relates to the field of mobile communication technologies, and in particular, to an addressing method and device.

背景技术Background technique

随着信息和移动通信技术的深度融合,网络资产货币化越来越受到运营商的重视。为此,第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)在标准上明确定义了业务能力开放功能(Service Capability Exposure Function,SCEF)实体,也明确定义了服务质量(Quality of Service,QoS)、计费、通信行为、用户设备(UserEquipment)状态、网络状态、数据等网络能力开放场景。业务能力开放功能是将运营商网络的能力开放给应用或终端,为应用或终端提供差异化、精细化的产品和服务的能力,同时也是保障运营商网络安全的有效屏障。业务能力开放功能面向互联网服务提供商/内容提供商(Service Provider/Content Provider,SP/CP),SP/CP中提供商的用户标识和运营商的用户标识完全独立,通常来说,提供商在请求QoS时,需要基于互联网向用户提供各种应用服务(Over The Top,OTT消息)向SCEF申请。With the deep integration of information and mobile communication technologies, the monetization of network assets has attracted more and more attention from operators. To this end, the 3rd Generation Partnership Project (3GPP) clearly defines the Service Capability Exposure Function (SCEF) entity in the standard, and also clearly defines the Quality of Service (QoS) , billing, communication behavior, user equipment (User Equipment) status, network status, data and other network capability opening scenarios. The business capability opening function is to open the capabilities of the operator's network to applications or terminals, and to provide differentiated and refined products and services for applications or terminals. It is also an effective barrier to ensure the security of the operator's network. The service capability opening function is oriented to the Internet Service Provider/Content Provider (SP/CP). The user ID of the provider in the SP/CP and the user ID of the operator are completely independent. When requesting QoS, it is necessary to provide various application services (Over The Top, OTT message) to the user based on the Internet and apply to SCEF.

在向SCEF申请诸如QoS能力的PCRF网络能力时,OTT消息需要向SCEF发送携带OTT消息用户的私网网络之间互连的协议(Internet Protocol,IP)以及公网IP的QoS能力申请消息;当SCEF接收到QoS能力申请消息时,向AAA协议标准路由代理(Diameter RoutingAgent,DRA)发送携带用户私网IP和公网IP的QoS能力申请消息,DRA根据接收到的私网IP和公网IP来确定用户的PCEF设备与PCRF设备之间(Gx)接口会话信息表,并绑定Gx接口会话信息表,在Gx接口会话信息表中寻址,获取用户所在的PCRF网元的身份(Identity,ID)信息,并由DRA向确定的PCRF网元转发SCEF的QoS能力申请消息。When applying to SCEF for PCRF network capabilities such as QoS capabilities, the OTT message needs to send to SCEF the protocol (Internet Protocol, IP) that carries the interconnection between the private network networks of the OTT message user and the QoS capability application message of the public network IP; when When SCEF receives the QoS capability application message, it sends the QoS capability request message carrying the user's private network IP and public network IP to the AAA protocol standard routing agent (Diameter RoutingAgent, DRA). Determine the (Gx) interface session information table between the user's PCEF device and the PCRF device, bind the Gx interface session information table, address in the Gx interface session information table, and obtain the identity (Identity, ID) of the PCRF network element where the user is located. ) information, and the DRA forwards the SCEF QoS capability application message to the determined PCRF network element.

在实现本公开的过程中,发明人发现现有技术至少存在以下问题:In the process of realizing the present disclosure, the inventor found that the prior art has at least the following problems:

由于DRA需要根据私网IP和公网IP来绑定Gx接口会话信息表,因此,DRA需要开启Gx接口会话绑定功能,并且需要存储全网用户的Gx接口会话信息表,但DRA的存储容量有限,这样,便需要对DRA进行扩容,导致部署的成本较高。Since the DRA needs to bind the Gx interface session information table according to the private network IP and public network IP, the DRA needs to enable the Gx interface session binding function, and needs to store the Gx interface session information table of users on the entire network, but the storage capacity of the DRA is limited. In this way, the DRA needs to be expanded, resulting in higher deployment costs.

发明内容SUMMARY OF THE INVENTION

为了解决现有技术的问题,本公开实施例提供了一种寻址方法及装置。所述技术方案如下:In order to solve the problems in the prior art, embodiments of the present disclosure provide an addressing method and apparatus. The technical solution is as follows:

第一方面,提供了一种寻址方法,所述方法包括:In a first aspect, an addressing method is provided, the method comprising:

获取用户的用户标识和策略和计费规则功能实体PCRF标识,将所述用户标识与所述PCRF标识对应存储,所述PCRF标识用于标识用户所在的PCRF网元;Acquiring the user identifier of the user and the PCRF identifier of the policy and charging rule functional entity, and storing the user identifier and the PCRF identifier correspondingly, and the PCRF identifier is used to identify the PCRF network element where the user is located;

接收申请能力请求,所述申请能力请求携带所述用户标识;receiving an application capability request, where the application capability request carries the user identifier;

从已存储的用户标识与PCRF标识中,确定与所述用户标识对应的PCRF标识;From the stored user identification and PCRF identification, determine the PCRF identification corresponding to the user identification;

基于所述PCRF标识进行寻址,向所述PCRF标识对应的PCRF网元进行服务质量能力请求。Addressing is performed based on the PCRF identifier, and a service quality capability request is performed to the PCRF network element corresponding to the PCRF identifier.

本公开实施例通过获取用户的用户标识和PCRF标识,将用户标识与PCRF标识对应存储,使得在接收到携带用户标识的申请能力请求时,可以从已存储的用户标识与PCRF标识中,确定与用户标识对应的PCRF标识,基于PCRF标识进行寻址,向PCRF标识对应的PCRF网元进行服务质量能力请求,无需为用户建立Gx接口会话信息表,避免了对DRA的存储容量进行扩容,降低了通信系统的部署成本。In the embodiment of the present disclosure, the user ID and PCRF ID of the user are acquired, and the user ID and the PCRF ID are stored correspondingly, so that when a request for application capability carrying the user ID is received, the user ID and PCRF ID that have been stored can be determined to be the same as the user ID. The PCRF identifier corresponding to the user identifier is addressed based on the PCRF identifier, and requests the service quality capability to the PCRF network element corresponding to the PCRF identifier. There is no need to establish a Gx interface session information table for the user, which avoids the expansion of the storage capacity of the DRA and reduces the The deployment cost of the communication system.

在第一方面的第一种可能实现方式中,所述获取用户的用户标识和策略和计费规则功能实体PCRF标识包括:In a first possible implementation manner of the first aspect, the acquiring the user identity of the user and the PCRF identity of the policy and charging rules functional entity includes:

接收网络设备发送的所述用户标识和所述PCRF标识;或,receiving the user identity and the PCRF identity sent by the network device; or,

向所述网络设备发送携带所述用户标识的标识获取请求,并接收所述网络设备返回的所述用户标识对应的所述PCRF标识;sending an identification acquisition request carrying the user identification to the network device, and receiving the PCRF identification corresponding to the user identification returned by the network device;

其中,所述网络设备为分组数据网络网关PGW或PCRF网元。Wherein, the network device is a packet data network gateway PGW or a PCRF network element.

本公开实施例中业务能力开放功能实体可以接收网络设备发送的用户标识和PCRF标识,也可向网络设备发送携带用户标识的标识请求,并接收网络设备返回的用户标识对应的PCRF标识,使得网络设备可以自行将用户标识和PCRF标识上传至业务能力开放功能实体,也可在网络设备接收到标识获取请求时将用户标识和PCRF标识上传至业务能力开放功能实体,避免网络设备发送用户标识和PCRF标识的并发量过大,对网络设备和业务能力开放功能实体造成压力。In the embodiment of the present disclosure, the service capability opening function entity may receive the user ID and PCRF ID sent by the network device, and may also send an ID request carrying the user ID to the network device, and receive the PCRF ID corresponding to the user ID returned by the network device, so that the network The device can upload the user ID and PCRF ID to the service capability opening functional entity by itself, or upload the user ID and PCRF ID to the service capability opening functional entity when the network device receives the ID acquisition request, so as to prevent the network device from sending the user ID and PCRF. The concurrency of identification is too large, which puts pressure on network equipment and service capability opening functional entities.

在第一方面的第二种可能实现方式中,所述方法还包括:In a second possible implementation manner of the first aspect, the method further includes:

若所述网络设备配置超文本传输协议HTTP头增强功能,则获取所述网络设备发送的所述用户标识和HTTP,在所述HTTP的头信息中获取所述PCRF标识,所述HTTP由所述网络设备在检测到用户设备UE访问业务能力开放功能实体时获取,所述PCRF标识由所述网络设备添加至所述HTTP的头信息中。If the network device is configured with a hypertext transfer protocol HTTP header enhancement function, obtain the user ID and HTTP sent by the network device, obtain the PCRF ID from the HTTP header, and the HTTP is sent by the The network device acquires when detecting that the user equipment UE accesses the service capability opening functional entity, and the PCRF identifier is added to the HTTP header information by the network device.

本公开实施例中若网络设备配置有HTTP头增强功能,则业务能力开放功能实体可以直接获取网络设备发送的用户标识和HTTP,并在HTTP的头信息中获取网络设备添加至HTTP的用户标识和PCRF标识,使得可以直接基于已存在的HTTP传输用户标识和PCRF标识,简化了获取用户标识和PCRF标识的过程。In the embodiment of the present disclosure, if the network device is configured with the HTTP header enhancement function, the service capability opening function entity can directly obtain the user ID and HTTP sent by the network device, and obtain the user ID and the HTTP header added by the network device to HTTP in the HTTP header information. The PCRF identifier makes it possible to transmit the user identifier and the PCRF identifier directly based on the existing HTTP, which simplifies the process of obtaining the user identifier and the PCRF identifier.

在第一方面的第三种可能实现方式中,所述接收网络设备发送的所述用户标识和所述PCRF标识包括:In a third possible implementation manner of the first aspect, the user identifier and the PCRF identifier sent by the receiving network device include:

接收所述网络设备基于已有接口发送的所述用户标识和所述PCRF标识;或,receiving the user identifier and the PCRF identifier sent by the network device based on an existing interface; or,

接收所述网络设备基于新增接口发送的所述用户标识和所述PCRF标识,所述新增接口由所述网络设备建立。Receive the user identifier and the PCRF identifier sent by the network device based on a newly added interface established by the network device.

本公开实施例中业务能力开放功能实体接收到的用户标识和PCRF标识可为网络设备基于已有接口发送的,也可为网络设备基于新增接口发送的,避免在接口传输的数据过多时对接口造成压力,使得传输的过程更为灵活。In the embodiment of the present disclosure, the user identity and PCRF identity received by the service capability opening function entity may be sent by the network device based on an existing interface, or may be sent by the network device based on a newly added interface, so as to avoid the need for data transmission when the interface transmits too much data. The interface creates stress and makes the transfer process more flexible.

在第一方面的第四种可能实现方式中,所述接收所述网络设备基于已有接口发送的所述用户标识和所述PCRF标识包括:In a fourth possible implementation manner of the first aspect, the receiving the user identifier and the PCRF identifier sent by the network device based on an existing interface includes:

接收所述网络设备基于开源异步编程Rx接口发送的所述用户标识和所述PCRF标识;或,receiving the user identifier and the PCRF identifier sent by the network device based on an open-source asynchronous programming Rx interface; or,

接收所述网络设备基于应用程序编辑API接口发送的所述用户标识和所述PCRF标识;或,receiving the user identifier and the PCRF identifier sent by the network device based on an application editing API interface; or,

接收所述网络设备基于认证服务Radius接口发送的所述用户标识和所述PCRF标识。The user identifier and the PCRF identifier sent by the network device based on the authentication service Radius interface are received.

本公开实施例中业务能力开放功能实体接收到的用户标识和PCRF标识可为网络设备基于Rx接口、API接口或Radius接口发送的,使得业务能力开放功能实体可以基于多种已有接口获取用户标识和PCRF标识,避免对某一接口造成过大的传输压力。The user identity and PCRF identity received by the business capability exposure functional entity in the embodiment of the present disclosure may be sent by the network device based on the Rx interface, the API interface, or the Radius interface, so that the business capability exposure functional entity can obtain the user identity based on various existing interfaces. and PCRF logo to avoid excessive transmission pressure on a certain interface.

在第一方面的第五种可能实现方式中,所述接收所述网络设备基于认证服务Radius接口发送的所述用户标识和所述PCRF标识包括:In a fifth possible implementation manner of the first aspect, the receiving the user identifier and the PCRF identifier sent by the network device based on the authentication service Radius interface includes:

接收所述网络设备基于Radius接口传输的验证消息,所述验证消息由所述网络设备基于所述Radius接口在已有消息中添加所述用户标识和所述PCRF标识生成,所述已有消息为接入请求Access-Request消息或统计请求Accounting-Request消息;Receive a verification message transmitted by the network device based on the Radius interface, where the verification message is generated by the network device adding the user identifier and the PCRF identifier to an existing message based on the Radius interface, and the existing message is Access request Access-Request message or Statistics request Accounting-Request message;

在所述验证消息中获取所述用户标识和所述PCRF标识。The user identification and the PCRF identification are obtained in the verification message.

本公开实施例中业务能力开放功能实体可以直接在网络设备基于Radius接口在已有消息中添加用户标识和PCRF标识生成的验证消息中提取用户标识和PCRF标识,简化了获取用户标识和PCRF标识的过程。In the embodiment of the present disclosure, the service capability opening function entity can directly extract the user identifier and the PCRF identifier from the verification message generated by the network device adding the user identifier and the PCRF identifier to the existing message based on the Radius interface, which simplifies the process of obtaining the user identifier and the PCRF identifier. process.

在第一方面的第六种可能实现方式中,所述用户标识至少包括固定网号码MSISDN、用户识别码IMSI、用户网络协议IP、接入点APN以及用户临时标识中的一种或多种。In a sixth possible implementation manner of the first aspect, the user identifier includes at least one or more of a fixed network number MSISDN, a user identifier IMSI, a user network protocol IP, an access point APN, and a user temporary identifier.

本公开实施例中用户标识可以由MSISDN、IMSI、用户IP、APN以及用户临时标识中的一种或多种组成,提高了寻址过程中的用户信息的安全性以及寻址的准确性。In the embodiment of the present disclosure, the user identity may be composed of one or more of MSISDN, IMSI, user IP, APN, and user temporary identity, which improves the security of user information and the accuracy of addressing in the addressing process.

第二方面,提供了一种寻址方法,所述方法应用于存储实体,所述方法包括:In a second aspect, an addressing method is provided, the method is applied to a storage entity, and the method includes:

获取用户的用户标识和策略和计费规则功能实体PCRF标识,将所述用户标识与所述PCRF标识对应存储,所述PCRF标识用于标识用户所在的PCRF网元;Acquiring the user identifier of the user and the PCRF identifier of the policy and charging rule functional entity, and storing the user identifier and the PCRF identifier correspondingly, and the PCRF identifier is used to identify the PCRF network element where the user is located;

接收业务能力开放功能实体发送的网元标识请求,所述网元标识请求携带所述用户标识;receiving a network element identification request sent by a service capability exposure functional entity, where the network element identification request carries the user identification;

从已存储的用户标识与PCRF标识中,确定与所述用户标识对应的PCRF标识;From the stored user identification and PCRF identification, determine the PCRF identification corresponding to the user identification;

向所述业务能力开放功能实体发送所述PCRF标识,以使所述业务能力开放功能实体基于所述PCRF标识进行寻址。The PCRF identifier is sent to the business capability opening function entity, so that the business capability opening function entity performs addressing based on the PCRF identifier.

本公开实施例通过获取用户的用户标识和PCRF标识,将用户标识与PCRF标识对应存储,使得在接收到携带用户标识的网元标识请求时,可以从已存储的用户标识与PCRF标识中,确定与用户标识对应的PCRF标识,并将PCRF标识发送至业务能力开放功能实体,以使业务能力开放功能实体基于PCRF标识进行寻址,向PCRF标识对应的PCRF网元进行服务质量能力请求,无需为用户建立Gx接口会话信息表,避免了对DRA的存储容量进行扩容,降低了通信系统的部署成本。In this embodiment of the present disclosure, the user identification and PCRF identification of the user are acquired, and the user identification and the PCRF identification are stored correspondingly, so that when a network element identification request carrying the user identification is received, the user identification and PCRF identification that have been stored can be determined from the stored user identification and PCRF identification. The PCRF identifier corresponding to the user identifier is sent to the service capability exposure functional entity, so that the service capability exposure functional entity performs addressing based on the PCRF identifier, and requests the service quality capability to the PCRF network element corresponding to the PCRF identifier, without requiring The user establishes the Gx interface session information table, which avoids the expansion of the storage capacity of the DRA and reduces the deployment cost of the communication system.

在第二方面的第一种可能实现方式中,所述获取用户的用户标识和策略和计费规则功能实体PCRF标识包括:In a first possible implementation manner of the second aspect, the acquiring the user identity of the user and the PCRF identity of the policy and charging rules functional entity includes:

接收网络设备发送的所述用户标识和所述PCRF标识;或,receiving the user identity and the PCRF identity sent by the network device; or,

向所述网络设备发送携带所述用户标识的标识获取请求,并接收所述网络设备返回的所述用户标识对应的所述PCRF标识;sending an identification acquisition request carrying the user identification to the network device, and receiving the PCRF identification corresponding to the user identification returned by the network device;

其中,所述网络设备为分组数据网络网关PGW或PCRF网元。Wherein, the network device is a packet data network gateway PGW or a PCRF network element.

本公开实施例中存储实体可以接收网络设备发送的用户标识和PCRF标识,也可向网络设备发送携带用户标识的标识请求,并接收网络设备返回的用户标识对应的PCRF标识,使得网络设备可以自行将用户标识和PCRF标识上传至业务能力开放功能实体,也可在网络设备接收到标识获取请求时将用户标识和PCRF标识上传至业务能力开放功能实体,避免网络设备发送用户标识和PCRF标识的并发量过大,对网络设备和业务能力开放功能实体造成压力。In the embodiment of the present disclosure, the storage entity may receive the user ID and PCRF ID sent by the network device, and may also send an ID request carrying the user ID to the network device, and receive the PCRF ID corresponding to the user ID returned by the network device, so that the network device can automatically Upload the user ID and PCRF ID to the service capability exposure functional entity, or upload the user ID and PCRF ID to the service capability exposure functional entity when the network device receives the ID acquisition request, so as to avoid the concurrent transmission of the user ID and PCRF ID by the network device The amount is too large, causing pressure on network equipment and service capability opening functional entities.

在第二方面的第二种可能实现方式中,所述方法还包括:In a second possible implementation manner of the second aspect, the method further includes:

若所述网络设备配置有超文本传输协议HTTP头增强功能,则获取所述网络设备发送的所述用户标识和HTTP,在所述HTTP的头信息中获取所述PCRF标识,所述HTTP由所述网络设备在检测到用户设备UE访问业务能力开放功能实体时获取,所述PCRF标识由所述网络设备添加至所述HTTP的头信息中。If the network device is configured with a hypertext transfer protocol HTTP header enhancement function, obtain the user ID and HTTP sent by the network device, obtain the PCRF ID from the HTTP header, and the HTTP is sent by the HTTP header. The network device acquires when detecting that the user equipment UE accesses the service capability opening functional entity, and the PCRF identifier is added to the HTTP header information by the network device.

本公开实施例中若网络设备配置有HTTP头增强功能,则存储实体可以直接获取网络设备发送的用户标识和HTTP,并在HTTP的头信息中获取网络设备添加至HTTP的用户标识和PCRF标识,使得可以直接基于已存在的HTTP传输用户标识和PCRF标识,简化了获取用户标识和PCRF标识的过程。In the embodiment of the present disclosure, if the network device is configured with the HTTP header enhancement function, the storage entity can directly obtain the user ID and HTTP sent by the network device, and obtain the user ID and PCRF ID added by the network device to HTTP in the HTTP header information, The user identification and PCRF identification can be directly transmitted based on the existing HTTP, which simplifies the process of acquiring the user identification and the PCRF identification.

在第二方面的第三种可能实现方式中,所述接收网络设备发送的所述用户标识和所述PCRF标识包括:In a third possible implementation manner of the second aspect, the user identifier and the PCRF identifier sent by the receiving network device include:

接收所述网络设备基于已有接口发送的所述用户标识和所述PCRF标识;或,receiving the user identifier and the PCRF identifier sent by the network device based on an existing interface; or,

接收所述网络设备基于新增接口发送的所述用户标识和所述PCRF标识,所述新增接口由所述网络设备建立。Receive the user identifier and the PCRF identifier sent by the network device based on a newly added interface established by the network device.

本公开实施例中存储实体接收到的用户标识和PCRF标识可为网络设备基于已有接口发送的,也可为网络设备基于新增接口发送的,避免在接口传输的数据过多时对接口造成压力,使得传输的过程更为灵活。The user identifier and PCRF identifier received by the storage entity in the embodiment of the present disclosure may be sent by the network device based on an existing interface, or may be sent by the network device based on a newly added interface, so as to avoid pressure on the interface when the interface transmits too much data , making the transmission process more flexible.

在第二方面的第四种可能实现方式中,所述接收所述网络设备基于已有接口发送的所述用户标识和所述PCRF标识包括:In a fourth possible implementation manner of the second aspect, the receiving the user identifier and the PCRF identifier sent by the network device based on an existing interface includes:

接收所述网络设备基于开源异步编程Rx接口发送的所述用户标识和所述PCRF标识;或,receiving the user identifier and the PCRF identifier sent by the network device based on an open-source asynchronous programming Rx interface; or,

接收所述网络设备基于应用程序编辑API接口发送的所述用户标识和所述PCRF标识;或,receiving the user identifier and the PCRF identifier sent by the network device based on an application editing API interface; or,

接收所述网络设备基于认证服务Radius接口发送的所述用户标识和所述PCRF标识。The user identifier and the PCRF identifier sent by the network device based on the authentication service Radius interface are received.

本公开实施例中存储实体接收到的用户标识和PCRF标识可为网络设备基于Rx接口、API接口或Radius接口发送的,使得存储实体可以基于多种已有接口获取用户标识和PCRF标识,避免对某一接口造成过大的传输压力。In the embodiment of the present disclosure, the user identifier and PCRF identifier received by the storage entity may be sent by the network device based on the Rx interface, the API interface, or the Radius interface, so that the storage entity can obtain the user identifier and the PCRF identifier based on various existing interfaces, so as to avoid any An interface is causing excessive transmission pressure.

在第二方面的第五种可能实现方式中,所述接收所述网络设备基于认证服务Radius接口发送的所述用户标识和所述PCRF标识包括:In a fifth possible implementation manner of the second aspect, the receiving the user identifier and the PCRF identifier sent by the network device based on the authentication service Radius interface includes:

接收所述网络设备基于Radius接口传输的验证消息,所述验证消息由所述网络设备基于所述Radius接口在已有消息中添加所述用户标识和所述PCRF标识生成,所述已有消息为接入请求Access-Request消息或统计请求Accounting-Request消息;Receive a verification message transmitted by the network device based on the Radius interface, where the verification message is generated by the network device adding the user identifier and the PCRF identifier to an existing message based on the Radius interface, and the existing message is Access request Access-Request message or Statistics request Accounting-Request message;

在所述验证消息中获取所述用户标识和所述PCRF标识。The user identification and the PCRF identification are obtained in the verification message.

本公开实施例中存储实体可以直接在网络设备基于Radius接口在已有消息中添加用户标识和PCRF标识生成的验证消息中提取用户标识和PCRF标识,简化了获取用户标识和PCRF标识的过程。In the embodiment of the present disclosure, the storage entity can directly extract the user identifier and the PCRF identifier from the verification message generated by the network device adding the user identifier and the PCRF identifier to the existing message based on the Radius interface, which simplifies the process of obtaining the user identifier and the PCRF identifier.

在第二方面的第六种可能实现方式中,所述用户标识至少包括固定网号码MSISDN、用户识别码IMSI、用户网络协议IP、接入点APN以及用户临时标识中的一种或多种。In a sixth possible implementation manner of the second aspect, the user identifier includes at least one or more of a fixed network number MSISDN, a user identifier IMSI, a user network protocol IP, an access point APN, and a user temporary identifier.

本公开实施例中用户标识可以由MSISDN、IMSI、用户IP、APN以及用户临时标识中的一种或多种组成,提高了寻址过程中的用户信息的安全性以及寻址的准确性。In the embodiment of the present disclosure, the user identity may be composed of one or more of MSISDN, IMSI, user IP, APN, and user temporary identity, which improves the security of user information and the accuracy of addressing in the addressing process.

第三方面,提供了一种寻址方法,所述方法应用于业务能力开放功能实体,所述方法包括:In a third aspect, an addressing method is provided, the method is applied to a business capability exposure functional entity, and the method includes:

向存储实体发送网元标识请求,由所述存储实体基于所述用户标识,从已存储的用户标识与策略和计费规则功能实体PCRF标识中,确定与所述用户标识对应的PCRF标识,所述网元标识请求携带待寻址用户设备UE的用户标识;Send a network element identification request to the storage entity, and the storage entity determines the PCRF identification corresponding to the user identification from the stored user identification and the PCRF identification of the policy and charging rule function entity based on the user identification, and the The network element identification request carries the user identification of the user equipment UE to be addressed;

接收所述存储实体返回的PCRF标识,所述PCRF标识用于标识用户所在的PCRF网元;receiving a PCRF identifier returned by the storage entity, where the PCRF identifier is used to identify the PCRF network element where the user is located;

基于所述PCRF标识进行寻址,向所述PCRF标识对应的PCRF网元进行服务质量能力请求。Addressing is performed based on the PCRF identifier, and a service quality capability request is performed to the PCRF network element corresponding to the PCRF identifier.

在本公开实施例中,业务能力开放功能实体向存储实体发送网元标识请求,由存储实体基于用户标识,从已存储的用户标识与PCRF标识中确定与用户标识对应的PCRF标识,并由存储实体将PCRF标识返回给业务能力开放功能实体,以便业务能力开放功能实体基于PCRF标识进行寻址,向PCRF标识对应的PCRF网元进行服务质量能力请求,无需为用户建立Gx接口会话信息表,避免了对DRA的存储容量进行扩容,降低了通信系统的部署成本。In the embodiment of the present disclosure, the service capability opening function entity sends a network element identification request to the storage entity, and the storage entity determines the PCRF identification corresponding to the user identification from the stored user identification and PCRF identification based on the user identification, and stores the identification. The entity returns the PCRF identifier to the service capability opening function entity, so that the service capability opening function entity can address based on the PCRF identifier and request the QoS capability to the PCRF network element corresponding to the PCRF identifier. In order to expand the storage capacity of the DRA, the deployment cost of the communication system is reduced.

在第三方面的第一种可能实现方式中,所述用户标识至少包括固定网号码MSISDN、用户识别码IMSI、用户网络协议IP、接入点APN以及用户临时标识中的一种或多种。In a first possible implementation manner of the third aspect, the user identifier includes at least one or more of a fixed network number MSISDN, a user identifier IMSI, a user network protocol IP, an access point APN, and a user temporary identifier.

本公开实施例中用户标识可以由MSISDN、IMSI、用户IP、APN以及用户临时标识中的一种或多种组成,提高了寻址过程中的用户信息的安全性以及寻址的准确性。In the embodiment of the present disclosure, the user identity may be composed of one or more of MSISDN, IMSI, user IP, APN, and user temporary identity, which improves the security of user information and the accuracy of addressing in the addressing process.

第四方面,提供了一种寻址装置,所述装置包括多个功能模块,该多个功能模块用于执行上述第一方面所提供的寻址方法以及其任一种可能实现方式。In a fourth aspect, an addressing device is provided, the device includes multiple functional modules, and the multiple functional modules are configured to execute the addressing method provided in the above-mentioned first aspect and any possible implementation manner thereof.

第五方面,提供了一种寻址装置,所述装置包括多个功能模块,该多个功能模块用于执行上述第二方面所提供的寻址方法以及其任一种可能实现方式。In a fifth aspect, an addressing device is provided. The device includes multiple functional modules, and the multiple functional modules are configured to execute the addressing method provided in the second aspect and any possible implementation manner thereof.

第六方面,提供了一种寻址装置,所述装置包括多个功能模块,该多个功能模块用于执行上述第三方面所提供的寻址方法以及其任一种可能实现方式。In a sixth aspect, an addressing device is provided. The device includes multiple functional modules, and the multiple functional modules are configured to execute the addressing method provided in the third aspect and any possible implementation manner thereof.

第七方面,提供了一种寻址装置,所述装置包括业务能力开放功能实体、网络设备及处理组件。所述业务能力开放功能实体用于获取用户的用户标识和PCRF标识,将所述用户标识与所述PCRF标识对应存储,所述网络设备用于发送的所述用户标识和所述PCRF标识,所述处理组件用于执行命令,所述执行命令用于执行:获取用户的用户标识和PCRF标识,将所述用户标识与所述PCRF标识对应存储,所述PCRF标识用于标识用户所在的PCRF网元;接收申请能力请求,所述申请能力请求携带所述用户标识;从已存储的用户标识与PCRF标识中,确定与所述用户标识对应的PCRF标识;基于所述PCRF标识进行寻址,向所述PCRF标识对应的PCRF网元进行服务质量能力请求。In a seventh aspect, an addressing apparatus is provided, the apparatus includes a business capability openness functional entity, a network device and a processing component. The service capability opening function entity is used to obtain the user identity and the PCRF identity of the user, and store the user identity and the PCRF identity correspondingly. The processing component is used to execute a command, and the execution command is used to execute: obtain the user identity and PCRF identity of the user, store the user identity and the PCRF identity correspondingly, and the PCRF identity is used to identify the PCRF network where the user is located. element; receive an application capability request, where the application capability request carries the user identity; determine the PCRF identity corresponding to the user identity from the stored user identity and PCRF identity; The PCRF network element corresponding to the PCRF identifier performs a service quality capability request.

第八方面,提供了一种网络设备,所述网络设备存储有多条指令,所述指令适于由处理器用来加载并执行上述第一方面的寻址方法。In an eighth aspect, a network device is provided, the network device stores a plurality of instructions, and the instructions are adapted to be used by a processor to load and execute the addressing method of the first aspect.

第九方面,提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有指令,所述指令被处理器执行以完成上述第一方面的寻址方法。In a ninth aspect, a computer-readable storage medium is provided, and instructions are stored on the computer-readable storage medium, and the instructions are executed by a processor to implement the addressing method of the first aspect.

第十方面,提供了一种网络设备,所述网络设备存储有多条指令,所述指令适于由处理器用来加载并执行上述第二方面的寻址方法。In a tenth aspect, a network device is provided, the network device stores a plurality of instructions, the instructions are adapted to be used by a processor to load and execute the addressing method of the second aspect above.

第十一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有指令,所述指令被处理器执行以完成上述第二方面的寻址方法。In an eleventh aspect, a computer-readable storage medium is provided, and instructions are stored on the computer-readable storage medium, and the instructions are executed by a processor to implement the addressing method of the second aspect.

第十二方面,提供了一种网络设备,所述网络设备存储有多条指令,所述指令适于由处理器用来加载并执行上述第三方面的寻址方法。A twelfth aspect provides a network device, the network device stores a plurality of instructions, the instructions are suitable for being used by a processor to load and execute the addressing method of the third aspect.

第十三方面,提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有指令,所述指令被处理器执行以完成上述第三方面的寻址方法。In a thirteenth aspect, a computer-readable storage medium is provided, and instructions are stored thereon, and the instructions are executed by a processor to implement the addressing method of the third aspect.

本公开实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided by the embodiments of the present disclosure are:

通过获取用户的用户标识和PCRF标识,将用户标识与PCRF标识对应存储,使得在接收到携带用户标识的申请能力请求时,可以从已存储的用户标识与PCRF标识中,确定与用户标识对应的PCRF标识,基于PCRF标识进行寻址,向PCRF标识对应的PCRF网元进行服务质量能力请求,无需为用户建立Gx接口会话信息表,避免了对DRA的存储容量进行扩容,降低了通信系统的部署成本。By acquiring the user ID and PCRF ID of the user, the user ID and the PCRF ID are stored correspondingly, so that when an application capability request carrying the user ID is received, the user ID and PCRF ID that have been stored can be determined. PCRF identifier, addressing based on the PCRF identifier, requesting the QoS capability to the PCRF network element corresponding to the PCRF identifier, without establishing a Gx interface session information table for the user, avoiding the expansion of the storage capacity of the DRA, and reducing the deployment of the communication system cost.

附图说明Description of drawings

图1A是本公开实施例提供的通信系统的架构图;1A is an architectural diagram of a communication system provided by an embodiment of the present disclosure;

图1B是本公开实施例提供的通信系统的架构图;FIG. 1B is an architectural diagram of a communication system provided by an embodiment of the present disclosure;

图2是本公开实施例提供一种网络设备200的结构示意图;FIG. 2 is a schematic structural diagram of a network device 200 provided by an embodiment of the present disclosure;

图3A是本公开实施例提供的寻址方法的流程图;3A is a flowchart of an addressing method provided by an embodiment of the present disclosure;

图3B是本公开实施例提供的寻址方法的流程图;3B is a flowchart of an addressing method provided by an embodiment of the present disclosure;

图4A是本公开实施例提供的寻址方法的流程图;4A is a flowchart of an addressing method provided by an embodiment of the present disclosure;

图4B是本公开实施例提供的寻址方法的流程图;4B is a flowchart of an addressing method provided by an embodiment of the present disclosure;

图5是本公开实施例提供的寻址装置结构示意图;5 is a schematic structural diagram of an addressing device provided by an embodiment of the present disclosure;

图6是本公开实施例提供的寻址装置结构示意图;6 is a schematic structural diagram of an addressing device provided by an embodiment of the present disclosure;

图7是本公开实施例提供的寻址装置结构示意图。FIG. 7 is a schematic structural diagram of an addressing device provided by an embodiment of the present disclosure.

具体实施方式Detailed ways

为使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present disclosure clearer, the embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings.

在对本公开进行详细的解释说明之前,先对本公开涉及的通信系统的架构进行简单的介绍。Before explaining the present disclosure in detail, the architecture of the communication system involved in the present disclosure is briefly introduced.

本公开涉及的通信系统可为长期演进技术(Long Term Evolution,LTE)通信系统、演进型分组核心网(Evolved Packet Core network,EPC)通信系统、全球移动通讯系统(Global System for Mobile Communications,GSM)、通用移动通信系统(UniversalMobile Telecommunications System,UMTS)、无线保真(Wireless Fidelity,WiFi)通信系统以及码分多址(Code Division Multiple Access,CDMA)通信系统等。参见图1A,本公开以LET通信系统或EPC通信系统为例,本公开涉及的通信系统包括UE、演进的通用陆基无线接入网(Evolved-Universal Terrestrial Radio Access Network,E-UTRAN)、移动性管理实体(Mobility Management Entity,MME)、通用分组无线业务支撑节点(Serving GeneralPacket Radio Service Support Node,SGSN)、归属签约用户服务器(Home SubscriberServer,HSS)、服务网关(Serving Gateway)、分组数据网络网关(Packet Data NetworkGateway,PDN Gateway)、PCRF以及SCEF。The communication system involved in the present disclosure may be a Long Term Evolution (LTE) communication system, an Evolved Packet Core network (EPC) communication system, a Global System for Mobile Communications (GSM) , Universal Mobile Telecommunications System (UMTS), Wireless Fidelity (Wireless Fidelity, WiFi) communication system, Code Division Multiple Access (Code Division Multiple Access, CDMA) communication system, etc. Referring to FIG. 1A , the present disclosure takes an LET communication system or an EPC communication system as an example. The communication system involved in the present disclosure includes UE, Evolved-Universal Terrestrial Radio Access Network (E-UTRAN), mobile Mobility Management Entity (MME), Serving General Packet Radio Service Support Node (SGSN), Home Subscriber Server (HSS), Serving Gateway, Packet Data Network Gateway (Packet Data Network Gateway, PDN Gateway), PCRF and SCEF.

UE为用户端的用户设备,通过接入E-UTRAN实现与通信系统之间的连接,当检测到用户的注册请求时,在通信系统中进行注册,并为建立IP CAN(通过IP实现UE与IMS实体之间的连通的网络实体)会话;E-UTRAN为UE提供与通信系统之间的连接,传送用户信息;MME管理接入通信系统中的多个UE;SGSN负责通信系统中的移动数据、会话、消息等的路由和转发;HSS在用户进行注册时执行对用户的身份的验证及授权,并存储用户的注册信息;Serving Gateway为MME为UE分配的用于为UE提供服务的网关;PDN Gateway为通信系统的边界网关,管理通信系统中的会话,转发通信系统中的数据,并为UE分配IP地址以及控制UE的接入;PCRF为通信系统中的策略决策点,为通信系统的策略与计费执行功能选择及提供可用的策略和计费控制决策;SCEF基于PCRF标识进行寻址,以便向PCRF标识对应的PCRF网元请求服务质量能力。The UE is the user equipment of the user end, and realizes the connection with the communication system by accessing the E-UTRAN. When detecting the user's registration request, it registers in the communication system, and establishes the IP CAN (realization of the UE and the IMS through IP). The connected network entity) session between entities; E-UTRAN provides the connection between UE and the communication system, and transmits user information; MME manages multiple UEs in the access communication system; SGSN is responsible for mobile data in the communication system, Routing and forwarding of sessions, messages, etc.; HSS performs authentication and authorization of the user's identity when the user registers, and stores the user's registration information; Serving Gateway is a gateway allocated by MME for UE to provide services for UE; PDN Gateway is the border gateway of the communication system, manages sessions in the communication system, forwards data in the communication system, assigns IP addresses to UEs and controls access to UEs; PCRF is the policy decision point in the communication system, which is the policy of the communication system Select and provide available policy and charging control decisions with the charging execution function; the SCEF performs addressing based on the PCRF identification, so as to request the quality of service capability from the PCRF network element corresponding to the PCRF identification.

参见图1B所示的SCEF逻辑架构,SCEF中包括HSS、PCRF、MME或SGSN、广播组播业务中心(Broadcast Multicast Service Center,BM-SC)、服务呼叫会话控制功能(ServingCall Session Control Function,S-CSCF)、返回用户指定形式(Returned CustomerAssignment Form,RCAF)、网络实体(Network Entity)以及多个应用程序编辑(Application Programming Interface,API)接口。SCEF中的HSS、PCRF、MME或SGSN、BM-SC、S-CSCF、RCAF以及Network Entity可以基于多个API接口与应用进行交互。Referring to the SCEF logical architecture shown in FIG. 1B, SCEF includes HSS, PCRF, MME or SGSN, Broadcast Multicast Service Center (BM-SC), ServingCall Session Control Function (S- CSCF), Returned CustomerAssignment Form (RCAF), Network Entity (Network Entity), and multiple Application Programming Interface (API) interfaces. HSS, PCRF, MME or SGSN, BM-SC, S-CSCF, RCAF and Network Entity in SCEF can interact with applications based on multiple API interfaces.

图2是本公开实施例提供的一种网络设备200的结构示意图。参见图2,该网络设备200包括通信总线、处理器、存储器和通信接口,还可以包括输入输出接口和显示设备,其中,各个功能单元之间可以通过总线完成相互间的通信。该存储器存储有计算机程序,处理器,用于执行存储器上所存放的程序,执行上述实施例中的寻址方法。FIG. 2 is a schematic structural diagram of a network device 200 provided by an embodiment of the present disclosure. Referring to FIG. 2 , the network device 200 includes a communication bus, a processor, a memory and a communication interface, and may also include an input/output interface and a display device, wherein each functional unit can communicate with each other through the bus. The memory stores a computer program and a processor for executing the program stored in the memory and executing the addressing method in the above embodiment.

总线是连接所描述的元素的电路并且在这些元素之间实现传输。例如,处理器通过总线从其它元素接收到命令,解密接收到的命令,根据解密的命令执行计算或数据处理。存储器可以包括程序模块,例如内核(kernel),中间件(middleware),应用程序编程接口(Application Programming Interface,API)和应用。该程序模块可以是有软件、固件或硬件、或其中的至少两种组成。输入输出接口转发用户通过输入输出设备(例如感应器、键盘、触摸屏)输入的命令或数据。显示设备显示各种信息给用户。通信接口将该网络设备200与其它网络设备、用户设备、网络进行连接。例如,通信接口可以通过有线或无线连接到网络以连接到外部其它的网络设备或用户设备。无线通信可以包括以下至少一种:无线保真(Wireless Fidelity,WiFi),蓝牙(Bluetooth,BT),近距离无线通信技术(Near FieldCommunication,NFC),全球卫星定位系统(Global Positioning System,GPS)和蜂窝通信(cellular communication)(例如,长期演进技术(Long Term Evolution,LTE),长期演进技术的后续演进(Long Term Evolution–Advanced,LTE-A),码分多址(Code DivisionMultiple Access,CDMA),宽带码分多址(WidebandCDMA,WCDMA),通用移动通信系统(Universal Mobile Telecommunication System,UMTS),无线宽带接入(WirelessBroadband,WiBro)和全球移动通讯系统(Global System for Mobile communication,GSM)。有线通信可以包括以下至少一种:通用串行总线(Universal Serial Bus,USB),高清晰度多媒体接口(High Definition Multimedia Interface,HDMI),异步传输标准接口(Recommended Standard 232,RS-232),和普通老式电话业务(Plain Old TelephoneService,POTS)。网络可以是电信网络和通信网络。通信网络可以为计算机网络、因特网、物联网、电话网络。网络设备200可以通过通信接口连接网络,网络设备200和其它网络设备通信所用的协议可以被应用、应用程序编程接口(Application Programming Interface,API)、中间件、内核和通信接口至少一个支持。A bus is a circuit that connects the described elements and enables transfers between those elements. For example, the processor receives commands from other elements over the bus, decrypts the received commands, and performs computation or data processing according to the decrypted commands. The memory may include program modules such as kernels, middleware, application programming interfaces (APIs), and applications. The program module may be composed of software, firmware or hardware, or at least two of them. The input-output interface forwards commands or data input by the user through input-output devices (eg, sensors, keyboards, touch screens). The display device displays various information to the user. The communication interface connects the network device 200 with other network devices, user equipment, and networks. For example, the communication interface may be wired or wirelessly connected to a network to connect to external other network devices or user equipment. The wireless communication may include at least one of the following: Wireless Fidelity (WiFi), Bluetooth (BT), Near Field Communication (NFC), Global Positioning System (GPS) and cellular communication (eg, Long Term Evolution (LTE), Long Term Evolution-Advanced (LTE-A), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WidebandCDMA, WCDMA), Universal Mobile Telecommunication System (UMTS), Wireless Broadband (WirelessBroadband, WiBro) and Global System for Mobile communication (GSM). Wired communication It may include at least one of the following: Universal Serial Bus (USB), High Definition Multimedia Interface (HDMI), Asynchronous Transmission Standard Interface (Recommended Standard 232, RS-232), and Plain Old Telephone service (Plain Old Telephone Service, POTS). The network can be a telecommunication network and a communication network. The communication network can be a computer network, the Internet, the Internet of Things, a telephone network. The network device 200 can connect the network through a communication interface, and the network device 200 and other networks The protocol used for device communication may be supported by at least one of an application, an application programming interface (API), middleware, a kernel, and a communication interface.

为了避免对DRA造成较大的存储压力,本公开将用户标识和PCRF标识直接存储在通信系统中的网络设备上。通信系统中可以增加用于存储用户标识和PCRF标识的网络设备,也可将用户标识和PCRF标识存储在通信系统中的已有网元上,例如,可以存储在SCEF、认证,授权和计费(Authentication,Authorization and Accounting,AAA)网元、PCRF、PGW、DRA等,本公开对用户标识和PCRF标识的存储位置不进行具体限定。In order to avoid greater storage pressure on the DRA, the present disclosure directly stores the user ID and the PCRF ID on the network device in the communication system. A network device for storing user IDs and PCRF IDs can be added to the communication system, and user IDs and PCRF IDs can also be stored on existing network elements in the communication system. For example, they can be stored in SCEF, authentication, authorization, and billing (Authentication, Authorization and Accounting, AAA) network element, PCRF, PGW, DRA, etc. The present disclosure does not specifically limit the storage locations of the user identifier and the PCRF identifier.

当用户标识和PCRF标识存储在诸如SCEF或AAA网元上时,由于SCEF或AAA网元本身就具有寻址以及进行Qos能力请求的功能,因此,可以直接基于设备所存储的用户标识和PCRF标识来进行后续的寻址和能力请求过程,可以将这类设备称为业务能力开放功能实体。当用户标识和PCRF标识存储在通信系统中除SCEF或AAA网元以外的其他网络设备上时,例如PCRF、PGW或DRA等网络设备,这些网络设备可能不具有寻址以及进行Qos能力请求的功能,因此,可将这类网络设备看做存储实体,这样,SCEF或AAA网元在进行寻址时如果需要获取PCRF标识,则可以通过与这些存储实体进行交互,以获取用户标识对应的PCRF标识,从而通过寻址来确定PCRF,进而为UE进行Qos能力请求。下面,基于上述两类不同方式的部署对寻址过程进行描述:When the user ID and PCRF ID are stored on the network element such as SCEF or AAA, because the SCEF or AAA network element itself has the functions of addressing and requesting QoS capabilities, it can be directly based on the user ID and PCRF ID stored in the device. To carry out subsequent addressing and capability request processes, such devices can be called service capability openness functional entities. When the user ID and PCRF ID are stored on other network devices other than SCEF or AAA network elements in the communication system, such as PCRF, PGW or DRA and other network devices, these network devices may not have the function of addressing and requesting QoS capabilities Therefore, such network devices can be regarded as storage entities. In this way, if the SCEF or AAA network element needs to obtain the PCRF identifier during addressing, it can interact with these storage entities to obtain the PCRF identifier corresponding to the user identifier. , so as to determine the PCRF through addressing, and then perform a QoS capability request for the UE. Below, the addressing process is described based on the deployment of the above two different modes:

首先,介绍用户标识和PCRF标识存储在SCEF或AAA网元上时的寻址过程,其具体步骤可以参照图3A中的过程,图3A是根据一示例性实施例示出的一种寻址方法的流程图。如图3A所示,该方法包括以下步骤。First, the addressing process when the user identity and PCRF identity are stored on the SCEF or AAA network element is introduced. For the specific steps, please refer to the process in FIG. 3A , which shows an addressing method according to an exemplary embodiment. flow chart. As shown in Figure 3A, the method includes the following steps.

在步骤301中,UE建立与PGW之间的IP CAN会话,PGW与PCRF网元交互CCR和CCA,完成UE在通信系统中的注册。In step 301, the UE establishes an IP CAN session with the PGW, and the PGW exchanges CCR and CCA with the PCRF network element to complete the registration of the UE in the communication system.

在本公开实施例中,当UE请求在通信系统中进行注册时,需要建立与PGW之间的IPCAN会话,并基于IP CAN会话将注册信息发送至PGW;当PGW接收到UE的注册信息时,在至少一个PCRF网元中选取可注册的PCRF网元,并向PCRF网元发送携带注册信息的信用控制请求(Credit Control Request,CCR),以使PCRF网元在接收到CCR后,对UE进行注册,并在注册成功后,向PGW返回携带PCRF标识的信用控制应答(Credit Control Answer,CCA),以便PGW将PCRF标识返回至UE,完成UE在通信系统中的注册。In the embodiment of the present disclosure, when the UE requests to register in the communication system, it needs to establish an IPCAN session with the PGW, and send the registration information to the PGW based on the IP CAN session; when the PGW receives the UE's registration information, Select a registrable PCRF network element from at least one PCRF network element, and send a credit control request (Credit Control Request, CCR) carrying registration information to the PCRF network element, so that the PCRF network element, after receiving the CCR, performs After the registration is successful, a Credit Control Answer (CCA) carrying the PCRF identifier is returned to the PGW, so that the PGW returns the PCRF identifier to the UE to complete the registration of the UE in the communication system.

在步骤302中,PGW向SCEF发送用户标识和PCRF标识,PCRF标识用于标识用户所在的PCRF网元。In step 302, the PGW sends the user identifier and the PCRF identifier to the SCEF, and the PCRF identifier is used to identify the PCRF network element where the user is located.

其中,用户标识为UE在通信系统中注册时,通信系统为UE生成的唯一通用标识,可以由固定网号码(Mobile Subscriber International ISDN/PSTN Number,MSISDN)、国际用户识别码(International Mobile Subscriber Identification Number,IMSI)、用户的公网IP和/或私网IP、接入点(Access Point Name,APN)以及用户临时标识中的一种或多种组成。PCRF标识用于唯一标识一个PCRF,PCRF标识一般为PCRF主机名信息,也可以是其他可以唯一标识PCRF网元信息,例如IP或设备编号等。Wherein, the user identifier is the unique universal identifier generated by the communication system for the UE when the UE registers in the communication system, which can be determined by a fixed network number (Mobile Subscriber International ISDN/PSTN Number, MSISDN), an International Mobile Subscriber Identification Number (International Mobile Subscriber Identification Number) , IMSI), one or more of the user's public network IP and/or private network IP, an access point (Access Point Name, APN), and a user temporary identity. The PCRF identifier is used to uniquely identify a PCRF, and the PCRF identifier is generally PCRF host name information, and may also be other information that can uniquely identify the PCRF network element, such as IP or device number.

由于UE在通信系统中进行注册时,会注册至通信系统中的某一PCRF网元上,因此,当UE在通信系统中注册成功后,PGW便可获取UE所在的PCRF网元的PCRF标识。为了使SCEF获取到用户标识和PCRF标识,并简化SCEF请求用户标识和PCRF标识的流程,PGW可主动将用户标识和PCRF标识上传至SCEF,以使SCEF将用户标识和PCRF标识对应进行存储。Since the UE registers in the communication system, it will register with a PCRF network element in the communication system. Therefore, after the UE is successfully registered in the communication system, the PGW can obtain the PCRF identifier of the PCRF network element where the UE is located. In order for SCEF to obtain the user ID and PCRF ID, and to simplify the process of SCEF requesting the user ID and PCRF ID, the PGW can actively upload the user ID and PCRF ID to SCEF, so that SCEF stores the user ID and PCRF ID correspondingly.

PGW在将用户标识和PCRF标识发送至SCEF时,可以基于当前通信系统中已有接口发送,也可在通信系统中新建一个或多个新增接口,并基于新增接口将用户标识和PCRF标识发送至SCEF。其中,已有接口可为开源异步编程(Reactive Extensions,Rx)接口、API接口或认证服务(Radius)接口。若基于Radius接口发送用户标识和PCRF标识,则PGW在将用户标识和PCRF标识发送至SCEF之前,需要基于Radius接口生成消息,并在消息中添加需要发送的用户标识和PCRF标识,生成验证消息,并将验证消息发送至SCEF,由SCEF在验证消息中提取用户标识和PCRF标识,将用户标识和PCRF标识对应进行存储,以便在后续进行寻址时,SCEF可以直接确定与用户标识对应的PCRF标识。其中,PGW基于Radius接口生成消息可为接入请求(Access-Request)消息或统计请求(Accounting-Request)消息,本公开对PGW基于Radius接口生成的消息不进行具体限定。When the PGW sends the user ID and the PCRF ID to the SCEF, it can send it based on the existing interface in the current communication system, or it can create one or more new interfaces in the communication system, and based on the newly added interface, the user ID and PCRF ID can be sent. Sent to SCEF. The existing interface may be an open source asynchronous programming (Reactive Extensions, Rx) interface, an API interface or an authentication service (Radius) interface. If the user ID and PCRF ID are sent based on the Radius interface, before sending the user ID and PCRF ID to the SCEF, the PGW needs to generate a message based on the Radius interface, and add the user ID and PCRF ID to be sent in the message to generate a verification message. Send the verification message to the SCEF, and the SCEF extracts the user ID and the PCRF ID in the verification message, and stores the user ID and the PCRF ID correspondingly, so that when the subsequent addressing is performed, the SCEF can directly determine the PCRF ID corresponding to the user ID. . Wherein, the message generated by the PGW based on the Radius interface may be an access request (Access-Request) message or an accounting request (Accounting-Request) message, and the present disclosure does not specifically limit the message generated by the PGW based on the Radius interface.

在本申请实施例中,仅以发送用户标识和PCRF标识的网络设备为PGW为例进行说明,而在实际场景中,还可以由分组网关实体来进行发送,这种实时上报用户标识以及用户所在的PCRF标识的方式,可以避免由于上报不及时而造成的处理时延和处理错误。In the embodiment of this application, only the network device that sends the user ID and PCRF ID is the PGW as an example for description, but in an actual scenario, the packet gateway entity can also send it. The PCRF identification method can avoid processing delay and processing errors caused by untimely reporting.

在步骤303中,当SCEF接收到用户标识和PCRF标识时,将用户标识与PCRF标识对应存储。In step 303, when the SCEF receives the user identification and the PCRF identification, the user identification and the PCRF identification are stored correspondingly.

在本公开实施例中,SCEF在接收到PGW发送的用户标识和PCRF标识后,由于SCEF可以存储用户标识和PCRF标识,因此,SCEF便直接将用户标识和PCRF标识对应进行存储,以便在后续进行寻址时,SCEF可以直接确定与用户标识对应的PCRF标识。In the embodiment of the present disclosure, after the SCEF receives the user identifier and the PCRF identifier sent by the PGW, since the SCEF can store the user identifier and the PCRF identifier, the SCEF directly stores the user identifier and the PCRF identifier correspondingly, so that the subsequent When addressing, the SCEF can directly determine the PCRF identity corresponding to the user identity.

其中,SCEF在接收用户标识和PCRF标识时,可基于上述步骤302中提及的已有接口或新增接口接收,本公开对SCEF接收用户标识和PCRF标识的方式不进行具体限定。Wherein, when the SCEF receives the user identifier and the PCRF identifier, it can be received based on the existing interface or the newly added interface mentioned in the above step 302, and the present disclosure does not specifically limit the manner in which the SCEF receives the user identifier and the PCRF identifier.

需要说明的是,上述步骤302和步骤303中所示的过程为PGW主动将用户标识与PCRF标识上传至SCEF,由SCEF进行存储的过程,而在实际应用的过程中,参见图3B,SCEF还可以采取下述两种方式在PGW中获取用户标识和PCRF标识。It should be noted that the process shown in the above steps 302 and 303 is the process in which the PGW actively uploads the user ID and the PCRF ID to the SCEF, and the SCEF stores them. In the actual application process, referring to FIG. 3B , the SCEF also The following two ways may be adopted to obtain the user identity and the PCRF identity in the PGW.

方式一、SCEF向PGW发送携带用户标识的标识获取请求,并接收PGW返回的用户标识对应的PCRF标识。Manner 1: The SCEF sends an identification acquisition request carrying the user identification to the PGW, and receives the PCRF identification corresponding to the user identification returned by the PGW.

当UE完成在通信系统中的注册后,由于通信系统中的全部网络设备均可获取到UE的用户标识,这样,SCEF可以基于用户标识向PGW请求与用户标识对应的PCRF标识。当PGW接收到SCEF发送的用户标识后,确定与用户标识对应的PCRF标识,并将PCRF标识返回至SCEF,由SCEF将用户标识和PCRF标识对应进行存储,以便在后续进行寻址时,SCEF可以直接确定与用户标识对应的PCRF标识。由于PGW仅在接收到SCEF的标识获取请求时,才将PCRF标识发送至SCEF,因此,可以避免由于通信系统中注册的UE过多,导致SCEF可能接收到的并行数据过多,造成SCEF的存储压力过大。After the UE completes the registration in the communication system, since all network devices in the communication system can obtain the UE's user identity, the SCEF can request the PGW for the PCRF identity corresponding to the user identity based on the user identity. After the PGW receives the user ID sent by SCEF, it determines the PCRF ID corresponding to the user ID, and returns the PCRF ID to SCEF, where SCEF stores the user ID and PCRF ID correspondingly, so that SCEF can The PCRF identifier corresponding to the user identifier is directly determined. Since the PGW only sends the PCRF identifier to the SCEF when it receives the identifier acquisition request of the SCEF, it can avoid that the SCEF may receive too much parallel data due to too many UEs registered in the communication system, resulting in the storage of the SCEF. Too much pressure.

其中,PGW在将用户标识和PCRF标识发送至SCEF时,可以基于上述步骤302中的方式进行发送,此处不再进行赘述。Wherein, when the PGW sends the user identifier and the PCRF identifier to the SCEF, the sending may be based on the manner in the foregoing step 302, which will not be repeated here.

方式二、若PGW配置有超文本传输协议(HyperText Transfer Protocol,HTTP)头增强功能,则SCEF获取PGW发送的用户标识和HTTP,在HTTP的头信息中获取PCRF标识。Manner 2: If the PGW is configured with the HyperText Transfer Protocol (HyperText Transfer Protocol, HTTP) header enhancement function, the SCEF obtains the user ID and HTTP sent by the PGW, and obtains the PCRF ID from the HTTP header information.

在本公开实施例中,若PGW配置有HTTP头增强功能,则PGW可以修改HTTP的头信息,在HTTP的头信息中增加相应信息,这样,当UE完成在通信系统中的注册后,UE便可直接访问SCEF中的网络服务(Web Server),这样,PGW便可检测到UE的访问行为,并获取UE在访问WebServer时的HTTP,将PCRF标识添加至HTTP的头信息中,将HTTP和用户标识发送至SCEF,由SCEF在HTTP中提取PCRF标识,将用户标识和PCRF标识对应存储,以便在后续进行寻址时,SCEF可以直接确定与用户标识对应的PCRF标识。In the embodiment of the present disclosure, if the PGW is configured with the HTTP header enhancement function, the PGW can modify the HTTP header information and add corresponding information to the HTTP header information. In this way, after the UE completes the registration in the communication system, the UE can It can directly access the network service (Web Server) in SCEF, so that the PGW can detect the access behavior of the UE, and obtain the HTTP when the UE accesses the WebServer, add the PCRF identifier to the HTTP header information, and connect the HTTP and user The identifier is sent to the SCEF, and the SCEF extracts the PCRF identifier in HTTP, and stores the user identifier and the PCRF identifier correspondingly, so that in subsequent addressing, the SCEF can directly determine the PCRF identifier corresponding to the user identifier.

由于PGW可以直接修改HTTP的头信息,在HTTP的头信息中添加PCRF标识,因此,无需再生成携带PCRF标识的其他请求,简化了将PCRF标识传输至SCEF的流程,避免通信系统中的请求过多导致通信系统的负载过大。Since the PGW can directly modify the HTTP header information and add the PCRF identifier to the HTTP header information, there is no need to generate other requests carrying the PCRF identifier, which simplifies the process of transmitting the PCRF identifier to the SCEF and avoids excessive requests in the communication system. Mostly lead to the overload of the communication system.

在步骤304中,SCEF接收SP/CP的申请能力请求,申请能力请求携带用户标识。In step 304, the SCEF receives the application capability request from the SP/CP, and the application capability request carries the user identifier.

在本公开实施例中,当SP/CP需要获取PCRF网元的服务质量能力时,可以向SCEF发送携带用户标识的申请能力请求,以便SCEF确定与用户标识对应的PCRF标识,基于PCRF标识进行寻址,向PCRF标识对应的PCRF网元进行服务质量能力请求。需要说明的是,该申请能力请求可为OTT消息,该OTT消息可由SP或CP上的OTT服务发送,本公开实施例对此申请能力请求的类型以及发送方式不进行具体限定。In the embodiment of the present disclosure, when the SP/CP needs to obtain the service quality capability of the PCRF network element, it can send a request for capability application carrying the user ID to the SCEF, so that the SCEF determines the PCRF ID corresponding to the user ID, and searches for the PCRF ID based on the PCRF ID. address, and request the QoS capability to the PCRF network element corresponding to the PCRF identifier. It should be noted that the application capability request may be an OTT message, and the OTT message may be sent by the OTT service on the SP or CP. The embodiment of the present disclosure does not specifically limit the type and transmission method of the application capability request.

在步骤305中,SCEF基于申请能力请求携带的用户标识,在已存储的用户标识与PCRF标识中,确定PCRF标识。In step 305, the SCEF determines the PCRF identifier from the stored user identifier and PCRF identifier based on the user identifier carried in the application capability request.

在本公开实施例中,SCEF在确定用户标识对应的PCRF标识时,可以直接在申请能力请求中提取用户标识,并在已存储的用户标识与PCRF标识中查找用户标识对应的PCRF标识。In the embodiment of the present disclosure, when the SCEF determines the PCRF identifier corresponding to the user identifier, it can directly extract the user identifier from the application capability request, and search the stored user identifier and PCRF identifier for the PCRF identifier corresponding to the user identifier.

在步骤306中,SCEF基于PCRF标识进行寻址,得到与PCRF标识对应的PCRF网元,向PCRF标识对应的PCRF网元进行服务质量能力请求。In step 306, the SCEF performs addressing based on the PCRF identifier, obtains the PCRF network element corresponding to the PCRF identifier, and makes a service quality capability request to the PCRF network element corresponding to the PCRF identifier.

在本公开实施例中,当SCEF确定用户标识对应的PCRF标识后,便可基于PCRF标识进行寻址,确定与PCRF标识对应的PCRF网元,并向PCRF网元请求服务质量能力。在获取到服务质量能力的能力参数后,SCEF可将服务质量能力的能力参数返回给SP/CP,以使SP/CP基于能力参数为用户提供服务。In the embodiment of the present disclosure, after the SCEF determines the PCRF identifier corresponding to the user identifier, it can address based on the PCRF identifier, determine the PCRF network element corresponding to the PCRF identifier, and request the QoS capability from the PCRF network element. After acquiring the capability parameter of the QoS capability, the SCEF may return the capability parameter of the QoS capability to the SP/CP, so that the SP/CP provides a service for the user based on the capability parameter.

本公开实施例所述的方法,SCEF通过获取用户的用户标识和规则功能PCRF标识,将用户标识与PCRF标识对应存储,使得在接收到携带用户标识的申请能力请求时,可以直接从已存储的用户标识与PCRF标识中,确定与用户标识对应的PCRF标识,基于PCRF标识进行寻址,得到与PCRF标识对应的PCRF网元,向PCRF标识对应的PCRF网元进行服务质量能力请求,无需为用户建立Gx接口会话信息表,避免了对DRA的存储容量进行扩容,降低了通信系统的部署成本。In the method described in the embodiments of the present disclosure, SCEF obtains the user ID of the user and the PCRF ID of the rule function, and stores the user ID and the PCRF ID correspondingly, so that when receiving the application capability request carrying the user ID, the user ID can be directly retrieved from the stored user ID. Among the user identification and the PCRF identification, determine the PCRF identification corresponding to the user identification, perform addressing based on the PCRF identification, obtain the PCRF network element corresponding to the PCRF identification, and request the service quality capability to the PCRF network element corresponding to the PCRF identification, without requiring the user The establishment of the Gx interface session information table avoids the expansion of the storage capacity of the DRA and reduces the deployment cost of the communication system.

由于用户标识和PCRF标识还可存储在PCRF、PGW或DRA等网络设备,下面,以用户标识和PCRF标识存储在PCRF上为例介绍寻址过程,其具体步骤可以参照图4A中的过程。图4A是根据一示例性实施例二示出的一种寻址方法的流程图。如图4A所示,该方法包括以下步骤。Since the user ID and PCRF ID can also be stored in network devices such as PCRF, PGW, or DRA, the addressing process is described below by taking the user ID and PCRF ID stored on the PCRF as an example, and the specific steps can refer to the process in FIG. 4A . FIG. 4A is a flowchart of an addressing method according to anexemplary embodiment 2. FIG. As shown in Figure 4A, the method includes the following steps.

在步骤401中,UE建立与PGW之间的IP CAN会话,PGW与PCRF网元交互CCR和CCA,完成UE在通信系统中的注册。In step 401, the UE establishes an IP CAN session with the PGW, and the PGW exchanges CCR and CCA with the PCRF network element to complete the registration of the UE in the communication system.

在本公开实施例中,UE在通信系统中注册的过程与上述步骤301中所示的过程一致,此处不再进行赘述。In the embodiment of the present disclosure, the process of the UE registering in the communication system is the same as the process shown in the foregoing step 301, which will not be repeated here.

在步骤402中,PGW向PCRF发送用户标识和PCRF标识。In step 402, the PGW sends the user identity and the PCRF identity to the PCRF.

在本公开实施例中,由于UE在通信系统中进行注册时,会注册至通信系统中的某一PCRF网元上,因此,当UE在通信系统中注册成功后,PGW便可获取UE所在的PCRF网元的PCRF标识。为了使PCRF获取用户标识和PCRF标识,并简化PCRF获取用户标识和PCRF标识的流程,PGW可主动将用户标识和PCRF标识上传至PCRF,以使PCRF将用户标识和PCRF标识对应进行存储。In the embodiment of the present disclosure, when the UE registers in the communication system, it will register with a certain PCRF network element in the communication system. Therefore, after the UE is successfully registered in the communication system, the PGW can obtain the location where the UE is located. PCRF identifier of the PCRF network element. In order to enable the PCRF to obtain the user ID and the PCRF ID, and to simplify the process for the PCRF to obtain the user ID and the PCRF ID, the PGW can actively upload the user ID and the PCRF ID to the PCRF, so that the PCRF stores the user ID and the PCRF ID correspondingly.

PGW在将用户标识和PCRF标识发送至PCRF时,可以基于当前通信系统中已有接口发送,也可在通信系统中新建一个或多个新增接口。其中,PGW基于接口将用户标识和PCRF标识发送至PCRF的过程与上述步骤302中的PGW基于接口将用户标识和PCRF标识发送至SCEF的过程一致,此处不再进行赘述。When the PGW sends the user identifier and the PCRF identifier to the PCRF, it may send based on an existing interface in the current communication system, or may create one or more newly-added interfaces in the communication system. The process of the PGW sending the user identifier and the PCRF identifier to the PCRF based on the interface is the same as the process of the PGW sending the user identifier and the PCRF identifier to the SCEF based on the interface in step 302, and will not be repeated here.

在步骤403中,PCRF接收用户标识和PCRF标识,将用户标识与PCRF标识对应存储。In step 403, the PCRF receives the user identification and the PCRF identification, and stores the user identification and the PCRF identification correspondingly.

在本公开实施例中,PCRF在接收到PGW发送的用户标识和PCRF标识后,由于PCRF可以存储用户标识和PCRF标识,因此,PCRF直接将用户标识和PCRF标识对应进行存储,以便在后续进行寻址时,PCRF可以直接确定与用户标识对应的PCRF标识。In the embodiment of the present disclosure, after the PCRF receives the user identifier and the PCRF identifier sent by the PGW, since the PCRF can store the user identifier and the PCRF identifier, the PCRF directly stores the user identifier and the PCRF identifier correspondingly, so as to search for the user identifier and the PCRF identifier later. When the address is used, the PCRF can directly determine the PCRF identity corresponding to the user identity.

其中,PCRF在接收用户标识和PCRF标识时,可基于上述步骤302中提及的已有接口或新增接口接收,本公开对PCRF接收用户标识和PCRF标识的方式不进行具体限定。Wherein, when the PCRF receives the user identifier and the PCRF identifier, it can be received based on the existing interface or the newly added interface mentioned in the above step 302, and the present disclosure does not specifically limit the manner in which the PCRF receives the user identifier and the PCRF identifier.

需要说明的是,上述步骤402和步骤403中所示的过程为PGW主动将用户标识与PCRF标识上传至PCRF,由PCRF进行存储的过程,而在实际应用的过程中,参见图4B,PCRF还可以采取下述两种方式在PGW中获取用户标识和PCRF标识。It should be noted that the process shown in the above steps 402 and 403 is the process in which the PGW actively uploads the user ID and the PCRF ID to the PCRF, and the PCRF stores them. In the actual application process, referring to FIG. 4B , the PCRF also The following two ways may be adopted to obtain the user identity and the PCRF identity in the PGW.

方式一、PCRF向PGW发送携带用户标识的标识获取请求,并接收PGW返回的用户标识对应的PCRF标识。Manner 1: The PCRF sends an identification acquisition request carrying the user identification to the PGW, and receives the PCRF identification corresponding to the user identification returned by the PGW.

在本公开实施例中,PCRF向PGW获取PCRF标识的过程与上述实施例一中所示的方式一的过程一致,此处不再进行赘述。In this embodiment of the present disclosure, the process of the PCRF acquiring the PCRF identifier from the PGW is the same as the process of the first method shown in the above-mentioned first embodiment, and details are not repeated here.

方式二、若PGW配置有HTTP头增强功能,则PCRF获取PGW发送的用户标识和HTTP,在HTTP的头信息中获取PCRF标识。Manner 2: If the PGW is configured with the HTTP header enhancement function, the PCRF obtains the user ID and the HTTP sent by the PGW, and obtains the PCRF ID in the HTTP header information.

在本公开实施例中,PGW向PCRF发送用户标识和HTTP以及PCRF获取PCRF标识的过程与上述实施例一中所示的方式二的过程一致,此处不再进行赘述。In the embodiment of the present disclosure, the process that the PGW sends the user identity and the HTTP to the PCRF and the process that the PCRF obtains the PCRF identity is the same as the process of the second method shown in the first embodiment, and will not be repeated here.

在步骤404中,当SCEF接收到SP/CP发送的申请能力请求时,向PCRF发送携带用户标识的网元标识请求。In step 404, when the SCEF receives the capability application request sent by the SP/CP, it sends a network element identification request carrying the user identification to the PCRF.

在本公开实施例中,申请能力请求中携带用户标识,当SCEF接收到SP/CP发送的申请能力请求时,可在申请能力请求中提取用户标识,并基于用户标识生成网元标识请求,向PCRF发送网元标识请求,以便在PCRF中获取用户标识对应的PCRF标识。In the embodiment of the present disclosure, the application capability request carries the user identifier. When the SCEF receives the application capability request sent by the SP/CP, it can extract the user identifier from the application capability request, and generate a network element identifier request based on the user identifier. The PCRF sends a network element identification request, so as to obtain the PCRF identification corresponding to the user identification in the PCRF.

在步骤405中,PCRF接收SCEF发送的网元标识请求,从已存储的用户标识与PCRF标识中,确定与用户标识对应的PCRF标识。In step 405, the PCRF receives the network element identification request sent by the SCEF, and determines the PCRF identification corresponding to the user identification from the stored user identification and PCRF identification.

在本公开实施例中,PCRF确定与用户标识对应的PCRF标识的过程与上述步骤305中所示的SCEF确定用户标识对应的PCRF标识的过程一致,此处不再进行赘述。In the embodiment of the present disclosure, the process of PCRF determining the PCRF identifier corresponding to the user identifier is the same as the process of SCEF determining the PCRF identifier corresponding to the user identifier shown in the foregoing step 305, and details are not repeated here.

在步骤406中,PCRF向SCEF发送PCRF标识。In step 406, the PCRF sends the PCRF identification to the SCEF.

在本公开实施例中,PCRF在确定用户标识对应的PCRF标识后,将PCRF标识发送至SCEF,以使SCEF基于PCRF标识进行寻址。In the embodiment of the present disclosure, after determining the PCRF identifier corresponding to the user identifier, the PCRF sends the PCRF identifier to the SCEF, so that the SCEF performs addressing based on the PCRF identifier.

在步骤407中,SCEF基于PCRF标识进行寻址,得到与PCRF标识对应的PCRF网元,向PCRF标识对应的PCRF网元进行服务质量能力请求。In step 407, the SCEF performs addressing based on the PCRF identifier, obtains the PCRF network element corresponding to the PCRF identifier, and makes a service quality capability request to the PCRF network element corresponding to the PCRF identifier.

在本公开实施例中,SCEF寻址的过程与上述步骤306中所示的过程一致,此处不再进行赘述。In this embodiment of the present disclosure, the process of SCEF addressing is the same as the process shown in the foregoing step 306, and details are not repeated here.

本公开实施例所述的方法,PCRF通过获取用户的用户标识和规则功能PCRF标识,将用户标识与PCRF标识对应存储,使得在接收到SCEF发送的携带用户标识的申请能力请求时,可以直接从已存储的用户标识与PCRF标识中,确定与用户标识对应的PCRF标识,并将PCRF标识返回至SCEF,以使SCEF基于PCRF标识进行寻址,得到与PCRF标识对应的PCRF网元,向PCRF标识对应的PCRF网元进行服务质量能力请求,无需为用户建立Gx接口会话信息表,避免了对DRA的存储容量进行扩容,降低了通信系统的部署成本。In the method described in the embodiment of the present disclosure, the PCRF obtains the user ID of the user and the PCRF ID of the rule function, and stores the user ID and the PCRF ID correspondingly, so that when receiving the application capability request carrying the user ID sent by the SCEF, the user ID can be directly retrieved from the user ID. In the stored user identification and PCRF identification, determine the PCRF identification corresponding to the user identification, and return the PCRF identification to the SCEF, so that the SCEF performs addressing based on the PCRF identification, obtains the PCRF network element corresponding to the PCRF identification, and sends the PCRF identification to the PCRF identification. When the corresponding PCRF network element requests the service quality capability, there is no need to establish a Gx interface session information table for the user, which avoids the expansion of the storage capacity of the DRA and reduces the deployment cost of the communication system.

上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再一一赘述。All the above-mentioned optional technical solutions can be combined arbitrarily to form optional embodiments of the present disclosure, which will not be repeated here.

图5是根据本公开实施例提供的一种寻址装置的框图。参见图5,该装置包括:FIG. 5 is a block diagram of an addressing device provided according to an embodiment of the present disclosure. Referring to Figure 5, the device includes:

获取模块501,用于获取用户的用户标识和策略和计费规则功能实体PCRF标识;Obtainingmodule 501 is used to obtain the user identity of the user and the PCRF identity of the policy and charging rule functional entity;

存储模块502,用于将用户标识与PCRF标识对应存储,PCRF标识用于标识用户所在的PCRF网元;Thestorage module 502 is used to store the user identifier and the PCRF identifier correspondingly, and the PCRF identifier is used to identify the PCRF network element where the user is located;

接收模块503,用于接收申请能力请求,申请能力请求携带用户标识;A receivingmodule 503, configured to receive an application capability request, where the application capability request carries a user identifier;

确定模块504,用于从已存储的用户标识与PCRF标识中,确定与用户标识对应的PCRF标识;Adetermination module 504 is used to determine the PCRF identification corresponding to the user identification from the stored user identification and PCRF identification;

寻址模块505,用于基于PCRF标识进行寻址,向PCRF标识对应的PCRF网元进行服务质量能力请求。The addressingmodule 505 is configured to perform addressing based on the PCRF identifier, and perform a service quality capability request to the PCRF network element corresponding to the PCRF identifier.

在另一个实施例中,获取模块501用于执行上述步骤303中所涉及的过程。In another embodiment, the obtainingmodule 501 is configured to perform the process involved in the above step 303 .

本公开实施例通过获取用户的用户标识和规则功能PCRF标识,将用户标识与PCRF标识对应存储,使得在接收到携带用户标识的申请能力请求时,可以从已存储的用户标识与PCRF标识中,确定与用户标识对应的PCRF标识,基于PCRF标识进行寻址,得到与PCRF标识对应的PCRF网元,向PCRF标识对应的PCRF网元进行服务质量能力请求,无需为用户建立Gx接口会话信息表,避免了对DRA的存储容量进行扩容,降低了通信系统的部署成本。In the embodiment of the present disclosure, the user identification and the PCRF identification of the rule function are obtained, and the user identification and the PCRF identification are stored correspondingly, so that when an application capability request carrying the user identification is received, the user identification and the PCRF identification that have been stored can be stored. Determine the PCRF identifier corresponding to the user identifier, perform addressing based on the PCRF identifier, obtain the PCRF network element corresponding to the PCRF identifier, and perform a service quality capability request to the PCRF network element corresponding to the PCRF identifier, without establishing a Gx interface session information table for the user, The expansion of the storage capacity of the DRA is avoided, and the deployment cost of the communication system is reduced.

图6是根据本公开实施例提供的一种寻址装置的框图。参见图6,该装置包括:FIG. 6 is a block diagram of an addressing device provided according to an embodiment of the present disclosure. Referring to Figure 6, the device includes:

获取模块601,用于获取用户的用户标识和策略和计费规则功能实体PCRF标识;Obtainingmodule 601, used to obtain the user identity of the user and the PCRF identity of the policy and charging rule functional entity;

存储模块602,用于将用户标识与PCRF标识对应存储,PCRF标识用于标识用户所在的PCRF网元;Thestorage module 602 is configured to store the user identifier and the PCRF identifier correspondingly, and the PCRF identifier is used to identify the PCRF network element where the user is located;

接收模块603,用于接收业务能力开放功能实体发送的网元标识请求,网元标识请求携带用户标识;A receivingmodule 603, configured to receive a network element identification request sent by a service capability opening function entity, where the network element identification request carries a user identification;

确定模块604,用于从已存储的用户标识与PCRF标识中,确定与用户标识对应的PCRF标识;Adetermination module 604 is used to determine the PCRF identification corresponding to the user identification from the stored user identification and PCRF identification;

发送模块605,用于向业务能力开放功能实体发送PCRF标识,以使业务能力开放功能实体基于PCRF标识进行寻址。The sendingmodule 605 is configured to send the PCRF identifier to the service capability opening function entity, so that the service capability opening function entity performs addressing based on the PCRF identifier.

在另一个实施例中,获取模块601用于执行上述步骤403中所涉及的过程。In another embodiment, the obtainingmodule 601 is configured to perform the process involved in the above step 403 .

本公开实施例通过获取用户的用户标识和规则功能PCRF标识,将用户标识与PCRF标识对应存储,使得在接收到携带用户标识的网元标识请求时,可以从已存储的用户标识与PCRF标识中,确定与用户标识对应的PCRF标识,并将PCRF标识发送至业务能力开放功能实体,以使业务能力开放功能实体基于PCRF标识进行寻址,得到与PCRF标识对应的PCRF网元,向PCRF标识对应的PCRF网元进行服务质量能力请求,无需为用户建立Gx接口会话信息表,避免了对DRA的存储容量进行扩容,降低了通信系统的部署成本。In this embodiment of the present disclosure, the user identifier and the PCRF identifier of the rule function are acquired, and the user identifier and the PCRF identifier are stored correspondingly, so that when a network element identifier request carrying the user identifier is received, the user identifier and the PCRF identifier can be retrieved from the stored user identifier and PCRF identifier. , determine the PCRF identity corresponding to the user identity, and send the PCRF identity to the service capability opening functional entity, so that the service capability opening functional entity performs addressing based on the PCRF identity, obtains the PCRF network element corresponding to the PCRF identity, and sends the PCRF identity corresponding to the PCRF identity. The PCRF network element can request the service quality capability without establishing a Gx interface session information table for the user, which avoids the expansion of the storage capacity of the DRA and reduces the deployment cost of the communication system.

图7是根据本公开实施例提供的一种寻址装置的框图。参见图7,该装置应用于业务能力开放功能实体,该装置包括:FIG. 7 is a block diagram of an addressing device provided according to an embodiment of the present disclosure. Referring to FIG. 7 , the apparatus is applied to a service capability opening functional entity, and the apparatus includes:

发送模块701,用于向存储实体发送网元标识请求,由所述存储实体基于所述用户标识,从已存储的用户标识与策略和计费规则功能实体PCRF标识中,确定与所述用户标识对应的PCRF标识,所述网元标识请求携带待寻址用户设备UE的用户标识;The sendingmodule 701 is configured to send a network element identification request to a storage entity, and the storage entity determines, based on the user identification, from the stored user identification and the PCRF identification of the policy and charging rule function entity, which is the same as the user identification. A corresponding PCRF identifier, where the network element identifier request carries the user identifier of the user equipment UE to be addressed;

接收模块702,用于接收所述存储实体返回的PCRF标识,所述PCRF标识用于标识用户所在的PCRF网元;A receivingmodule 702, configured to receive a PCRF identifier returned by the storage entity, where the PCRF identifier is used to identify the PCRF network element where the user is located;

寻址模块703,用于基于所述PCRF标识进行寻址,向所述PCRF标识对应的PCRF网元进行服务质量能力请求。The addressingmodule 703 is configured to perform addressing based on the PCRF identifier, and perform a service quality capability request to the PCRF network element corresponding to the PCRF identifier.

本公开实施例通过获取用户的用户标识和规则功能PCRF标识,将用户标识与PCRF标识对应存储,使得在接收到携带用户标识的网元标识请求时,可以从已存储的用户标识与PCRF标识中,确定与用户标识对应的PCRF标识,并将PCRF标识发送至业务能力开放功能实体,以使业务能力开放功能实体基于PCRF标识进行寻址,得到与PCRF标识对应的PCRF网元,向PCRF标识对应的PCRF网元进行服务质量能力请求,无需为用户建立Gx接口会话信息表,避免了对DRA的存储容量进行扩容,降低了通信系统的部署成本。In this embodiment of the present disclosure, the user identifier and the PCRF identifier of the rule function are acquired, and the user identifier and the PCRF identifier are stored correspondingly, so that when a network element identifier request carrying the user identifier is received, the user identifier and the PCRF identifier can be retrieved from the stored user identifier and PCRF identifier. , determine the PCRF identity corresponding to the user identity, and send the PCRF identity to the service capability opening functional entity, so that the service capability opening functional entity performs addressing based on the PCRF identity, obtains the PCRF network element corresponding to the PCRF identity, and sends the PCRF identity corresponding to the PCRF identity. The PCRF network element can request the service quality capability without establishing a Gx interface session information table for the user, which avoids the expansion of the storage capacity of the DRA and reduces the deployment cost of the communication system.

需要说明的是:上述实施例提供的寻址装置在寻址时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的寻址装置与寻址方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when addressing, the addressing device provided in the above embodiments only uses the division of the above functional modules as an example. In practical applications, the above functions can be allocated to different functional modules according to needs. The internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the addressing device and the addressing method embodiments provided by the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, which will not be repeated here.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的计算机可读存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. The computer-readable storage medium mentioned may be a read-only memory, a magnetic or optical disk, and the like.

另外,该计算机可读存储介质上还存储有指令,所述指令被处理器执行以完成本申请所提供的任一种寻址方法。In addition, the computer-readable storage medium also stores instructions, and the instructions are executed by the processor to implement any addressing method provided in this application.

以上所述仅为本公开的可选实施例,并不用以限制本公开,凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。The above are only optional embodiments of the present disclosure, and are not intended to limit the present disclosure. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the protection of the present disclosure. within the range.

Claims (24)

a sending module, configured to send a network element identifier request to a storage entity, where the storage entity determines, based on a user identifier, a PCRF identifier corresponding to the user identifier from a stored user identifier and a PCRF identifier of a policy and charging rule function entity, and the network element identifier request carries a user identifier of a UE to be addressed; a receiving module, configured to receive a PCRF identifier returned by the storage entity, where the PCRF identifier is used to identify a PCRF network element where a user is located; or, the receiving module is configured to determine, from the user identifier and the PCRF identifier stored in the service capability openness function entity, a PCRF identifier corresponding to the user identifier;
CN201710632324.0A2017-07-282017-07-28Addressing method and deviceActiveCN109309766B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710632324.0ACN109309766B (en)2017-07-282017-07-28Addressing method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710632324.0ACN109309766B (en)2017-07-282017-07-28Addressing method and device

Publications (2)

Publication NumberPublication Date
CN109309766A CN109309766A (en)2019-02-05
CN109309766Btrue CN109309766B (en)2020-07-14

Family

ID=65205390

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710632324.0AActiveCN109309766B (en)2017-07-282017-07-28Addressing method and device

Country Status (1)

CountryLink
CN (1)CN109309766B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US11991525B2 (en)2021-12-022024-05-21T-Mobile Usa, Inc.Wireless device access and subsidy control

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114501421B (en)*2020-10-262025-09-26中国移动通信有限公司研究院 User wireless information identity association method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101072170A (en)*2006-05-132007-11-14华为技术有限公司Wireless communication network strategy and billing rule functional network element addressing method
CN102143062A (en)*2010-12-282011-08-03华为技术有限公司Policy and charging rule function addressing method, device and system
CN102695241A (en)*2011-03-232012-09-26中兴通讯股份有限公司Access processing method, resource admission control method, devices, and system
CN106792613A (en)*2015-11-252017-05-31中国电信股份有限公司Binding session method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US9819550B2 (en)*2015-01-092017-11-14Alcatel LucentDiameter routing agent application plug-in framework

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101072170A (en)*2006-05-132007-11-14华为技术有限公司Wireless communication network strategy and billing rule functional network element addressing method
CN102143062A (en)*2010-12-282011-08-03华为技术有限公司Policy and charging rule function addressing method, device and system
CN102695241A (en)*2011-03-232012-09-26中兴通讯股份有限公司Access processing method, resource admission control method, devices, and system
CN106792613A (en)*2015-11-252017-05-31中国电信股份有限公司Binding session method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US11991525B2 (en)2021-12-022024-05-21T-Mobile Usa, Inc.Wireless device access and subsidy control

Also Published As

Publication numberPublication date
CN109309766A (en)2019-02-05

Similar Documents

PublicationPublication DateTitle
CN108574969B (en) Connection processing method and device in multi-access scenario
CN104412628B (en)A kind of method, apparatus and computer-readable medium that application service is provided in telecommunication network
CN104335641B (en) Data service processing method, device and system in roaming scenario
US9591560B2 (en)Temporary credential assignment when connecting to roaming wireless networks
CN113453292B (en)Method for establishing connection, communication device and system
CN110167088A (en)A kind of management method and device of session
CN101388836A (en) Method for obtaining IP access session policy control information, related equipment and system
CN102695236B (en)A kind of data routing method and system
US9713176B2 (en)Telecommunication method and telecommunication system
CN107948976A (en)The detection method and device of LTE network access result, computer-readable storage medium
CN103563449B (en)Cut-in method and mobile management device, user equipment
CN103339989A (en)Technique for communication between user equipment and a data network in a communication network
CN105338511B (en)Network topology hidden method and equipment
CN111988821A (en)Voice communication method and device
CN103491517A (en)Method and equipment for obtaining PCC rules
CN104272860B (en) Method and device for efficient signaling message handling in a communication network
CN111092842A (en)Information processing method, server, network element and storage medium
CN109309766B (en)Addressing method and device
WO2014134819A1 (en)Billing method, access network device and gateway device
CN108235428A (en) Method for realizing UE registration with P-CSCF, MME equipment and PGW equipment
CN103379479B (en)A kind of determine ID and the method for notifying parameters information, system and equipment
CN101998515B (en)The implementation method of control PCRF load balancing and realize system
WO2021081900A1 (en)Communication method and related apparatus
CN114270881B (en) A method and device for accessing a network
KR20130060967A (en)Data service method of multiple pdn based odb scheme for lte mobile users

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