WO2014067165A1 - Method, device and system for transmitting session request - Google Patents

Method, device and system for transmitting session request Download PDF

Info

Publication number
WO2014067165A1
WO2014067165A1 PCT/CN2012/084104 CN2012084104W WO2014067165A1 WO 2014067165 A1 WO2014067165 A1 WO 2014067165A1 CN 2012084104 W CN2012084104 W CN 2012084104W WO 2014067165 A1 WO2014067165 A1 WO 2014067165A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
dra
pcrf
nat
session request
Prior art date
Application number
PCT/CN2012/084104
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 华为技术有限公司
Priority to PCT/CN2012/084104 priority Critical patent/WO2014067165A1/en
Priority to CN201280021069.1A priority patent/CN103931155A/en
Publication of WO2014067165A1 publication Critical patent/WO2014067165A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/256NAT traversal
    • H04L61/2564NAT traversal for a higher-layer protocol, e.g. for session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/66Policy and charging system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and a device system for transmitting a session request.
  • the core network uses the PCC (Policy Control and Charging) architecture to implement QoS (Quality of Service) control for packet data services. Billing.
  • PCC Policy Control and Charging
  • the PCRF Policy Control and Charging Rules Function
  • PCEF Policy and Charging Enforcement Function
  • AF Application
  • the information provided by the function, the application function entity, and the like is used to formulate a suitable PCC rule for the UE (User Equipment), and the PCC rule is sent to the PCEF for execution.
  • the PCRF communicates with the PCEF through a Gx interface.
  • the connection relationship between the PCRF and the PCEF is called a Gx session, and the PCRF and the AF communicate through the Rx interface.
  • the connection relationship between the PCRF and the AF is called an Rx session.
  • PCRFs exist in the same domain, which are responsible for formulating different PCC rules for different user equipments.
  • the PCC rules need to use the information of the same UE transmitted by PCEF and AF.
  • the correctness of the rules needs to ensure that the PCRF can receive Gx sessions and RX sessions sent by the PCEF and AF for the same UE.
  • the session binding technology is used, and the PCRF can bind the Gx session and the Rx session under the same UE according to the same UE address carried in the received Gx session and the Rx session.
  • the address carried in the Gx session request sent by the PCEF to the PCRF through the DRA is XI.
  • the address carried in the Rx session request sent by the AF to the PCRF by the AF is the address X2 after the NAT, which will cause the PCRF to fail to correctly correct the Rx session and Gx under the UE. Sessions are tied together. Summary of the invention
  • An embodiment of the present invention provides a method, an apparatus, and a system for transmitting a session request, which can enable a PCRF to correctly receive a Gx session request message and an Rx session request message carrying the same address when the NAT device is deployed in the network. Then correctly bind the Rx session and the Gx session.
  • a method for transmitting a session request including:
  • the diameter routing agent DRA receives the first Gx session request message, where the first Gx session request message includes the user equipment UE address;
  • the DRA sends a second Gx session request message to the policy control and charging rule function entity PCRF, where the second Gx session request message includes a first address, the first address is the UE address or a NAT-converted UE address corresponding to the UE address; the DRA receives the first Rx session request message, where the first Rx session request message includes the NAT-transformed UE address;
  • the DRA sends the second Rx session request message to the PCRF, where the second Rx session request message includes the first address.
  • the DRA determines to send a second Rx session request message to the PCRF according to the NAT translated UE address, including:
  • the DRA determines the UE address according to the NAT translated UE address, including: the DRA according to the NAT The converted UE address acquires the UE address from the NAT device.
  • the DRA determines to send a second Rx session request message to the PCRF according to the NAT translated UE address, including:
  • the DRA determines to send the second Rx session request message to the PCRF according to the stored correspondence between the NAT translated UE address and the PCRF.
  • the DRA acquires the NAT translated UE address from a NAT device according to the UE address;
  • the DRA stores the correspondence between the NAT translated UE address and the PCRF according to the stored correspondence between the UE address and the PCRF.
  • the Gx session request message is sent by the policy and charging execution entity PCEF
  • the Rx session request message is sent by the application function entity AF.
  • the UE address is an IP address of the UE
  • the NAT-transformed UE address is a NAT-transformed IP address corresponding to the IP address of the UE or a NAT-transformed IP corresponding to the IP address of the UE. Address and port number.
  • a diameter routing agent DRA including:
  • a Gx receiving unit configured to receive a first Gx session request message, where the first Gx session request message includes a user equipment UE address;
  • a Gx sending unit configured to send a second Gx session request message to the policy control and charging rule function entity PCRF, where the second Gx session request message includes a first address, where the first address is the UE address or a NAT translated UE address corresponding to the UE address;
  • An Rx receiving unit configured to receive a first Rx session request message, where the first Rx session request message includes the NAT translated UE address
  • a processing unit configured to receive, according to the Rx receiving unit, the The NAT converted UE address in the first Rx session request message determines to send a second Rx session request message to the PCRF;
  • an Rx sending unit configured to send a second Rx session request message to the PCRF, where the second Rx session request message includes the first address.
  • the processing unit includes: a first processing subunit and a second processing subunit;
  • the first processing subunit configured to determine, according to the NAT translated UE address, the UE address;
  • the second processing sub-unit is configured to determine, according to the stored correspondence between the UE address and the PCRF, the second Rx session request message to be sent to the PCRF.
  • the first processing sub-unit is specifically configured to acquire the UE address from a NAT device according to the NAT translated UE address.
  • the processing unit includes: a third processing subunit
  • the third processing sub-unit is configured to determine, according to the stored correspondence between the NAT translated UE address and the PCRF, the second Rx session request message to the PCRF.
  • the third processing sub-unit is further configured to acquire the NAT translation from the NAT device according to the UE address
  • the subsequent UE address stores the correspondence between the NAT-converted UE address and the PCRF according to the stored correspondence between the UE address and the PCRF.
  • the Gx session request message is sent by the policy and charging execution entity PCEF
  • the Rx session request message is sent by the application function entity AF.
  • the UE address is an IP address of the UE
  • the NAT-transformed UE address is a NAT-transformed IP address corresponding to the IP address of the UE or a NAT-transformed IP corresponding to the IP address of the UE. Address and port number.
  • a diameter routing agent DRA including: a receiver, a transmitter, a memory, and a processor respectively connected to the receiver, the transmitter, and the memory, the memory storing a set of program codes, The processor invokes program code in the memory for performing the operations provided by the first aspect.
  • a system including: user equipment UE, policy, and charging execution Entity PCEF, Diameter Routing Agent DRA, Policy and Charging Rules Function Entity PCRF, Network Address Translation NAT Device, Application Function Entity AF;
  • the DRA is the foregoing DRA; the NAT device is configured to allocate the NAT-transformed UE address to the UE; the PCEF is configured to send the first Gx session request message to the DRA; The first Rx session request message is sent to the DRA; the PCRF is configured to receive a second Gx session request message and the second Rx session request message sent by the DRA.
  • a method for transmitting a session request including:
  • the diameter routing agent DRA receives the first Gx session request message sent by the policy and the charging execution entity PCEF, wherein the first Gx session request message includes a user equipment UE address; the DRA sends a first Gx session response to the PCEF
  • the first Gx session response message carries the first address and the address of the PCRF, where the first address is the UE address or the NAT translated UE address corresponding to the UE address, so that the The PCEF sends a second Gx session request message including the first address to the PCRF;
  • the DRA receives a first Rx session request message sent by the application function entity AF, where the first Rx session request message includes the The NAT-converted UE address; the DRA determines to redirect the first Rx session request to the PCRF according to the NAT translated UE address;
  • the DRA sends a first Rx session response message to the AF, where the first Rx session response message includes the first address and an address of the PCRF, so that the AF sends the PCRF to the PCRF.
  • the second Rx session request message of the first address is not limited to the first address.
  • the DRA determines to redirect the first Rx session request to the PCRF, including:
  • the determining, by the DRA, the UE address according to the NAT translated UE address including: The DRA acquires the UE address from a NAT device according to the NAT translated UE address.
  • the DRA determines to redirect the first Rx session request to the PCRF, including:
  • the DRA acquires the NAT translated UE address from a NAT device according to the UE address;
  • the DRA stores the correspondence between the NAT translated UE address and the PCRF according to the stored correspondence between the UE address and the PCRF.
  • the UE address is an IP address of the UE
  • the NAT converted UE The address is a NAT-transformed IP address corresponding to the IP address of the UE or a NAT-converted IP address and port number corresponding to the IP address of the UE.
  • a diameter routing agent DRA including:
  • a Gx receiving unit configured to receive a first Gx session request message sent by the policy and the charging execution entity PCEF, where the first Gx session request message includes a UE address;
  • a Gx sending unit configured to send a first Gx session response message to the PCEF, where the first Gx session response message carries an address of a first address and a PCRF, where the first address is the UE address or Determining, by the UE address, the NAT translated UE address, so that the PCEF sends a second Gx session request message including the first address to the PCRF;
  • An Rx receiving unit configured to receive a first Rx session request message sent by the application function entity AF, where the first Rx session request message includes the NAT translated UE address, and a processing unit, configured to perform, according to the NAT conversion The subsequent UE address determines to redirect the first Rx session request to the PCRF;
  • An Rx sending unit configured to send a first Rx session response message to the AF, where the An Rx Session Response message includes the first address and an address of the PCRF to cause the AF to send a second Rx Session Request message including the first address to the PCRF.
  • the processing unit includes: a first processing subunit and a second processing subunit;
  • the first processing subunit configured to determine, according to the NAT translated UE address, the UE address;
  • the second processing sub-unit is configured to determine to redirect the first Rx session request to the P C RF according to the stored correspondence between the UE address and the PCRF.
  • the first processing sub-unit is specifically configured to acquire the UE address from a NAT device according to the NAT translated UE address.
  • the processing unit includes: a third processing subunit
  • the third processing sub-unit is configured to determine to redirect the first Rx session request to the PCRF according to the stored correspondence between the NAT translated UE address and the PCRF.
  • the third processing sub-unit is further configured to acquire, by the NAT device, according to the received UE address
  • the NAT-converted UE address is used to store the correspondence between the NAT-converted UE address and the PCRF according to the stored correspondence between the UE address and the PCRF.
  • the UE address is an IP address of the UE, and the NAT converted UE The address is a NAT-transformed IP address corresponding to the IP address of the UE or a NAT-converted IP address and port number corresponding to the IP address of the UE.
  • a diameter routing agent DRA is provided, including: a receiver, a transmitter, a memory, and a processor respectively connected to the receiver, the transmitter, and the memory, the memory storing a set of program codes, The processor invokes program code in the memory for performing the operations provided by the fifth aspect.
  • a system is provided, including: user equipment UE, policy, and charging execution Entity PCEF, Diameter Routing Agent DRA, Policy and Charging Rules Function Entity PCRF, Network Address Translation NAT Device, Application Function Entity AF;
  • the DRA is the DRA of the sixth aspect; the NAT device is configured to allocate the NAT-transformed UE address to the UE; and the PCEF is configured to send the first Gx session request message to the DRA.
  • the PCRF is configured to receive a second Gx session request message that is sent by the PCEF and that includes the first address, and a second Rx session request message that is sent by the AF and that includes the first address.
  • the GX session request message carrying the first address and the Rx session request message carrying the first address are sent to the PCRF by the DRA, so that the PCRF receives the Gx. After the session request message and the Rx session request message, the Rx session is correctly bound to the Gx session according to the first address carried by the session request message.
  • FIG. 1 is a schematic diagram of actual network deployment under the PCC architecture
  • FIG. 2 is a schematic flowchart of a method for transmitting a session request according to Embodiment 1;
  • 3 is a structural block diagram of a DRA provided in Embodiment 1;
  • FIG. 4 is a structural block diagram of another DRA provided in Embodiment 1;
  • FIG. 5 is a structural block diagram of another DRA provided in Embodiment 1;
  • FIG. 6 is a structural block diagram of another DRA provided by Embodiment 1.
  • FIG. 7 is a schematic diagram of a communication flow of a system for transmitting a session request according to Embodiment 1.
  • FIG. 8 is another transmission session request provided by Embodiment 1. Schematic diagram of the communication process of the system;
  • FIG. 9 is a schematic flowchart of a method for transmitting a session request according to Embodiment 2;
  • FIG. 10 is a structural block diagram of a DRA provided in Embodiment 2;
  • FIG. 11 is a structural block diagram of another DRA provided in Embodiment 2
  • FIG. 12 is a structural block diagram of another DRA provided in Embodiment 2;
  • FIG. 13 is a structural block diagram of another DRA provided by Embodiment 2.
  • FIG. 14 is a schematic diagram showing a communication flow of a system for transmitting a session request according to Embodiment 2.
  • the actual network deployment is performed.
  • the session binding process in the prior art is: the PCEF 15 allocates a message to the UE 14 after receiving the IP-CAN session establishment request message by the UE 14 .
  • IP address XI establish an IP-CAN session.
  • the PCEF 15 provides the DRA 13 with the information such as the IP address of the UE 14 so that the DRA 13 selects a PCRF, such as the PCRF1, and sends a Gx session request message to the selected PCRF1, and after the PCRF1 returns a response message indicating that the request is successful, the Gx session is established.
  • the DRA 13 stores the correspondence between the IP address of the UE 14 and the PCRFl address. Thereafter, when the AF17 request establishes an Rx session with the PCRF under the DRA 13, the DRA 13 selects the IP address of the UE 14 to be carried as XI.
  • the Rx session request of the AF forwards the Rx session request of the AF to the PCRF11 corresponding to the IP address, so that the PCRF11 establishes the Rx session, and binds to the Gx session of the established UE whose IP address is XI. together.
  • the address carried in the Rx session request message sent by the AF17 to the DRA is the address X2 after the NAT translation, and the method provided by the embodiment of the present invention needs to be applied. And the device, that the Gx session request message and the Rx session request message received by the PCRF for the same UE carry the same address.
  • the DRA is logically a Diameter node that implements the Diameter protocol proxy function.
  • the proxy DRA is used to forward the PCEF and the AF and the corresponding PCRF.
  • the communication service information is to redirect the DRA, the redirect DRA is used to direct the PCRF for the PCEF and the AF, and ensure that the PCEF and AF send communication service information to the correct PCRF.
  • Embodiment 1 The embodiment of the present invention provides a method for transmitting a session request, where the method is applied to a proxy DRA. As shown in FIG. 2, the method includes the following steps:
  • the diameter routing proxy DRA receives the first Gx session request message, where the first Gx session request message includes a user equipment UE address.
  • the IP-CAN session request is initiated.
  • the PCEF allocates an IP address to the UE, and the IP address is called in the embodiment of the present invention.
  • UE address The UE obtains the IP address, and then establishes an IP-CAN session.
  • the DRA After the PCEF allocates an IP address to the UE, the DRA sends a first Gx session request message carrying the UE address, and the DRA receives the first Gx session request message carrying the UE address.
  • the DRA sends a second Gx session request message to the policy control and charging rule function entity PCRF, where the second Gx session request message includes a first address of the UE, where the first address may be The UE address or a NAT-converted UE address corresponding to the UE address.
  • the DRA After receiving the first Gx session request message carrying the UE address, the DRA selects one of the PCRFs under the DRA management according to the first Gx session request message. Corresponding PCRF.
  • the corresponding relationship between the UE address and the selected PCRF may be stored in the DRA, for example, the correspondence between the UE address and the PCRF address is stored.
  • the NAT device in the network system can perform address translation on the UE address carried in the received service data of the UE.
  • the service data of the UE is transmitted to the NAT device through the PCEF
  • the user service information of the carried UE is the UE address
  • the NAT device receives the service data of the UE.
  • the UE address carried by the address is then translated.
  • the translated address is called the NAT translated UE address.
  • the user service information of the UE carried in the service data transmitted to the other device, such as the AF, by the NAT device is the NAT translated UE address.
  • the UE address is an IP address of the UE
  • the NAT-transformed UE address is a NAT-transformed IP address corresponding to the IP address of the UE or is an IP address with the UE.
  • the NAT device may store a correspondence between the UE address and the NAT-converted UE address.
  • the DRA may perform the following steps A1 and A2 to store the NAT after the NAT translation.
  • the UE address corresponds to the PCRF:
  • the DRA acquires the NAT translated UE address from the NAT device according to the UE address.
  • the DRA may send an address query request carrying a UE address to the NAT device.
  • the NAT device queries and returns a NAT-converted UE address corresponding to the UE address to the DRA.
  • the DRA stores a correspondence between the NAT-converted UE address and the PCRF according to the stored correspondence between the UE address and the PCRF.
  • the steps A1 and A2 may not be performed, and the DRA may directly forward the second Gx including the UE address to the PCRF.
  • Session request message After receiving the second Gx session request message, the PCRF may send a response message of the second Gx session request message to the PCEF by using the DRA, and the Gx session is established.
  • the PCEF and the PCRF may perform a Gx session through the DRA.
  • the user service information of the UE carried in the Gx session data is the First address.
  • the DRA receives a first Rx session request message, where the first Rx session request message includes the NAT translated UE address.
  • the UE After the UE accesses the network and allocates the address to the UE, the UE performs a SIP (Session Initiation Protocol) registration (Register), and the UE passes through the NAT device when registering with the AF, so the AF receives the UE.
  • the user service information carried in the registration request may be the NAT translated UE address converted by the NAT device.
  • the user service information carried in the first Rx session request message sent by the AF may be the NAT translated UE address when the AF is requested to perform the Rx session to provide the UEF with the user service information of the UE.
  • the DRA determines to send a second Rx session request message to the PCRF according to the NAT translated UE address.
  • the mapping between the NAT-converted UE address and the PCRF is already stored in the DRA, and the DRA may be directly based on the DRA.
  • the correspondence determines that the second Rx session request message is sent to the PCRF.
  • the DRA may perform the following steps B1 and B2 to determine to send a second Rx session request message to the PCRF according to the NAT translated UE address.
  • the DRA determines the UE address according to the NAT translated UE address.
  • the DRA may acquire the UE address from the NAT device according to the NAT translated UE address.
  • the DRA may send an address query request carrying the NAT-transformed UE address to the NAT device, and the NAT device may query and return the UE address to the DRA after receiving the address query request.
  • the DRA determines to send the second Rx session request message to the PCRF according to the stored correspondence between the UE address and the PCRF.
  • the DRA may determine to send the second Rx session request message to the PCRF according to the already stored relationship between the UE address and the PCRF and the UE address corresponding to the NAT translated UE address. 205.
  • the DRA sends the second Rx session request message to the PCRF, where the second Rx session request message includes the first address.
  • the DRA determines to send the second Rx session request message to the PCRF, and sends a second Rx session request message carrying the first address to the PCRF.
  • the PCRF After receiving the second Rx session request message carrying the first address, the PCRF sends a response message of the second Rx session request message to the AF through the DRA to establish an Rx session.
  • the PCEF and the PCRF may perform an Rx session through the DRA.
  • the user service information of the UE carried in the data is the first address.
  • the PCRF associates the Gx session carrying the same first address with the Rx session, which ensures that the PCRF receives the information about the same UE provided by the PCEF and the AF, thereby ensuring the PCRF. Choose the correct PCC rules.
  • an apparatus for transmitting a session request includes: a Gx receiving unit 301, a Gx sending unit 302, an Rx receiving unit 303, a processing unit 304, and an Rx sending unit 305.
  • the Gx receiving unit 301 is configured to receive a first Gx session request message, where the first Gx session request message includes a user equipment UE address.
  • the UE address is an IP address of the UE, or the UE address is an IP address of the UE and a port number of the UE.
  • the Gx sending unit 302 is configured to send a second Gx session request message to the policy control and charging rule function entity PCRF, where the second Gx session request message includes a first address, where the first address is the UE address Or a NAT-converted UE address corresponding to the UE address.
  • the UE address may be an IP address of the UE, and the NAT-transformed UE address is a NAT-transformed IP address corresponding to the IP address of the UE; or The address may be an IP address of the UE and a port number of the UE or a NAT-translated IP address and port number corresponding to the IP address of the UE.
  • the processing unit 304 of the DRA may use the first Gx session request message in several PCRFs under the DRA management. Select a corresponding PCRF.
  • the DRA may store a correspondence between the UE address and a PCRF address, for example, may be stored in the processing unit 304 or the Gx transmitting unit 302.
  • the Rx receiving unit 303 is configured to receive the first Rx session request cancellation, where the first Rx session request message includes the NAT translated UE address.
  • the processing unit 304 is configured to determine, according to the NAT translated UE address in the first Rx session request message received by the Rx receiving unit, to send a second Rx session request message to the PCRF.
  • the Rx sending unit 305 is configured to send the second Rx session request message to the PCRF, where the second Rx session request message includes the first address.
  • the processing unit 304 may include: a first processing subunit 3041 and a second processing subunit 3042; the first processing subunit 3041, configured to determine, according to the NAT translated UE address
  • the second processing sub-unit 3042 is configured to determine to send the second Rx session request message to the PCRF according to the stored correspondence between the UE address and the PCRF.
  • the first processing sub-unit 3041 may be specifically configured to acquire the UE address from the NAT device according to the NAT translated UE address.
  • the processing unit 304 may include: a third processing sub-unit 3043; the third processing sub-unit 3043, configured to: according to the stored NAT translated UE address and the PCRF Correspondingly, determining to send the second Rx session request message to the PCRF.
  • the third processing sub-unit is further configured to acquire the NAT-transformed UE address from the NAT device according to the UE address, and store the NAT after the mapping according to the stored correspondence between the UE address and the PCRF. Correspondence between the UE address and the PCRF.
  • the above various sending units may be transmitters or transceivers
  • the above various receiving units may be receivers or transceivers
  • the sending unit and the receiving unit may be integrated to form a transceiver unit, corresponding to hardware implementation.
  • the above processing unit can The hardware form or software form is embedded in the processor of the base station.
  • the processor can be a central processing unit or a single chip microcomputer.
  • FIG. 6 is a schematic structural diagram of an apparatus for transmitting a session request according to an embodiment of the present invention.
  • the device can be implemented on the DRA.
  • the apparatus includes a transmitter 61, a receiver 62, a memory 63, and a processor 64 coupled to the transmitter 61, the receiver 62, and the memory 63, respectively.
  • the DRA may also include a common component such as an antenna, an input/output device, and the like, and the embodiment of the present invention is not limited herein.
  • the memory 63 stores a set of program codes, and the processor 64 is configured to call the program code stored in the memory 63 for performing the following operations:
  • the processor 64 receives the first Gx session request message by the receiver 62, where the first Gx session request message includes a UE address; the processor 64 sends a second Gx session request message to the PCRF through the transmitter 61,
  • the second Gx session request message includes a first address of the UE, and the first address is the UE address or a NAT translated UE address corresponding to the UE address.
  • the UE address is an IP address of the UE
  • the NAT-transformed UE address is a NAT-transformed IP address corresponding to the IP address of the UE or a NAT-transformed IP corresponding to the IP address of the UE. Address and port number.
  • the processor 64 of the DRA selects among several PCRFs under the DRA management according to the first Gx session request message. A corresponding PCRF.
  • the processor 64 of the DRA may store a correspondence between the UE address and a PCRF address.
  • the transmitter 61 of the DRA sends a second Gx session request message to the PCRF.
  • the processor 64 receives the first Rx session request message by the receiver 62, where the first Rx session request message includes the NAT translated UE address; the processor 64 is configured according to the NAT converted UE.
  • the address determination sends a second Rx session request message to the PCRF; and sends the second Rx session request message to the PCRF by using the transmitter 61, where the second Rx session request message includes the first address.
  • the determining, by the processor, the sending, by the UE, the second Rx session request message to the PCRF according to the NAT translated UE address may include:
  • the processor 64 determines the UE address according to the NAT translated UE address; the processor 64 determines, according to the stored correspondence between the UE address and the PCRF, Sending the second Rx session request message to the PCRF.
  • the determining, by the processor, the UE address, according to the NAT translated UE address may include:
  • the processor 64 acquires the UE address from the NAT device according to the NAT translated UE address. Or the determining, by the processor 64, the sending, by the NAT, the second Rx session request message to the PCRF according to the NAT translated UE address, the processor 64: the processor 64 according to the stored NAT translated UE address and the Corresponding relationship of the PCRF, determining to send a second Rx session request message to the PCRF.
  • the processor 64 may acquire the NAT-converted UE address from the NAT device according to the UE address, and store the NAT-transformed UE address and location according to the stored correspondence between the UE address and the PCRF. The correspondence between PCRFs.
  • the foregoing first Gx session request message may be sent by the PCEF, and the first Rx session request message may be sent by the AF.
  • the embodiment of the present invention further provides a system for transmitting a session request. As shown in FIG. 7, the system includes UE71, PCEF72, DRA73, PCRF74, NAT device 75, and AF76.
  • the DRA 73 is the DRA described in the foregoing embodiment shown in FIG. 3 to FIG.
  • the NAT device 75 is configured to allocate the NAT-transformed UE address to the UE 71;
  • the DRA 73 sends a first Gx session request message;
  • the AF 76 is configured to send a first Rx session request message to the DRA 73;
  • the PCRF 74 is configured to receive the second Gx session request that is sent by the DRA 73 and includes the first address And a message and a second Rx session request message including the first address.
  • the communication process between the devices may include the following steps:
  • the PCEF 72 assigns the UE address to the UE 71.
  • the IP-CAN session request is initiated.
  • the PCEF 72 allocates an IP address to the UE.
  • the IP address is referred to as a UE address in the embodiment of the present invention.
  • the PCEF allocates an IP address XI to the UE.
  • the UE obtains the assigned address and establishes an IP-CAN session.
  • the PCEF 72 sends a first Gx session request message to the DRA 73. After the IP address is assigned to the UE 71, the PCEF 72 initiates a Gx session establishment request, and sends a first Gx session request message to the DRA 73.
  • the first Gx session request message carries the UE address.
  • the DRA 73 selects a PCRF 74 in the domain in which the DRA is located according to the UE address XI carried in the received first Gx session request message.
  • the DRA 73 can store the correspondence between the address of the PCRF 74 (e.g., F1) and the UE address.
  • the correspondence between the stored PCRF and the UE address is achieved by storing the correspondence between the address of the PCRF 74 and the UE address.
  • steps 704-706 can be performed at this time.
  • the DRA 73 sends an address query request to the NAT device 75.
  • the DRA 73 sends an address query request to the NAT device 75, which carries the UE address, such as XI.
  • the NAT device 75 queries and returns a NAT translated UE address corresponding to the UE address.
  • the NAT device 75 can perform address translation on the address of the UE carried in the received service data of the UE.
  • the service data of the UE is transmitted to the NAT device 75 through the PCEF
  • the user service information of the carried UE is the UE address
  • the NAT device 75 will The carried UE address is used for address translation, and the translated address is called a NAT translated UE address.
  • the NAT device 75 can query and return the NAT-converted UE address corresponding to the UE address to the DRA 73 according to the UE address in the received address query request.
  • the UE address XI corresponding to the NAT converted UE address is the IP address Y1, or the IP address Y1 and the port number P l.
  • the DRA 73 establishes a binding relationship.
  • the DRA 73 After receiving the NAT-converted UE address returned by the NAT device 75, the DRA 73 establishes a binding of the address of the PCRF 74, the UE address, and the NAT-converted UE address according to the NAT-transformed UE address. Relationship (ie correspondence). For example, the correspondence between F 1, XI, and Y1, or the correspondence between Fl, XI, and (Yl, P1).
  • the DRA 73 sends a second Gx session request message to the PCRF 74, and the PCRF 74 returns.
  • the second Gx session response message is
  • the DRA 73 sends a second Gx session request message carrying the first address to the PCRF 74, where the first address is the UE address or a NAT-converted UE address corresponding to the UE address.
  • the PCRF 74 After receiving the second Gx session request message, the PCRF 74 returns a response message of the second Gx session request message to the DRA 73. If the steps 704 to 707 are performed, the first address carried in the second Gx session request message sent by the DRA 73 to the PCRF 74 may be a UE address or a NAT-converted UE corresponding to the UE address.
  • the address, if the steps 704 to 707 are not performed, the first address carried in the second Gx session request message sent by the DRA 73 to the PCRF 74 is the UE address.
  • the DRA 73 sends the first Gx session response message to the PCEF.
  • the DRA 73 After receiving the second Gx session response message, the DRA 73 sends a first Gx session response message to the PCEF 72. At this point, the Gx session is established.
  • the PCEF 72 and the PCRF 74 may perform a Gx session through the DRA 73.
  • the user service information of the UE 71 carried in the data is the first address.
  • the UE 71 performs information registration on the AF76.
  • the UE accesses the network, and after the UE is allocated to the UE, the SIP is registered with the AF 76, and the UE passes the NAT device when registering with the AF, so the user service information of the UE registered in the AF is as described above.
  • NAT translated NAT address after NAT conversion is described above.
  • the AF 76 sends a first Rx session request message to the DRA 73.
  • the AF 76 sends a first Rx session request message to the DRA 73 when the user requests the RX session to provide the UEF with the user service information of the UE, where the first Rx session request message carries the NAT translated UE address. .
  • the DRA 73 determines to send a second Rx Session Request message to the PCRF 74.
  • the DRA 73 After the DRA 73 receives the first Rx session request message sent by the AF 76, if the DRA 73 performs steps 704 706 to 706, the mapping between the NAT translated UE address and the PCRF is already stored in the DRA. At this time, the DRA 73 may determine, according to the correspondence, that the second Rx session request message is sent to the PCRF, where the second Rx session request message carries the first address.
  • steps 71a and 71 lb may be performed to enable the DRA 73 to determine the PCRF 74 according to the NAT translated UE address.
  • DRA73 obtains the UE address from NAT75.
  • the DRA 73 acquires the UE address from the NAT device 75 according to the NAT translated UE address.
  • the DRA 73 may send an address query request carrying the NAT-converted UE address to the NAT device 75, and the NAT device 75 may query and return the UE address to the DRA 73 after receiving the address query request.
  • the DRA 73 establishes a binding relationship.
  • the DRA 73 After receiving the UE address returned by the NAT device 75, the DRA 73 establishes a binding relationship between the address of the PCRF, the UE address, and the NAT-converted UE address.
  • the address of the PCRF is the address of the corresponding PCRF 74 selected by the DRA for the UE according to the first Gx session request message carrying the UE address.
  • the DRA 73 sends a second Rx session request message carrying the first address to the PCRF 74, and the PCRF 74 returns a second Rx session response message to the DRA 73.
  • the DRA 73 sends a first Rx session response message to the AF76.
  • the DRA 73 sends a first Rx session response message to the AF 76, and the Rx session is established.
  • the PCRF 74 binds the Gx session to the Rx session.
  • the PCRF 74 establishes a Gx session with the PCEF 72, and after establishing an Rx session with the AF 76, binds the Gx session to the Rx session.
  • any other attribute DRA can automatically modify its own attributes to proxy DRA.
  • step 888 The DRA automatically modifies its own attributes to the proxy DRA.
  • the execution of step 888 is not limited to that shown in FIG. 8 after step 706, before 707.
  • the DRA learns the existence of the NAT device 75 by acquiring configuration data or performing message interaction with other network elements, the attribute modification can be performed.
  • the DRA can process the received Gx session request message and send it to the PCRF. The remaining steps are the same as in FIG.
  • the Gx session request message and the Rx session request message carrying the same first address are sent to the PCRF, so that the PCRF binds the Gx session and the Rx session under the same UE, and then selects the correct PCC rule.
  • Embodiment 2 This embodiment of the present invention provides a method for transmitting a session request. As shown in FIG. 9, the method includes the following steps:
  • the diameter routing agent DRA receives the first Gx session request message sent by the policy and charging execution entity PCEF, where the first Gx session request message includes the user equipment UE address.
  • the IP-CAN session request is initiated.
  • the PCEF allocates an IP address to the UE, and the IP address is called in the embodiment of the present invention.
  • UE address can be an IP address that is visible on the network. The UE obtains the UE address, and then establishes an IP-CAN session.
  • the DRA After the PCEF allocates the UE address to the UE, the DRA sends a first Gx session request message carrying the UE address, and the DRA receives the first Gx session request message carrying the UE address.
  • the DRA sends a first Gx session response message to the PCEF, where the first Gx session response message carries an address of a first address and a PCRF, where the first address includes the UE address or The NAT-transformed UE address corresponding to the UE address, so that the PCEF sends a second Gx session request message including the first address to the PCRF.
  • the DRA selects a corresponding PCRF among the plurality of PCRFs managed by the DRA according to the first Gx session request message.
  • a correspondence between the UE address and the selected PCRF may be stored in the DRA, for example, a correspondence between the UE address and the PCRF address is stored.
  • the NAT device in the network system can perform address translation on the address of the UE carried in the service data of the received UE.
  • the service data of the UE is transmitted to the NAT device through the PCEF
  • the user service information of the carried UE is the UE address
  • the NAT device receives the service data of the UE.
  • the UE address carried by the address is then translated.
  • the translated address is called the NAT translated UE address.
  • the NAT device transmits the user industry of the UE carried in the service data of other devices such as the AF
  • the service information is the UE address after NAT conversion.
  • the NAT-transformed UE address is a NAT-transformed IP address corresponding to the IP address of the UE or is related to the UE. IP address and port number after NAT translation corresponding to the IP address.
  • the NAT device may store a correspondence between the UE address and the NAT-converted UE address.
  • the DRA may perform the following steps C1 and C2. The correspondence between the NAT address and the PCRF is stored:
  • the DRA obtains the NAT converted UE address obtained from the NAT device according to the UE address.
  • the DRA may send an address query request carrying a UE address to the NAT device.
  • the NAT device queries and returns a NAT-converted UE address corresponding to the UE address to the DRA.
  • the DRA stores a correspondence between the NAT translated UE address and the PCRF according to the stored correspondence between the UE address and the PCRF.
  • the steps C1 and C2 may not be performed, and the DRA may directly send to the PCEF.
  • the PCEF After receiving the first Gx session response message, the PCEF directly sends a second Gx session request message including the first address to the PCRF, where the PCRF receives the second Gx session request message. A response message will be returned to the PCEF. At this point, the Gx session is established. The PCEF and the PCRF may not have to make a Gx session through the DRA.
  • the user service information of the UE carried in the data is the first address.
  • the DRA receives a first Rx session request message sent by the application function entity AF, where the first Rx session request message includes the NAT translated UE address.
  • the UE After the UE accesses the network, after the IP address is allocated, the UE registers with the AF, and the UE passes through the NAT device when registering with the AF, so the UE received by the AF
  • the user service information carried in the registration message is the NAT translated UE address converted by the NAT device.
  • the user service information carried in the first Rx session request message sent to the DRA is the NAT translated UE address when the AF is requested to perform the Rx session to provide the PCRF with the user service information of the UE.
  • the DRA determines to redirect the first Rx session request message to the PCRF according to the NAT translated UE address.
  • the DRA may perform the following steps D1 and D2 to redirect the Rx session request to the PCRF according to the NAT translated UE address. .
  • the DRA determines the UE address according to the NAT translated UE address.
  • the DRA obtains the UE address from the NAT device according to the NAT translated UE address.
  • the DRA may send an address query request carrying the NAT-converted UE address to the NAT device, and the NAT device may query and return the UE address to the DRA after receiving the address query request.
  • the DRA determines to redirect the first Rx session request message to the P CRF according to the stored correspondence between the UE address and the PCRF.
  • the DRA redirects the first Rx session request message to the PCRF according to the stored correspondence between the UE address and the PCRF and the UE address corresponding to the NAT translated UE address, that is, the The ultimate recipient of the UE's Rx Session Request message is the PCRF.
  • the DRA sends a first Rx session response message to the AF, where the first Rx session response message includes the first address and an address of the PCRF, so that the AF sends the PCRF to the PCRF.
  • the second Rx session request message of the first address Determining, by the DRA, that an Rx Session Request message for the UE is redirected to the After the PCRF, the first Rx session response message carrying the first address and the address of the PCRF is sent to the PCEF.
  • the AF After receiving the first Rx session response message, the AF directly sends a second Rx session request message including the first address to the PCRF, where the PCRF receives the first address carrying the first address.
  • the response message of the second Rx session request message is sent to the AF by the DRA, and an Rx session is established.
  • the AF and the PCRF may directly perform an Rx session without going through the DRA.
  • the PCRF associates the Gx session carrying the same first address with the Rx session, which ensures that the PCRF receives the information about the same UE provided by the PCEF and the AF, thereby ensuring the PCRF.
  • the method for transmitting a session request according to the embodiment of the present invention, the first Gx session response message carrying the same first address and the PCRF address and the first Rx session response message are respectively sent to the AF and the PCEF by using the DRA, so that the The AF and the PCEF respectively send a second Gx session request message and a second Rx session request message carrying the same first address to the PCRF, so that the PCRF binds the Gx session and the Rx session under the same UE. Determine, and then choose the correct PCC rules.
  • the embodiment of the present invention further provides an apparatus embodiment for implementing the steps and methods in the foregoing method embodiments, which is applied to the DRA. As shown in FIG.
  • an apparatus for transmitting a session request may be implemented on a DRA.
  • the apparatus includes: a Gx receiving unit 1001, a Gx transmitting unit 1002, an Rx receiving unit 1003, a processing unit 1004, and an Rx transmitting unit 1005.
  • the Gx receiving unit 1001 is configured to receive a first Gx session request message sent by the policy and charging execution entity PCEF, where the first Gx session request message includes a UE address.
  • the Gx sending unit 1002 is configured to send a first Gx session response message to the PCEF, where the first Gx session response message carries an address of a first address and a PCRF, where the first address is the UE address or The NAT-transformed UE address corresponding to the UE address, so that the PCEF sends a second Gx session request message including the first address to the PCRF.
  • the UE address is an IP address of the UE
  • the NAT translated UE address is The NAT-transformed IP address corresponding to the IP address of the UE or the NAT-transformed IP address and port number corresponding to the IP address of the UE.
  • the processing unit 1004 of the DRA may use the first Gx session request message in several PCRFs under the DRA management. Select a corresponding PCRF.
  • the DRA may store a correspondence between the UE address and a PCRF address, for example, may be stored in the processing unit 1004 or the Gx session sending unit 1002.
  • the Rx receiving unit 1003 is configured to receive a first Rx session request message sent by the application function entity AF, where the first Rx session request message includes the NAT translated UE address.
  • the processing unit 1004 is configured to determine to redirect the first Rx session request to the PCRF according to the NAT translated UE address in the first Rx session request message received by the Rx receiving unit.
  • the Rx sending unit 1005 is configured to send a first Rx session response message to the AF, where the first Rx session response message includes the first address and an address of the PCRF, so that the AF is sent to the PCRF Sending a second Rx session request message including the first address.
  • the processing unit 1004 may include: a first processing sub-unit 1041 and a second processing sub-unit 1042; the first processing sub-unit 1041, configured to perform, according to the NAT translated UE address Determining the UE address; the second processing sub-unit 1042, configured to determine to redirect the first Rx session request message to the PCRF according to the stored correspondence between the UE address and the PCRF.
  • the first processing sub-unit 1041 may be configured to obtain the UE address from a NAT device according to the NAT translated UE address.
  • the processing unit 1004 may include: a third processing subunit 1043; the third processing subunit 1043, configured to: according to the stored NAT translated UE address and the PCRF Correspondingly, determining to redirect the first Rx session request message to the PCRF.
  • the third processing sub-unit 1043 is further configured to acquire the UE address from the NAT device according to the received UE address, and store the NAT after the mapping according to the stored correspondence between the UE address and the PCRF. Correspondence between the UE address and the PCRF.
  • the above various transmitting units may be transmitters or transceivers
  • the receiving unit may be a receiver or a transceiver, and the transmitting unit and the receiving unit may be integrated to form a transceiver unit, which is implemented as a transceiver corresponding to hardware.
  • the above processing unit may be embedded in the processor of the base station in hardware or software.
  • the processor can be a central processing unit or a single chip microcomputer.
  • FIG. 13 is a schematic structural diagram of an apparatus for transmitting a session request according to an embodiment of the present invention.
  • the device can be implemented on the DRA.
  • the apparatus includes a transmitter 131, a receiver 132, a memory 133, and a processor 134 coupled to the transmitter 131, the receiver 132, and the memory 133, respectively.
  • the DRA may also include a common component such as an antenna, an input/output device, and the like, and the embodiment of the present invention is not limited herein.
  • the memory 133 stores a set of program codes
  • the processor 134 is configured to call the program code stored in the memory 133 for performing the following operations:
  • the processor 134 receives the first Gx session request message through the receiver 132, where The first Gx session request message includes a UE address, and the processor 134 sends a first Gx session response message to the PCEF by using the transmitter 131, where the first Gx session response message carries the first address and the PCRF.
  • the first address is the UE address or a NAT-converted UE address corresponding to the UE address, so that the PCEF sends a second Gx session request including the first address to the PCRF. Message.
  • the UE address is an IP address of the UE
  • the NAT-transformed UE address is a NAT-transformed IP address corresponding to the IP address of the UE or a NAT-transformed IP corresponding to the IP address of the UE.
  • Address and port number After the receiver 132 of the DRA receives the first Gx session request message carrying the UE address, the processor 134 of the DRA selects among the PCRFs under the DRA management according to the first Gx session request message. A corresponding PCRF.
  • the processor 134 of the DRA may store a correspondence between the UE address and a PCRF address.
  • the transmitter 131 of the DRA sends a first Gx session response message to the PCEF.
  • the processor 134 receives the first Rx session request message by the receiver 132, where the first Rx session request message includes the NAT translated UE address; the processor 134 is configured according to the NAT converted UE.
  • the address determination redirects the first Rx session request message to the PCRF; and sends, by the transmitter 131, a first Rx session response message to the AF, where the first Rx session response message includes the An address and an address of the PCRF, such that the AF sends a second Rx Session Request message including the first address to the PCRF.
  • the determining, by the processor 134, to redirect the first Rx session request message to the PCRF according to the NAT translated UE address may include:
  • the processor 134 determines the UE address according to the NAT translated UE address; the processor 134 determines to determine the first Rx session request message according to the stored correspondence between the UE address and the PCRF. Redirect to the PCRF.
  • the determining, by the processor 134, the UE address according to the NAT translated UE address may include:
  • the processor 134 acquires the UE address from the NAT device according to the NAT translated UE address.
  • the determining, by the processor 134, the redirecting the first Rx session request message to the PCRF according to the NAT translated UE address may include: the processor 134 according to the stored NAT converted UE Corresponding relationship between the address and the PCRF, determining to redirect the first Rx session request message to the PCRF.
  • the processor 134 may acquire the NAT-converted UE address from the NAT device according to the UE address, and store the NAT-transformed UE address and location according to the stored correspondence between the UE address and the PCRF. The correspondence between PCRFs.
  • the embodiment of the present invention further provides a system for transmitting a session request. As shown in FIG.
  • the DRA is the DRA described in the foregoing embodiment shown in FIG. 9 to FIG. 12; the NAT device 145 is configured to allocate the NAT-transformed UE address to the UE 141; and the PCEF 142 is configured to The DRA 143 sends the first Gx session request message, and receives the first Gx session response message from the DRA 143.
  • the AF 146 is configured to send the first Rx session request message to the DRA 143, and receive the location from the DRA 143.
  • the PCRF 144 is configured to receive a second Gx session request message that is sent by the PCEF 142 and that includes the first address, and a second that includes the first address that is sent by the AF 146 Rx session request message.
  • the communication process between the devices may include the following steps: 1401.
  • the PCEF 142 allocates the UE address to the UE 141.
  • the IP-CAN session request is initiated, and the PCEF 142 is connected.
  • the UE After receiving the IP-CAN session establishment request initiated by the UE, the UE is assigned an IP address such as XI, and the UE obtains the assigned address and establishes an IP-CAN session.
  • the PCEF 142 sends a first Gx session request message to the DRA 143.
  • the PCEF 142 After assigning the IP address to the UE 141, the PCEF 142 initiates a Gx session establishment request, and sends a first Gx session request message to the DRA 143, where the first Gx session request message carries the UE address.
  • DRA143 selects PCRF.
  • the DRA 143 selects a PCRF 144 in the domain in which the DRA is located according to the UE address XI carried in the received first Gx session request message.
  • the DRA 143 may store the correspondence between the address (e.g., F1) of the PCRF 144 and the UE address.
  • the correspondence between the stored PCRF and the UE address is achieved by storing the correspondence between the address of the PCRF 144 and the UE address.
  • steps 1404 to 1406 can be performed at this time.
  • the DRA 143 sends an address query request to the NAT device 145, where the address query request carries a UE address.
  • the DRA 143 sends an address query request to the NAT device 145, where the address query request carries a UE address, such as XI.
  • the NAT device 145 queries and returns a NAT translated UE address corresponding to the UE address.
  • the NAT device 145 can perform address translation on the address of the UE carried in the received service data of the UE.
  • the service data of the UE is transmitted to the NAT device 145 through the PCEF
  • the user service information of the carried UE is the UE address
  • the NAT device 145 carries the service data of the UE after receiving the service data.
  • the address of the UE is translated, and the translated address is called the UE address after NAT conversion.
  • the NAT device 145 may query and return the NAT-converted UE address corresponding to the UE address to the DRA 143 according to the UE address in the received address query request.
  • the UE address XI corresponds to the NAT translated UE address, such as the IP address Y1, or the IP address XI and the port number P1.
  • the DRA 143 establishes a binding relationship. After receiving the NAT-converted UE address returned by the NAT device 145, the DRA 143 establishes a binding relationship between the PCRF address, the UE address, and the NAT-converted UE address according to the NAT-transformed UE address. (ie correspondence). For example, the correspondence between F 1 , XI and Y1 , or the correspondence between Fl, XI and (Yl , P1 ).
  • the DRA 143 returns a first Gx session response message to the PCEF 142.
  • the DRA 143 returns a response message of the first Gx session request message to the PCEF 142, where the first Gx session response message carries a first address and an address of the PCRF 144, where the first address includes a UE address or a NAT converted UE address.
  • PCEF142 establishes a Gx session with PCRF 144.
  • the PCEF 142 may directly send a second Gx session request message carrying the first address to the PCRF 144 without redirecting the DRA 143.
  • the PCRF 1414 directly requests the message according to the second Gx session request message.
  • the PCEF sends a second Gx session response message, and no longer passes the redirected DRA 143, and the PCRF 144 and the PCEF 142 directly establish a Gx session.
  • the UE 141 registers information with the AF 146.
  • the UE 141 accesses the network, and after being assigned to the UE address, performs SIP registration (Register) to the AF 146, and the UE passes through the NAT device when registering with the AF, so the user service information registered by the UE 141 in the AF 146 is The NAT converted UE address after the NAT conversion.
  • SIP registration Registered
  • the AF 146 sends a first Rx session request message to the DRA 143.
  • the AF 146 sends a first Rx session request message to the DRA 143, and the user service information carried in the first Rx session request message is a NAT translation, when the user is requested to perform the Rx session to provide the PCRF with the user service information of the UE. After the UE address.
  • the DRA 143 determines to redirect the first Rx session request message to the PCRF.
  • the DRA 73 After the DRA 73 receives the first Rx session request message sent by the AF 76, if the DRA 144 performs steps 1404 to 1406, the mapping between the NAT translated UE address and the PCRF is already stored in the DRA. At this time, the DRA may directly redirect the Rx session request for the UE 141 to the PCRF according to the correspondence, that is, Determining the AF requires sending an Rx Session Request message to the PCRF. If the DRA 73 does not perform steps 1404 to 1406, the DRA needs to perform the following steps 1411a and 141 1b to redirect the Rx session request to the PCRF according to the NAT translated UE address.
  • DRA143 obtains the UE address from NAT145.
  • the DRA 143 obtains the UE address from the NAT device 145 according to the NAT translated UE address.
  • the DRA 143 may send an address query request carrying the NAT-converted UE address to the NAT device 145, and the NAT device 145 may query and return the UE address to the DRA 143 after receiving the address query request.
  • the DRA 73 establishes a binding relationship.
  • the DRA 143 After receiving the UE address returned by the NAT device 145, the DRA 143 establishes a binding relationship between the address of the PCRF, the UE address, and the NAT-converted UE address.
  • the address of the PCRF is the address of the corresponding PCRF 144 selected by the DRA according to the Gx session request message carrying the UE address.
  • the DRA 143 returns a first Rx session response message to the AF 146.
  • the DRA 143 returns a response message of the first Rx session request message to the AF 146, where the response message carries the address of the first address and the PCRF 144, where the first address includes a UE address or a NAT converted UE address.
  • the AF 146 establishes an Rx session with the PCRF 144.
  • the AF 146 may directly send the second Rx session request message carrying the first address to the PCRF 1414 without redirecting the DRA 143.
  • the PCRF 144 directly according to the The second Rx session request message sends a second Rx session response message to the AF 1414, and no longer passes the redirected DRA 143, and the PCRF 144 and the AF 146 directly establish an Rx session.
  • the PCRF 144 binds the Gx session to the Rx session.
  • the PCRF 144 establishes a Gx session with the PCEF 142, and after establishing an Rx session with the AF 1414, the Gx session is bound to the Rx session.
  • Method, device and system for transmitting session request provided by embodiment of the present invention, by DRA Transmitting, to the AF and the PCEF, a first Gx session response message and a first Rx session response message carrying the same first address and a PCRF address, respectively, so that the PCEF and the AF respectively send the same to the PCRF
  • the second Gx session request message and the second Rx session request message of the first address so that the PCRF binds the Gx session and the Rx session under the same UE, thereby selecting the correct PCC rule.

