[go: up one dir, main page]

CN101483826B - Method and apparatus for selecting policy and fee charging rule functional entity - Google Patents

Method and apparatus for selecting policy and fee charging rule functional entity Download PDF

Info

Publication number
CN101483826B
CN101483826B CN2008100557128A CN200810055712A CN101483826B CN 101483826 B CN101483826 B CN 101483826B CN 2008100557128 A CN2008100557128 A CN 2008100557128A CN 200810055712 A CN200810055712 A CN 200810055712A CN 101483826 B CN101483826 B CN 101483826B
Authority
CN
China
Prior art keywords
pcrf
network
information
message
visited
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
CN2008100557128A
Other languages
Chinese (zh)
Other versions
CN101483826A (en
Inventor
帅扬来
张鹏
朱文若
郭雅莉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2008100557128A priority Critical patent/CN101483826B/en
Priority to PCT/CN2009/070046 priority patent/WO2009092304A1/en
Publication of CN101483826A publication Critical patent/CN101483826A/en
Application granted granted Critical
Publication of CN101483826B publication Critical patent/CN101483826B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1453Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network
    • H04L12/1457Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network using an account
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/66Policy and charging system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

公开了选择策略和计费规则功能实体的方法和装置。一种方法包括:在非漫游场景下,DRA接收需要与PCRF建立会话的网络设备传输来的消息,DRA根据所述消息中携带的信息确定需要选择PCRF后,根据存储的PCRF信息或预定策略确定出PCRF,并向网络设备返回携带有确定出的PCRF信息的消息或向确定出的PCRF转发所述消息。另一种方法包括:在漫游场景下,归属网络DRA接收拜访网络传输来的消息,并确定出归属网络PCRF,向所述拜访网络返回携带有所述确定出的归属网络PCRF信息的消息或者向所述确定出的归属网络PCRF转发所述消息。本发明实施方式明确了选择PCRF的具体实现过程,完善了PCRF选择机制。

Figure 200810055712

A method and apparatus for selecting a policy and charging rules functional entity are disclosed. A method includes: in a non-roaming scenario, the DRA receives a message transmitted by a network device that needs to establish a session with the PCRF, and the DRA determines that the PCRF needs to be selected according to the information carried in the message, and then determines according to the stored PCRF information or a predetermined policy. The PCRF is generated, and a message carrying the determined PCRF information is returned to the network device or forwarded to the determined PCRF. Another method includes: in a roaming scenario, the home network DRA receives the message transmitted by the visited network, determines the home network PCRF, and returns a message carrying the determined home network PCRF information to the visited network or sends a message to the visited network. The determined home network PCRF forwards the message. The embodiment of the present invention clarifies the specific implementation process of selecting PCRF, and improves the PCRF selection mechanism.

Figure 200810055712

Description

选择策略和计费规则功能实体的方法和装置Method and device for selecting policy and charging rule functional entity

技术领域technical field

本发明涉及网络通讯技术领域,具体涉及选择策略和计费规则功能实体的方法和装置。The invention relates to the technical field of network communication, in particular to a method and a device for selecting policy and charging rule functional entities.

背景技术Background technique

在演进的网络如移动通信网络与宽带无线接入技术融合的网络中,一个PCRF Realm(PCRF域,Policy and Charging Rule Function,策略和计费规则功能实体)可以包含多个PCRF。PCRF Realm由DRA(Diameter Routing Agent,Diameter路由代理)管理。在GW(网关)、AF(应用服务器)等网络设备与PCRF建立会话过程中,GW和AF需要通过DRA来选择PCRF。In an evolved network such as a network where mobile communication networks and broadband wireless access technologies are integrated, a PCRF Realm (PCRF domain, Policy and Charging Rule Function, policy and charging rule functional entity) can contain multiple PCRFs. PCRF Realm is managed by DRA (Diameter Routing Agent, Diameter routing agent). In the process of establishing a session between network devices such as GW (gateway) and AF (application server) and PCRF, GW and AF need to select PCRF through DRA.

在实现本发明的过程中,发明人发现:关于PCRF的选择,目前只规定了一些高层描述,没有GW、AF等网络设备从DRA处获取PCRF的具体实现方式。网络设备通过DRA选择PCRF的具体实现过程有待于进一步完善。In the process of realizing the present invention, the inventors found that: Regarding the selection of PCRF, only some high-level descriptions are specified at present, and there is no specific implementation method for network devices such as GW and AF to obtain PCRF from DRA. The specific implementation process of network equipment selecting PCRF through DRA needs to be further improved.

发明内容Contents of the invention

本发明实施方式提供了选择策略和计费规则功能实体的方法和装置,可通过多种方式选择PCRF,明确了选择PCRF的具体实现流程,完善了选择PCRF的实现机制。另外,还明确了到Diameter路由代理的路由过程。The embodiments of the present invention provide a method and device for selecting policy and charging rule functional entities, which can select PCRF in various ways, clarify the specific implementation process of selecting PCRF, and improve the implementation mechanism of selecting PCRF. In addition, the routing process to the Diameter routing agent is also specified.

本发明实施方式提供的一种选择策略和计费规则功能实体的方法,包括:A method for selecting a policy and charging rule functional entity provided by an embodiment of the present invention includes:

在非漫游场景下,Diameter路由代理接收网络设备传输来的消息,所述网络设备为需要与选择策略和计费规则功能实体PCRF建立会话的网络设备;In a non-roaming scenario, the Diameter routing agent receives a message transmitted by a network device, and the network device is a network device that needs to establish a session with the selection policy and charging rule functional entity PCRF;

Diameter路由代理接收到网络设备传输来的消息后,根据存储的PCRF信息或预定策略确定出PCRF,并向所述网络设备返回携带有所述确定出的PCRF信息的消息或向所述确定出的PCRF转发所述消息。After the Diameter routing agent receives the message transmitted by the network device, it determines the PCRF according to the stored PCRF information or the predetermined strategy, and returns a message carrying the determined PCRF information to the network device or sends the determined PCRF information to the network device. The PCRF forwards the message.

本发明实施方式还提供一种选择策略和计费规则功能实体的方法,包括:The embodiment of the present invention also provides a method for selecting a policy and charging rule functional entity, including:

在漫游场景下,归属网络Diameter路由代理接收拜访网络传输来的消息;In the roaming scenario, the home network Diameter routing agent receives the message transmitted by the visited network;

归属网络Diameter路由代理接收到拜访网络传输来的消息后,确定出归属网络PCRF,并向所述拜访网络返回携带有所述确定出的归属网络PCRF信息的消息或者向所述确定出的归属网络PCRF转发所述消息。After receiving the message transmitted by the visited network, the home network Diameter routing agent determines the home network PCRF, and returns a message carrying the determined home network PCRF information to the visited network or sends a message to the determined home network The PCRF forwards the message.

本发明实施方式还提供一种Diameter路由代理,包括:The embodiment of the present invention also provides a Diameter routing agent, including:

第一模块,用于接收网络设备传输来的消息;所述消息包括:在非漫游场景下或者在漫游场景下第一模块所在的Diameter路由代理位于拜访网络、网络设备在与PCRF或归属网络PCRF建立会话过程中传输来的消息;The first module is configured to receive a message transmitted by the network device; the message includes: in a non-roaming scenario or in a roaming scenario, the Diameter routing agent where the first module is located is located in the visited network, and the network device is in the same relationship with the PCRF or the home network PCRF Messages transmitted during session establishment;

第二模块,用于在第一模块接收到网络设备传输来的消息后,根据存储的PCRF信息或预定策略确定出PCRF或拜访网络PCRF;The second module is configured to determine the PCRF or the visited network PCRF according to the stored PCRF information or the predetermined strategy after the first module receives the message transmitted by the network device;

第三模块,用于向所述网络设备返回携带有所述第二模块确定出的PCRF或拜访网络PCRF信息的消息,或向所述确定出的PCRF或拜访网络PCRF转发第一模块接收到的所述消息。The third module is configured to return a message carrying the PCRF or visited network PCRF information determined by the second module to the network device, or forward the information received by the first module to the determined PCRF or visited network PCRF said message.

本发明实施方式还提供一种Diameter路由代理,包括:The embodiment of the present invention also provides a Diameter routing agent, including:

第四模块,用于接收拜访网络传输来的消息;所述消息包括:在漫游场景下、拜访网络在会话建立过程中传输来的消息;The fourth module is configured to receive a message transmitted by the visited network; the message includes: in a roaming scenario, a message transmitted by the visited network during session establishment;

第五模块,用于在第四块接收到拜访网络传输来的消息后,确定出归属网络PCRF;The fifth module is used to determine the home network PCRF after the fourth block receives the message transmitted by the visited network;

第六模块,用于向拜访网络返回携带有所述确定出的归属网络PCRF信息的消息或者向所述确定出的归属网络PCRF转发第四模块接收到的消息。The sixth module is configured to return a message carrying the determined home network PCRF information to the visited network or forward the message received by the fourth module to the determined home network PCRF.

本发明实施方式还提供一种到Diameter路由代理的路由方法,包括:Embodiments of the present invention also provide a routing method to a Diameter routing agent, including:

从接入点名APN中获取分组数据网PDN信息;Obtain the packet data network PDN information from the access point name APN;

根据所述PDN信息获取Diameter路由代理所在域信息;Acquiring the domain information where the Diameter routing agent is located according to the PDN information;

根据所述获取的域信息向Diameter路由代理进行消息路由。Routing the message to the Diameter routing agent according to the acquired domain information.

通过上述技术方案的描述可知,在非漫游场景下,Diameter路由代理可以将确定出的PCRF信息返回至网络设备,也可以将网络设备传输来的消息转发至确定出的PCRF,明确了Diameter路由代理可以作为Redirect服务器或信息查询服务器、也可以作为Proxy代理;在漫游场景下,归属网络Diameter路由代理可以将确定出的归属网络PCRF信息返回至拜访网络,也可以向确定出的归属网络PCRF转发拜访网络传输来的消息,同样明确了Diameter路由代理可以作为Redirect服务器或信息查询服务器、也可以作为Proxy代理;本发明实施方式明确了在非漫游场景下、以及漫游场景下选择PCRF的具体实现过程,完善了选择PCRF的实现机制。另外,本发明实施方式还明确了到Diameter路由代理的路由过程。From the description of the above technical solution, it can be seen that in a non-roaming scenario, the Diameter routing agent can return the determined PCRF information to the network device, and can also forward the message transmitted by the network device to the determined PCRF, which defines the Diameter routing agent. It can be used as a Redirect server or an information query server, or as a Proxy agent; in a roaming scenario, the home network Diameter routing agent can return the determined home network PCRF information to the visited network, and can also forward the visit to the determined home network PCRF The message transmitted by the network also clarifies that the Diameter routing agent can be used as a Redirect server or an information query server, or as a Proxy agent; the embodiment of the present invention clarifies the specific implementation process of selecting PCRF in a non-roaming scenario and a roaming scenario, The implementation mechanism of selecting PCRF has been improved. In addition, the embodiment of the present invention also clarifies the routing process to the Diameter routing agent.

附图说明Description of drawings

图1是本发明实施例一的选择PCRF的方法流程图;Fig. 1 is the flow chart of the method for selecting PCRF of embodiment one of the present invention;

图2是本发明实施例二的选择PCRF的方法流程图;Fig. 2 is the flow chart of the method for selecting PCRF of embodiment 2 of the present invention;

图3是本发明实施例三的选择PCRF的方法流程图;3 is a flowchart of a method for selecting a PCRF according to Embodiment 3 of the present invention;

图4是本发明实施例四的选择PCRF的方法流程图;4 is a flowchart of a method for selecting a PCRF according to Embodiment 4 of the present invention;

图5是本发明实施例五的选择PCRF的方法流程图;5 is a flowchart of a method for selecting a PCRF according to Embodiment 5 of the present invention;

图6是本发明实施例六的选择PCRF的方法流程图;6 is a flowchart of a method for selecting a PCRF according to Embodiment 6 of the present invention;

图7是本发明实施例七的选择PCRF的方法流程图;7 is a flowchart of a method for selecting a PCRF according to Embodiment 7 of the present invention;

图8是本发明实施例八的选择PCRF的方法流程图;8 is a flowchart of a method for selecting a PCRF according to Embodiment 8 of the present invention;

图9是本发明实施例的Diameter路由代理示意图。FIG. 9 is a schematic diagram of a Diameter routing agent according to an embodiment of the present invention.

具体实施方式Detailed ways

在本发明实施方式中,演进的网络中的负有选择PCRF职责的DRA可以在选择了PCRF后,不用将收到的消息路由到选择的PCRF处,也可以将收到的消息路由到PCRF,即负有选择PCRF职责的DRA可以充当Redirect服务器或信息查询服务器的角色,也可以充当Proxy代理的角色。In the embodiment of the present invention, the DRA responsible for selecting the PCRF in the evolved network may route the received message to the PCRF instead of routing the received message to the PCRF after selecting the PCRF, That is, the DRA responsible for selecting the PCRF can act as a Redirect server or an information query server, or as a Proxy agent.

在非漫游的应用场景下,与需要建立会话的网络设备对应的DRA负有选择PCRF职责。在漫游的应用场景下,负有选择PCRF职责的DRA可以仅为归属网络DRA,也可以为拜访网络DRA和归属网络DRA。本发明实施方式中的网络设备为需要与PCRF建立会话的网络设备,该网络设备可以为GW,也可以为AF,当然,也可以为其它网络设备,GW可以为Serving GW(服务网关)、PDN GW(分组数据网网关)、非3GPP网络的aGW(access Gateway,接入网关)等。其中,在非3GPP网络为WIMAX时,非3GPP aGW可以是ASN GW(AccessService Network Gateway,接入业务网关);在非3GPP网络为CDMA2000 HRPD(High Rate Packet Data network,高速分组数据网)时,非3GPP aGW可以是PDSN(Packet Data Serving Node,分组数据服务节点);在非3GPP网络为IWLAN(Interworking Wireless Local Access network,支持互通的无线本地接入网)时,非3GPP aGW可以是ePDG(evolved Packet Data Gateway,演进分组数据网关)。本发明实施方式不限制网络设备的具体表现形式。In a non-roaming application scenario, the DRA corresponding to the network device that needs to establish a session is responsible for selecting a PCRF. In the roaming application scenario, the DRA responsible for selecting the PCRF may be only the home network DRA, or may be the visited network DRA and the home network DRA. The network device in the embodiment of the present invention is a network device that needs to establish a session with PCRF. The network device can be GW or AF. Of course, it can also be other network devices. GW can be Serving GW (Serving Gateway), PDN GW (packet data network gateway), aGW (access Gateway, access gateway) of non-3GPP network, etc. Among them, when the non-3GPP network is WIMAX, the non-3GPP aGW can be ASN GW (Access Service Network Gateway, access service gateway); when the non-3GPP network is CDMA2000 HRPD (High Rate Packet Data network, high-speed packet data network), the non-3GPP 3GPP aGW can be PDSN (Packet Data Serving Node, packet data service node); when the non-3GPP network is IWLAN (Interworking Wireless Local Access network, supporting interworking wireless local access network), the non-3GPP aGW can be ePDG (evolved Packet Data Gateway, Evolved Packet Data Gateway). The embodiment of the present invention does not limit the specific expression form of the network device.

本发明实施方式提供的选择PCRF的技术方案可以应用在3GPP系统中,也可以应用非3GPP接入的系统中。而且,可以应用在Initial Attach(初始附着)的会话建立过程中,也可以应用在handover(切换)的会话建立过程中,当然,也可以应用在需要建立会话的其它过程中。The technical solution for selecting a PCRF provided by the embodiment of the present invention can be applied in a 3GPP system, and can also be applied in a non-3GPP access system. Moreover, it can be applied in the session establishment process of Initial Attach (initial attachment), can also be applied in the session establishment process of handover (handover), and of course, can also be applied in other processes that need to establish a session.

当本发明实施方式提供的选择PCRF的技术方案应用在3GPP initial Attach过程中、且Serving GW和PDN GW之间基于IETF时,Serving GW、PDN GW和AF需要与PCRF建立Session(会话),即Serving GW、PDN GW和AF都需要与DRA交互以获取对应的PCRF信息。在上述情况下,下述针对附图描述的GW包括:Serving GW和PDN GW。When the technical solution for selecting PCRF provided by the embodiment of the present invention is applied in the 3GPP initial Attach process, and the Serving GW and PDN GW are based on IETF, the Serving GW, PDN GW, and AF need to establish a Session (session) with PCRF, that is, Serving GW, PDN GW and AF all need to interact with DRA to obtain corresponding PCRF information. In the above case, the GW described below for the accompanying drawings includes: Serving GW and PDN GW.

当本发明实施方式提供的选择PCRF的技术方案应用在3GPP initial Attach过程中、且Serving GW和PDN GW之间基于GTP协议时,只有PDN GW和AF需要与PCRF建立Session,即PDN GW和AF需要与DRA交互以获取对应的PCRF信息。在上述情况下,下述针对附图描述的GW包括:PDN GW。When the technical solution for selecting PCRF provided by the embodiment of the present invention is applied in the 3GPP initial Attach process, and the Serving GW and the PDN GW are based on the GTP protocol, only the PDN GW and the AF need to establish a Session with the PCRF, that is, the PDN GW and the AF need Interact with DRA to obtain corresponding PCRF information. In the above case, the GW described below for the accompanying drawings includes: PDN GW.

当本发明实施方式提供的选择PCRF的技术方案应用在从其他网络到3GPP的切换过程中、且Serving GW和PDN GW之间基于IETF时,在Serving GW发生变化的情况下,需要进行PCRF的重新选择,此时,Serving GW需要与DRA交互以获取对应的PCRF信息。在上述情况下,下面针对附图描述的GW包括:Serving GW。When the technical solution for selecting PCRF provided by the embodiment of the present invention is applied in the handover process from other networks to 3GPP, and the Serving GW and the PDN GW are based on IETF, when the Serving GW changes, the PCRF needs to be reset. Select, at this time, the Serving GW needs to interact with the DRA to obtain the corresponding PCRF information. In the above case, the GW described below for the accompanying drawings includes: Serving GW.

当本发明实施方式提供的选择PCRF的技术方案应用在非3GPP的initialAttach过程中、且终端基于S2(非3GPP aGW与PDN GW之间的接口)漫游或非漫游时,非3GPP aGW(access Gateway,接入网关)、PDN GW和AF都需要与PCRF建立会话,即非3GPP aGW、PDN GW和AF都需要与DRA交互以获取PCRF信息。在上述情况下,下述针对附图描述的GW包括:非3GPP aGW、PDN GW。其中非3GPP aGW可以是ePDG、ASN GW、PDSN等。When the technical solution for selecting PCRF provided by the embodiment of the present invention is applied in the non-3GPP initialAttach process, and the terminal is roaming or non-roaming based on S2 (the interface between the non-3GPP aGW and the PDN GW), the non-3GPP aGW (access Gateway, access gateway), PDN GW and AF all need to establish a session with PCRF, that is, non-3GPP aGW, PDN GW and AF all need to interact with DRA to obtain PCRF information. In the above case, the GW described below for the accompanying drawings includes: non-3GPP aGW, PDN GW. The non-3GPP aGW can be ePDG, ASN GW, PDSN, etc.

当本发明实施方式提供的选择PCRF的技术方案应用在非3GPP的initialAttach过程中、且终端基于S8(Serving GW与PDN GW之间的接口)接口漫游即终端基于S2+S8接口漫游时,非3GPP aGW、PDN GW、Serving GW和AF都需要与PCRF建立会话,即非3GPP aGW、PDN GW、Serving GW和AF都需要与DRA交互以获取PCRF信息。在上述情况下,下述针对附图描述的GW包括:非3GPP aGW、Serving GW、PDN GW。非3GPP aGW如ePDG、ASN GW、PDSN等。When the technical solution for selecting PCRF provided by the embodiment of the present invention is applied in the non-3GPP initialAttach process, and the terminal roams based on the S8 (interface between Serving GW and PDN GW) interface, that is, when the terminal roams based on the S2+S8 interface, the non-3GPP aGW, PDN GW, Serving GW, and AF all need to establish a session with PCRF, that is, non-3GPP aGW, PDN GW, Serving GW, and AF all need to interact with DRA to obtain PCRF information. In the above case, the GW described below for the accompanying drawings includes: non-3GPP aGW, Serving GW, and PDN GW. Non-3GPP aGW such as ePDG, ASN GW, PDSN, etc.

当本发明实施方式提供的选择PCRF的技术方案应用在从其他网络到非3GPP的切换过程中、且终端基于S2漫游时,只有非3GPP的aGW可能发生变化,即非3GPP的aGW需要重新选择PCRF以建立新的会话。在上述情况下,下述针对附图描述的GW包括:非3GPP aGW。When the technical solution for selecting PCRF provided by the embodiment of the present invention is applied in the handover process from other networks to non-3GPP, and the terminal roams based on S2, only the non-3GPP aGW may change, that is, the non-3GPP aGW needs to re-select PCRF to establish a new session. In the above case, the GW described below for the accompanying drawings includes: non-3GPP aGW.

当本发明实施方式提供的选择PCRF的技术方案应用在从其他网络到非3GPP的切换过程中、且终端基于S2+S8接口漫游时,非3GPP aGW和ServingGW都可能发生变化,即非3GPP aGW和Serving GW可能都需要重新选择PCRF以建立新的会话。在这种情况下,下述针对附图描述的GW包括:非3GPP aGW、以及Serving GW中的任意一个或两个。When the technical solution for selecting PCRF provided by the embodiment of the present invention is applied in the handover process from other networks to non-3GPP, and the terminal roams based on the S2+S8 interface, both the non-3GPP aGW and the ServingGW may change, that is, the non-3GPP aGW and the ServingGW may change. Serving GW may need to re-select PCRF to establish a new session. In this case, the GW described below for the accompanying drawings includes: any one or both of the non-3GPP aGW and the Serving GW.

下面结合附图、针对不同的应用场景对本发明实施方式提供的选择PCRF的方法流程进行详细说明。The flow of the method for selecting a PCRF provided in the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings for different application scenarios.

在DRA作为Redirect服务器、且终端处于非漫游的应用场景下,选择PCRF的流程如附图1所示。In an application scenario where the DRA serves as the Redirect server and the terminal is not roaming, the process of selecting a PCRF is shown in Figure 1.

图1中,步骤1、GW/AF(GW或者AF)确定需要与对应的PCRF建立会话绑定,GW/AF根据路由信息(如缺省的路由配置信息)向DRA发送会话建立请求,以请求建立GW/AF到PCRF之间的会话。会话建立请求消息中可以携带终端标识信息、终端地址信息以及APN(Access Point Name,业务接入点名称)等;或者会话建立请求消息中可以携带PDN ID、终端地址信息等。另外,GW/AF也可以根据NAI或其他信息进行会话建立请求消息的路由。In Figure 1, step 1, GW/AF (GW or AF) determines that it needs to establish a session binding with the corresponding PCRF, and GW/AF sends a session establishment request to DRA according to routing information (such as default routing configuration information) to request Establish a session between GW/AF and PCRF. The session establishment request message can carry terminal identification information, terminal address information, and APN (Access Point Name, service access point name), etc.; or the session establishment request message can carry PDN ID, terminal address information, etc. In addition, the GW/AF may also route the session establishment request message according to the NAI or other information.

步骤2、DRA接收到会话建立请求消息后,根据会话建立请求消息中承载的信息(如根据终端标识信息、终端地址信息和APN等,或者根据PDN ID、终端地址信息等)判断是否保存有已经选定的PCRF信息;如果保存有已经选定的PCRF信息,则直接获取保存的PCRF信息;如果没有保存已经选定的PCRF,则DRA根据预定的本地策略选择一个PCRF(如DRA根据负荷分担等策略选择一个最合适的PCRF),并保存选择的PCRF信息,保存的格式可以为:终端标识、终端地址、APN和PCRF信息的对应关系。DRA保存的PCRF信息可以是PCRF ID、PCRF IP Address、PCRF FQDN中的一个或多个。After step 2, DRA receives session establishment request message, according to the information carried in the session establishment request message (such as according to terminal identification information, terminal address information and APN etc., or according to PDN ID, terminal address information etc.) Selected PCRF information; if the selected PCRF information is saved, the saved PCRF information is obtained directly; if the selected PCRF is not saved, DRA selects a PCRF according to a predetermined local policy (such as DRA according to load sharing, etc. The strategy selects a most suitable PCRF), and saves the selected PCRF information, and the saved format may be: the corresponding relationship between terminal identifier, terminal address, APN and PCRF information. The PCRF information saved by the DRA can be one or more of PCRF ID, PCRF IP Address, and PCRF FQDN.

步骤3、DRA将选择的PCRF信息携带在重定向通知消息中返回给GW/AF。Step 3. The DRA returns the selected PCRF information to the GW/AF in a redirection notification message.

步骤4、GW/AF接收到DRA的返回的重定向通知消息后,从重定向通知消息中获取PCRF信息,并根据PCRF信息向PCRF发送会话建立请求,即GW/AF直接发起到PCRF的会话建立过程。Step 4. After receiving the redirection notification message returned by the DRA, the GW/AF obtains the PCRF information from the redirection notification message, and sends a session establishment request to the PCRF according to the PCRF information, that is, the GW/AF directly initiates the session establishment process to the PCRF .

步骤5、PCRF接收到GW/AF发送来的会话建立请求后,向GW/AF返回会话建立回应消息。Step 5: After receiving the session establishment request sent by the GW/AF, the PCRF returns a session establishment response message to the GW/AF.

上述图1步骤1中的会话建立请求也可以是查询请求消息,即图1中的流程也可以为:GW/AF在需要与PCRF建立会话时,主动向DRA发送查询请求消息,以获取对应的PCRF信息;DRA在接收到查询请求消息后,可以采用上述图1步骤2描述的内容选择PCRF,然后,DRA将选择的PCRF信息携带在查询回应消息中返回给GW/AF;之后,GW/AF从查询回应消息中获取PCRF信息,并根据PCRF信息向PCRF发送会话建立请求。此时,DRA作为信息查询服务器。The session establishment request in Step 1 of Figure 1 above can also be a query request message, that is, the process in Figure 1 can also be: when GW/AF needs to establish a session with PCRF, it actively sends a query request message to DRA to obtain the corresponding PCRF information; after receiving the query request message, the DRA can select the PCRF using the content described in step 2 of Figure 1 above, and then, the DRA returns the selected PCRF information to the GW/AF in the query response message; after that, the GW/AF Obtain PCRF information from the query response message, and send a session establishment request to the PCRF according to the PCRF information. At this time, the DRA acts as an information query server.

在DRA作为Redirect服务器、且终端处于漫游的应用场景下,选择PCRF一个实施例的流程如附图2所示。在该实施例中,vDRA(拜访网络DRA)、hDRA均参与PCRF选择,即vDRA、hDRA均负有PCRF选择职责;vPCRF(拜访网络PCRF)与hDRA之间存在互通接口,以进行vPCRF与hDRA之间的消息传输。In an application scenario where the DRA serves as the Redirect server and the terminal is roaming, an embodiment process of selecting a PCRF is shown in FIG. 2 . In this embodiment, both vDRA (visited network DRA) and hDRA participate in PCRF selection, that is, both vDRA and hDRA are responsible for PCRF selection; there is an intercommunication interface between vPCRF (visited network PCRF) and hDRA for the connection between vPCRF and hDRA message transmission between.

图2中,步骤1、GW/AF确定需要与归属网络中的hPCRF(归属网络PCRF)建立会话绑定,GW/AF根据路由信息(如缺省的路由配置信息)向拜访网络中的vDRA发送会话建立请求,以请求建立GW/AF到hPCRF之间的会话。会话建立请求消息中可以携带终端标识信息、终端地址信息以及APN等;或者会话建立请求消息中可以携带PDN ID、终端地址信息等。另外,GW/AF也可以根据NAI或其他信息进行路由。In Figure 2, in step 1, GW/AF determines that a session binding needs to be established with hPCRF (home network PCRF) in the home network, and GW/AF sends a message to vDRA in the visited network according to routing information (such as default routing configuration information) A session establishment request is used to request establishment of a session between the GW/AF and the hPCRF. The session establishment request message may carry terminal identification information, terminal address information, and APN, etc.; or the session establishment request message may carry PDN ID, terminal address information, etc. In addition, GW/AF can also perform routing according to NAI or other information.

步骤2、vDRA接收到会话建立请求消息后,根据会话建立请求消息中承载的信息(如根据终端标识信息、终端地址信息和APN等,或者根据PDN ID、终端地址信息等)判断是否保存有已经选定的拜访网络中的vPCRF信息;如果保存有已经选定的vPCRF信息,则直接获取保存的vPCRF信息;如果没有保存已经选定的vPCRF,则vDRA根据预定的本地策略选择一个vPCRF(如vDRA根据负荷分担等策略选择一个最合适的vPCRF),并保存选择的vPCRF信息,保存的格式可以为:终端标识、终端地址、APN和vPCRF信息的对应关系。vDRA保存的vPCRF信息可以是PCRF ID、PCRF IP Address、PCRF FQDN中的一个或多个。Step 2. After vDRA receives the session establishment request message, it judges whether to save the existing The vPCRF information in the selected visited network; if the selected vPCRF information is saved, the saved vPCRF information is obtained directly; if the selected vPCRF information is not saved, vDRA selects a vPCRF according to a predetermined local policy (such as vDRA Select a most suitable vPCRF according to policies such as load sharing), and save the selected vPCRF information, and the saved format may be: the corresponding relationship between terminal identifier, terminal address, APN and vPCRF information. The vPCRF information saved by vDRA can be one or more of PCRF ID, PCRF IP Address, and PCRF FQDN.

步骤3、vDRA将选择的vPCRF信息携带在重定向通知消息中返回给GW/AF。此外,重定向通知消息中还可以携带NAI信息或家乡域信息等。Step 3. The vDRA returns the selected vPCRF information to the GW/AF in a redirection notification message. In addition, the redirection notification message may also carry NAI information or home domain information.

步骤4、GW/AF接收到vDRA的返回的重定向通知消息后,从重定向通知消息中获取vPCRF信息,并根据vPCRF信息向vPCRF发送会话建立请求,即GW/AF直接发起到vPCRF的会话建立过程。Step 4: After receiving the redirection notification message returned by vDRA, GW/AF obtains vPCRF information from the redirection notification message, and sends a session establishment request to vPCRF according to the vPCRF information, that is, GW/AF directly initiates the session establishment process to vPCRF .

步骤5、vPCRF在接收到会话建立请求后,根据路由信息(如缺省的路由配置信息)向归属网络中的hDRA发送会话建立请求,以请求建立到hPCRF之间的会话。会话建立请求消息中可以携带终端标识信息、终端地址信息以及APN等;或者会话建立请求消息中可以携带PDN ID、终端地址信息等。另外,vPCRF也可以根据NAI或其他信息进行路由。vPCRF向hDRA发送会话建立请求的过程可以为:当vPCRF接收到的重定向通知消息的目的地址指向vPCRF(如重定向通知消息中主机名指向vPCRF),而域名指向拜访网络,则vPCRF根据终端标识等信息获取用户的归属网络信息,并对会话建立请求消息的目的地址中的域名进行修改,以指向归属网络,然后,vPCRF发送该会话建立请求。Step 5. After receiving the session establishment request, the vPCRF sends a session establishment request to the hDRA in the home network according to routing information (such as default routing configuration information), so as to request to establish a session with hPCRF. The session establishment request message may carry terminal identification information, terminal address information, and APN, etc.; or the session establishment request message may carry PDN ID, terminal address information, etc. In addition, vPCRF can also perform routing according to NAI or other information. The process for vPCRF to send a session establishment request to hDRA can be as follows: when the destination address of the redirection notification message received by vPCRF points to vPCRF (for example, the host name in the redirection notification message points to vPCRF), and the domain name points to the visited network, then vPCRF uses the terminal identifier obtain the user's home network information, and modify the domain name in the destination address of the session establishment request message to point to the home network, and then, the vPCRF sends the session establishment request.

步骤6、hDRA接收到会话建立请求消息后,根据会话建立请求消息中承载的信息(如根据终端标识信息、终端地址信息和APN等,或者根据PDN ID、终端地址信息等)判断是否保存有已经选定的归属网络中的hPCRF信息;如果保存有已经选定的hPCRF信息,则直接获取保存的hPCRF信息;如果没有保存已经选定的hPCRF,则hDRA根据预定的本地策略选择一个hPCRF(如hDRA根据负荷分担等策略选择一个最合适的hPCRF),并保存选择的hPCRF信息,保存的格式可以为:终端标识、终端地址、APN和hPCRF信息的对应关系。hDRA保存的hPCRF信息可以是PCRF ID、PCRF IP Address、PCRF FQDN中的一个或多个。Step 6: After hDRA receives the session establishment request message, it judges whether to save the existing information according to the information carried in the session establishment request message (such as according to terminal identification information, terminal address information and APN, etc., or according to PDN ID, terminal address information, etc.) The hPCRF information in the selected home network; if the selected hPCRF information is saved, the saved hPCRF information is directly obtained; if the selected hPCRF is not saved, hDRA selects a hPCRF according to a predetermined local strategy (such as hDRA Select a most suitable hPCRF according to strategies such as load sharing), and save the selected hPCRF information, and the saved format may be: the corresponding relationship between terminal identifier, terminal address, APN and hPCRF information. The hPCRF information stored by hDRA can be one or more of PCRF ID, PCRF IP Address, and PCRF FQDN.

步骤7、hDRA将选择的hPCRF信息携带在重定向通知消息中返回给vPCRF。Step 7: The hDRA returns the selected hPCRF information to the vPCRF in a redirection notification message.

步骤8、vPCRF接收到hDRA返回的重定向通知消息后,根据重定向通知消息中携带的hPCRF信息向hPCRF信息发送会话建立请求消息。vPCRF发送会话建立请求消息的过程可以为:将hDRA返回的重定向通知消息目的地址中的主机名修改为指向归属网络hPCRF。Step 8: After receiving the redirection notification message returned by the hDRA, the vPCRF sends a session establishment request message to the hPCRF information according to the hPCRF information carried in the redirection notification message. The process for the vPCRF to send the session establishment request message may be: modifying the host name in the destination address of the redirect notification message returned by the hDRA to point to the home network hPCRF.

步骤9、hPCRF在接收到会话建立请求消息后,向vPCRF返回会话建立回应消息。Step 9: After receiving the session establishment request message, the hPCRF returns a session establishment response message to the vPCRF.

步骤10、vPCRF将接收到的会话建立回应消息转发给GW/AF。从而完成了GW/AF和hPCRF之间的会话建立过程。Step 10, vPCRF forwards the received session establishment response message to GW/AF. Thus, the session establishment process between the GW/AF and the hPCRF is completed.

上述图2步骤1、步骤5中的会话建立请求也可以是查询请求消息,即图2中的流程也可以为:GW/AF在需要与PCRF建立会话时,主动向vDRA发送查询请求消息,以获取对应的vPCRF信息;vDRA在接收到查询请求消息后,可以采用上述图2步骤2描述的内容选择vPCRF,并将选择的vPCRF信息携带在查询回应消息中返回给GW/AF;之后,GW/AF从查询回应消息中获取vPCRF信息,并根据vPCRF信息向vPCRF发送会话建立请求;vPCRF在接收到会话建立请求后向hDRA发送查询请求消息,以获取对应的hPCRF信息;hDRA在接收到查询请求消息后,可以采用上述图2步骤6描述的内容选择hPCRF,并将选择的hPCRF信息携带在查询回应消息中返回给vPCRF;vPCRF从接收到的查询回应消息中获取hPCRF信息,并根据hPCRF信息向hPCRF发送会话建立请求,后续步骤如图2步骤9、10的描述。此时,DRA作为信息查询服务器。The session establishment request in Step 1 and Step 5 of Figure 2 above can also be a query request message, that is, the process in Figure 2 can also be: when GW/AF needs to establish a session with PCRF, it actively sends a query request message to vDRA to Obtain the corresponding vPCRF information; after vDRA receives the query request message, it can use the content described in step 2 of Figure 2 to select a vPCRF, and return the selected vPCRF information to the GW/AF in the query response message; after that, the GW/ AF obtains vPCRF information from the query response message, and sends a session establishment request to vPCRF according to the vPCRF information; after receiving the session establishment request, vPCRF sends a query request message to hDRA to obtain the corresponding hPCRF information; hDRA receives the query request message Finally, the content described in step 6 of Figure 2 above can be used to select hPCRF, and the selected hPCRF information will be carried in the query response message and returned to vPCRF; vPCRF obtains hPCRF information from the received query response message, and sends hPCRF information to hPCRF Send a session establishment request, and the subsequent steps are as described in steps 9 and 10 in Figure 2. At this time, the DRA acts as an information query server.

在DRA作为Redirect服务器、且终端处于漫游的应用场景下,选择PCRF另一个实施例的流程如附图3所示。在该实施例中,vDRA、hDRA均参与PCRF选择,即vDRA、hDRA均负有PCRF选择职责;vDRA与hDRA之间存在互通接口,以进行vDRA与hDRA之间的消息传输。In an application scenario where the DRA serves as the Redirect server and the terminal is roaming, the flow of another embodiment of selecting a PCRF is shown in FIG. 3 . In this embodiment, both vDRA and hDRA participate in PCRF selection, that is, both vDRA and hDRA are responsible for PCRF selection; there is an intercommunication interface between vDRA and hDRA for message transmission between vDRA and hDRA.

图3中,步骤1、GW/AF确定需要与归属网络中的hPCRF建立会话绑定,GW/AF根据路由信息(如缺省的路由配置信息)向拜访网络中的vDRA发送会话建立请求,以请求建立GW/AF到hPCRF之间的会话。会话建立请求消息中可以携带终端标识信息、终端地址信息以及APN等;或者会话建立请求消息中可以携带PDN ID、终端地址信息等。另外,GW/AF也可以根据NAI或其他信息进行路由。In Figure 3, in step 1, GW/AF determines that a session binding needs to be established with hPCRF in the home network, and GW/AF sends a session establishment request to vDRA in the visited network according to routing information (such as default routing configuration information) to Request to establish a session between GW/AF and hPCRF. The session establishment request message may carry terminal identification information, terminal address information, and APN, etc.; or the session establishment request message may carry PDN ID, terminal address information, etc. In addition, GW/AF can also perform routing according to NAI or other information.

步骤2、vDRA在接收到会话建立请求后,确定需要建立会话的PCRF在家乡域(home realm),则vDRA向hDRA转发会话建立请求消息。Step 2. After receiving the session establishment request, the vDRA determines that the PCRF that needs to establish the session is in the home realm, and then the vDRA forwards the session establishment request message to the hDRA.

步骤3、hDRA接收到会话建立请求消息后,根据会话建立请求消息中承载的信息(如根据终端标识信息、终端地址信息和APN等,或者根据PDN ID、终端地址信息等)判断是否保存有已经选定的归属网络中的hPCRF信息;如果保存有已经选定的hPCRF信息,则直接获取保存的hPCRF信息;如果没有保存已经选定的hPCRF,则hDRA根据预定的本地策略选择一个hPCRF(如hDRA根据负荷分担等策略选择一个最合适的hPCRF),并保存选择的hPCRF信息,保存的格式可以为:终端标识、终端地址、APN和hPCRF信息的对应关系。hDRA保存的hPCRF信息可以是PCRF ID、PCRF IP Address、PCRF FQDN中的一个或多个。After step 3, hDRA receives session establishment request message, according to the information carried in the session establishment request message (such as according to terminal identification information, terminal address information and APN etc., or according to PDN ID, terminal address information etc.) The hPCRF information in the selected home network; if the selected hPCRF information is saved, the saved hPCRF information is directly obtained; if the selected hPCRF is not saved, hDRA selects a hPCRF according to a predetermined local strategy (such as hDRA Select a most suitable hPCRF according to strategies such as load sharing), and save the selected hPCRF information, and the saved format may be: the corresponding relationship between terminal identifier, terminal address, APN and hPCRF information. The hPCRF information stored by hDRA can be one or more of PCRF ID, PCRF IP Address, and PCRF FQDN.

步骤4、hDRA将选择的hPCRF信息携带在重定向通知消息中返回给vDRA。Step 4: The hDRA returns the selected hPCRF information to the vDRA in a redirection notification message.

步骤5、vDRA接收到重定向通知消息后,根据重定向通知消息中承载的信息(如根据终端标识信息、终端地址信息和APN等,或者根据PDN ID、终端地址信息等)判断是否保存有已经选定的拜访网络中的vPCRF信息;如果保存有已经选定的vPCRF信息,则直接获取保存的vPCRF信息;如果没有保存已经选定的vPCRF,则vDRA根据预定的本地策略选择一个vPCRF(如vDRA根据负荷分担等策略选择一个最合适的vPCRF),并保存选择的vPCRF信息,保存的格式可以为:终端标识、终端地址、APN和vPCRF信息的对应关系。vDRA保存的vPCRF信息可以是PCRF ID、PCRF IP Address、PCRF FQDN中的一个或多个。Step 5. After vDRA receives the redirection notification message, it judges whether to save the existing information according to the information carried in the redirection notification message (such as according to the terminal identification information, terminal address information and APN, etc., or according to the PDN ID, terminal address information, etc.) The vPCRF information in the selected visited network; if the selected vPCRF information is saved, the saved vPCRF information is obtained directly; if the selected vPCRF information is not saved, vDRA selects a vPCRF according to a predetermined local policy (such as vDRA Select a most suitable vPCRF according to policies such as load sharing), and save the selected vPCRF information, and the saved format may be: the corresponding relationship between terminal identifier, terminal address, APN and vPCRF information. The vPCRF information saved by vDRA can be one or more of PCRF ID, PCRF IP Address, and PCRF FQDN.

步骤6、vDRA将选择的vPCRF信息加入到其接收的重定向通知消息中,并向GW/AF转发此重定向通知消息。Step 6. The vDRA adds the selected vPCRF information to the redirection notification message it receives, and forwards the redirection notification message to the GW/AF.

步骤7、GW/AF从接收到的重定向通知消息中获取hPCRF信息和vPCRF信息,并根据vPCRF信息向vPCRF发送会话建立请求消息,该会话建立请求消息中携带有hPCRF信息。本发明实施例可以通过在会话建立请求消息中扩展一个新的AVP(Attribute-Value Pairs,属性值对)的方式来使会话建立请求消息中携带hPCRF信息。Step 7: GW/AF acquires hPCRF information and vPCRF information from the received redirection notification message, and sends a session establishment request message to vPCRF according to the vPCRF information, and the session establishment request message carries hPCRF information. In the embodiment of the present invention, hPCRF information may be carried in the session establishment request message by extending a new AVP (Attribute-Value Pairs, attribute-value pair) in the session establishment request message.

步骤8、vPCRF从接收到的会话建立请求消息的AVP中获取hPCRF信息,并向hPCRF转发会话建立请求消息。Step 8. The vPCRF acquires hPCRF information from the AVP of the received session establishment request message, and forwards the session establishment request message to hPCRF.

步骤9、hPCRF向vPCRF返回会话建立回应消息。Step 9: The hPCRF returns a session establishment response message to the vPCRF.

步骤10、vPCRF向GW/AF转发会话建立回应消息。从而完成了GW/AF和hPCRF之间的会话建立过程。Step 10, the vPCRF forwards the session establishment response message to the GW/AF. Thus, the session establishment process between the GW/AF and the hPCRF is completed.

上述图3步骤1、步骤2中的会话建立请求也可以是查询请求消息,即图3中的流程也可以为:GW/AF在需要与PCRF建立会话时,主动向vDRA发送查询请求消息,以获取对应的vPCRF信息;vDRA在接收到查询请求消息后,向hDRA发送查询请求消息,以获取对应的hPCRF信息;hDRA在接收到查询请求消息后,可以采用上述图3步骤3描述的内容选择hPCRF,并将选择的hPCRF信息携带在查询回应消息中返回给vDRA;vDRA可以采用上述图3步骤5描述的内容选择vPCRF,并将hPCRF信息、选择的vPCRF信息携带在查询回应消息中返回给GW/AF;之后,GW/AF从查询回应消息中获取vPCRF信息,并根据vPCRF信息向vPCRF发送会话建立请求,该会话建立请求中携带有hPCRF信息;vPCRF在接收到会话建立请求后,根据会话建立请求中的hPCRF信息向hPCRF转发会话建立请求消息,后续步骤如图3步骤9、10的描述。此时,DRA作为信息查询服务器。The session establishment request in Step 1 and Step 2 of Figure 3 above can also be a query request message, that is, the process in Figure 3 can also be: when GW/AF needs to establish a session with PCRF, it actively sends a query request message to vDRA to Obtain the corresponding vPCRF information; after receiving the query request message, vDRA sends a query request message to hDRA to obtain the corresponding hPCRF information; after receiving the query request message, hDRA can use the content described in step 3 of Figure 3 to select hPCRF , and carry the selected hPCRF information in the query response message and return it to vDRA; vDRA can use the content described in step 5 of Figure 3 to select vPCRF, and carry the hPCRF information and the selected vPCRF information in the query response message and return it to GW/ AF; after that, GW/AF obtains vPCRF information from the query response message, and sends a session establishment request to vPCRF according to the vPCRF information, and the session establishment request carries hPCRF information; after vPCRF receives the session establishment request, according to the session establishment request The hPCRF information in the hPCRF forwards the session establishment request message to the hPCRF, and the subsequent steps are as described in steps 9 and 10 in FIG. 3 . At this time, the DRA acts as an information query server.

在DRA作为Redirect服务器、且终端处于漫游的应用场景下,选择PCRF另一个实施例的流程如附图4所示。在该实施例中,vDRA(拜访网络DRA)不参与PCRF选择、hDRA参与PCRF选择,即vDRA不负有PCRF选择职责、hDRA负有PCRF选择职责;vPCRF与hDRA之间存在互通接口,以进行vPCRF与hDRA之间的消息传输。In an application scenario where the DRA serves as the Redirect server and the terminal is roaming, the flow of another embodiment of selecting a PCRF is shown in FIG. 4 . In this embodiment, vDRA (visited network DRA) does not participate in PCRF selection, and hDRA participates in PCRF selection, that is, vDRA does not have the responsibility for PCRF selection, but hDRA has the responsibility for PCRF selection; there is an intercommunication interface between vPCRF and hDRA to perform vPCRF Message transmission with hDRA.

图4中,步骤1、GW/AF确定需要与归属网络中的hPCRF建立会话绑定,GW/AF向vPCRF发送会话建立请求消息。GW/AF可以向预先配置的vPCRF发送会话建立请求消息,GW/AF也可以根据预定的本地策略选择一个vPCRF并向该选择的vPCRF发送会话建立请求消息。In Fig. 4, in step 1, the GW/AF determines that a session binding needs to be established with the hPCRF in the home network, and the GW/AF sends a session establishment request message to the vPCRF. The GW/AF may send a session establishment request message to a pre-configured vPCRF, and the GW/AF may also select a vPCRF according to a predetermined local policy and send a session establishment request message to the selected vPCRF.

步骤2、vPCRF在接收到会话建立请求后,根据路由信息(如缺省的路由配置信息)向归属网络中的hDRA发送会话建立请求,以请求建立到hPCRF之间的会话。会话建立请求消息中可以携带终端标识信息、终端地址信息以及APN等;或者会话建立请求消息中可以携带PDN ID、终端地址信息等。另外,vPCRF也可以根据NAI或其他信息进行会话建立请求消息的路由。vPCRF向hDRA发送会话建立请求的过程可以为:当vPCRF接收到的重定向通知消息的目的地址指向vPCRF(如重定向通知消息中主机名指向vPCRF),而域名指向拜访网络,则vPCRF根据终端标识等信息获取用户的归属网络信息,并对会话建立请求消息的目的地址中的域名进行修改,以指向归属网络,然后,vPCRF发送该会话建立请求。Step 2. After receiving the session establishment request, the vPCRF sends a session establishment request to the hDRA in the home network according to routing information (such as default routing configuration information), so as to request to establish a session with hPCRF. The session establishment request message may carry terminal identification information, terminal address information, and APN, etc.; or the session establishment request message may carry PDN ID, terminal address information, etc. In addition, the vPCRF may also route the session establishment request message according to the NAI or other information. The process for vPCRF to send a session establishment request to hDRA can be as follows: when the destination address of the redirection notification message received by vPCRF points to vPCRF (for example, the host name in the redirection notification message points to vPCRF), and the domain name points to the visited network, then vPCRF uses the terminal identifier obtain the user's home network information, and modify the domain name in the destination address of the session establishment request message to point to the home network, and then, the vPCRF sends the session establishment request.

步骤3、hDRA接收到会话建立请求消息后,根据会话建立请求消息中承载的信息(如根据终端标识信息、终端地址信息和APN等,或者根据PDN ID、终端地址信息等)判断是否保存有已经选定的归属网络中的hPCRF信息;如果保存有已经选定的hPCRF信息,则直接获取保存的hPCRF信息;如果没有保存已经选定的hPCRF,则hDRA根据预定的本地策略选择一个hPCRF(如hDRA根据负荷分担等策略选择一个最合适的hPCRF),并保存选择的hPCRF信息,保存的格式可以为:终端标识、终端地址、APN和hPCRF信息的对应关系。hDRA保存的hPCRF信息可以是PCRF ID、PCRF IP Address、PCRF FQDN中的一个或多个。After step 3, hDRA receives session establishment request message, according to the information carried in the session establishment request message (such as according to terminal identification information, terminal address information and APN etc., or according to PDN ID, terminal address information etc.) The hPCRF information in the selected home network; if the selected hPCRF information is saved, the saved hPCRF information is directly obtained; if the selected hPCRF is not saved, hDRA selects a hPCRF according to a predetermined local strategy (such as hDRA Select a most suitable hPCRF according to strategies such as load sharing), and save the selected hPCRF information, and the saved format may be: the corresponding relationship between terminal identifier, terminal address, APN and hPCRF information. The hPCRF information stored by hDRA can be one or more of PCRF ID, PCRF IP Address, and PCRF FQDN.

步骤4、hDRA将选择的hPCRF信息携带在重定向通知消息中返回给vPCRF。Step 4: The hDRA returns the selected hPCRF information to the vPCRF in a redirection notification message.

步骤5、vPCRF从接收到的重定向通知消息中获取hPCRF信息,根据hPCRF信息向hPCRF发送会话建立请求消息。vPCRF向hPCRF发送会话建立请求消息的过程可以为:vPCRF将重定向通知消息目的地址中的主机名修改为hPCRF。Step 5. The vPCRF acquires hPCRF information from the received redirection notification message, and sends a session establishment request message to the hPCRF according to the hPCRF information. The process for the vPCRF to send the session establishment request message to the hPCRF may be: the vPCRF modifies the hostname in the destination address of the redirection notification message to hPCRF.

步骤6、hPCRF接收到会话建立请求消息后,向vPCRF返回会话建立回应消息。Step 6: After receiving the session establishment request message, the hPCRF returns a session establishment response message to the vPCRF.

步骤7、vPCRF将接收到的会话建立回应消息转发给GW/AF。从而完成了GW/AF和hPCRF之间的会话建立过程。Step 7. The vPCRF forwards the received session establishment response message to the GW/AF. Thus, the session establishment process between the GW/AF and the hPCRF is completed.

上述图4步骤2中的会话建立请求也可以是查询请求消息,即图4中的流程也可以为:GW/AF在需要与PCRF建立会话时,向vPCRF发送会话建立请求消息;vPCRF在接收到会话建立请求消息后,向hDRA发送查询请求消息,以获取对应的hPCRF信息;hDRA在接收到查询请求消息后,可以采用上述图4步骤3描述的内容选择hPCRF,并将选择的hPCRF信息携带在查询回应消息中返回给vPCRF;后续步骤如图4步骤5、6、7的描述。此时,DRA作为信息查询服务器。The session establishment request in step 2 of Figure 4 above can also be a query request message, that is, the process in Figure 4 can also be: GW/AF sends a session establishment request message to vPCRF when it needs to establish a session with PCRF; vPCRF receives After the session establishment request message, send a query request message to hDRA to obtain the corresponding hPCRF information; after receiving the query request message, hDRA can use the content described in step 3 of Figure 4 to select hPCRF, and carry the selected hPCRF information in The query response message is returned to vPCRF; the subsequent steps are described in steps 5, 6, and 7 in Figure 4. At this time, the DRA acts as an information query server.

在DRA作为Proxy代理、且终端处于非漫游的应用场景下,选择PCRF的流程如附图5所示。In an application scenario where the DRA acts as a Proxy and the terminal is not roaming, the process of selecting a PCRF is shown in Fig. 5 .

图5中,步骤1、GW/AF(GW或者AF)确定需要与对应的PCRF建立会话绑定,GW/AF根据路由信息(如缺省的路由配置信息)向DRA发送会话建立请求,以请求建立GW/AF到PCRF之间的会话。会话建立请求消息中可以携带终端标识信息、终端地址信息以及APN等;或者会话建立请求消息中可以携带PDN ID、终端地址信息等。另外,GW/AF也可以根据NAI或其他信息进行会话建立请求消息的路由。In Figure 5, step 1, GW/AF (GW or AF) determines that it needs to establish a session binding with the corresponding PCRF, and GW/AF sends a session establishment request to DRA according to routing information (such as default routing configuration information) to request Establish a session between GW/AF and PCRF. The session establishment request message may carry terminal identification information, terminal address information, and APN, etc.; or the session establishment request message may carry PDN ID, terminal address information, etc. In addition, the GW/AF may also route the session establishment request message according to the NAI or other information.

步骤2、DRA接收到会话建立请求消息后,根据会话建立请求消息中承载的信息(如根据终端标识信息、终端地址信息和APN等,或者根据PDN ID、终端地址信息等)判断是否保存有已经选定的PCRF信息;如果保存有已经选定的PCRF信息,则直接获取保存的PCRF信息;如果没有保存已经选定的PCRF,则DRA根据预定的本地策略选择一个PCRF(如DRA根据负荷分担等策略选择一个最合适的PCRF),并保存选择的PCRF信息,保存的格式可以为:终端标识、终端地址、APN和PCRF信息的对应关系。DRA保存的PCRF信息可以是PCRF ID、PCRF IP Address、PCRF FQDN中的一个或多个。After step 2, DRA receives session establishment request message, according to the information carried in the session establishment request message (such as according to terminal identification information, terminal address information and APN etc., or according to PDN ID, terminal address information etc.) Selected PCRF information; if the selected PCRF information is saved, the saved PCRF information is obtained directly; if the selected PCRF is not saved, DRA selects a PCRF according to a predetermined local policy (such as DRA according to load sharing, etc. The strategy selects a most suitable PCRF), and saves the selected PCRF information, and the saved format may be: the corresponding relationship between terminal identifier, terminal address, APN and PCRF information. The PCRF information saved by the DRA can be one or more of PCRF ID, PCRF IP Address, and PCRF FQDN.

步骤3、DRA向选择的PCRF转发会话建立请求消息。Step 3. The DRA forwards the session establishment request message to the selected PCRF.

步骤4、PCRF接收到会话建立请求消息后,建立与GW/AF的会话绑定,并向DRA返回会话建立回应消息。Step 4: After receiving the session establishment request message, the PCRF establishes a session binding with the GW/AF, and returns a session establishment response message to the DRA.

步骤5、DRA向GW/AF转发会话建立回应消息。Step 5. The DRA forwards the session establishment response message to the GW/AF.

在DRA作为Proxy代理、且终端处于漫游的应用场景下,选择PCRF一个实施例的流程如附图6所示。在该实施例中,vDRA(拜访网络DRA)、hDRA均参与PCRF选择,即vDRA、hDRA均负有PCRF选择职责;vPCRF(拜访网络PCRF)与hDRA之间存在互通接口,以进行vPCRF与hDRA之间的消息传输。In an application scenario where the DRA acts as a Proxy and the terminal is roaming, an embodiment process of selecting a PCRF is shown in FIG. 6 . In this embodiment, both vDRA (visited network DRA) and hDRA participate in PCRF selection, that is, both vDRA and hDRA are responsible for PCRF selection; there is an intercommunication interface between vPCRF (visited network PCRF) and hDRA for the connection between vPCRF and hDRA message transmission between.

图6中,步骤1、GW/AF确定需要与归属网络中的hPCRF(归属网络PCRF)建立会话绑定,GW/AF根据路由信息(如缺省的路由配置信息)向拜访网络中的vDRA发送会话建立请求,以请求建立GW/AF到hPCRF之间的会话。会话建立请求消息中可以携带终端标识信息、终端地址信息以及APN等;或者会话建立请求消息中可以携带PDN ID、终端地址信息等。另外,GW/AF也可以根据NAI或其他信息进行会话建立请求消息的路由。In Figure 6, in step 1, GW/AF determines that a session binding needs to be established with hPCRF (home network PCRF) in the home network, and GW/AF sends a message to vDRA in the visited network according to routing information (such as default routing configuration information) A session establishment request is used to request establishment of a session between the GW/AF and the hPCRF. The session establishment request message may carry terminal identification information, terminal address information, and APN, etc.; or the session establishment request message may carry PDN ID, terminal address information, etc. In addition, the GW/AF may also route the session establishment request message according to the NAI or other information.

步骤2、vDRA接收到会话建立请求消息后,根据会话建立请求消息中承载的信息(如根据终端标识信息、终端地址信息和APN等,或者根据PDN ID、终端地址信息等)判断是否保存有已经选定的拜访网络中的vPCRF信息;如果保存有已经选定的vPCRF信息,则直接获取保存的vPCRF信息;如果没有保存已经选定的vPCRF,则vDRA根据预定的本地策略选择一个vPCRF(如vDRA根据负荷分担等策略选择一个最合适的vPCRF),并保存选择的vPCRF信息,保存的格式可以为:终端标识、终端地址、APN和vPCRF信息的对应关系。vDRA保存的vPCRF信息可以是PCRF ID、PCRF IP Address、PCRF FQDN中的一个或多个。Step 2. After vDRA receives the session establishment request message, it judges whether to save the existing The vPCRF information in the selected visited network; if the selected vPCRF information is saved, the saved vPCRF information is obtained directly; if the selected vPCRF information is not saved, vDRA selects a vPCRF according to a predetermined local policy (such as vDRA Select a most suitable vPCRF according to policies such as load sharing), and save the selected vPCRF information, and the saved format may be: the corresponding relationship between terminal identifier, terminal address, APN and vPCRF information. The vPCRF information saved by vDRA can be one or more of PCRF ID, PCRF IP Address, and PCRF FQDN.

步骤3、vDRA向选择的vPCRF转发会话建立请求消息。Step 3. The vDRA forwards the session establishment request message to the selected vPCRF.

步骤4、vPCRF在接收到会话建立请求后,根据路由信息(如缺省的路由配置信息)向归属网络中的hDRA发送会话建立请求,以请求建立到hPCRF之间的会话。会话建立请求消息中可以携带终端标识信息、终端地址信息以及APN等;或者会话建立请求消息中可以携带PDN ID、终端地址信息等。另外,vPCRF也可以根据NAI或其他信息进行会话建立请求消息的路由。Step 4. After receiving the session establishment request, the vPCRF sends a session establishment request to the hDRA in the home network according to routing information (such as default routing configuration information), so as to request to establish a session with hPCRF. The session establishment request message may carry terminal identification information, terminal address information, and APN, etc.; or the session establishment request message may carry PDN ID, terminal address information, etc. In addition, the vPCRF may also route the session establishment request message according to the NAI or other information.

步骤5、hDRA接收到会话建立请求消息后,根据会话建立请求消息中承载的信息(如根据终端标识信息、终端地址信息和APN等,或者根据PDN ID、终端地址信息等)判断是否保存有已经选定的归属网络中的hPCRF信息;如果保存有已经选定的hPCRF信息,则直接获取保存的hPCRF信息;如果没有保存已经选定的hPCRF,则hDRA根据预定的本地策略选择一个hPCRF(如hDRA根据负荷分担等策略选择一个最合适的hPCRF),并保存选择的hPCRF信息,保存的格式可以为:终端标识、终端地址、APN和hPCRF信息的对应关系。hDRA保存的hPCRF信息可以是PCRF ID、PCRF IP Address、PCRF FQDN中的一个或多个。After step 5, hDRA receives session establishment request message, according to the information carried in the session establishment request message (such as according to terminal identification information, terminal address information and APN etc., or according to PDN ID, terminal address information etc.) The hPCRF information in the selected home network; if the selected hPCRF information is saved, the saved hPCRF information is directly obtained; if the selected hPCRF is not saved, hDRA selects a hPCRF according to a predetermined local strategy (such as hDRA Select a most suitable hPCRF according to strategies such as load sharing), and save the selected hPCRF information, and the saved format may be: the corresponding relationship between terminal identifier, terminal address, APN and hPCRF information. The hPCRF information stored by hDRA can be one or more of PCRF ID, PCRF IP Address, and PCRF FQDN.

步骤6、hDRA向选择的hPCRF转发会话建立请求消息。Step 6: The hDRA forwards the session establishment request message to the selected hPCRF.

步骤7、hPCRF在接收到会话建立请求消息后,建立与GW/AF的会话绑定,并向hDRA返回会话建立回应消息。Step 7: After receiving the session establishment request message, the hPCRF establishes a session binding with the GW/AF, and returns a session establishment response message to the hDRA.

步骤8、hDRA向vPCRF转发接收到的会话建立回应消息。Step 8: The hDRA forwards the received session establishment response message to the vPCRF.

步骤9、vPCRF向vDRA转发接收到的会话建立回应消息。Step 9: The vPCRF forwards the received session establishment response message to the vDRA.

步骤10、vDRA将接收到的会话建立回应消息转发给GW/AF。从而完成了GW/AF和hPCRF之间的会话建立过程。Step 10, vDRA forwards the received session establishment response message to GW/AF. Thus, the session establishment process between the GW/AF and the hPCRF is completed.

在DRA作为Proxy代理、且终端处于漫游的应用场景下,选择PCRF另一个实施例的流程如附图7所示。在该实施例中,vDRA不参与PCRF选择、hDRA参与PCRF选择,即vDRA不负有PCRF选择职责、hDRA均负有PCRF选择职责;vDRA与hDRA之间存在互通接口,以进行vDRA与hDRA之间的消息传输。In an application scenario where the DRA acts as a Proxy and the terminal is roaming, the flow of another embodiment of selecting a PCRF is shown in FIG. 7 . In this embodiment, vDRA does not participate in PCRF selection, and hDRA participates in PCRF selection, that is, vDRA does not bear PCRF selection responsibility, and hDRA both bears PCRF selection responsibility; there is an intercommunication interface between vDRA and hDRA to perform message transmission.

图7中,步骤1、GW/AF确定需要与归属网络中的hPCRF建立会话绑定,GW/AF根据路由信息(如缺省的路由配置信息)向拜访网络中的vDRA发送会话建立请求,以请求建立GW/AF到hPCRF之间的会话。会话建立请求消息中可以携带终端标识信息、终端地址信息以及APN等;或者会话建立请求消息中可以携带PDN ID、终端地址信息等。另外,GW/AF也可以根据NAI或其他信息进行路由。In Figure 7, in step 1, GW/AF determines that a session binding needs to be established with hPCRF in the home network, and GW/AF sends a session establishment request to vDRA in the visited network according to routing information (such as default routing configuration information) to Request to establish a session between GW/AF and hPCRF. The session establishment request message may carry terminal identification information, terminal address information, and APN, etc.; or the session establishment request message may carry PDN ID, terminal address information, etc. In addition, GW/AF can also perform routing according to NAI or other information.

步骤2、vDRA在接收到会话建立请求后,确定需要建立会话的PCRF在家乡域(home realm),则vDRA向hDRA转发会话建立请求消息。Step 2. After receiving the session establishment request, the vDRA determines that the PCRF that needs to establish the session is in the home realm, and then the vDRA forwards the session establishment request message to the hDRA.

步骤3、hDRA接收到会话建立请求消息后,根据会话建立请求消息中承载的信息(如根据终端标识信息、终端地址信息和APN等,或者根据PDN ID、终端地址信息等)判断是否保存有已经选定的归属网络中的hPCRF信息;如果保存有已经选定的hPCRF信息,则直接获取保存的hPCRF信息;如果没有保存已经选定的hPCRF,则hDRA根据预定的本地策略选择一个hPCRF(如hDRA根据负荷分担等策略选择一个最合适的hPCRF),并保存选择的hPCRF信息,保存的格式可以为:终端标识、终端地址、APN和hPCRF信息的对应关系。hDRA保存的hPCRF信息可以是PCRF ID、PCRF IP Address、PCRF FQDN中的一个或多个。After step 3, hDRA receives session establishment request message, according to the information carried in the session establishment request message (such as according to terminal identification information, terminal address information and APN etc., or according to PDN ID, terminal address information etc.) The hPCRF information in the selected home network; if the selected hPCRF information is saved, the saved hPCRF information is directly obtained; if the selected hPCRF is not saved, hDRA selects a hPCRF according to a predetermined local strategy (such as hDRA Select a most suitable hPCRF according to strategies such as load sharing), and save the selected hPCRF information, and the saved format may be: the corresponding relationship between terminal identifier, terminal address, APN and hPCRF information. The hPCRF information stored by hDRA can be one or more of PCRF ID, PCRF IP Address, and PCRF FQDN.

步骤4、hDRA向选择的hPCRF转发会话建立请求消息。Step 4: The hDRA forwards the session establishment request message to the selected hPCRF.

步骤5、hPCRF向hDRA返回会话建立回应消息。Step 5, hPCRF returns a session establishment response message to hDRA.

步骤6、hDRA向vDRA返回会话建立回应消息。Step 6: The hDRA returns a session establishment response message to the vDRA.

步骤7、vDRA向GW/AF转发会话建立回应消息。从而完成了GW/AF和hPCRF之间的会话建立过程。Step 7. The vDRA forwards the session establishment response message to the GW/AF. Thus, the session establishment process between the GW/AF and the hPCRF is completed.

在DRA作为Proxy代理、且终端处于漫游的应用场景下,选择PCRF另一个实施例的流程如附图8所示。在该实施例中,vDRA不参与PCRF选择、hDRA参与PCRF选择,即vDRA不负有PCRF选择职责、hDRA负有PCRF选择职责;vPCRF与hDRA之间存在互通接口,以进行vPCRF与hDRA之间的消息传输。In an application scenario where the DRA acts as a Proxy and the terminal is roaming, the flow of another embodiment of selecting a PCRF is shown in FIG. 8 . In this embodiment, vDRA does not participate in PCRF selection, and hDRA participates in PCRF selection, that is, vDRA does not bear the responsibility of PCRF selection, and hDRA bears the responsibility of PCRF selection; there is an intercommunication interface between vPCRF and hDRA to perform communication between vPCRF and hDRA message transmission.

图8中,步骤1、GW/AF确定需要与归属网络中的hPCRF建立会话绑定,GW/AF向vPCRF发送会话建立请求消息。GW/AF可以向预先配置的vPCRF发送会话建立请求消息,GW/AF也可以根据预定的本地策略选择一个vPCRF并向该选择的vPCRF发送会话建立请求消息。In Fig. 8, in step 1, the GW/AF determines that a session binding needs to be established with the hPCRF in the home network, and the GW/AF sends a session establishment request message to the vPCRF. The GW/AF may send a session establishment request message to a pre-configured vPCRF, and the GW/AF may also select a vPCRF according to a predetermined local policy and send a session establishment request message to the selected vPCRF.

步骤2、vPCRF在接收到会话建立请求后,根据路由信息(如缺省的路由配置信息)向归属网络中的hDRA发送会话建立请求,以请求建立到hPCRF之间的会话。会话建立请求消息中可以携带终端标识信息、终端地址信息以及APN等;或者会话建立请求消息中可以携带PDN ID、终端地址信息等。另外,vPCRF也可以根据NAI或其他信息进行会话建立请求消息的路由。Step 2. After receiving the session establishment request, the vPCRF sends a session establishment request to the hDRA in the home network according to routing information (such as default routing configuration information), so as to request to establish a session with hPCRF. The session establishment request message may carry terminal identification information, terminal address information, and APN, etc.; or the session establishment request message may carry PDN ID, terminal address information, etc. In addition, the vPCRF may also route the session establishment request message according to the NAI or other information.

步骤3、hDRA接收到会话建立请求消息后,根据会话建立请求消息中承载的信息(如根据终端标识信息、终端地址信息和APN等,或者根据PDN ID、终端地址信息等)判断是否保存有已经选定的归属网络中的hPCRF信息;如果保存有已经选定的hPCRF信息,则直接获取保存的hPCRF信息;如果没有保存已经选定的hPCRF,则hDRA根据预定的本地策略选择一个hPCRF(如hDRA根据负荷分担等策略选择一个最合适的hPCRF),并保存选择的hPCRF信息,保存的格式可以为:终端标识、终端地址、APN和hPCRF信息的对应关系。hDRA保存的hPCRF信息可以是PCRF ID、PCRF IP Address、PCRF FQDN中的一个或多个。After step 3, hDRA receives session establishment request message, according to the information carried in the session establishment request message (such as according to terminal identification information, terminal address information and APN etc., or according to PDN ID, terminal address information etc.) The hPCRF information in the selected home network; if the selected hPCRF information is saved, the saved hPCRF information is directly obtained; if the selected hPCRF is not saved, hDRA selects a hPCRF according to a predetermined local strategy (such as hDRA Select a most suitable hPCRF according to strategies such as load sharing), and save the selected hPCRF information, and the saved format may be: the corresponding relationship between terminal identifier, terminal address, APN and hPCRF information. The hPCRF information stored by hDRA can be one or more of PCRF ID, PCRF IP Address, and PCRF FQDN.

步骤4、hDRA向选择的hPCRF转发会话建立请求消息。Step 4: The hDRA forwards the session establishment request message to the selected hPCRF.

步骤5、hPCRF向hDRA返回会话建立回应消息。Step 5, hPCRF returns a session establishment response message to hDRA.

步骤6、hDRA向vDRA返回会话建立回应消息。Step 6: The hDRA returns a session establishment response message to the vDRA.

步骤7、vDRA向GW/AF转发会话建立回应消息。从而完成了GW/AF和hPCRF之间的会话建立过程。Step 7. The vDRA forwards the session establishment response message to the GW/AF. Thus, the session establishment process between the GW/AF and the hPCRF is completed.

在上述描述的各实施方式中,到DRA(包括非漫游场景下的DRA、以及漫游场景下的拜访网络DRA或归属网络DRA)的路由可能需要PDN信息(如PDNID),即使用作为辅助的PDN信息来实现到DRA的路由。由于存在多种选择PCRF的实现过程,因此,执行到DRA的路由的操作实体也有所不同,该实体可以为GW/AF,也可以为vPCRF,还可以为vDRA。在实际应用中,PCRF所在的Realm(域)可以是按照PDN ID划分的,在这种情况下,获取PDN信息的实现过程可以包括如下过程:In each of the embodiments described above, the route to the DRA (including the DRA in the non-roaming scenario, and the visited network DRA or the home network DRA in the roaming scenario) may require PDN information (such as PDN ID), that is, use the auxiliary PDN information to implement routing to the DRA. Since there are multiple implementation processes for selecting the PCRF, the operating entity that executes the routing to the DRA is also different. The entity may be the GW/AF, or the vPCRF, or the vDRA. In practical applications, the Realm (domain) where the PCRF is located can be divided according to the PDN ID. In this case, the implementation process of obtaining PDN information can include the following processes:

执行到DRA的路由的操作实体在进行Diameter路由之前,需要从APN中获取对应的PDN信息,PDN信息如PDN ID,然后,根据PDN信息获取对应的DRA所在的Realm。根据PDN信息获取对应的DRA所在的Realm的实现方式可以是:直接从PDN信息中提取Realm信息;也可以是:根据需要与DRA进行访问的网络实体上配置的信息获取Realm信息,这里的配置的信息如:PDN信息和DRA所在的Realm的映射表。本发明实施方式不限制与DRA进行访问的网络实体的具体表现形式。Before performing Diameter routing, the operating entity that executes the routing to DRA needs to obtain the corresponding PDN information from the APN, such as PDN ID, and then obtain the Realm where the corresponding DRA is located according to the PDN information. Obtaining the Realm where the corresponding DRA is located according to the PDN information can be achieved by: directly extracting the Realm information from the PDN information; or: obtaining the Realm information according to the information configured on the network entity that needs to access the DRA. The configuration here Information such as: PDN information and the mapping table of the Realm where the DRA is located. The embodiment of the present invention does not limit the specific form of the network entity that accesses the DRA.

在获取了对应的DRA所在的Realm信息后,执行到DRA的路由的操作实体将获取的DRA所在的Realm信息作为Destination Realm进行路由。After acquiring the Realm information where the corresponding DRA is located, the operating entity that executes the routing to the DRA uses the acquired Realm information where the DRA is located as the Destination Realm for routing.

下面结合附图对本发明实施方式提供的DRA进行说明。The DRA provided in the embodiments of the present invention will be described below with reference to the accompanying drawings.

附图9为DRA示意图,图9中的DRA可以包括:第一模块、第二模块、第三模块、第四模块、第五模块、第六模块和第七模块。需要说明的是,在终端处于非漫游情况下、或者在终端处于漫游状态且DRA处于拜访网络情况下,通过第一模块、第二模块和第三模块的操作,或者通过第一模块、第二模块、第三模块和第七模块的操作能够成功选择PCRF或归属网络PCRF。在终端处于漫游状态且DRA处于归属网络情况下,通过第四模块、第五模块和第六模块的操作,能够成功选择归属网络PCRF。Accompanying drawing 9 is a schematic diagram of DRA, and the DRA in Fig. 9 may include: a first module, a second module, a third module, a fourth module, a fifth module, a sixth module and a seventh module. It should be noted that, when the terminal is in a non-roaming situation, or when the terminal is in a roaming state and the DRA is in a visited network, through the operations of the first module, the second module and the third module, or through the first module, the second The operations of the module, the third module and the seventh module can successfully select the PCRF or the home network PCRF. When the terminal is in the roaming state and the DRA is in the home network, through the operations of the fourth module, the fifth module and the sixth module, the home network PCRF can be successfully selected.

第一模块接收网络设备传输来的消息。即在非漫游场景下,网络设备需要与PCRF建立会话,则网络设备向DRA发送消息,第一模块接收网络设备发送来的消息;在漫游场景下,网络设备需要与hPCRF建立会话,则网络设备向vDRA发送消息,第一模块接收网络设备发送来的消息。第一模块接收到的消息可以是用于建立会话的会话建立请求消息,此时,第一模块所在的DRA充当了Redirect服务器或Proxy代理的角色;第一模块接收到的消息也可以是信息查询请求消息,此时,第一模块所在的DRA充当了信息查询服务器的角色。The first module receives the message transmitted by the network device. That is, in the non-roaming scenario, the network device needs to establish a session with the PCRF, the network device sends a message to the DRA, and the first module receives the message sent by the network device; in the roaming scenario, the network device needs to establish a session with the hPCRF, the network device A message is sent to the vDRA, and the first module receives the message sent by the network device. The message that the first module receives can be the session establishment request message that is used to set up session, and at this moment, the DRA where the first module is located has acted as the role of Redirect server or Proxy agent; The message that the first module receives also can be information inquiry request message, at this time, the DRA where the first module is located acts as an information query server.

在非漫游场景下,第二模块利用第一模块接收的消息中携带的信息能够判断出是否需要选择PCRF,如第二模块在判断出第一模块接收的消息为会话建立请求消息或信息查询请求消息后,确定出需要选择PCRF。如果判断出需要选择PCRF,则第二模块利用DRA存储的PCRF信息确定出PCRF,或者第二模块根据预定策略选择PCRF,例如,第二模块在判断出DRA存储的PCRF信息中没有与第一模块接收到的消息中携带的信息匹配的PCRF后,再利用预定策略选择PCRF。DRA存储的PCRF信息可以为终端与PCRF的对应关系信息。DRA中存储的PCRF信息可以通过静态配置方式设置,也可以通过动态配置方式设置。动态配置方式如DRA中的第二模块根据预定策略分配PCRF,在分配完成后,DRA存储分配的PCRF信息。In a non-roaming scenario, the second module can determine whether PCRF needs to be selected by using the information carried in the message received by the first module. For example, the second module determines that the message received by the first module is a session establishment request message or an information query request. After receiving the message, it is determined that PCRF needs to be selected. If it is judged that PCRF needs to be selected, then the second module uses the PCRF information stored in the DRA to determine the PCRF, or the second module selects the PCRF according to a predetermined policy, for example, the second module determines that the PCRF information stored in the DRA does not match the first module After the information carried in the received message matches the PCRF, a predetermined policy is used to select the PCRF. The PCRF information stored in the DRA may be the correspondence relationship information between terminals and PCRFs. The PCRF information stored in the DRA can be set through static configuration or dynamic configuration. In the dynamic configuration mode, for example, the second module in the DRA allocates the PCRF according to a predetermined policy, and after the allocation is completed, the DRA stores the allocated PCRF information.

在漫游场景下,第二模块利用第一模块接收的消息中携带的信息能够判断出是否需要选择vPCRF,如第二模块在判断出第一模块接收的消息为会话建立请求消息或信息查询请求消息后,确定出需要选择vPCRF。如果判断出需要选择vPCRF,则第二模块利用vDRA存储的vPCRF信息确定出vPCRF,或者第二模块根据预定策略选择vPCRF,例如,第二模块在判断出vDRA存储的vPCRF信息中没有与第一模块接收到的消息中携带的信息匹配的vPCRF后,再利用预定策略选择vPCRF。DRA存储的vPCRF信息可以为终端与vPCRF的对应关系信息。vDRA中存储的vPCRF信息可以通过静态配置方式设置,也可以通过动态配置方式设置。动态配置方式如vDRA中的第二模块根据预定策略分配vPCRF,在分配完成后,vDRA存储分配的vPCRF信息。In the roaming scenario, the second module can determine whether to select vPCRF by using the information carried in the message received by the first module. For example, the second module determines that the message received by the first module is a session establishment request message or an information query request message. After that, it is determined that vPCRF needs to be selected. If it is judged that vPCRF needs to be selected, then the second module uses the vPCRF information stored in vDRA to determine vPCRF, or the second module selects vPCRF according to a predetermined strategy, for example, the second module determines that the vPCRF information stored in vDRA does not match the first module After the information carried in the received message matches the vPCRF, a predetermined policy is used to select the vPCRF. The vPCRF information stored in the DRA may be the correspondence relationship information between the terminal and the vPCRF. The vPCRF information stored in the vDRA can be set through static configuration or dynamic configuration. In a dynamic configuration mode, for example, the second module in the vDRA allocates the vPCRF according to a predetermined policy, and after the allocation is completed, the vDRA stores the allocated vPCRF information.

在第二模块确定出PCRF或vPCRF后,第三模块可以向网络设备返回携带有第二模块确定出的PCRF信息或vPCRF信息的消息,也可以向第二模块确定出的PCRF或vPCRF转发第一模块接收到的消息。当第一模块接收到的消息为会话建立请求消息时,第三模块可以向网络设备返回携带有PCRF信息或vPCRF信息的重定向通知(如上述图1步骤3、图2步骤3),也可以向确定出的PCRF或vPCRF转发会话建立请求消息(如上述图5步骤3、图6步骤3)。当第一模块接收到的消息为信息查询请求消息时,第三模块可以向网络设备返回携带有PCRF信息或vPCRF信息的信息查询回应消息。After the second module determines the PCRF or vPCRF, the third module may return a message carrying the PCRF information or vPCRF information determined by the second module to the network device, or forward the first message to the PCRF or vPCRF determined by the second module. The message received by the module. When the message received by the first module is a session establishment request message, the third module may return a redirection notification carrying PCRF information or vPCRF information to the network device (such as step 3 in FIG. 1 and step 3 in FIG. 2 above), or The session establishment request message is forwarded to the determined PCRF or vPCRF (such as step 3 in FIG. 5 and step 3 in FIG. 6 ). When the message received by the first module is an information query request message, the third module may return an information query response message carrying PCRF information or vPCRF information to the network device.

在漫游场景下,当第一模块、第二模块和第三模块所在的DRA为vDRA、且vDRA负有选择PCRF职责的情况下,第一模块、第二模块和第三模块所执行的如上述描述的操作。在vDRA不负有选择PCRF职责的情况下,vDRA直接向hDRA转发网络设备传输来的消息即可(如图7中步骤2)。In the roaming scenario, when the DRA where the first module, the second module, and the third module are located is a vDRA, and the vDRA is responsible for selecting PCRF, the first module, the second module, and the third module execute as above Described operation. In the case that the vDRA is not responsible for selecting the PCRF, it is enough for the vDRA to directly forward the message transmitted by the network device to the hDRA (step 2 in Figure 7).

在漫游场景、且DRA处于归属网络的应用情况下,拜访网络会在网络设备需要与hPCRF之间建立会话的过程中,向处于归属网络中的DRA即hDRA发送消息,如拜访网络中的PCRF向hDRA发送消息,再如拜访网络中的vDRA向hDRA发送消息。hDRA中的第四模块接收拜访网络发送来的消息。第四模块接收到的消息可以是拜访网络转发网络设备发送的消息,也可以是拜访网络在接收到网络设备发送的消息后产生的新的消息,如信息查询请求消息。第四模块接收拜访网络发送来的消息的情景如上述图2中的步骤5、图3中的步骤2、图4中的步骤2、图6中的步骤4、图7中的步骤2、图8中的步骤2等。In a roaming scenario where the DRA is in the home network, the visited network will send a message to the DRA in the home network (hDRA) when the network device needs to establish a session with the hPCRF. For example, the PCRF in the visited network sends a message to The hDRA sends a message, and another example is that the vDRA in the visited network sends a message to the hDRA. The fourth module in the hDRA receives the message sent by the visited network. The message received by the fourth module may be a message sent by the network device forwarded by the visited network, or a new message generated by the visited network after receiving the message sent by the network device, such as an information query request message. The scene of the fourth module receiving the message sent by the visited network is as described above in step 5 in FIG. 2, step 2 in FIG. 3, step 2 in FIG. 4, step 4 in FIG. 6, step 2 in FIG. Step 2 in 8 etc.

在第四模块接收到拜访网络发送来的消息后,第五模块根据消息中携带的信息判断是否需要选择hPCRF,在判断出需要选择hPCRF后,确定出hPCRF。第五模块确定出hPCRF的过程可以为:第五模块利用hDRA存储的PCRF信息确定出hPCRF,或者第五模块根据预定策略选择hPCRF,例如,第五模块在判断出hDRA存储的hPCRF信息中没有与第四模块接收到的消息中携带的信息匹配的hPCRF后,再利用预定策略选择hPCRF。hDRA存储的hPCRF信息可以为终端与PCRF的对应关系信息。hDRA中存储的hPCRF信息可以通过静态配置方式设置,也可以通过动态配置方式设置。动态配置方式如hDRA中的第五模块根据预定策略分配hPCRF,在分配完成后,hDRA存储分配的hPCRF信息。After the fourth module receives the message sent by the visited network, the fifth module judges whether the hPCRF needs to be selected according to the information carried in the message, and determines the hPCRF after judging that the hPCRF needs to be selected. The process of determining the hPCRF by the fifth module may be: the fifth module determines the hPCRF by using the PCRF information stored in the hDRA, or the fifth module selects the hPCRF according to a predetermined strategy. After the information carried in the message received by the fourth module matches the hPCRF, the hPCRF is selected using a predetermined strategy. The hPCRF information stored in the hDRA may be the correspondence relationship information between terminals and PCRFs. The hPCRF information stored in the hDRA can be set through static configuration or dynamic configuration. In the dynamic configuration mode, for example, the fifth module in hDRA allocates hPCRF according to a predetermined policy, and after the allocation is completed, hDRA stores the allocated hPCRF information.

在第五模块确定出hPCRF后,第六模块可以向拜访网络返回携带有第五模块确定出的hPCRF信息的消息,也可以向第五模块确定出的hPCRF转发第四模块接收到的消息。当第四模块接收到的消息为会话建立请求消息时,第六模块可以向拜访网络返回携带有hPCRF信息的重定向通知(如上述图2步骤7、图3步骤4、图4步骤4),也可以向确定出的hPCRF转发会话建立请求消息(如上述图6步骤6、图7步骤4、图8步骤4)。当第四模块接收到的消息为信息查询请求消息时,第六模块可以向拜访网络返回携带有hPCRF信息的信息查询回应消息。After the fifth module determines the hPCRF, the sixth module may return a message carrying the hPCRF information determined by the fifth module to the visited network, or forward the message received by the fourth module to the hPCRF determined by the fifth module. When the message received by the fourth module is a session establishment request message, the sixth module may return a redirection notification carrying hPCRF information to the visited network (such as step 7 in FIG. 2 above, step 4 in FIG. 3 , and step 4 in FIG. 4 ), The session establishment request message may also be forwarded to the determined hPCRF (such as step 6 in FIG. 6 , step 4 in FIG. 7 , and step 4 in FIG. 8 ). When the message received by the fourth module is an information query request message, the sixth module may return an information query response message carrying hPCRF information to the visited network.

在第七模块所在的DRA位于拜访网络即第七模块位于vDRA中、且vDRA参与vPCRF选择的情况下,第七模块接收hDRA直接传输来的消息,或者第七模块接收hDRA通过vPCRF传输来的消息。When the DRA where the seventh module is located is located in the visited network, that is, the seventh module is located in the vDRA, and the vDRA participates in vPCRF selection, the seventh module receives the message directly transmitted by hDRA, or the seventh module receives the message transmitted by hDRA through vPCRF .

第二模块利用第七模块接收的消息中携带的信息能够判断出是否需要选择vPCRF,如图3步骤5中第二模块在根据消息中携带的信息判断出hDRA发送的消息为重定向通知消息后,判断出需要选择vPCRF。如果第二模块判断出需要选择vPCRF,则第二模块利用vDRA存储的vPCRF信息确定出vPCRF,或者第二模块根据预定策略选择vPCRF,例如,第二模块在判断出vDRA存储的vPCRF信息中没有与第七模块接收到的消息中携带的信息匹配的vPCRF后,再利用预定策略选择vPCRF。DRA存储的vPCRF信息可以为终端与vPCRF的对应关系信息。vDRA中存储的vPCRF信息可以通过静态配置方式设置,也可以通过动态配置方式设置。动态配置方式如vDRA中的第二模块根据预定策略分配vPCRF,在分配完成后,vDRA存储分配的vPCRF信息。The second module can determine whether vPCRF needs to be selected by using the information carried in the message received by the seventh module, as shown in Figure 3, step 5, after the second module determines that the message sent by hDRA is a redirection notification message according to the information carried in the message , it is determined that vPCRF needs to be selected. If the second module determines that vPCRF needs to be selected, then the second module uses the vPCRF information stored in vDRA to determine vPCRF, or the second module selects vPCRF according to a predetermined policy, for example, the second module determines that there is no vPCRF information stored in vDRA. After the information carried in the message received by the seventh module matches the vPCRF, a predetermined policy is used to select the vPCRF. The vPCRF information stored in the DRA may be the correspondence relationship information between the terminal and the vPCRF. The vPCRF information stored in the vDRA can be set through static configuration or dynamic configuration. In a dynamic configuration mode, for example, the second module in the vDRA allocates the vPCRF according to a predetermined policy, and after the allocation is completed, the vDRA stores the allocated vPCRF information.

在第二模块确定出PCRF后,第三模块可以向网络设备返回携带有第二模块确定出的vPCRF信息的消息。当第七模块接收到的消息为重定向通知(如上述图6步骤4),则第三模块可以将第二模块确定出的vPCRF信息携带在重定向通知消息中,并向网络设备返回重定向通知消息(如上述图3步骤6)。After the second module determines the PCRF, the third module may return a message carrying the vPCRF information determined by the second module to the network device. When the message received by the seventh module is a redirection notification (such as step 4 in Figure 6 above), the third module may carry the vPCRF information determined by the second module in the redirection notification message, and return the redirection to the network device Notification message (as in step 6 in Figure 3 above).

虽然通过实施例描绘了本发明,本领域普通技术人员知道,本发明有许多变形和变化而不脱离本发明的精神,本发明的申请文件的权利要求包括这些变形和变化。Although the present invention has been described by way of example, those of ordinary skill in the art know that there are many variations and changes in the present invention without departing from the spirit of the invention, and the claims of the application document of the present invention include these variations and changes.

Claims (16)

1.一种选择策略和计费规则功能实体的方法,其特征在于,包括: 1. A method for selecting a policy and charging rule functional entity, comprising: 在漫游场景下,归属网络直径Diameter路由代理接收拜访网络传输来的消息; In the roaming scenario, the Diameter routing agent of the home network receives the message transmitted by the visited network; 归属网络Diameter路由代理接收到拜访网络传输来的消息后,确定出归属网络PCRF,并向所述拜访网络返回携带有所述确定出的归属网络PCRF信息的消息或者向所述确定出的归属网络PCRF转发所述消息。 After receiving the message transmitted by the visited network, the home network Diameter routing agent determines the home network PCRF, and returns a message carrying the determined home network PCRF information to the visited network or sends a message to the determined home network The PCRF forwards the message. 2.如权利要求1所述的方法,其特征在于,所述拜访网络传输来的消息包括:用于获取PCRF信息的查询消息或用于请求建立网络设备与PCRF之间会话的会话建立请求;所述返回的消息包括:与查询消息对应的查询响应消息或与会话建立请求对应的重定向通知;所述转发的消息包括:会话建立请求。 2. The method according to claim 1, wherein the message transmitted by the visited network comprises: a query message for obtaining PCRF information or a session establishment request for requesting establishment of a session between the network device and the PCRF; The returned message includes: a query response message corresponding to the query message or a redirect notification corresponding to the session establishment request; the forwarded message includes: the session establishment request. 3.如权利要求1所述的方法,其特征在于,所述归属网络Diameter路由代理接收拜访网络传输来的消息的步骤包括: 3. The method according to claim 1, wherein the step of receiving the message transmitted by the visited network by the Diameter routing agent of the home network comprises: 归属网络Diameter路由代理接收拜访网络PCRF传输来的消息;或者归属网络Diameter路由代理接收拜访网络Diameter路由代理传输来的消息。 The Diameter routing agent in the home network receives the message transmitted by the PCRF of the visited network; or the Diameter routing agent in the home network receives the message transmitted by the Diameter routing agent in the visited network. 4.如权利要求3所述的方法,其特征在于,所述归属网络Diameter路由代理接收拜访网络PCRF传输来的消息的步骤包括: 4. The method according to claim 3, wherein the step of receiving the message transmitted by the visited network PCRF by the Diameter routing agent of the home network comprises: 拜访网络Diameter路由代理根据网络设备传输来的消息确定需要选择拜访网络PCRF,拜访网络Diameter路由代理确定出拜访网络PCRF并向所述网络设备返回拜访网络PCRF信息; The visited network Diameter routing agent determines that the visited network PCRF needs to be selected according to the message transmitted by the network device, and the visited network Diameter routing agent determines the visited network PCRF and returns the visited network PCRF information to the network device; 所述网络设备根据接收到的拜访网络PCRF信息向拜访网络PCRF发送消息,由拜访网络PCRF将接收到的消息转发至归属网络Diameter路由代理,或由拜访网络PCRF根据收到的消息产生新的消息发送至归属网络Diameter路由代理;  The network device sends a message to the visited network PCRF according to the received visited network PCRF information, and the visited network PCRF forwards the received message to the home network Diameter routing agent, or the visited network PCRF generates a new message according to the received message Send to the home network Diameter routing agent; 所述网络设备为需要与归属网络PCRF建立会话的网络设备。 The network device is a network device that needs to establish a session with the home network PCRF. 5.如权利要求3所述的方法,其特征在于,所述归属网络Diameter路由代理接收拜访网络PCRF传输来的消息的步骤包括: 5. The method according to claim 3, wherein the step of receiving the message transmitted by the visited network PCRF by the Diameter routing agent of the home network comprises: 拜访网络PCRF接收网络设备传输来的消息,并转发至归属网络Diameter路由代理,或根据所述网络设备传输来的消息产生新的消息并发送至归属网络Diameter路由代理。 The visited network PCRF receives the message transmitted by the network device and forwards it to the Diameter routing agent in the home network, or generates a new message according to the message transmitted by the network device and sends it to the Diameter routing agent in the home network. 6.如权利要求5所述的方法,其特征在于,所述拜访网络PCRF接收网络设备传输来的消息,并转发至归属网络Diameter路由代理的步骤包括: 6. The method according to claim 5, wherein the step of receiving, by the visited network PCRF, the message transmitted by the network device and forwarding it to the home network Diameter routing agent comprises: 拜访网络PCRF在确定网络设备传输来的消息的目的地址为拜访网络PCRF,目的域名指向拜访网络,则根据消息中承载的用户设备信息确定归属网络信息,将网络设备传输来的消息的目的域名修改为指向归属网络,并向归属网络Diameter路由代理转发。 After determining that the destination address of the message transmitted by the network device is the visited network PCRF, and the destination domain name points to the visited network, the visited network PCRF determines the attribution network information according to the user equipment information carried in the message, and modifies the destination domain name of the message transmitted by the network device To point to the home network, and forward to the home network Diameter routing agent. 7.如权利要求4或5所述的方法,其特征在于,所述向所述拜访网络返回所述选择的PCRF信息的步骤包括: 7. The method according to claim 4 or 5, wherein the step of returning the selected PCRF information to the visited network comprises: 归属网络Diameter路由代理向拜访网络PCRF返回确定出的归属网络PCRF信息,由所述拜访网络PCRF利用所述归属网络PCRF信息建立会话。 The home network Diameter routing agent returns the determined home network PCRF information to the visited network PCRF, and the visited network PCRF uses the home network PCRF information to establish a session. 8.如权利要求3所述的方法,其特征在于, 8. The method of claim 3, wherein, 所述归属网络Diameter路由代理接收拜访网络Diameter路由代理传输来的消息的步骤包括: The step of receiving the message transmitted by the Diameter routing agent in the home network from the Diameter routing agent in the visited network includes: 拜访网络Diameter路由代理接收网络设备传输来的消息后,将收到的消息转发至归属网络Diameter路由代理,或由拜访网络Diameter路由代理根据收到的消息产生新的消息发送至Diameter路由代理; After receiving the message transmitted by the network device, the Diameter routing agent of the visited network forwards the received message to the Diameter routing agent of the home network, or the Diameter routing agent of the visited network generates a new message based on the received message and sends it to the Diameter routing agent; 所述网络设备为需要与归属网络PCRF建立会话的网络设备。 The network device is a network device that needs to establish a session with the home network PCRF. 9.如权利要求8所述的方法,其特征在于,所述向所述拜访网络返回所 述选择的PCRF信息的步骤包括: 9. The method according to claim 8, wherein the step of returning the selected PCRF information to the visited network comprises: 归属网络Diameter路由代理向拜访网络Diameter路由代理返回所述确定出的归属网络PCRF信息;且所述方法还包括: The home network Diameter routing agent returns the determined home network PCRF information to the visited network Diameter routing agent; and the method further includes: 拜访网络Diameter路由代理确定出拜访网络PCRF,并将拜访网络PCRF信息和归属网络PCRF信息传输至网络设备; The visited network Diameter routing agent determines the visited network PCRF, and transmits the visited network PCRF information and the home network PCRF information to the network device; 网络设备根据拜访网络PCRF信息和归属网络PCRF信息向拜访网络PCRF发送会话建立请求,拜访网络PCRF根据会话建立请求中携带的归属网络PCRF信息向归属网络PCRF发送会话建立请求,以建立会话。 The network device sends a session establishment request to the visited network PCRF according to the visited network PCRF information and the home network PCRF information, and the visited network PCRF sends a session establishment request to the home network PCRF according to the home network PCRF information carried in the session establishment request to establish a session. 10.如权利要求3所述的方法,其特征在于,所述归属网络Diameter路由代理接收拜访网络PCRF传输来的消息的步骤包括: 10. The method according to claim 3, wherein the step of receiving the message transmitted by the visited network PCRF by the Diameter routing agent of the home network comprises: 拜访网络Diameter路由代理根据网络设备传输来的消息确定需要选择PCRF,拜访网络Diameter路由代理确定出拜访网络PCRF,并向所述拜访网络PCRF转发所述消息,由所述拜访网络PCRF向归属网络Diameter路由代理转发所述消息; The visited network Diameter routing agent determines that PCRF needs to be selected according to the message transmitted by the network device, the visited network Diameter routing agent determines the visited network PCRF, and forwards the message to the visited network PCRF, and the visited network PCRF sends the home network Diameter The routing agent forwards the message; 所述网络设备为需要与归属网络PCRF建立会话的网络设备。 The network device is a network device that needs to establish a session with the home network PCRF. 11.如权利要求4或8或10所述的方法,其特征在于,所述网络设备传输来的消息包括:用于获取拜访网络PCRF信息的查询消息或用于请求建立网络设备与归属网络PCRF之间会话的会话建立请求;所述返回的消息包括:与查询消息对应的查询响应消息或与会话建立请求对应的重定向通知。 11. The method according to claim 4, 8 or 10, wherein the message transmitted by the network device includes: a query message for obtaining the PCRF information of the visited network or a request for establishing the PCRF between the network device and the home network The session establishment request of the session between them; the returned message includes: a query response message corresponding to the query message or a redirect notification corresponding to the session establishment request. 12.如权利要求4或5或9或10所述的方法,其特征在于,确定出拜访或归属网络PCRF的步骤包括: 12. The method according to claim 4 or 5 or 9 or 10, wherein the step of determining the visited or home network PCRF comprises: 拜访或归属网络Diameter路由代理判断是否存储有匹配的PCRF信息; The visiting or home network Diameter routing agent determines whether there is matching PCRF information stored; 如果存储有匹配的PCRF信息,则将所述匹配的PCRF信息确定为拜访或归属网络PCRF; If there is matching PCRF information stored, then determining the matching PCRF information as the visited or home network PCRF; 如果没有存储有匹配的PCRF信息,则根据预定策略确定出拜访或归属网 络PCRF; If no matching PCRF information is stored, determine the visited or home network PCRF according to a predetermined policy; 当拜访或归属网络Diameter路由代理根据预定策略确定拜访或归属网络PCRF,拜访或归属网络Diameter路由代理存储所述确定出的拜访或归属网络PCRF信息。 When the visited or home network Diameter routing agent determines the visited or home network PCRF according to a predetermined policy, the visited or home network Diameter routing agent stores the determined visited or home network PCRF information. 13.一种直径Diameter路由代理,其特征在于,包括: 13. A Diameter routing agent, characterized in that, comprising: 第一模块,用于接收网络设备传输来的消息;所述消息包括:在漫游场景下且所述Diameter游由代理位于拜访网络的情况下、网络设备在与PCRF或归属网络PCRF建立会话过程中传输来的消息; The first module is configured to receive a message transmitted by the network device; the message includes: in a roaming scenario and the Diameter tour agent is located in the visited network, the network device establishes a session with the PCRF or the home network PCRF incoming messages; 第二模块,用于在第一模块接收到网络设备传输来的消息后,根据存储的PCRF信息或预定策略确定出PCRF或拜访网络PCRF; The second module is configured to determine the PCRF or the visited network PCRF according to the stored PCRF information or the predetermined strategy after the first module receives the message transmitted by the network device; 第三模块,用于向所述网络设备返回携带有所述第二模块确定出的PCRF或拜访网络PCRF信息的消息,或向所述确定出的PCRF或拜访网络PCRF转发第一模块接收到的所述消息。 The third module is configured to return a message carrying the PCRF or visited network PCRF information determined by the second module to the network device, or forward the information received by the first module to the determined PCRF or visited network PCRF said message. 14.一种直径Diameter路由代理,其特征在于,包括: 14. A Diameter routing agent, characterized in that, comprising: 第四模块,用于接收拜访网络传输来的消息;所述消息包括:在漫游场景下、拜访网络在会话建立过程中传输来的消息; The fourth module is configured to receive a message transmitted by the visited network; the message includes: in a roaming scenario, a message transmitted by the visited network during session establishment; 第五模块,用于在第四块接收到拜访网络传输来的消息后,确定出归属网络PCRF; The fifth module is used to determine the home network PCRF after the fourth block receives the message transmitted by the visited network; 第六模块,用于向拜访网络返回携带有所述确定出的归属网络PCRF信息的消息或者向所述确定出的归属网络PCRF转发第四模块接收到的消息。 The sixth module is configured to return a message carrying the determined home network PCRF information to the visited network or forward the message received by the fourth module to the determined home network PCRF. 15.如权利要求14所述的Diameter路由代理,其特征在于,还包括: 15. Diameter routing agent as claimed in claim 14, is characterized in that, also comprises: 第一模块,用于接收网络设备传输来的消息;所述消息包括:在非漫游场景下或者在漫游场景下第一模块所在的Diameter路由代理位于拜访网络、网络设备在与PCRF或归属网络PCRF建立会话过程中传输来的消息; The first module is configured to receive a message transmitted by the network device; the message includes: in a non-roaming scenario or in a roaming scenario, the Diameter routing agent where the first module is located is located in the visited network, and the network device is in the same relationship with the PCRF or the home network PCRF Messages transmitted during session establishment; 第二模块,用于在第一模块接收到网络设备传输来的消息后,根据存储的 PCRF信息或预定策略确定出PCRF或拜访网络PCRF; The second module is used to determine the PCRF or visited network PCRF according to the stored PCRF information or predetermined strategy after the first module receives the message transmitted by the network device; 第三模块,用于向所述网络设备返回携带有所述第二模块确定出的PCRF或拜访网络PCRF信息的消息,或向所述确定出的PCRF或拜访网络PCRF转发第一模块接收到的所述消息。 The third module is configured to return a message carrying the PCRF or visited network PCRF information determined by the second module to the network device, or forward the information received by the first module to the determined PCRF or visited network PCRF said message. 16.如权利要求14所述的Diameter路由代理,其特征在于,还包括: 16. Diameter routing agent as claimed in claim 14, is characterized in that, also comprises: 第七模块,接收归属网络Diameter路由代理返回的消息; The seventh module receives the message returned by the Diameter routing agent of the home network; 第二模块,用于在其所在的Diameter路由代理位于拜访网络、且参与PCRF选择的情况下,根据第七模块接收的消息中携带的信息确定需要选择拜访网络PCRF后,根据存储的PCRF信息或预定策略确定出拜访网络PCRF; The second module is used to determine that the visited network PCRF needs to be selected according to the information carried in the message received by the seventh module when the Diameter routing agent where it is located is located in the visited network and participates in PCRF selection, and then according to the stored PCRF information or The predetermined strategy determines the visited network PCRF; 第三模块,用于向所述网络设备返回携带有所述第二模块确定出的拜访网络PCRF信息的消息。  A third module, configured to return a message carrying the PCRF information of the visited network determined by the second module to the network device. the
CN2008100557128A 2008-01-07 2008-01-07 Method and apparatus for selecting policy and fee charging rule functional entity Active CN101483826B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2008100557128A CN101483826B (en) 2008-01-07 2008-01-07 Method and apparatus for selecting policy and fee charging rule functional entity
PCT/CN2009/070046 WO2009092304A1 (en) 2008-01-07 2009-01-06 A method and apparatus for selecting the policy and charging rule function entity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100557128A CN101483826B (en) 2008-01-07 2008-01-07 Method and apparatus for selecting policy and fee charging rule functional entity

Publications (2)

Publication Number Publication Date
CN101483826A CN101483826A (en) 2009-07-15
CN101483826B true CN101483826B (en) 2012-06-27

Family

ID=40880716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100557128A Active CN101483826B (en) 2008-01-07 2008-01-07 Method and apparatus for selecting policy and fee charging rule functional entity

Country Status (2)

Country Link
CN (1) CN101483826B (en)
WO (1) WO2009092304A1 (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7916685B2 (en) 2004-12-17 2011-03-29 Tekelec Methods, systems, and computer program products for supporting database access in an internet protocol multimedia subsystem (IMS) network environment
CN101998513B (en) * 2009-08-14 2012-12-19 中兴通讯股份有限公司 Method and system for controlling policy and charging rules function (PCRF) load balance and redirect diameter routing agent (DRA)
US8615237B2 (en) * 2010-01-04 2013-12-24 Tekelec, Inc. Methods, systems, and computer readable media for policy and charging rules function (PCRF) node selection
CN102238645B (en) * 2010-04-28 2016-04-13 中兴通讯股份有限公司 For policy control method and the Packet Service system of Packet Service
CN102771180A (en) * 2010-12-03 2012-11-07 华为技术有限公司 Implementation method of addressing between different networks, routing agent network element and system
WO2012154674A2 (en) 2011-05-06 2012-11-15 Tekelec, Inc. Methods, systems, and computer readable media for steering a subscriber between access networks
CN103107901B (en) * 2011-11-11 2016-11-23 华为终端有限公司 "Policy and Charging Rules Function system of selection and relevant device
CN103929756B (en) * 2013-01-16 2019-02-19 中兴通讯股份有限公司 A kind of web information processing method, device and system
US9319378B2 (en) 2013-01-23 2016-04-19 Tekelec, Inc. Methods, systems, and computer readable media for using a diameter routing agent (DRA) to obtain mappings between mobile subscriber identification information and dynamically assigned internet protocol (IP) addresses and for making the mappings accessible to applications
CN104219783B (en) * 2013-06-05 2018-03-23 中国移动通信集团公司 A kind of session redirection method and apparatus
CN104581670B (en) * 2013-10-15 2019-03-15 中兴通讯股份有限公司 Application access control method and application function entity device
CN103731817B (en) * 2014-01-02 2017-04-12 中国联合网络通信集团有限公司 Data transmission method and equipment
CN105516952A (en) * 2014-10-20 2016-04-20 中兴通讯股份有限公司 Method and apparatus for selecting policy and charging rules function
US10951519B2 (en) 2015-06-17 2021-03-16 Oracle International Corporation Methods, systems, and computer readable media for multi-protocol stateful routing
US9668135B2 (en) 2015-08-14 2017-05-30 Oracle International Corporation Methods, systems, and computer readable media for providing access network signaling protocol interworking for user authentication
US9668134B2 (en) 2015-08-14 2017-05-30 Oracle International Corporation Methods, systems, and computer readable media for providing access network protocol interworking and authentication proxying
US10084755B2 (en) 2015-08-14 2018-09-25 Oracle International Corporation Methods, systems, and computer readable media for remote authentication dial in user service (RADIUS) proxy and diameter agent address resolution
US9923984B2 (en) 2015-10-30 2018-03-20 Oracle International Corporation Methods, systems, and computer readable media for remote authentication dial in user service (RADIUS) message loop detection and mitigation
US10554661B2 (en) 2015-08-14 2020-02-04 Oracle International Corporation Methods, systems, and computer readable media for providing access network session correlation for policy control
CN109691152B (en) 2016-11-08 2020-09-08 华为技术有限公司 Fusion controller selection method, equipment and system
CN108075902A (en) * 2016-11-16 2018-05-25 中兴通讯股份有限公司 Addressing method, the apparatus and system of routing
US11283883B1 (en) 2020-11-09 2022-03-22 Oracle International Corporation Methods, systems, and computer readable media for providing optimized binding support function (BSF) packet data unit (PDU) session binding discovery responses

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852384A (en) * 2005-06-18 2006-10-25 华为技术有限公司 Method for realizing policy and charging rule decision
CN1988722A (en) * 2005-12-20 2007-06-27 北京三星通信技术研究有限公司 Method for controling tactics under roaming state

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE530039T1 (en) * 2006-02-07 2011-11-15 Ericsson Telefon Ab L M METHOD AND DEVICE FOR USE IN A COMMUNICATIONS NETWORK
CN101159563B (en) * 2007-11-02 2011-01-05 中兴通讯股份有限公司 Method and system for selecting strategy charging control server
CN101227391B (en) * 2008-01-09 2012-01-11 中兴通讯股份有限公司 method for selecting function entity of tactics and charging rules under non-roaming condition
CN100579302C (en) * 2008-01-10 2010-01-06 中兴通讯股份有限公司 A method for selecting a policy and charging rule function server in a non-roaming scenario

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852384A (en) * 2005-06-18 2006-10-25 华为技术有限公司 Method for realizing policy and charging rule decision
CN1988722A (en) * 2005-12-20 2007-06-27 北京三星通信技术研究有限公司 Method for controling tactics under roaming state

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
3rd Generation Partnership Project.Technical Specification Group Services and System Aspects *
Policy and charging control architecture Release 8.《3GPP TS 23.203 V8.0.0》.2007,43-45. *

Also Published As

Publication number Publication date
CN101483826A (en) 2009-07-15
WO2009092304A1 (en) 2009-07-30

Similar Documents

Publication Publication Date Title
CN101483826B (en) Method and apparatus for selecting policy and fee charging rule functional entity
US9019890B2 (en) Method for selecting a policy and charging rules function server on a non-roaming scene
JP5044020B2 (en) Method, system and apparatus for supporting addressing of user static IP address in LTE system
US8438290B2 (en) Method for selecting a policy and charging rules function entity in the non-roaming scenario
CN101646149B (en) Method for deleting session messages in DRA
CN102238507B (en) Determine the method and system of "Policy and Charging Rules Function
CN105101176B (en) A session binding method, device and system in a roaming scenario
CN103430487A (en) Method, apparatus and system for detecting service data of packet data connection
US20150334633A1 (en) Method, Apparatus And System For Policy Control
US10326604B2 (en) Policy and charging rules function (PCRF) selection
CN101330723A (en) Method and system for establishing tunnel in evolving network
CN101998513B (en) Method and system for controlling policy and charging rules function (PCRF) load balance and redirect diameter routing agent (DRA)
WO2009089776A1 (en) Method and apparatus for the policy and charging rule function information maintenance
US9485106B2 (en) Method for processing TDF session and PCRF
CN104969609B (en) Data transmission control method and device based on wireless communication network
CN102711086B (en) Sponsored Data Connection Processing Method and Policy and Charging Rules Functional Entity
WO2011009253A1 (en) Method and system for querying a domain name in a mobile network
CN103369502B (en) The processing method and network element of a kind of policy control session
CN101998515B (en) The implementation method of control PCRF load balancing and realize system
CN101610496A (en) A routing processing method, network entity and network system
CN103391564B (en) The system of selection of policing rule equipment and device
CN105704752B (en) The business method and device isolated with routing
JP5872705B2 (en) Roaming agreement / End of roaming session triggered by partner erasure
CN108667879B (en) Data service session binding method, routing equipment and system
HK1143906B (en) A method for selecting a policy and charging rules function server on a non-roaming scene

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant