CN105050072A - Session binding method and network system - Google Patents

Session binding method and network system Download PDF

Info

Publication number
CN105050072A
CN105050072A CN201510519018.7A CN201510519018A CN105050072A CN 105050072 A CN105050072 A CN 105050072A CN 201510519018 A CN201510519018 A CN 201510519018A CN 105050072 A CN105050072 A CN 105050072A
Authority
CN
China
Prior art keywords
dra
pcrf
response message
binding information
message
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.)
Pending
Application number
CN201510519018.7A
Other languages
Chinese (zh)
Inventor
穆佳
王光全
赫罡
高功应
龚子丹
罗佩华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201510519018.7A priority Critical patent/CN105050072A/en
Publication of CN105050072A publication Critical patent/CN105050072A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Landscapes

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

Abstract

The invention discloses a session binding method and a network system in an embodiment and relates to the technical field of communications. The session binding method is capable of realizing the binding of DRA2 and DRA1 to the same PCRF. The method of the embodiment comprises the following steps: the first DRA receives a response message sent by the PCRF, wherein the response message carries PCRF binding information; the first DRA obtains the PCRF binding information and stores the PCRF binding information in a first database; the first DRA sends a data synchronization request message to the second DRA via a data transmission channel, wherein the data synchronization request carries the PCRF binding information; and the second DRA saves the PCRF binding information so that the second DRA can be bound to the PCRF according to the PCRF binding information. The session binding method is suitable for a network system.

Description

一种会话绑定的方法及网络系统Method and network system for session binding

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种会话绑定的方法及网络系统。The invention relates to the technical field of communication, in particular to a session binding method and a network system.

背景技术Background technique

随着通信技术的发展,为了提高寻址的准确率,通常将同一个用户在不同接口上的PCC(PolicyandChargingControl,策略与计费控制)会话绑定到同一个PCRF(PolicyandChargingRulesFunction,策略和计费规则功能实体)。其中,PCC会话可以实现对业务的控制、计费。目前,一种同一个用户在不同接口上的PCC会话绑定到同一个PCRF的方法如下:With the development of communication technology, in order to improve the accuracy of addressing, PCC (Policy and Charging Control, policy and charging control) sessions of the same user on different interfaces are usually bound to the same PCRF (Policy and Charging Rules Function, policy and charging rule functional entities). Among them, the PCC session can implement service control and charging. Currently, a method for binding PCC sessions of the same user on different interfaces to the same PCRF is as follows:

当PCEF(PolicyandChargingEnforcementFunction,策略和计费执行功能实体)向DRA(DiameterRoutingAgent,路由代理节点)1发送携带有IMSI(InternationalMobileSubscriberIdentificationNumber,国际移动用户识别码)和用户IP(InternetProtocol,网际协议)地址的Gx接口消息时,DRA1根据PCEF发送的IMSI、用户的IP地址,以及DRA1上预先存储的IMSI与PCRF的对应关系,确定PCRF,并将IMSI、用户的IP地址与PCRF的对应关系存储在DRA1的存储区域内;DRA1将IMSI与用户的IP地址、PCRF的对应关系通过DRA1和DRA2之间的私有接口,同步至DRA2;当AF(ApplicationFunction,应用功能实体)向DRA2发起Rx接口消息时,DRA2根据Rx接口消息携带的用户的IP地址,以及IMSI、用户的IP地址与PCRF的对应关系,确定PCRF,从而使DRA1和DRA2绑定至同一个PCRF,也就是同一个用户在Gx和Rx接口上的PCC会话绑定到同一个PCRF。When PCEF (PolicyandChargingEnforcementFunction, policy and charging enforcement function entity) sends a Gx interface message carrying IMSI (InternationalMobileSubscriberIdentificationNumber, International Mobile Subscriber Identification Number) and user IP (InternetProtocol, Internet Protocol) address to DRA (DiameterRoutingAgent, routing proxy node) 1 , DRA1 determines the PCRF according to the IMSI sent by PCEF, the user's IP address, and the pre-stored correspondence between IMSI and PCRF on DRA1, and stores the correspondence between IMSI, the user's IP address, and PCRF in the storage area of DRA1 ; DRA1 synchronizes the corresponding relationship between IMSI, user's IP address and PCRF to DRA2 through the private interface between DRA1 and DRA2; when AF (ApplicationFunction, application function entity) initiates an Rx interface message to DRA2, DRA2 The carried user's IP address, as well as the corresponding relationship between the IMSI, the user's IP address, and the PCRF, determines the PCRF, so that DRA1 and DRA2 are bound to the same PCRF, that is, the PCC sessions of the same user on the Gx and Rx interfaces are bound to the same PCRF.

但是,当DRA1与DRA2属于不同厂家时,DRA1与DRA2之间无法通过私有接口进行通信,也就是DRA1无法通过私有接口将IMSI、用户的IP地址与PCRF的对应关系发送给DRA2,使DRA2无法根据Rx接口消息,以及IMSI、用户的IP地址与PCRF的对应关系来确定DRA1绑定的PCRF,导致PCC会话无法绑定到同一个PCRF,从而无法实现DRA2与DRA1绑定到同一PCRF。However, when DRA1 and DRA2 belong to different manufacturers, DRA1 and DRA2 cannot communicate through the private interface, that is, DRA1 cannot send the corresponding relationship between IMSI, user IP address and PCRF to DRA2 through the private The Rx interface message, and the corresponding relationship between the IMSI, the user's IP address, and the PCRF determine the PCRF bound to DRA1, resulting in the failure of the PCC session to be bound to the same PCRF, so that DRA2 and DRA1 cannot be bound to the same PCRF.

发明内容Contents of the invention

本发明实施例提供一种会话绑定的方法及网络系统,能够实现DRA2与DRA1绑定到同一PCRF。Embodiments of the present invention provide a session binding method and network system, which can realize binding of DRA2 and DRA1 to the same PCRF.

为达到上述目的,本发明实施例采用如下技术方案:In order to achieve the above object, the embodiment of the present invention adopts the following technical solutions:

第一方面,本发明实施例提供一种会话绑定的方法,所述方法用于网络系统,所述网络系统设置有第一路由代理节点DRA、第二DRA和策略和计费规则功能实体PCRF,所述第一DRA设置有第一数据库,所述第一数据库用于存储PCRF绑定信息,所述方法包括:In the first aspect, an embodiment of the present invention provides a method for session binding, the method is used in a network system, and the network system is provided with a first routing proxy node DRA, a second DRA, and a policy and charging rule functional entity PCRF , the first DRA is provided with a first database, the first database is used to store PCRF binding information, and the method includes:

所述第一DRA接收所述PCRF发送的响应消息,所述响应消息携带有所述PCRF绑定信息;The first DRA receives a response message sent by the PCRF, where the response message carries the PCRF binding information;

所述第一DRA获取所述PCRF绑定信息,并存储在所述第一数据库;The first DRA acquires the PCRF binding information and stores it in the first database;

所述第一DRA通过数据传输信道向所述第二DRA发送数据同步请求消息,所述数据同步请求消息携带有所述PCRF绑定信息;The first DRA sends a data synchronization request message to the second DRA through a data transmission channel, and the data synchronization request message carries the PCRF binding information;

所述第二DRA保存所述PCRF绑定信息,以便于所述第二DRA根据所述PCRF绑定信息绑定到所述PCRF。The second DRA saves the PCRF binding information, so that the second DRA binds to the PCRF according to the PCRF binding information.

第二方面,本发明实施例提供一种网络系统,所述网络系统设置有第一路由代理节点DRA、第二DRA和策略和计费规则功能实体PCRF,所述第一DRA设置有第一数据库,所述第一数据库用于存储PCRF绑定信息,所述第一DRA,用于接收所述PCRF发送的响应消息,所述响应消息携带有所述PCRF绑定信息;In the second aspect, an embodiment of the present invention provides a network system, the network system is provided with a first routing proxy node DRA, a second DRA and a policy and charging rule functional entity PCRF, and the first DRA is provided with a first database , the first database is used to store PCRF binding information, and the first DRA is used to receive a response message sent by the PCRF, the response message carrying the PCRF binding information;

所述第一DRA,还用于获取所述PCRF绑定信息,并存储在所述第一数据库;The first DRA is also used to acquire the PCRF binding information and store it in the first database;

所述第一DRA,还用于通过数据传输信道向所述第二DRA发送数据同步请求消息,所述数据同步请求消息携带有所述PCRF绑定信息;The first DRA is further configured to send a data synchronization request message to the second DRA through a data transmission channel, where the data synchronization request message carries the PCRF binding information;

所述第二DRA,用于保存所述PCRF绑定信息,以便于所述第二DRA根据所述PCRF绑定信息绑定到所述PCRF。The second DRA is configured to save the PCRF binding information, so that the second DRA binds to the PCRF according to the PCRF binding information.

本发明实施例提供的一种会话绑定的方法及网络系统,第一DRA接收PCRF发送的携带有PCRF绑定信息的响应消息,并将PCRF绑定信息存储在第一DRA的第一数据库,之后通过数据传输信道向第二DRA发送携带有PCRF绑定信息的数据同步请求消息,第二DRA保存PCRF绑定信息。相比较于现有技术中属于同一厂家的DRA1和DRA2通过私有接口同步IMSI、用户的IP地址与PCRF的对应关系,使DRA2根据Rx接口消息,以及IMSI、用户的IP地址与PCRF的对应关系来确定DRA1绑定的PCRF,并将DRA2绑定到同一个PCRF,本发明实施例可以通过在第一DRA设置第一数据库,将PCRF绑定信息存储在第一数据库中,并通过数据传输信道向第二DRA发送,确保第二DRA可以获取到第一DRA发送的PCRF绑定信息,以便于第二DRA根据PCRF绑定信息绑定到PCRF,避免了因DRA2和DRA1属于不同厂家,使DRA2可能无法识别DRA1通过私有接口发送的IMSI、用户的IP地址与PCRF的对应关系而导致DRA2无法成功绑定PCRF。因此,确保了DRA2可以根据DRA1发送的PCRF绑定信息,绑定到DRA1所绑定的PCRF,从而实现DRA2与DRA1绑定到同一PCRF。In the method and network system for session binding provided by the embodiments of the present invention, the first DRA receives the response message carrying the PCRF binding information sent by the PCRF, and stores the PCRF binding information in the first database of the first DRA, Afterwards, a data synchronization request message carrying the PCRF binding information is sent to the second DRA through the data transmission channel, and the second DRA stores the PCRF binding information. Compared with DRA1 and DRA2 belonging to the same manufacturer in the prior art, the corresponding relationship between IMSI, the user's IP address and PCRF is synchronized through a private interface, so that DRA2 can be used according to the Rx interface message, and the corresponding relationship between IMSI, user's IP address and PCRF. Determine the PCRF bound to DRA1, and bind DRA2 to the same PCRF. In the embodiment of the present invention, the PCRF binding information may be stored in the first database by setting the first database on the first DRA, and send the PCRF binding information to the first database through the data transmission channel. The second DRA is sent to ensure that the second DRA can obtain the PCRF binding information sent by the first DRA, so that the second DRA can bind to the PCRF according to the PCRF binding information, avoiding that DRA2 and DRA1 belong to different manufacturers, so that DRA2 may The corresponding relationship between the IMSI sent by DRA1 through the private interface, the user's IP address, and the PCRF cannot be recognized, so that DRA2 cannot successfully bind the PCRF. Therefore, it is ensured that DRA2 can bind to the PCRF bound to DRA1 according to the PCRF binding information sent by DRA1, so that DRA2 and DRA1 can be bound to the same PCRF.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.

