WO2017041507A1 - Diameter message routing method and routing agent node - Google Patents

Diameter message routing method and routing agent node Download PDF

Info

Publication number
WO2017041507A1
WO2017041507A1 PCT/CN2016/082239 CN2016082239W WO2017041507A1 WO 2017041507 A1 WO2017041507 A1 WO 2017041507A1 CN 2016082239 W CN2016082239 W CN 2016082239W WO 2017041507 A1 WO2017041507 A1 WO 2017041507A1
Authority
WO
WIPO (PCT)
Prior art keywords
identifier
domain
session establishment
message
dra
Prior art date
Application number
PCT/CN2016/082239
Other languages
French (fr)
Chinese (zh)
Inventor
周晓云
梁爽
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017041507A1 publication Critical patent/WO2017041507A1/en

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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • This application relates to, but is not limited to, the field of mobile communication PCC technology.
  • PCC Policy and Charging Control
  • the Policy and Charging Rules Function is used to formulate the QoS (Quality of Service) and the charging policy for the service using network resources.
  • the PCRF needs to combine the service information received from the application function (AF, Application Function), the user subscription information received from the User Profile Repository (SPR), and the policy configured by the operator.
  • the PCRF sends the control policy for the service to the Policy and Charging Enforcement Function (PCEF) or the Bearer Binding and Event Report Function (BBERF).
  • PCEF Policy and Charging Enforcement Function
  • BBERF Bearer Binding and Event Report Function
  • the PCRF can subscribe to the bearer layer related events to the PCEF and/or the BBERF to sense in time when the bearer layer occurs, and change the control strategy.
  • the PCEF and the Traffic Detection Function can perform application detection and control functions according to PCC rules (PCEF) or Application Detection Control (ADC) issued by the PCRF.
  • PCEF PCC rules
  • ADC Application Detection Control
  • the Online Charging System OCS
  • OFCS provides charging functions based on user and service data flows.
  • PCC Protocol Converter
  • AAC Application Access
  • PCRF Public Land Mobile Network
  • EPS Evolved Packet System
  • PCRF Diameter
  • PCRF Diameter
  • a UE-to-packet data network (PDN) connection is called an IP-Connected Access Network (IP-CAN) session.
  • IP-CAN IP-Connected Access Network
  • the PCC policy for an IP-CAN session is determined by only one PCRF.
  • the EPS introduces a Dialogic Routing Agent (DRA) in each PCRF domain.
  • DUA Dialogic Routing Agent
  • an EPS network may have multiple Diameter management domains. As shown in FIG. 3, there is a schematic diagram of two Diameter management domains in one PLMN.
  • the DRA is responsible for managing the PCRF in this domain.
  • the PCC clients in this domain such as PCEF, BBERF, AF, and AAC, the correct PCRF can be found through the DRA of this domain.
  • the Diameter message sent by the PCC client such as the BBERF and the PCEF in the management domain 1 is routed to the correct PCRF through the DRA1, if the UE moves to the management domain.
  • the message sent by the PCC client such as BBERF and PCEF in the management domain 2 first passes the DRA2, and the DRA2 sends the Diameter message to the DRA1 according to the related information, and the DRA1 then routes the message to the correct PCRF.
  • One or more Diameter Agents are typically deployed prior to DRA1 and DRA2 to route DRA1 messages to DRA2.
  • NAT Network Address Translation
  • P-GW packet network gateway
  • PDNGateway packet network gateway
  • FIG. 5 a schematic diagram of a process in which a UE of the related art accesses a network and establishes an IP-CAN session through a P-GW in which the management domain 2 is located (the PCEF2 is located in the GW).
  • Step 501 The PCEF2 receives a request to establish an IP-CAN session message, where the request to establish an IP-CAN session message carries a first user identifier, a first UE private network IP address, and a first PDN identifier.
  • Step 502 The PCEF2 sends an IP-CAN session establishment indication message to the DRA2, where the IP-CAN session establishment indication message carries the first user identifier, the first UE private network IP address, and the first PDN identifier.
  • the IP-CAN session establishment indication message is actually implemented as a Diameter CCR (Credit Control Request) message.
  • Step 503 The DRA2 receives the IP-CAN session establishment indication message, determines, according to the first user identifier, that the user is a subscription user of the management domain 1, and uses the Origin-Host AVP that establishes an IP-CAN session indication message.
  • the first PCEF identifier is extracted, and the DRA2 stores the first user identifier, the first UE private network IP address, the first PCEF identifier, and the first PDN identifier.
  • Step 504 The DRA2 sends the IP-CAN session establishment indication message to the DRA1. If there are other Diameter Agents between DRA2 and DRA1, the Diameter Agent forwards the message to the Diameter Agent of the next hop in turn until DRA1.
  • Step 505 The DRA1 determines that the PCRF has not been selected for the UE or the IP-CAN session, and the DRA1 selects the PCRF11 for the UE or the IP-CAN session, and saves the first user identifier, the first a correspondence between a PDN identifier, the first UE private network IP address, the first PCEF identifier, and the PCRF 11.
  • the correspondence between the first user identifier, the first PDN identifier, the first UE private network IP address, the first PCEF identifier, and the PCRF 11 is also referred to as DRA binding information.
  • Step 506 The DRA1 sends the IP-CAN session establishment indication message to the PCRF 11.
  • Step 507 The PCRF11 receives the IP-CAN session establishment indication message, saves the related information of the IP-CAN session, and performs PCC decision. When the PCRF11 makes a decision, it may need to interact with the SPR to obtain the subscription information of the user. .
  • Step 508 The PCRF11 sends an IP-CAN session establishment confirmation message to the DRA1, where The IP-CAN session establishment confirmation message carries the PCC decision information.
  • Step 509 The DRA1 sends the IP-CAN session establishment confirmation message to the DRA2.
  • Step 510 The DRA2 sends the IP-CAN session establishment confirmation message to the PCEF2.
  • Step 511 The gateway where the PCEF2 is located sends a request to the UE to establish an IP-CAN session response message.
  • Step 512 When the UE accesses the service of the network where the management domain 2 is located, or the UE accesses an application that has a contractual relationship with the network where the management domain 2 is located, the AF2/AAC2 initiates a service request, where the service request is An AAR message (also referred to as an Rx session establishment request message), where the AAR message carries at least a second UE private network IP address, a second IP domain identifier, and service information, and the AAR message is to be routed to the DRA2, where the The second IP domain identifier is carried by the IP-Domain-Id AVP, and the second IP domain identifier is usually the public IP address of the UE.
  • An AAR message also referred to as an Rx session establishment request message
  • the AAR message carries at least a second UE private network IP address, a second IP domain identifier, and service information, and the AAR message is to be routed to the DRA2, where the The second IP domain identifier is carried by the
  • Step 513 The DRA receives the AAR message, and matches the second UE private network IP address with the previously saved first UE private network IP address, and the second IP domain identifier and the previously saved first The PCEF identifier is matched.
  • the DRA2 pre-stores the correspondence between the IP domain identifier and the PCEF identifier. After the matching succeeds, the DRA2 forwards the AAR message to the DRA1, where one or more Diameters between the DRA2 and the DRA1 After the agent matches the above method, the message is routed to the correct next hop until DRA1.
  • Step 514 The DRA matches the previously configured private network IP address and the previously saved first private network IP address according to the second UE private network IP address and the second IP domain identifier. Matching, and matching the second IP domain identifier with the previously saved first PCEF identifier, where the DRA1 pre-stores the correspondence between the IP domain identifier and the PCEF identifier), the matching is successful, and the IP established before the UE is determined. -CAN session selects PCRF11. DRA1 forwards the service request message to PCRF11.
  • Step 515 The PCRF11 performs session binding according to the second UE private network IP address and the second IP domain identifier (that is, the second UE private network IP address is matched with the previously saved first UE private network IP address, and the The second IP domain identifier is matched with the previously saved first PCEF identifier, and the matching is successfully performed for session binding, and the service information is saved.
  • step 516 the PCRF 11 sends an acknowledgement message to the DRA1.
  • Step 517 The DRA1 forwards the acknowledgement message to the DRA2.
  • Step 518 The DRA2 forwards the confirmation message to the AF2/AAC2.
  • DRA2 can be routed to the correct PCRF11 in the management domain 2, and the PCRF11 can perform correct session binding
  • the related art requires the DRA (ie DRA2) in the management domain 2, the Diameter Agent between the DRA2 and the DRA1, and the management domain.
  • DRA ie DRA1
  • DRA1 and the PCRF11 in 1 need to store the correspondence between the PCEF identifier and the IP domain identifier in the management domain 2, which may result in network configuration complexity.
  • the Diameter Agent between the DRA2 and the DRA1 needs to be able to save the information such as the private network IP address and the PCEF identifier of the UE during the IP-CAN establishment process, so that the correct route can be performed. , increased the ability requirements for the Diameter Agent.
  • the embodiment of the invention provides a Diameter message routing method and a routing proxy node, which can simplify network parameter configuration.
  • An embodiment of the present invention provides a method for routing a Diameter message, where the Diameter message routing method includes:
  • Rx session establishment request message carries a second UE private network IP address and a second IP domain identifier
  • the second UE private network IP address matches the first UE private network IP address in the routing agent node DRA binding information, and the second IP domain identifier and the first policy in the DRA binding information And setting the destination host domain Destination-Host AVP of the Rx session establishment request message to the value of the first policy and the charging rule function PCRF identifier in the DRA binding information. And replacing the value of the second IP domain identifier with the value of the first PCEF identifier in the DRA binding information.
  • the DRA binding information is established when the IP connection access network IP-CAN session is established.
  • the DRA binding information includes a first UE private network IP address, the first PCEF identifier, and the first PCRF identifier, where the first PCRF identifier is from the IP-CAN session establishment confirmation message. Extracted.
  • the first PCEF identifier is extracted and obtained from the establishment indication message of the IP-CAN session.
  • the Diameter message routing method further includes:
  • IP-CAN session establishment indication message where the establishing an IP-CAN session indication message carries a first user identifier
  • the Diameter message routing method further includes:
  • IP-CAN session establishment indication message where the establishing an IP-CAN session indication message carries a first user identifier
  • the embodiment of the present invention further provides a routing proxy node, where the routing proxy node includes: a receiving unit and a processing unit;
  • the receiving unit is configured to: receive an Rx session establishment request message, where the Rx session establishment request message carries a second UE private network IP address and a second IP domain identifier;
  • the processing unit is configured to: when the second UE private network IP address and the routing agent DRA binding information match the first UE private network IP address, and the second IP domain identifier is tied to the DRA
  • the destination host domain Destination-Host AVP of the Rx session establishment request message is set as the first policy and the accounting in the DRA binding information, when the first policy and the accounting execution function PCEF identifier are successfully matched.
  • the value of the rule is determined by the value of the PCRF, and the value of the second IP domain identifier is replaced by the value of the first PCEF identifier in the DRA binding information.
  • the DRA binding information is saved when the IP connection access network IP-CAN session is established, where the DRA binding information includes a first UE private network IP address, the first PCEF identifier, and the first a PCRF identifier, wherein the first PCRF identifier establishes an acknowledgement from the IP-CAN session
  • the message is extracted and obtained.
  • the first PCEF identifier is extracted and obtained from the establishment indication message of the IP-CAN session.
  • the routing proxy node further includes: a determining unit and a sending unit,
  • the receiving unit is further configured to: receive the IP-CAN session establishment indication message, where the establishing an IP-CAN session indication message carries a first user identifier;
  • the determining unit is configured to: determine, according to the first user identifier, that the user is a subscription user of the first administrative domain;
  • the sending unit is configured to: send the IP-CAN session establishment indication message to the DRA of the first management domain.
  • the routing proxy node further includes: a determining unit and a sending unit,
  • the receiving unit is further configured to: receive the IP-CAN session establishment indication message, where the establishing an IP-CAN session indication message carries a first user identifier;
  • the determining unit is configured to: determine, according to the first user identifier, a attribution province of the user;
  • the sending unit is configured to: send the IP-CAN session establishment indication message to the DRA of the home province.
  • the embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the embodiment of the present invention provides a Diameter message routing method and a routing proxy node, and receives an Rx session establishment request message, where the Rx session establishment request message carries a second UE private network IP address and a second IP domain identifier;
  • the second UE private network IP address is successfully matched with the first UE private network IP address in the routing agent DRA binding information, and the second IP domain identifier is successfully matched with the first PCEF identifier in the DRA binding information.
  • the Diameter message routing method and the routing proxy node provided by the embodiment of the present invention, when visiting the administrative domain or visiting the provincial route After receiving the service request message (ie, the Rx session establishment request message) sent by the AF/AAC, the proxy node DRA sends the service request message to the DRA of the home management domain or the home province, and forwards the service request message by visiting the management domain DRA.
  • the destination host domain is set to the PCRF identifier saved during the IP-CAN session establishment process, and the IP domain identifier is set to the PCEF identifier saved during the IP-CAN session establishment process, thereby simplifying the configuration of the home management domain DRA and PCRF network parameters. .
  • Figure 1 is a schematic diagram of a PCC architecture
  • FIG. 2 is a schematic diagram of a PCC architecture of an AAC
  • FIG. 3 is a schematic structural diagram of interworking between multiple management domains
  • FIG. 4 is a schematic diagram of a PCC architecture of NAT
  • FIG. 5 is a schematic flowchart of an IP-CAN session and a service request in the related art
  • FIG. 6 is a schematic flowchart 1 of a method for routing a Diameter message according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart 2 of a method for routing a Diameter message according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart 3 of a method for routing a Diameter message according to an embodiment of the present disclosure
  • FIG. 9 is a schematic structural diagram 1 of a routing proxy node according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram 2 of a routing proxy node according to an embodiment of the present invention.
  • the embodiment of the present invention provides a method for routing a Diameter message.
  • the method for routing a Diameter message may include:
  • Step 101 Receive an Rx session establishment request message, where the Rx session establishment request message carries a second UE private network IP address and a second IP domain identifier.
  • the execution subject of the Diameter message routing method provided by the embodiment of the present invention is a visited management domain or a DIA (Diameter Routing Agent), that is, DRA2.
  • DIA Diameter Routing Agent
  • the DRA2 receives the Rx session establishment request message, where the Rx session establishment request message carries at least the second UE private network IP address, the second IP domain identifier, and the service information.
  • the Rx session establishment request message may be an authorization authentication request AAR message.
  • Step 102 The first UE private network IP address and the first UE private network IP address in the DRA binding information are successfully matched, and the second IP domain identifier IP Domain id and the first policy in the DRA binding information are The destination host domain Destination-Host AVP of the Rx session establishment request message is set to the value of the first policy and the charging rule function PCRF identifier in the DRA binding information. And replacing the value of the second IP domain identifier with the value of the first PCEF identifier.
  • IP domain identifier The correspondence between the IP domain identifier and the PCEF identifier is pre-configured.
  • the DRA2 receives the IP-CAN session establishment confirmation message sent by the DRA1, and extracts the first PCRF identifier, that is, the PCRF11 identifier from the Origin-Host AVP of the IP-CAN session establishment confirmation message, and saves it as (the first user) Corresponding relationship between the identifier, the first UE private network IP address, the first PCEF identifier, the first PDN identifier, and the first PCRF identifier, which is also referred to as DRA binding information, that is, the DRA binding information is an IP connection.
  • the DRA binding information includes at least a first UE private network IP address, the first PCEF identifier, and the first PCRF identifier, where the first PCRF identifier is Extracted from the IP-CAN session establishment confirmation message.
  • the DRA2 matches the second UE private network IP address with the first UE private network IP address, and matches the second IP domain identifier with the first PCEF identifier.
  • the DRA2 pre-stores the correspondence between the IP domain identifier and the PCEF identifier.
  • the destination host domain of the Rx session establishment request message is set to The value of the first PCRF identifier, that is, the Destination-Host AVP is set to The value of the identifier of the PCRF11 is changed, and the value of the second IP domain identifier is replaced by the value of the first PCEF identifier, that is, the IP-Domain-Id AVP is set to the value of the PCEF2 identifier.
  • the method of routing the Diameter message sends a service request message to the home after receiving the service request message (ie, the Rx session establishment request message) sent by the AF/AAC after receiving the service request message (ie, the Rx session establishment request message) sent by the AF/AAC.
  • the DRA of the management domain or the affiliation province is set to the PCRF identifier saved in the IP-CAN session establishment process by calling the management domain DRA in the forwarding service request message, and the IP domain identifier is set to be in the IP-CAN session establishment process.
  • the saved PCEF identifier thereby simplifying the configuration of the home management domain or the home province DRA and PCRF network parameters.
  • the scenario of the Diameter message routing method provided by the embodiment of the present invention is: the UE accesses and establishes an IP-CAN session through the P-GW of the network where the management domain 2 is located (the PCEF2 is located in the gateway), and the UE initiates the service request AF/ AAC is also in management domain 2 or has a contractual relationship with administrative domain 2.
  • An embodiment of the present invention provides a method for routing a Diameter message. As shown in FIG. 7, the method for routing a Diameter message may include:
  • Step 201 The PCEF2 receives a request to establish an IP-CAN session message, where the request to establish an IP-CAN session message carries at least a first user identifier, a first UE private network IP address, and a first PDN identifier.
  • Step 202 The PCEF2 sends an IP-CAN session establishment indication message to the DRA2, where the IP-CAN session establishment indication message carries at least the first user identifier, the first UE private network IP address, and the first PDN identifier.
  • the IP-CAN session establishment indication message is a Diameter Credit Control Request (CCR) message.
  • CCR Diameter Credit Control Request
  • Step 203 The DRA2 receives an IP-CAN session establishment indication message, that is, a CCR message, where the IP-CAN session establishment indication message carries the first user identifier, the first UE private network IP address, and the first PDN identifier. Determining, according to the first user identifier, that the user is a subscription user of the first management domain, and determining, according to the IP-CAN session establishment indication message, the first PCEF identifier, and saving the first user identifier, the first UE private a network IP address, the first PCEF identifier, and the The first PDN identifier.
  • the DRA2 receives the IP-CAN session establishment indication message, and determines that the user is the first management domain, that is, the subscription user of the management domain 1, according to the first user identifier.
  • the DRA2 extracts the first PCEF identifier from the Origin-Host AVP of the IP-CAN session establishment indication message, and saves the first user identifier, the first UE private network IP address, and the first PCEF. Identification, the first PDN identifier.
  • Step 204 The DRA2 sends the IP-CAN session establishment indication message to the DRA1.
  • Diameter Agent forwards the message to the Diameter Agent of the next hop in turn until DRA1.
  • Step 205 The DRA1 determines that the PCRF has not been selected for the UE or the IP-CAN session, and the DRA1 selects the first PCRF as the PCRF11 for the UE or the IP-CAN session.
  • the DRA1 stores the first user identifier, the first PDN identifier, the first UE private network IP address, the first PCEF identifier, and the PCRF11 correspondence, that is, DRA binding information.
  • Step 206 The DRA1 sends the IP-CAN session establishment indication message to the PCRF11.
  • Step 207 The PCRF11 receives the IP-CAN session establishment indication message, saves related information of the IP-CAN session, and performs PCC decision.
  • the PCRF 11 may need to interact with the SPR to obtain the subscription information of the user when performing the PCC decision.
  • Step 208 The PCRF11 sends an IP-CAN session establishment confirmation message to the DRA1, where the IP-CAN session establishment confirmation message carries the PCC decision information.
  • Step 209 The DRA2 receives the DRA1 to send the IP-CAN session establishment confirmation message.
  • the DRA1 sends the IP-CAN session establishment confirmation message to the DRA2, and the DRA2 receives the IP-CAN session establishment confirmation message, where the IP-CAN session establishment confirmation message carries the PCC decision information.
  • Step 210 The DRA2 determines the first PCRF identifier according to the IP-CAN session establishment confirmation message, and saves the first user identifier, the first UE private network IP address, and the first PCEF label. And a corresponding relationship between the first PDN identifier and the first PCRF identifier, that is, DRA binding information.
  • the DRA2 receives the IP-CAN session establishment confirmation message, that is, the CCA message, and the first PCRF identifier, that is, the PCRF11 identifier, is sent from the Origin-Host of the IP-CAN session establishment confirmation message, and is saved as the first The correspondence between the user identifier, the first UE private network IP address, the first PCEF identifier, the first PDN identifier, and the PCRF11 identifier, that is, the DRA binding information.
  • Step 211 The DRA2 sends the IP-CAN session establishment confirmation message to the first PCEF.
  • the first PCEF is PCEF2.
  • Step 212 The gateway where the PCEF2 is located sends a request to the UE to establish an IP-CAN session response message.
  • Step 213 When the UE accesses the service of the network where the management domain 2 is located, or the UE accesses an application that has a contract relationship with the network where the management domain 2 is located, the AF2/AAC2 sends a service request message to the DRA2.
  • the AF2/AAC2 initiates a service request message, where the service request is an AAR message, that is, an Rx session establishment request message, where the service request message carries at least a second UE private network IP address, a second IP domain identifier, and service information.
  • the service request message will be routed to DRA2.
  • the second UE domain IP address is carried by the Framed-IPv4-Address AVP
  • the second IP domain identifier is carried by the IP-Domain-Id AVP
  • the second IP domain identifier is usually the public IP address of the UE. address.
  • Step 214 The DRA matches the second UE private network IP address and the second IP domain identifier and the DRA binding information, because the second UE private network IP address matches the first UE private network IP address successfully, and the second IP address is obtained.
  • the domain identifier is successfully matched with the first PCEF identifier, so the DRA2 determines that the request message has activated DRA binding information, and the DRA2 sets the destination host domain Destination-Host VAP of the service request message (that is, the AAR message) to the first
  • the value of the PCRF identifier that is, the PCRF identifier in the matched binding information, and replaces the value of the second IP domain identifier with the value of the first PCEF identifier, that is, the PCEF in the matched binding information.
  • the identifier where the correspondence between the IP domain identifier and the PCEF identifier is pre-configured.
  • the DRA2 receives the service request message, where the service request message carries at least a second The private network IP address, the second IP domain identifier, and service information of the UE.
  • the DRA2 matches the second UE private network IP address with the previously saved first UE private network IP address, and matches the second IP domain identifier with the previously saved first PCEF identifier.
  • the DRA2 pre-stores the correspondence between the IP domain identifier and the PCEF identifier.
  • the destination host domain of the service request message is set to the first The value of the PCRF identifier, that is, the Destination-Host AVP is set to the value of the PCRF11 identifier, and the value of the second IP domain identifier is replaced by the value of the first PCEF identifier, that is, the IP-Domain-Id.
  • the AVP is set to the value of the PCEF2 identifier.
  • Step 215 The DRA2 sends the processed service request message to the DRA1.
  • Diameter Agent forwards the message to the Diameter Agent of the next hop in turn until DRA1. That is, the Diameter Agent between the DRA2 and the DRA1 routes the message to the next hop according to the destination host domain Destination-Host AVP value of the service request message, until the route is to the DRA1, where the Destination-Host AVP takes the value The value of a PCRF identifier.
  • Step 216 The DRA1 sends the service request message to the PCRF 11 according to the destination host domain Destination-Host AVP.
  • Step 217 The PCRF11 performs session binding according to the second UE private network IP address and the second IP domain identifier.
  • the PCRF 11 matches the second UE private network IP address in the service request message with the previously saved first UE private network IP address, and matches the second IP domain identifier with the previously saved first PCEF identifier. Because the matching is successful, the PCRF 11 determines that the request message has a corresponding IP-CAN session, performs session binding, and saves the service information.
  • the destination-host AVP is set to the value identified by the PCRF11, and the IP-Domain-Id AVP is set to the value of the PCEF2 identifier. Since the value of the IP domain identifier is the same as the previously saved PCEF identifier, that is, the value of PCEF2, the PCRF11 can match according to the same value.
  • Step 218 The PCRF11 sends an acknowledgement message to the DRA1.
  • Step 219 The DRA1 forwards the acknowledgement message to the DRA2.
  • Step 220 The DRA2 forwards the confirmation message to the AF2/AAC2.
  • an administrative domain can be regarded as a network managed by a provincial company of an operator.
  • a scenario in which a user of the management domain 1 accesses the network through the P-GW of the management domain 2 can be understood as a scenario of inter-provincial roaming.
  • the process described in the second embodiment of FIG. 7 can be understood as that the UE accesses the network by visiting the provincial P-GW, and accesses the service of the visited province or the service with the contracted relationship with the visited province.
  • the IP-Domain-Id AVP is set to the PCEF saved during the IP-CAN session establishment process. The method of identification simplifies the configuration of network parameters of the home province DRA and PCRF.
  • the method of routing the Diameter message provided by the embodiment of the present invention, after receiving the service request message (ie, the Rx session establishment request message) sent by the AF/AAC, the route requesting node DRA of the visited management domain or the visiting province needs to send the service request message to
  • the DRA of the home management domain or the home province is set to the PCRF identifier saved in the IP-CAN session establishment process by calling the management domain DRA in the forwarding service request message, and the IP domain identifier is set to be established in the IP-CAN session.
  • the PCEF identifier saved in the process thereby simplifying the configuration of the home management domain or the home province DRA and PCRF network parameters.
  • the scenario of the Diameter message routing method provided by the embodiment of the present invention is: the UE accesses and establishes an IP-CAN session through the network where the management domain 2 is located, and the AF/AAC that the UE initiates the service request is in the third management domain or The three administrative domains have contracted relationships, and the third administrative domain can be administrative domain 3.
  • An embodiment of the present invention provides a method for routing a Diameter message. As shown in FIG. 8, the method for routing a Diameter message may include:
  • Step 301 The PCEF2 receives a request to establish an IP-CAN session message, where the request to establish an IP-CAN session message carries at least a first user identifier, a first UE private network IP address, and a first PDN identifier.
  • Step 302 The PCEF2 sends an IP-CAN session establishment indication message (ie, a CCR message) to the DRA2, where the IP-CAN session establishment indication message carries at least the first user identifier, the first a UE private network IP address and the first PDN identifier.
  • IP-CAN session establishment indication message ie, a CCR message
  • Step 303 The DRA2 receives an IP-CAN session establishment indication message, where the IP-CAN session establishment indication message carries the first user identifier, the first UE private network IP address, and the first PDN identifier.
  • the first user identifier determines that the user is the subscription user of the first management domain, and determines the first PCEF identifier according to the IP-CAN session establishment indication message, and saves the first user identifier, the first UE private network IP address, The first PCEF identifier and the first PDN identifier.
  • the DRA2 receives the IP-CAN session establishment indication message, and determines that the user is the first management domain, that is, the subscription user of the management domain 1, according to the first user identifier.
  • the DRA2 extracts the first PCEF identifier from the Origin-Host AVP of the IP-CAN session establishment indication message, and saves the first user identifier, the first UE private network IP address, and the first PCEF. Identification, the first PDN identifier.
  • Step 304 The DRA2 sends the establishment IP-CAN session indication message to the DRA1.
  • Diameter Agent forwards the message to the Diameter Agent of the next hop in turn until DRA1.
  • Step 305 The DRA1 determines that the PCRF has not been selected for the UE or the P-CAN session, and the DRA1 selects the first PCRF as the PCRF11 for the UE or the IP-CAN session.
  • the DRA1 stores the first user identifier, the first PDN identifier, the first UE private network IP address, the first PCEF identifier, and the PCRF11 correspondence, that is, DRA binding information.
  • Step 306 The DRA1 sends the IP-CAN session establishment indication message to the PCRF11.
  • Step 307 The PCRF11 receives the IP-CAN session establishment indication message, saves related information of the IP-CAN session, and performs PCC decision.
  • the PCRF11 may need to obtain the subscription information of the user according to the SPR interaction when performing the PCC decision.
  • Step 308 The PCRF11 sends an IP-CAN session establishment confirmation message (ie, a CCA message) to the DRA1, where the IP-CAN session establishment confirmation message carries the PCC decision information.
  • IP-CAN session establishment confirmation message ie, a CCA message
  • Step 309 The DRA2 receives the DRA1 to send the IP-CAN session establishment confirmation message.
  • the DRA1 sends the IP-CAN session establishment confirmation message to the DRA2, and the DRA2 receives the IP-CAN session establishment confirmation message, where the IP-CAN session establishment confirmation message carries the PCC decision information.
  • Step 310 The DRA2 determines the first PCRF identifier according to the IP-CAN session establishment confirmation message, and saves the first user identifier, the first UE private network IP address, the first PCEF identifier, and the first PDN identifier. Correspondence relationship with the PCRF identifier, that is, DRA binding information.
  • the DRA2 receives the IP-CAN session establishment confirmation message, and extracts the first PCRF identifier, that is, the PCRF11 identifier, from the Origin-Host of the IP-CAN session establishment confirmation message, and saves the identifier as the first user identifier.
  • Step 311 The DRA2 sends the IP-CAN session establishment confirmation message to the first PCEF.
  • the first PCEF is PCEF2.
  • Step 312 The gateway where the PCEF2 is located sends a request to the UE to establish an IP-CAN session response message.
  • Step 313 When the UE accesses the network where the management domain 3 is located, or the UE accesses an application that has a contractual relationship with the network where the management domain 3 is located, the AF3/AAC3 will initiate a service request message.
  • the service request is an AAR message
  • the service request message may also be referred to as an Rx session establishment request message, where the service request message carries at least a second UE private network IP address, a second IP domain identifier, and service information.
  • the service request message will be routed to DRA3.
  • the second UE domain IP address is carried by the Framed-IPv4-Address AVP
  • the second IP domain identifier is carried by the IP-Domain-Id AVP
  • the second IP domain identifier is usually the public IP address of the UE.
  • Step 314 The DRA3 determines, according to the second IP domain identifier, that the IP address of the user access service is allocated by the network where the non-administrative domain 3 is located, and routes the service request message to the DRA2 according to the second IP domain identifier.
  • the Diameter Agent between the DRA3 and the DRA2 routes the service request message to the next hop according to the second IP domain identifier until the route is forwarded to the DRA2.
  • one or more Diameter Agents may or may not be included between the DRA3 and the DRA2.
  • Step 315 The DRA matches the saved IP address of the second UE according to the private IP address of the second UE and the second IP domain identifier.
  • the IP address of the private network of the second UE is successfully matched with the IP address of the private network of the first UE.
  • the DRA2 determines that the request message has corresponding active DRA binding information, and the DRA2 sets the destination host domain of the service request message to the first PCRF identifier.
  • the value of the matching that is, the PCRF identifier in the matched DRA binding information
  • the value of the second IP domain identifier is replaced by the value of the first PCEF identifier, that is, the PCEF in the matched DRA binding information.
  • the identifier where the correspondence between the IP domain identifier and the PCEF identifier is pre-stored.
  • the DRA2 receives the service request message, where the service request message carries at least a second UE private network IP address, a second IP domain identifier, and service information.
  • the DRA2 matches the second UE private network IP address with the previously saved first UE private network IP address, and matches the second IP domain identifier with the previously saved first PCEF identifier.
  • the DRA2 pre-stores the correspondence between the IP domain identifier and the PCEF identifier.
  • the destination host domain of the service request message is set to the first The value of the PCRF identifier, that is, the Destination-Host AVP is set to the value of the PCRF11 identifier, and the value of the second IP domain identifier is replaced by the value of the first PCEF identifier, that is, the IP-Domain-Id.
  • the AVP is set to the value of the PCEF2 identifier.
  • Step 316 The DRA2 sends the processed service request message to the DRA1.
  • the Diameter Agent between the DRA2 and the DRA1 routes the message to the next hop according to the value of the destination-domain AVP of the service request message, and the route is sent to the DRA1.
  • the value of the Destination-Host AVP is The value of the first PCRF identifier.
  • Step 317 The DRA1 sends the processed service request message to the PCRF11 according to the destination host domain.
  • the value of the destination host field of the processed service request message is the value of the first PCRF identifier, that is, the value of the identifier of the PCRF11. Therefore, the DRA1 sends the processed service request message to the PCRF11.
  • Step 318 The PCRF11 performs session binding according to the second UE private network IP address and the second IP domain identifier.
  • the PCRF 11 matches the second UE private network IP address in the processed service request message with the previously saved first UE private network IP address, and matches the second IP domain identifier with the previously saved first PCEF identifier. Because the matching is successful, the PCRF 11 determines that the request message has a corresponding IP-CAN session, and after performing session binding, saves the service information.
  • the Destination-Host AVP is set to the value identified by the PCRF11, and the IP-Domain-Id AVP is set to the value identified by the PCEF2. Since the value of the IP domain identifier is the same as the previously saved PCEF identifier, that is, the value of PCEF2, the PCRF11 can match according to the same value.
  • step 319 the PCRF11 sends an acknowledgement message to the DRA1.
  • Step 320 The DRA1 forwards the acknowledgement message to the DRA2.
  • Step 321 The DRA2 forwards the acknowledgement message to the DRA3.
  • Step 322 The DRA3 forwards the confirmation message to the AF3/AAC3.
  • a management domain can be regarded as a network managed by a provincial company.
  • the process described in the third embodiment of FIG. 8 can be understood as the UE accessing the network through the P-GW of the province and accessing the third province or A business with a contractual relationship with the third province.
  • the visiting DRA determines the home province of the UE subscription according to the user identifier of the user, and sends an IP-CAN session establishment indication message to the DRA of the home province.
  • the DFM in the service request message is set in the Destination-Host AVP in the service request message to be the PCRF identifier saved in the IP-CAN session establishment process, and the IP-Domain-Id AVP is set to be in the IP-Domain-Id AVP.
  • the method of storing the PCEF identifier during the IP-CAN session establishment process simplifies the configuration of the network parameters of the home province DRA and PCRF.
  • the method of routing the Diameter message provided by the embodiment of the present invention, after receiving the service request message (ie, the Rx session establishment request message) sent by the AF/AAC, the route requesting node DRA of the visited management domain or the visiting province needs to send the service request message to
  • the DRA of the home management domain or the home province is set to the PCRF identifier saved in the IP-CAN session establishment process by calling the management domain DRA in the forwarding service request message, and the IP domain identifier is set to be established in the IP-CAN session.
  • the saved PCEF identifier thereby simplifying the configuration of the home management domain or the home province DRA and PCRF network parameters.
  • the embodiment of the present invention provides a routing proxy node 1, as shown in FIG. 9, the routing proxy node 1 includes: a receiving unit 10 and a processing unit 11, wherein
  • the receiving unit 10 is configured to: receive an Rx session establishment request message, where the Rx session establishment request message carries a second UE private network IP address and a second IP domain identifier;
  • the processing unit 11 is configured to: when the second UE private network IP address and the routing agent DRA binding information match the first UE private network IP address, and the second IP domain identifier and the DRA When the first policy and the charging execution function PCEF identifier in the binding information are successfully matched, the destination host domain Destinaion-Host AVP of the Rx session establishment request message is set as the first policy and meter in the DRA binding information. And the value of the first IPEF identifier in the DRA binding information is replaced by the value of the first IPEF identifier in the DRA binding information.
  • the DRA binding information is saved when the IP connection access network IP-CAN session is established, and the DRA binding information includes at least a first UE private network IP address, the first PCEF identifier, and the first A PCRF identifier, wherein the first PCRF identifier is extracted and obtained from the IP-CAN session establishment confirmation message.
  • the first PCEF identifier is extracted and obtained from the establishment indication message of the IP-CAN session.
  • the routing proxy node 1 further includes: a determining unit 12 and a sending unit 13,
  • the receiving unit 10 is further configured to: receive the IP-CAN session establishment indication message, where the establishing an IP-CAN session indication message carries the first user identifier, the first UE private network IP address, and the Describe the first PDN identifier;
  • the determining unit 12 is configured to: determine, according to the first user identifier, that the user is a subscription user of the first administrative domain;
  • the sending unit 13 is configured to: send the IP-CAN session establishment indication message to the DRA of the first management domain.
  • the routing proxy node 1 further includes: a determining unit 12 and a sending unit 13,
  • the receiving unit 10 is further configured to: receive the IP-CAN session establishment indication message, where the establishing an IP-CAN session indication message carries the first user identifier;
  • the determining unit 12 is configured to: determine a attribution province of the user according to the first user identifier;
  • the sending unit 13 is configured to: send the IP-CAN session establishment indication message to the DRA of the home province.
  • routing proxy node For the understanding of the routing proxy node provided by the embodiment of the present invention, reference may be made to the description of the method for routing the Diameter message in the first embodiment to the third embodiment, and details are not described herein again.
  • the receiving unit 10, the processing unit 11, the determining unit 12, and the transmitting unit 13 may be a central processing unit (CPU), a microprocessor (MPU), and a digital signal processor (DSP) located on the routing proxy node. Or implementation of a field programmable gate array (FPGA).
  • CPU central processing unit
  • MPU microprocessor
  • DSP digital signal processor
  • the routing proxy node provided by the embodiment of the present invention needs to send a service request message to the home after receiving the service request message (ie, the Rx session establishment request message) sent by the AF/AAC after the DAP of the visited management domain or the visiting province receives the service request message (ie, the Rx session establishment request message).
  • the DRA of the management domain or the affiliation province is set to the PCRF identifier saved in the IP-CAN session establishment process by calling the management domain DRA in the forwarding service request message, and the IP domain identifier is set to be in the IP-CAN session establishment process.
  • the saved PCEF identifier thereby simplifying the configuration of the home management domain or the home province DRA and PCRF network parameters.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions for executing the above Diameter message routing method.
  • all or part of the steps of the foregoing embodiments may also be implemented by using an integrated circuit, and the steps may be separately fabricated into integrated circuit modules, or multiple modules thereof or The steps are made into a single integrated circuit module.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the Diameter message routing method and the routing proxy node provided by the embodiment of the present invention, when the visited routing domain or the visited routing proxy node DRA receives the service request message (ie, the Rx session establishment request message) sent by the AF/AAC, the service request is sent.
  • the message is sent to the DRA of the home management domain or the home province.
  • the destination host domain in the forwarding service request message is set to the PCRF identifier saved in the IP-CAN session establishment process by the visited management domain DRA, and the IP domain identifier is set to be in the IP- The PCEF identifier saved during the CAN session establishment process, thereby simplifying the configuration of the home management domain DRA and PCRF network parameters.

Abstract

Published are a Diameter message routing method and a routing agent node. The method comprises: receiving an Rx session establishment request message, wherein the Rx session establishment request message carries a private network IP address of a second UE and a second IP domain identifier; and when the private network IP address of the second UE successfully matches a private network IP address of a first UE in Diameter routing agent (DRA) binding information and the second IP domain identifier successfully matches a first PCEF identifier in the DRA binding information, setting a destination host domain (Destination-Host AVP) of the Rx session establishment request message to be a value of a first Policy and Charging Rules Function (PCRF) identifier in the DRA binding information, and replacing a value of the second IP domain identifier with the value of the first Policy and Charging Enforcement Function (PCEF) identifier in the DRA binding information.

Description

一种Diameter消息路由方法和路由代理节点Diameter message routing method and routing proxy node 技术领域Technical field
本申请涉及但不限于移动通信PCC技术领域。This application relates to, but is not limited to, the field of mobile communication PCC technology.
背景技术Background technique
第三代合作伙伴计划(3GPP,The3rd Generation Partnership Project)定义的策略和计费控制(PCC,Policy and Charging Control)架构示意图,如图1所示。其中,策略和计费规则功能(PCRF,Policy and Charging Rules Function)为业务使用网络资源进行服务质量(QoS,Quality of Service)和计费策略的制订。PCRF制定控制策略需要结合从应用功能(AF,Application function)接收的业务信息、从用户签约数据库(SPR,Subscription Profile Repository)接收的用户签约信息和运营商配置的策略等。PCRF将为业务制定的控制策略下发给策略和计费执行功能(PCEF,Policy and Charging Enforcement Function)或者承载绑定和事件上报功能(BBERF,Bearer Binding and Event Report Function)执行。同时PCRF可以向PCEF和/或BBERF订阅承载层相关事件,以便当承载层发生所述事件时及时感知,并更改控制策略。此外,PCEF以及业务检测功能(Traffic Detection Function,简称为TDF)能够根据PCRF下发的PCC规则(PCEF)或应用检测控制(ADC,Application Detection Control)规则(TDF)执行应用检测和控制功能。在线计费系统(OCS,Online Charging System)提供基于用户和业务数据流的信用控制功能。离线计费系统(OFCS,Offline Charging System)提供基于用户和业务数据流的计费功能。A schematic diagram of a Policy and Charging Control (PCC) architecture defined by the 3rd Generation Partnership Project (3GPP), as shown in FIG. The Policy and Charging Rules Function (PCRF) is used to formulate the QoS (Quality of Service) and the charging policy for the service using network resources. The PCRF needs to combine the service information received from the application function (AF, Application Function), the user subscription information received from the User Profile Repository (SPR), and the policy configured by the operator. The PCRF sends the control policy for the service to the Policy and Charging Enforcement Function (PCEF) or the Bearer Binding and Event Report Function (BBERF). At the same time, the PCRF can subscribe to the bearer layer related events to the PCEF and/or the BBERF to sense in time when the bearer layer occurs, and change the control strategy. In addition, the PCEF and the Traffic Detection Function (TDF) can perform application detection and control functions according to PCC rules (PCEF) or Application Detection Control (ADC) issued by the PCRF. The Online Charging System (OCS) provides credit control functions based on user and business data streams. The Off-line Charging System (OFCS) provides charging functions based on user and service data flows.
随着移动互联网的发展,运营商需要与第三方数据应用提供商进行互通,为第三方数据应用提供商提供的业务进行QoS保障。由于目前PCC支持的Rx接口采用的Diameter协议,而对于大多数第三方数据应用提供商来说,他们更擅长基于SOAP、REST协议的开发。目前业界研究PCC架构支持基于SOAP/REST协议的Rx接口。在PCRF和AF直接设置一个称为协议转换器(PC,Protocol Converter)的逻辑功能,用于将SOAP或REST协议 转换成Diameter。进一步地,还可以在PC上面增加一些接入控制功能,以便能够更好的实现运营商对第三方数据应用的接入控制,此时该逻辑功能还称为应用接入控制(AAC,Application Access Control)功能实体,如图2所示,AAC的PCC架构示意图。With the development of the mobile Internet, operators need to communicate with third-party data application providers to provide QoS for services provided by third-party data application providers. Due to the Diameter protocol currently used by the RX interface supported by PCC, for most third-party data application providers, they are better at developing based on SOAP and REST protocols. Currently, the industry research PCC architecture supports the Rx interface based on the SOAP/REST protocol. Directly set up a logic function called Protocol Converter (PC) in PCRF and AF for SOAP or REST protocol. Convert to Diameter. Further, some access control functions may be added to the PC to better implement the access control of the third-party data application by the operator. In this case, the logical function is also called application access control (AAC, Application Access). Control) functional entity, as shown in Figure 2, AAC's PCC architecture diagram.
演进分组系统(EPS,Evolved Packet System)的一个公共陆地移动网络(PLMN,Public Land Mobile Network)中存在多个PCRF节点,并且所有的PCRF节点属于一个或多个Diameter(PCRF)域,以下描述中将Diameter(PCRF)域简称为PCRF域。一个UE到分组数据网(PDN,Pocket Data Network)的连接称为一个IP连接接入网络(IP-CAN,IP Connectivity Access Network)会话。一个IP-CAN会话的PCC策略只由一个PCRF决定。为了确保一个IP-CAN会话相关的所有PCEF、GW和AF都关联到同一个PCRF,EPS在每个PCRF域中引入了一个逻辑功能模块Diameter路由代理(DRA,Diameter Routing Agent)。当UE建立到一个PDN的IP-CAN会话时,由DRA为这个IP-CAN会话选择一个PCRF。这个IP-CAN会话相关的PCEF、BBERF和AF由DRA来关联到所选择的PCRF上。通常,一个EPS网络可能有多个Diameter管理域。如图3所示,为一个PLMN中存在两个Diameter管理域的示意图。DRA负责管理本域中的PCRF,在本域中的PCC客户端,例如PCEF、BBERF、AF、AAC,可以通过本域的DRA找到正确的PCRF。对于在管理域1中的签约用户,UE在管理域1中接入时,管理域1中的BBERF、PCEF等PCC客户端发送的Diameter消息通过DRA1路由到正确的PCRF,若UE移动到管理域2时,管理域2中的BBERF、PCEF等PCC客户端发送的消息首先通过DRA2,DRA2根据相关信息将Diameter消息发送到DRA1,DRA1再将消息路由到正确的PCRF。在DRA1和DRA2之前通常会部署一个或多个Diameter Agent用于将DRA1的消息路由到DRA2。There are multiple PCRF nodes in a Public Land Mobile Network (PLMN) of the Evolved Packet System (EPS), and all PCRF nodes belong to one or more Diameter (PCRF) domains, in the following description. The Diameter (PCRF) domain is simply referred to as a PCRF domain. A UE-to-packet data network (PDN) connection is called an IP-Connected Access Network (IP-CAN) session. The PCC policy for an IP-CAN session is determined by only one PCRF. In order to ensure that all PCEFs, GWs and AFs associated with an IP-CAN session are associated with the same PCRF, the EPS introduces a Dialogic Routing Agent (DRA) in each PCRF domain. When the UE establishes an IP-CAN session to a PDN, the DRA selects a PCRF for this IP-CAN session. This IP-CAN session related PCEF, BBERF and AF are associated by the DRA to the selected PCRF. In general, an EPS network may have multiple Diameter management domains. As shown in FIG. 3, there is a schematic diagram of two Diameter management domains in one PLMN. The DRA is responsible for managing the PCRF in this domain. In the PCC clients in this domain, such as PCEF, BBERF, AF, and AAC, the correct PCRF can be found through the DRA of this domain. For the subscribers in the management domain 1, when the UE accesses in the management domain 1, the Diameter message sent by the PCC client such as the BBERF and the PCEF in the management domain 1 is routed to the correct PCRF through the DRA1, if the UE moves to the management domain. At 2 o'clock, the message sent by the PCC client such as BBERF and PCEF in the management domain 2 first passes the DRA2, and the DRA2 sends the Diameter message to the DRA1 according to the related information, and the DRA1 then routes the message to the correct PCRF. One or more Diameter Agents are typically deployed prior to DRA1 and DRA2 to route DRA1 messages to DRA2.
为了解决IP地址短缺的问题,运营商通常在分组网络网关(P-GW,PDNGateway)之后部署网络地址转换设备(NAT,Network Address Translation)。如图4所示,NAT的PCC架构示意图,由于NAT存在,就使得相同PDN连接承载在分组核心演进网(EPC,Evolved Packet Core)内部使用的私有IP地址,与外部分组网络中使用的公有IP地址有所不同。 In order to solve the problem of shortage of IP addresses, operators usually deploy Network Address Translation (NAT) after the packet network gateway (P-GW, PDNGateway). As shown in Figure 4, the schematic diagram of the PCC architecture of NAT, because of the existence of NAT, enables the same PDN connection to carry the private IP address used inside the packet core evolution network (EPC, Evolved Packet Core), and the public IP used in the external packet network. The address is different.
如图5所示,为相关技术的UE通过管理域2所在的P-GW(PCEF2位于该GW)接入网络并建立IP-CAN会话的流程示意图。As shown in FIG. 5, a schematic diagram of a process in which a UE of the related art accesses a network and establishes an IP-CAN session through a P-GW in which the management domain 2 is located (the PCEF2 is located in the GW).
步骤501、PCEF2接收到请求建立IP-CAN会话消息,所述请求建立IP-CAN会话消息携带第一用户标识、第一UE私网IP地址和第一PDN标识。Step 501: The PCEF2 receives a request to establish an IP-CAN session message, where the request to establish an IP-CAN session message carries a first user identifier, a first UE private network IP address, and a first PDN identifier.
步骤502、PCEF2发送IP-CAN会话建立指示消息至DRA2,所述IP-CAN会话建立指示消息携带所述第一用户标识、所述第一UE私网IP地址和所述第一PDN标识。其中所述IP-CAN会话建立指示消息实际实现为Diameter CCR(Credit Control Request,信用控制请求)消息。Step 502: The PCEF2 sends an IP-CAN session establishment indication message to the DRA2, where the IP-CAN session establishment indication message carries the first user identifier, the first UE private network IP address, and the first PDN identifier. The IP-CAN session establishment indication message is actually implemented as a Diameter CCR (Credit Control Request) message.
步骤503、DRA2接收所述IP-CAN会话建立指示消息,根据所述第一用户标识判断所述用户为管理域1的签约用户,并从所述建立IP-CAN会话指示消息的Origin-Host AVP中提取出第一PCEF标识,DRA2保存所述第一用户标识、所述第一UE私网IP地址、所述第一PCEF标识、所述第一PDN标识。Step 503: The DRA2 receives the IP-CAN session establishment indication message, determines, according to the first user identifier, that the user is a subscription user of the management domain 1, and uses the Origin-Host AVP that establishes an IP-CAN session indication message. The first PCEF identifier is extracted, and the DRA2 stores the first user identifier, the first UE private network IP address, the first PCEF identifier, and the first PDN identifier.
步骤504、DRA2将所述IP-CAN会话建立指示消息发送给DRA1。若DRA2和DRA1之间存在其他Diameter Agent,则Diameter Agent将消息依次转发至下一跳的Diameter Agent,直至DRA1。Step 504: The DRA2 sends the IP-CAN session establishment indication message to the DRA1. If there are other Diameter Agents between DRA2 and DRA1, the Diameter Agent forwards the message to the Diameter Agent of the next hop in turn until DRA1.
步骤505、DRA1判断还没有为所述UE或所述IP-CAN会话选择PCRF,所述DRA1为所述UE或所述IP-CAN会话选择PCRF11,并且保存所述第一用户标识、所述第一PDN标识、所述第一UE私网IP地址、所述第一PCEF标识、所述PCRF11的对应关系。(所述第一用户标识、所述第一PDN标识、所述第一UE私网IP地址、所述第一PCEF标识、所述PCRF11)的对应关系也称为DRA绑定信息。Step 505: The DRA1 determines that the PCRF has not been selected for the UE or the IP-CAN session, and the DRA1 selects the PCRF11 for the UE or the IP-CAN session, and saves the first user identifier, the first a correspondence between a PDN identifier, the first UE private network IP address, the first PCEF identifier, and the PCRF 11. The correspondence between the first user identifier, the first PDN identifier, the first UE private network IP address, the first PCEF identifier, and the PCRF 11 is also referred to as DRA binding information.
步骤506、DRA1将所述IP-CAN会话建立指示消息发送给PCRF11。Step 506: The DRA1 sends the IP-CAN session establishment indication message to the PCRF 11.
步骤507、PCRF11接收所述IP-CAN会话建立指示消息,保存所述IP-CAN会话的相关信息,并进行PCC决策,PCRF11在进行决策时,可能需要与SPR交互,获得所述用户的签约信息。Step 507: The PCRF11 receives the IP-CAN session establishment indication message, saves the related information of the IP-CAN session, and performs PCC decision. When the PCRF11 makes a decision, it may need to interact with the SPR to obtain the subscription information of the user. .
步骤508、PCRF11将IP-CAN会话建立确认消息发送给DRA1,所述 IP-CAN会话建立确认消息携带所述PCC决策信息。Step 508: The PCRF11 sends an IP-CAN session establishment confirmation message to the DRA1, where The IP-CAN session establishment confirmation message carries the PCC decision information.
步骤509、DRA1发送所述IP-CAN会话建立确认消息至DRA2。Step 509: The DRA1 sends the IP-CAN session establishment confirmation message to the DRA2.
步骤510、DRA2发送所述IP-CAN会话建立确认消息至PCEF2。Step 510: The DRA2 sends the IP-CAN session establishment confirmation message to the PCEF2.
步骤511、PCEF2所在网关向所述UE发送请求建立IP-CAN会话应答消息。Step 511: The gateway where the PCEF2 is located sends a request to the UE to establish an IP-CAN session response message.
步骤512、当所述UE访问了管理域2所在网络的业务,或者所述UE访问了与所述管理域2所在网络有签约关系的应用,AF2/AAC2将发起业务请求,所述业务请求为AAR消息(也称Rx会话建立请求消息),所述AAR消息至少携带第二UE私网IP地址、第二IP域标识和业务信息,所述AAR消息将被路由到DRA2,其中,所述第二UE私网IP地址用Framed-IPv4-Address AVP携带,所述第二IP域标识用IP-Domain-Id AVP携带,所述第二IP域标识通常为UE的公网IP地址。Step 512: When the UE accesses the service of the network where the management domain 2 is located, or the UE accesses an application that has a contractual relationship with the network where the management domain 2 is located, the AF2/AAC2 initiates a service request, where the service request is An AAR message (also referred to as an Rx session establishment request message), where the AAR message carries at least a second UE private network IP address, a second IP domain identifier, and service information, and the AAR message is to be routed to the DRA2, where the The second IP domain identifier is carried by the IP-Domain-Id AVP, and the second IP domain identifier is usually the public IP address of the UE.
步骤513、DRA2接收到所述AAR消息,将所述第二UE私网IP地址与之前保存的第一UE私网IP地址进行匹配,并将所述第二IP域标识与之前保存的第一PCEF标识进行匹配,其中,DRA2预先保存了IP域标识和PCEF标识之间的对应关系,匹配成功后,DRA2将所述AAR消息转发给DRA1,其中,DRA2和DRA1之间的一个或多个Diameter Agent都采用上述的方法匹配后,将消息路由到正确的下一跳,直到DRA1。Step 513: The DRA receives the AAR message, and matches the second UE private network IP address with the previously saved first UE private network IP address, and the second IP domain identifier and the previously saved first The PCEF identifier is matched. The DRA2 pre-stores the correspondence between the IP domain identifier and the PCEF identifier. After the matching succeeds, the DRA2 forwards the AAR message to the DRA1, where one or more Diameters between the DRA2 and the DRA1 After the agent matches the above method, the message is routed to the correct next hop until DRA1.
步骤514、DRA1根据第二UE私网IP地址、第二IP域标识与之前保存的DRA绑定信息匹配(即将所述第二UE私网IP地址与之前保存的第一UE私网IP地址进行匹配,并将所述第二IP域标识与之前保存的第一PCEF标识进行匹配,其中,DRA1预先保存了IP域标识和PCEF标识之间的对应关系),匹配成功,确定UE之前建立的IP-CAN会话选择PCRF11。DRA1将所述业务请求消息转发给PCRF11。Step 514: The DRA matches the previously configured private network IP address and the previously saved first private network IP address according to the second UE private network IP address and the second IP domain identifier. Matching, and matching the second IP domain identifier with the previously saved first PCEF identifier, where the DRA1 pre-stores the correspondence between the IP domain identifier and the PCEF identifier), the matching is successful, and the IP established before the UE is determined. -CAN session selects PCRF11. DRA1 forwards the service request message to PCRF11.
步骤515、PCRF11根据第二UE私网IP地址、第二IP域标识进行会话绑定(即将所述第二UE私网IP地址与之前保存的第一UE私网IP地址进行匹配,并将所述第二IP域标识与之前保存的第一PCEF标识进行匹配),匹配成功进行会话绑定,保存所述业务信息。 Step 515: The PCRF11 performs session binding according to the second UE private network IP address and the second IP domain identifier (that is, the second UE private network IP address is matched with the previously saved first UE private network IP address, and the The second IP domain identifier is matched with the previously saved first PCEF identifier, and the matching is successfully performed for session binding, and the service information is saved.
步骤516、PCRF11发送确认消息给DRA1。In step 516, the PCRF 11 sends an acknowledgement message to the DRA1.
步骤517、DRA1将所述确认消息转发给DRA2。Step 517: The DRA1 forwards the acknowledgement message to the DRA2.
步骤518、DRA2将所述确认消息转发给AF2/AAC2。Step 518: The DRA2 forwards the confirmation message to the AF2/AAC2.
为了实现在管理域2中DRA2能够路由到正确的PCRF11,以及PCRF11能够执行正确的会话绑定,相关技术要求管理域2中的DRA(即DRA2)、DRA2和DRA1之间的Diameter Agent、管理域1中的DRA(即DRA1)和PCRF11都需要保存管理域2中的PCEF标识和IP域标识的对应关系,这样会导致网络配置的复杂性。而且,为了确保DRA2发送的Diameter消息能够正确路由DRA1,DRA2和DRA1之间的Diameter Agent都需要能够在IP-CAN建立过程中保存UE私网IP地址和PCEF标识等信息,才能进行正确路由,从而,增加了对Diameter Agent的能力要求。In order to realize that DRA2 can be routed to the correct PCRF11 in the management domain 2, and the PCRF11 can perform correct session binding, the related art requires the DRA (ie DRA2) in the management domain 2, the Diameter Agent between the DRA2 and the DRA1, and the management domain. Both the DRA (ie, DRA1) and the PCRF11 in 1 need to store the correspondence between the PCEF identifier and the IP domain identifier in the management domain 2, which may result in network configuration complexity. Moreover, in order to ensure that the Diameter message sent by the DRA2 can correctly route the DRA1, the Diameter Agent between the DRA2 and the DRA1 needs to be able to save the information such as the private network IP address and the PCEF identifier of the UE during the IP-CAN establishment process, so that the correct route can be performed. , increased the ability requirements for the Diameter Agent.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种Diameter消息路由方法和路由代理节点,能够简化网络参数配置。The embodiment of the invention provides a Diameter message routing method and a routing proxy node, which can simplify network parameter configuration.
本发明实施例提供一种Diameter消息路由方法,所述Diameter消息路由方法包括:An embodiment of the present invention provides a method for routing a Diameter message, where the Diameter message routing method includes:
接收到Rx会话建立请求消息,所述Rx会话建立请求消息中携带第二UE私网IP地址和第二IP域标识;Receiving an Rx session establishment request message, where the Rx session establishment request message carries a second UE private network IP address and a second IP domain identifier;
当所述第二UE私网IP地址与路由代理节点DRA绑定信息中的第一UE私网IP地址匹配成功,且所述第二IP域标识与所述DRA绑定信息中的第一策略和计费执行功能PCEF标识匹配成功时,将所述Rx会话建立请求消息的目的主机域Destination-Host AVP设置为所述DRA绑定信息中的第一策略和计费规则功能PCRF标识的取值,并将所述第二IP域标识的取值替换为所述DRA绑定信息中的第一PCEF标识的取值。When the second UE private network IP address matches the first UE private network IP address in the routing agent node DRA binding information, and the second IP domain identifier and the first policy in the DRA binding information And setting the destination host domain Destination-Host AVP of the Rx session establishment request message to the value of the first policy and the charging rule function PCRF identifier in the DRA binding information. And replacing the value of the second IP domain identifier with the value of the first PCEF identifier in the DRA binding information.
可选地,所述DRA绑定信息为IP连接接入网络IP-CAN会话建立时保 存,所述DRA绑定信息包括第一UE私网IP地址、所述第一PCEF标识和所述第一PCRF标识,其中,所述第一PCRF标识从所述IP-CAN会话建立确认消息中提取获得。Optionally, the DRA binding information is established when the IP connection access network IP-CAN session is established. The DRA binding information includes a first UE private network IP address, the first PCEF identifier, and the first PCRF identifier, where the first PCRF identifier is from the IP-CAN session establishment confirmation message. Extracted.
可选地,所述第一PCEF标识从所述IP-CAN会话的建立指示消息中提取获得。Optionally, the first PCEF identifier is extracted and obtained from the establishment indication message of the IP-CAN session.
可选地,所述Diameter消息路由方法还包括:Optionally, the Diameter message routing method further includes:
接收到所述IP-CAN会话建立指示消息,所述建立IP-CAN会话指示消息携带第一用户标识;Receiving the IP-CAN session establishment indication message, where the establishing an IP-CAN session indication message carries a first user identifier;
根据所述第一用户标识确定用户为第一管理域的签约用户,将所述IP-CAN会话建立指示消息发送给所述第一管理域的DRA。And determining, by the first user identifier, that the user is a subscription user of the first management domain, and sending the IP-CAN session establishment indication message to the DRA of the first management domain.
可选地,所述Diameter消息路由方法还包括:Optionally, the Diameter message routing method further includes:
接收到所述IP-CAN会话建立指示消息,所述建立IP-CAN会话指示消息携带第一用户标识;Receiving the IP-CAN session establishment indication message, where the establishing an IP-CAN session indication message carries a first user identifier;
根据所述第一用户标识确定用户的归属省,将所述IP-CAN会话建立指示消息发送给所述归属省的DRA。Determining the attribution province of the user according to the first user identifier, and sending the IP-CAN session establishment indication message to the DRA of the home province.
本发明实施例还提供一种路由代理节点,所述路由代理节点包括:接收单元和处理单元;其中,The embodiment of the present invention further provides a routing proxy node, where the routing proxy node includes: a receiving unit and a processing unit;
所述接收单元,设置为:接收到Rx会话建立请求消息,所述Rx会话建立请求消息中携带第二UE私网IP地址和第二IP域标识;The receiving unit is configured to: receive an Rx session establishment request message, where the Rx session establishment request message carries a second UE private network IP address and a second IP domain identifier;
所述处理单元,设置为:当所述第二UE私网IP地址与路由代理DRA绑定信息中的第一UE私网IP地址匹配成功,且所述第二IP域标识与所述DRA绑定信息中的第一策略和计费执行功能PCEF标识匹配成功时,将所述Rx会话建立请求消息的目的主机域Destination-Host AVP设置为所述DRA绑定信息中的第一策略和计费规则功能PCRF标识的取值,并将所述第二IP域标识的取值替换为所述DRA绑定信息中的第一PCEF标识的取值。The processing unit is configured to: when the second UE private network IP address and the routing agent DRA binding information match the first UE private network IP address, and the second IP domain identifier is tied to the DRA The destination host domain Destination-Host AVP of the Rx session establishment request message is set as the first policy and the accounting in the DRA binding information, when the first policy and the accounting execution function PCEF identifier are successfully matched. The value of the rule is determined by the value of the PCRF, and the value of the second IP domain identifier is replaced by the value of the first PCEF identifier in the DRA binding information.
可选地,所述DRA绑定信息为IP连接接入网络IP-CAN会话建立时保存,所述DRA绑定信息包括第一UE私网IP地址、所述第一PCEF标识和所述第一PCRF标识,其中,所述第一PCRF标识从所述IP-CAN会话建立确认 消息中提取获得。Optionally, the DRA binding information is saved when the IP connection access network IP-CAN session is established, where the DRA binding information includes a first UE private network IP address, the first PCEF identifier, and the first a PCRF identifier, wherein the first PCRF identifier establishes an acknowledgement from the IP-CAN session The message is extracted and obtained.
可选地,所述第一PCEF标识从所述IP-CAN会话的建立指示消息中提取获得。Optionally, the first PCEF identifier is extracted and obtained from the establishment indication message of the IP-CAN session.
可选地,所述路由代理节点还包括:确定单元和发送单元,Optionally, the routing proxy node further includes: a determining unit and a sending unit,
所述接收单元,还设置为:接收到所述IP-CAN会话建立指示消息,所述建立IP-CAN会话指示消息携带第一用户标识;The receiving unit is further configured to: receive the IP-CAN session establishment indication message, where the establishing an IP-CAN session indication message carries a first user identifier;
所述确定单元,设置为:根据所述第一用户标识确定用户为第一管理域的签约用户;The determining unit is configured to: determine, according to the first user identifier, that the user is a subscription user of the first administrative domain;
所述发送单元,设置为:将所述IP-CAN会话建立指示消息发送给所述第一管理域的DRA。The sending unit is configured to: send the IP-CAN session establishment indication message to the DRA of the first management domain.
可选地,所述路由代理节点还包括:确定单元和发送单元,Optionally, the routing proxy node further includes: a determining unit and a sending unit,
所述接收单元,还设置为:接收到所述IP-CAN会话建立指示消息,所述建立IP-CAN会话指示消息携带第一用户标识;The receiving unit is further configured to: receive the IP-CAN session establishment indication message, where the establishing an IP-CAN session indication message carries a first user identifier;
所述确定单元,设置为:根据所述第一用户标识确定用户的归属省;The determining unit is configured to: determine, according to the first user identifier, a attribution province of the user;
所述发送单元,设置为:将所述IP-CAN会话建立指示消息发送给所述归属省的DRA。The sending unit is configured to: send the IP-CAN session establishment indication message to the DRA of the home province.
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。The embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
本发明实施例提供了一种Diameter消息路由方法和路由代理节点,接收到Rx会话建立请求消息,所述Rx会话建立请求消息中携带第二UE私网IP地址和第二IP域标识;当所述第二UE私网IP地址与路由代理DRA绑定信息中的第一UE私网IP地址匹配成功,且所述第二IP域标识与所述DRA绑定信息中的第一PCEF标识匹配成功时,将所述Rx会话建立请求消息的目的主机域Destination-Host AVP设置为所述DRA绑定信息中的第一策略和计费规则功能PCRF标识的取值,并将所述第二IP域标识的取值替换为所述DRA绑定信息中的第一策略和计费执行功能PCEF标识的取值。本发明实施例提供的Diameter消息路由方法和路由代理节点,当拜访管理域或拜访省的路由 代理节点DRA接收到AF/AAC发送的业务请求消息(即Rx会话建立请求消息)后,将业务请求消息发送给归属管理域或归属省的DRA,通过拜访管理域DRA在转发业务请求消息中的目的主机域设置为在IP-CAN会话建立过程中保存的PCRF标识,IP域标识设置为在IP-CAN会话建立过程中保存的PCEF标识,从而,能够简化归属的管理域DRA和PCRF网络参数配置。The embodiment of the present invention provides a Diameter message routing method and a routing proxy node, and receives an Rx session establishment request message, where the Rx session establishment request message carries a second UE private network IP address and a second IP domain identifier; The second UE private network IP address is successfully matched with the first UE private network IP address in the routing agent DRA binding information, and the second IP domain identifier is successfully matched with the first PCEF identifier in the DRA binding information. Setting the destination host domain Destination-Host AVP of the Rx session establishment request message to the value of the first policy and the charging rule function PCRF identifier in the DRA binding information, and the second IP domain The value of the identifier is replaced by the value of the first policy and the charging execution function PCEF identifier in the DRA binding information. The Diameter message routing method and the routing proxy node provided by the embodiment of the present invention, when visiting the administrative domain or visiting the provincial route After receiving the service request message (ie, the Rx session establishment request message) sent by the AF/AAC, the proxy node DRA sends the service request message to the DRA of the home management domain or the home province, and forwards the service request message by visiting the management domain DRA. The destination host domain is set to the PCRF identifier saved during the IP-CAN session establishment process, and the IP domain identifier is set to the PCEF identifier saved during the IP-CAN session establishment process, thereby simplifying the configuration of the home management domain DRA and PCRF network parameters. .
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为PCC架构示意图;Figure 1 is a schematic diagram of a PCC architecture;
图2为AAC的PCC架构示意图;2 is a schematic diagram of a PCC architecture of an AAC;
图3为多个管理域之间互通的架构示意图;FIG. 3 is a schematic structural diagram of interworking between multiple management domains;
图4为NAT的PCC架构示意图;4 is a schematic diagram of a PCC architecture of NAT;
图5为相关技术中IP-CAN会话以及业务请求的流程示意图;5 is a schematic flowchart of an IP-CAN session and a service request in the related art;
图6为本发明实施例提供的Diameter消息路由方法流程示意图一;FIG. 6 is a schematic flowchart 1 of a method for routing a Diameter message according to an embodiment of the present invention;
图7为本发明实施例提供的Diameter消息路由方法流程示意图二;FIG. 7 is a schematic flowchart 2 of a method for routing a Diameter message according to an embodiment of the present invention;
图8为本发明实施例提供的Diameter消息路由方法流程示意图三;FIG. 8 is a schematic flowchart 3 of a method for routing a Diameter message according to an embodiment of the present disclosure;
图9为本发明实施例提供的路由代理节点结构示意图一;FIG. 9 is a schematic structural diagram 1 of a routing proxy node according to an embodiment of the present invention;
图10为本发明实施例提供的路由代理节点结构示意图二。FIG. 10 is a schematic structural diagram 2 of a routing proxy node according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings.
需要说明的是,本发明实施例中的术语“第一、第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms “first, second” and the like in the embodiments of the present invention are used to distinguish similar objects, and are not necessarily used to describe a specific order or order.
实施例一Embodiment 1
本发明实施例提供一种Diameter消息路由方法,如图6所示,所述Diameter消息路由方法可以包括: The embodiment of the present invention provides a method for routing a Diameter message. As shown in FIG. 6, the method for routing a Diameter message may include:
步骤101、接收到Rx会话建立请求消息,所述Rx会话建立请求消息中携带第二UE私网IP地址和第二IP域标识。Step 101: Receive an Rx session establishment request message, where the Rx session establishment request message carries a second UE private network IP address and a second IP domain identifier.
本发明实施例提供的Diameter消息路由方法的执行主体为拜访管理域或拜访省的路由代理节点(DRA,Diameter Routing Agent),即DRA2。The execution subject of the Diameter message routing method provided by the embodiment of the present invention is a visited management domain or a DIA (Diameter Routing Agent), that is, DRA2.
DRA2接收Rx会话建立请求消息,所述Rx会话建立请求消息至少携带第二UE私网IP地址、第二IP域标识和业务信息。所述Rx会话建立请求消息可以为授权认证请求AAR消息。The DRA2 receives the Rx session establishment request message, where the Rx session establishment request message carries at least the second UE private network IP address, the second IP domain identifier, and the service information. The Rx session establishment request message may be an authorization authentication request AAR message.
步骤102、当所述第二UE私网IP地址与DRA绑定信息中的第一UE私网IP地址匹配成功,且第二IP域标识IP Domain id与DRA绑定信息中的第一策略和计费执行功能PCEF标识匹配成功时,将所述Rx会话建立请求消息的目的主机域Destination-Host AVP设置为所述DRA绑定信息中的第一策略和计费规则功能PCRF标识的取值,并将所述第二IP域标识的取值替换为所述第一PCEF标识的取值。Step 102: The first UE private network IP address and the first UE private network IP address in the DRA binding information are successfully matched, and the second IP domain identifier IP Domain id and the first policy in the DRA binding information are The destination host domain Destination-Host AVP of the Rx session establishment request message is set to the value of the first policy and the charging rule function PCRF identifier in the DRA binding information. And replacing the value of the second IP domain identifier with the value of the first PCEF identifier.
其中,IP域标识与PCEF标识之间的对应关系为预配置的。The correspondence between the IP domain identifier and the PCEF identifier is pre-configured.
DRA2接收DRA1发送的所述IP-CAN会话建立确认消息,从所述IP-CAN会话建立确认消息的Origin-Host AVP中提取出第一PCRF标识,即PCRF11标识,并进行保存为(第一用户标识、第一UE私网IP地址、第一PCEF标识、第一PDN标识和所述第一PCRF标识)的对应关系,也称为DRA绑定信息,即所述DRA绑定信息为IP连接接入网络IP-CAN会话建立时保存,所述DRA绑定信息至少包括第一UE私网IP地址、所述第一PCEF标识和所述第一PCRF标识,其中,所述第一PCRF标识从所述IP-CAN会话建立确认消息中提取获得。The DRA2 receives the IP-CAN session establishment confirmation message sent by the DRA1, and extracts the first PCRF identifier, that is, the PCRF11 identifier from the Origin-Host AVP of the IP-CAN session establishment confirmation message, and saves it as (the first user) Corresponding relationship between the identifier, the first UE private network IP address, the first PCEF identifier, the first PDN identifier, and the first PCRF identifier, which is also referred to as DRA binding information, that is, the DRA binding information is an IP connection. When the network IP-CAN session is established, the DRA binding information includes at least a first UE private network IP address, the first PCEF identifier, and the first PCRF identifier, where the first PCRF identifier is Extracted from the IP-CAN session establishment confirmation message.
DRA2将所述第二UE私网IP地址与第一UE私网IP地址进行匹配,并将所述第二IP域标识与第一PCEF标识进行匹配。其中,DRA2预先保存了IP域标识和PCEF标识之间的对应关系。The DRA2 matches the second UE private network IP address with the first UE private network IP address, and matches the second IP domain identifier with the first PCEF identifier. The DRA2 pre-stores the correspondence between the IP domain identifier and the PCEF identifier.
当第二UE私网IP地址与所述第一UE私网IP地址匹配成功,且第二IP域标识与所述第一PCEF标识匹配成功时,将Rx会话建立请求消息的目的主机域设置为所述第一PCRF标识的取值,即Destination-Host AVP设置为 PCRF11标识的取值,并将所述第二IP域标识的取值替换为所述第一PCEF标识的取值,即IP-Domain-Id AVP设置为PCEF2标识的取值。When the second UE private network IP address matches the first UE private network IP address, and the second IP domain identifier matches the first PCEF identifier, the destination host domain of the Rx session establishment request message is set to The value of the first PCRF identifier, that is, the Destination-Host AVP is set to The value of the identifier of the PCRF11 is changed, and the value of the second IP domain identifier is replaced by the value of the first PCEF identifier, that is, the IP-Domain-Id AVP is set to the value of the PCEF2 identifier.
本发明实施例提供的Diameter消息路由方法,当拜访管理域或拜访省的路由代理节点DRA接收到AF/AAC发送的业务请求消息(即Rx会话建立请求消息)后,将业务请求消息发送给归属管理域或归属省的DRA,通过拜访管理域DRA在转发业务请求消息中的目的主机域设置为在IP-CAN会话建立过程中保存的PCRF标识,IP域标识设置为在IP-CAN会话建立过程中保存的PCEF标识,从而,能够简化归属的管理域或归属省DRA和PCRF网络参数配置。The method of routing the Diameter message provided by the embodiment of the present invention sends a service request message to the home after receiving the service request message (ie, the Rx session establishment request message) sent by the AF/AAC after receiving the service request message (ie, the Rx session establishment request message) sent by the AF/AAC. The DRA of the management domain or the affiliation province is set to the PCRF identifier saved in the IP-CAN session establishment process by calling the management domain DRA in the forwarding service request message, and the IP domain identifier is set to be in the IP-CAN session establishment process. The saved PCEF identifier, thereby simplifying the configuration of the home management domain or the home province DRA and PCRF network parameters.
实施例二Embodiment 2
本发明实施例提供的Diameter消息路由方法的场景为:UE通过管理域2所在的网路的P-GW(PCEF2位于该网关中)接入并建立IP-CAN会话,UE发起业务请求的AF/AAC也在管理域2中或与管理域2有签约关系。The scenario of the Diameter message routing method provided by the embodiment of the present invention is: the UE accesses and establishes an IP-CAN session through the P-GW of the network where the management domain 2 is located (the PCEF2 is located in the gateway), and the UE initiates the service request AF/ AAC is also in management domain 2 or has a contractual relationship with administrative domain 2.
本发明实施例提供一种Diameter消息路由方法,如图7所示,所述Diameter消息路由方法可以包括:An embodiment of the present invention provides a method for routing a Diameter message. As shown in FIG. 7, the method for routing a Diameter message may include:
步骤201、PCEF2接收请求建立IP-CAN会话消息,所述请求建立IP-CAN会话消息至少携带第一用户标识,第一UE私网IP地址和第一PDN标识。Step 201: The PCEF2 receives a request to establish an IP-CAN session message, where the request to establish an IP-CAN session message carries at least a first user identifier, a first UE private network IP address, and a first PDN identifier.
步骤202、PCEF2发送IP-CAN会话建立指示消息至DRA2,所述IP-CAN会话建立指示消息至少携带所述第一用户标识、所述第一UE私网IP地址和所述第一PDN标识。Step 202: The PCEF2 sends an IP-CAN session establishment indication message to the DRA2, where the IP-CAN session establishment indication message carries at least the first user identifier, the first UE private network IP address, and the first PDN identifier.
其中,本实施例中,所述IP-CAN会话建立指示消息为Diameter信用控制请求(CCR,Credit Control Request)消息。In this embodiment, the IP-CAN session establishment indication message is a Diameter Credit Control Request (CCR) message.
步骤203、DRA2接收IP-CAN会话建立指示消息,即CCR消息,所述IP-CAN会话建立指示消息携带所述第一用户标识、所述第一UE私网IP地址和所述第一PDN标识;根据所述第一用户标识确定用户为第一管理域的签约用户,并根据所述IP-CAN会话建立指示消息确定第一PCEF标识,保存所述第一用户标识、所述第一UE私网IP地址、所述第一PCEF标识和所述 第一PDN标识。Step 203: The DRA2 receives an IP-CAN session establishment indication message, that is, a CCR message, where the IP-CAN session establishment indication message carries the first user identifier, the first UE private network IP address, and the first PDN identifier. Determining, according to the first user identifier, that the user is a subscription user of the first management domain, and determining, according to the IP-CAN session establishment indication message, the first PCEF identifier, and saving the first user identifier, the first UE private a network IP address, the first PCEF identifier, and the The first PDN identifier.
其中,DRA2接收所述IP-CAN会话建立指示消息,根据所述第一用户标识确定用户为第一管理域,即管理域1的签约用户。所述DRA2从所述IP-CAN会话建立指示消息的Origin-Host AVP中提取出第一PCEF标识,并保存所述第一用户标识、所述第一UE私网IP地址、所述第一PCEF标识、所述第一PDN标识。The DRA2 receives the IP-CAN session establishment indication message, and determines that the user is the first management domain, that is, the subscription user of the management domain 1, according to the first user identifier. The DRA2 extracts the first PCEF identifier from the Origin-Host AVP of the IP-CAN session establishment indication message, and saves the first user identifier, the first UE private network IP address, and the first PCEF. Identification, the first PDN identifier.
步骤204、DRA2将所述IP-CAN会话建立指示消息发送给DRA1。Step 204: The DRA2 sends the IP-CAN session establishment indication message to the DRA1.
其中,若DRA2和DRA1之间存在其他Diameter Agent,则Diameter Agent将消息依次转发至下一跳的Diameter Agent,直至DRA1。If there is another Diameter Agent between DRA2 and DRA1, the Diameter Agent forwards the message to the Diameter Agent of the next hop in turn until DRA1.
步骤205、DRA1判断还没有为所述UE或所述IP-CAN会话选择PCRF,所述DRA1为所述UE或所述IP-CAN会话选择第一PCRF为PCRF11。Step 205: The DRA1 determines that the PCRF has not been selected for the UE or the IP-CAN session, and the DRA1 selects the first PCRF as the PCRF11 for the UE or the IP-CAN session.
其中,DRA1保存所述第一用户标识、所述第一PDN标识、所述第一UE私网IP地址、所述第一PCEF标识、所述PCRF11的对应关系,即DRA绑定信息。The DRA1 stores the first user identifier, the first PDN identifier, the first UE private network IP address, the first PCEF identifier, and the PCRF11 correspondence, that is, DRA binding information.
步骤206、DRA1将所述IP-CAN会话建立指示消息发送给所述PCRF11。Step 206: The DRA1 sends the IP-CAN session establishment indication message to the PCRF11.
步骤207、PCRF11接收所述IP-CAN会话建立指示消息,保存所述IP-CAN会话的相关信息,并进行PCC决策。Step 207: The PCRF11 receives the IP-CAN session establishment indication message, saves related information of the IP-CAN session, and performs PCC decision.
其中,所述PCRF11在进行PCC决策时,可能需要与SPR交互,获得所述用户的签约信息。The PCRF 11 may need to interact with the SPR to obtain the subscription information of the user when performing the PCC decision.
步骤208、PCRF11将IP-CAN会话建立确认消息发送给DRA1,所述IP-CAN会话建立确认消息携带所述PCC决策信息。Step 208: The PCRF11 sends an IP-CAN session establishment confirmation message to the DRA1, where the IP-CAN session establishment confirmation message carries the PCC decision information.
步骤209、DRA2接收DRA1发送所述IP-CAN会话建立确认消息。Step 209: The DRA2 receives the DRA1 to send the IP-CAN session establishment confirmation message.
其中,DRA1发送所述IP-CAN会话建立确认消息至DRA2,DRA2接收所述IP-CAN会话建立确认消息,所述IP-CAN会话建立确认消息携带所述PCC决策信息。The DRA1 sends the IP-CAN session establishment confirmation message to the DRA2, and the DRA2 receives the IP-CAN session establishment confirmation message, where the IP-CAN session establishment confirmation message carries the PCC decision information.
步骤210、DRA2根据IP-CAN会话建立确认消息确定第一PCRF标识,并保存所述第一用户标识、所述第一UE私网IP地址、所述第一PCEF标 识、所述第一PDN标识和所述第一PCRF标识的对应关系,即DRA绑定信息。Step 210: The DRA2 determines the first PCRF identifier according to the IP-CAN session establishment confirmation message, and saves the first user identifier, the first UE private network IP address, and the first PCEF label. And a corresponding relationship between the first PDN identifier and the first PCRF identifier, that is, DRA binding information.
其中,DRA2接收DRA1发送所述IP-CAN会话建立确认消息,即CCA消息,从所述IP-CAN会话建立确认消息的Origin-Host中提出第一PCRF标识,即PCRF11标识,并进行保存为第一用户标识、第一UE私网IP地址、第一PCEF标识、第一PDN标识和所述PCRF11标识的对应关系,即DRA绑定信息。The DRA2 receives the IP-CAN session establishment confirmation message, that is, the CCA message, and the first PCRF identifier, that is, the PCRF11 identifier, is sent from the Origin-Host of the IP-CAN session establishment confirmation message, and is saved as the first The correspondence between the user identifier, the first UE private network IP address, the first PCEF identifier, the first PDN identifier, and the PCRF11 identifier, that is, the DRA binding information.
步骤211、DRA2发送所述IP-CAN会话建立确认消息至第一PCEF。Step 211: The DRA2 sends the IP-CAN session establishment confirmation message to the first PCEF.
其中,所述第一PCEF为PCEF2。The first PCEF is PCEF2.
步骤212、PCEF2所在网关向所述UE发送请求建立IP-CAN会话应答消息。Step 212: The gateway where the PCEF2 is located sends a request to the UE to establish an IP-CAN session response message.
步骤213、当所述UE访问了管理域2所在网络的业务,或者所述UE访问了与所述管理域2所在网络有签约关系的应用,AF2/AAC2发送业务请求消息至DRA2。Step 213: When the UE accesses the service of the network where the management domain 2 is located, or the UE accesses an application that has a contract relationship with the network where the management domain 2 is located, the AF2/AAC2 sends a service request message to the DRA2.
其中,AF2/AAC2发起业务请求消息,所述业务请求为AAR消息,即Rx会话建立请求消息,所述业务请求消息至少携带第二UE私网IP地址、第二IP域标识和业务信息,所述业务请求消息将被路由到DRA2。其中,所述第二UE私网IP地址用Framed-IPv4-Address AVP携带,所述第二IP域标识用IP-Domain-Id AVP携带,所述第二IP域标识通常为UE的公网IP地址。The AF2/AAC2 initiates a service request message, where the service request is an AAR message, that is, an Rx session establishment request message, where the service request message carries at least a second UE private network IP address, a second IP domain identifier, and service information. The service request message will be routed to DRA2. The second UE domain IP address is carried by the Framed-IPv4-Address AVP, the second IP domain identifier is carried by the IP-Domain-Id AVP, and the second IP domain identifier is usually the public IP address of the UE. address.
步骤214、DRA2根据第二UE私网IP地址和第二IP域标识和DRA绑定信息匹配,由于第二UE私网IP地址与所述第一UE私网IP地址匹配成功,且第二IP域标识与所述第一PCEF标识匹配成功,所以DRA2判断该请求消息存在激活的DRA绑定信息,DRA2将业务请求消息(即AAR消息)的目的主机域Destination-Host VAP设置为所述第一PCRF标识的取值,即匹配的绑定信息中的PCRF标识,并将所述第二IP域标识的取值替换为所述第一PCEF标识的取值,即匹配的绑定信息中的PCEF标识,其中,IP域标识与PCEF标识之间的对应关系为预配置的。Step 214: The DRA matches the second UE private network IP address and the second IP domain identifier and the DRA binding information, because the second UE private network IP address matches the first UE private network IP address successfully, and the second IP address is obtained. The domain identifier is successfully matched with the first PCEF identifier, so the DRA2 determines that the request message has activated DRA binding information, and the DRA2 sets the destination host domain Destination-Host VAP of the service request message (that is, the AAR message) to the first The value of the PCRF identifier, that is, the PCRF identifier in the matched binding information, and replaces the value of the second IP domain identifier with the value of the first PCEF identifier, that is, the PCEF in the matched binding information. The identifier, where the correspondence between the IP domain identifier and the PCEF identifier is pre-configured.
其中,DRA2接收所述业务请求消息,所述业务请求消息至少携带第二 UE私网IP地址、第二IP域标识和业务信息。DRA2将所述第二UE私网IP地址与之前保存的第一UE私网IP地址进行匹配,并将所述第二IP域标识与之前保存的第一PCEF标识进行匹配。其中,DRA2预先保存了IP域标识和PCEF标识之间的对应关系。The DRA2 receives the service request message, where the service request message carries at least a second The private network IP address, the second IP domain identifier, and service information of the UE. The DRA2 matches the second UE private network IP address with the previously saved first UE private network IP address, and matches the second IP domain identifier with the previously saved first PCEF identifier. The DRA2 pre-stores the correspondence between the IP domain identifier and the PCEF identifier.
第二UE私网IP地址与所述第一UE私网IP地址匹配成功,且第二IP域标识与所述第一PCEF标识匹配成功时,将业务请求消息的目的主机域设置为所述第一PCRF标识的取值,即Destination-Host AVP设置为PCRF11标识的取值,并将所述第二IP域标识的取值替换为所述第一PCEF标识的取值,即IP-Domain-Id AVP设置为PCEF2标识的取值。If the second UE private network IP address is successfully matched with the first UE private network IP address, and the second IP domain identifier matches the first PCEF identifier, the destination host domain of the service request message is set to the first The value of the PCRF identifier, that is, the Destination-Host AVP is set to the value of the PCRF11 identifier, and the value of the second IP domain identifier is replaced by the value of the first PCEF identifier, that is, the IP-Domain-Id. The AVP is set to the value of the PCEF2 identifier.
步骤215、DRA2将处理后的所述业务请求消息发送给DRA1。Step 215: The DRA2 sends the processed service request message to the DRA1.
其中,若DRA2和DRA1之间存在其他Diameter Agent,则Diameter Agent将消息依次转发至下一跳的Diameter Agent,直至DRA1。即,DRA2和DRA1之间的Diameter Agent根据所述业务请求消息目的主机域Destination-Host AVP取值将消息路由到下一跳,直至路由到DRA1,其中,Destination-Host AVP取值为所述第一PCRF标识的取值。If there is another Diameter Agent between DRA2 and DRA1, the Diameter Agent forwards the message to the Diameter Agent of the next hop in turn until DRA1. That is, the Diameter Agent between the DRA2 and the DRA1 routes the message to the next hop according to the destination host domain Destination-Host AVP value of the service request message, until the route is to the DRA1, where the Destination-Host AVP takes the value The value of a PCRF identifier.
步骤216、DRA1根据目的主机域Destination-Host AVP将所述业务请求消息发送至PCRF11。Step 216: The DRA1 sends the service request message to the PCRF 11 according to the destination host domain Destination-Host AVP.
步骤217、PCRF11根据第二UE私网IP地址、第二IP域标识进行会话绑定。Step 217: The PCRF11 performs session binding according to the second UE private network IP address and the second IP domain identifier.
PCRF11将业务请求消息中的所述第二UE私网IP地址与之前保存的第一UE私网IP地址进行匹配,并将所述第二IP域标识与之前保存的第一PCEF标识进行匹配,由于匹配成功,PCRF11判断该请求消息存在对应的IP-CAN会话,执行会话绑定,保存所述业务信息。The PCRF 11 matches the second UE private network IP address in the service request message with the previously saved first UE private network IP address, and matches the second IP domain identifier with the previously saved first PCEF identifier. Because the matching is successful, the PCRF 11 determines that the request message has a corresponding IP-CAN session, performs session binding, and saves the service information.
其中,处理后的业务请求消息中,Destination-Host AVP设置为PCRF11标识的取值,IP-Domain-Id AVP设置为PCEF2标识的取值。由于IP域标识的取值跟之前保存的PCEF标识,即PCEF2的取值是一样的,因此PCRF11根据相同的取值就能匹配。The destination-host AVP is set to the value identified by the PCRF11, and the IP-Domain-Id AVP is set to the value of the PCEF2 identifier. Since the value of the IP domain identifier is the same as the previously saved PCEF identifier, that is, the value of PCEF2, the PCRF11 can match according to the same value.
步骤218、PCRF11发送确认消息给DRA1。 Step 218: The PCRF11 sends an acknowledgement message to the DRA1.
步骤219、DRA1将所述确认消息转发给DRA2。Step 219: The DRA1 forwards the acknowledgement message to the DRA2.
步骤220、DRA2将所述确认消息转发给AF2/AAC2。Step 220: The DRA2 forwards the confirmation message to the AF2/AAC2.
在国内,一个管理域通常可以认为一个运营商的省公司管理的网络,对于管理域1的用户通过管理域2的P-GW接入网络的场景,可以理解为一种跨省漫游的场景。图7实施例二描述的流程可以理解为UE通过拜访省的P-GW接入网络,并访问拜访省的业务或与拜访省有签约关系的业务。通过拜访省的DRA在业务请求消息中Destination-Host AVP中设置为在IP-CAN会话建立过程中保存的PCRF标识,IP-Domain-Id AVP中设置为在IP-CAN会话建立过程中保存的PCEF标识的方法,简化了归属省DRA和PCRF网络参数配置。In the domestic, an administrative domain can be regarded as a network managed by a provincial company of an operator. A scenario in which a user of the management domain 1 accesses the network through the P-GW of the management domain 2 can be understood as a scenario of inter-provincial roaming. The process described in the second embodiment of FIG. 7 can be understood as that the UE accesses the network by visiting the provincial P-GW, and accesses the service of the visited province or the service with the contracted relationship with the visited province. Set the PCRF identifier saved in the IP-CAN session establishment process in the Destination-Host AVP in the service request message by visiting the DRA of the province. The IP-Domain-Id AVP is set to the PCEF saved during the IP-CAN session establishment process. The method of identification simplifies the configuration of network parameters of the home province DRA and PCRF.
本发明实施例提供的Diameter消息路由方法,当拜访管理域或拜访省的路由代理节点DRA接收到AF/AAC发送的业务请求消息(即Rx会话建立请求消息)后,需要将业务请求消息发送给归属管理域或归属省的DRA,通过拜访管理域DRA在转发业务请求消息中的目的主机域设置为在IP-CAN会话建立过程中保存的PCRF标识,IP域标识设置为在IP-CAN会话建立过程中保存的PCEF标识,从而,能够简化归属的管理域或归属省DRA和PCRF网络参数配置。The method of routing the Diameter message provided by the embodiment of the present invention, after receiving the service request message (ie, the Rx session establishment request message) sent by the AF/AAC, the route requesting node DRA of the visited management domain or the visiting province needs to send the service request message to The DRA of the home management domain or the home province is set to the PCRF identifier saved in the IP-CAN session establishment process by calling the management domain DRA in the forwarding service request message, and the IP domain identifier is set to be established in the IP-CAN session. The PCEF identifier saved in the process, thereby simplifying the configuration of the home management domain or the home province DRA and PCRF network parameters.
实施例三Embodiment 3
本发明实施例提供的Diameter消息路由方法的场景为:UE通过管理域2所在的网路接入并建立IP-CAN会话,UE发起业务请求的AF/AAC在第三个管理域中或与第三个管理域有签约关系,第三个管理域可以为管理域3。The scenario of the Diameter message routing method provided by the embodiment of the present invention is: the UE accesses and establishes an IP-CAN session through the network where the management domain 2 is located, and the AF/AAC that the UE initiates the service request is in the third management domain or The three administrative domains have contracted relationships, and the third administrative domain can be administrative domain 3.
本发明实施例提供一种Diameter消息路由方法,如图8所示,所述Diameter消息路由方法可以包括:An embodiment of the present invention provides a method for routing a Diameter message. As shown in FIG. 8, the method for routing a Diameter message may include:
步骤301、PCEF2接收请求建立IP-CAN会话消息,所述请求建立IP-CAN会话消息至少携带第一用户标识、第一UE私网IP地址和第一PDN标识。Step 301: The PCEF2 receives a request to establish an IP-CAN session message, where the request to establish an IP-CAN session message carries at least a first user identifier, a first UE private network IP address, and a first PDN identifier.
步骤302、PCEF2发送IP-CAN会话建立指示消息(即CCR消息)至DRA2,所述IP-CAN会话建立指示消息至少携带所述第一用户标识、所述第 一UE私网IP地址和所述第一PDN标识。Step 302: The PCEF2 sends an IP-CAN session establishment indication message (ie, a CCR message) to the DRA2, where the IP-CAN session establishment indication message carries at least the first user identifier, the first a UE private network IP address and the first PDN identifier.
步骤303、DRA2接收IP-CAN会话建立指示消息,所述IP-CAN会话建立指示消息携带所述第一用户标识、所述第一UE私网IP地址和所述第一PDN标识;根据所述第一用户标识确定用户为第一管理域的签约用户,并根据所述IP-CAN会话建立指示消息确定第一PCEF标识,保存所述第一用户标识、所述第一UE私网IP地址、所述第一PCEF标识和所述第一PDN标识。Step 303: The DRA2 receives an IP-CAN session establishment indication message, where the IP-CAN session establishment indication message carries the first user identifier, the first UE private network IP address, and the first PDN identifier. The first user identifier determines that the user is the subscription user of the first management domain, and determines the first PCEF identifier according to the IP-CAN session establishment indication message, and saves the first user identifier, the first UE private network IP address, The first PCEF identifier and the first PDN identifier.
其中,DRA2接收所述IP-CAN会话建立指示消息,根据所述第一用户标识确定用户为第一管理域,即管理域1的签约用户。所述DRA2从所述IP-CAN会话建立指示消息的Origin-Host AVP中提取出第一PCEF标识,并保存所述第一用户标识、所述第一UE私网IP地址、所述第一PCEF标识、所述第一PDN标识。The DRA2 receives the IP-CAN session establishment indication message, and determines that the user is the first management domain, that is, the subscription user of the management domain 1, according to the first user identifier. The DRA2 extracts the first PCEF identifier from the Origin-Host AVP of the IP-CAN session establishment indication message, and saves the first user identifier, the first UE private network IP address, and the first PCEF. Identification, the first PDN identifier.
步骤304、DRA2将所述建立IP-CAN会话指示消息发送给DRA1。Step 304: The DRA2 sends the establishment IP-CAN session indication message to the DRA1.
若DRA2和DRA1之间存在其他Diameter Agent,则Diameter Agent将消息依次转发至下一跳的Diameter Agent,直至DRA1。If there are other Diameter Agents between DRA2 and DRA1, the Diameter Agent forwards the message to the Diameter Agent of the next hop in turn until DRA1.
步骤305、DRA1判断还没有为所述UE或所述P-CAN会话选择PCRF,所述DRA1为所述UE或所述IP-CAN会话选择第一PCRF为PCRF11。Step 305: The DRA1 determines that the PCRF has not been selected for the UE or the P-CAN session, and the DRA1 selects the first PCRF as the PCRF11 for the UE or the IP-CAN session.
其中,DRA1保存所述第一用户标识、所述第一PDN标识、所述第一UE私网IP地址、所述第一PCEF标识、所述PCRF11的对应关系,即DRA绑定信息。The DRA1 stores the first user identifier, the first PDN identifier, the first UE private network IP address, the first PCEF identifier, and the PCRF11 correspondence, that is, DRA binding information.
步骤306、DRA1将所述IP-CAN会话建立指示消息发送给所述PCRF11。Step 306: The DRA1 sends the IP-CAN session establishment indication message to the PCRF11.
步骤307、PCRF11接收所述IP-CAN会话建立指示消息,保存所述IP-CAN会话的相关信息,并进行PCC决策。Step 307: The PCRF11 receives the IP-CAN session establishment indication message, saves related information of the IP-CAN session, and performs PCC decision.
其中,所述PCRF11在进行PCC决策时,可能需要根据SPR交互,获得所述用户的签约信息。The PCRF11 may need to obtain the subscription information of the user according to the SPR interaction when performing the PCC decision.
步骤308、PCRF11将IP-CAN会话建立确认消息(即CCA消息)发送给DRA1,所述IP-CAN会话建立确认消息携带所述PCC决策信息。Step 308: The PCRF11 sends an IP-CAN session establishment confirmation message (ie, a CCA message) to the DRA1, where the IP-CAN session establishment confirmation message carries the PCC decision information.
步骤309、DRA2接收DRA1发送所述IP-CAN会话建立确认消息。 Step 309: The DRA2 receives the DRA1 to send the IP-CAN session establishment confirmation message.
其中,DRA1发送所述IP-CAN会话建立确认消息至DRA2,DRA2接收所述IP-CAN会话建立确认消息,所述IP-CAN会话建立确认消息携带所述PCC决策信息。The DRA1 sends the IP-CAN session establishment confirmation message to the DRA2, and the DRA2 receives the IP-CAN session establishment confirmation message, where the IP-CAN session establishment confirmation message carries the PCC decision information.
步骤310、DRA2根据IP-CAN会话建立确认消息确定第一PCRF标识,并保存所述第一用户标识、所述第一UE私网IP地址、所述第一PCEF标识、所述第一PDN标识和所述PCRF标识的对应关系,即DRA绑定信息。Step 310: The DRA2 determines the first PCRF identifier according to the IP-CAN session establishment confirmation message, and saves the first user identifier, the first UE private network IP address, the first PCEF identifier, and the first PDN identifier. Correspondence relationship with the PCRF identifier, that is, DRA binding information.
其中,DRA2接收DRA1发送所述IP-CAN会话建立确认消息,从所述IP-CAN会话建立确认消息的Origin-Host中提取出第一PCRF标识,即PCRF11标识,并进行保存为第一用户标识、第一UE私网IP地址、第一PCEF标识、第一PDN标识和所述PCRF11标识的对应关系,即DRA绑定信息。The DRA2 receives the IP-CAN session establishment confirmation message, and extracts the first PCRF identifier, that is, the PCRF11 identifier, from the Origin-Host of the IP-CAN session establishment confirmation message, and saves the identifier as the first user identifier. The correspondence between the first UE private network IP address, the first PCEF identifier, the first PDN identifier, and the PCRF11 identifier, that is, the DRA binding information.
步骤311、DRA2发送所述IP-CAN会话建立确认消息至第一PCEF。Step 311: The DRA2 sends the IP-CAN session establishment confirmation message to the first PCEF.
其中,所述第一PCEF为PCEF2。The first PCEF is PCEF2.
步骤312、PCEF2所在网关向UE发送请求建立IP-CAN会话应答消息。Step 312: The gateway where the PCEF2 is located sends a request to the UE to establish an IP-CAN session response message.
步骤313、当所述UE访问了与管理域3所在网络,或者所述UE访问了与管理域3所在网络有签约关系的应用,AF3/AAC3将发起业务请求消息。Step 313: When the UE accesses the network where the management domain 3 is located, or the UE accesses an application that has a contractual relationship with the network where the management domain 3 is located, the AF3/AAC3 will initiate a service request message.
其中,所述业务请求为AAR消息,所述业务请求消息也可以称为Rx会话建立请求消息,所述业务请求消息至少携带第二UE私网IP地址、第二IP域标识和业务信息,所述业务请求消息将被路由到DRA3。所述第二UE私网IP地址用Framed-IPv4-Address AVP携带,所述第二IP域标识用IP-Domain-Id AVP携带,所述第二IP域标识通常为UE的公网IP地址。The service request is an AAR message, and the service request message may also be referred to as an Rx session establishment request message, where the service request message carries at least a second UE private network IP address, a second IP domain identifier, and service information. The service request message will be routed to DRA3. The second UE domain IP address is carried by the Framed-IPv4-Address AVP, and the second IP domain identifier is carried by the IP-Domain-Id AVP, and the second IP domain identifier is usually the public IP address of the UE.
步骤314、DRA3根据所述第二IP域标识确定所述用户访问业务的IP地址非管理域3所在网络分配的,并根据所述第二IP域标识将所述业务请求消息路由到DRA2。Step 314: The DRA3 determines, according to the second IP domain identifier, that the IP address of the user access service is allocated by the network where the non-administrative domain 3 is located, and routes the service request message to the DRA2 according to the second IP domain identifier.
其中,DRA3和DRA2之间的Diameter Agent都根据所述第二IP域标识将所述业务请求消息路由到下一跳,直至路由到DRA2。The Diameter Agent between the DRA3 and the DRA2 routes the service request message to the next hop according to the second IP domain identifier until the route is forwarded to the DRA2.
需要说明的是,根据实际的应用场景,DRA3和DRA2之间可以包括一个或多个Diameter Agent,也可以不包括Diameter Agent。 It should be noted that, according to the actual application scenario, one or more Diameter Agents may or may not be included between the DRA3 and the DRA2.
步骤315、DRA2根据第二UE私网IP地址和第二IP域标识与保存的DRA绑定信息进行匹配;当第二UE私网IP地址与所述第一UE私网IP地址匹配成功,且第二IP域标识与所述第一PCEF标识匹配成功时,DRA2判断该请求消息存在对应的激活的DRA绑定信息,DRA2将所述业务请求消息的目的主机域设置为所述第一PCRF标识的取值,即匹配的DRA绑定信息中的PCRF标识,并将所述第二IP域标识的取值替换为所述第一PCEF标识的取值,即匹配的DRA绑定信息中的PCEF标识,其中,IP域标识与PCEF标识之间的对应关系为预存储的。Step 315: The DRA matches the saved IP address of the second UE according to the private IP address of the second UE and the second IP domain identifier. The IP address of the private network of the second UE is successfully matched with the IP address of the private network of the first UE. When the second IP domain identifier is successfully matched with the first PCEF identifier, the DRA2 determines that the request message has corresponding active DRA binding information, and the DRA2 sets the destination host domain of the service request message to the first PCRF identifier. The value of the matching, that is, the PCRF identifier in the matched DRA binding information, and the value of the second IP domain identifier is replaced by the value of the first PCEF identifier, that is, the PCEF in the matched DRA binding information. The identifier, where the correspondence between the IP domain identifier and the PCEF identifier is pre-stored.
其中,DRA2接收所述业务请求消息,所述业务请求消息至少携带第二UE私网IP地址、第二IP域标识和业务信息。DRA2将所述第二UE私网IP地址与之前保存的第一UE私网IP地址进行匹配,并将所述第二IP域标识与之前保存的第一PCEF标识进行匹配。其中,DRA2预先保存了IP域标识和PCEF标识之间的对应关系。The DRA2 receives the service request message, where the service request message carries at least a second UE private network IP address, a second IP domain identifier, and service information. The DRA2 matches the second UE private network IP address with the previously saved first UE private network IP address, and matches the second IP domain identifier with the previously saved first PCEF identifier. The DRA2 pre-stores the correspondence between the IP domain identifier and the PCEF identifier.
第二UE私网IP地址与所述第一UE私网IP地址匹配成功,且第二IP域标识与所述第一PCEF标识匹配成功时,将业务请求消息的目的主机域设置为所述第一PCRF标识的取值,即Destination-Host AVP设置为PCRF11标识的取值,并将所述第二IP域标识的取值替换为所述第一PCEF标识的取值,即IP-Domain-Id AVP设置为PCEF2标识的取值。If the second UE private network IP address is successfully matched with the first UE private network IP address, and the second IP domain identifier matches the first PCEF identifier, the destination host domain of the service request message is set to the first The value of the PCRF identifier, that is, the Destination-Host AVP is set to the value of the PCRF11 identifier, and the value of the second IP domain identifier is replaced by the value of the first PCEF identifier, that is, the IP-Domain-Id. The AVP is set to the value of the PCEF2 identifier.
步骤316、DRA2将处理后的所述业务请求消息发送给DRA1。Step 316: The DRA2 sends the processed service request message to the DRA1.
其中,DRA2和DRA1之间的Diameter Agent根据处理后的所述业务请求消息目的主机域Destination-Host AVP取值将消息路由到下一跳,直至路由到DRA1,其中,Destination-Host AVP取值为所述第一PCRF标识的取值。The Diameter Agent between the DRA2 and the DRA1 routes the message to the next hop according to the value of the destination-domain AVP of the service request message, and the route is sent to the DRA1. The value of the Destination-Host AVP is The value of the first PCRF identifier.
步骤317、DRA1根据目的主机域将处理后的所述业务请求消息发送PCRF11。Step 317: The DRA1 sends the processed service request message to the PCRF11 according to the destination host domain.
其中,处理后的所述业务请求消息目的主机域的取值为所述第一PCRF标识的取值,即PCRF11的标识的取值,因此,DRA1将处理后的业务请求消息发送至PCRF11。 The value of the destination host field of the processed service request message is the value of the first PCRF identifier, that is, the value of the identifier of the PCRF11. Therefore, the DRA1 sends the processed service request message to the PCRF11.
步骤318、PCRF11根据第二UE私网IP地址和第二IP域标识执行会话绑定。Step 318: The PCRF11 performs session binding according to the second UE private network IP address and the second IP domain identifier.
PCRF11将处理后的业务请求消息中的第二UE私网IP地址与之前保存的第一UE私网IP地址进行匹配,并将第二IP域标识和与之前保存的第一PCEF标识进行匹配。由于匹配成功,PCRF11判断该请求消息存在对应的IP-CAN会话,执行会话绑定后,保存业务信息。The PCRF 11 matches the second UE private network IP address in the processed service request message with the previously saved first UE private network IP address, and matches the second IP domain identifier with the previously saved first PCEF identifier. Because the matching is successful, the PCRF 11 determines that the request message has a corresponding IP-CAN session, and after performing session binding, saves the service information.
处理后的业务请求消息中,Destination-Host AVP设置为PCRF11标识的取值,IP-Domain-Id AVP设置为PCEF2标识的取值。由于IP域标识的取值跟之前保存的PCEF标识,即PCEF2的取值是一样的,因此PCRF11根据相同的取值就能匹配。In the processed service request message, the Destination-Host AVP is set to the value identified by the PCRF11, and the IP-Domain-Id AVP is set to the value identified by the PCEF2. Since the value of the IP domain identifier is the same as the previously saved PCEF identifier, that is, the value of PCEF2, the PCRF11 can match according to the same value.
步骤319、PCRF11发送确认消息给DRA1。In step 319, the PCRF11 sends an acknowledgement message to the DRA1.
步骤320、DRA1将所述确认消息转发给DRA2。Step 320: The DRA1 forwards the acknowledgement message to the DRA2.
步骤321、DRA2将所述确认消息转发给DRA3。Step 321: The DRA2 forwards the acknowledgement message to the DRA3.
步骤322、DRA3将确认消息转发给AF3/AAC3。Step 322: The DRA3 forwards the confirmation message to the AF3/AAC3.
在国内,一个管理域通常可以认为一个运营商的省公司管理的网络,图8的实施例三描述的流程可以理解为UE通过拜访省的P-GW接入网网络,并访问第三省或与第三省有签约关系的业务。在IP-CAN会话建立过程中,拜访省的DRA根据用户的用户标识确定UE签约的归属省,并将IP-CAN会话建立指示消息发送给归属省的DRA。当接收到Rx会话建立指示消息时,通过拜访省的DRA在业务请求消息中Destination-Host AVP中设置为在IP-CAN会话建立过程中保存的PCRF标识,IP-Domain-Id AVP中设置为在IP-CAN会话建立过程中保存的PCEF标识的方法,简化了归属省DRA和PCRF网络参数配置。In China, a management domain can be regarded as a network managed by a provincial company. The process described in the third embodiment of FIG. 8 can be understood as the UE accessing the network through the P-GW of the province and accessing the third province or A business with a contractual relationship with the third province. During the IP-CAN session establishment process, the visiting DRA determines the home province of the UE subscription according to the user identifier of the user, and sends an IP-CAN session establishment indication message to the DRA of the home province. When receiving the Rx session establishment indication message, the DFM in the service request message is set in the Destination-Host AVP in the service request message to be the PCRF identifier saved in the IP-CAN session establishment process, and the IP-Domain-Id AVP is set to be in the IP-Domain-Id AVP. The method of storing the PCEF identifier during the IP-CAN session establishment process simplifies the configuration of the network parameters of the home province DRA and PCRF.
本发明实施例提供的Diameter消息路由方法,当拜访管理域或拜访省的路由代理节点DRA接收到AF/AAC发送的业务请求消息(即Rx会话建立请求消息)后,需要将业务请求消息发送给归属管理域或归属省的DRA,通过拜访管理域DRA在转发业务请求消息中的目的主机域设置为在IP-CAN会话建立过程中保存的PCRF标识,IP域标识设置为在IP-CAN会话建立过程中 保存的PCEF标识,从而,能够简化归属的管理域或归属省DRA和PCRF网络参数配置。The method of routing the Diameter message provided by the embodiment of the present invention, after receiving the service request message (ie, the Rx session establishment request message) sent by the AF/AAC, the route requesting node DRA of the visited management domain or the visiting province needs to send the service request message to The DRA of the home management domain or the home province is set to the PCRF identifier saved in the IP-CAN session establishment process by calling the management domain DRA in the forwarding service request message, and the IP domain identifier is set to be established in the IP-CAN session. In the process The saved PCEF identifier, thereby simplifying the configuration of the home management domain or the home province DRA and PCRF network parameters.
实施例四Embodiment 4
本发明实施例提供一种路由代理节点1,如图9所示,所述路由代理节点1包括:接收单元10和处理单元11,其中,The embodiment of the present invention provides a routing proxy node 1, as shown in FIG. 9, the routing proxy node 1 includes: a receiving unit 10 and a processing unit 11, wherein
所述接收单元10,设置为:接收到Rx会话建立请求消息,所述Rx会话建立请求消息中携带第二UE私网IP地址和第二IP域标识;The receiving unit 10 is configured to: receive an Rx session establishment request message, where the Rx session establishment request message carries a second UE private network IP address and a second IP domain identifier;
所述处理单元11,设置为:当所述第二UE私网IP地址与路由代理DRA绑定信息中的第一UE私网IP地址匹配成功,且所述第二IP域标识与所述DRA绑定信息中的第一策略和计费执行功能PCEF标识匹配成功时,将所述Rx会话建立请求消息的目的主机域Destinaion-Host AVP设置为所述DRA绑定信息中的第一策略和计费规则功能PCRF标识的取值,并将所述第二IP域标识的取值替换为所述DRA绑定信息中的第一PCEF标识的取值。The processing unit 11 is configured to: when the second UE private network IP address and the routing agent DRA binding information match the first UE private network IP address, and the second IP domain identifier and the DRA When the first policy and the charging execution function PCEF identifier in the binding information are successfully matched, the destination host domain Destinaion-Host AVP of the Rx session establishment request message is set as the first policy and meter in the DRA binding information. And the value of the first IPEF identifier in the DRA binding information is replaced by the value of the first IPEF identifier in the DRA binding information.
可选地,所述DRA绑定信息为IP连接接入网络IP-CAN会话建立时保存,所述DRA绑定信息至少包括第一UE私网IP地址、所述第一PCEF标识和所述第一PCRF标识,其中,所述第一PCRF标识从所述IP-CAN会话建立确认消息中提取获得。Optionally, the DRA binding information is saved when the IP connection access network IP-CAN session is established, and the DRA binding information includes at least a first UE private network IP address, the first PCEF identifier, and the first A PCRF identifier, wherein the first PCRF identifier is extracted and obtained from the IP-CAN session establishment confirmation message.
可选地,所述第一PCEF标识从所述IP-CAN会话的建立指示消息中提取获得。Optionally, the first PCEF identifier is extracted and obtained from the establishment indication message of the IP-CAN session.
可选地,如图10所示,所述路由代理节点1还包括:确定单元12和发送单元13,Optionally, as shown in FIG. 10, the routing proxy node 1 further includes: a determining unit 12 and a sending unit 13,
所述接收单元10,还设置为:接收到所述IP-CAN会话建立指示消息,所述建立IP-CAN会话指示消息携带所述第一用户标识、所述第一UE私网IP地址和所述第一PDN标识;The receiving unit 10 is further configured to: receive the IP-CAN session establishment indication message, where the establishing an IP-CAN session indication message carries the first user identifier, the first UE private network IP address, and the Describe the first PDN identifier;
所述确定单元12,设置为:根据所述第一用户标识确定用户为第一管理域的签约用户;The determining unit 12 is configured to: determine, according to the first user identifier, that the user is a subscription user of the first administrative domain;
所述发送单元13,设置为:将所述IP-CAN会话建立指示消息发送给所述第一管理域的DRA。 The sending unit 13 is configured to: send the IP-CAN session establishment indication message to the DRA of the first management domain.
可选地,如图10所示,所述路由代理节点1还包括:确定单元12和发送单元13,Optionally, as shown in FIG. 10, the routing proxy node 1 further includes: a determining unit 12 and a sending unit 13,
所述接收单元10,还设置为:接收到所述IP-CAN会话建立指示消息,所述建立IP-CAN会话指示消息携带所述第一用户标识;The receiving unit 10 is further configured to: receive the IP-CAN session establishment indication message, where the establishing an IP-CAN session indication message carries the first user identifier;
所述确定单元12,设置为:根据所述第一用户标识确定用户的归属省;The determining unit 12 is configured to: determine a attribution province of the user according to the first user identifier;
所述发送单元13,设置为:将所述IP-CAN会话建立指示消息发送给所述归属省的DRA。The sending unit 13 is configured to: send the IP-CAN session establishment indication message to the DRA of the home province.
本发明实施例提供的路由代理节点的理解可以参考实施例一至实施例三的Diameter消息路由的方法的说明,本实施例在此不再赘述。For the understanding of the routing proxy node provided by the embodiment of the present invention, reference may be made to the description of the method for routing the Diameter message in the first embodiment to the third embodiment, and details are not described herein again.
在实际应用中,所述接收单元10、处理单元11、确定单元12以及发送单元13可由位于路由代理节点上的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)、或现场可编程门阵列(FPGA)等实现。In practical applications, the receiving unit 10, the processing unit 11, the determining unit 12, and the transmitting unit 13 may be a central processing unit (CPU), a microprocessor (MPU), and a digital signal processor (DSP) located on the routing proxy node. Or implementation of a field programmable gate array (FPGA).
本发明实施例提供的路由代理节点,当拜访管理域或拜访省的路由代理节点DRA接收到AF/AAC发送的业务请求消息(即Rx会话建立请求消息)后,需要将业务请求消息发送给归属管理域或归属省的DRA,通过拜访管理域DRA在转发业务请求消息中的目的主机域设置为在IP-CAN会话建立过程中保存的PCRF标识,IP域标识设置为在IP-CAN会话建立过程中保存的PCEF标识,从而,能够简化归属的管理域或归属省DRA和PCRF网络参数配置。The routing proxy node provided by the embodiment of the present invention needs to send a service request message to the home after receiving the service request message (ie, the Rx session establishment request message) sent by the AF/AAC after the DAP of the visited management domain or the visiting province receives the service request message (ie, the Rx session establishment request message). The DRA of the management domain or the affiliation province is set to the PCRF identifier saved in the IP-CAN session establishment process by calling the management domain DRA in the forwarding service request message, and the IP domain identifier is set to be in the IP-CAN session establishment process. The saved PCEF identifier, thereby simplifying the configuration of the home management domain or the home province DRA and PCRF network parameters.
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述Diameter消息路由方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions for executing the above Diameter message routing method.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或 步骤制作成单个集成电路模块来实现。Optionally, all or part of the steps of the foregoing embodiments may also be implemented by using an integrated circuit, and the steps may be separately fabricated into integrated circuit modules, or multiple modules thereof or The steps are made into a single integrated circuit module.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
以上所述,仅为本发明的实施例而已,并非用于限定本发明的保护范围。The above description is only for the embodiments of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
本发明实施例提供的Diameter消息路由方法和路由代理节点,当拜访管理域或拜访省的路由代理节点DRA接收到AF/AAC发送的业务请求消息(即Rx会话建立请求消息)后,将业务请求消息发送给归属管理域或归属省的DRA,通过拜访管理域DRA在转发业务请求消息中的目的主机域设置为在IP-CAN会话建立过程中保存的PCRF标识,IP域标识设置为在IP-CAN会话建立过程中保存的PCEF标识,从而,能够简化归属的管理域DRA和PCRF网络参数配置。 The Diameter message routing method and the routing proxy node provided by the embodiment of the present invention, when the visited routing domain or the visited routing proxy node DRA receives the service request message (ie, the Rx session establishment request message) sent by the AF/AAC, the service request is sent. The message is sent to the DRA of the home management domain or the home province. The destination host domain in the forwarding service request message is set to the PCRF identifier saved in the IP-CAN session establishment process by the visited management domain DRA, and the IP domain identifier is set to be in the IP- The PCEF identifier saved during the CAN session establishment process, thereby simplifying the configuration of the home management domain DRA and PCRF network parameters.