Abstract

The embodiments of the present invention provide a method, device and system for transmitting a session request, and relate to the communications field, so that a Gx session request message and an Rx session request message that carry the same address can be accurately received in the case where an NAT device is configured in a PCRF network, so as to accurately bind the Rx session and Gx session. The method comprises: after receiving a first Gx session request message carrying a UE address, a DRA sending a second Gx session request message carrying a first address to the PCRF, the first address being the UE address or a UE address obtained after NAT conversion; and then the DRA receiving a firsr Rx session request message carrying the UE address obtained after NAT conversion, and sending, when the DRA determines to send a second Rx session request message to the PCRF, the second Rx session request message carrying the first address to the PCRF.

Description

一种传输会话请求的方法、 装置及系统 技术领域  Method, device and system for transmitting session request
本发明涉及通信领域, 尤其涉及一种传输会话请求的方法、 装 置及系统。  The present invention relates to the field of communications, and in particular, to a method and a device system for transmitting a session request.
背景技术 Background technique
在 3GPP ( The 3rd Generation Partnership Project, 第三代合作伙伴 ) 中, 核心网采用 PCC ( Policy Control and Charging, 策略和计费控制 )架 构实现分组数据业务的 QoS ( Quality of Service, 服务质量)控制和计费。 在 PCC架构中, PCRF ( Policy Control and Charging Rules Function, 策略 控制和计费规则功能实体) 根据核心网内相关实体如 PCEF ( Policy and Charging Enforcement Function,策格和计费执行实体 )和 AF ( Application Function, 应用功能实体)等提供的信息为 UE ( User Equipment, 用户设 备 )制定合适的 PCC规则, 并将所述 PCC规则下发给 PCEF来执行。 所 述 PCRF与 PCEF通过 Gx接口来通信 , 所述 PCRF与 PCEF之间的连接 关系称为 Gx会话 , PCRF和 AF通过 Rx接口来通信 , 所述 PCRF与 AF 之间的连接关系称为 Rx会话。  In 3GPP (The 3rd Generation Partnership Project), the core network uses the PCC (Policy Control and Charging) architecture to implement QoS (Quality of Service) control for packet data services. Billing. In the PCC architecture, the PCRF (Policy Control and Charging Rules Function) is based on related entities in the core network, such as PCEF (Policy and Charging Enforcement Function) and AF (Application). The information provided by the function, the application function entity, and the like is used to formulate a suitable PCC rule for the UE (User Equipment), and the PCC rule is sent to the PCEF for execution. The PCRF communicates with the PCEF through a Gx interface. The connection relationship between the PCRF and the PCEF is called a Gx session, and the PCRF and the AF communicate through the Rx interface. The connection relationship between the PCRF and the AF is called an Rx session.
在实际的网络部署中, 同一个域中存在多个 PCRF , 分别负责为不同 的用户设备制定不同的 PCC 规则, 而 PCC规则的制定需要使用 PCEF 和 AF 传递的同一个 UE 的信息, 所以要保证规则的正确性就需要保证 PCRF可以接收到 PCEF和 AF发送的, 对于同一个 UE的 Gx会话和 RX 会话。 目前, 采用会话绑定技术, 所述 PCRF可以根据接收到的 Gx会话 和 Rx会话中携带的相同的 UE地址, 而将同一 UE下的 Gx会话和 Rx会 话绑定在一起。  In actual network deployment, multiple PCRFs exist in the same domain, which are responsible for formulating different PCC rules for different user equipments. The PCC rules need to use the information of the same UE transmitted by PCEF and AF. The correctness of the rules needs to ensure that the PCRF can receive Gx sessions and RX sessions sent by the PCEF and AF for the same UE. Currently, the session binding technology is used, and the PCRF can bind the Gx session and the Rx session under the same UE according to the same UE address carried in the received Gx session and the Rx session.
若在实际网络部署中, 在 PCEF 后部署有 NAT ( Network Address Translation, 网络地址转换 ) 装置时, PCEF通过 DRA ( Diameter Router Agent,直径路由代理)发送给 PCRF的 Gx会话请求中携带的地址为 XI。 AF通过 DRA发送给 PCRF的 Rx会话请求中携带的地址为 NAT后的地 址 X2, 这将导致所述 PCRF无法正确地将该 UE下的所述 Rx会话和 Gx 会话绑定在一起。 发明内容 If the network address translation (NAT) device is deployed after the PCEF, the address carried in the Gx session request sent by the PCEF to the PCRF through the DRA (diameter router agent) is XI. . The address carried in the Rx session request sent by the AF to the PCRF by the AF is the address X2 after the NAT, which will cause the PCRF to fail to correctly correct the Rx session and Gx under the UE. Sessions are tied together. Summary of the invention
本发明的实施例提供一种传输会话请求的方法、 装置及系统, 可以 使 PCRF在网络中部署 NAT装置的情况下, 能正确接收到携带有相同地 址的 Gx会话请求消息和 Rx会话请求消息, 进而正确的绑定 Rx会话和 Gx会话。  An embodiment of the present invention provides a method, an apparatus, and a system for transmitting a session request, which can enable a PCRF to correctly receive a Gx session request message and an Rx session request message carrying the same address when the NAT device is deployed in the network. Then correctly bind the Rx session and the Gx session.
为达到上述目的, 本发明的实施例采用如下技术方案:  In order to achieve the above object, the embodiment of the present invention adopts the following technical solutions:
一方面, 提供了一种传输会话请求的方法, 包括:  In one aspect, a method for transmitting a session request is provided, including:
直径路由代理 DRA接收第一 Gx 会话请求消息, 其中, 所述第一 Gx会话请求消息包含用户设备 UE地址;  The diameter routing agent DRA receives the first Gx session request message, where the first Gx session request message includes the user equipment UE address;
所述 DRA向策略控制和计费规则功能实体 PCRF发送第二 Gx会话 请求消息, 其中, 所述第二 Gx会话请求消息包含第一地址, 所述第一地 址为所述 UE地址或与所述 UE地址对应的 NAT转换后的 UE地址; 所述 DRA接收第一 Rx会话请求消息, 其中, 所述第一 Rx会话请 求消息包含所述 NAT转换后的 UE地址;  The DRA sends a second Gx session request message to the policy control and charging rule function entity PCRF, where the second Gx session request message includes a first address, the first address is the UE address or a NAT-converted UE address corresponding to the UE address; the DRA receives the first Rx session request message, where the first Rx session request message includes the NAT-transformed UE address;
所述 DRA根据所述 NAT转换后的 UE地址确定向所述 PCRF发送 第二 Rx会话请求消息;  Determining, by the DRA, a second Rx session request message to the PCRF according to the NAT translated UE address;
所述 DRA向所述 PCRF发送所述第二 Rx会话请求消息, 其中, 所 述第二 Rx会话请求消息包含所述第一地址。  The DRA sends the second Rx session request message to the PCRF, where the second Rx session request message includes the first address.
在第一种可能的实现方式中,所述 DRA根据所述 NAT转换后的 UE 地址确定向所述 PCRF发送第二 Rx会话请求消息, 包括:  In a first possible implementation, the DRA determines to send a second Rx session request message to the PCRF according to the NAT translated UE address, including:
所述 DRA根据所述 NAT转换后的 UE地址确定所述 UE地址; 所述 DRA根据存储的所述 UE地址和所述 PCRF的对应关系, 确定 向所述 PCRF发送所述第二 Rx会话请求消息。 结合第一方面的第一种可能的实现方式, 在第二种可能的实现方式 中,所述 DRA根据所述 NAT转换后的 UE地址确定所述 UE地址,包括: 所述 DRA根据所述 NAT转换后的 UE地址从 NAT装置获取所述 UE地址。 在第三种可能的实现方式中,所述 DRA根据所述 NAT转换后的 UE 地址确定向所述 PCRF发送第二 Rx会话请求消息, 包括: Determining, by the DRA, the UE address according to the NAT translated UE address; the DRA determining to send the second Rx session request message to the PCRF according to the stored correspondence between the UE address and the PCRF . With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, the DRA determines the UE address according to the NAT translated UE address, including: the DRA according to the NAT The converted UE address acquires the UE address from the NAT device. In a third possible implementation, the DRA determines to send a second Rx session request message to the PCRF according to the NAT translated UE address, including:
所述 DRA根据存储的所述 NAT转换后的 UE地址和所述 PCRF的 对应关系, 确定向所述 PCRF发送所述第二 Rx会话请求消息。  The DRA determines to send the second Rx session request message to the PCRF according to the stored correspondence between the NAT translated UE address and the PCRF.
结合第一方面以及第一方面的第三种可能的实现方式, 在第四种可 能的实现方式中,所述 DRA根据所述 UE地址从 NAT装置获取所述 NAT 转换后的 UE地址;  With reference to the first aspect, and the third possible implementation manner of the first aspect, in a fourth possible implementation, the DRA acquires the NAT translated UE address from a NAT device according to the UE address;
所述 DRA根据存储的所述 UE地址和所述 PCRF的对应关系, 存储 所述 NAT转换后的 UE地址和所述 PCRF的对应关系。 结合第一方面以及第一方面的第一、 二、 三和四种可能的实现方式, 在第五种可能的实现方式中,所述 Gx会话请求消息为策略及计费执行实 体 PCEF发送的, 所述 Rx会话请求消息为应用功能实体 AF发送的。 所 述 UE地址为 UE的 IP地址, 所述 NAT转换后的 UE地址为与所述 UE 的 IP地址对应的 NAT转换后的 IP地址或者为与所述 UE的 IP地址对应 的 NAT转换后的 IP地址和端口号。  And the DRA stores the correspondence between the NAT translated UE address and the PCRF according to the stored correspondence between the UE address and the PCRF. With reference to the first aspect, and the first, second, third, and four possible implementation manners of the first aspect, in a fifth possible implementation manner, the Gx session request message is sent by the policy and charging execution entity PCEF, The Rx session request message is sent by the application function entity AF. The UE address is an IP address of the UE, and the NAT-transformed UE address is a NAT-transformed IP address corresponding to the IP address of the UE or a NAT-transformed IP corresponding to the IP address of the UE. Address and port number.
第二方面, 还提供了一种直径路由代理 DRA, 包括:  In a second aspect, a diameter routing agent DRA is also provided, including:
Gx接收单元, 用于接收第一 Gx会话请求消息, 其中, 所述第一 Gx 会话请求消息包含用户设备 UE地址; a Gx receiving unit, configured to receive a first Gx session request message, where the first Gx session request message includes a user equipment UE address;
Gx发送单元, 用于向策略控制和计费规则功能实体 PCRF发送第二 Gx会话请求消息, 其中, 所述第二 Gx会话请求消息包含第一地址, 所 述第一地址为所述 UE地址或与所述 UE地址对应的 NAT转换后的 UE 地址; a Gx sending unit, configured to send a second Gx session request message to the policy control and charging rule function entity PCRF, where the second Gx session request message includes a first address, where the first address is the UE address or a NAT translated UE address corresponding to the UE address;
Rx接收单元, 用于接收第一 Rx会话请求消息, 其中, 所述第一 Rx 会话请求消息包含所述 NAT转换后的 UE地址; 处理单元, 用于根据所述 Rx接收单元接收到的所述第一 Rx会话请 求消息中的所述 NAT转换后的 UE地址确定向所述 PCRF发送第二 Rx 会话请求消息; An Rx receiving unit, configured to receive a first Rx session request message, where the first Rx session request message includes the NAT translated UE address, and a processing unit, configured to receive, according to the Rx receiving unit, the The NAT converted UE address in the first Rx session request message determines to send a second Rx session request message to the PCRF;
Rx发送单元, 用于向所述 PCRF发送第二 Rx会话请求消息, 其中, 所述第二 Rx会话请求消息包含所述第一地址。 在第一种可能的实现方式中, 所述处理单元, 包括: 第一处理子单 元和第二处理子单元; And an Rx sending unit, configured to send a second Rx session request message to the PCRF, where the second Rx session request message includes the first address. In a first possible implementation manner, the processing unit includes: a first processing subunit and a second processing subunit;
所述第一处理子单元, 用于根据所述 NAT转换后的 UE地址确定所 述 UE地址;  The first processing subunit, configured to determine, according to the NAT translated UE address, the UE address;
所述第二处理子单元, 用于根据存储的所述 UE 地址和所述 PCRF 的对应关系, 确定向所述 PCRF发送所述第二 Rx会话请求消息。  The second processing sub-unit is configured to determine, according to the stored correspondence between the UE address and the PCRF, the second Rx session request message to be sent to the PCRF.
在第二种可能的实现方式中, 所述第一处理子单元具体用于根据所 述 NAT转换后的 UE地址从 NAT装置获取所述 UE地址。  In a second possible implementation, the first processing sub-unit is specifically configured to acquire the UE address from a NAT device according to the NAT translated UE address.
在第三种可能的实现方式中, 所述处理单元, 包括: 第三处理子单 元;  In a third possible implementation manner, the processing unit includes: a third processing subunit;
所述第三处理子单元, 用于根据存储的所述 NAT转换后的 UE地址 和所述 PCRF的对应关系, 确定向所述 PCRF发送所述第二 Rx会话请求 消息。  And the third processing sub-unit is configured to determine, according to the stored correspondence between the NAT translated UE address and the PCRF, the second Rx session request message to the PCRF.
结合第二方面以及第二方面的第三种可能的实现方式, 在第四种可 能的实现方式中, 所述第三处理子单元还用于根据所述 UE地址从 NAT 装置获取所述 NAT转换后的 UE地址, 根据存储的所述 UE地址和所述 PCRF的对应关系 , 存储所述 NAT转换后的 UE地址和所述 PCRF的对 应关系。  With reference to the second aspect, and the third possible implementation manner of the second aspect, in a fourth possible implementation, the third processing sub-unit is further configured to acquire the NAT translation from the NAT device according to the UE address The subsequent UE address stores the correspondence between the NAT-converted UE address and the PCRF according to the stored correspondence between the UE address and the PCRF.
结合第二方面以及第二方面的第一、 二、 三和四种可能的实现方式, 在第五种可能的实现方式中,所述 Gx会话请求消息为策略及计费执行实 体 PCEF发送的, 所述 Rx会话请求消息为应用功能实体 AF发送的。 所 述 UE地址为 UE的 IP地址, 所述 NAT转换后的 UE地址为与所述 UE 的 IP地址对应的 NAT转换后的 IP地址或者为与所述 UE的 IP地址对应 的 NAT转换后的 IP地址和端口号。  With reference to the second aspect and the first, second, third and fourth possible implementation manners of the second aspect, in a fifth possible implementation manner, the Gx session request message is sent by the policy and charging execution entity PCEF, The Rx session request message is sent by the application function entity AF. The UE address is an IP address of the UE, and the NAT-transformed UE address is a NAT-transformed IP address corresponding to the IP address of the UE or a NAT-transformed IP corresponding to the IP address of the UE. Address and port number.
第三方面, 提供了一种直径路由代理 DRA, 包括: 接收机、 发射机, 存储器以及分别与所述接收机、 发射机和存储器连接的处理器, 所述存 储器存储一组程序代码, 所述处理器调用所述存储器中的程序代码用于 执行第一方面提供的所述操作。  In a third aspect, a diameter routing agent DRA is provided, including: a receiver, a transmitter, a memory, and a processor respectively connected to the receiver, the transmitter, and the memory, the memory storing a set of program codes, The processor invokes program code in the memory for performing the operations provided by the first aspect.
第四方面, 提供了一种系统, 包括: 用户设备 UE, 策略及计费执行 实体 PCEF、 直径路由代理 DRA、 策略和计费规则功能实体 PCRF、 网络 地址转换 NAT装置、 应用功能实体 AF; In a fourth aspect, a system is provided, including: user equipment UE, policy, and charging execution Entity PCEF, Diameter Routing Agent DRA, Policy and Charging Rules Function Entity PCRF, Network Address Translation NAT Device, Application Function Entity AF;
所述 DRA为上述的 DRA; 所述 NAT装置用于给所述 UE分配所述 NAT转换后的 UE地址; 所述 PCEF用于向所述 DRA发送所述第一 Gx会话请求消息; 所述 AF用于向所述 DRA发送所述第一 Rx会话请求消息; 所述 PCRF用于接 收所述 DRA发送的第二 Gx会话请求消息和所述第二 Rx会话请求消息。 第五方面, 提供了一种传输会话请求的方法, 包括:  The DRA is the foregoing DRA; the NAT device is configured to allocate the NAT-transformed UE address to the UE; the PCEF is configured to send the first Gx session request message to the DRA; The first Rx session request message is sent to the DRA; the PCRF is configured to receive a second Gx session request message and the second Rx session request message sent by the DRA. In a fifth aspect, a method for transmitting a session request is provided, including:
直径路由代理 DRA接收策略及计费执行实体 PCEF发送的第一 Gx 会话请求消息,其中,所述第一 Gx会话请求消息包含用户设备 UE地址; 所述 DRA向所述 PCEF发送第一 Gx会话响应消息, 所述第一 Gx 会话响应消息中携带有第一地址和 PCRF 的地址, 所述第一地址为所述 UE地址或与所述 UE地址对应的 NAT转换后的 UE地址, 以使得所述 PCEF向所述 PCRF发送包含所述第一地址的第二 Gx会话请求消息; 所述 DRA接收应用功能实体 AF发送的第一 Rx会话请求消息, 其 中, 所述第一 Rx会话请求消息包含所述 NAT转换后的 UE地址; 所述 DRA根据所述 NAT转换后的 UE地址确定将所述第一 Rx会话 请求重定向到所述 PCRF;  The diameter routing agent DRA receives the first Gx session request message sent by the policy and the charging execution entity PCEF, wherein the first Gx session request message includes a user equipment UE address; the DRA sends a first Gx session response to the PCEF The first Gx session response message carries the first address and the address of the PCRF, where the first address is the UE address or the NAT translated UE address corresponding to the UE address, so that the The PCEF sends a second Gx session request message including the first address to the PCRF; the DRA receives a first Rx session request message sent by the application function entity AF, where the first Rx session request message includes the The NAT-converted UE address; the DRA determines to redirect the first Rx session request to the PCRF according to the NAT translated UE address;
所述 DRA向所述 AF发送第一 Rx会话响应消息,所述第一 Rx会话 响应消息中包含所述第一地址和所述 PCRF的地址,以使得所述 AF向所 述 PCRF发送包含所述第一地址的第二 Rx会话请求消息。  The DRA sends a first Rx session response message to the AF, where the first Rx session response message includes the first address and an address of the PCRF, so that the AF sends the PCRF to the PCRF. The second Rx session request message of the first address.
在第一种可能的实现方式中,所述 DRA根据所述 NAT转换后的 UE 地址确定将所述第一 Rx会话请求重定向到所述 PCRF , 包括:  In a first possible implementation manner, the DRA, according to the NAT translated UE address, determines to redirect the first Rx session request to the PCRF, including:
所述 DRA根据所述 NAT转换后的 UE地址确定所述 UE地址; 所述 DRA根据存储的所述 UE地址和所述 PCRF的对应关系, 确定 将所述第一 Rx会话请求重定向到所述 PCRF。  Determining, by the DRA, the UE address according to the NAT translated UE address; the DRA determining to redirect the first Rx session request to the foregoing according to the stored correspondence between the UE address and the PCRF PCRF.
结合第一方面的第一种可能的实现方式, 在第二种可能的实现方式 中,所述 DRA根据所述 NAT转换后的 UE地址确定所述 UE地址,包括: 所述 DRA根据所述 NAT转换后的 UE地址从 NAT装置获取所述 UE地址。 With reference to the first possible implementation manner of the first aspect, in a second possible implementation, the determining, by the DRA, the UE address according to the NAT translated UE address, including: The DRA acquires the UE address from a NAT device according to the NAT translated UE address.
在第三种可能的实现方式中,所述 DRA根据所述 NAT转换后的 UE 地址确定将所述第一 Rx会话请求重定向到所述 PCRF , 包括:  In a third possible implementation manner, the DRA, according to the NAT translated UE address, determines to redirect the first Rx session request to the PCRF, including:
所述 DRA根据存储的所述 NAT转换后的 UE地址和所述 PCRF的 对应关系, 确定将所述第一 Rx会话请求重定向到所述 PCRF。 结合第五方面以及第五方面的第三种可能的实现方式, 在第四种可 能的实现方式中,所述 DRA根据所述 UE地址从 NAT装置获取所述 NAT 转换后的 UE地址;  And determining, by the DRA, to redirect the first Rx session request to the PCRF according to the stored correspondence between the NAT translated UE address and the PCRF. With reference to the fifth aspect, and the third possible implementation manner of the fifth aspect, in a fourth possible implementation, the DRA acquires the NAT translated UE address from a NAT device according to the UE address;
所述 DRA根据存储的所述 UE地址和所述 PCRF的对应关系, 存储 所述 NAT转换后的 UE地址和所述 PCRF的对应关系。 结合第五方面以及第五方面的第一、 二、 三和四种可能的实现方式, 在第五种可能的实现方式中, 所述 UE地址为 UE的 IP地址, 所述 NAT 转换后的 UE地址为与所述 UE的 IP地址对应的 NAT转换后的 IP地址 或者为与所述 UE的 IP地址对应的 NAT转换后的 IP地址和端口号。  And the DRA stores the correspondence between the NAT translated UE address and the PCRF according to the stored correspondence between the UE address and the PCRF. With reference to the fifth aspect and the first, second, third and fourth possible implementation manners of the fifth aspect, in a fifth possible implementation manner, the UE address is an IP address of the UE, and the NAT converted UE The address is a NAT-transformed IP address corresponding to the IP address of the UE or a NAT-converted IP address and port number corresponding to the IP address of the UE.
第六方面, 还提供了一种直径路由代理 DRA, 包括:  In a sixth aspect, a diameter routing agent DRA is also provided, including:
Gx接收单元, 用于接收策略及计费执行实体 PCEF发送的第一 Gx 会话请求消息, 其中, 所述第一 Gx会话请求消息包含 UE地址;  a Gx receiving unit, configured to receive a first Gx session request message sent by the policy and the charging execution entity PCEF, where the first Gx session request message includes a UE address;
Gx发送单元, 用于向所述 PCEF发送第一 Gx会话响应消息, 所述 第一 Gx会话响应消息中携带有第一地址和 PCRF的地址, 所述第一地址 为所述 UE地址或与所述 UE地址对应的 NAT转换后的 UE地址, 以使 得所述 PCEF向所述 PCRF发送包含所述第一地址的第二 Gx会话请求消 息; a Gx sending unit, configured to send a first Gx session response message to the PCEF, where the first Gx session response message carries an address of a first address and a PCRF, where the first address is the UE address or Determining, by the UE address, the NAT translated UE address, so that the PCEF sends a second Gx session request message including the first address to the PCRF;
Rx接收单元, 用于接收应用功能实体 AF发送的第一 Rx会话请求 消息, 其中, 所述第一 Rx会话请求消息包含所述 NAT转换后的 UE地 址; 处理单元, 用于根据所述 NAT 转换后的 UE 地址确定将所述第一 Rx会话请求重定向到所述 PCRF;  An Rx receiving unit, configured to receive a first Rx session request message sent by the application function entity AF, where the first Rx session request message includes the NAT translated UE address, and a processing unit, configured to perform, according to the NAT conversion The subsequent UE address determines to redirect the first Rx session request to the PCRF;
Rx发送单元, 用于向所述 AF发送第一 Rx会话响应消息, 所述第 一 Rx会话响应消息包含所述第一地址和所述 PCRF的地址, 以使得所述 AF向所述 PCRF发送包含所述第一地址的第二 Rx会话请求消息。 An Rx sending unit, configured to send a first Rx session response message to the AF, where the An Rx Session Response message includes the first address and an address of the PCRF to cause the AF to send a second Rx Session Request message including the first address to the PCRF.
在第一种可能的实现方式中, 所述处理单元, 包括: 第一处理子单 元和第二处理子单元;  In a first possible implementation manner, the processing unit includes: a first processing subunit and a second processing subunit;
所述第一处理子单元, 用于根据所述 NAT转换后的 UE地址确定所 述 UE地址;  The first processing subunit, configured to determine, according to the NAT translated UE address, the UE address;
所述第二处理子单元, 用于根据存储的所述 UE 地址和所述 PCRF 的对应关系, 确定将所述第一 Rx会话请求重定向到所述 P C RF。  The second processing sub-unit is configured to determine to redirect the first Rx session request to the P C RF according to the stored correspondence between the UE address and the PCRF.
在第二种可能的实现方式中, 所述第一处理子单元具体用于根据所 述 NAT转换后的 UE地址从 NAT装置获取所述 UE地址。  In a second possible implementation, the first processing sub-unit is specifically configured to acquire the UE address from a NAT device according to the NAT translated UE address.
在第三种可能的实现方式中, 所述处理单元, 包括: 第三处理子单 元;  In a third possible implementation manner, the processing unit includes: a third processing subunit;
所述第三处理子单元, 用于根据存储的所述 NAT转换后的 UE地址 和所述 PCRF 的对应关系, 确定将所述第一 Rx 会话请求重定向到所述 PCRF。 结合第四方面以及第四方面的第三种可能的实现方式, 在第四种可 能的实现方式中,所述第三处理子单元还用于根据接收到的所述 UE地址 从 NAT装置获取所述 NAT转换后的 UE地址,根据存储的所述 UE地址 和所述 PCRF的对应关系 ,存储所述 NAT转换后的 UE地址和所述 PCRF 的对应关系。  The third processing sub-unit is configured to determine to redirect the first Rx session request to the PCRF according to the stored correspondence between the NAT translated UE address and the PCRF. With reference to the fourth aspect, and the third possible implementation manner of the fourth aspect, in a fourth possible implementation, the third processing sub-unit is further configured to acquire, by the NAT device, according to the received UE address The NAT-converted UE address is used to store the correspondence between the NAT-converted UE address and the PCRF according to the stored correspondence between the UE address and the PCRF.
结合第六方面以及第六方面的第一、 二、 三和四种可能的实现方式, 在第五种可能的实现方式中, 所述 UE地址为 UE的 IP地址, 所述 NAT 转换后的 UE地址为与所述 UE的 IP地址对应的 NAT转换后的 IP地址 或者为与所述 UE的 IP地址对应的 NAT转换后的 IP地址和端口号。 第七方面, 提供了一种直径路由代理 DRA, 包括: 接收机、 发射机, 存储器以及分别与所述接收机、 发射机和存储器连接的处理器, 所述存 储器存储一组程序代码, 所述处理器调用所述存储器中的程序代码用于 执行第五方面提供的所述操作。 第八方面, 提供了一种系统, 包括: 用户设备 UE, 策略及计费执行 实体 PCEF、 直径路由代理 DRA、 策略和计费规则功能实体 PCRF、 网络 地址转换 NAT装置、 应用功能实体 AF; With reference to the sixth aspect, and the first, second, third, and fourth possible implementation manners of the sixth aspect, in a fifth possible implementation manner, the UE address is an IP address of the UE, and the NAT converted UE The address is a NAT-transformed IP address corresponding to the IP address of the UE or a NAT-converted IP address and port number corresponding to the IP address of the UE. In a seventh aspect, a diameter routing agent DRA is provided, including: a receiver, a transmitter, a memory, and a processor respectively connected to the receiver, the transmitter, and the memory, the memory storing a set of program codes, The processor invokes program code in the memory for performing the operations provided by the fifth aspect. In an eighth aspect, a system is provided, including: user equipment UE, policy, and charging execution Entity PCEF, Diameter Routing Agent DRA, Policy and Charging Rules Function Entity PCRF, Network Address Translation NAT Device, Application Function Entity AF;
所述 DRA为第六方面所述的 DRA; 所述 NAT装置用于给所述 UE分配所述 NAT转换后的 UE地址; 所述 PCEF用于向所述 DRA发送所述第一 Gx会话请求消息, 从所 述 DRA接收所述第一 Gx会话响应消息; 所述 AF用于向所述 DRA发送所述第一 Rx会话请求消息, 从所述 DRA接收所述第一 Rx会话响应消息; 所述 PCRF用于接收所述 PCEF发送的包含有所述第一地址的第二 Gx会话请求消息和所述 AF发送的包含有所述第一地址的第二 Rx会话请 求消息。  The DRA is the DRA of the sixth aspect; the NAT device is configured to allocate the NAT-transformed UE address to the UE; and the PCEF is configured to send the first Gx session request message to the DRA. Receiving, by the DRA, the first Gx session response message; the AF is configured to send the first Rx session request message to the DRA, and receive the first Rx session response message from the DRA; The PCRF is configured to receive a second Gx session request message that is sent by the PCEF and that includes the first address, and a second Rx session request message that is sent by the AF and that includes the first address.
通过上述方案提供的传输会话请求方法、 装置及系统, 可以通过 DRA将携带有第一地址的 Gx会话请求消息和携带有第一地址的 Rx会话 请求消息发送给 PCRF , 使得所述 PCRF接收到 Gx会话请求消息和 Rx 会话请求消息后, 根据其携带的所述第一地址正确地将 Rx会话同 Gx会 话绑定在一起。 或者, 通过 DRA分别向所述 PCEF和 AF发送携带有第 一地址和 PCRF地址的响应消息 ,从而使所述 PCEF将携带有第一地址的 Gx会话请求消息发送给 PCRF , 使所述 AF将携带有第一地址的 Rx会话 请求消息发送给 PCRF, 进而使得所述 PCRF接收到 Gx会话请求消息和 Rx会话请求消息后, 根据其携带的所述第一地址正确地将 Rx会话同 Gx 会话绑定在一起。  The GX session request message carrying the first address and the Rx session request message carrying the first address are sent to the PCRF by the DRA, so that the PCRF receives the Gx. After the session request message and the Rx session request message, the Rx session is correctly bound to the Gx session according to the first address carried by the session request message. Or sending, by the DRA, the response message carrying the first address and the PCRF address to the PCEF and the AF, respectively, so that the PCEF sends the Gx session request message carrying the first address to the PCRF, so that the AF will carry The Rx session request message with the first address is sent to the PCRF, so that after receiving the Gx session request message and the Rx session request message, the PCRF correctly binds the Rx session to the Gx session according to the first address carried by the PCRF. Together.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下 面将对实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于 本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以 根据这些附图获得其他的附图。 图 1为 PCC架构下的实际网络部署示意图;  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work. Figure 1 is a schematic diagram of actual network deployment under the PCC architecture;
图 2为实施例 1提供的一种传输会话请求的方法流程示意图; 图 3为实施例 1提供的一种 DRA的结构框图; 图 4为实施例 1提供的另一种 DRA的结构框图; 2 is a schematic flowchart of a method for transmitting a session request according to Embodiment 1; 3 is a structural block diagram of a DRA provided in Embodiment 1; FIG. 4 is a structural block diagram of another DRA provided in Embodiment 1;
图 5为实施例 1提供的另一种 DRA的结构框图;  5 is a structural block diagram of another DRA provided in Embodiment 1;
图 6为实施例 1提供的另一种 DRA的结构框图; 图 7为实施例 1提供的一种传输会话请求的系统的通信流程示意图; 图 8为实施例 1提供的另一种传输会话请求的系统的通信流程示意 图;  6 is a structural block diagram of another DRA provided by Embodiment 1. FIG. 7 is a schematic diagram of a communication flow of a system for transmitting a session request according to Embodiment 1. FIG. 8 is another transmission session request provided by Embodiment 1. Schematic diagram of the communication process of the system;
图 9为实施例 2提供的一种传输会话请求的方法流程示意图; 图 10为实施例 2提供的一种 DRA的结构框图;  9 is a schematic flowchart of a method for transmitting a session request according to Embodiment 2; FIG. 10 is a structural block diagram of a DRA provided in Embodiment 2;
图 1 1为实施例 2提供的另一种 DRA的结构框图; 图 12为实施例 2提供的另一种 DRA的结构框图;  FIG. 11 is a structural block diagram of another DRA provided in Embodiment 2; FIG. 12 is a structural block diagram of another DRA provided in Embodiment 2;
图 13为实施例 2提供的另一种 DRA的结构框图; 图 14 为实施例 2提供的一种传输会话请求的系统的通信流程示意 图。  13 is a structural block diagram of another DRA provided by Embodiment 2. FIG. 14 is a schematic diagram showing a communication flow of a system for transmitting a session request according to Embodiment 2.
具体实施方式 detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术 方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明 一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本 领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他 实施例, 都属于本发明保护的范围。 如图 1 所示为实际的网络部署情况, 可选的, 现有技术中的所述会 话绑定过程为: 所述 PCEF15接收到 UE14发起 IP-CAN会话建立请求消 息后给所述 UE14分配一个 IP地址 XI ,建立 IP-CAN会话。同时 PCEF15 向 DRA13提供 UE14的 IP地址等信息使得 DRA13据此选择一个 PCRF 如 PCRFl l ,并向选择的 PCRFl l发送 Gx会话请求消息, 当所述 PCRFl l 返回请求成功的响应消息建立 Gx会话后, 所述 DRA13就存储了 UE14 的 IP地址与 PCRFl l地址的对应关系 , 此后, 当有 AF17请求与 DRA13 下的 PCRF建立 Rx会话时, DRA13选择携带的 UE14的 IP地址为 XI 的 AF的 Rx会话请求, 并将此 AF的 Rx会话请求转发至与此 IP地址对 应的 PCRF11 , 使 PCRF11建立所述 Rx会话, 并与已建立的 UE的 IP地 址为 XI的 Gx会话绑定在一起。 而在实际的网络中, 在 PCEF15后部署 有 NAT装置 16时, AF17向 DRA发送的 Rx会话请求消息中携带的地址 为 NAT转换后的地址 X2 , 此时就需要应用本发明实施例提供的方法与 装置, 使所述 PCRF接收到的针对同一个 UE的 Gx会话请求消息和 Rx 会话请求消息中携带相同的地址。 本发明实施例中 DRA逻辑上是一个实现了直径 (Diameter )协议代 理功能的 Diameter节点, 有两种形式, 一种是代理 DRA, 所述代理 DRA 用于转发 PCEF和 AF与相应的 PCRF之间的通信业务信息; 另一种是重 定向 DRA, 所述重定向 DRA用于为所述 PCEF和 AF定向 PCRF , 保证 所述 PCEF和 AF向正确的 PCRF发送通信业务信息。 实施例 1 本发明实施例提供了一种传输会话请求的方法, 所述方法应用于代 理 DRA , 如图 2所示, 所述方法包括以下步骤: The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention. As shown in FIG. 1 , the actual network deployment is performed. Optionally, the session binding process in the prior art is: the PCEF 15 allocates a message to the UE 14 after receiving the IP-CAN session establishment request message by the UE 14 . IP address XI, establish an IP-CAN session. At the same time, the PCEF 15 provides the DRA 13 with the information such as the IP address of the UE 14 so that the DRA 13 selects a PCRF, such as the PCRF1, and sends a Gx session request message to the selected PCRF1, and after the PCRF1 returns a response message indicating that the request is successful, the Gx session is established. The DRA 13 stores the correspondence between the IP address of the UE 14 and the PCRFl address. Thereafter, when the AF17 request establishes an Rx session with the PCRF under the DRA 13, the DRA 13 selects the IP address of the UE 14 to be carried as XI. The Rx session request of the AF, and forwards the Rx session request of the AF to the PCRF11 corresponding to the IP address, so that the PCRF11 establishes the Rx session, and binds to the Gx session of the established UE whose IP address is XI. together. In the actual network, when the NAT device 16 is deployed after the PCEF15, the address carried in the Rx session request message sent by the AF17 to the DRA is the address X2 after the NAT translation, and the method provided by the embodiment of the present invention needs to be applied. And the device, that the Gx session request message and the Rx session request message received by the PCRF for the same UE carry the same address. In the embodiment of the present invention, the DRA is logically a Diameter node that implements the Diameter protocol proxy function. There are two forms, one is a proxy DRA, and the proxy DRA is used to forward the PCEF and the AF and the corresponding PCRF. The communication service information; the other is to redirect the DRA, the redirect DRA is used to direct the PCRF for the PCEF and the AF, and ensure that the PCEF and AF send communication service information to the correct PCRF. Embodiment 1 The embodiment of the present invention provides a method for transmitting a session request, where the method is applied to a proxy DRA. As shown in FIG. 2, the method includes the following steps:
201、 直径路由代理 DRA接收第一 Gx会话请求消息, 其中, 所述 第一 Gx会话请求消息包含用户设备 UE地址。 201. The diameter routing proxy DRA receives the first Gx session request message, where the first Gx session request message includes a user equipment UE address.
UE入网附着后, 发起建立 IP-CAN会话请求, PCEF接收到 UE发 起的 IP-CAN会话建立请求后 , 会给所述 UE分配一个 IP地址 , 该 IP地 址在本发明的实施例中被称为 UE地址。 所述 UE获得所述 IP地址, 则 建立了 IP-CAN会话。  After the UE is connected to the network, the IP-CAN session request is initiated. After receiving the IP-CAN session establishment request initiated by the UE, the PCEF allocates an IP address to the UE, and the IP address is called in the embodiment of the present invention. UE address. The UE obtains the IP address, and then establishes an IP-CAN session.
所述 PCEF给所述 UE分配了 IP地址之后, 会给 DRA发送携带有 UE地址的第一 Gx会话请求消息, 所述 DRA接收携带有 UE地址的第一 Gx会话请求消息。  After the PCEF allocates an IP address to the UE, the DRA sends a first Gx session request message carrying the UE address, and the DRA receives the first Gx session request message carrying the UE address.
202、所述 DRA向策略控制和计费规则功能实体 PCRF发送第二 Gx 会话请求消息, 其中, 所述第二 Gx会话请求消息中包含所述 UE的第一 地址, 所述第一地址可以为所述 UE地址或与所述 UE地址对应的 NAT 转换后的 UE地址。  202. The DRA sends a second Gx session request message to the policy control and charging rule function entity PCRF, where the second Gx session request message includes a first address of the UE, where the first address may be The UE address or a NAT-converted UE address corresponding to the UE address.
所述 DRA接收到携带有 UE地址的第一 Gx会话请求消息后, 会根 据所述第一 Gx会话请求消息在所述 DRA管理下的若干 PCRF中选择一 个相应的 PCRF。 此时所述 DRA 中可以存储所述 UE 地址和被选择的 PCRF的对应关系 ,例如存储所述 UE地址和所述 PCRF地址的对应关系。 网络系统中的 NAT 装置可以对接收到的 UE 的业务数据中携带的 UE地址进行地址转换。 在本发明实施例中, 当所述 UE的业务数据在通 过 PCEF传输至 NAT装置时, 所携带的 UE的用户业务信息为所述 UE 地址, 所述 NAT装置在接收到所述 UE的业务数据后会将其携带的 UE 地址进行地址转换, 转换后的地址称为 NAT转换后的 UE地址。 通过所 述 NAT装置后传输向其他设备如 AF的业务数据中携带的 UE的用户业 务信息都是 NAT转换后的 UE地址。 在本发明实施例中, 所述 UE地址 为 UE的 IP地址,所述 NAT转换后的 UE地址为与所述 UE的 IP地址对 应的 NAT转换后的 IP地址或者为与所述 UE的 IP地址对应的 NAT转换 后的 IP地址和端口号所述 NAT装置中可以存储有所述 UE地址和所述 NAT转换后的 UE地址的对应关系。 在所述 DRA发送给所述 PCRF的第二 Gx会话请求消息中包含的第 一地址为所述 NAT转换后的 UE地址的情况下, 所述 DRA可以执行以 下步骤 A1和 A2来存储 NAT转换后的 UE地址和 PCRF之间的对应关系: After receiving the first Gx session request message carrying the UE address, the DRA selects one of the PCRFs under the DRA management according to the first Gx session request message. Corresponding PCRF. The corresponding relationship between the UE address and the selected PCRF may be stored in the DRA, for example, the correspondence between the UE address and the PCRF address is stored. The NAT device in the network system can perform address translation on the UE address carried in the received service data of the UE. In the embodiment of the present invention, when the service data of the UE is transmitted to the NAT device through the PCEF, the user service information of the carried UE is the UE address, and the NAT device receives the service data of the UE. The UE address carried by the address is then translated. The translated address is called the NAT translated UE address. The user service information of the UE carried in the service data transmitted to the other device, such as the AF, by the NAT device is the NAT translated UE address. In the embodiment of the present invention, the UE address is an IP address of the UE, and the NAT-transformed UE address is a NAT-transformed IP address corresponding to the IP address of the UE or is an IP address with the UE. Corresponding NAT-converted IP address and port number The NAT device may store a correspondence between the UE address and the NAT-converted UE address. In a case that the first address included in the second Gx session request message sent by the DRA to the PCRF is the NAT translated UE address, the DRA may perform the following steps A1 and A2 to store the NAT after the NAT translation. Correspondence between the UE address and the PCRF:
A1、所述 DRA根据所述 UE地址从 NAT装置获取所述 NAT转换后 的 UE地址。 所述 DRA可以向 NAT装置发送携带有 UE地址的地址查询请求, 所述 NAT装置接收到所述地址查询请求后会查询并向所述 DRA返回所 述 UE地址对应的 NAT转换后的 UE地址。 A1. The DRA acquires the NAT translated UE address from the NAT device according to the UE address. The DRA may send an address query request carrying a UE address to the NAT device. After receiving the address query request, the NAT device queries and returns a NAT-converted UE address corresponding to the UE address to the DRA.
A2、 所述 DRA根据存储的所述 UE地址和所述 PCRF的对应关系, 存储所述 NAT转换后的 UE地址和所述 PCRF的对应关系。  A2: The DRA stores a correspondence between the NAT-converted UE address and the PCRF according to the stored correspondence between the UE address and the PCRF.
在第二 Gx会话请求消息中包含的第一地址为所述 UE地址情况下, 就可以不必执行步骤 A1和 A2, 所述 DRA可以直接向所述 PCRF转发包 含了所述 UE地址的第二 Gx会话请求消息。 所述 PCRF 在接收到所述第二 Gx 会话请求消息后可以通过所述 DRA向所述 PCEF发送所述的第二 Gx会话请求消息的响应消息, 此时, Gx会话建立。所述 PCEF和所述 PCRF可以通过所述 DRA进行 Gx会话。 在进行 Gx会话时, Gx会话数据中携带的 UE的用户业务信息都为所述 第一地址。 In the case that the first address included in the second Gx session request message is the UE address, the steps A1 and A2 may not be performed, and the DRA may directly forward the second Gx including the UE address to the PCRF. Session request message. After receiving the second Gx session request message, the PCRF may send a response message of the second Gx session request message to the PCEF by using the DRA, and the Gx session is established. The PCEF and the PCRF may perform a Gx session through the DRA. When the Gx session is performed, the user service information of the UE carried in the Gx session data is the First address.
203、 所述 DRA接收第一 Rx会话请求消息, 其中, 所述第一 Rx会 话请求消息包含所述 NAT转换后的 UE地址。 203. The DRA receives a first Rx session request message, where the first Rx session request message includes the NAT translated UE address.
UE接入网络,分配到 UE地址后,会向 AF进行 SIP( Session Initiation Protocol, 会话发起协议) 注册 (Register ) , 所述 UE在向所述 AF注册 时会通过 NAT装置, 故所述 AF接收到的注册请求中携带的用户业务信 息, 可以为经过所述 NAT装置转换的所述 NAT转换后的 UE地址。 故所 述 AF在请求进行 Rx会话为所述 PCRF提供所述 UE的用户业务信息时, 发送的第一 Rx会话请求消息中携带的用户业务信息可以为 NAT转换后 的 UE地址。 After the UE accesses the network and allocates the address to the UE, the UE performs a SIP (Session Initiation Protocol) registration (Register), and the UE passes through the NAT device when registering with the AF, so the AF receives the UE. The user service information carried in the registration request may be the NAT translated UE address converted by the NAT device. The user service information carried in the first Rx session request message sent by the AF may be the NAT translated UE address when the AF is requested to perform the Rx session to provide the UEF with the user service information of the UE.
204、 所述 DRA根据所述 NAT转换后的 UE地址确定向所述 PCRF 发送第二 Rx会话请求消息。  204. The DRA determines to send a second Rx session request message to the PCRF according to the NAT translated UE address.
执行步骤 204时, 若所述 DRA 已经执行了步骤 A1和 A2 , 则所述 DRA中已经存储了所述 NAT转换后的 UE地址和所述 PCRF的对应关系, 此时, 所述 DRA可以直接根据该对应关系, 确定向所述 PCRF发送所述 第二 Rx会话请求消息。  When the step 204 is performed, if the DRA has performed the steps A1 and A2, the mapping between the NAT-converted UE address and the PCRF is already stored in the DRA, and the DRA may be directly based on the DRA. The correspondence determines that the second Rx session request message is sent to the PCRF.
若所述 DRA未执行步骤 A 1和 A2 , 则所述 DRA可以执行以下步 骤 B1和 B2来根据所述 NAT转换后的 UE地址确定向所述 PCRF发送第 二 Rx会话请求消息。  If the DRA does not perform steps A 1 and A2, the DRA may perform the following steps B1 and B2 to determine to send a second Rx session request message to the PCRF according to the NAT translated UE address.
B1、 所述 DRA根据所述 NAT转换后的 UE地址确定所述 UE地址。 所述 DRA可以根据所述 NAT转换后的 UE地址从 NAT装置获取所 述 UE地址。 所述 DRA可以向 NAT装置发送携带有 NAT转换后的 UE 地址的地址查询请求, 所述 NAT装置接收到所述地址查询请求后会查询 并向所述 DRA返回所述 UE地址。  B1. The DRA determines the UE address according to the NAT translated UE address. The DRA may acquire the UE address from the NAT device according to the NAT translated UE address. The DRA may send an address query request carrying the NAT-transformed UE address to the NAT device, and the NAT device may query and return the UE address to the DRA after receiving the address query request.
B2、 所述 DRA根据存储的所述 UE地址和所述 PCRF的对应关系, 确定向所述 PCRF发送所述第二 Rx会话请求消息。  B2. The DRA determines to send the second Rx session request message to the PCRF according to the stored correspondence between the UE address and the PCRF.
所述 DRA可以根据已经存储的所述 UE地址和所述 PCRF的对应关 系以及所述 NAT转换后的 UE地址对应的 UE地址, 确定向所述 PCRF 发送所述第二 Rx会话请求消息。 205、所述 DRA向所述 PCRF发送所述第二 Rx会话请求消息,其中, 所述第二 Rx会话请求消息包含所述第一地址。 所述 DRA确定了向所述 PCRF发送所述第二 Rx会话请求消息, 就 会向所述 PCRF发送携带有所述第一地址的第二 Rx会话请求消息。 The DRA may determine to send the second Rx session request message to the PCRF according to the already stored relationship between the UE address and the PCRF and the UE address corresponding to the NAT translated UE address. 205. The DRA sends the second Rx session request message to the PCRF, where the second Rx session request message includes the first address. The DRA determines to send the second Rx session request message to the PCRF, and sends a second Rx session request message carrying the first address to the PCRF.
所述 PCRF接收到所述携带有第一地址的第二 Rx会话请求消息后会 通过所述 DRA向所述 AF发送所述的第二 Rx会话请求消息的响应消息 , 建立 Rx会话。所述 PCEF和所述 PCRF可以通过所述 DRA进行 Rx会话。 在进行 Rx会话时,数据中携带的 UE的用户业务信息都为所述第一地址。 这样所述 PCRF就会将携带有相同第一地址的 Gx会话和 Rx会话关联起 来, 这就保证了所述 PCRF接收到所述 PCEF和 AF提供的同一个 UE的 相关信息, 从而保证所述 PCRF选择出正确的 PCC规则。  After receiving the second Rx session request message carrying the first address, the PCRF sends a response message of the second Rx session request message to the AF through the DRA to establish an Rx session. The PCEF and the PCRF may perform an Rx session through the DRA. When the Rx session is performed, the user service information of the UE carried in the data is the first address. In this way, the PCRF associates the Gx session carrying the same first address with the Rx session, which ensures that the PCRF receives the information about the same UE provided by the PCEF and the AF, thereby ensuring the PCRF. Choose the correct PCC rules.
当然, 任何 DRA都可以将自己的属性修改为代理 DRA来进行上述 方法中所述的步骤。 本发明实施例提供的一种传输会话请求的方法,通过 DRA将携带有 相同第一地址的 Gx会话请求消息和 Rx会话请求消息发送给 PCRF , 从 而使得所述 PCRF将同一个 UE下的 Gx会话和 Rx会话进行绑定, 进而 选择出正确的 PCC规则。 本发明实施例进一步给出实现上述方法实施例中各步骤及方法的装 置实施例, 应用于 DRA。 如图 3所示, 为本发明实施例提供的一种传输 会话请求的装置, 所述装置包括: Gx接收单元 301 , Gx发送单元 302 , Rx接收单元 303 , 处理单元 304 , Rx发送单元 305。  Of course, any DRA can modify its own properties to proxy DRA to perform the steps described in the above method. A method for transmitting a session request is provided by the embodiment of the present invention, and the Gx session request message and the Rx session request message carrying the same first address are sent to the PCRF by using the DRA, so that the PCRF will perform the Gx session under the same UE. Bind with the Rx session to select the correct PCC rules. The embodiment of the present invention further provides an apparatus embodiment for implementing the steps and methods in the foregoing method embodiments, which is applied to the DRA. As shown in FIG. 3, an apparatus for transmitting a session request according to an embodiment of the present invention includes: a Gx receiving unit 301, a Gx sending unit 302, an Rx receiving unit 303, a processing unit 304, and an Rx sending unit 305.
Gx接收单元 301 , 用于接收第一 Gx会话请求消息, 其中, 所述第 一 Gx会话请求消息包含用户设备 UE地址。 所述 UE地址为 UE的 IP地 址, 或者所述 UE地址为 UE的 IP地址和 UE的端口号。  The Gx receiving unit 301 is configured to receive a first Gx session request message, where the first Gx session request message includes a user equipment UE address. The UE address is an IP address of the UE, or the UE address is an IP address of the UE and a port number of the UE.
Gx发送单元 302, 用于向策略控制和计费规则功能实体 PCRF发送 第二 Gx会话请求消息,其中, 所述第二 Gx会话请求消息包含第一地址, 所述第一地址为所述 UE地址或与所述 UE地址对应的 NAT转换后的 UE 地址。 所述 UE地址可以为 UE的 IP地址, 所述 NAT转换后的 UE地址为 与所述 UE的 IP地址对应的 NAT转换后的 IP地址; 或者, 所述 UE地 址可以为 UE的 IP地址和 UE的端口号或者为与所述 UE的 IP地址对应 的 NAT转换后的 IP地址和端口号。 The Gx sending unit 302 is configured to send a second Gx session request message to the policy control and charging rule function entity PCRF, where the second Gx session request message includes a first address, where the first address is the UE address Or a NAT-converted UE address corresponding to the UE address. The UE address may be an IP address of the UE, and the NAT-transformed UE address is a NAT-transformed IP address corresponding to the IP address of the UE; or The address may be an IP address of the UE and a port number of the UE or a NAT-translated IP address and port number corresponding to the IP address of the UE.
所述 DRA的 Gx接收单元 301接收到携带有 UE地址的第一 Gx会 话请求消息后, 所述 DRA的处理单元 304会根据所述第一 Gx会话请求 消息在所述 DRA管理下的若干 PCRF中选择一个相应的 PCRF。所述 DRA 可以存储所述 UE地址和 PCRF地址的对应关系,例如可以存储在处理单 元 304或者 Gx发送单元 302中。  After the Gx receiving unit 301 of the DRA receives the first Gx session request message carrying the UE address, the processing unit 304 of the DRA may use the first Gx session request message in several PCRFs under the DRA management. Select a corresponding PCRF. The DRA may store a correspondence between the UE address and a PCRF address, for example, may be stored in the processing unit 304 or the Gx transmitting unit 302.
Rx接收单元 303 , 用于接收第一 Rx会话请求消息, 其中, 所述第 一 Rx会话请求消息包含所述 NAT转换后的 UE地址。 The Rx receiving unit 303 is configured to receive the first Rx session request cancellation, where the first Rx session request message includes the NAT translated UE address.
处理单元 304, 用于根据所述 Rx接收单元接收到的所述第一 Rx会 话请求消息中的所述 NAT转换后的 UE地址确定向所述 PCRF发送第二 Rx会话请求消息。  The processing unit 304 is configured to determine, according to the NAT translated UE address in the first Rx session request message received by the Rx receiving unit, to send a second Rx session request message to the PCRF.
Rx发送单元 305 , 用于向所述 PCRF发送所述第二 Rx会话请求消 息, 其中, 所述第二 Rx会话请求消息包含所述第一地址。  The Rx sending unit 305 is configured to send the second Rx session request message to the PCRF, where the second Rx session request message includes the first address.
如图 4所示, 所述处理单元 304可以包括: 第一处理子单元 3041和 第二处理子单元 3042; 所述第一处理子单元 3041 , 用于根据所述 NAT 转换后的 UE地址确定所述 UE地址; 所述第二处理子单元 3042, 用于根 据存储的所述 UE地址和所述 PCRF的对应关系,确定向所述 PCRF发送 所述第二 Rx会话请求消息。 所述第一处理子单元 3041 可以具体用于根 据所述 NAT转换后的 UE地址从 NAT装置获取所述 UE地址。  As shown in FIG. 4, the processing unit 304 may include: a first processing subunit 3041 and a second processing subunit 3042; the first processing subunit 3041, configured to determine, according to the NAT translated UE address The second processing sub-unit 3042 is configured to determine to send the second Rx session request message to the PCRF according to the stored correspondence between the UE address and the PCRF. The first processing sub-unit 3041 may be specifically configured to acquire the UE address from the NAT device according to the NAT translated UE address.
或者, 如图 5所示, 所述处理单元 304可以包括: 第三处理子单元 3043 ; 所述第三处理子单元 3043 , 用于根据存储的所述 NAT 转换后的 UE地址和所述 PCRF的对应关系 , 确定向所述 PCRF发送所述第二 Rx 会话请求消息。 所述第三处理子单元还用于根据所述 UE地址从 NAT装 置获取所述 NAT转换后的 UE地址, 并根据存储的所述 UE地址和所述 PCRF的对应关系 , 存储所述 NAT转换后的 UE地址和所述 PCRF的对 应关系。  Alternatively, as shown in FIG. 5, the processing unit 304 may include: a third processing sub-unit 3043; the third processing sub-unit 3043, configured to: according to the stored NAT translated UE address and the PCRF Correspondingly, determining to send the second Rx session request message to the PCRF. The third processing sub-unit is further configured to acquire the NAT-transformed UE address from the NAT device according to the UE address, and store the NAT after the mapping according to the stored correspondence between the UE address and the PCRF. Correspondence between the UE address and the PCRF.
在硬件实现上, 以上各种发送单元可以为发射机或收发机, 以上各 种接收单元可以为接收机或收发机, 且该发送单元和接收单元可以集成 在一起构成收发单元, 对应于硬件实现为收发机。 以上处理单元可以以 硬件形式或软件形式内嵌于基站的处理器中。 该处理器可以为中央处理 单元, 也可以为单片机。 In hardware implementation, the above various sending units may be transmitters or transceivers, and the above various receiving units may be receivers or transceivers, and the sending unit and the receiving unit may be integrated to form a transceiver unit, corresponding to hardware implementation. For the transceiver. The above processing unit can The hardware form or software form is embedded in the processor of the base station. The processor can be a central processing unit or a single chip microcomputer.
如图 6所示, 为本发明实施例所提供的一种传输会话请求的装置的 结构示意图。 该装置可以在 DRA上实现。 所述装置包括发射机 61、 接收 机 62、 存储器 63 以及分别与发射机 61、 接收机 62和存储器 63连接的 处理器 64。 当然,所述 DRA还可以包括天线、输入输出装置等通用部件, 本发明实施例在此不作任何限制。  FIG. 6 is a schematic structural diagram of an apparatus for transmitting a session request according to an embodiment of the present invention. The device can be implemented on the DRA. The apparatus includes a transmitter 61, a receiver 62, a memory 63, and a processor 64 coupled to the transmitter 61, the receiver 62, and the memory 63, respectively. Of course, the DRA may also include a common component such as an antenna, an input/output device, and the like, and the embodiment of the present invention is not limited herein.
其中, 存储器 63 中存储一组程序代码, 处理器 64用于调用存储器 63中存储的程序代码, 用于执行以下操作:  The memory 63 stores a set of program codes, and the processor 64 is configured to call the program code stored in the memory 63 for performing the following operations:
所述处理器 64通过接收机 62接收第一 Gx会话请求消息, 其中, 所述第一 Gx会话请求消息包含 UE地址; 所述处理器 64通过发射机 61 向 PCRF发送第二 Gx会话请求消息, 其中, 所述第二 Gx会话请求消息 包含所述 UE的第一地址, 所述第一地址为所述 UE地址或与所述 UE地 址对应的 NAT转换后的 UE地址。 所述 UE地址为 UE的 IP地址, 所述 NAT转换后的 UE地址为与所述 UE的 IP地址对应的 NAT转换后的 IP 地址或者为与所述 UE的 IP地址对应的 NAT转换后的 IP地址和端口号。  The processor 64 receives the first Gx session request message by the receiver 62, where the first Gx session request message includes a UE address; the processor 64 sends a second Gx session request message to the PCRF through the transmitter 61, The second Gx session request message includes a first address of the UE, and the first address is the UE address or a NAT translated UE address corresponding to the UE address. The UE address is an IP address of the UE, and the NAT-transformed UE address is a NAT-transformed IP address corresponding to the IP address of the UE or a NAT-transformed IP corresponding to the IP address of the UE. Address and port number.
所述 DRA的接收机 62接收到携带有 UE地址的第一 Gx会话请求消 息后, 所述 DRA的处理器 64会根据所述第一 Gx会话请求消息在所述 DRA管理下的若干 PCRF中选择一个相应的 PCRF。 所述 DRA的处理器 64可以存储所述 UE地址和 PCRF地址的对应关系。 所述 DRA的发射机 61会向所述 PCRF发送第二 Gx会话请求消息,  After the receiver 62 of the DRA receives the first Gx session request message carrying the UE address, the processor 64 of the DRA selects among several PCRFs under the DRA management according to the first Gx session request message. A corresponding PCRF. The processor 64 of the DRA may store a correspondence between the UE address and a PCRF address. The transmitter 61 of the DRA sends a second Gx session request message to the PCRF.
所述处理器 64通过接收机 62接收第一 Rx会话请求消息, 其中, 所 述第一 Rx会话请求消息包含所述 NAT转换后的 UE地址; 所述处理器 64根据所述 NAT转换后的 UE地址确定向所述 PCRF发送第二 Rx会话 请求消息; 并通过所述发射机 61向所述 PCRF发送所述第二 Rx会话请 求消息, 其中, 所述第二 Rx会话请求消息包含所述第一地址。  The processor 64 receives the first Rx session request message by the receiver 62, where the first Rx session request message includes the NAT translated UE address; the processor 64 is configured according to the NAT converted UE. The address determination sends a second Rx session request message to the PCRF; and sends the second Rx session request message to the PCRF by using the transmitter 61, where the second Rx session request message includes the first address.
所述处理器 64根据所述 NAT转换后的 UE地址确定向所述 PCRF 发送第二 Rx会话请求消息可以包括:  The determining, by the processor, the sending, by the UE, the second Rx session request message to the PCRF according to the NAT translated UE address may include:
所述处理器 64根据所述 NAT转换后的 UE地址确定所述 UE地址; 所述处理器 64根据存储的所述 UE地址和所述 PCRF的对应关系, 确定 向所述 PCRF发送所述第二 Rx会话请求消息。 所述处理器 64根据所述 NAT转换后的 UE地址确定所述 UE地址, 可以包括: The processor 64 determines the UE address according to the NAT translated UE address; the processor 64 determines, according to the stored correspondence between the UE address and the PCRF, Sending the second Rx session request message to the PCRF. The determining, by the processor, the UE address, according to the NAT translated UE address, may include:
所述处理器 64根据所述 NAT转换后的 UE地址从 NAT装置获取所 述 UE地址。 或者, 所述处理器 64根据所述 NAT转换后的 UE地址确定向所述 PCRF发送第二 Rx会话请求消息可以包括: 所述处理器 64根据存储的所述 NAT转换后的 UE地址和所述 PCRF 的对应关系, 确定向所述 PCRF发送第二 Rx会话请求消息。 所述处理器 64可以根据所述 UE地址从 NAT装置获取所述 NAT转换后的 UE地址, 根据存储的所述 UE地址和所述 PCRF的对应关系, 存储所述 NAT转换 后的 UE地址和所述 PCRF的对应关系。 上述的第一 Gx会话请求消息可以为 PCEF发送的, 所述第一 Rx会 话请求消息可以为 AF发送的。 本发明实施例还提供一种传输会话请求的系统, 如图 7所示, 所述 系统包括 UE71 , PCEF72, DRA73 , PCRF74, NAT装置 75 , AF76。 所 述 DRA73为上述图 3〜图 6所示的实施例中所述的 DRA;所述 NAT装置 75用于给所述 UE71分配所述 NAT转换后的 UE地址; 所述 PCEF72用 于向所述 DRA73 发送第一 Gx 会话请求消息; 所述 AF76 用于向所述 DRA73发送第一 Rx会话请求消息; 所述 PCRF74用于接收所述 DRA73 发送的包含有所述第一地址的第二 Gx 会话请求消息和包含有所述第一 地址的第二 Rx会话请求消息。  The processor 64 acquires the UE address from the NAT device according to the NAT translated UE address. Or the determining, by the processor 64, the sending, by the NAT, the second Rx session request message to the PCRF according to the NAT translated UE address, the processor 64: the processor 64 according to the stored NAT translated UE address and the Corresponding relationship of the PCRF, determining to send a second Rx session request message to the PCRF. The processor 64 may acquire the NAT-converted UE address from the NAT device according to the UE address, and store the NAT-transformed UE address and location according to the stored correspondence between the UE address and the PCRF. The correspondence between PCRFs. The foregoing first Gx session request message may be sent by the PCEF, and the first Rx session request message may be sent by the AF. The embodiment of the present invention further provides a system for transmitting a session request. As shown in FIG. 7, the system includes UE71, PCEF72, DRA73, PCRF74, NAT device 75, and AF76. The DRA 73 is the DRA described in the foregoing embodiment shown in FIG. 3 to FIG. 6; the NAT device 75 is configured to allocate the NAT-transformed UE address to the UE 71; The DRA 73 sends a first Gx session request message; the AF 76 is configured to send a first Rx session request message to the DRA 73; the PCRF 74 is configured to receive the second Gx session request that is sent by the DRA 73 and includes the first address And a message and a second Rx session request message including the first address.
具体的, 各设备之间的通信流程可以包括如下步骤:  Specifically, the communication process between the devices may include the following steps:
701、 PCEF72给 UE71分酉己 UE地址。 701. The PCEF 72 assigns the UE address to the UE 71.
UE71入网附着后, 发起建立 IP-CAN会话请求, 所述 PCEF72接收 到 UE发起的 IP-CAN会话建立请求后 , 给所述 UE分配一个 IP地址。 该 IP地址在本发明实施例中被称为 UE地址例如 , PCEF为所述 UE分配了 一个 IP地址 XI。 UE获得了分配的地址并建立了 IP-CAN会话。  After the UE 71 is attached to the network, the IP-CAN session request is initiated. After receiving the IP-CAN session establishment request initiated by the UE, the PCEF 72 allocates an IP address to the UE. The IP address is referred to as a UE address in the embodiment of the present invention. For example, the PCEF allocates an IP address XI to the UE. The UE obtains the assigned address and establishes an IP-CAN session.
702、 PCEF72向 DRA73发送第一 Gx会话请求消息。 PCEF72在给 UE71分配好 IP地址后, 会发起 Gx会话建立请求, 向 DRA73 发送第一 Gx会话请求消息, 所述第一 Gx会话请求消息中携带 有 UE地址。 702. The PCEF 72 sends a first Gx session request message to the DRA 73. After the IP address is assigned to the UE 71, the PCEF 72 initiates a Gx session establishment request, and sends a first Gx session request message to the DRA 73. The first Gx session request message carries the UE address.
703、 DRA73选择 PCRF。 703, DRA73 select PCRF.
DRA73根据接收到的第一 Gx会话请求消息中携带的 UE地址 XI在 DRA所在的域中选择一个 PCRF74。 DRA73可以存储 PCRF74的地址(例 如, F1 ) 与所述 UE地址的对应关系。 通过存储 PCRF74 的地址和所述 UE地址的对应关系, 实现了存储 PCRF和所述 UE地址的对应关系。 可选的, 此时可以执行步骤 704〜706。 The DRA 73 selects a PCRF 74 in the domain in which the DRA is located according to the UE address XI carried in the received first Gx session request message. The DRA 73 can store the correspondence between the address of the PCRF 74 (e.g., F1) and the UE address. The correspondence between the stored PCRF and the UE address is achieved by storing the correspondence between the address of the PCRF 74 and the UE address. Optionally, steps 704-706 can be performed at this time.
704、 DRA73向 NAT装置 75发送地址查询请求。 704. The DRA 73 sends an address query request to the NAT device 75.
DRA73向 NAT装置 75发送地址查询请求, 所述地址查询请求中携 带有 UE地址, 例如 XI。  The DRA 73 sends an address query request to the NAT device 75, which carries the UE address, such as XI.
705、 所述 NAT装置 75查询并返回所述 UE地址对应的 NAT转换 后的 UE地址。 705. The NAT device 75 queries and returns a NAT translated UE address corresponding to the UE address.
NAT装置 75可以对接收到的 UE的业务数据中携带的 UE的地址进 行地址转换。当所述 UE的业务数据在通过 PCEF传输至 NAT装置 75时, 所携带的 UE的用户业务信息为所述 UE地址, 所述 NAT装置 75在接收 到所述 UE的业务数据后, 会将其携带的 UE地址进行地址转换, 转换后 的地址称为 NAT转换后的 UE地址。 所述 NAT装置 75可以根据接收到的地址查询请求中的 UE地址, 查询并向所述 DRA73返回所述 UE地址对应的 NAT转换后的 UE地址。 例如 , UE地址 XI对应 NAT转换后的 UE地址为 IP地址 Y1 , 或 IP地址 Y1和端口号 P l。  The NAT device 75 can perform address translation on the address of the UE carried in the received service data of the UE. When the service data of the UE is transmitted to the NAT device 75 through the PCEF, the user service information of the carried UE is the UE address, and after receiving the service data of the UE, the NAT device 75 will The carried UE address is used for address translation, and the translated address is called a NAT translated UE address. The NAT device 75 can query and return the NAT-converted UE address corresponding to the UE address to the DRA 73 according to the UE address in the received address query request. For example, the UE address XI corresponding to the NAT converted UE address is the IP address Y1, or the IP address Y1 and the port number P l.
706、 所述 DRA73建立绑定关系。 706. The DRA 73 establishes a binding relationship.
DRA73在接收到所述 NAT装置 75返回的所述 NAT转换后的 UE 地址后, 会根据所述 NAT转换后的 UE地址建立起 PCRF 74的地址、 UE 地址和 NAT转换后的 UE地址的绑定关系 (即对应关系) 。 例如, F 1、 XI和 Y1的对应关系, 或者 Fl、 XI和 (Yl , P1 ) 的对应关系。  After receiving the NAT-converted UE address returned by the NAT device 75, the DRA 73 establishes a binding of the address of the PCRF 74, the UE address, and the NAT-converted UE address according to the NAT-transformed UE address. Relationship (ie correspondence). For example, the correspondence between F 1, XI, and Y1, or the correspondence between Fl, XI, and (Yl, P1).
707、 DRA73向 PCRF74发送第二 Gx会话请求消息 , PCRF74返回 第二 Gx会话响应消息。 707. The DRA 73 sends a second Gx session request message to the PCRF 74, and the PCRF 74 returns. The second Gx session response message.
DRA73将携带有第一地址的第二 Gx会话请求消息发送给 PCRF74, 所述第一地址为所述 UE地址或与所述 UE地址对应的 NAT转换后的 UE 地址。所述 PCRF74接收到所述第二 Gx会话请求消息后会向所述 DRA73 返回所述第二 Gx会话请求消息的响应消息。 若执行了步骤 704〜707 , 则 所述 DRA73向所述 PCRF74发送的第二 Gx会话请求消息中携带的第一 地址既可以是 UE地址也可以是与所述 UE地址对应的 NAT转换后的 UE 地址, 若未执行步骤 704〜707 , 则所述 DRA73向所述 PCRF74发送的第 二 Gx会话请求消息中携带的第一地址是 UE地址。 The DRA 73 sends a second Gx session request message carrying the first address to the PCRF 74, where the first address is the UE address or a NAT-converted UE address corresponding to the UE address. After receiving the second Gx session request message, the PCRF 74 returns a response message of the second Gx session request message to the DRA 73. If the steps 704 to 707 are performed, the first address carried in the second Gx session request message sent by the DRA 73 to the PCRF 74 may be a UE address or a NAT-converted UE corresponding to the UE address. The address, if the steps 704 to 707 are not performed, the first address carried in the second Gx session request message sent by the DRA 73 to the PCRF 74 is the UE address.
708、 DRA73将第一 Gx会话响应消息发送给 PCEF。  708. The DRA 73 sends the first Gx session response message to the PCEF.
DRA73接收到所述第二 Gx会话响应消息后, 向 PCEF72发送第一 Gx会话响应消息。 此时, Gx会话建立。 所述 PCEF72和所述 PCRF74可 以通过所述 DRA73进行 Gx会话。在进行 Gx会话时,数据中携带的 UE71 的用户业务信息都为所述第一地址。  After receiving the second Gx session response message, the DRA 73 sends a first Gx session response message to the PCEF 72. At this point, the Gx session is established. The PCEF 72 and the PCRF 74 may perform a Gx session through the DRA 73. When the Gx session is performed, the user service information of the UE 71 carried in the data is the first address.
709、 UE71向 AF76进行信息注册。  709. The UE 71 performs information registration on the AF76.
UE接入网络, 分配到 UE地址后, 会向 AF76进行 SIP 注册, 所述 UE在向所述 AF注册时会通过 NAT装置, 故所述 UE注册在所述 AF的 用户业务信息为经过所述 NAT转换的所述 NAT转换后的 UE地址。  The UE accesses the network, and after the UE is allocated to the UE, the SIP is registered with the AF 76, and the UE passes the NAT device when registering with the AF, so the user service information of the UE registered in the AF is as described above. NAT translated NAT address after NAT conversion.
710、 AF76向所述 DRA73发送第一 Rx会话请求消息。  710. The AF 76 sends a first Rx session request message to the DRA 73.
AF76在申请进行 Rx会话为所述 PCRF提供所述 UE的用户业务信 息时,会向所述 DRA73发送第一 Rx会话请求消息, 所述第一 Rx会话请 求消息中携带有 NAT转换后的 UE地址。  The AF 76 sends a first Rx session request message to the DRA 73 when the user requests the RX session to provide the UEF with the user service information of the UE, where the first Rx session request message carries the NAT translated UE address. .
71 1、 DRA73确定向 PCRF74发送第二 Rx会话请求消息。 71 1. The DRA 73 determines to send a second Rx Session Request message to the PCRF 74.
DRA73接收到所述 AF76发送的第一 Rx会话请求消息后, 若所述 DRA73执行了步骤 704〜706则所述 DRA中已经存储了所述 NAT转换后 的 UE地址和所述 PCRF的对应关系 , 此时, 所述 DRA73可以根据该对 应关系, 确定向所述 PCRF 发送所述第二 Rx会话请求消息, 所述第二 Rx会话请求消息中携带有所述第一地址。  After the DRA 73 receives the first Rx session request message sent by the AF 76, if the DRA 73 performs steps 704 706 to 706, the mapping between the NAT translated UE address and the PCRF is already stored in the DRA. At this time, the DRA 73 may determine, according to the correspondence, that the second Rx session request message is sent to the PCRF, where the second Rx session request message carries the first address.
若所述 DRA73未执行了步骤 704〜706,则可以执行步骤 71 la和 71 lb 来使所述 DRA73根据所述 NAT转换后的 UE地址确定向所述 PCRF74 发送所述第二 R x会话请求消息: If the DRA 73 does not perform steps 704-706, steps 71a and 71 lb may be performed to enable the DRA 73 to determine the PCRF 74 according to the NAT translated UE address. Sending the second R x session request message:
71 1a, DRA73从 NAT75中获取 UE地址。  71 1a, DRA73 obtains the UE address from NAT75.
所述 DRA73根据所述 NAT转换后的 UE地址从 NAT装置 75获取 所述 UE地址。 所述 DRA73可以向 NAT装置 75发送携带有 NAT转换 后的 UE地址的地址查询请求,所述 NAT装置 75接收到所述地址查询请 求后会查询并向所述 DRA73返回所述 UE地址。  The DRA 73 acquires the UE address from the NAT device 75 according to the NAT translated UE address. The DRA 73 may send an address query request carrying the NAT-converted UE address to the NAT device 75, and the NAT device 75 may query and return the UE address to the DRA 73 after receiving the address query request.
71 1b, 所述 DRA73建立绑定关系。  71 1b, the DRA 73 establishes a binding relationship.
DRA73在接收到所述 NAT装置 75返回的所述 UE地址后, 会建立 起 PCRF的地址、 UE地址和 NAT转换后的 UE地址的绑定关系。 所述 PCRF的地址是所述 DRA根据携带有 UE地址的第一 Gx会话请求消息, 为所述 UE选择的相应的 PCRF74的地址。  After receiving the UE address returned by the NAT device 75, the DRA 73 establishes a binding relationship between the address of the PCRF, the UE address, and the NAT-converted UE address. The address of the PCRF is the address of the corresponding PCRF 74 selected by the DRA for the UE according to the first Gx session request message carrying the UE address.
712、 DRA73向所述 PCRF74发送携带有所述第一地址的第二 Rx会 话请求消息 , 所述 PCRF74则向 DRA73返回第二 Rx会话响应消息。 712. The DRA 73 sends a second Rx session request message carrying the first address to the PCRF 74, and the PCRF 74 returns a second Rx session response message to the DRA 73.
713、 DRA73向 AF76发送第一 Rx会话响应消息。 713. The DRA 73 sends a first Rx session response message to the AF76.
DRA73向 AF76发送第一 Rx会话响应消息, Rx会话建立。  The DRA 73 sends a first Rx session response message to the AF 76, and the Rx session is established.
714、 PCRF74绑定所述 Gx会话与所述 Rx会话。  714. The PCRF 74 binds the Gx session to the Rx session.
PCRF74在和 PCEF72建立 Gx会话, 和 AF76建立 Rx会话后 , 会将 所述 Gx会话与所述 Rx会话绑定在一起。  The PCRF 74 establishes a Gx session with the PCEF 72, and after establishing an Rx session with the AF 76, binds the Gx session to the Rx session.
可选的,任何的其他属性的 DRA都可以将自己的属性自动修改为代 理 DRA。 如图 8所示, 增加步骤 888:  Optionally, any other attribute DRA can automatically modify its own attributes to proxy DRA. As shown in Figure 8, add step 888:
888: 所述 DRA将自己的属性自动修改为代理 DRA。 步骤 888的执行不限于图 8 中所示的在步骤 706之后, 707之前。 实际上, 当 DRA通过获取配置数据或与其他网元进行消息交互等方式获 知 NAT装置 75的存在后,即可进行属性修改。处理 Gx会话请求消息时, 当 DRA的属性为代理 DRA时 , 该 DRA即可对收到的 Gx会话请求消息 进行处理后发送到 PCRF。 其余步骤与图 7中相同。 本发明实施例提供的传输会话请求的方法、 装置和系统, 通过 DRA 将携带有相同第一地址的 Gx 会话请求消息和 Rx 会话请求消息发送给 PCRF , 从而使得所述 PCRF将同一个 UE下的 Gx会话和 Rx会话进行绑 定, 进而选择出正确的 PCC规则。 888: The DRA automatically modifies its own attributes to the proxy DRA. The execution of step 888 is not limited to that shown in FIG. 8 after step 706, before 707. In fact, when the DRA learns the existence of the NAT device 75 by acquiring configuration data or performing message interaction with other network elements, the attribute modification can be performed. When processing the Gx session request message, when the attribute of the DRA is the proxy DRA, the DRA can process the received Gx session request message and send it to the PCRF. The remaining steps are the same as in FIG. Method, device and system for transmitting session request provided by embodiment of the present invention, by DRA The Gx session request message and the Rx session request message carrying the same first address are sent to the PCRF, so that the PCRF binds the Gx session and the Rx session under the same UE, and then selects the correct PCC rule.
实施例 2 本发明实施例提供了一种传输会话请求的方法, 如图 9所示, 所述 方法包括以下步骤:  Embodiment 2 This embodiment of the present invention provides a method for transmitting a session request. As shown in FIG. 9, the method includes the following steps:
901、 直径路由代理 DRA接收策略及计费执行实体 PCEF发送的第 一 Gx会话请求消息,其中,所述第一 Gx会话请求消息包含用户设备 UE 地址。  901. The diameter routing agent DRA receives the first Gx session request message sent by the policy and charging execution entity PCEF, where the first Gx session request message includes the user equipment UE address.
UE入网附着后, 发起建立 IP-CAN会话请求, PCEF接收到 UE发 起的 IP-CAN会话建立请求后 , 会给所述 UE分配一个 IP地址 , 该 IP地 址在本发明的实施例中被称为 UE地址。 该 IP地址可以为在网络可见的 IP地址。 所述 UE获得该 UE地址, 则建立了 IP-CAN会话。 After the UE is connected to the network, the IP-CAN session request is initiated. After receiving the IP-CAN session establishment request initiated by the UE, the PCEF allocates an IP address to the UE, and the IP address is called in the embodiment of the present invention. UE address. The IP address can be an IP address that is visible on the network. The UE obtains the UE address, and then establishes an IP-CAN session.
所述 PCEF给所述 UE分配好 UE地址之后, 会给 DRA发送携带有 UE地址的第一 Gx会话请求消息, 所述 DRA接收携带有 UE地址的第一 Gx会话请求消息。  After the PCEF allocates the UE address to the UE, the DRA sends a first Gx session request message carrying the UE address, and the DRA receives the first Gx session request message carrying the UE address.
902、 所述 DRA向所述 PCEF发送第一 Gx会话响应消息, 所述第一 Gx会话响应消息中携带有第一地址和 PCRF的地址, 所述第一地址包括 所述 UE地址或与所述 UE地址对应的 NAT转换后的 UE地址, 以使得 所述 PCEF向所述 PCRF发送包含所述第一地址的第二 Gx会话请求消息。 所述 DRA接收到携带有 UE地址的第一 Gx会话请求消息后, 会根 据所述第一 Gx会话请求消息在所述 DRA管理下的若干 PCRF中选择一 个相应的 PCRF。 所述 DRA 中可以存储所述 UE地址和被选择的 PCRF 的对应关系, 例如存储所述 UE地址和所述 PCRF地址的对应关系。 902. The DRA sends a first Gx session response message to the PCEF, where the first Gx session response message carries an address of a first address and a PCRF, where the first address includes the UE address or The NAT-transformed UE address corresponding to the UE address, so that the PCEF sends a second Gx session request message including the first address to the PCRF. After receiving the first Gx session request message carrying the UE address, the DRA selects a corresponding PCRF among the plurality of PCRFs managed by the DRA according to the first Gx session request message. A correspondence between the UE address and the selected PCRF may be stored in the DRA, for example, a correspondence between the UE address and the PCRF address is stored.
网络系统中的 NAT 装置可以对接收到的 UE 的业务数据中携带的 UE的地址进行地址转换。 在本发明实施例中, 当所述 UE的业务数据在 通过 PCEF传输至 NAT装置时,所携带的 UE的用户业务信息为所述 UE 地址, 所述 NAT装置在接收到所述 UE的业务数据后会将其携带的 UE 地址进行地址转换, 转换后的地址称为 NAT转换后的 UE地址。 通过所 述 NAT装置后传输向其他设备如 AF的业务数据中携带的 UE的用户业 务信息都是 NAT转换后的 UE地址。 在本发明实施例中, 若所述 UE地 址为 UE的 IP地址,则所述 NAT转换后的 UE地址为与所述 UE的 IP地 址对应的 NAT转换后的 IP地址或者为与所述 UE的 IP地址对应的 NAT 转换后的 IP地址和端口号。所述 NAT装置中可以存储有所述 UE地址和 所述 NAT转换后的 UE地址的对应关系。 在所述 DRA发送给所述 PCEF的第一 Gx会话响应消息中包含的第 一地址为所述 UE地址对应的 NAT转换后的 UE地址的情况下 ,所述 DRA 可以执行以下步骤 C1和 C2来存储 NAT转换后的 UE地址和 PCRF之间 的对应关系: The NAT device in the network system can perform address translation on the address of the UE carried in the service data of the received UE. In the embodiment of the present invention, when the service data of the UE is transmitted to the NAT device through the PCEF, the user service information of the carried UE is the UE address, and the NAT device receives the service data of the UE. The UE address carried by the address is then translated. The translated address is called the NAT translated UE address. After the NAT device transmits the user industry of the UE carried in the service data of other devices such as the AF The service information is the UE address after NAT conversion. In the embodiment of the present invention, if the UE address is an IP address of the UE, the NAT-transformed UE address is a NAT-transformed IP address corresponding to the IP address of the UE or is related to the UE. IP address and port number after NAT translation corresponding to the IP address. The NAT device may store a correspondence between the UE address and the NAT-converted UE address. In a case that the first address included in the first Gx session response message sent by the DRA to the PCEF is the NAT translated UE address corresponding to the UE address, the DRA may perform the following steps C1 and C2. The correspondence between the NAT address and the PCRF is stored:
C1、所述 DRA根据所述 UE地址从 NAT装置获取的所述 NAT转换 后的 UE地址。 所述 DRA可以向 NAT装置发送携带有 UE地址的地址查询请求, 所述 NAT装置接收到所述地址查询请求后会查询并向所述 DRA返回所 述 UE地址对应的 NAT转换后的 UE地址。  C1. The DRA obtains the NAT converted UE address obtained from the NAT device according to the UE address. The DRA may send an address query request carrying a UE address to the NAT device. After receiving the address query request, the NAT device queries and returns a NAT-converted UE address corresponding to the UE address to the DRA.
C2、 所述 DRA根据存储的所述 UE地址和所述 PCRF的对应关系, 存储所述 NAT转换后的 UE地址和所述 PCRF的对应关系。 在所述 DRA发送给所述 PCEF的第一 Gx会话响应消息中包含的第 一地址为所述 UE地址的情况下, 就可以不必执行步骤 C1 和 C2, 所述 DRA可以直接向所述 PCEF发送包含了所述第一地址的第一 Gx会话响 应消息。  C2: The DRA stores a correspondence between the NAT translated UE address and the PCRF according to the stored correspondence between the UE address and the PCRF. In a case that the first address included in the first Gx session response message sent by the DRA to the PCEF is the UE address, the steps C1 and C2 may not be performed, and the DRA may directly send to the PCEF. A first Gx session response message including the first address.
所述 PCEF 在接收到所述第一 Gx 会话响应消息后会直接向所述 PCRF发送包含所述第一地址的第二 Gx会话请求消息, 所述 PCRF接收 到所述第二 Gx会话请求消息后会向所述 PCEF返回响应消息。 此时, Gx 会话建立。 所述 PCEF和所述 PCRF可以不必通过所述 DRA进行 Gx会 话。 在进行 Gx会话时, 数据中携带的 UE的用户业务信息都为所述第一 地址。  After receiving the first Gx session response message, the PCEF directly sends a second Gx session request message including the first address to the PCRF, where the PCRF receives the second Gx session request message. A response message will be returned to the PCEF. At this point, the Gx session is established. The PCEF and the PCRF may not have to make a Gx session through the DRA. When the Gx session is performed, the user service information of the UE carried in the data is the first address.
903、所述 DRA接收应用功能实体 AF发送的第一 Rx会话请求消息, 其中, 所述第一 Rx会话请求消息包含所述 NAT转换后的 UE地址。 903. The DRA receives a first Rx session request message sent by the application function entity AF, where the first Rx session request message includes the NAT translated UE address.
UE接入网络, 分配到 IP地址后, 会向所述 AF进行 SIP注册, 所述 UE在向所述 AF注册时会通过 NAT装置, 故所述 AF接收到的所述 UE 注册消息中携带的用户业务信息为经过所述 NAT 装置转换的所述 NAT 转换后的 UE地址。 故所述 AF在请求进行 Rx会话为所述 PCRF提供所 述 UE的用户业务信息时, 向所述 DRA发送的第一 Rx会话请求消息中 携带的用户业务信息为 NAT转换后的 UE地址。 After the UE accesses the network, after the IP address is allocated, the UE registers with the AF, and the UE passes through the NAT device when registering with the AF, so the UE received by the AF The user service information carried in the registration message is the NAT translated UE address converted by the NAT device. The user service information carried in the first Rx session request message sent to the DRA is the NAT translated UE address when the AF is requested to perform the Rx session to provide the PCRF with the user service information of the UE.
904、 所述 DRA根据所述 NAT转换后的 UE地址确定将所述第一 Rx会话请求消息重定向到所述 PCRF。  904. The DRA determines to redirect the first Rx session request message to the PCRF according to the NAT translated UE address.
执行步骤 904时, 若所述 DRA 已经执行了步骤 C1和 C2 , 则所述 DRA中已经存储了所述 NAT转换后的 UE地址和所述 PCRF的对应关系, 此时, 所述 DRA可以直接根据该对应关系, 将所述第一 Rx会话请求消 息重定向到所述 PCRF , 即针对该 UE的 Rx会话请求消息的最终接收者 为所述 PCRF。 若在执行步骤 902时,所述 DRA未执行步骤 C1和 C2 ,则所述 DRA 可以执行以下步骤 D1和 D2来根据所述 NAT转换后的 UE地址将所述 Rx会话请求重定向到所述 PCRF。  When the step 904 is performed, if the DRA has performed the steps C1 and C2, the corresponding relationship between the NAT-converted UE address and the PCRF is already stored in the DRA, and the DRA may be directly based on the DRA. The correspondence, redirecting the first Rx session request message to the PCRF, that is, the final recipient of the Rx session request message for the UE is the PCRF. If the DRA does not perform steps C1 and C2 when performing step 902, the DRA may perform the following steps D1 and D2 to redirect the Rx session request to the PCRF according to the NAT translated UE address. .
D1、所述 DRA根据所述 NAT转换后的 UE地址确定所述 UE地址。 可选的, 所述 DRA根据所述 NAT转换后的 UE地址从 NAT装置获 取所述 UE地址。 所述 DRA可以向 NAT装置发送携带有 NAT转换后的 UE地址的地址查询请求, 所述 NAT装置接收到所述地址查询请求后会 查询并向所述 DRA返回所述 UE地址。  D1. The DRA determines the UE address according to the NAT translated UE address. Optionally, the DRA obtains the UE address from the NAT device according to the NAT translated UE address. The DRA may send an address query request carrying the NAT-converted UE address to the NAT device, and the NAT device may query and return the UE address to the DRA after receiving the address query request.
D2、 所述 DRA根据存储的所述 UE地址和所述 PCRF的对应关系, 确定将所述第一 Rx会话请求消息重定向到所述 P CRF。  D2. The DRA determines to redirect the first Rx session request message to the P CRF according to the stored correspondence between the UE address and the PCRF.
所述 DRA根据存储的所述 UE地址和所述 PCRF的对应关系以及所 述 NAT转换后的 UE地址对应的 UE地址,将所述第一 Rx会话请求消息 重定向到所述 PCRF, 即针对该 UE的 Rx会话请求消息的最终接收者为 所述 PCRF。  The DRA redirects the first Rx session request message to the PCRF according to the stored correspondence between the UE address and the PCRF and the UE address corresponding to the NAT translated UE address, that is, the The ultimate recipient of the UE's Rx Session Request message is the PCRF.
905、 所述 DRA向所述 AF发送第一 Rx会话响应消息, 所述第一 Rx会话响应消息中包含所述第一地址和所述 PCRF的地址, 以使得所述 AF向所述 PCRF发送包含所述第一地址的第二 Rx会话请求消息。 所述 DRA在确定将针对该 UE 的 Rx会话请求消息重定向到所述 PCRF后, 会向所述 PCEF发送携带有所述第一地址和所述 PCRF的地址 的第一 Rx会话响应消息。 905. The DRA sends a first Rx session response message to the AF, where the first Rx session response message includes the first address and an address of the PCRF, so that the AF sends the PCRF to the PCRF. The second Rx session request message of the first address. Determining, by the DRA, that an Rx Session Request message for the UE is redirected to the After the PCRF, the first Rx session response message carrying the first address and the address of the PCRF is sent to the PCEF.
所述 AF在接收到所述第一 Rx会话响应消息后会直接向所述 PCRF 发送包含所述第一地址的第二 Rx会话请求消息, 所述 PCRF接收到所述 携带有第一地址的第二 Rx会话请求消息后会通过所述 DRA向所述 AF 发送所述第二 Rx会话请求消息的响应消息, 建立 Rx会话。 所述 AF和 所述 PCRF可以不必通过所述 DRA而直接进行 Rx会话。在进行 Rx会话 时,数据中携带的 UE的用户业务信息都为所述第一地址。这样所述 PCRF 就会将携带有相同第一地址的 Gx会话和 Rx会话关联起来, 这就保证了 所述 PCRF接收到所述 PCEF和 AF提供的同一个 UE的相关信息, 从而 保证所述 PCRF选择出正确的 PCC规则。 本发明实施例提供的传输会话请求的方法, 通过 DRA 分别向所述 AF和 PCEF发送携带有相同第一地址和 PCRF地址的第一 Gx会话响应 消息和第一 Rx会话响应消息, 从而使得所述 AF和所述 PCEF分别向所 述 PCRF发送携带有相同第一地址的第二 Gx会话请求消息和第二 Rx会 话请求消息, 从而使得所述 PCRF将同一个 UE下的 Gx会话和 Rx会话 进行绑定, 进而选择出正确的 PCC规则。 本发明实施例进一步给出实现上述方法实施例中各步骤及方法的装 置实施例, 应用于 DRA。 如图 10所示, 为本发明实施例提供的一种传输 会话请求的装置, 该装置可以在 DRA上实现。 所述装置包括: Gx接收 单元 1001 , Gx发送单元 1002, Rx接收单元 1003 , 处理单元 1004, Rx 发送单元 1005。  After receiving the first Rx session response message, the AF directly sends a second Rx session request message including the first address to the PCRF, where the PCRF receives the first address carrying the first address. After the second Rx session request message, the response message of the second Rx session request message is sent to the AF by the DRA, and an Rx session is established. The AF and the PCRF may directly perform an Rx session without going through the DRA. When the Rx session is performed, the user service information of the UE carried in the data is the first address. In this way, the PCRF associates the Gx session carrying the same first address with the Rx session, which ensures that the PCRF receives the information about the same UE provided by the PCEF and the AF, thereby ensuring the PCRF. Choose the correct PCC rules. The method for transmitting a session request according to the embodiment of the present invention, the first Gx session response message carrying the same first address and the PCRF address and the first Rx session response message are respectively sent to the AF and the PCEF by using the DRA, so that the The AF and the PCEF respectively send a second Gx session request message and a second Rx session request message carrying the same first address to the PCRF, so that the PCRF binds the Gx session and the Rx session under the same UE. Determine, and then choose the correct PCC rules. The embodiment of the present invention further provides an apparatus embodiment for implementing the steps and methods in the foregoing method embodiments, which is applied to the DRA. As shown in FIG. 10, an apparatus for transmitting a session request according to an embodiment of the present invention may be implemented on a DRA. The apparatus includes: a Gx receiving unit 1001, a Gx transmitting unit 1002, an Rx receiving unit 1003, a processing unit 1004, and an Rx transmitting unit 1005.
Gx接收单元 1001 ,用于接收策略及计费执行实体 PCEF发送的第一 Gx会话请求消息, 其中, 所述第一 Gx会话请求消息包含 UE地址。  The Gx receiving unit 1001 is configured to receive a first Gx session request message sent by the policy and charging execution entity PCEF, where the first Gx session request message includes a UE address.
Gx发送单元 1002 , 用于向所述 PCEF发送第一 Gx会话响应消息, 所述第一 Gx会话响应消息中携带有第一地址和 PCRF的地址, 所述第一 地址为所述 UE地址或与所述 UE地址对应的 NAT转换后的 UE地址, 以使得所述 PCEF向所述 PCRF发送包含所述第一地址的第二 Gx会话请 求消息。  The Gx sending unit 1002 is configured to send a first Gx session response message to the PCEF, where the first Gx session response message carries an address of a first address and a PCRF, where the first address is the UE address or The NAT-transformed UE address corresponding to the UE address, so that the PCEF sends a second Gx session request message including the first address to the PCRF.
所述 UE地址为 UE的 IP地址, 所述 NAT转换后的 UE地址为与所 述 UE的 IP地址对应的 NAT转换后的 IP地址或者为与所述 UE的 IP地 址对应的 NAT转换后的 IP地址和端口号。 所述 DRA的 Gx接收单元 1001接收到携带有 UE地址的第一 Gx会 话请求消息后,所述 DRA的处理单元 1004会根据所述第一 Gx会话请求 消息在所述 DRA管理下的若干 PCRF中选择一个相应的 PCRF。所述 DRA 可以存储所述 UE地址和 PCRF地址的对应关系,例如可以存储在处理单 元 1004或者 Gx会话发送单元 1002中。 The UE address is an IP address of the UE, and the NAT translated UE address is The NAT-transformed IP address corresponding to the IP address of the UE or the NAT-transformed IP address and port number corresponding to the IP address of the UE. After the Gx receiving unit 1001 of the DRA receives the first Gx session request message carrying the UE address, the processing unit 1004 of the DRA may use the first Gx session request message in several PCRFs under the DRA management. Select a corresponding PCRF. The DRA may store a correspondence between the UE address and a PCRF address, for example, may be stored in the processing unit 1004 or the Gx session sending unit 1002.
Rx接收单元 1003 , 用于接收应用功能实体 AF发送的第一 Rx会话 请求消息, 其中, 所述第一 Rx会话请求消息包含所述 NAT转换后的 UE 地址。  The Rx receiving unit 1003 is configured to receive a first Rx session request message sent by the application function entity AF, where the first Rx session request message includes the NAT translated UE address.
处理单元 1004, 用于根据所述 Rx接收单元接收到的所述第一 Rx 会话请求消息中的所述 NAT转换后的 UE地址确定将所述第一 Rx会话 请求重定向到所述 PCRF。  The processing unit 1004 is configured to determine to redirect the first Rx session request to the PCRF according to the NAT translated UE address in the first Rx session request message received by the Rx receiving unit.
Rx发送单元 1005 , 用于向所述 AF发送第一 Rx会话响应消息, 所 述第一 Rx会话响应消息中包含所述第一地址和所述 PCRF的地址, 以使 得所述 AF向所述 PCRF发送包含所述第一地址的第二 Rx会话请求消息。  The Rx sending unit 1005 is configured to send a first Rx session response message to the AF, where the first Rx session response message includes the first address and an address of the PCRF, so that the AF is sent to the PCRF Sending a second Rx session request message including the first address.
如图 11所示, 所述所述处理单元 1004可以包括: 第一处理子单元 1041和第二处理子单元 1042; 所述第一处理子单元 1041 , 用于根据所述 NAT转换后的 UE地址确定所述 UE地址; 所述第二处理子单元 1042, 用于根据存储的所述 UE地址和所述 PCRF的对应关系,确定将所述第一 Rx会话请求消息重定向到所述 PCRF。 所述第一处理子单元 1041可以具 体用于根据所述 NAT转换后的 UE地址从 NAT装置获取所述 UE地址。  As shown in FIG. 11, the processing unit 1004 may include: a first processing sub-unit 1041 and a second processing sub-unit 1042; the first processing sub-unit 1041, configured to perform, according to the NAT translated UE address Determining the UE address; the second processing sub-unit 1042, configured to determine to redirect the first Rx session request message to the PCRF according to the stored correspondence between the UE address and the PCRF. The first processing sub-unit 1041 may be configured to obtain the UE address from a NAT device according to the NAT translated UE address.
或者, 如图 12所示, 所述处理单元 1004可以包括: 第三处理子单 元 1043 ; 所述第三处理子单元 1043 , 用于根据存储的所述 NAT转换后 的 UE地址和所述 PCRF的对应关系, 确定将所述第一 Rx会话请求消息 重定向到所述 PCRF。 所述第三处理子单元 1043还用于根据接收到的所 述 UE地址从 NAT装置获取所述 UE地址, 并根据存储的所述 UE地址 和所述 PCRF的对应关系 ,存储所述 NAT转换后的 UE地址和所述 PCRF 的对应关系。  Alternatively, as shown in FIG. 12, the processing unit 1004 may include: a third processing subunit 1043; the third processing subunit 1043, configured to: according to the stored NAT translated UE address and the PCRF Correspondingly, determining to redirect the first Rx session request message to the PCRF. The third processing sub-unit 1043 is further configured to acquire the UE address from the NAT device according to the received UE address, and store the NAT after the mapping according to the stored correspondence between the UE address and the PCRF. Correspondence between the UE address and the PCRF.
在硬件实现上, 以上各种发送单元可以为发射机或收发机, 以上各 种接收单元可以为接收机或收发机, 且该发送单元和接收单元可以集成 在一起构成收发单元, 对应于硬件实现为收发机。 以上处理单元可以以 硬件形式或软件形式内嵌于基站的处理器中。 该处理器可以为中央处理 单元, 也可以为单片机。 如图 13所示,为本发明实施例所提供的一种传输会话请求的装置的 结构示意图。 该装置可以在 DRA上实现。 所述装置包括发射机 131、 接 收机 132、 存储器 133 以及分别与发射机 131、 接收机 132和存储器 133 连接的处理器 134。 当然, 所述 DRA还可以包括天线、 输入输出装置等 通用部件, 本发明实施例在此不作任何限制。 其中, 存储器 133 中存储一组程序代码, 且处理器 134用于调用存 储器 133 中存储的程序代码, 用于执行以下操作: 处理器 134通过所述 接收机 132接收第一 Gx会话请求消息, 其中, 所述第一 Gx会话请求消 息包含 UE地址; 所述处理器 134通过发射机 131向所述 PCEF发送第一 Gx会话响应消息,所述第一 Gx会话响应消息中携带有第一地址和 PCRF 的地址, 所述第一地址为所述 UE地址或与所述 UE地址对应的 NAT转 换后的 UE地址, 以使得所述 PCEF向所述 PCRF发送包含所述第一地址 的第二 Gx会话请求消息。 所述 UE地址为 UE的 IP地址, 所述 NAT转 换后的 UE地址为与所述 UE的 IP地址对应的 NAT转换后的 IP地址或 者为与所述 UE的 IP地址对应的 NAT转换后的 IP地址和端口号。 所述 DRA的接收机 132接收到携带有 UE地址的第一 Gx会话请求 消息后, 所述 DRA的处理器 134会根据所述第一 Gx会话请求消息在所 述 DRA管理下的若干 PCRF中选择一个相应的 PCRF。所述 DRA的处理 器 134可以存储所述 UE地址和 PCRF地址的对应关系。 所述 DRA的发 射机 131向所述 PCEF发送第一 Gx会话响应消息。 所述处理器 134通过接收机 132接收第一 Rx会话请求消息, 其中, 所述第一 Rx会话请求消息包含所述 NAT转换后的 UE地址; 所述处理 器 134根据所述 NAT转换后的 UE地址确定将所述第一 Rx会话请求消 息重定向到所述 PCRF; 并通过所述发射机 131 向所述 AF发送第一 Rx 会话响应消息, 所述第一 Rx 会话响应消息中包含所述第一地址和所述 PCRF的地址, 以使得所述 AF向所述 PCRF发送包含所述第一地址的第 二 Rx会话请求消息。 所述处理器 134根据所述 NAT转换后的 UE地址确定将所述第一 Rx会话请求消息重定向到所述 PCRF可以包括: In hardware implementation, the above various transmitting units may be transmitters or transceivers, The receiving unit may be a receiver or a transceiver, and the transmitting unit and the receiving unit may be integrated to form a transceiver unit, which is implemented as a transceiver corresponding to hardware. The above processing unit may be embedded in the processor of the base station in hardware or software. The processor can be a central processing unit or a single chip microcomputer. FIG. 13 is a schematic structural diagram of an apparatus for transmitting a session request according to an embodiment of the present invention. The device can be implemented on the DRA. The apparatus includes a transmitter 131, a receiver 132, a memory 133, and a processor 134 coupled to the transmitter 131, the receiver 132, and the memory 133, respectively. Of course, the DRA may also include a common component such as an antenna, an input/output device, and the like, and the embodiment of the present invention is not limited herein. The memory 133 stores a set of program codes, and the processor 134 is configured to call the program code stored in the memory 133 for performing the following operations: The processor 134 receives the first Gx session request message through the receiver 132, where The first Gx session request message includes a UE address, and the processor 134 sends a first Gx session response message to the PCEF by using the transmitter 131, where the first Gx session response message carries the first address and the PCRF. Address, the first address is the UE address or a NAT-converted UE address corresponding to the UE address, so that the PCEF sends a second Gx session request including the first address to the PCRF. Message. The UE address is an IP address of the UE, and the NAT-transformed UE address is a NAT-transformed IP address corresponding to the IP address of the UE or a NAT-transformed IP corresponding to the IP address of the UE. Address and port number. After the receiver 132 of the DRA receives the first Gx session request message carrying the UE address, the processor 134 of the DRA selects among the PCRFs under the DRA management according to the first Gx session request message. A corresponding PCRF. The processor 134 of the DRA may store a correspondence between the UE address and a PCRF address. The transmitter 131 of the DRA sends a first Gx session response message to the PCEF. The processor 134 receives the first Rx session request message by the receiver 132, where the first Rx session request message includes the NAT translated UE address; the processor 134 is configured according to the NAT converted UE. The address determination redirects the first Rx session request message to the PCRF; and sends, by the transmitter 131, a first Rx session response message to the AF, where the first Rx session response message includes the An address and an address of the PCRF, such that the AF sends a second Rx Session Request message including the first address to the PCRF. The determining, by the processor 134, to redirect the first Rx session request message to the PCRF according to the NAT translated UE address may include:
所述处理器 134根据所述 NAT转换后的 UE地址确定所述 UE地址; 所述处理器 134根据存储的所述 UE地址和所述 PCRF的对应关系,确定 将所述第一 Rx会话请求消息重定向到所述 PCRF。  The processor 134 determines the UE address according to the NAT translated UE address; the processor 134 determines to determine the first Rx session request message according to the stored correspondence between the UE address and the PCRF. Redirect to the PCRF.
所述处理器 134根据所述 NAT转换后的 UE地址确定所述 UE地址 可以包括:  The determining, by the processor 134, the UE address according to the NAT translated UE address may include:
所述处理器 134根据所述 NAT转换后的 UE地址从 NAT装置获取 所述 UE地址。 或者, 所述处理器 134根据所述 NAT转换后的 UE地址确定将所述 第一 Rx会话请求消息重定向到所述 PCRF可以包括: 所述处理器 134根据存储的所述 N A T转换后的 U E地址和所述 P C R F 的对应关系, 确定将所述第一 Rx会话请求消息重定向到所述 PCRF。 所 述处理器 134可以根据所述 UE地址从 NAT装置获取所述 NAT转换后的 UE地址, 根据存储的所述 UE地址和所述 PCRF的对应关系, 存储所述 NAT转换后的 UE地址和所述 PCRF的对应关系。 本发明实施例还提供一种传输会话请求的系统, 如图 14所示, 所述 系统中的 UE141 , PCEF142, DRA143 , PCRF 144, NAT装置 145 , AF146。 所述 DRA为上述图 9〜图 12所示的实施例中所述的 DRA; 所述 NAT装 置 145用于给所述 UE141分配所述 NAT转换后的 UE地址;所述 PCEF142 用于向所述 DRA143 发送所述第一 Gx会话请求消息, 从所述 DRA143 接收所述第一 Gx会话响应消息; 所述 AF146用于向所述 DRA143发送 所述第一 Rx会话请求消息, 从所述 DRA143接收所述第一 Rx会话响应 消息;所述 PCRF 144用于接收所述 PCEF142发送的包含有所述第一地址 的第二 Gx会话请求消息和所述 AF146发送的包含有所述第一地址的第 二 Rx会话请求消息。  The processor 134 acquires the UE address from the NAT device according to the NAT translated UE address. Alternatively, the determining, by the processor 134, the redirecting the first Rx session request message to the PCRF according to the NAT translated UE address may include: the processor 134 according to the stored NAT converted UE Corresponding relationship between the address and the PCRF, determining to redirect the first Rx session request message to the PCRF. The processor 134 may acquire the NAT-converted UE address from the NAT device according to the UE address, and store the NAT-transformed UE address and location according to the stored correspondence between the UE address and the PCRF. The correspondence between PCRFs. The embodiment of the present invention further provides a system for transmitting a session request. As shown in FIG. 14, the UE141, PCEF142, DRA143, PCRF 144, NAT device 145, and AF146 in the system. The DRA is the DRA described in the foregoing embodiment shown in FIG. 9 to FIG. 12; the NAT device 145 is configured to allocate the NAT-transformed UE address to the UE 141; and the PCEF 142 is configured to The DRA 143 sends the first Gx session request message, and receives the first Gx session response message from the DRA 143. The AF 146 is configured to send the first Rx session request message to the DRA 143, and receive the location from the DRA 143. a first Rx session response message; the PCRF 144 is configured to receive a second Gx session request message that is sent by the PCEF 142 and that includes the first address, and a second that includes the first address that is sent by the AF 146 Rx session request message.
具体的, 各设备之间的通信流程可以包括如下步骤: 1401、 PCEF142给 UE141分酉己 UE地址。  Specifically, the communication process between the devices may include the following steps: 1401. The PCEF 142 allocates the UE address to the UE 141.
UE141入网附着后, 发起建立 IP-CAN会话请求, 所述 PCEF142接 收到 UE发起的 IP-CAN会话建立请求后,给所述 UE分配一个 IP地址例 如 XI , UE获得了分配的地址并建立了 IP-CAN会话。 After the UE 141 is attached to the network, the IP-CAN session request is initiated, and the PCEF 142 is connected. After receiving the IP-CAN session establishment request initiated by the UE, the UE is assigned an IP address such as XI, and the UE obtains the assigned address and establishes an IP-CAN session.
1402、 PCEF142向 DRA143发送第一 Gx会话请求消息。 1402. The PCEF 142 sends a first Gx session request message to the DRA 143.
PCEF142在给 UE141分配好 IP地址后, 会发起 Gx会话建立请求, 向 DRA143 发送第一 Gx会话请求消息,所述第一 Gx会话请求消息中携 带有 UE地址。  After assigning the IP address to the UE 141, the PCEF 142 initiates a Gx session establishment request, and sends a first Gx session request message to the DRA 143, where the first Gx session request message carries the UE address.
1403、 DRA143选择 PCRF。 1403. DRA143 selects PCRF.
DRA143根据接收到的第一 Gx会话请求消息中携带的 UE地址 XI 在 DRA所在的域中选择一个 PCRF144。 DRA143可以存储 PCRF144的 地址 (例如, F1 ) 与所述 UE地址的对应关系。 通过存储 PCRF144的地 址和所述 UE地址的对应关系, 实现了存储 PCRF和所述 UE地址的对应 关系。 The DRA 143 selects a PCRF 144 in the domain in which the DRA is located according to the UE address XI carried in the received first Gx session request message. The DRA 143 may store the correspondence between the address (e.g., F1) of the PCRF 144 and the UE address. The correspondence between the stored PCRF and the UE address is achieved by storing the correspondence between the address of the PCRF 144 and the UE address.
可选的, 此时可以执行步骤 1404〜1406。  Optionally, steps 1404 to 1406 can be performed at this time.
1404、 DRA143向 NAT装置 145发送地址查询请求, 所述地址查询 请求中携带有 UE地址。  1404. The DRA 143 sends an address query request to the NAT device 145, where the address query request carries a UE address.
DRA143向 NAT装置 145发送地址查询请求, 所述地址查询请求中 携带有 UE地址, 例如 XI。  The DRA 143 sends an address query request to the NAT device 145, where the address query request carries a UE address, such as XI.
1405、 所述 NAT装置 145查询并返回所述 UE地址对应的 NAT转 换后的 UE地址。  1405. The NAT device 145 queries and returns a NAT translated UE address corresponding to the UE address.
NAT装置 145可以对接收到的 UE的业务数据中携带的 UE的地址 进行地址转换。当所述 UE的业务数据在通过 PCEF传输至 NAT装置 145 时, 所携带的 UE的用户业务信息为所述 UE地址, 所述 NAT装置 145 在接收到所述 UE的业务数据后会将其携带的 UE地址进行地址转换, 转 换后的地址称为 NAT转换后的 UE地址。  The NAT device 145 can perform address translation on the address of the UE carried in the received service data of the UE. When the service data of the UE is transmitted to the NAT device 145 through the PCEF, the user service information of the carried UE is the UE address, and the NAT device 145 carries the service data of the UE after receiving the service data. The address of the UE is translated, and the translated address is called the UE address after NAT conversion.
所述 NAT装置 145可以根据接收到的地址查询请求中的 UE地址, 查询并向所述 DRA143返回所述 UE地址对应的 NAT转换后的 UE地址。 例如, UE地址 XI对应 NAT转换后的 UE地址, 如 IP地址 Y1 , 或 IP 地址 XI和端口号 Pl。  The NAT device 145 may query and return the NAT-converted UE address corresponding to the UE address to the DRA 143 according to the UE address in the received address query request. For example, the UE address XI corresponds to the NAT translated UE address, such as the IP address Y1, or the IP address XI and the port number P1.
1406、 所述 DRA143建立绑定关系。 DRA143在接收到所述 NAT装置 145返回的所述 NAT转换后的 UE 地址后, 会根据所述 NAT转换后的 UE地址建立起 PCRF的地址、 UE地 址和 NAT转换后的 UE地址的绑定关系 (即对应关系) 。 例如, F 1、 XI 和 Y1的对应关系, 或者 Fl、 XI和 (Yl , P1 ) 的对应关系。 1406. The DRA 143 establishes a binding relationship. After receiving the NAT-converted UE address returned by the NAT device 145, the DRA 143 establishes a binding relationship between the PCRF address, the UE address, and the NAT-converted UE address according to the NAT-transformed UE address. (ie correspondence). For example, the correspondence between F 1 , XI and Y1 , or the correspondence between Fl, XI and (Yl , P1 ).
1407、 DRA143向 PCEF142返回第一 Gx会话响应消息。 1407. The DRA 143 returns a first Gx session response message to the PCEF 142.
DRA143向所述 PCEF142返回所述第一 Gx会话请求消息的响应消 息, 所述第一 Gx会话响应消息中携带有第一地址和 PCRF144的地址, 所述第一地址包括 UE地址或 NAT转换后的 UE地址。  The DRA 143 returns a response message of the first Gx session request message to the PCEF 142, where the first Gx session response message carries a first address and an address of the PCRF 144, where the first address includes a UE address or a NAT converted UE address.
1408、 PCEF142与 PCRF144建立 Gx会话。 1408. PCEF142 establishes a Gx session with PCRF 144.
PCEF142 接收到所述 PCRF144 的地址后, 可以不通过重定向 DRA143 ,直接向所述 PCRF144发送携带有第一地址的第二 Gx会话请求 消息, 所述 PCRF1414直接根据所述第二 Gx会话请求消息向所述 PCEF 发送第二 Gx会话响应消息, 不再通过重定向的 DRA143 , 所述 PCRF144 和所述 PCEF142直接建立 Gx会话。  After receiving the address of the PCRF 144, the PCEF 142 may directly send a second Gx session request message carrying the first address to the PCRF 144 without redirecting the DRA 143. The PCRF 1414 directly requests the message according to the second Gx session request message. The PCEF sends a second Gx session response message, and no longer passes the redirected DRA 143, and the PCRF 144 and the PCEF 142 directly establish a Gx session.
1409、 UE141向 AF146进行信息注册。 1409. The UE 141 registers information with the AF 146.
UE141 接入网络, 分配到 UE地址后, 会向 AF146进行 SIP 注册 ( Register ) , 所述 UE在向所述 AF 注册时会通过 NAT装置, 故所述 UE141 注册在所述 AF146的用户业务信息为经过所述 NAT转换的所述 NAT转换后的 UE地址。  The UE 141 accesses the network, and after being assigned to the UE address, performs SIP registration (Register) to the AF 146, and the UE passes through the NAT device when registering with the AF, so the user service information registered by the UE 141 in the AF 146 is The NAT converted UE address after the NAT conversion.
1410、 AF146向所述 DRA143发送第一 Rx会话请求消息。 1410. The AF 146 sends a first Rx session request message to the DRA 143.
AF146在申请进行 Rx会话为所述 PCRF提供所述 UE的用户业务信 息时, 会向所述 DRA143发送第一 Rx会话请求消息, 所述第一 Rx会话 请求消息中携带的用户业务信息为 NAT转换后的 UE地址。  The AF 146 sends a first Rx session request message to the DRA 143, and the user service information carried in the first Rx session request message is a NAT translation, when the user is requested to perform the Rx session to provide the PCRF with the user service information of the UE. After the UE address.
1411、 DRA143 确定将所述第一 Rx 会话请求消息重定向到所述 PCRF。  1411. The DRA 143 determines to redirect the first Rx session request message to the PCRF.
DRA73接收到所述 AF76发送的第一 Rx会话请求消息后, 若所述 DRA144执行了步骤 1404〜1406,则所述 DRA中已经存储了所述 NAT转 换后的 UE地址和所述 PCRF的对应关系, 此时, 所述 DRA可以直接根 据该对应关系, 将针对 UE141的 Rx会话请求重定向到所述 PCRF, 即确 定所述 AF需要将 Rx会话请求消息发送给所述 PCRF。 若所述 DRA73未执行步骤 1404〜1406, 则所述 DRA需要执行以下 步骤 1411a和 141 1b来根据所述 NAT转换后的 UE地址将 Rx会话请求 重定向到所述 PCRF。 After the DRA 73 receives the first Rx session request message sent by the AF 76, if the DRA 144 performs steps 1404 to 1406, the mapping between the NAT translated UE address and the PCRF is already stored in the DRA. At this time, the DRA may directly redirect the Rx session request for the UE 141 to the PCRF according to the correspondence, that is, Determining the AF requires sending an Rx Session Request message to the PCRF. If the DRA 73 does not perform steps 1404 to 1406, the DRA needs to perform the following steps 1411a and 141 1b to redirect the Rx session request to the PCRF according to the NAT translated UE address.
1411a, DRA143从 NAT145中获取 UE地址。 所述 DRA143根据所述 NAT转换后的 UE地址从 NAT装置 145获 取所述 UE地址。 所述 DRA143可以向 NAT装置 145发送携带有 NAT 转换后的 UE地址的地址查询请求, 所述 NAT装置 145接收到所述地址 查询请求后会查询并向所述 DRA143返回所述 UE地址。  1411a, DRA143 obtains the UE address from NAT145. The DRA 143 obtains the UE address from the NAT device 145 according to the NAT translated UE address. The DRA 143 may send an address query request carrying the NAT-converted UE address to the NAT device 145, and the NAT device 145 may query and return the UE address to the DRA 143 after receiving the address query request.
141 lb、 所述 DRA73建立绑定关系。 141 lb, the DRA 73 establishes a binding relationship.
DRA143在接收到所述 NAT装置 145返回的所述 UE地址后, 会建 立起 PCRF的地址、 UE地址和 NAT转换后的 UE地址的绑定关系。 所述 PCRF的地址为所述 DRA根据携带有 UE地址的 Gx会话请求消息为所述 UE选择的相应的 PCRF 144的地址。  After receiving the UE address returned by the NAT device 145, the DRA 143 establishes a binding relationship between the address of the PCRF, the UE address, and the NAT-converted UE address. The address of the PCRF is the address of the corresponding PCRF 144 selected by the DRA according to the Gx session request message carrying the UE address.
1412、 DRA143向 AF146返回第一 Rx会话响应消息。 1412. The DRA 143 returns a first Rx session response message to the AF 146.
DRA 143向所述 AF 146返回所述第一 Rx会话请求消息的响应消息 , 所述响应消息中携带有所述第一地址和 PCRF144的地址, 所述第一地址 包括 UE地址或 NAT转换后的 UE地址。 The DRA 143 returns a response message of the first Rx session request message to the AF 146, where the response message carries the address of the first address and the PCRF 144, where the first address includes a UE address or a NAT converted UE address.
1413、 AF146与 PCRF144建立 Rx会话。  1413. The AF 146 establishes an Rx session with the PCRF 144.
AF146接收到所述 PCRF144的地址及所述第一地址后, 可以不通过 重定向 DRA143 , 直接向所述 PCRF1414发送携带有第一地址的第二 Rx 会话请求消息, 所述 PCRF144直接根据所述第二 Rx会话请求消息向所 述 AF1414发送第二 Rx会话响应消息, 不再通过重定向的 DRA143 , 所 述 PCRF144和所述 AF146直接建立 Rx会话。  After receiving the address of the PCRF 144 and the first address, the AF 146 may directly send the second Rx session request message carrying the first address to the PCRF 1414 without redirecting the DRA 143. The PCRF 144 directly according to the The second Rx session request message sends a second Rx session response message to the AF 1414, and no longer passes the redirected DRA 143, and the PCRF 144 and the AF 146 directly establish an Rx session.
1414、 PCRF144绑定 Gx会话与所述 Rx会话。 1414. The PCRF 144 binds the Gx session to the Rx session.
PCRF144在和 PCEF142建立 Gx会话, 和 AF1414建立 Rx会话后, 会将所述 Gx会话与所述 Rx会话绑定在一起。 本发明实施例提供的传输会话请求的方法、 装置和系统, 通过 DRA 分别向所述 AF和 PCEF发送携带有相同第一地址和 PCRF地址的第一 Gx会话响应消息和第一 Rx会话响应消息, 从而使得所述 PCEF和所述 AF分别向所述 PCRF发送携带有相同第一地址的第二 Gx会话请求消息 和第二 Rx会话请求消息, 从而使得所述 PCRF将同一个 UE下的 Gx会 话和 Rx会话进行绑定, 进而选择出正确的 PCC规则。 The PCRF 144 establishes a Gx session with the PCEF 142, and after establishing an Rx session with the AF 1414, the Gx session is bound to the Rx session. Method, device and system for transmitting session request provided by embodiment of the present invention, by DRA Transmitting, to the AF and the PCEF, a first Gx session response message and a first Rx session response message carrying the same first address and a PCRF address, respectively, so that the PCEF and the AF respectively send the same to the PCRF The second Gx session request message and the second Rx session request message of the first address, so that the PCRF binds the Gx session and the Rx session under the same UE, thereby selecting the correct PCC rule.
上述方法实施例、 装置实施例和系统实施例中属于同一发明构思, 为准确理解本说明书的内容, 各个实施例之间的描述可以相互参照并相 互补充。  The above method embodiments, device embodiments, and system embodiments belong to the same inventive concept. To accurately understand the contents of the present specification, the descriptions between the various embodiments may be mutually referred to and complement each other.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分 步骤可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计 算机可读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的 步骤; 而前述的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以 存储程序代码的介质。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围 并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技 术范围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围 之内。 因此, 本发明的保护范围应所述以权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权 利 要 求 书 Claim
1、 一种传输会话请求的方法, 其特征在于, 包括:  A method for transmitting a session request, comprising:
直径路由代理 DRA接收第一 Gx 会话请求消息, 其中, 所述第一 Gx会话请求消息包含用户设备 UE地址;  The diameter routing agent DRA receives the first Gx session request message, where the first Gx session request message includes the user equipment UE address;
所述 DRA向策略控制和计费规则功能实体 PCRF发送第二 Gx会话 请求消息, 其中, 所述第二 Gx会话请求消息包含第一地址, 所述第一地 址为所述 UE地址或与所述 UE地址对应的 NAT转换后的 UE地址; 所述 DRA接收第一 Rx会话请求消息, 其中, 所述第一 Rx会话请 求消息包含所述 NAT转换后的 UE地址;  The DRA sends a second Gx session request message to the policy control and charging rule function entity PCRF, where the second Gx session request message includes a first address, the first address is the UE address or a NAT-converted UE address corresponding to the UE address; the DRA receives the first Rx session request message, where the first Rx session request message includes the NAT-transformed UE address;
所述 DRA根据所述 NAT转换后的 UE地址确定向所述 PCRF发送 第二 Rx会话请求消息;  Determining, by the DRA, a second Rx session request message to the PCRF according to the NAT translated UE address;
所述 DRA向所述 PCRF发送所述第二 Rx会话请求消息, 其中, 所 述第二 Rx会话请求消息包含所述第一地址。  The DRA sends the second Rx session request message to the PCRF, where the second Rx session request message includes the first address.
2、 根据权利要求 1所述的方法, 其特征在于, 所述 DRA根据所述 NAT转换后的 UE地址确定向所述 PCRF发送第二 Rx会话请求消息, 包 括:  The method according to claim 1, wherein the DRA determines to send a second Rx session request message to the PCRF according to the NAT translated UE address, including:
所述 DRA根据所述 NAT转换后的 UE地址确定所述 UE地址; 所述 DRA根据存储的所述 UE地址和所述 PCRF的对应关系, 确定 向所述 PCRF发送所述第二 Rx会话请求消息。  Determining, by the DRA, the UE address according to the NAT translated UE address; the DRA determining to send the second Rx session request message to the PCRF according to the stored correspondence between the UE address and the PCRF .
3、 根据权利要求 2所述的方法, 其特征在于, 所述 DRA根据所述 NAT转换后的 UE地址确定所述 UE地址, 包括:  The method according to claim 2, wherein the determining, by the DRA, the UE address according to the NAT translated UE address, includes:
所述 DRA根据所述 NAT转换后的 UE地址从 NAT装置获取所述 UE地址。  The DRA acquires the UE address from the NAT device according to the NAT translated UE address.
4、 根据权利要求 1所述的方法, 其特征在于, 所述 DRA根据所述 NAT转换后的 UE地址确定向所述 PCRF发送第二 Rx会话请求消息, 包 括:  The method according to claim 1, wherein the DRA determines to send a second Rx session request message to the PCRF according to the NAT translated UE address, including:
所述 DRA根据存储的所述 NAT转换后的 UE地址和所述 PCRF的 对应关系, 确定向所述 PCRF发送所述第二 Rx会话请求消息。 The DRA determines to send the second Rx session request message to the PCRF according to the stored correspondence between the NAT translated UE address and the PCRF.
5、 根据权利要求 4所述的方法, 其特征在于, 还包括: 所述 DRA根据所述 UE地址从 NAT装置获取所述 NAT转换后的 UE地址; 所述 DRA根据存储的所述 UE地址和所述 PCRF的对应关系, 存储 所述 NAT转换后的 UE地址和所述 PCRF的对应关系。 The method according to claim 4, further comprising: the DRA acquiring the NAT-converted UE address from a NAT device according to the UE address; the DRA is based on the stored UE address and Corresponding relationship between the PCRF and the correspondence between the UE address after the NAT conversion and the PCRF.
6、 根据权利要求 1 - 5 任一项所述的方法, 其特征在于, 所述 Gx 会话请求消息为策略及计费执行执行实体 PCEF发送的, 所述 Rx会话请 求消息为应用功能实体 AF发送的。 The method according to any one of claims 1 to 5, wherein the Gx session request message is sent by a policy and charging execution execution entity PCEF, and the Rx session request message is sent by an application function entity AF. of.
7、 根据权利要求 1 - 6 任一项所述的方法, 其特征在于, 所述 UE 地址为 UE的 IP地址,所述 NAT转换后的 UE地址为与所述 UE的 IP地 址对应的 NAT转换后的 IP地址或者为与所述 UE的 IP地址对应的 NAT 转换后的 IP地址和端口号。  The method according to any one of claims 1 to 6, wherein the UE address is an IP address of the UE, and the NAT converted UE address is a NAT translation corresponding to the IP address of the UE. The subsequent IP address is either a NAT-converted IP address and port number corresponding to the IP address of the UE.
8、 一种直径路由代理 DRA, 其特征在于, 包括:  8. A diameter routing agent DRA, comprising:
Gx接收单元, 用于接收第一 Gx会话请求消息, 其中, 所述第一 Gx 会话请求消息包含用户设备 UE地址; a Gx receiving unit, configured to receive a first Gx session request message, where the first Gx session request message includes a user equipment UE address;
Gx发送单元, 用于向策略控制和计费规则功能实体 PCRF发送第二 Gx会话请求消息, 其中, 所述第二 Gx会话请求消息包含第一地址, 所 述第一地址为所述 UE地址或与所述 UE地址对应的 NAT转换后的 UE 地址; a Gx sending unit, configured to send a second Gx session request message to the policy control and charging rule function entity PCRF, where the second Gx session request message includes a first address, where the first address is the UE address or a NAT translated UE address corresponding to the UE address;
Rx接收单元, 用于接收第一 Rx会话请求消息, 其中, 所述第一 Rx 会话请求消息包含所述 NAT转换后的 UE地址; 处理单元, 用于根据所述 Rx接收单元接收到的所述第一 Rx会话请 求消息中的所述 NAT转换后的 UE地址确定向所述 PCRF发送第二 Rx 会话请求消息; An Rx receiving unit, configured to receive a first Rx session request message, where the first Rx session request message includes the NAT translated UE address, and a processing unit, configured to receive, according to the Rx receiving unit, the The NAT converted UE address in the first Rx session request message determines to send a second Rx session request message to the PCRF;
Rx发送单元, 用于向所述 PCRF发送所述第二 Rx会话请求消息, 其中, 所述第二 Rx会话请求消息包含所述第一地址。 And an Rx sending unit, configured to send the second Rx session request message to the PCRF, where the second Rx session request message includes the first address.
9、 根据权利要求 8 所述的 DRA, 其特征在于, 所述处理单元, 包 括: 第一处理子单元和第二处理子单元; 所述第一处理子单元, 用于根据所述 NAT转换后的 UE地址确定所 述 UE地址; The DRA according to claim 8, wherein the processing unit comprises: a first processing subunit and a second processing subunit; The first processing subunit, configured to determine the UE address according to the NAT translated UE address;
所述第二处理子单元, 用于根据存储的所述 UE 地址和所述 PCRF 的对应关系, 确定向所述 PCRF发送所述第二 Rx会话请求消息。  The second processing sub-unit is configured to determine, according to the stored correspondence between the UE address and the PCRF, the second Rx session request message to be sent to the PCRF.
10、 根据权利要求 9所述的 DRA, 其特征在于, 所述第一处理子单 元具体用于根据所述 NAT转换后的 UE地址从 NAT装置获取所述 UE地 址。  The DRA according to claim 9, wherein the first processing sub-unit is specifically configured to acquire the UE address from a NAT device according to the NAT translated UE address.
11、 根据权利要求 8所述的 DRA, 其特征在于, 所述处理单元, 包 括: 第三处理子单元;  The DRA according to claim 8, wherein the processing unit comprises: a third processing subunit;
所述第三处理子单元, 用于根据存储的所述 NAT转换后的 UE地址 和所述 PCRF的对应关系, 确定向所述 PCRF发送所述第二 Rx会话请求 消息。  And the third processing sub-unit is configured to determine, according to the stored correspondence between the NAT translated UE address and the PCRF, the second Rx session request message to the PCRF.
12、 根据权利要求 1 1 所述的 DRA, 其特征在于, 所述第三处理子 单元还用于根据所述 UE地址从 NAT装置获取所述 NAT转换后的 UE地 址, 根据存储的所述 UE地址和所述 PCRF的对应关系, 存储所述 NAT 转换后的 UE地址和所述 PCRF的对应关系。  The DRA according to claim 1 , wherein the third processing sub-unit is further configured to acquire, according to the UE address, the NAT-transformed UE address from a NAT device, according to the stored UE. Corresponding relationship between the address and the PCRF, and storing a correspondence between the NAT translated UE address and the PCRF.
13、 根据权利要求 8 - 12 任一项所述的 DRA, 其特征在于, 所述 Gx会话请求消息为策略及计费执行执行实体 PCEF发送的, 所述 Rx会 话请求消息为应用功能实体 AF发送的。 The DRA according to any one of claims 8 to 12, wherein the Gx session request message is sent by a policy and charging execution execution entity PCEF, and the Rx session request message is sent by an application function entity AF. of.
14、 根据权利要求 8 - 13 任一项所述的 DRA, 其特征在于, 所述 UE地址为 UE的 IP地址, 所述 NAT转换后的 UE地址为与所述 UE的 IP地址对应的 NAT转换后的 IP地址或者为与所述 UE的 IP地址对应的 NAT转换后的 IP地址和端口号。  The DRA according to any one of claims 8 to 13, wherein the UE address is an IP address of the UE, and the NAT converted UE address is a NAT translation corresponding to the IP address of the UE. The subsequent IP address is either a NAT translated IP address and a port number corresponding to the IP address of the UE.
15、 一种直径路由代理 DRA, 其特征在于, 包括: 接收机、 发射机, 存储器以及分别与所述接收机、 发射机和存储器连接的处理器, 所述存 储器存储一组程序代码, 所述处理器调用所述存储器中的程序代码用于 执行权利要求 1至 7任一项所述操作。  15. A diameter routing agent DRA, comprising: a receiver, a transmitter, a memory, and a processor coupled to the receiver, the transmitter, and the memory, respectively, the memory storing a set of program codes, The processor calls the program code in the memory for performing the operations of any one of claims 1 to 7.
16、 一种系统, 其特征在于, 所述系统包括: 用户设备 UE, 策略及 计费执行实体 PCEF、 直径路由代理 DRA、 策略和计费规则功能实体 PCRF, 网络地址转换 NAT装置、 应用功能实体 AF; 所述 DRA为权利要求 8〜14任意一项所述的 DRA; 16. A system, the system comprising: a user equipment UE, a policy and charging execution entity PCEF, a diameter routing agent DRA, a policy and a charging rule function entity a PCRF, a network address translation NAT device, an application function entity AF; the DRA is the DRA according to any one of claims 8 to 14;
所述 NAT装置用于给所述 UE分配所述 NAT转换后的 UE地址; 所述 PCEF用于向所述 DRA发送所述第一 Gx会话请求消息; 所述 AF用于向所述 DRA发送所述第一 Rx会话请求消息; 所述 PCRF用于接 收所述 DRA发送的第二 Gx会话请求消息和所述第二 Rx会话请求消息。  The NAT device is configured to allocate the NAT-transformed UE address to the UE; the PCEF is configured to send the first Gx session request message to the DRA; and the AF is used to send the location to the DRA The first Rx session request message is used by the PCRF to receive the second Gx session request message and the second Rx session request message sent by the DRA.
17、 一种传输会话请求的方法, 其特征在于, 包括: 直径路由代理 DRA接收策略及计费执行实体 PCEF发送的第一 Gx 会话请求消息,其中,所述第一 Gx会话请求消息包含用户设备 UE地址; 所述 DRA向所述 PCEF发送第一 Gx会话响应消息, 所述第一 Gx 会话响应消息中携带有第一地址和 PCRF 的地址, 所述第一地址为所述 UE地址或与所述 UE地址对应的 NAT转换后的 UE地址, 以使得所述 PCEF向所述 PCRF发送包含所述第一地址的第二 Gx会话请求消息; 所述 DRA接收应用功能实体 AF发送的第一 Rx会话请求消息, 其 中, 所述第一 Rx会话请求消息包含所述 NAT转换后的 UE地址;  A method for transmitting a session request, comprising: a diameter routing proxy DRA receiving policy and a first Gx session request message sent by a charging execution entity PCEF, wherein the first Gx session request message includes a user equipment The first address is the address of the first address and the PCRF, and the first address is the address of the UE or the location of the first Gx session response message. Determining a NAT-converted UE address corresponding to the UE address, so that the PCEF sends a second Gx session request message including the first address to the PCRF; the DRA receives a first Rx session sent by the application function entity AF a request message, where the first Rx session request message includes the NAT translated UE address;
所述 DRA根据所述 NAT转换后的 UE地址确定将所述第一 Rx会话 请求消息重定向到所述 PCRF;  Determining, by the DRA, the first Rx session request message to the PCRF according to the NAT translated UE address;
所述 DRA向所述 AF发送第一 Rx会话响应消息,所述第一 Rx会话 响应消息中包含所述第一地址和所述 PCRF的地址, 以使得所述 AF向所 述 PCRF发送包含所述第一地址的第二 Rx会话请求消息。  The DRA sends a first Rx session response message to the AF, where the first Rx session response message includes the first address and an address of the PCRF, so that the AF sends the PCRF to the PCRF. The second Rx session request message of the first address.
18、 根据权利要求 17所述的方法, 其特征在于, 所述 DRA根据所 述 NAT 转换后的 UE 地址确定将所述第一 Rx 会话请求重定向到所述 PCRF, 包括: The method according to claim 17, wherein the determining, by the DRA, the redirecting the first Rx session request to the PCRF according to the NAT translated UE address comprises:
所述 DRA根据所述 NAT转换后的 UE地址确定所述 UE地址; 所述 DRA根据存储的所述 UE地址和所述 PCRF的对应关系, 确定 将所述第一 Rx会话请求消息重定向到所述 PCRF。  Determining, by the DRA, the UE address according to the NAT translated UE address; the DRA determining to redirect the first Rx session request message to the location according to the stored correspondence between the UE address and the PCRF Said PCRF.
19、 根据权利要求 18所述的方法, 其特征在于, 所述 DRA根据所 述 NAT转换后的 UE地址确定所述 UE地址, 包括: 所述 DRA根据所述 NAT转换后的 UE地址从 NAT装置获取所述 UE地址。 The method according to claim 18, wherein the determining, by the DRA, the UE address according to the NAT translated UE address, includes: The DRA acquires the UE address from a NAT device according to the NAT translated UE address.
20、 根据权利要求 17所述的方法, 其特征在于, 所述 DRA根据所 述 NAT 转换后的 UE 地址确定将所述第一 Rx 会话请求重定向到所述 PCRF, 包括:  The method according to claim 17, wherein the determining, by the DRA, the first Rx session request to be redirected to the PCRF according to the NAT translated UE address, includes:
所述 DRA根据存储的所述 NAT转换后的 UE地址和所述 PCRF的 对应关系, 确定将所述第一 Rx会话请求重定向到所述 PCRF。  And determining, by the DRA, to redirect the first Rx session request to the PCRF according to the stored correspondence between the NAT translated UE address and the PCRF.
21、 根据权利要求 20所述的方法, 其特征在于, 还包括:  The method according to claim 20, further comprising:
所述 DRA根据所述 UE地址从 NAT装置获取所述 NAT转换后的 UE地址;  Determining, by the DRA, the NAT translated UE address from a NAT device according to the UE address;
所述 DRA根据存储的所述 UE地址和所述 PCRF的对应关系, 存储 所述 NAT转换后的 UE地址和所述 PCRF的对应关系。  And the DRA stores the correspondence between the NAT translated UE address and the PCRF according to the stored correspondence between the UE address and the PCRF.
22、 根据权利要求 17 - 21 任一项所述的方法, 其特征在于, 所述 UE地址为 UE的 IP地址, 所述 NAT转换后的 UE地址为与所述 UE的 IP地址对应的 NAT转换后的 IP地址或者为与所述 UE的 IP地址对应的 NAT转换后的 IP地址和端口号。  The method according to any one of claims 17 to 21, wherein the UE address is an IP address of the UE, and the NAT converted UE address is a NAT translation corresponding to the IP address of the UE. The subsequent IP address is either a NAT translated IP address and a port number corresponding to the IP address of the UE.
23、 一种直径路由代理 DRA, 其特征在于, 包括:  23. A diameter routing agent DRA, comprising:
Gx接收单元, 用于接收策略及计费执行实体 PCEF发送的第一 Gx 会话请求消息, 其中, 所述第一 Gx会话请求消息包含 UE地址; a Gx receiving unit, configured to receive a first Gx session request message sent by the policy and the charging execution entity PCEF, where the first Gx session request message includes a UE address;
Gx发送单元, 用于向所述 PCEF发送第一 Gx会话响应消息, 所述 第一 Gx会话响应消息中携带有第一地址和 PCRF的地址, 所述第一地址 为所述 UE地址或与所述 UE地址对应的 NAT转换后的 UE地址, 以使 得所述 PCEF向所述 PCRF发送包含所述第一地址的第二 Gx会话请求消 息; a Gx sending unit, configured to send a first Gx session response message to the PCEF, where the first Gx session response message carries an address of a first address and a PCRF, where the first address is the UE address or Determining, by the UE address, the NAT translated UE address, so that the PCEF sends a second Gx session request message including the first address to the PCRF;
Rx接收单元, 用于接收应用功能实体 AF发送的第一 Rx会话请求 消息, 其中, 所述第一 Rx会话请求消息包含所述 NAT转换后的 UE地 址; 处理单元, 用于根据所述 Rx接收单元接收到的所述第一 Rx会话请 求消息中的所述 NAT转换后的 UE地址确定将所述第一 Rx会话请求消 息重定向到所述 PCRF; An Rx receiving unit, configured to receive a first Rx session request message sent by the application function entity AF, where the first Rx session request message includes the NAT converted UE address, and a processing unit, configured to receive according to the Rx Determining, by the unit, the NAT converted UE address in the first Rx session request message to cancel the first Rx session request Redirected to the PCRF;
Rx发送单元, 用于向所述 AF发送第一 Rx会话响应消息, 所述第 一 Rx会话响应消息包含所述第一地址和所述 PCRF的地址, 以使得所述 AF向所述 PCRF发送包含所述第一地址的第二 Rx会话请求消息。 An Rx sending unit, configured to send a first Rx session response message to the AF, where the first Rx session response message includes the first address and an address of the PCRF, so that the AF sends the PCRF to the PCRF The second Rx session request message of the first address.
24、 根据权利要求 23 所述的 DRA, 其特征在于, 所述处理单元, 包括: 第一处理子单元和第二处理子单元;  The DRA according to claim 23, wherein the processing unit comprises: a first processing subunit and a second processing subunit;
所述第一处理子单元, 用于根据所述 NAT转换后的 UE地址确定所 述 UE地址;  The first processing subunit, configured to determine, according to the NAT translated UE address, the UE address;
所述第二处理子单元, 用于根据存储的所述 UE 地址和所述 PCRF 的对应关系, 确定将所述第一 Rx会话请求消息重定向到所述 PCRF。  The second processing sub-unit is configured to determine to redirect the first Rx session request message to the PCRF according to the stored correspondence between the UE address and the PCRF.
25、 根据权利要求 24所述的 DRA, 其特征在于, 所述第一处理子 单元具体用于根据所述 NAT转换后的 UE地址从 NAT装置获取所述 UE 地址。  The DRA according to claim 24, wherein the first processing sub-unit is specifically configured to acquire the UE address from a NAT device according to the NAT translated UE address.
26、 根据权利要求 23 所述的 DRA, 其特征在于, 所述处理单元, 包括: 第三处理子单元; The DRA according to claim 23, wherein the processing unit comprises: a third processing subunit;
所述第三处理子单元, 用于根据存储的所述 NAT转换后的 UE地址 和所述 PCRF的对应关系, 确定将所述第一 Rx会话请求消息重定向到所 述 PCRF。  The third processing sub-unit is configured to determine to redirect the first Rx session request message to the PCRF according to the stored correspondence between the NAT translated UE address and the PCRF.
27、 根据权利要求 26所述的 DRA, 其特征在于, 所述第三处理子 单元还用于根据接收到的所述 UE地址从 NAT装置获取所述 NAT转换后 的 UE地址, 根据存储的所述 UE地址和所述 PCRF的对应关系, 存储所 述 NAT转换后的 UE地址和所述 PCRF的对应关系。  The DRA according to claim 26, wherein the third processing sub-unit is further configured to acquire the NAT-transformed UE address from the NAT device according to the received UE address, according to the stored location. Corresponding relationship between the UE address and the PCRF, and storing a correspondence between the NAT translated UE address and the PCRF.
28、 根据权利要求 23 - 27任一项所述的 DRA, 其特征在于, 所述 UE地址为 UE的 IP地址, 所述 NAT转换后的 UE地址为与所述 UE的 IP地址对应的 NAT转换后的 IP地址或者为与所述 UE的 IP地址对应的 NAT转换后的 IP地址和端口号。  The DRA according to any one of claims 23 to 27, wherein the UE address is an IP address of the UE, and the NAT-transformed UE address is a NAT translation corresponding to the IP address of the UE. The subsequent IP address is either a NAT translated IP address and a port number corresponding to the IP address of the UE.
29、 一种直径路由代理 DRA, 其特征在于, 包括: 接收机、 发射机, 存储器以及分别与所述接收机、 发射机和存储器连接的处理器, 所述存 储器存储一组程序代码, 所述处理器调用所述存储器中的程序代码用于 执行权利要求 17至 22任一项所述操作。 29. A diameter routing agent DRA, comprising: a receiver, a transmitter, a memory, and a processor coupled to the receiver, the transmitter, and the memory, respectively, the memory storing a set of program codes, The processor calls the program code in the memory for The operation of any one of claims 17 to 22 is performed.
30、 一种系统, 其特征在于, 所述系统包括: 用户设备 UE, 策略及 计费执行实体 PCEF、 直径路由代理 DRA、 策略和计费规则功能实体 PCRF、 网络地址转换 NAT装置、 应用功能实体 AF; 所述 DRA为权利要求 23〜28任意一项所述的 DRA; 30. A system, wherein the system comprises: a user equipment UE, a policy and charging execution entity PCEF, a diameter routing proxy DRA, a policy and charging rule function entity PCRF, a network address translation NAT device, an application function entity The DRA is the DRA according to any one of claims 23 to 28;
所述 NAT装置用于给所述 UE分配所述 NAT转换后的 UE地址; 所述 PCEF用于向所述 DRA发送所述第一 Gx会话请求消息, 从所 述 DRA接收所述第一 Gx会话响应消息; 所述 AF用于向所述 DRA发送所述第一 Rx会话请求消息, 从所述 DRA接收所述第一 Rx会话响应消息; 所述 PCRF用于接收所述 PCEF发送的包含有所述第一地址的第二 G X会话请求消息和所述 A F发送的包含有所述第一地址的第二 Rx会话请 求消息。  The NAT device is configured to allocate the NAT-transformed UE address to the UE; the PCEF is configured to send the first Gx session request message to the DRA, and receive the first Gx session from the DRA a response message: the AF is used to send the first Rx session request message to the DRA, and receive the first Rx session response message from the DRA; the PCRF is configured to receive the content sent by the PCEF a second GX session request message of the first address and a second Rx session request message that is sent by the AF and includes the first address.
PCT/CN2012/084104 2012-11-05 2012-11-05 Method, device and system for transmitting session request WO2014067165A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2012/084104 WO2014067165A1 (en) 2012-11-05 2012-11-05 Method, device and system for transmitting session request
CN201280021069.1A CN103931155A (en) 2012-11-05 2012-11-05 Method, device and system for transmitting session request

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/084104 WO2014067165A1 (en) 2012-11-05 2012-11-05 Method, device and system for transmitting session request