图1为本发明实施例提供的一种会话绑定的方法交互图;FIG. 1 is an interactive diagram of a session binding method provided by an embodiment of the present invention;

图2为本发明实施例提供的另一种会话绑定的方法交互图;FIG. 2 is an interaction diagram of another session binding method provided by an embodiment of the present invention;

图3为本发明实施例提供的另一种会话绑定的方法交互图;FIG. 3 is an interaction diagram of another session binding method provided by an embodiment of the present invention;

图4为本发明实施例提供的另一种会话绑定的方法交互图;FIG. 4 is an interaction diagram of another session binding method provided by an embodiment of the present invention;

图5为本发明实施例提供的另一种会话绑定的方法交互图;FIG. 5 is an interaction diagram of another session binding method provided by an embodiment of the present invention;

图6为本发明实施例提供的另一种会话绑定的方法交互图;FIG. 6 is an interaction diagram of another session binding method provided by an embodiment of the present invention;

图7为本发明实施例提供的一种PCC会话创建过程中的数据同步交互图;FIG. 7 is a data synchronization interaction diagram in a PCC session creation process provided by an embodiment of the present invention;

图8为本发明实施例提供的一种PCC会话更新过程中的数据同步交互图;FIG. 8 is a data synchronization interaction diagram during a PCC session update process provided by an embodiment of the present invention;

图9为本发明实施例提供的一种PCC会话终止过程中的数据同步交互图;FIG. 9 is a data synchronization interaction diagram during a PCC session termination process provided by an embodiment of the present invention;

图10为本发明实施例提供的一种网络系统的结构示意图。FIG. 10 is a schematic structural diagram of a network system provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明实施例可以用于一种网络系统,网络系统设置有第一DRA、第二DRA、PCRF和PCEF。其中,PCEF与PCRF可以通过Gx接口进行通信,第一DRA设置有第一数据库,第二DRA设置有第二数据库,第一数据库和第二数据库均用于存储PCRF绑定信息。在本发明实施例中,网络系统还可以设置有AF,AF与PCRF可以通过Rx接口进行通信。在IMS(IPMultimediaSubsystem,IP多媒体子系统)中,AF可以为P-CSCF(Proxy-CallSessionControlFuntion,代理呼叫会话控制功能实体)。The embodiment of the present invention can be used in a network system, and the network system is provided with a first DRA, a second DRA, a PCRF, and a PCEF. Wherein, the PCEF and the PCRF can communicate through the Gx interface, the first DRA is provided with a first database, and the second DRA is provided with a second database, and both the first database and the second database are used to store PCRF binding information. In the embodiment of the present invention, the network system may also be provided with an AF, and the AF and the PCRF may communicate through the Rx interface. In the IMS (IP Multimedia Subsystem, IP Multimedia Subsystem), the AF may be a P-CSCF (Proxy-CallSessionControlFuntion, proxy call session control function entity).

本发明实施例提供一种会话绑定的方法,如图1所示,该方法由第一DRA和第二DRA来执行,该方法包括:An embodiment of the present invention provides a method for session binding. As shown in FIG. 1, the method is performed by the first DRA and the second DRA, and the method includes:

101、第一DRA接收PCRF发送的响应消息。101. The first DRA receives a response message sent by the PCRF.

其中,响应消息携带有PCRF绑定信息。Wherein, the response message carries PCRF binding information.

PCEF可以向第一DRA发送CCR-I(CreditControlRequest-Initial,信用控制创建请求)消息,之后由第一DRA将CCR-I消息发送给PCPF,当PCRF接收到第一DRA发送的CCR-I消息时,PCRF向第一DRA发送携带有PCRF绑定信息的响应消息,即CCA-I(CreditControlAnswer-Initial,信用控制创建响应)消息;或者,PCEF可以向第一DRA发送CCR-U(CreditControlRequest-Update,信用控制更新请求)消息,之后由第一DRA将CCR-U消息发送给PCPF,当PCRF接收到第一DRA发送的CCR-U消息时,PCRF向第一DRA发送携带有PCRF绑定信息的响应消息,即CCA-U(CreditControlAnswer-Update,信用控制更新响应)消息;或者,PCEF可以向第一DRA发送CCR-T(CreditControlRequest-Termination,信用控制终止请求)消息,之后由第一DRA将CCR-T消息发送给PCPF,当PCRF接收到第一DRA发送的CCR-T消息时,PCRF向第一DRA发送携带有PCRF绑定信息的响应消息,即CCA-T(CreditControlAnswer-Termination,信用控制终止响应)消息。PCEF can send a CCR-I (CreditControlRequest-Initial, credit control creation request) message to the first DRA, and then the first DRA sends the CCR-I message to PCPF, when the PCRF receives the CCR-I message sent by the first DRA , the PCRF sends a response message carrying PCRF binding information to the first DRA, that is, a CCA-I (CreditControlAnswer-Initial, credit control creation response) message; or, the PCEF may send a CCR-U (CreditControlRequest-Update, Credit Control Update Request) message, after which the first DRA sends the CCR-U message to the PCPF, and when the PCRF receives the CCR-U message sent by the first DRA, the PCRF sends a response carrying the PCRF binding information to the first DRA message, that is, a CCA-U (CreditControlAnswer-Update, credit control update response) message; or, the PCEF may send a CCR-T (CreditControlRequest-Termination, credit control termination request) message to the first DRA, and then the first DRA sends the CCR- The T message is sent to PCPF. When the PCRF receives the CCR-T message sent by the first DRA, the PCRF sends a response message carrying PCRF binding information to the first DRA, that is, CCA-T (CreditControlAnswer-Termination, credit control termination response )information.

102、第一DRA获取PCRF绑定信息,并存储在第一数据库。102. The first DRA acquires the PCRF binding information and stores it in the first database.

在本发明实施例中,第一DRA可以通过表格的形式将PCRF绑定信息存储在第一数据库中,如表一所示,PCRF绑定信息具体可以包括:会话标识(SessionID)、IMSI(InternationalMobileSubscriberIdentificationNumber,移动用户识别码)、MSISDN(MobileStationISDN,移动用户的综合业务数字网编号)、用户的IP地址(IPAddress)、APN(AccessPointName,接入点名称)、PCRF主机名称(PCRFHost)和PCEF主机名称(PCEFHost)。In the embodiment of the present invention, the first DRA can store the PCRF binding information in the first database in the form of a table. As shown in Table 1, the PCRF binding information can specifically include: session identifier (SessionID), IMSI (InternationalMobileSubscriberIdentificationNumber , Mobile Subscriber Identity Code), MSISDN (MobileStationISDN, Integrated Services Digital Network Number of Mobile Subscriber), IP Address (IPAddress), APN (AccessPointName, Access Point Name), PCRF Host Name (PCRFHost) and PCEF Host Name ( PCEFHost).

表一Table I

参数parameter 描述describe Session IDSession ID 标识用户当前的Gx接口会话Identifies the user's current Gx interface session IMSIIMSI 标识用户的国际移动用户识别码International Mobile Subscriber Identity that identifies the user MSISDNMSISDN 标识用户的移动电话号码Identifies the user's mobile phone number IP AddressIP Address 标识用户当前会话使用的IP地址Identifies the IP address used by the user for the current session APNAPNs 标识用户当前会话的接入点名称Identifies the access point name of the user's current session PCRF HostPCRF Host 标识用户当前会话绑定的PCRF主机名称Identifies the name of the PCRF host bound to the current session of the user PCEF HostPCEF Host 标识用户当前会话的PCEF主机名称Identifies the PCEF host name of the user's current session

需要说明的是,SessionID可以用于标识不同的会话信息,一个会话表示用户和外部分组数据网络之间的一个连接。根据PCC接口的不同,PCC会话标识可以包括:Gx接口会话标识和Rx接口会话标识,在本发明实施例中,会话标识特指Gx接口会话标识。It should be noted that the SessionID can be used to identify different session information, and a session represents a connection between the user and the external packet data network. According to different PCC interfaces, the PCC session identifier may include: a Gx interface session identifier and an Rx interface session identifier. In the embodiment of the present invention, the session identifier specifically refers to the Gx interface session identifier.

IMSI为国际移动用户识别码,是在2G/3G/4G移动通信网络中用于唯一识别一个移动用户的号码,最长位数为15位。IMSI格式采用E.212编码方式,由MCC(MobileCountryCode,移动国家码)、MNC(MobileNetworkCode,移动网络号码)和MSIN(MobileSubscriberIdentificationNumber,移动用户识别号码)组成。其中,MMC由3个数字组成,用于唯一识别移动用户所属的国家,例如:中国的MMC为460;MNC用于识别移动用户所归属的移动网,例如:中国联通的移动网号有01、06、09和10;MSIN用于唯一识别国内中国联通2G/3G/4G移动网络中的移动用户,采用10位。IMSI is the International Mobile Subscriber Identity, which is a number used to uniquely identify a mobile user in a 2G/3G/4G mobile communication network, with a maximum of 15 digits. The IMSI format adopts the E.212 encoding method and consists of MCC (MobileCountryCode, mobile country code), MNC (MobileNetworkCode, mobile network number) and MSIN (MobileSubscriberIdentificationNumber, mobile subscriber identification number). Among them, MMC is composed of 3 numbers, which are used to uniquely identify the country to which the mobile user belongs, for example: MMC in China is 460; MNC is used to identify the mobile network to which the mobile user belongs, for example: the mobile network number of China Unicom has 01, 06, 09 and 10; MSIN is used to uniquely identify mobile users in the domestic China Unicom 2G/3G/4G mobile network, using 10 digits.