Claims (10)

  1. 一种Diameter消息路由方法,包括:A Diameter message routing method includes:
    接收到Rx会话建立请求消息,所述Rx会话建立请求消息中携带第二用户设备UE私网IP地址和第二IP域标识;Receiving an Rx session establishment request message, where the Rx session establishment request message carries a second user equipment UE private network IP address and a second IP domain identifier;
    当所述第二UE私网IP地址与路由代理节点DRA绑定信息中的第一UE私网IP地址匹配成功,且所述第二IP域标识与所述DRA绑定信息中的第一策略和计费执行功能PCEF标识匹配成功时,将所述Rx会话建立请求消息的目的主机域Destination-Host AVP设置为所述DRA绑定信息中的第一策略和计费规则功能PCRF标识的取值,并将所述第二IP域标识的取值替换为所述DRA绑定信息中的第一PCEF标识的取值。When the second UE private network IP address matches the first UE private network IP address in the routing agent node DRA binding information, and the second IP domain identifier and the first policy in the DRA binding information And setting the destination host domain Destination-Host AVP of the Rx session establishment request message to the value of the first policy and the charging rule function PCRF identifier in the DRA binding information. And replacing the value of the second IP domain identifier with the value of the first PCEF identifier in the DRA binding information.
  2. 根据权利要求1所述的Diameter消息路由方法,其中,所述DRA绑定信息为IP连接接入网络IP-CAN会话建立时保存,所述DRA绑定信息包括第一UE私网IP地址、所述第一PCEF标识和所述第一PCRF标识,其中,所述第一PCRF标识从所述IP-CAN会话建立确认消息中提取获得。The Diameter message routing method according to claim 1, wherein the DRA binding information is saved when an IP connection access network IP-CAN session is established, and the DRA binding information includes a private network IP address of the first UE. Determining the first PCEF identifier and the first PCRF identifier, wherein the first PCRF identifier is extracted and obtained from the IP-CAN session establishment confirmation message.
  3. 根据权利要求2所述的Diameter消息路由方法,其中,所述第一PCEF标识从所述IP-CAN会话的建立指示消息中提取获得。The Diameter message routing method according to claim 2, wherein the first PCEF identifier is extracted and obtained from an establishment indication message of the IP-CAN session.
  4. 根据权利要求3所述的Diameter消息路由方法,所述Diameter消息路由方法还包括:The Diameter message routing method according to claim 3, wherein the Diameter message routing method further comprises:
    接收到所述IP-CAN会话建立指示消息,所述建立IP-CAN会话指示消息携带第一用户标识;Receiving the IP-CAN session establishment indication message, where the establishing an IP-CAN session indication message carries a first user identifier;
    根据所述第一用户标识确定用户为第一管理域的签约用户,将所述IP-CAN会话建立指示消息发送给所述第一管理域的DRA。And determining, by the first user identifier, that the user is a subscription user of the first management domain, and sending the IP-CAN session establishment indication message to the DRA of the first management domain.
  5. 根据权利要求3所述的Diameter消息路由方法,所述Diameter消息路由方法还包括:The Diameter message routing method according to claim 3, wherein the Diameter message routing method further comprises:
    接收到所述IP-CAN会话建立指示消息,所述建立IP-CAN会话指示消息携带第一用户标识;Receiving the IP-CAN session establishment indication message, where the establishing an IP-CAN session indication message carries a first user identifier;
    根据所述第一用户标识确定用户的归属省,将所述IP-CAN会话建立指示消息发送给所述归属省的DRA。 Determining the attribution province of the user according to the first user identifier, and sending the IP-CAN session establishment indication message to the DRA of the home province.
  6. 一种路由代理节点,包括:接收单元和处理单元;其中,A routing proxy node includes: a receiving unit and a processing unit; wherein
    所述接收单元,设置为:接收到Rx会话建立请求消息,所述Rx会话建立请求消息中携带第二UE私网IP地址和第二IP域标识;The receiving unit is configured to: receive an Rx session establishment request message, where the Rx session establishment request message carries a second UE private network IP address and a second IP domain identifier;
    所述处理单元,设置为:当所述第二UE私网IP地址与路由代理DRA绑定信息中的第一UE私网IP地址匹配成功,且所述第二IP域标识与所述DRA绑定信息中的第一策略和计费执行功能PCEF标识匹配成功时,将所述Rx会话建立请求消息的目的主机域Destination-Host AVP设置为所述DRA绑定信息中的第一策略和计费规则功能PCRF标识的取值,并将所述第二IP域标识的取值替换为所述DRA绑定信息中的第一PCEF标识的取值。The processing unit is configured to: when the second UE private network IP address and the routing agent DRA binding information match the first UE private network IP address, and the second IP domain identifier is tied to the DRA The destination host domain Destination-Host AVP of the Rx session establishment request message is set as the first policy and the accounting in the DRA binding information, when the first policy and the accounting execution function PCEF identifier are successfully matched. The value of the rule is determined by the value of the PCRF, and the value of the second IP domain identifier is replaced by the value of the first PCEF identifier in the DRA binding information.
  7. 根据权利要求6所述的路由代理节点,其中,所述DRA绑定信息为IP连接接入网络IP-CAN会话建立时保存,所述DRA绑定信息包括第一UE私网IP地址、所述第一PCEF标识和所述第一PCRF标识,其中,所述第一PCRF标识从所述IP-CAN会话建立确认消息中提取获得。The routing proxy node according to claim 6, wherein the DRA binding information is saved when an IP connection access network IP-CAN session is established, the DRA binding information includes a first UE private network IP address, and the a first PCEF identifier and the first PCRF identifier, wherein the first PCRF identifier is extracted and obtained from the IP-CAN session establishment confirmation message.
  8. 根据权利要求6或7所述的路由代理节点,其中,所述第一PCEF标识从所述IP-CAN会话的建立指示消息中提取获得。The routing proxy node according to claim 6 or 7, wherein said first PCEF identification is extracted and obtained from said establishment indication message of said IP-CAN session.
  9. 根据权利要求8所述的路由代理节点,所述路由代理节点还包括:确定单元和发送单元,The routing proxy node according to claim 8, wherein the routing proxy node further comprises: a determining unit and a sending unit,
    所述接收单元,还设置为:接收到所述IP-CAN会话建立指示消息,所述建立IP-CAN会话指示消息携带第一用户标识;The receiving unit is further configured to: receive the IP-CAN session establishment indication message, where the establishing an IP-CAN session indication message carries a first user identifier;
    所述确定单元,设置为:根据所述第一用户标识确定用户为第一管理域的签约用户;The determining unit is configured to: determine, according to the first user identifier, that the user is a subscription user of the first administrative domain;
    所述发送单元,设置为:将所述IP-CAN会话建立指示消息发送给所述第一管理域的DRA。The sending unit is configured to: send the IP-CAN session establishment indication message to the DRA of the first management domain.
  10. 根据权利要求8所述的路由代理节点,所述路由代理节点还包括:确定单元和发送单元,The routing proxy node according to claim 8, wherein the routing proxy node further comprises: a determining unit and a sending unit,
    所述接收单元,还设置为:接收到所述IP-CAN会话建立指示消息,所述建立IP-CAN会话指示消息携带第一用户标识;The receiving unit is further configured to: receive the IP-CAN session establishment indication message, where the establishing an IP-CAN session indication message carries a first user identifier;
    所述确定单元,设置为:根据所述第一用户标识确定用户的归属省; The determining unit is configured to: determine, according to the first user identifier, a attribution province of the user;
    所述发送单元,设置为:将所述IP-CAN会话建立指示消息发送给所述归属省的DRA。 The sending unit is configured to: send the IP-CAN session establishment indication message to the DRA of the home province.