Publications (1)

Publication Number Publication Date
WO2014067165A1 true WO2014067165A1 (en) 2014-05-08

Family

ID=50626374

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/084104 WO2014067165A1 (en) 2012-11-05 2012-11-05 Method, device and system for transmitting session request

Country Status (2)

Country Link
CN (1) CN103931155A (en)
WO (1) WO2014067165A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9621362B2 (en) * 2015-02-03 2017-04-11 Cisco Technology, Inc. System and method for providing policy charging and rules function discovery in a network environment
CN110650475B (en) * 2018-06-26 2022-06-03 中国移动通信有限公司研究院 Session binding processing method and network equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011134327A1 (en) * 2010-04-26 2011-11-03 中兴通讯股份有限公司 Method and system for determining policy and charging rules function
CN102300263A (en) * 2011-09-23 2011-12-28 电信科学技术研究院 Policy and charging rules function (PCRF) determination method, device and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011134327A1 (en) * 2010-04-26 2011-11-03 中兴通讯股份有限公司 Method and system for determining policy and charging rules function
CN102300263A (en) * 2011-09-23 2011-12-28 电信科学技术研究院 Policy and charging rules function (PCRF) determination method, device and system

Also Published As

Publication number Publication date
CN103931155A (en) 2014-07-16

Similar Documents