MSISDN为移动用户的ISDN编号,ISDN(IntegratedServiceDigitalNetwork,综合业务数字网)是指主叫用户为呼叫2G/3G/4G移动用户所拨的号码,是移动用户对外公开的电话号码,位长不超过15位。MSISDN格式采用E.164编码方式,由CC(CountryCode,国家码)、NDC(NationalDestinationCode,国内目的编码)和SN(SubscriberNumber,客户号码)组成。其中,中国的CC为86;NDC为网络接入号码,由3位组成,即N1N2N3,例如:中国联通现有可以用于2G/3G/4G用户的NDC号码为130、131、132、156、155、145和186;SN由8位组成,即H0H1H2H3ABCD,H0H1H2H3对应于运营商用户数据库的识别码,由运营商进行统一分配,用于唯一标识一台运营商用户数据库设备;ABCD是序列号,由运营商用户数据库进行分配。MSISDN is the ISDN number of the mobile user. ISDN (Integrated Service Digital Network) refers to the number dialed by the calling user to call the 2G/3G/4G mobile user. bit. The MSISDN format adopts the E.164 encoding method and consists of CC (CountryCode, country code), NDC (NationalDestinationCode, domestic destination code) and SN (SubscriberNumber, customer number). Among them, China's CC is 86; NDC is the network access number, which consists of 3 digits, namely N1N2N3, for example: China Unicom's existing NDC numbers that can be used for 2G/3G/4G users are 130, 131, 132, 156, 155, 145 and 186; SN consists of 8 bits, namely H0H1H2H3ABCD, H0H1H2H3 corresponds to the identification code of the operator's user database, which is uniformly allocated by the operator to uniquely identify an operator's user database device; ABCD is the serial number, Assigned by operator user database.

IPAddress是当移动用户使用分组数据业务时,移动网络为用户分配的IP地址,用于分组数据业务的接入。其中,根据使用地址类型的不同,用户的IP地址可分为用户的IPv4地址、用户的IPv6地址和用户的IPv4v6地址。IPAddress is the IP address assigned by the mobile network to the user when the mobile user uses the packet data service, and is used for accessing the packet data service. The user's IP address can be divided into a user's IPv4 address, a user's IPv6 address, and a user's IPv4v6 address according to different types of addresses used.

在2G/3G/4G移动分组网络中,APN用于表示用户使用分组数据业务所连接的外部数据网络。其中,APN由网络标识和运营商标识两部分组成。网络标识定义了用户连接的外部网络,例如:uninet或3gnet;运营者标识定义了用户所处的2G/3G/4G移动网络,例如:中国联通网络的一个典型运营者标识为apn.epc.mnc001.mcc460.3gppnetwork.org。因此,一个完整的APN示例可以为uninet.apn.epc.mnc001.mcc460.3gppnetwork.org。In the 2G/3G/4G mobile packet network, APN is used to indicate the external data network connected by the user using the packet data service. Among them, the APN consists of two parts: a network identifier and an operator identifier. The network identifier defines the external network that the user connects to, for example: uninet or 3gnet; the operator identifier defines the 2G/3G/4G mobile network that the user is in, for example: a typical operator identifier of China Unicom network is apn.epc.mnc001 .mcc460.3gppnetwork.org. So an example of a complete APN could be uninet.apn.epc.mnc001.mcc460.3gppnetwork.org.

在本发明实施例中,PCRF主机名称可以为pcrf(编号).<城市缩写>.[省份缩写].pcrf.epc.mnc<MNC>.mcc<MCC>.3gppnetwork.org;PCEF主机名称可以为pcrf(编号).<城市缩写>.[省份缩写].pcef.epc.mnc<MNC>.mcc<MCC>.3gppnetwork.org。例如:北京某台PCRF主机名称可以命名为:pcrf01.bj.bj.pcrf.epc.mnc001.mcc460.3gppnetwork.org。In the embodiment of the present invention, the PCRF host name can be pcrf (number).<city abbreviation>.[province abbreviation].pcrf.epc.mnc<MNC>.mcc<MCC>.3gppnetwork.org; the PCEF host name can be pcrf(number).<city abbreviation>.[province abbreviation].pcef.epc.mnc<MNC>.mcc<MCC>.3gppnetwork.org. For example, the name of a PCRF host in Beijing can be named: pcrf01.bj.bj.pcrf.epc.mnc001.mcc460.3gppnetwork.org.

以用户A为例,用户A的MSISDN,也就是手机号为8618601101234,IMSI为460011100612345,用户当前会话使用的IP地址为172.16.11.123,接入的APN为uninet.apn.epc.mnc001.mcc460.3gppnetwork.org,SessionID为session-id-01,绑定的PCRF主机名称为pcrf02.bj.bj.pcrf.epc.mnc001.mcc460.3gppnetwork.org,接入的PCEF主机名称为pcef01.bj.bj.pcef.epc.mnc001.mcc460.3gppnetwork.org,则该用户当前会话在第一数据库中对应的PCRF绑定信息如表二所示。Taking user A as an example, the MSISDN of user A, that is, the mobile phone number is 8618601101234, the IMSI is 460011100612345, the IP address used by the user's current session is 172.16.11.123, and the APN accessed is uninet.apn.epc.mnc001.mcc460.3gppnetwork .org, the SessionID is session-id-01, the name of the bound PCRF host is pcrf02.bj.bj.pcrf.epc.mnc001.mcc460.3gppnetwork.org, and the name of the connected PCEF host is pcef01.bj.bj.pcef .epc.mnc001.mcc460.3gppnetwork.org, the PCRF binding information corresponding to the user's current session in the first database is shown in Table 2.

表二Table II

参数parameter 用户AUser A Session IDSession ID session-id-01session-id-01 IMSIIMSI 460011100612345460011100612345 MSISDNMSISDN 86186011012348618601101234 IP AddressIP Address 172.16.11.123172.16.11.123 APNAPNs uninet.apn.epc.mnc001.mcc460.3gppnetwork.orguninet.apn.epc.mnc001.mcc460.3gppnetwork.org PCRF HostPCRF Host pcrf02.bj.bj.pcrf.epc.mnc001.mcc460.3gppnetwork.orgpcrf02.bj.bj.pcrf.epc.mnc001.mcc460.3gppnetwork.org PCEF HostPCEF Host pcef01.bj.bj.pcef.epc.mnc001.mcc460.3gppnetwork.orgpcef01.bj.bj.pcef.epc.mnc001.mcc460.3gppnetwork.org

103、第一DRA通过数据传输信道向第二DRA发送数据同步请求消息。103. The first DRA sends a data synchronization request message to the second DRA through the data transmission channel.

其中,数据同步请求消息携带有PCRF绑定信息。Wherein, the data synchronization request message carries PCRF binding information.

在本发明实施例中,第一DRA通过数据传输信道向第二DRA发送数据同步请求消息可以为DSR-I(DataSynchronizationRequest-Initial,DRA数据同步创建请求)消息、DSR-U(DataSynchronizationRequest-Update,DRA数据同步更新请求)消息,或DSR-T(DataSynchronizationRequest-Termination,DRA数据同步终止请求)消息。其中,DSR-I消息、DSR-U消息和DSR-T消息携带的PCRF绑定信息并不完全相同,DSR-I消息、DSR-U消息和DSR-T消息分别携带的PCRF绑定信息的内容会在后文提出。In the embodiment of the present invention, the data synchronization request message sent by the first DRA to the second DRA through the data transmission channel may be a DSR-I (DataSynchronizationRequest-Initial, DRA data synchronization creation request) message, a DSR-U (DataSynchronizationRequest-Update, DRA Data Synchronization Update Request) message, or DSR-T (DataSynchronizationRequest-Termination, DRA Data Synchronization Termination Request) message. Among them, the PCRF binding information carried by the DSR-I message, the DSR-U message and the DSR-T message are not completely the same, and the content of the PCRF binding information carried by the DSR-I message, the DSR-U message and the DSR-T message respectively will be presented later.

104、第二DRA保存PCRF绑定信息,以便于第二DRA根据PCRF绑定信息绑定到PCRF。104. The second DRA saves the PCRF binding information, so that the second DRA binds to the PCRF according to the PCRF binding information.

第二DRA可以根据PCRF绑定信息中携带的PCRFHost来确定第一DRA绑定的PCRF,并绑定到这个PCRF,以实现第一DRA和第二DRA绑定到同一PCRF。The second DRA may determine the PCRF bound to the first DRA according to the PCRFHost carried in the PCRF binding information, and bind to the PCRF, so that the first DRA and the second DRA are bound to the same PCRF.

本发明实施例提供一种会话绑定的方法,第一DRA接收PCRF发送的携带有PCRF绑定信息的响应消息,并将PCRF绑定信息存储在第一DRA的第一数据库,之后通过数据传输信道向第二DRA发送携带有PCRF绑定信息的数据同步请求消息,第二DRA保存PCRF绑定信息。相比较于现有技术中属于同一厂家的DRA1和DRA2通过私有接口同步IMSI、用户的IP地址与PCRF的对应关系,使DRA2根据Rx接口消息,以及IMSI、用户的IP地址与PCRF的对应关系来确定DRA1绑定的PCRF,并将DRA2绑定到同一个PCRF,本发明实施例可以通过在第一DRA设置第一数据库,将PCRF绑定信息存储在第一数据库中,并通过数据传输信道向第二DRA发送,确保第二DRA可以获取到第一DRA发送的PCRF绑定信息,以便于第二DRA根据PCRF绑定信息绑定到PCRF,避免了因DRA2和DRA1属于不同厂家,使DRA2可能无法识别DRA1通过私有接口发送的IMSI、用户的IP地址与PCRF的对应关系而导致DRA2无法成功绑定PCRF。因此,确保了DRA2可以根据DRA1发送的PCRF绑定信息,绑定到DRA1所绑定的PCRF,从而实现DRA2与DRA1绑定到同一PCRF。An embodiment of the present invention provides a method for session binding. The first DRA receives the response message carrying the PCRF binding information sent by the PCRF, stores the PCRF binding information in the first database of the first DRA, and then transmits the The channel sends a data synchronization request message carrying PCRF binding information to the second DRA, and the second DRA stores the PCRF binding information. Compared with DRA1 and DRA2 belonging to the same manufacturer in the prior art, the corresponding relationship between IMSI, the user's IP address and PCRF is synchronized through a private interface, so that DRA2 can be used according to the Rx interface message, and the corresponding relationship between IMSI, user's IP address and PCRF. Determine the PCRF bound to DRA1, and bind DRA2 to the same PCRF. In the embodiment of the present invention, the PCRF binding information may be stored in the first database by setting the first database on the first DRA, and send the PCRF binding information to the first database through the data transmission channel. The second DRA is sent to ensure that the second DRA can obtain the PCRF binding information sent by the first DRA, so that the second DRA can bind to the PCRF according to the PCRF binding information, avoiding that DRA2 and DRA1 belong to different manufacturers, so that DRA2 may The corresponding relationship between the IMSI sent by DRA1 through the private interface, the user's IP address, and the PCRF cannot be recognized, so that DRA2 cannot successfully bind the PCRF. Therefore, it is ensured that DRA2 can bind to the PCRF bound to DRA1 according to the PCRF binding information sent by DRA1, so that DRA2 and DRA1 can be bound to the same PCRF.