PCT/CN2016/082239 2015-09-07 2016-05-16 Diameter message routing method and routing agent node WO2017041507A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510566180.4 2015-09-07
CN201510566180.4A CN106507382B (en) 2015-09-07 2015-09-07 Diameter message routing method and routing agent node

Publications (1)

Publication Number Publication Date
WO2017041507A1 true WO2017041507A1 (en) 2017-03-16

Family

ID=58239203

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/082239 WO2017041507A1 (en) 2015-09-07 2016-05-16 Diameter message routing method and routing agent node

Country Status (2)

Country Link
CN (1) CN106507382B (en)
WO (1) WO2017041507A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111050355A (en) * 2018-10-15 2020-04-21 中国移动通信集团山东有限公司 Method, device and system for dynamically adjusting Qos of mobile terminal

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040991B (en) * 2017-06-12 2021-02-26 华为技术有限公司 Method and apparatus for wireless communication
CN110365630A (en) * 2018-04-11 2019-10-22 中国移动通信有限公司研究院 Information processing method and device, communication network element and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139762A (en) * 2011-11-22 2013-06-05 中兴通讯股份有限公司 Method and system for selecting policy and charging rule function
CN104219783A (en) * 2013-06-05 2014-12-17 中国移动通信集团公司 Session redirection method and equipment
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
US20150236863A1 (en) * 2012-09-17 2015-08-20 Telefonaktiebolaget L M Ericsson (Publ) High-availability, scalable policy and charging control systems, and methods therefor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139762A (en) * 2011-11-22 2013-06-05 中兴通讯股份有限公司 Method and system for selecting policy and charging rule function
US20150236863A1 (en) * 2012-09-17 2015-08-20 Telefonaktiebolaget L M Ericsson (Publ) High-availability, scalable policy and charging control systems, and methods therefor
CN104219783A (en) * 2013-06-05 2014-12-17 中国移动通信集团公司 Session redirection method and equipment
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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
3GPP;: "Technical Specification Group Core Network and Terminals; ''Policy and Charging Control signaling flows and Quality of Service (QoS) parameter mapping (Release 12)", 3GPP TS 29.213 V12.5.0, 30 September 2014 (2014-09-30), pages 77 - 128, XP014223888 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111050355A (en) * 2018-10-15 2020-04-21 中国移动通信集团山东有限公司 Method, device and system for dynamically adjusting Qos of mobile terminal
CN111050355B (en) * 2018-10-15 2022-12-09 中国移动通信集团山东有限公司 Method, device and system for dynamically adjusting Qos of mobile terminal