Publication Publication Date Title
US8799440B2 (en) Policy and charging control method and system for multi-PDN connections of single APN
JP5298203B2 (en) Token-based correlation of control sessions for data session policy and charging control via NAT
US9137652B2 (en) Method for implementing policy and charging control in a roaming scene
US8369288B2 (en) Method and apparatus for bearer processing
EP2242205A1 (en) A method for selecting a policy and charging rules function entity in the non-roaming scenario
US9935778B2 (en) Selection of a policy and charging control unit by a diameter routing unit
WO2011134327A1 (en) Method and system for determining policy and charging rules function
WO2014000304A1 (en) A management method for forwarding plane tunnel resources under the control and forwarding decoupling architecture
WO2017143859A1 (en) Data transmission method, network equipment and terminal
WO2020001562A1 (en) Communication method and apparatus
WO2009056052A1 (en) Realization method, pcrf and af of nat technology in pcc frame
WO2018195829A1 (en) Redirection method, control plane network element, aggregation user plane network element, content server and terminal device
WO2022021971A1 (en) Communication method, first policy control network element, and communication system
WO2011144083A2 (en) Policy control method and device
CN110035040B (en) Method and device for signaling addressing
WO2017124807A1 (en) Policy charging control method, protocol converter, policy charging rule apparatus and system
CN113543165A (en) Communication method, device and system
US10506476B2 (en) Establishing an interaction session on a bearer in a radio communication network
WO2014201600A1 (en) Session management method, address management method and relevant device
WO2018119592A1 (en) Network slice determination method and apparatus
US20120008523A1 (en) Methods and Apparatuses for Associating Charging Identifiers
WO2014067165A1 (en) Method, device and system for transmitting session request
EP3371948B1 (en) Establishing an interaction session on a bearer in a radio communication network
US10250557B2 (en) Enabling multi-realm service access for a single IP stack UE
WO2022007657A1 (en) Method and apparatus for sending domain name system request

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: 12887659

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: 12887659

Country of ref document: EP

Kind code of ref document: A1