为了保证第一DRA通过数据传输信道向第二DRA发送准确的数据同步请求消息,第一DRA需要在发送同步请求消息之前,对接收到的响应消息的类型进行判断,并根据不同响应消息的类型,发送不同内容的数据同步请求消息。因此,在本发明实施例的一个实现方式中,在如图1所示的实现方式的基础上,在执行步骤103第一DRA通过数据传输信道向第二DRA发送数据同步请求消息之前,还可以执行步骤105,且步骤103可以具体实现为如图2所示的步骤1031或如图3所示的步骤1032:In order to ensure that the first DRA sends an accurate data synchronization request message to the second DRA through the data transmission channel, the first DRA needs to judge the type of the received response message before sending the synchronization request message, and , to send data synchronization request messages with different contents. Therefore, in an implementation manner of the embodiment of the present invention, on the basis of the implementation manner shown in FIG. 1 , before executing step 103, the first DRA sends the data synchronization request message to the second DRA through the data transmission channel. Execute step 105, and step 103 can be specifically implemented as step 1031 as shown in Figure 2 or step 1032 as shown in Figure 3:

105、第一DRA根据响应消息,确定响应消息的类型。105. The first DRA determines the type of the response message according to the response message.

其中,响应消息的类型包括:会话创建响应消息、会话更新响应消息或会话终止响应消息。Wherein, the type of the response message includes: a session creation response message, a session update response message or a session termination response message.

在本发明实施例中,当响应消息为CCA-I消息时,则响应消息的类型为会话创建响应消息;当响应消息为CCA-U消息时,则响应消息的类型为会话更新响应消息;当响应消息为CCA-T消息时,则响应消息的类型为会话终止响应消息。In the embodiment of the present invention, when the response message is a CCA-I message, the type of the response message is a session creation response message; when the response message is a CCA-U message, the type of the response message is a session update response message; When the response message is a CCA-T message, the type of the response message is a session termination response message.

1031、当响应消息的类型为会话创建响应消息或会话更新响应消息时,第一DRA通过数据传输信道向第二DRA发送数据同步请求消息。1031. When the type of the response message is a session creation response message or a session update response message, the first DRA sends a data synchronization request message to the second DRA through a data transmission channel.

其中,数据同步请求消息携带有信息标识、消息类型、会话标识、IMSI、MSISDN、用户的IP地址、APN、PCRF主机名称和PCEF主机名称。Wherein, the data synchronization request message carries information identifier, message type, session identifier, IMSI, MSISDN, user's IP address, APN, PCRF host name and PCEF host name.

通过步骤105,当得到响应消息的类型为会话创建响应消息时,第一DRA向第二DRA发送DSR-I消息;当得到响应消息的类型为会话更新响应消息时,第一DRA向第二DRA发送DSR-U消息。需要说明的是,DSR-I消息和DSR-U消息均携带有信息标识、消息类型、会话标识、IMSI、MSISDN、用户的IP地址、APN、PCRF主机名称和PCEF主机名称。如表三所示,为DSR-I消息所携带的信息;如表四所示,为DSR-U消息所携带的信息。By step 105, when the type of the response message obtained is a session creation response message, the first DRA sends a DSR-I message to the second DRA; when the type of the response message obtained is a session update response message, the first DRA sends a message to the second DRA Send DSR-U message. It should be noted that both the DSR-I message and the DSR-U message carry information identifier, message type, session identifier, IMSI, MSISDN, user's IP address, APN, PCRF host name and PCEF host name. As shown in Table 3, it is the information carried in the DSR-I message; as shown in Table 4, it is the information carried in the DSR-U message.

表三Table three

表四Table four

1032、当响应消息的类型为会话终止响应消息时,第一DRA通过数据传输信道向第二DRA发送信息标识、消息类型和会话标识。1032. When the type of the response message is a session termination response message, the first DRA sends the information identifier, message type, and session identifier to the second DRA through the data transmission channel.

通过步骤105,当得到响应消息的类型为会话终止响应消息时,第一DRA向第二DRA发送DSR-T消息。需要说明的是,DSR-T消息携带有信息标识、消息类型和会话标识。如表五所示,为DSR-T消息所携带的信息。Through step 105, when the type of the response message obtained is a session termination response message, the first DRA sends a DSR-T message to the second DRA. It should be noted that the DSR-T message carries information identifier, message type and session identifier. As shown in Table 5, it is the information carried in the DSR-T message.

表五Table five

本发明实施例提供的一种会话绑定的方法,在第一DRA通过数据传输信道向第二DRA发送携带有PCRF绑定信息的数据同步请求消息之前,需要对PCRF发送的响应消息的类型进行判断,并根据不同响应消息的类型,向第二DRA发送不同内容的数据同步请求消息。相比较于现有技术中属于同一厂家的DRA1和DRA2通过私有接口同步IMSI、用户的IP地址与PCRF的对应关系,使DRA2根据Rx接口消息,以及IMSI、用户的IP地址与PCRF的对应关系来确定DRA1绑定的PCRF,并将DRA2绑定到同一个PCRF,本发明实施例可以通过判断PCRF向DRA1发送的响应消息的类型,来确定DRA1通过数据传输信道向DRA2发送的数据同步请求消息的内容。因此,保证了在不同的应用场景下,DRA1都能够向DRA2发送准确的数据同步请求消息,以便于DRA2可以根据DRA1发送的携带有PCRF绑定信息的数据同步请求消息,绑定到DRA1所绑定的PCRF,从而实现DRA2与DRA1绑定到同一PCRF。In the session binding method provided by the embodiment of the present invention, before the first DRA sends the data synchronization request message carrying the PCRF binding information to the second DRA through the data transmission channel, it is necessary to check the type of the response message sent by the PCRF. Judging, and sending data synchronization request messages with different contents to the second DRA according to the types of different response messages. Compared with DRA1 and DRA2 belonging to the same manufacturer in the prior art, the corresponding relationship between IMSI, the user's IP address and PCRF is synchronized through a private interface, so that DRA2 can be used according to the Rx interface message, and the corresponding relationship between IMSI, user's IP address and PCRF. Determine the PCRF bound to DRA1, and bind DRA2 to the same PCRF. The embodiment of the present invention can determine the data synchronization request message sent by DRA1 to DRA2 through the data transmission channel by judging the type of the response message sent by PCRF to DRA1. content. Therefore, it is ensured that in different application scenarios, DRA1 can send accurate data synchronization request messages to DRA2, so that DRA2 can bind to the data synchronization request message sent by DRA1 and carry the PCRF binding information. A specific PCRF, so that DRA2 and DRA1 are bound to the same PCRF.

为了保证第一DRA通过数据传输信道向第二DRA发送的数据同步请求消息被第二DRA成功接收,第二DRA需要在接收到第一DRA发送的数据同步请求消息之后,通过数据传输信道向第一DRA发送数据同步响应消息,来证明第二DRA已经接收到携带有PCRF绑定信息的数据同步请求消息。因此,在本发明实施例的一个实现方式中,在如图2所示或如图3所示的实现方式的基础上,在执行步骤104第二DRA保存PCRF绑定信息,以便于第二DRA根据PCRF绑定信息绑定到PCRF之前,还可以执行步骤106,如图4所示或如图5所示:In order to ensure that the data synchronization request message sent by the first DRA to the second DRA through the data transmission channel is successfully received by the second DRA, the second DRA needs to send the data synchronization request message to the second DRA through the data transmission channel after receiving the data synchronization request message sent by the first DRA. A DRA sends a data synchronization response message to prove that the second DRA has received the data synchronization request message carrying the PCRF binding information. Therefore, in an implementation manner of the embodiment of the present invention, on the basis of the implementation manner shown in FIG. 2 or FIG. 3 , the second DRA saves the PCRF binding information in step 104, so that the second DRA Before binding to the PCRF according to the PCRF binding information, step 106 can also be performed, as shown in Figure 4 or as shown in Figure 5:

106、第二DRA通过数据传输信道向第一DRA发送数据同步响应消息。106. The second DRA sends a data synchronization response message to the first DRA through the data transmission channel.

其中,数据同步响应消息携带有信息标识、消息类型、会话标识和结果参数,结果参数用于表示数据同步请求消息是否被第二DRA成功处理。Wherein, the data synchronization response message carries an information identifier, a message type, a session identifier and a result parameter, and the result parameter is used to indicate whether the data synchronization request message is successfully processed by the second DRA.

当执行完毕步骤1031或步骤1032时,第二DRA可以通过数据传输信道向第一DRA发送数据同步响应消息来通知第一DRA,第二DRA已接收到第一DRA发送的数据同步请求消息。需要说明的是,数据同步响应消息携带有信息标识、消息类型、会话标识和结果参数。如表六所示,为第二DRA接收到第一DRA发送的DSR-I消息之后,向第一DRA发送的DSA-I(DataSynchronizationAnswer-Initial,DRA数据同步创建响应)消息所携带的信息;如表七所示,为第二DRA接收到第一DRA发送的DSR-U消息之后,向第一DRA发送的DSA-U(DataSynchronizationAnswer-Update,DRA数据同步更新响应)消息所携带的信息;如表八所示,为第二DRA接收到第一DRA发送的DSR-T消息之后,向第一DRA发送的DSA-T(DataSynchronizationAnswer-Termination,DRA数据同步终止响应)消息所携带的信息。When step 1031 or step 1032 is completed, the second DRA may send a data synchronization response message to the first DRA through the data transmission channel to notify the first DRA that the second DRA has received the data synchronization request message sent by the first DRA. It should be noted that the data synchronization response message carries information identifier, message type, session identifier and result parameters. As shown in Table 6, after the second DRA receives the DSR-I message sent by the first DRA, the information carried in the DSA-I (DataSynchronizationAnswer-Initial, DRA data synchronization creation response) message sent to the first DRA; As shown in Table 7, after the second DRA receives the DSR-U message sent by the first DRA, the information carried in the DSA-U (DataSynchronizationAnswer-Update, DRA data synchronization update response) message sent to the first DRA; as shown in the table 8 shows the information carried in the DSA-T (Data Synchronization Answer-Termination, DRA Data Synchronization Answer-Termination) message sent to the first DRA after the second DRA receives the DSR-T message sent by the first DRA.

表六Table six

表七Table Seven

表八table eight