Also Published As

Publication number Publication date
CN106507382A (en) 2017-03-15
CN106507382B (en) 2020-04-14

Similar Documents

Publication Publication Date Title
KR102546956B1 (en) Small data usage enablement in 3gpp networks
US8438290B2 (en) Method for selecting a policy and charging rules function entity in the non-roaming scenario
EP2827623B1 (en) Policy and charging control method, and v-pcrf apparatus
JP5269985B2 (en) Online charging architecture in LTE / EPC communication networks
JP5256305B2 (en) Decision making method, decision making system and policy decision function
US8817612B2 (en) Method for implementing limited policy and charging control and system thereof
JP5587436B2 (en) Handling expired messages for policy and billing rule nodes
US20150063130A1 (en) Customized diameter performance metrics
US8548463B2 (en) PCRN roaming agreement
WO2011063688A1 (en) Method and system for selecting policy and charging rules function entity
KR20150004893A (en) Temporarily disable out-of-credit pcc rule
WO2015055063A1 (en) Application access control method and application function entity apparatus
JP5727052B2 (en) Temporary subscription record
WO2017041507A1 (en) Diameter message routing method and routing agent node
WO2016062025A1 (en) Method and device for selecting policy and charging rules function
JP5855261B2 (en) Supported feature overrides
JP5746442B2 (en) Organize roaming partner territory into primary and secondary
CN103313431B (en) The processing method and PCRF of TDF sessions
WO2016062026A1 (en) Method and device for selecting policy and charging rules function
US9532205B2 (en) Method and system for identifying application detection and control function mode
JP2014531159A (en) Processing messages related to multiple potential entities
JP5872705B2 (en) Roaming agreement / End of roaming session triggered by partner erasure
CN106992868B (en) Third-party application service deployment method, SCEF entity, PCRF entity and PCC framework

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16843445

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16843445

Country of ref document: EP

Kind code of ref document: A1