本发明实施例提供的一种会话绑定的方法,在第二DRA保存PCRF绑定信息之前,第二DRA需要根据接收到的不同数据同步请求消息,通过数据传输信道向第一DRA发送不同数据同步响应消息。相比较于现有技术中属于同一厂家的DRA1和DRA2通过私有接口同步IMSI、用户的IP地址与PCRF的对应关系,使DRA2根据Rx接口消息,以及IMSI、用户的IP地址与PCRF的对应关系来确定DRA1绑定的PCRF,并将DRA2绑定到同一个PCRF,本发明实施例可以由DRA2通过数据传输信道向DRA1发送数据同步响应消息,来证明DRA2已经接收到DRA1发送的携带有PCRF绑定信息的数据同步请求消息。因此,保证了DRA1通过数据传输信道向DRA2发送的数据同步请求消息被DRA2成功接收,以便于DRA2可以根据DRA1发送的携带有PCRF绑定信息的数据同步请求消息,绑定到DRA1所绑定的PCRF,从而实现DRA2与DRA1绑定到同一PCRF。In the session binding method provided by the embodiment of the present invention, before the second DRA saves the PCRF binding information, the second DRA needs to send different data to the first DRA through the data transmission channel according to the received different data synchronization request messages Synchronous response message. Compared with DRA1 and DRA2 belonging to the same manufacturer in the prior art, the corresponding relationship between IMSI, the user's IP address and PCRF is synchronized through a private interface, so that DRA2 can be used according to the Rx interface message, and the corresponding relationship between IMSI, user's IP address and PCRF. Determine the PCRF bound to DRA1, and bind DRA2 to the same PCRF. In the embodiment of the present invention, DRA2 can send a data synchronization response message to DRA1 through a data transmission channel to prove that DRA2 has received the PCRF binding sent by DRA1. Informational data synchronization request message. Therefore, it is ensured that the data synchronization request message sent by DRA1 to DRA2 through the data transmission channel is successfully received by DRA2, so that DRA2 can bind to the DRA1-bound DRA1 according to the data synchronization request message sent by DRA1 and carrying the PCRF binding information. PCRF, so that DRA2 and DRA1 bind to the same PCRF.

在本发明实施例的一个实现方式中,第二DRA设置有第二数据库,第二数据库用于存储PCRF绑定信息。因此,在如图1所示的实现方式的基础上,还可以实现为如图6所示的实现方式,步骤104第二DRA保存PCRF绑定信息,以便于第二DRA根据PCRF绑定信息绑定到PCRF,可以具体实现为步骤1041:In an implementation manner of the embodiment of the present invention, the second DRA is provided with a second database, and the second database is used to store PCRF binding information. Therefore, on the basis of the implementation shown in FIG. 1 , it can also be implemented as the implementation shown in FIG. 6 . In step 104, the second DRA saves the PCRF binding information, so that the second DRA binds the PCRF binding information according to the PCRF binding information. Set to PCRF, can be specifically implemented as step 1041:

1041、第二DRA将PCRF绑定信息存储在第二数据库,以便于第二DRA根据PCRF绑定信息绑定到PCRF。1041. The second DRA stores the PCRF binding information in a second database, so that the second DRA binds to the PCRF according to the PCRF binding information.

例如:当第一DRA为DRA1,第二DRA为DRA2,且PCRF向DRA1发送的响应消息的类型为会话创建响应消息时,DRA2和DRA1在PCC会话创建过程中,进行PCRF绑定信息同步的交互流程如图7所示,具体执行过程如下:For example: when the first DRA is DRA1, the second DRA is DRA2, and the type of the response message sent by PCRF to DRA1 is a session creation response message, DRA2 and DRA1 perform the interaction of PCRF binding information synchronization during the PCC session creation process The process is shown in Figure 7, and the specific execution process is as follows:

201、当VoLTE(VoiceoverLongTermEvolution,基于LTE的语音业务)终端发起VoLTE呼叫时,PCEF向DRA1发送CCR-I消息,其中,CCR-I消息至少携带有SessionID、IMSI、MSISDN、IPAddress、APN和PCEFHost;201. When a VoLTE (VoiceoverLongTermEvolution, LTE-based voice service) terminal initiates a VoLTE call, the PCEF sends a CCR-I message to DRA1, wherein the CCR-I message carries at least SessionID, IMSI, MSISDN, IPAddress, APN, and PCEFHost;

202、DRA1根据运营商网络策略为VoLTE终端选择一个PCRF,并将CCR-I消息发送给PCRF;202. DRA1 selects a PCRF for the VoLTE terminal according to the operator's network policy, and sends the CCR-I message to the PCRF;

203、PCRF发送CCA-I消息给DRA1,其中,CCA-I消息至少携带有SessionID、PCEFHost和需要绑定的PCRF的PCRFHost;203. The PCRF sends a CCA-I message to DRA1, wherein the CCA-I message at least carries the SessionID, the PCEFHost, and the PCRFHost of the PCRF to be bound;

204、通过判断PCRF发送的响应消息的类型,当确定响应消息的类型为会话创建响应消息时,提取新创建的PCRF会话的PCRF绑定信息,并将PCRF绑定信息存储在DRA1的第一数据库中,其中,PCRF绑定信息携带有SessionID、IMSI、MSISDN、IPAddress、APN、PCRFHost和PCEFHost;204. By judging the type of the response message sent by the PCRF, when it is determined that the type of the response message is a session creation response message, extract the PCRF binding information of the newly created PCRF session, and store the PCRF binding information in the first database of DRA1 Among them, the PCRF binding information carries SessionID, IMSI, MSISDN, IPAddress, APN, PCRFHost and PCEFHost;

205、DRA1向同区域内部署的另一台DRA2发送DSR-I消息,其中,DSR-I消息携带有PCRF绑定信息;205. DRA1 sends a DSR-I message to another DRA2 deployed in the same area, where the DSR-I message carries PCRF binding information;

206、DRA2提取DSR-I消息中携带的PCRF绑定信息,并将PCRF绑定信息存储在DRA2的第二数据库中;206. DRA2 extracts the PCRF binding information carried in the DSR-I message, and stores the PCRF binding information in the second database of DRA2;

207、DRA2向DRA1发送DSA-I消息,其中,DSA-I消息携带有SessionID和值为success的ResultCode;207. DRA2 sends a DSA-I message to DRA1, where the DSA-I message carries a SessionID and a ResultCode whose value is success;

208、DRA1向PCEF发送CCA-I消息;208. DRA1 sends a CCA-I message to PCEF;

209、当VoLTE终端在建立的SIP(SessionInitiationProtocol,会话初始协议)信令承载上发送SIP呼叫控制信令时,AF向DRA2发送AAR(AuthenticationandAuthorizationRequest,认证授权请求)消息,以便于DRA2将AAR消息发送给对应PCRF,从而实现AF根据SIP中的业务要求向PCRF提供会话信息,其中,AAR消息携带有IPAddress;209. When the VoLTE terminal sends SIP call control signaling on the established SIP (SessionInitiationProtocol, Session Initiation Protocol) signaling bearer, the AF sends an AAR (AuthenticationandAuthorizationRequest, authentication authorization request) message to DRA2, so that DRA2 sends the AAR message to Corresponding to PCRF, so as to realize that AF provides session information to PCRF according to the service requirements in SIP, wherein the AAR message carries IPAddress;

210、DRA2根据IPAddress,查找第二数据库中存储的PCRF绑定信息,从而确定对应的PCRF;210. DRA2 searches for the PCRF binding information stored in the second database according to the IPAddress, so as to determine the corresponding PCRF;

211、DRA2向PCRF发送AAR消息;211. DRA2 sends an AAR message to PCRF;

212、PCRF向DRA2发送AAA(AuthenticationandAuthorizationAnswer,认证授权响应)消息;212. PCRF sends an AAA (Authentication and Authorization Answer, authentication and authorization response) message to DRA2;

213、DRA2向AF发送AAA消息,完成PCRF会话的绑定,以便于VoLTE终端后续来自于Gx的接口消息和来自于Rx的接口消息均路由到同一PCRF,直至PCC会话终止。213. DRA2 sends an AAA message to AF to complete the binding of the PCRF session, so that the VoLTE terminal's subsequent interface messages from Gx and interface messages from Rx are routed to the same PCRF until the PCC session is terminated.

再例如:当第一DRA为DRA1,第二DRA为DRA2,且PCRF向DRA1发送的响应消息的类型为会话更新响应消息时,DRA2和DRA1在PCC会话更新过程中,进行PCRF绑定信息同步的交互流程如图8所示,具体执行过程如下:Another example: when the first DRA is DRA1, the second DRA is DRA2, and the type of the response message sent by the PCRF to DRA1 is a session update response message, DRA2 and DRA1 perform PCRF binding information synchronization during the PCC session update process The interaction process is shown in Figure 8, and the specific execution process is as follows:

301、当VoLTE终端的PCC会话信息产生变化时,比如:VoLTE终端更改IPAdrress时,PCEF向DRA1发送CCR-U消息,其中,CCR-U消息至少携带有SessionID、IMSI、MSISDN、IPAddress、APN和PCEFHost;301. When the PCC session information of the VoLTE terminal changes, for example: when the VoLTE terminal changes the IPAdrress, the PCEF sends a CCR-U message to DRA1, wherein the CCR-U message carries at least SessionID, IMSI, MSISDN, IPAddress, APN and PCEFHost ;

302、DRA1根据运营商网络策略为VoLTE终端选择一个PCRF,并将CCR-U消息发送给PCRF;302. DRA1 selects a PCRF for the VoLTE terminal according to the operator's network policy, and sends the CCR-U message to the PCRF;

303、PCRF发送CCA-U消息给DRA1,其中,CCA-U消息至少携带有SessionID、PCEFHost和PCRFHost;303. The PCRF sends a CCA-U message to DRA1, wherein the CCA-U message carries at least SessionID, PCEFHost and PCRFHost;

304、通过判断PCRF发送的响应消息的类型,当确定响应消息的类型为会话更新响应消息时,提取更新后的PCRF会话的PCRF绑定信息,并更新在DRA1的第一数据库中的PCRF绑定信息,其中,PCRF绑定信息携带有SessionID、IMSI、MSISDN、IPAddress、APN、PCRFHost和PCEFHost;304. By judging the type of the response message sent by the PCRF, when it is determined that the type of the response message is a session update response message, extract the PCRF binding information of the updated PCRF session, and update the PCRF binding in the first database of DRA1 Information, where the PCRF binding information carries SessionID, IMSI, MSISDN, IPAddress, APN, PCRFHost and PCEFHost;

305、DRA1向同区域内部署的另一台DRA2发送DSR-U消息,其中,DSR-U消息携带有PCRF绑定信息;305. DRA1 sends a DSR-U message to another DRA2 deployed in the same area, where the DSR-U message carries PCRF binding information;

306、DRA2提取DSR-U消息中携带的PCRF绑定信息,并更新在DRA2的第二数据库中的PCRF绑定信息;306. DRA2 extracts the PCRF binding information carried in the DSR-U message, and updates the PCRF binding information in the second database of DRA2;

307、DRA2向DRA1发送DSA-U消息,其中,DSA-U消息携带有SessionID和值为success的ResultCode;307. DRA2 sends a DSA-U message to DRA1, where the DSA-U message carries a SessionID and a ResultCode whose value is success;

308、DRA1向PCEF发送CCA-U消息;308. DRA1 sends a CCA-U message to PCEF;

309、AF向DRA2发送AAR消息,以便于DRA2将AAR消息发送给对应PCRF,从而实现AF根据SIP中的业务要求向PCRF提供会话信息,其中,AAR消息携带有IPAddress;309. The AF sends an AAR message to DRA2, so that DRA2 sends the AAR message to the corresponding PCRF, so that the AF provides session information to the PCRF according to the service requirements in the SIP, wherein the AAR message carries the IPAddress;

310、DRA2根据IPAddress,查找第二数据库中存储的PCRF绑定信息,从而确定对应的PCRF;310. DRA2 searches for the PCRF binding information stored in the second database according to the IPAddress, so as to determine the corresponding PCRF;

311、DRA2向PCRF发送AAR消息;311. DRA2 sends an AAR message to PCRF;

312、PCRF向DRA2发送AAA消息;312. The PCRF sends an AAA message to DRA2;

313、DRA2向AF发送AAA消息,完成PCRF会话的绑定,以便于VoLTE终端后续来自于Gx的接口消息和来自于Rx的接口消息均路由到同一PCRF,直至PCC会话终止。313. DRA2 sends an AAA message to AF to complete the binding of the PCRF session, so that the VoLTE terminal's subsequent interface messages from Gx and interface messages from Rx are routed to the same PCRF until the PCC session is terminated.

再例如:当第一DRA为DRA1,第二DRA为DRA2,且PCRF向DRA1发送的响应消息的类型为会话终止响应消息时,DRA2和DRA1在PCC会话终止过程中,进行PCRF绑定信息同步的交互流程如图9所示,具体执行过程如下:Another example: when the first DRA is DRA1, the second DRA is DRA2, and the type of the response message sent by the PCRF to DRA1 is a session termination response message, DRA2 and DRA1 perform PCRF binding information synchronization during the PCC session termination process The interaction process is shown in Figure 9, and the specific execution process is as follows:

401、当VoLTE终端的PCC会话需要终止时,比如:VoLTE终端下线时,PCEF向DRA1发送CCR-T消息,其中,CCR-T消息至少携带有SessionID;401. When the PCC session of the VoLTE terminal needs to be terminated, for example: when the VoLTE terminal goes offline, the PCEF sends a CCR-T message to DRA1, wherein the CCR-T message carries at least a SessionID;

402、DRA1根据第一数据库中存储的PCRF绑定信息为VoLTE终端选择已绑定的PCRF,并将CCR-T消息发送给PCRF;402. DRA1 selects the bound PCRF for the VoLTE terminal according to the PCRF binding information stored in the first database, and sends the CCR-T message to the PCRF;

403、PCRF发送CCA-T消息给DRA1,其中,CCA-I消息至少携带有SessionID;403. The PCRF sends a CCA-T message to DRA1, wherein the CCA-I message carries at least a SessionID;

404、通过判断PCRF发送的响应消息的类型,当确定响应消息的类型为会话终止响应消息时,提取PCRF绑定信息携带的SessionID,并删除第一数据库中存储的SessionID对应的PCRF绑定信息;404. By judging the type of the response message sent by the PCRF, when it is determined that the type of the response message is a session termination response message, extract the SessionID carried in the PCRF binding information, and delete the PCRF binding information corresponding to the SessionID stored in the first database;

405、DRA1向同区域内部署的另一台DRA2发送DSR-T消息,其中,DSR-T消息携带有SessionID;405. DRA1 sends a DSR-T message to another DRA2 deployed in the same area, where the DSR-T message carries a SessionID;

406、DRA2提取DSR-I消息中携带的SessionID,并删除第二数据库中存储的SessionID对应的PCRF绑定信息;406. DRA2 extracts the SessionID carried in the DSR-I message, and deletes the PCRF binding information corresponding to the SessionID stored in the second database;

407、DRA2向DRA1发送DSA-T消息,其中,DSA-T消息携带有SessionID和值为success的ResultCode;407. DRA2 sends a DSA-T message to DRA1, where the DSA-T message carries a SessionID and a ResultCode whose value is success;

408、DRA1向PCEF发送CCA-T消息,以完成PCC会话终止过程中的第一数据库与第二数据库的数据同步。408. The DRA1 sends a CCA-T message to the PCEF, so as to complete data synchronization between the first database and the second database during the PCC session termination process.

本发明实施例提供的一种会话绑定的方法,第一DRA接收PCRF发送的携带有PCRF绑定信息的响应消息,并将PCRF绑定信息存储在第一DRA的第一数据库,之后通过数据传输信道向第二DRA发送携带有PCRF绑定信息的数据同步请求消息,第二DRA将PCRF绑定信息保存至第二数据库。相比较于现有技术中属于同一厂家的DRA1和DRA2通过私有接口同步IMSI、用户的IP地址与PCRF的对应关系,使DRA2根据Rx接口消息,以及IMSI、用户的IP地址与PCRF的对应关系来确定DRA1绑定的PCRF,并将DRA2绑定到同一个PCRF,本发明实施例可以通过在第一DRA设置第一数据库,将PCRF绑定信息存储在第一数据库中,并通过数据传输信道向第二DRA发送,确保第二DRA可以获取到第一DRA发送的PCRF绑定信息,以便于第二DRA根据PCRF绑定信息绑定到PCRF,避免了因DRA2和DRA1属于不同厂家,使DRA2可能无法识别DRA1通过私有接口发送的IMSI、用户的IP地址与PCRF的对应关系而导致DRA2无法成功绑定PCRF。因此,确保了DRA2可以根据DRA1发送的PCRF绑定信息,绑定到DRA1所绑定的PCRF,从而实现DRA2与DRA1绑定到同一PCRF。In a session binding method provided by an embodiment of the present invention, the first DRA receives the response message carrying the PCRF binding information sent by the PCRF, stores the PCRF binding information in the first database of the first DRA, and then passes the data The transmission channel sends a data synchronization request message carrying the PCRF binding information to the second DRA, and the second DRA saves the PCRF binding information to the second database. Compared with DRA1 and DRA2 belonging to the same manufacturer in the prior art, the corresponding relationship between IMSI, the user's IP address and PCRF is synchronized through a private interface, so that DRA2 can be used according to the Rx interface message, and the corresponding relationship between IMSI, user's IP address and PCRF. Determine the PCRF bound to DRA1, and bind DRA2 to the same PCRF. In the embodiment of the present invention, the PCRF binding information may be stored in the first database by setting the first database on the first DRA, and send the PCRF binding information to the first database through the data transmission channel. The second DRA is sent to ensure that the second DRA can obtain the PCRF binding information sent by the first DRA, so that the second DRA can bind to the PCRF according to the PCRF binding information, avoiding that DRA2 and DRA1 belong to different manufacturers, so that DRA2 may The corresponding relationship between the IMSI sent by DRA1 through the private interface, the user's IP address, and the PCRF cannot be recognized, so that DRA2 cannot successfully bind the PCRF. Therefore, it is ensured that DRA2 can bind to the PCRF bound to DRA1 according to the PCRF binding information sent by DRA1, so that DRA2 and DRA1 can be bound to the same PCRF.

本发明实施例提供一种网络系统50,如图10所示。网络系统50设置有第一路由代理节点DRA51、第二DRA52和策略和计费规则功能实体PCRF53,第一DRA51设置有第一数据库,第一数据库用于存储PCRF绑定信息。An embodiment of the present invention provides a network system 50, as shown in FIG. 10 . The network system 50 is provided with a first routing proxy node DRA51, a second DRA52, and a policy and charging rule functional entity PCRF53, and the first DRA51 is provided with a first database for storing PCRF binding information.

第一DRA51,用于接收PCRF53发送的响应消息,响应消息携带有PCRF绑定信息。The first DRA51 is configured to receive a response message sent by the PCRF53, where the response message carries PCRF binding information.

第一DRA51,还用于获取PCRF绑定信息,并存储在第一数据库。The first DRA51 is also used to acquire PCRF binding information and store it in the first database.

第一DRA51,还用于通过数据传输信道向第二DRA52发送数据同步请求消息,数据同步请求消息携带有PCRF绑定信息。The first DRA51 is further configured to send a data synchronization request message to the second DRA52 through the data transmission channel, where the data synchronization request message carries PCRF binding information.

第二DRA52,用于保存PCRF绑定信息,以便于第二DRA52根据PCRF绑定信息绑定到PCRF53。The second DRA52 is configured to save the PCRF binding information, so that the second DRA52 binds to the PCRF53 according to the PCRF binding information.

在本发明实施例的一个实现方式中,网络系统50还设置有策略和计费执行功能实体PCEF54,第一DRA51,还用于:In an implementation manner of the embodiment of the present invention, the network system 50 is further provided with a policy and charging enforcement function entity PCEF54, a first DRA51, and is also used for:

根据响应消息,确定响应消息的类型,响应消息的类型包括:会话创建响应消息、会话更新响应消息或会话终止响应消息。According to the response message, the type of the response message is determined, and the type of the response message includes: a session creation response message, a session update response message or a session termination response message.

第一DRA51,还用于:The first DRA51, also used for:

当响应消息的类型为会话创建响应消息或会话更新响应消息时,通过数据传输信道向第二DRA52发送数据同步请求消息,数据同步请求消息携带有信息标识、消息类型、会话标识、国际移动用户识别码IMSI、移动用户的综合业务数字网编号MSISDN、用户的网际协议IP地址、接入点名称APN、PCRF主机名称和PCEF主机名称;When the type of the response message is a session creation response message or a session update response message, the data synchronization request message is sent to the second DRA52 through the data transmission channel, and the data synchronization request message carries information identification, message type, session identification, international mobile subscriber identification code IMSI, mobile subscriber's integrated services digital network number MSISDN, subscriber's Internet Protocol IP address, access point name APN, PCRF host name and PCEF host name;

当响应消息的类型为会话终止响应消息时,通过数据传输信道向第二DRA52发送信息标识、消息类型和会话标识。When the type of the response message is a session termination response message, send the information identifier, message type and session identifier to the second DRA52 through the data transmission channel.

在本发明实施例的一个实现方式中,第二DRA,还用于:In an implementation manner of the embodiment of the present invention, the second DRA is also used to:

通过数据传输信道向第一DRA发送数据同步响应消息,数据同步响应消息携带有信息标识、消息类型、会话标识和结果参数,结果参数用于表示数据同步请求消息是否被第二DRA成功处理。Send a data synchronization response message to the first DRA through the data transmission channel. The data synchronization response message carries an information identifier, a message type, a session identifier and a result parameter. The result parameter is used to indicate whether the data synchronization request message is successfully processed by the second DRA.

在本发明实施例的一个实现方式中,第二DRA52设置有第二数据库,第二数据库用于存储PCRF绑定信息,第二DRA52,具体用于:In an implementation of the embodiment of the present invention, the second DRA52 is provided with a second database, the second database is used to store PCRF binding information, and the second DRA52 is specifically used for:

将PCRF绑定信息存储在第二数据库,以便于第二DRA52根据PCRF绑定信息绑定到PCRF53。The PCRF binding information is stored in the second database, so that the second DRA52 binds to the PCRF53 according to the PCRF binding information.

本发明实施例提供的一种网络系统,第一DRA接收PCRF发送的携带有PCRF绑定信息的响应消息,并将PCRF绑定信息存储在第一DRA的第一数据库,之后通过数据传输信道向第二DRA发送携带有PCRF绑定信息的数据同步请求消息,第二DRA保存PCRF绑定信息。相比较于现有技术中属于同一厂家的DRA1和DRA2通过私有接口同步IMSI、用户的IP地址与PCRF的对应关系,使DRA2根据Rx接口消息,以及IMSI、用户的IP地址与PCRF的对应关系来确定DRA1绑定的PCRF,并将DRA2绑定到同一个PCRF,本发明实施例可以通过在第一DRA设置第一数据库,将PCRF绑定信息存储在第一数据库中,并通过数据传输信道向第二DRA发送,确保第二DRA可以获取到第一DRA发送的PCRF绑定信息,以便于第二DRA根据PCRF绑定信息绑定到PCRF,避免了因DRA2和DRA1属于不同厂家,使DRA2可能无法识别DRA1通过私有接口发送的IMSI、用户的IP地址与PCRF的对应关系而导致DRA2无法成功绑定PCRF。因此,确保了DRA2可以根据DRA1发送的PCRF绑定信息,绑定到DRA1所绑定的PCRF,从而实现DRA2与DRA1绑定到同一PCRF。In a network system provided by an embodiment of the present invention, the first DRA receives the response message carrying the PCRF binding information sent by the PCRF, stores the PCRF binding information in the first database of the first DRA, and then transmits the PCRF binding information to the first database through the data transmission channel. The second DRA sends a data synchronization request message carrying the PCRF binding information, and the second DRA stores the PCRF binding information. Compared with DRA1 and DRA2 belonging to the same manufacturer in the prior art, the corresponding relationship between IMSI, the user's IP address and PCRF is synchronized through a private interface, so that DRA2 can be used according to the Rx interface message, and the corresponding relationship between IMSI, user's IP address and PCRF. Determine the PCRF bound to DRA1, and bind DRA2 to the same PCRF. In the embodiment of the present invention, the PCRF binding information may be stored in the first database by setting the first database on the first DRA, and send the PCRF binding information to the first database through the data transmission channel. The second DRA is sent to ensure that the second DRA can obtain the PCRF binding information sent by the first DRA, so that the second DRA can bind to the PCRF according to the PCRF binding information, avoiding that DRA2 and DRA1 belong to different manufacturers, so that DRA2 may The corresponding relationship between the IMSI sent by DRA1 through the private interface, the user's IP address, and the PCRF cannot be recognized, so that DRA2 cannot successfully bind the PCRF. Therefore, it is ensured that DRA2 can bind to the PCRF bound to DRA1 according to the PCRF binding information sent by DRA1, so that DRA2 and DRA1 can be bound to the same PCRF.

本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to part of the description of the method embodiment.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-OnlyMemory,ROM)或随机存储记忆体(RandomAccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. All should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (8)

1.一种会话绑定的方法,所述方法用于网络系统,所述网络系统设置有第一路由代理节点DRA、第二DRA和策略和计费规则功能实体PCRF,其特征在于,所述第一DRA设置有第一数据库,所述第一数据库用于存储PCRF绑定信息,所述方法包括:1. A method for session binding, the method is used in a network system, and the network system is provided with a first routing proxy node DRA, a second DRA and a policy and a charging rule functional entity PCRF, wherein the The first DRA is provided with a first database, and the first database is used to store PCRF binding information, and the method includes: 所述第一DRA接收所述PCRF发送的响应消息,所述响应消息携带有所述PCRF绑定信息;The first DRA receives a response message sent by the PCRF, where the response message carries the PCRF binding information; 所述第一DRA获取所述PCRF绑定信息,并存储在所述第一数据库;The first DRA acquires the PCRF binding information and stores it in the first database; 所述第一DRA通过数据传输信道向所述第二DRA发送数据同步请求消息,所述数据同步请求消息携带有所述PCRF绑定信息;The first DRA sends a data synchronization request message to the second DRA through a data transmission channel, and the data synchronization request message carries the PCRF binding information; 所述第二DRA保存所述PCRF绑定信息,以便于所述第二DRA根据所述PCRF绑定信息绑定到所述PCRF。The second DRA saves the PCRF binding information, so that the second DRA binds to the PCRF according to the PCRF binding information. 2.根据权利要求1所述的方法,其特征在于,所述网络系统还设置有策略和计费执行功能实体PCEF,在所述第一DRA通过数据传输信道向所述第二DRA发送数据同步请求消息之前,包括:2. The method according to claim 1, wherein the network system is further provided with a policy and charging enforcement function entity PCEF, and the first DRA sends data synchronization to the second DRA through a data transmission channel. Before requesting a message, include: 所述第一DRA根据所述响应消息,确定所述响应消息的类型,所述响应消息的类型包括:会话创建响应消息、会话更新响应消息或会话终止响应消息;The first DRA determines the type of the response message according to the response message, and the type of the response message includes: a session creation response message, a session update response message or a session termination response message; 所述第一DRA通过数据传输信道向所述第二DRA发送数据同步请求消息,包括:The first DRA sends a data synchronization request message to the second DRA through a data transmission channel, including: 当所述响应消息的类型为所述会话创建响应消息或所述会话更新响应消息时,所述第一DRA通过所述数据传输信道向所述第二DRA发送所述数据同步请求消息,所述数据同步请求消息携带有信息标识、消息类型、会话标识、国际移动用户识别码IMSI、移动用户的综合业务数字网编号MSISDN、用户的网际协议IP地址、接入点名称APN、PCRF主机名称和PCEF主机名称;When the type of the response message is the session creation response message or the session update response message, the first DRA sends the data synchronization request message to the second DRA through the data transmission channel, the The data synchronization request message carries information identifier, message type, session identifier, International Mobile Subscriber Identity IMSI, mobile subscriber's integrated services digital network number MSISDN, subscriber's Internet Protocol IP address, access point name APN, PCRF host name and PCEF host name; 当所述响应消息的类型为所述会话终止响应消息时,所述第一DRA通过所述数据传输信道向所述第二DRA发送所述信息标识、所述消息类型和所述会话标识。When the type of the response message is the session termination response message, the first DRA sends the information identifier, the message type and the session identifier to the second DRA through the data transmission channel. 3.根据权利要求2所述的方法,其特征在于,在所述第二DRA保存所述PCRF绑定信息,以便于所述第二DRA根据所述PCRF绑定信息绑定到所述PCRF之前,包括:3. The method according to claim 2, wherein the second DRA saves the PCRF binding information so that the second DRA binds to the PCRF according to the PCRF binding information ,include: 所述第二DRA通过所述数据传输信道向所述第一DRA发送数据同步响应消息,所述数据同步响应消息携带有所述信息标识、所述消息类型、所述会话标识和结果参数,所述结果参数用于表示所述数据同步请求消息是否被第二DRA成功处理。The second DRA sends a data synchronization response message to the first DRA through the data transmission channel, and the data synchronization response message carries the information identifier, the message type, the session identifier and the result parameter, and the The result parameter is used to indicate whether the data synchronization request message is successfully processed by the second DRA. 4.根据权利要求1所述的方法,其特征在于,所述第二DRA设置有第二数据库,所述第二数据库用于存储所述PCRF绑定信息,所述第二DRA保存所述PCRF绑定信息,以便于所述第二DRA根据所述PCRF绑定信息绑定到所述PCRF,包括:4. The method according to claim 1, wherein the second DRA is provided with a second database, the second database is used to store the PCRF binding information, and the second DRA saves the PCRF Binding information, so that the second DRA binds to the PCRF according to the PCRF binding information, including: 所述第二DRA将所述PCRF绑定信息存储在所述第二数据库,以便于所述第二DRA根据所述PCRF绑定信息绑定到所述PCRF。The second DRA stores the PCRF binding information in the second database, so that the second DRA binds to the PCRF according to the PCRF binding information. 5.一种网络系统,所述网络系统设置有第一路由代理节点DRA、第二DRA和策略和计费规则功能实体PCRF,其特征在于,所述第一DRA设置有第一数据库,所述第一数据库用于存储PCRF绑定信息,所述第一DRA,用于接收所述PCRF发送的响应消息,所述响应消息携带有所述PCRF绑定信息;5. A network system, the network system is provided with a first routing proxy node DRA, a second DRA and a policy and charging rule functional entity PCRF, characterized in that the first DRA is provided with a first database, the The first database is used to store PCRF binding information, and the first DRA is used to receive a response message sent by the PCRF, the response message carrying the PCRF binding information; 所述第一DRA,还用于获取所述PCRF绑定信息,并存储在所述第一数据库;The first DRA is also used to acquire the PCRF binding information and store it in the first database; 所述第一DRA,还用于通过数据传输信道向所述第二DRA发送数据同步请求消息,所述数据同步请求消息携带有所述PCRF绑定信息;The first DRA is further configured to send a data synchronization request message to the second DRA through a data transmission channel, where the data synchronization request message carries the PCRF binding information; 所述第二DRA,用于保存所述PCRF绑定信息,以便于所述第二DRA根据所述PCRF绑定信息绑定到所述PCRF。The second DRA is configured to save the PCRF binding information, so that the second DRA binds to the PCRF according to the PCRF binding information. 6.根据权利要求5所述的网络系统,其特征在于,所述网络系统还设置有策略和计费执行功能实体PCEF,所述第一DRA,还用于:6. The network system according to claim 5, wherein the network system is further provided with a policy and charging enforcement function entity PCEF, and the first DRA is also used for: 根据所述响应消息,确定所述响应消息的类型,所述响应消息的类型包括:会话创建响应消息、会话更新响应消息或会话终止响应消息;Determine the type of the response message according to the response message, where the type of the response message includes: a session creation response message, a session update response message, or a session termination response message; 所述第一DRA,还用于:The first DRA is also used to: 当所述响应消息的类型为所述会话创建响应消息或所述会话更新响应消息时,通过所述数据传输信道向所述第二DRA发送所述数据同步请求消息,所述数据同步请求消息携带有信息标识、消息类型、会话标识、国际移动用户识别码IMSI、移动用户的综合业务数字网编号MSISDN、用户的网际协议IP地址、接入点名称APN、PCRF主机名称和PCEF主机名称;When the type of the response message is the session creation response message or the session update response message, send the data synchronization request message to the second DRA through the data transmission channel, and the data synchronization request message carries There are information identification, message type, session identification, International Mobile Subscriber Identity IMSI, Mobile Subscriber Integrated Services Digital Network Number MSISDN, Subscriber Internet Protocol IP Address, Access Point Name APN, PCRF Host Name and PCEF Host Name; 当所述响应消息的类型为所述会话终止响应消息时,通过所述数据传输信道向所述第二DRA发送所述信息标识、所述消息类型和所述会话标识。When the type of the response message is the session termination response message, sending the information identifier, the message type and the session identifier to the second DRA through the data transmission channel. 7.根据权利要求6所述的网络系统,其特征在于,所述第二DRA,还用于:7. The network system according to claim 6, wherein the second DRA is also used for: 通过所述数据传输信道向所述第一DRA发送数据同步响应消息,所述数据同步响应消息携带有所述信息标识、所述消息类型、所述会话标识和结果参数,所述结果参数用于表示所述数据同步请求消息是否被第二DRA成功处理。Send a data synchronization response message to the first DRA through the data transmission channel, the data synchronization response message carries the information identifier, the message type, the session identifier and a result parameter, and the result parameter is used for Indicates whether the data synchronization request message is successfully processed by the second DRA. 8.根据权利要求5所述的网络系统,其特征在于,所述第二DRA设置有第二数据库,所述第二数据库用于存储所述PCRF绑定信息,所述第二DRA,具体用于:8. The network system according to claim 5, characterized in that, the second DRA is provided with a second database, the second database is used to store the PCRF binding information, and the second DRA specifically uses At: 将所述PCRF绑定信息存储在所述第二数据库,以便于所述第二DRA根据所述PCRF绑定信息绑定到所述PCRF。storing the PCRF binding information in the second database, so that the second DRA binds to the PCRF according to the PCRF binding information.
CN201510519018.7A 2015-08-21 2015-08-21 Session binding method and network system Pending CN105050072A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510519018.7A CN105050072A (en) 2015-08-21 2015-08-21 Session binding method and network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510519018.7A CN105050072A (en) 2015-08-21 2015-08-21 Session binding method and network system

Publications (1)

Publication Number Publication Date
CN105050072A true CN105050072A (en) 2015-11-11

Family

ID=54456174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510519018.7A Pending CN105050072A (en) 2015-08-21 2015-08-21 Session binding method and network system

Country Status (1)

Country Link
CN (1) CN105050072A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016126414A1 (en) * 2015-02-03 2016-08-11 Cisco Technology, Inc. System and method for distributing policy charging and enforcement function connectivity information in a network environment
US9516640B2 (en) 2014-08-01 2016-12-06 Cisco Technology, Inc. System and method for a media access control scheduler for a long term evolution unlicensed network environment
US9629042B2 (en) 2014-12-05 2017-04-18 Cisco Technology, Inc. System and method for providing collaborative neighbor management in a network environment
US9686798B1 (en) 2015-01-14 2017-06-20 Cisco Technology, Inc. System and method for providing collision-avoided physical downlink control channel resource allocation in a network environment
US9693205B2 (en) 2014-07-03 2017-06-27 Cisco Technology, Inc. System and method for providing message delivery and paging to a group of users in a network environment
US9699725B1 (en) 2014-11-07 2017-07-04 Cisco Technology, Inc. System and method for providing power saving mode enhancements in a network environment
US9717068B2 (en) 2014-09-09 2017-07-25 Cisco Technology, Inc. System and method for supporting cell updates within a small cell cluster for idle mobility in cell paging channel mode
US9730156B1 (en) 2014-11-07 2017-08-08 Cisco Technology, Inc. System and method for providing power saving mode enhancements in a network environment
US9843687B2 (en) 2014-11-09 2017-12-12 Cisco Technology, Inc. System and method for radio aware traffic management based wireless authorization
CN109257397A (en) * 2017-07-12 2019-01-22 中国移动通信集团公司 A kind of processing method and processing device of request message
US10462699B2 (en) 2014-09-08 2019-10-29 Cisco Technology, Inc. System and method for internet protocol version-based multiple access point name support in a network environment
WO2021249213A1 (en) * 2020-06-08 2021-12-16 中兴通讯股份有限公司 Information processing method, and network element and computer-readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100291923A1 (en) * 2007-12-27 2010-11-18 Zte Corporation Method for selecting policy and charging rules function
CN102143062A (en) * 2010-12-28 2011-08-03 华为技术有限公司 Policy and charging rule function addressing method, device and system
CN103731817A (en) * 2014-01-02 2014-04-16 中国联合网络通信集团有限公司 Data transmission method and equipment
CN103906223A (en) * 2012-12-28 2014-07-02 中国电信股份有限公司 Information synchronization method and system based on intra-domain dual DRAs
CN104301450A (en) * 2014-10-09 2015-01-21 中国联合网络通信集团有限公司 Addressing method and device
CN104519038A (en) * 2013-09-29 2015-04-15 华为技术有限公司 Conversation setup method, device and system
CN104717626A (en) * 2013-12-13 2015-06-17 中国移动通信集团公司 Session routing information sharing method, device and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100291923A1 (en) * 2007-12-27 2010-11-18 Zte Corporation Method for selecting policy and charging rules function
CN102143062A (en) * 2010-12-28 2011-08-03 华为技术有限公司 Policy and charging rule function addressing method, device and system
CN103906223A (en) * 2012-12-28 2014-07-02 中国电信股份有限公司 Information synchronization method and system based on intra-domain dual DRAs
CN104519038A (en) * 2013-09-29 2015-04-15 华为技术有限公司 Conversation setup method, device and system
CN104717626A (en) * 2013-12-13 2015-06-17 中国移动通信集团公司 Session routing information sharing method, device and system
CN103731817A (en) * 2014-01-02 2014-04-16 中国联合网络通信集团有限公司 Data transmission method and equipment
CN104301450A (en) * 2014-10-09 2015-01-21 中国联合网络通信集团有限公司 Addressing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
穆佳 等: "DRA在VoLTE中的会话绑定策略研究", 《邮电设计技术》 *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10225698B2 (en) 2014-07-03 2019-03-05 Cisco Technology, Inc. System and method for providing message delivery and paging to a group of users in a network environment
US9693205B2 (en) 2014-07-03 2017-06-27 Cisco Technology, Inc. System and method for providing message delivery and paging to a group of users in a network environment
US9516640B2 (en) 2014-08-01 2016-12-06 Cisco Technology, Inc. System and method for a media access control scheduler for a long term evolution unlicensed network environment
US10462699B2 (en) 2014-09-08 2019-10-29 Cisco Technology, Inc. System and method for internet protocol version-based multiple access point name support in a network environment
US9717068B2 (en) 2014-09-09 2017-07-25 Cisco Technology, Inc. System and method for supporting cell updates within a small cell cluster for idle mobility in cell paging channel mode
US9730156B1 (en) 2014-11-07 2017-08-08 Cisco Technology, Inc. System and method for providing power saving mode enhancements in a network environment
US9699725B1 (en) 2014-11-07 2017-07-04 Cisco Technology, Inc. System and method for providing power saving mode enhancements in a network environment
US9843687B2 (en) 2014-11-09 2017-12-12 Cisco Technology, Inc. System and method for radio aware traffic management based wireless authorization
US9629042B2 (en) 2014-12-05 2017-04-18 Cisco Technology, Inc. System and method for providing collaborative neighbor management in a network environment
US9686798B1 (en) 2015-01-14 2017-06-20 Cisco Technology, Inc. System and method for providing collision-avoided physical downlink control channel resource allocation in a network environment
US9755843B2 (en) 2015-02-03 2017-09-05 Cisco Technology, Inc. System and method for providing policy charging and rules function discovery in a network environment
WO2016126414A1 (en) * 2015-02-03 2016-08-11 Cisco Technology, Inc. System and method for distributing policy charging and enforcement function connectivity information in a network environment
US9621362B2 (en) 2015-02-03 2017-04-11 Cisco Technology, Inc. System and method for providing policy charging and rules function discovery in a network environment
WO2016126413A1 (en) * 2015-02-03 2016-08-11 Cisco Technology, Inc. System and method for discovering a policy charging and rules function (pcrf) in a network environment
CN109257397A (en) * 2017-07-12 2019-01-22 中国移动通信集团公司 A kind of processing method and processing device of request message
CN109257397B (en) * 2017-07-12 2021-09-28 中国移动通信集团公司 Request message processing method and device
WO2021249213A1 (en) * 2020-06-08 2021-12-16 中兴通讯股份有限公司 Information processing method, and network element and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN105050072A (en) Session binding method and network system
CN101471797B (en) Decision method and system and policy decision unit
CN102348200B (en) Call routing method and system of number portability businesses as well as network element equipment
EP2056570A1 (en) Session and media binding to common control
US8582564B2 (en) Method for providing a roaming service between heterogeneous networks and system therefor
CN101388836A (en) Method for obtaining IP access session policy control information, related equipment and system
US9537821B2 (en) Method for PCC support for scenarios with NAT in the GW
CN103220372A (en) Data service access method and system
JP2008529331A (en) User identity
CN101931923B (en) Method for user registration of IP multimedia subsystem network and service fulfillment system
CN101009609A (en) A network binding method and network binding system
CN104038974A (en) Method and device for processing voice service
CN101790247A (en) Method, device and system for processing called continuation
CN113329517B (en) Communication method and device
CN102158562A (en) Method and system for sending out PCC (program-controlled computer) strategy information
US9209999B2 (en) Method, apparatus, and system for associating sessions
CN104168190B (en) A kind of method and device for calling routing
US20120213182A1 (en) Primary serving gateway resolution
CN108271146B (en) Call implementation method, controller and server
CN114866968B (en) Call processing method, device, equipment and storage medium
CN103476019A (en) Method, system and home subscriber server for obtaining access point name
CN104301450B (en) The method and device of addressing
CN101998338A (en) Implementation method for emergency call callback and emergency call callback system
CN110312220A (en) A communication method and communication system
CN108235428A (en) Method for realizing UE registration with P-CSCF, MME equipment and PGW equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151111