WO2012126311A1 - Method and system for creating and deleting binding information in diameter routing agent, h-pcrf - Google Patents

Method and system for creating and deleting binding information in diameter routing agent, h-pcrf Download PDF

Info

Publication number
WO2012126311A1
WO2012126311A1 PCT/CN2012/071637 CN2012071637W WO2012126311A1 WO 2012126311 A1 WO2012126311 A1 WO 2012126311A1 CN 2012071637 W CN2012071637 W CN 2012071637W WO 2012126311 A1 WO2012126311 A1 WO 2012126311A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
pcrf
dra
message
policy server
Prior art date
Application number
PCT/CN2012/071637
Other languages
French (fr)
Chinese (zh)
Inventor
周晓云
毕以峰
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012126311A1 publication Critical patent/WO2012126311A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1036Load balancing of requests to servers for services different from user content provisioning, e.g. load balancing across domain name servers
    • 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

Definitions

  • the invention relates to a technology for creating and deleting binding information in a Diameter Routing Agent (DRA), and particularly relates to a user equipment (UE, User Equipment) accessing a network through a broadband forum (BBF, Broadband Forum).
  • DRA Diameter Routing Agent
  • UE User Equipment
  • BBF Broadband Forum
  • the first policy server terminates the first policy control session with the second policy server
  • the first policy server notifies the DRA to delete the DRA binding
  • the first policy server triggers the second policy server to establish the The first policy controls the association of messages of the session.
  • the system includes an H-PCRF and a V-PCRF, where:
  • Step 506 After receiving the Diameter session establishment request message, the BPCF returns a Diameter session establishment response message to the PCRF.
  • Step 508 The PCRF sends a Diameter session establishment response message to the BPCF.
  • the Diameter session request message may adopt a credit control request message.
  • step 502 and step 505 which are credit control request messages
  • step 503 and step 506 are credit control response messages.
  • FIG. 6 is a flowchart of deleting the policy control session binding information in the DRA according to the architecture of FIG. 2, and as shown in FIG. 6, the example deleting the policy control session binding information in the DRA includes the following steps:
  • the trigger may be caused by the ePDG or the P-GW sending a policy control session termination message to the PCRF, where the policy control session message carries indication information that the UE accesses or disconnects the PDN connection from the WLAN access.
  • the PCRF determines that the policy control session with the BPCF needs to be terminated.
  • the DRA binding is per IP-CAN session (ie, the DRA selects a BPCF for each IP-CAN session) and all of the IP-CAN session-related Diameter sessions are terminated (ie, the DRA binding in the DRA binding)
  • the association relationship of all Diameter sessions related to the IP-CAN session is deleted
  • the DRA will delete the DRA binding; if the DRA binding is per UE (ie, the DRA selects one BPCF for each UE session, and the UE is all
  • the Diameter session is terminated (that is, the association between the DRA binding and all Diameter sessions related to the UE in the DRA binding is deleted), then the DRA deletes the DRA binding.
  • Step 609 The DRA returns a redirect message to the PCRF.
  • step 606 the PCRF also does not carry the Session id. Instead, the session identification information is established with the request in step 502.
  • step 608 the DRA establishes session identification information according to the request.
  • the IP-CAN session has a valid DRA binding, and the S9* session message is set up in the DRA binding with the triggering BPCF (ie, step 502, the message can be used to establish the session identification information by using the request carried in step 502).
  • Step 702 The PCRF sends a Diameter session establishment request message to the DRA, where the Diameter session establishment request message carries a user identifier, a PDN identifier, and a request to establish a session indication.
  • the PCRF fills in the domain name of the BBF access network in the Destination-Host AVP of the message.
  • the PCRF assigns a session ID to the Diameter session established by the request, and the identifier is ID1.
  • the request to establish a session indication is used to notify the BPCF to initiate establishment of a policy control session.
  • the DRA saves the Diameter session associated with the binding, where ID1 is added to the DRA binding. That is, the association between the DRA binding and the ID1-identified session is saved, that is, the message that the DRA binding and the triggering BPCF establishes the S9* session is saved (ie, step 702, the message may be established by using the ID1 and/or the request carried in step 702).
  • the association of the session identification information uniquely identified).
  • Step 706 After receiving the Diameter session setup response message, the DRA returns a Diameter session establishment response message to the PCRF. If the DRA can return the selected BPCF identifier, then The DRA carries the BPCF identifier in the response message.
  • the Diameter session established in steps 705 through 706 is referred to as an S9a session in the present invention.
  • Step 707 The BPCF establishes a session indication according to the request in the Diameter session establishment request message, and sends a Diameter session establishment request message to the PCRF to request to establish a policy control session.
  • the BPCF allocates a session identifier Session ID to the Diameter session established by the request, and the identifier is
  • the Diameter session establishment request message may carry the request establishment session identifier information sent in step 704 to notify the PCRF that the message is used to establish the policy control session requested to be established in step 704.
  • the Diam session established in steps 707 through 708 is referred to as an S9* session in the present invention. Thereafter, the PCRF can issue the policy through the policy control session established in step 707 and step 708.
  • the BPCF can also perform policy execution results, admission control results, and event reporting.
  • the Diameter session request message may adopt a credit control request message.
  • steps 702 and 704 are credit control request messages
  • steps 705 and 706 are credit control response messages.
  • the Diameter session request message may also re-authorize the request message, as in step 702 and step 704, the authorization authentication request, and step 705 and step 706 are the authorization authentication response. Therefore, in this embodiment, the specific form of the Diameter session request message is not limited.
  • the message of step 702 and step 704 may also carry an indication that the session state is not maintained (ie, the message carries an Auth-Session-State AVP, and the value is NO_STATE_MAINTAINED), or does not carry the PCRF.
  • the session ID assigned by this Diameter session That is, step 702 - step 706 interaction does not establish an S9a session (in the message interaction node) After the bundle, the relevant session information will not be maintained in the PCRF and BPCF). Therefore, step 702-step 706 is only used to trigger the BPCF to initiate the establishment of the S9* session.
  • the DRA determines, according to the user identifier, whether a BPCF has been selected for the UE (if the DRA is configured to select one BPCF for each UE) or determines whether a BPCF has been selected for the IP-CAN session according to the user identifier and the PDN identifier (if The DRA is configured to select one BPCF per PDN per UE.
  • the DRA is the UE or the IP- Select a PCRF for the CAN session, and save the corresponding relationship (user ID, PDN ID, BPCF ID) or (user ID, BPCF ID) or (UE local address, user ID, PDN ID, BPCF ID) to create a DRA binding; otherwise
  • the DRA updates the DRA binding based on the user identity, the PDN identity, and/or the UE local IP address.
  • the association between the DRA binding and the triggering BPCF to establish an S9* session in the DRA binding ie, the step 702 message, the message may be uniquely identified by the request carried in step 702 is established. relationship.
  • FIG. 8 is a flowchart of deleting the policy control session binding information in the DRA according to the architecture of FIG. 2, and as shown in FIG. 8, the deleting the policy control session binding information in the DRA in this example includes the following steps:
  • Step 801 The PCRF is triggered, and the policy control session between the BPCF and the BPCF needs to be terminated, that is, the S9* session.
  • the trigger may be caused by the ePDG or the P-GW sending a policy control session termination message to the PCRF, where the policy control session message carries indication information that the UE accesses or disconnects the PDN connection from the WLAN.
  • the PCRF determines that the policy control session with the BPCF needs to be terminated.
  • Step 802 The PCRF sends a request to the BPCF to terminate the Diameter session, where the session carries the request session termination indication.
  • the message is sent through the S9* session, that is, the Session ld carried in the message is ID2.
  • Step 803 The BPCF returns a request to the PCRF to terminate the Diameter session response.
  • the S9* session is sent, that is, the Session ld carried in the message is ID2 and/or the request to establish a session identification message.
  • Step 805 The PCRF returns a Diameter session termination response to the BPCF.
  • Step 806 The PCRF sends a Diameter session termination request to the DRA, where the message carries the Session Id as ID1.
  • Step 808 The DRA sends a Diameter session termination request to the BPCF, where the message carries the Session Id as ID1.
  • Step 809 BPCF returns a confirmation message to the DRA
  • the Diameter session is terminated (ie, the association between the DRA binding and all Diameter sessions related to the IP-CAN session in the DRA binding is deleted), then the DRA will delete the DRA binding; if the DRA binding is per UE And all the Diameter sessions of the UE are terminated (that is, the association relationship between the DRA binding and all Diameter sessions related to the UE in the DRA binding is deleted), then the DRA deletes the DRA binding.
  • Step 811 The DRA returns a Diameter session termination response to the PCRF.
  • the flow of Figure 8 can be implemented as follows:
  • step 806 the PCRF does not carry the Session id. Instead, the session identification information is established with the request in step 702.
  • step 810 the DRA establishes session identification information according to the request to determine that the IP-CAN session has a valid DRA binding, and deletes the D9 binding to establish a S9* session message with the triggering BPCF (ie, step 702 message, the message can be used.
  • the association carried in step 702 establishes an association relationship of the session identification information unique identifier.
  • the DRA binding is per IP-CAN session, and all the Diameter sessions related to the IP-CAN session are terminated (these sessions are in a hold state, all the Diameter sessions related to the IP-CAN session are terminated)
  • the DRA binding the association relationship between the DRA binding and all Diameter sessions related to the IP-CAN session is deleted, then the DRA will delete the DRA binding; if the DRA binding is per UE and all Diameter sessions of the UE Both ends (these sessions are in the state of being maintained. If all the Diameter sessions of the UE are terminated, the association relationship associated with the session identifier in the DRA binding is deleted), then the DRA deletes the DRA binding. Additionally, steps 808 and 809 may not be performed.
  • FIG. 9 is a flowchart of a DRA (V-DRA) selection of a visited PCRF (V-PCRF) in a UE attaching process in a roaming scenario, where V-DRA is a redirected Redirect mode, as shown in FIG.
  • the method specifically includes the following steps:
  • Step 901 The H-PCRF is triggered, and a policy control session with the V-PCRF needs to be established, that is, an S9 session. At this time, there is no S9 session established between the V-PCRF and the H-PCRF for the UE.
  • the trigger may be caused by the P-GW sending a policy control session message (ie, an IP-CAN session establishment indication message) to the H-PCRF, where the policy control session message carries the UE through Instructions for WLAN access.
  • a policy control session ie, an S9 session
  • the H-PCRF determines that a policy control session (ie, an S9 session) with the V-PCRF needs to be established, so as to provide a policy to the BBF access network through the V-PCRF and request the BBF access network. Admission control.
  • Step 902 The H-PCRF sends a Diameter session establishment request message to the V-DRA, where the Diameter session establishment request message carries a user identifier, a PDN identifier, and a request to establish a session indication.
  • the H-PCRF fills in the domain name of the visited network in the Destination-Host AVP of the message.
  • the H-PCRF allocates a session ID, which is ID1, to the Diameter session established by the request.
  • the request to establish a session indication is used to notify the V-PCRF to initiate the establishment of the S9 session.
  • the request to establish session identification information may be further carried in the Diameter session establishment request message, so that the H-PCRF determines whether the session V-PCRF that is requested to be established has been initiated.
  • the request establishment session identifier information may be location information of the UE accessing the BBF access network, or a uniquely distinguishable identifier allocated by the H-PCRF, or a user identifier, or a user identifier and a PDN identifier, or a UE Local IP address.
  • Step 903 The V-DRA determines, according to the user identifier, whether the V-PCRF has been selected for the UE (the V-DRA is configured to select one PCRF for each UE). At this time, if there is no corresponding binding information in the V-DRA, the V-DRA is the user, and the corresponding relationship (user ID, PDN identifier, V-PCRF identifier) or (user ID, V-PCRF identifier) is saved. Or (user identity, PDN identity, UE local IP address, V-PCRF identity;), create a DRA binding, otherwise the V-DRA updates the DRA binding according to the user identity, the PDN identity, and/or the UE local IP address.
  • the V-DRA saves the Diameter session associated with the binding, where ID1 is added to the DRA binding. That is, the association between the DRA binding and the ID1-identified session is saved, that is, the message that the DRA binding and the triggering V-PCRF establishes the S9 session is saved (ie, step 902, the message may be carried by ID1 and/or the request carried in step 902). Establish an association relationship with the unique identifier of the session identification information.
  • Step 904 The V-DRA returns a redirect message to the H-PCRF, and the DRA is carried in the message. 903 The identifier of the selected V-PCRF.
  • Step 905 The H-PCRF sends a Diameter session establishment request message to the sending V-PCRF according to the V-PCRF identifier returned by the 904, where the Diameter session establishment request message carries the user identifier, the PDN identifier, and the request establishment session indication.
  • the PCRF fills in the V-PCRF identifier in the Destination-Host AVP of the Diameter session establishment request message.
  • Step 906 After receiving the Diameter session establishment request message, the V-PCRF returns a Diameter session establishment response message to the PCRF.
  • Step 907 The V-PCRF establishes a session indication according to the request in the Diameter session establishment request message, and sends a Diameter session establishment request message to the H-PCRF to request to establish a policy control session (ie, an S9 session).
  • the V-PCRF allocates a session identifier Session ID for the Diameter session established by the request, and the identifier is ID2, and the V-PCRF also requests to establish an S9 sub-session (the PDN connection established by the sub-session).
  • the Diameter session establishment request message may carry the request establishment session identifier information sent in step 905, and is used to notify the H-PCRF that the message is used to establish the policy control session requested to be established in step 905.
  • Step 908 The H-PCRF sends a Diameter session establishment response message to the V-PCRF.
  • Step 909 The DRA and the BPCF in the V-PCRF and the BBF access network are executed according to the process shown in FIG. 5.
  • the H-PCRF can perform the policy delivery by the policy control session (S9 session) established in step 907 and step 908.
  • the V-PCRF can also perform policy execution results, admission control results, and event reporting.
  • the message of step 902 and step 905 may also carry an indication that the session state is not maintained (that is, the message carries the Auth-Session-State AVP, the value is NO_STATE_MAINTAINED), or does not carry the H- The session ID assigned by the PCRF to the Diameter session. That is, the step 902-step 906 interaction does not establish an S9a session (after the end of the message interaction, the relevant session information is not maintained in the H-PCRF and the V-PCRF). Therefore, step 902-step 906 is only used to trigger the V-PCRF to initiate the establishment of the S9 session.
  • the V-DRA determines, according to the user identifier, whether the V-PCRF has been selected for the UE. At this time, if there is no corresponding DRA binding in the V-DRA (that is, no V-PCRF is selected for the UE), the V-DRA selects a V-PCRF for the UE, and saves the corresponding relationship (user identifier, PDN identifier). , V-PCRF identifier) or (user ID, V-PCRF identifier) or (UE local address, user ID, PDN identifier, V-PCRF identifier;), create DRA binding, otherwise V-DRA user ID, PDN identifier And/or the UE local IP address updates the DRA binding.
  • the DRA binding is saved in the DRA binding, and the message that triggers the V-PCRF to establish an S9 session (ie, the step 902 message, the message may be uniquely identified by the request carried in step 902) connection relation.
  • the UE may need to establish a new PDN connection.
  • the H-PCRF When the UE initiates a new PDN connection, if the Home Routed scenario (ie, the P-GW is located in the HPLMN), the H-PCRF receives the policy control session message (ie, the IP-CAN session establishment indication message) sent from the P-GW. Then, the H-PCRF modifies the established S9 session, and requests the V-PCRF to establish an S9 sub-session with the H-PCRF (the sub-session corresponds to the newly established PDN connection).
  • the policy control session message ie, the IP-CAN session establishment indication message
  • the V-PCRF After receiving the above request, the V-PCRF sends a request message to the H-PCRF to establish an S9 sub-session; if the Visited Access scenario (that is, the P-GW is located in the VPLMN), the V-PCRF receives To the policy control session message (ie, IP-CAN session establishment indication message) sent from the P-GW, the V-PCRF modifies the established S9 session, and requests to establish another S9 sub-session with the H-PCRF (the sub-session corresponds to the sub-session) Newly established PDN connection).
  • the V-PCRF receives To the policy control session message (ie, IP-CAN session establishment indication message) sent from the P-GW, the V-PCRF modifies the established S9 session, and requests to establish another S9 sub-session with the H-PCRF (the sub-session corresponds to the sub-session) Newly established PDN connection).
  • the S9 session Since the S9 session is modified, it does not involve establishing a new S9a session or a new message that triggers the V-PCRF to establish an S9 session. In addition, after modifying the S9 session, you may need to perform the process of establishing an S9* session between V-PCRF and BPCF. Therefore, when the UE establishes multiple PDN connections, there is an S9 session between the V-PCRF and the H-PCRF, which includes multiple sub-sessions, some of which are initiated by the V-PCRF, and some are by H. - The PCRF requests the V-PCRF to initiate the establishment. At the same time, there is an S9a session between H-PCRF and V-PCRF. There is an S9* session between the BPCF and the V-PCRF, and the S9* session corresponds to the S9 session.
  • FIG. 10 is a flowchart of the binding policy of the deletion policy control session according to the present invention.
  • the deletion policy control session binding information in this example specifically includes the following steps:
  • Step 1001 The H-PCRF is triggered, and the policy control session between the V-PCRF and the V-PCRF needs to be terminated, that is, the S9 session.
  • the trigger may be caused by the P-GW sending a policy control session termination message to the H-PCRF.
  • the policy control session termination message is an IP-CAN session termination indication message, where the policy control session message carries the UE to detach from the WLAN access. Or disconnect the PDN connection instructions.
  • the H-PCRF determines that the S9 session with the V-PCRF needs to be terminated.
  • Step 1002 The H-PCRF sends a request to the V-PCRF to terminate the Diameter session, where the session carries the request session termination indication.
  • the message is sent through the S9 session, that is, the Session Id carried in the message is ID2.
  • Step 1003 The V-PCRF returns a request to the H-PCRF to terminate the Diameter session response.
  • Step 1004 The V-PCRF sends a Diameter session termination request to the H-PCRF.
  • Step 1005 The H-PCRF returns a Diameter session termination response to the V-PCRF.
  • Step 1006 The H-PCRF sends a Diameter session termination request to the V-DRA, and the message is sent through the S9a session, and the message carries the Session ld as ID1.
  • Step 1007 The H-PCRF sends a Diameter session termination request to the V-PCRF, where the message carries the Session Id as ID 1.
  • the V-DRA deletes the DRA binding (that is, the association between the DRA binding and all Diameter sessions related to the UE in the DRA binding is deleted).
  • Step 1009 The DRA returns a redirect message to the H-PCRF.
  • Step 1010 The V-PCRF returns a Diameter session termination response to the H-PCRF.
  • Step 1011 The DRA and the BPCF in the V-PCRF and the BBF access network are executed according to the flow of FIG. 6.
  • the H-PCRF may notify the V-DRA to delete the established S9a session in two cases:
  • step 1008 when the V-DRA receives the Diameter session termination request sent by the H-PCRF, the V-DRA deletes the UE. DRA binding. That is, when the H-PCRF terminates the S9 session, the H-PCRF sends a message to the V-DRA, informing the V-DRA to delete the DRA binding of the UE.
  • step 1008 when the V-DRA receives the Diameter session termination request of the H-PCRF, The V-DRA deletes the DRA binding in the DRA binding and triggers the V-PCRF to establish an S9 session.
  • the DRA binding of the UE cannot be deleted.
  • the process of FIG. 10 can be implemented as follows:
  • step 1006 the PCRF also does not carry the Session id. Instead, the same request as in step 902 is carried to establish session identification information.
  • step 1008 the V-DRA establishes session identification information according to the request to determine that the IP-CAN session has a valid DRA binding, and deletes the message in the DRA binding that establishes an S9 session with the triggering V-PCRF (ie, step 902 message, The message may use the request carried in step 902 to establish an association relationship uniquely identified by the session identification information.
  • step 1007 and step 1010 may not be performed.
  • the H-PCRF may notify the V-DRA to delete the S9 initiated by the V-PCRF requested by the H-PCRF in two cases. Association of session messages:
  • step 1008 when the H-PCRF notifies the V-DRA to delete the association relationship between the message that the H-PCRF triggers the V-PCRF to establish the S9 session, the V-DRA deletes the DRA binding of the UE. That is, when the H-PCRF terminates the S9 session, the H-PCRF sends a message to the V-DRA, informing the V-DRA to delete the DRA binding of the UE.
  • the H-PCRF When the H-PCRF terminates all H-PCRF requests for the S9 sub-session initiated by the V-PCRF, the H-PCRF notifies the V-DRA to delete the association relationship with the message that the H-PCRF triggers the V-PCRF to establish an S9 session. At this time, since the S9 session has not been terminated, the other Diameter sessions related to the UE in the V-DRA are not completely terminated, so in step 1008, when the H-PCRF notifies the V-DRA to delete and the H-PCRF triggers V. - When the PCRF establishes the association relationship between the messages of the S9 session, the V-DRA cannot delete the DRA binding after deleting the DRA binding in the DRA binding and the message triggering the V-PCRF to establish the S9 session.
  • FIG. 11 is a flowchart of the V-DRA selecting a V-PCRF in a UE attaching process according to the architecture of FIG. 2 and FIG. 4, wherein the DRA is a redirected Proxy mode, as shown in FIG.
  • the method specifically includes the following steps:
  • Step 1101 The H-PCRF is triggered, and a policy control session (S9 session) with the V-PCRF needs to be established. That is, there is no S9 session established between the V-PCRF and the H-PCRF for the UE. .
  • S9 session policy control session
  • the trigger may be caused by the P-GW sending a policy control session message to the H-PCRF.
  • the policy control session message is an IP-CAN session establishment indication message, and the policy control session message carries indication information that the UE accesses through the WLAN.
  • the H-PCRF determines that a policy control session with the V-PCRF needs to be established to provide a policy to the BBF access network through the V-PCRF and request admission control of the BBF access network.
  • Step 1102 The H-PCRF sends a Diameter session establishment request message to the V-DRA, where the Diameter session establishment request message carries a user identifier, a PDN identifier, and a request to establish a session indication.
  • the PCRF fills in the domain name of the visited network in the Destination-Host AVP of the message.
  • H-PCRF The session identifier is assigned to the Diameter session established for the request, and is identified as ID1.
  • the request to establish a session indication is used to notify the V-PCRF to initiate the establishment of the S9 session.
  • the Diameter session establishment request message may further carry a request to establish session identification information, which is used as an identifier for initiating a session in the future as a V-PCRF, so that the H-PCRF determines whether the session V-PCRF requested to be established has been initiated.
  • the request establishment session identification information may be location information of the UE accessing the BBF access network, or a uniquely distinguishable identifier allocated by the H-PCRF, or a user identifier, or a user identifier and a PDN identifier, or a UE Local IP address.
  • Step 1103 The V-DRA determines, according to the user identifier, whether the V-PCRF has been selected for the UE (the V-DRA is configured to select one V-PCRF for each UE). At this time, if there is no corresponding DRA binding in the V-DRA, the V-DRA selects a V-PCRF for the UE, and saves the correspondence (user ID, PDN identifier, V-PCRF identifier) or (user ID, V-PCRF) or (user identity, PDN identity, UE local IP address, V-PCRF identity), create a DRA binding, otherwise the V-DRA updates the DRA binding according to the user identity, the PDN identity, and/or the UE local IP address.
  • the V-DRA saves the Diameter session associated with the binding, where ID1 is added to the DRA binding. That is, the association between the DRA binding and the ID1-identified session is saved, that is, the message that the DRA binding and the triggering V-PCRF establish an S9 session is saved (ie, step 902, the message may be carried by ID1 and/or the request carried in step 902). Establish an association relationship with the unique identifier of the session identification information.
  • Step 1104 The V-DRA sends a Diameter session establishment request message to the selected V-PCRF, where the Diameter session establishment request message carries a user identifier, a PDN identifier, and a request to establish a session indication.
  • the V-DRA fills in the BPCF identifier in the Destination-Host AVP of the message.
  • Step 1105 After receiving the Diameter session establishment request message, the V-PCRF returns a Diameter session establishment response message to the V-DRA.
  • Step 1106 After receiving the Diameter session establishment response message, the V-DRA returns a Diameter session establishment response message to the H-PCRF. If the V-DRA can return the selected V-PCRF identifier, the V-DRA carries the V-PCRF identifier in the response message. Step 1105 - The Diameter session established in step 1106 is referred to as an S9a session in the present invention.
  • Step 1107 The V-PCRF establishes a session indication according to the request in the Diameter session establishment request message, and sends a Diameter session establishment request message to the H-PCRF to request to establish a policy control session, that is, establish an S9 session.
  • the V-PCRF allocates a session ID for the Diameter session established by the request, and the identifier is ID2.
  • the V-PCRF also requests to establish an S9 sub-session (the PDN connection established by the sub-session).
  • the Diameter session establishment request message may carry the request establishment session information in step 1104 to notify the H-PCRF that the message is used to establish the policy control session requested in step 1104.
  • Step 1108 The H-PCRF sends a Diameter session establishment response message to the V-PCRF.
  • the H-PCRF can perform the policy delivery by using the S9 session established in step 1107 and step 1108.
  • the V-PCRF can also perform policy execution results, admission control results, and event reporting.
  • the Diameter session request message may adopt a credit control request message. If the credit control request message is in step 1102 and step 1104, step 1105 and step 1106 are credit control response messages.
  • the Diameter Session Request message may also re-authorize the request message, such as the authorization authentication request in steps 1102 and 1104, and the step 1105 and the step 1106 are the authorization authentication response. Therefore, in this embodiment, the specific form of the Diameter session request message is not limited.
  • the message of step 1102 and step 1104 may also carry an indication that the session state is not maintained (ie, the message carries an Auth-Session-State AVP, the value is NO STATE MAINTAINED), or does not carry the H-PCRF.
  • the Diameter session The associated session ID. That is, step 1102 - step 1106 does not establish an S9a session (after the end of the message interaction, the relevant session information is not maintained in the H-PCRF and the V-PCRF). Therefore, step 1102 - step 1106 is only used to trigger the V-PCRF to initiate the establishment of the S9 session.
  • the V-DRA determines, according to the user identifier, whether the V-PCRF has been selected for the UE.
  • the V-DRA selects a PCRF for the UE, and saves the corresponding relationship (user identifier, PDN identifier, V - PCRF identity) or (user identity, V-PCRF identity) or (UE local address, user identity, PDN identity, V-PCRF identity;), otherwise V-DRA user identity, PDN identity and/or UE local IP address Update the DRA binding.
  • the DRA binding is saved in the DRA binding, and the message that triggers the V-PCRF to establish an S9 session (ie, the message of step 1102, the message may be uniquely identified by the request carried in step 1102). connection relation.
  • the UE may need to establish a new PDN connection.
  • the H-PCRF When the UE initiates a new PDN connection, if the Home Routed scenario (ie, the P-GW is located in the HPLMN), the H-PCRF receives the policy control session message (ie, the IP-CAN session establishment indication message) sent from the P-GW. Then, the H-PCRF modifies the established S9 session, and requests the V-PCRF to establish an S9 sub-session with the H-PCRF (the sub-session corresponds to the newly established PDN connection).
  • the policy control session message ie, the IP-CAN session establishment indication message
  • the V-PCRF After receiving the above request, the V-PCRF sends a request message to the H-PCRF to establish an S9 sub-session; if the Visited Access scenario (ie, the P-GW is located in the VPLMN), the V-PCRF receives the policy control sent from the P-GW.
  • the session message ie, the IP-CAN session establishment indication message
  • the V-PCRF modifies the established S9 session, and requests to establish another S9 subsession with the H-PCRF (the subsession corresponds to the newly established PDN connection).
  • the S9 session Since the S9 session is modified, it does not involve establishing a new S9a session or a new message triggering the V-PCRF to establish an S9 session. In addition, after modifying the S9 session, it may be necessary to perform a process of establishing an S9* session between the V-PCRF and the BPCF. Therefore, when the UE establishes multiple PDN connections, there is an S9 session between the V-PCRF and the H-PCRF, which includes multiple sub-sessions, and some of the multiple sub-sessions are V-PCRF initiated the establishment of the V-PCRF, and some were initiated by the H-PCRF request V-PCRF. At the same time, there is an S9a session between H-PCRF and V-PCRF. There is an S9* session between the BPCF and the V-PCRF, and the S9* session corresponds to the S9 session.
  • FIG. 12 is a flowchart of the method for controlling session binding based on the deletion policy of FIG. 11 .
  • the example of deleting the policy control session binding information includes the following steps: Step 1201 : The H-PCRF is triggered, and needs to be performed. Terminate the policy control session with the V-PCRF, ie the S9 session.
  • the trigger may be caused by the P-GW sending a policy control session termination message to the PCRF.
  • the policy control session termination message is an IP-CAN session termination indication, and the policy control session message carries the UE to attach or disconnect from the WLAN access. Instructions for PDN connections.
  • the PCRF After receiving the policy control session termination message, the PCRF determines that the policy control session with the V-PCRF needs to be terminated.
  • Step 1202 The H-PCRF sends a request to the V-PCRF to terminate the Diameter session, where the session carries the request session termination indication.
  • the message is sent through the S9 session, that is, the Session Id carried in the message is ID2.
  • Step 1206 The H-PCRF sends a Diameter session termination request to the V-DRA, and the message is sent through the S9a session.
  • the message carries the Session ld ID1.
  • Step 1209 The V-PCRF returns an acknowledgement message to the V-PCRF.
  • Step 1212 The V-PCRF interacts with the DRA and BPCF in the BBF access network to perform the process of FIG. 5 or FIG. 7.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed is a method for creating and deleting binding information in a Diameter routing agent (DRA). The method for deleting the DRA binding information comprises: when a first policy server terminates a first policy control session with a second policy server, the first policy server notifies the DRA to delete from the DRA binding the associative relationship with the message of the second policy server, said message having been triggered by the first policy server to establish the first policy control session. The present invention also comprises a system to execute the method for creating and deleting binding information in the DRA, and an H-PCRF. The present invention helps to complement the current protocol, defining creation and deletion mechanisms for policy control sessions, and ensuring that the UE can easily access an EPS via a BBF access network.

Description

创建和删除 Diameter路由代理中绑定信息的方法及系统、  Method and system for creating and deleting binding information in a Diameter routing agent,
H-PCRF 技术领域  H-PCRF Technical Field
本发明涉及一种创建和删除 Diameter路由代理( DRA, Diameter Routing Agent )中绑定信息的技术, 尤其涉及一种用户设备 ( UE, User Equipment ) 通过宽带论坛 ( BBF , Broadband Forum )接入网等接入演进的分组系统 ( EPS, Evolved Packet System )的网络时创建和删除 DRA中绑定信息的方 法及系统、 H-PCRF。 背景技术  The invention relates to a technology for creating and deleting binding information in a Diameter Routing Agent (DRA), and particularly relates to a user equipment (UE, User Equipment) accessing a network through a broadband forum (BBF, Broadband Forum). A method and system for creating and deleting binding information in a DRA when accessing a network of an evolved packet system (EPS, Evolved Packet System), H-PCRF. Background technique
图 1为非漫游场景下的演进的分组系统的架构示意图, 如图 1所示, FIG. 1 is a schematic structural diagram of an evolved packet system in a non-roaming scenario, as shown in FIG.
EPS 由演进的通用移动通信系统陆地无线接入网 (E-UTRAN , Evolved Universal Terrestrial Radio Access Network )、移动管理单元 ( MME, Mobility Management Entity ), 月良务网关 (S-GW, Serving Gateway )、 分组数据网络 网关( P-GW或 PDN GW, Packet Data Network Gateway )、 归属用户服务器 ( HSS , Home Subscriber Server )、 策略和计费规则功能( PCRF , Policy and Charging Rules Function )实体及其他支撑节点组成, 其中, PCRF是策略计 费控制 (PCC, Policy and Charging Control ) 的核心, 负责策略决策和计费 规则的制定。 PCRF提供了基于业务数据流的网络控制规则, 网络控制包括 业务数据流的检测、 门控 (Gating Control ), 服务质量 (QoS, Quality of Service )控制以及基于数据流的计费等。 PCRF将其制定的策略和计费规则 发送给策略计费执行功能 ( PCEF, Policy Charging Enforcement Function ) 由其执行, 同时, PCRF还需要保证这些规则和用户的签约信息一致。 PCRF 制定策略和计费规则的依据包括: 从应用功能(AF, Application Function ) 获取与业务相关的信息; 从用户签约数据库 ( SPR, Subscription Profile Repository )获取与用户策略计费控制签约信息; 从 PCEF获取与承载相关 网络的信息。 The EPS is evolved by the Evolved Universal Terrestrial Radio Access Network (E-UTRAN), the Mobility Management Entity (MME), and the S-GW (Serving Gateway). Packet data network gateway (P-GW or PDN GW, Packet Data Network Gateway), Home Subscriber Server (HSS), Policy and Charging Rules Function (PCRF) and other supporting nodes The PCRF is the core of Policy and Charging Control (PCC) and is responsible for policy decision making and charging rules. The PCRF provides network control rules based on service data flows. The network control includes detection of service data flows, Gating Control, Quality of Service (QoS) control, and data flow based charging. The PCRF sends its policy and charging rules to the Policy Charging Enforcement Function (PCEF), and the PCRF also needs to ensure that these rules are consistent with the user's subscription information. The basis for the PCRF to formulate policies and charging rules includes: From Application Function (AF, Application Function) Obtaining information related to the service; obtaining subscription information with the user policy charging control from the SPR (Spread Profile Repository); obtaining information about the network related to the bearer from the PCEF.
EPS 支持与非 3GPP 系统的互通, 与非 3GPP 系统的互通通过 S2a/S2b/S2c接口实现, P-GW作为 3GPP与非 3GPP系统间的锚点。 如图 1 所示,其中非 3GPP系统被分为可信任非 3GPP IP接入和不可信任非 3GPP IP 接入, 可信任非 3GPP IP接入可直接通过 S2a接口与 P-GW连接; 不可信 任非 3GPP IP接入需经过演进的分组数据网关( ePDG, Evolved Packet Data Gateway )与 P-GW相连, ePDG与 P-GW间的接口为 S2b,并且 UE和 ePDG 之间采用 IPSec对信令和数据进行加密保护。 S2c提供了用户设备(UE, User Equipment )与 P-GW之间的用户面相关的控制和移动性支持, 其支持 的移动性管理协议为支持双栈的移动 IPv6 ( DSMIPv6, Moblie IPv6 support for dual stack Hosts and Routers )。  EPS supports interworking with non-3GPP systems. Interworking with non-3GPP systems is implemented through the S2a/S2b/S2c interface, which acts as an anchor between 3GPP and non-3GPP systems. As shown in FIG. 1, where the non-3GPP system is divided into trusted non-3GPP IP access and untrusted non-3GPP IP access, the trusted non-3GPP IP access can be directly connected to the P-GW through the S2a interface; The 3GPP IP access is connected to the P-GW through an Evolved Packet Data Gateway (ePDG). The interface between the ePDG and the P-GW is S2b, and IPSec is used between the UE and the ePDG to perform signaling and data. Encryption protection. S2c provides user plane-related control and mobility support between the user equipment (UE, User Equipment) and the P-GW. The supported mobility management protocol is dual-stack mobile IPv6 (DSMIPv6, Moblie IPv6 support for dual). Stack Hosts and Routers ).
目前很多运营商关注固网移动融合( FMC, Fixed Mobile Convergence ), 并针对 3GPP和宽带论坛(BBF, Broadband Forum ) 互连互通进行研究。 对于用户通过 BBF接入网 (也称固定宽带接入网 ( Fixed Broadband Access Network ) )接入移动核心网的场景需要对数据的整个传输路径(数据会经 过固网和移动网传输 )上的 QoS进行保证。 目前主要研究两种 BBF接入与 3GPP互操作的场景。  At present, many operators pay attention to Fixed Mobile Convergence (FMC) and conduct research on interconnection between 3GPP and Broadband Forum (BBF). For the user to access the mobile core network through the BBF access network (also known as the Fixed Broadband Access Network), the QoS on the entire transmission path of the data (data will pass through the fixed network and the mobile network) Make a guarantee. Currently, two scenarios of BBF access and 3GPP interoperability are mainly studied.
图 2为 UE通过无线局域网( WLAN, Wireless Local Area Network )接 入 EPS核心网的示意图,如图 2所示, BBF接入网作为不可信任的非 3GPP 接入网, 当 UE接入 BBF接入网后, 宽带接入服务器(BRAS, Broadband Remote Access Server ) /宽带网络网关( BNG , Broadband Network Gateway ) 将执行基于 3GPP的接入认证, 同时由 BBF的 BPCF主动发起 S9*的会话 与 3GPP的 PCRF进行交互。 从而 PCRF在进行 QoS授权时能够与宽带策 略控制功能(BPCF, Broadband Policy Control Function )进行交互, BPCF 执行资源的接纳控制。 2 is a schematic diagram of a UE accessing an EPS core network through a wireless local area network (WLAN). As shown in FIG. 2, the BBF access network serves as an untrusted non-3GPP access network, and when the UE accesses the BBF access, After the network, the Broadband Access Server (BRAS)/Broadband Network Access Gateway (BNG, Broadband Network Gateway) will perform 3GPP-based access authentication, while the BPF of the BBF actively initiates the S9* session and the 3GPP PCRF. Interact. Therefore, the PCRF can communicate with the broadband policy when performing QoS authorization. The BPCF (Broadband Policy Control Function) interacts and the BPCF performs resource admission control.
然而在某些场景中, BBF接入网并不总能感知到 UE的接入或者 BBF 接入网不支持基于 3GPP的接入认证。 在这种场景下, BPCF将不能主动发 起 S9*会话的建立, 从而不能实现对 UE接入的 QoS控制。 此时, 只能由 PCRF向 BPCF发起会话建立流程。  However, in some scenarios, the BBF access network does not always be aware of UE access or the BBF access network does not support 3GPP-based access authentication. In this scenario, BPCF will not be able to initiate the establishment of an S9* session, and thus cannot implement QoS control for UE access. At this point, the session establishment process can only be initiated by the PCRF to BPCF.
图 3为 H ( e ) NB通过 BBF接入网接入 EPS的核心网的一种架构示意 图, 如图 3所示 , 当 3GPP UE通过 HeNB接入 3GPP核心网访问业务时 , 所需的 QoS不能超过 BBF接入网所能提供的 QoS。 由于 3GPP UE通过 H ( e ) NB接入对 BBF接入网是不可感知的, 因此只能由家用基站策略功能 ( H ( e ) NB Policy Function ) 向 BPCF发起会话建立流程。  FIG. 3 is a schematic diagram of an architecture of a core network in which an H (e)NB accesses an EPS through a BBF access network. As shown in FIG. 3, when a 3GPP UE accesses a 3GPP core network to access a service through a HeNB, the required QoS cannot be More than the QoS that the BBF access network can provide. Since the 3GPP UE is inaccessible to the BBF access network through the H(e)NB access, the session establishment procedure can only be initiated to the BPCF by the H(e)NB Policy Function.
图 4为 H ( e ) NB通过 BBF接入网接入 EPS的核心网的另一种架构示 意图,如图 4所示, 当 3GPP UE通过 HeNB接入 3GPP核心网访问业务时 , 所需的 QoS不能超过 BBF接入网所能提供的 QoS。 由于 3GPP UE通过 H ( e ) NB接入对 BBF接入网是不可感知的, 因此只能由 PCRF向 BPCF发 起会话建立流程。  FIG. 4 is a schematic diagram of another architecture of the core network where the H(e)NB accesses the EPS through the BBF access network. As shown in FIG. 4, when the 3GPP UE accesses the 3GPP core network to access the service through the HeNB, the required QoS is required. It cannot exceed the QoS that the BBF access network can provide. Since the 3GPP UE access to the BBF access network through the H(e)NB access is imperceptible, the session establishment procedure can only be initiated by the PCRF to the BPCF.
对于上述图 2及图 4所示的两种接入架构的漫游场景, 由于 BBF接入 网无法感知到 3GPP UE的接入,因此可能需要由归属地 PCRF(即 H-PCRF ) 向拜访地 PCRF (即 V-PCRF )触发建立 S9*会话, 进而由 V-PCRF触发建 立 S9*会话。  For the roaming scenario of the two access architectures shown in FIG. 2 and FIG. 4, since the BBF access network cannot perceive the access of the 3GPP UE, the PCRF may be required to be visited by the home PCRF (ie, H-PCRF). (ie, V-PCRF) triggers the establishment of an S9* session, which in turn triggers the establishment of an S9* session by the V-PCRF.
此外, EPS的一个公共陆地移动电话网 (PLMN, Public Land Mobile Network ) 中存在多个 PCRF节点, 并且所有的 PCRF节点属于一个或多个 Diameter ( PCRF ) 域, 同一个 Diameter ( PCRF )域中的所有 PCRF具有 相同的能力。 一个 UE到分组数据网络( PDN, Packet Data Network ) 的连 接称为一个 IP连接接入网( IP-CAN , IP Connectivity Access Network )会话。 一个 IP-CAN会话的 PCC策略只由一个 PCRF决定。为了确保一个 IP-CAN 会话相关的所有 PCEF或 BBERF以及为这个 IP-CAN会话提供业务的 AF 都关联到同一个 PCRF, EPS在每个 Diameter ( PCRF )域中引入了一个逻 辑功能模块一 DRA。 UE要建立到一个 PDN的 IP-CAN会话时, 由 DRA为 这个 IP-CAN会话选择一个 PCRF, 与这个 IP-CAN会话相关的 PCEF、 BBERF和 AF由 DRA来关联到所选择的 PCRF上。 PCEF、 BBERF和 AF 分别与选中的 PCRF建立 Diameter会话, 并通过这些 Diameter会话传送对 IP-CAN会话进行控制的策略和业务信息等。为了确保 DRA正确地将 PCEF、 BBERF和 AF关联到一个 PCRF, DRA要保存能够唯一标识这个 IP-CAN 会话相关的信息和对应的 PCRF标识或者 IP地址, 标识 IP-CAN会话的信 息有 UE的网络接入标识( NAI, Network Access Identifier ), UE的 IP地址 以及 UE要接入 PDN的接入点名称( APN, Access Point Name )等。 当同 一个 IP-CAN会话的 PCEF、 BBERF和 AF在建立与 PCRF的 Diameter会话 时, 向 DRA提供这些信息, DRA查找保存的信息, 就可以为其选择同一 个 PCRF了。 DRA中可以保存 PCEF、 BBERF或 AF与 PCRF建立的 Diameter 会话的信息,如建立的 Diameter会话的会话标识等。这样 DRA就能知道其 为 IP-CAN会话所管理的 Diameter会话。 当 PCEF、 BBERF或 AF与 PCRF 建立的 Diameter会话删除时, PCEF、 BBERF或 AF要通知 DRA删除该 Diameter, DRA可以删除该 Diameter会话的信息(如会话标识)。 当 DRA 为某个 IP-CAN会话管理的所有的 Diameter会话删除后, DRA将删除该 IP-CAN会话的所有信息。 此外, 根据配置, DRA也可以为一个 UE选择同 一个 PCRF。 In addition, there are multiple PCRF nodes in a public land mobile phone network (PLMN) of the EPS, and all PCRF nodes belong to one or more Diameter (PCRF) domains, in the same Diameter (PCRF) domain. All PCRFs have the same capabilities. A UE-to-packet data network (PDN, Packet Data Network) connection is called an IP-Connected Access Network (IP-CAN) session. The PCC policy for an IP-CAN session is determined by only one PCRF. To ensure that all PCEFs or BBERFs associated with an IP-CAN session and AFs serving this IP-CAN session are associated with the same PCRF, the EPS introduces a logical function module-DRA in each Diameter (PCRF) domain. When the UE wants to establish an IP-CAN session to a PDN, the DRA selects a PCRF for this IP-CAN session, and the PCEF, BBERF and AF associated with this IP-CAN session are associated by the DRA to the selected PCRF. PCEF, BBERF, and AF respectively establish Diameter sessions with selected PCRFs, and transmit policies and service information for controlling IP-CAN sessions through these Diameter sessions. In order to ensure that the DRA correctly associates the PCEF, BBERF and AF to a PCRF, the DRA maintains a network that can uniquely identify this IP-CAN session-related information and the corresponding PCRF identity or IP address, identifying the IP-CAN session with the UE. The access identifier (NAI, Network Access Identifier), the IP address of the UE, and the access point name (APN, Access Point Name) of the UE to access the PDN. When the PCEF, BBERF, and AF of the same IP-CAN session establish this information to the DRA when establishing a Diameter session with the PCRF, the DRA searches for the saved information and selects the same PCRF for it. The information of the Diameter session established by the PCEF, the BBERF, or the AF and the PCRF may be saved in the DRA, such as the session identifier of the established Diameter session. This allows the DRA to know which Diameter session it manages for the IP-CAN session. When the Diameter session established by the PCEF, BBERF or AF and the PCRF is deleted, the PCEF, BBERF or AF informs the DRA to delete the Diameter, and the DRA can delete the information of the Diameter session (such as the session identifier). When the DRA deletes all Diameter sessions managed by an IP-CAN session, the DRA deletes all information for that IP-CAN session. In addition, depending on the configuration, the DRA can also select the same PCRF for one UE.
同样地, 对于 BBF接入网, 也可能存在多个 BPCF节点, 并且所有的 BPCF节点属于一个或多个 Diameter ( BPCF ) 域, 也可引入 DRA, 并利 用 DRA为一个 IP-CAN会话或一个 UE选择一个 BPCF。 目前, DRA具体实现可以有三种方式。 ( 1 ) Redirect方式。 当 PCEF、 BBERF和 AF向 PCRF发送 Diameter会话建立请求消息时, 该 Diameter会 话建立请求消息首先被发送给 DRA。若 DRA还没有这个 IP-CAN会话相关 的信息时, DRA会为这个 IP-CAN会话选择一个 PCRF。并将所选择的 PCRF 的标识或地址返回给发送方。 若 DAR中已经存在这个 IP-CAN会话相关的 信息, 则 DRA将对应的 PCRF 的标识或地址返回给发送方。 发送方获得 PCRF的地址或标识后再向所选择的 PCRF发送 Diameter会话建立请求消 息。 ( 2 ) Proxy方式。 当 PCEF、 BBERF和 AF向 PCRF发送 Diameter会话 建立请求消息时, 该 Diameter会话建立请求消息首先被发送给 DRA。 若 DRA还没有这个 IP-CAN会话相关的信息时, DRA会为这个 IP-CAN会话 选择一个 PCRF,并将该 Diameter会话建立请求消息转发给所选择的 PCRF。 若 DAR中已经有这个 IP-CAN会话相关的信息, 则 DRA将 Diameter会话 建立请求该消息转发给对应的 PCRF。 PCRF的确认消息也通过 DRA转发 给 PCEF、 BBERF或 AF。 ( 3 ) Proxy方式的变形。 与 Proxy方式类似, 不 同点在于 DRA在转发 PCRF返回的确认消息时会把 PCRF的地址也发送给 PCEF、 BBERF或 AF。 这样在随后的消息交互中, PCEF、 BBERF或 AF 可以直接与 PCRF交互而不需要经过 DRA。 Similarly, for a BBF access network, there may be multiple BPCF nodes, and all BPCF nodes belong to one or more Diameter (BPCF) domains, and may also introduce DRA and utilize DRA as an IP-CAN session or a UE. Choose a BPCF. Currently, there are three ways to implement DRA. (1) Redirect mode. When the PCEF, BBERF, and AF send a Diameter Session Establishment Request message to the PCRF, the Diameter Session Establishment Request message is first sent to the DRA. If the DRA does not yet have this IP-CAN session related information, the DRA will select a PCRF for this IP-CAN session. The identity or address of the selected PCRF is returned to the sender. If the IP-CAN session related information already exists in the DAR, the DRA returns the identifier or address of the corresponding PCRF to the sender. After the sender obtains the address or identifier of the PCRF, it sends a Diameter Session Establishment Request message to the selected PCRF. (2) Proxy mode. When the PCEF, BBERF, and AF send a Diameter Session Establishment Request message to the PCRF, the Diameter Session Establishment Request message is first sent to the DRA. If the DRA does not yet have this IP-CAN session related information, the DRA will select a PCRF for this IP-CAN session and forward the Diameter Session Setup Request message to the selected PCRF. If the IP-CAN session related information already exists in the DAR, the DRA forwards the Diameter session establishment request to the corresponding PCRF. The acknowledgment message of the PCRF is also forwarded to the PCEF, BBERF or AF via the DRA. (3) Deformation of the Proxy mode. Similar to the Proxy mode, the difference is that the DRA sends the PCRF address to the PCEF, BBERF or AF when forwarding the acknowledgment message returned by the PCRF. In this way, in subsequent message interactions, PCEF, BBERF or AF can interact directly with the PCRF without going through the DRA.
对于方式(2 ), 不管是第一条会话建立的消息还是随后的消息都是经 过 DRA的, 因此当要终结 Diameter会话时, DRA可以分析出消息中终结 会话的指示, 从而删除 DRA中这个会话的信息。 对于方式(3 ), 当要终结 Diameter会话时, 客户端只要将终结消息先发送给 DRA, 在由 DRA转发 给 PCEF就可实现。当 H-PCRF需要触发 V-PCRF建立 S9*会话,或者 PCRF 触发 BPCF建立 S9*会话, 以及 H ( e ) NB PCRF触发 BPCF建立 S9*会话 时, 如何采用 DRA (对于 H-PCRF触发 V-PCRF建立 S9*会话的场景, 该 DRA位于 VPLMN, 对于 PCRF/H ( e ) NB PCRF触发 BPCF建立 S9*会话 的场景, 该 DRA位于 BBF网络)为一个 IP-CAN会话或一个 UE选择同一 个 V-PCRF或 BPCF以及如何创建 DRA中的绑定信息还是尚待解决问题。 同时, 在 IP-CAN会话终结或是 UE去附着时, 如何删除 DRA中的绑定信 息也是尚待解决的问题。 发明内容 For mode (2), whether the message created by the first session or the subsequent message is DRA, when the Diameter session is to be terminated, the DRA can analyze the indication of the terminating session in the message, thereby deleting the session in the DRA. Information. For mode (3), when the Diameter session is to be terminated, the client only needs to send the termination message to the DRA first, and then forward it to the PCEF by the DRA. How to use DRA when the H-PCRF needs to trigger the V-PCRF to establish an S9* session, or the PCRF triggers the BPCF to establish an S9* session, and the H(e)NB PCRF triggers the BPCF to establish an S9* session (for the H-PCRF trigger V-PCRF) Establishing an S9* session scenario, the DRA is located in the VPLMN, and the PCRF/H (e) NB PCRF triggers the BPCF to establish an S9* session. The scenario, the DRA is located in the BBF network) Selecting the same V-PCRF or BPCF for an IP-CAN session or a UE and how to create binding information in the DRA remains to be solved. At the same time, when the IP-CAN session is terminated or the UE is detached, how to delete the binding information in the DRA is still a problem to be solved. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种创建和删除 Diameter路由 代理中绑定信息的方法及系统、 H-PCRF, 规范了 UE通过 BBF接入网接入 到 EPS系统时 PCRF触发 BPCF建立策略控制会话及在删除策略控制会话 后如何在 DRA中删除策略控制会话的相关绑定信息。  In view of this, the main purpose of the present invention is to provide a method and system for creating and deleting binding information in a Diameter routing proxy, and an H-PCRF, which is to specify that a PCRF triggers a BPCF establishment when a UE accesses an EPS system through a BBF access network. The policy controls the session and how to delete the binding information about the policy control session in the DRA after deleting the policy control session.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一种删除 Diameter路由代理中绑定信息的方法, 包括:  A method for deleting binding information in a Diameter routing agent, including:
第一策略服务器终结与第二策略服务器的第一策略控制会话时, 所述 第一策略服务器通知 DRA删除所述 DRA绑定中与所述第一策略服务器触 发所述第二策略服务器建立所述第一策略控制会话的消息的关联关系。  When the first policy server terminates the first policy control session with the second policy server, the first policy server notifies the DRA to delete the DRA binding, and the first policy server triggers the second policy server to establish the The first policy controls the association of messages of the session.
优选地, 所述 DRA接收到所述删除 DRA绑定中与所述第一策略服务 器触发所述第二策略服务器建立所述第一策略控制会话的消息的关联关系 的通知之后, 所述方法还包括:  Preferably, after the DRA receives the notification that the association relationship between the DRA binding and the first policy server triggers the second policy server to establish the first policy control session, the method further Includes:
所述 DRA删除所述 DRA绑定中与所述第一策略服务器触发所述第二 策略服务器建立所述第一策略控制会话的消息的关联关系。  And the DRA deletes an association relationship between the DRA binding and the message that the first policy server triggers the second policy server to establish the first policy control session.
优选地, 所述 DRA删除所述 DRA绑定中与所述第一策略服务器触发 所述第二策略服务器建立所述第一策略控制会话的消息的关联关系后, 所 述方法还包括:  Preferably, after the DRA deletes the association relationship between the DRA binding and the message that the first policy server triggers the second policy server to establish the first policy control session, the method further includes:
若 DRA绑定是每 IP-CAN会话的, 并且 IP-CAN会话的所有策略控制 会话均终结时, 所述 DRA删除与所述 IP-CAN相关的 DRA绑定; 或, 若 DRA绑定是每 UE的, 并且 UE的所有策略控制会话均终结时, 所 述 DRA删除与所述 UE相关的 DRA绑定。 If the DRA binding is per IP-CAN session, and all policy control sessions of the IP-CAN session are terminated, the DRA deletes the DRA binding associated with the IP-CAN; or, if the DRA binding is per UE's, and all policy control sessions of the UE are terminated, The DRA deletes the DRA binding associated with the UE.
优选地, 所述第一策略服务器终结与第二策略服务器的第一策略控制 会话之前, 所述方法还包括:  Preferably, before the first policy server terminates the first policy control session with the second policy server, the method further includes:
所述第一策略服务器向所述第二策略服务器发送所述触发消息, 触发 所述第二策略服务器创建第一策略控制会话。  The first policy server sends the trigger message to the second policy server, and triggers the second policy server to create a first policy control session.
优选地, 所述第一策略服务器向所述第二策略服务器发送所述触发消 息, 触发所述第二策略服务器创建所述第一策略控制会话, 具体为:  Preferably, the first policy server sends the trigger message to the second policy server, and the second policy server is triggered to create the first policy control session, specifically:
所述第一策略服务器接收到创建与所述第二策略服务器之间的第一策 略控制会话触发时, 通知所述 DRA在所述 DRA绑定中保存与所述第一策 略服务器触发所述第二策略服务器建立所述第一策略控制会话的消息的关 联关系;  When the first policy server receives the triggering of the first policy control session between the creation and the second policy server, notifying the DRA that the DRA is saved in the DRA binding and triggering the first policy server Establishing, by the second policy server, an association relationship of the message of the first policy control session;
所述第一策略服务器通过所述触发器消息通知所述第二策略服务器创 建第一策略控制会话;  The first policy server notifies the second policy server to create a first policy control session by using the trigger message;
所述第一策略服务器终结与第二策略服务器的第一策略控制会话时, 通知所述 DRA删除所述 DRA绑定中与所述第一策略服务器触发所述第二 策略服务器建立所述第一策略控制会话的消息的关联关系, 为:  When the first policy server terminates the first policy control session with the second policy server, the DRA is notified to delete the DRA binding, and the first policy server triggers the second policy server to establish the first The relationship of the policy control session messages is:
所述第一策略服务器接收到终结与所第二策略服务器之间的第一策略 控制会话触发时, 通知所述第二策略服务器终结第一策略控制会话;  Notifying the second policy server to terminate the first policy control session when the first policy server receives the triggering of the first policy control session between the termination and the second policy server;
第一策略控制会话终结后,所述第一策略服务器通知所述 DRA删除所 述 DRA绑定中与所述第一策略服务器触发器所述第二策略服务器建立所述 第一策略控制会话的消息的关联关系。  After the first policy control session is terminated, the first policy server notifies the DRA to delete the message that the first policy control session is established with the second policy server of the first policy server trigger in the DRA binding. Relationship.
优选地, 所述第一策略服务器为策略和计费规则功能 PCRF, 所述第二 策略服务器为宽带策略控制功能 BPCF;  Preferably, the first policy server is a policy and charging rule function PCRF, and the second policy server is a broadband policy control function BPCF;
或者, 所述第一策略服务器为 H-PCRF , 所述第二策略服务器为 V-PCRF。 一种删除 Diameter路由代理中绑定信息的方法, 包括: Or the first policy server is an H-PCRF, and the second policy server is a V-PCRF. A method for deleting binding information in a Diameter routing agent, including:
H-PCRF与 V-PCRF终结 S9会话时,所述 H-PCRF通知拜访地 Diameter 路由代理 V-DRA删除 DRA绑定; 或,  When the H-PCRF and the V-PCRF terminate the S9 session, the H-PCRF notifies the visited Diameter routing agent V-DRA to delete the DRA binding; or,
H-PCRF 与 V-PCRF 终结 S9 会话中所有的所述 H-PCRF 请求所述 V-PCRF创建的子会话时,所述 H-PCRF通知 V-DRA删除所述 DRA绑定中 与所述 H-PCRF触发所述 V-PCRF建立所述 S9会话的消息的关联关系。  When the H-PCRF and the V-PCRF terminate all the H-PCRFs in the S9 session requesting the sub-session created by the V-PCRF, the H-PCRF notifies the V-DRA to delete the DRA binding and the H - The PCRF triggers the V-PCRF to establish an association relationship of the messages of the S9 session.
优选地, 所述 H-PCRF在所述通知 V-DRA删除 DRA绑定的消息中携 带与所述 H-PCRF触发所述 V-PCRF建立所述 S9会话的消息中相同的会话 标识和 /或请求建立会话标识信息; 或,  Preferably, the H-PCRF carries the same session identifier and/or the message in the message that the H-PCRF triggers the V-PCRF to establish the S9 session in the message that the V-DRA deletes the DRA binding. Request to establish session identification information; or,
所述 H-PCRF在所述通知 V-DRA删除所述 DRA绑定中与所述 H-PCRF 触发所述 V-PCRF建立所述 S9会话的消息的关联关系的消息中携带与所述 H-PCRF触发所述 V-PCRF建立所述 S9会话的消息中相同的会话标识和 /或 请求建立会话标识信息。  And in the message that the H-PCRF is associated with the message that the H-PCRF triggers the V-PCRF to establish the S9 session, and the H-PCRF is carried in the message that the V-DRA is deleted in the DRA binding. The PCRF triggers the V-PCRF to establish the same session identifier in the message of the S9 session and/or request to establish session identification information.
优选地,所述请求建立会话标识信息为用户设备 UE接入宽带论坛 BBF 接入网的位置信息, 或是所述 H-PCRF分配的能够唯一区分的标识, 或是 用户标识 , 或是所述 UE的本地 IP地址 , 或是用户标识和 PDN标识。  Preferably, the request to establish the session identification information is location information of the user equipment UE accessing the broadband forum BBF access network, or the uniquely distinguishable identifier allocated by the H-PCRF, or the user identifier, or the The local IP address of the UE, or the user ID and PDN ID.
一种删除 Diameter路由代理中绑定信息的系统,应用于通过 BBF接入 网接入 EPS的网络中, 所述系统包括第一策略服务器、 第二策略服务器和 DRA, 其中:  A system for deleting binding information in a Diameter routing agent is applied to a network that accesses an EPS through a BBF access network, where the system includes a first policy server, a second policy server, and a DRA, where:
第一策略服务器, 用于在所述第一策略服务器终结与所述第二策略服 务器的第一策略控制会话时, 通知 Diameter路由代理 DRA删除 DRA绑定 中与所述第一策略服务器触发所述第二策略服务器建立所述第一策略控制 会话的消息的关联关系。  a first policy server, configured to: when the first policy server terminates the first policy control session with the second policy server, notify the Diameter routing agent that the DRA deletes the DRA binding and the first policy server triggers the The second policy server establishes an association relationship of messages of the first policy control session.
优选地, 所述 DRA接收所述删除 DRA绑定中与所述第一策略服务器 触发所述第二策略服务器建立所述第一策略控制会话的消息的关联关系的 通知后, 所述 DRA删除所述 DRA绑定中与所述第一策略服务器触发所述 第二策略服务器建立所述第一策略控制会话的消息的关联关系。 Preferably, the DRA receives an association relationship between the message in the deleted DRA binding and the message that the first policy server triggers the second policy server to establish the first policy control session. After the notification, the DRA deletes the association relationship between the DRA binding and the message that the first policy server triggers the second policy server to establish the first policy control session.
优选地, 所述 DRA删除所述 DRA绑定中与所述第一策略服务器触发 所述第二策略服务器建立所述第一策略控制会话的消息的关联关系后, 所 述系统还包括:  Preferably, after the DRA deletes the association relationship between the DRA binding and the message that the first policy server triggers the second policy server to establish the first policy control session, the system further includes:
若 DRA绑定是每 IP-CAN会话的, 并且 IP-CAN会话的所有策略控制 会话均终结时, 所述 DRA进一步用于, 删除与所述 IP-CAN相关的 DRA 绑定; 或,  If the DRA binding is per IP-CAN session, and all policy control sessions of the IP-CAN session are terminated, the DRA is further used to delete the DRA binding associated with the IP-CAN; or
若 DRA绑定是每 UE的, 并且 UE的所有策略控制会话均终结时, 所 述 DRA进一步用于, 删除与所述 UE相关的 DRA绑定。  If the DRA binding is per UE, and all policy control sessions of the UE are terminated, the DRA is further used to delete the DRA binding associated with the UE.
优选地, 所述第一策略服务器终结与第二策略服务器的第一策略控制 会话之前,  Preferably, before the first policy server terminates the first policy control session with the second policy server,
所述第一策略服务器进一步用于, 向所述第二服务器发送所述触发消 息, 通知所述第二策略服务器创建第一策略控制会话。  The first policy server is further configured to: send the trigger message to the second server, and notify the second policy server to create a first policy control session.
优选地, 所述第一策略服务器进一步用于, 在接收到创建与所述第二 策略服务器之间的第一策略控制会话触发时, 通知所述 DRA在所述 DRA 绑定中保存与所述第一策略服务器触发所述第二策略服务器建立所述第一 策略控制会话的消息的关联关系;  Preferably, the first policy server is further configured to notify the DRA to save in the DRA binding when the first policy control session trigger between the creation and the second policy server is received. The first policy server triggers an association relationship between the message that the second policy server establishes the first policy control session;
第一策略控制会话终结后, 所述第一策略服务器进一步用于, 通知所 述 DRA删除所述 DRA绑定中与所述第一策略服务器触发所述第二策略服 务器建立所述第一策略控制会话的消息的关联关系。  After the first policy control session is terminated, the first policy server is further configured to notify the DRA to delete the DRA binding, and the first policy server triggers the second policy server to establish the first policy control. The association of the messages of the session.
优选地,所述第一策略服务器为 PCRF,所述第二策略服务器为 BPCF; 或者, 所述第一策略服务器为 H-PCRF , 所述第二策略服务器为 V-PCRF。  Preferably, the first policy server is a PCRF, and the second policy server is a BPCF; or the first policy server is an H-PCRF, and the second policy server is a V-PCRF.
一种删除 Diameter路由代理中绑定信息的系统,应用于通过 BBF接入 网接入 EPS的网络中, 所述系统包括 H-PCRF、 V-PCRF, 其中: A system for deleting binding information in a Diameter routing agent, applied to access through BBF In the network where the network accesses the EPS, the system includes an H-PCRF and a V-PCRF, where:
H-PCRF, 用于在所述 H-PCRF与所述 V-PCRF终结 S9会话时, 所述 An H-PCRF, configured to: when the H-PCRF terminates the S9 session with the V-PCRF,
H-PCRF通知拜访地 Diameter路由代理 V-DRA删除 DRA绑定; 或, H-PCRF notification visit Diameter routing agent V-DRA delete DRA binding; or,
用于所述 H-PCRF与所述 V-PCRF终结 S9会话中所有的所述 H-PCRF 请求所述 V-PCRF创建的子会话时, 所述 H-PCRF通知 V-DRA删除所述 When the H-PCRF and the V-PCRF terminate all the H-PCRFs in the S9 session requesting the V-PCRF to create a sub-session, the H-PCRF notifies the V-DRA to delete the
DRA绑定中与所述 H-PCRF触发所述 V-PCRF建立所述 S9会话的消息的关 联关系。 The association relationship between the DRA binding and the message that the H-PCRF triggers the V-PCRF to establish the S9 session.
优选地, 所述 H-PCRF在所述通知 V-DRA删除 DRA绑定的消息中携 带与所述 H-PCRF触发所述 V-PCRF建立所述 S9会话的消息中相同的会话 标识和 /或请求建立会话标识信息; 或,  Preferably, the H-PCRF carries the same session identifier and/or the message in the message that the H-PCRF triggers the V-PCRF to establish the S9 session in the message that the V-DRA deletes the DRA binding. Request to establish session identification information; or,
所述 H-PCRF在所述通知 V-DRA删除所述 DRA绑定中与所述 H-PCRF 触发所述 V-PCRF建立所述 S9会话的消息的关联关系的消息中携带与所述 H-PCRF触发所述 V-PCRF建立所述 S9会话的消息中相同的会话标识和 /或 请求建立会话标识信息。  And in the message that the H-PCRF is associated with the message that the H-PCRF triggers the V-PCRF to establish the S9 session, and the H-PCRF is carried in the message that the V-DRA is deleted in the DRA binding. The PCRF triggers the V-PCRF to establish the same session identifier in the message of the S9 session and/or request to establish session identification information.
优选地,所述请求建立会话标识信息为用户设备 UE接入宽带论坛 BBF 接入网的位置信息, 或是所述 H-PCRF分配的能够唯一区分的标识, 或是 用户标识 , 或是所述 UE的本地 IP地址 , 或是用户标识和 PDN标识。  Preferably, the request to establish the session identification information is location information of the user equipment UE accessing the broadband forum BBF access network, or the uniquely distinguishable identifier allocated by the H-PCRF, or the user identifier, or the The local IP address of the UE, or the user ID and PDN ID.
一种创建 Diameter路由代理中绑定信息的方法, 包括:  A method for creating binding information in a Diameter routing agent, including:
第一策略服务器接收到需要创建与第二策略服务器之间的第一策略控 制会话触发时, 向 DRA发送触发消息;  The first policy server sends a trigger message to the DRA when receiving the triggering of the first policy control session between the second policy server and the second policy server;
所述 DRA创建或更新 DRA绑定后, 在所述 DRA绑定中保存 DRA绑 定与所述触发消息的关联关系;  After the DRA creates or updates the DRA binding, the association between the DRA binding and the trigger message is saved in the DRA binding.
所述第二策略服务器接收到所述触发消息后, 向第一策略服务器发送 请求消息, 请求建立所述第一策略控制会话。  After receiving the trigger message, the second policy server sends a request message to the first policy server to request to establish the first policy control session.
优选地, 所述触发消息携带会话标识或携带不维持会话状态指示。 一种 H-PCRF, 用于在所述 H-PCRF与所述 V-PCRF终结 S9会话时, 通知拜访地 Diameter路由代理 V-DRA删除 DRA绑定; 或, Preferably, the trigger message carries a session identifier or carries an indication that the session state is not maintained. An H-PCRF, configured to notify the visited Diameter routing agent V-DRA to delete the DRA binding when the H-PCRF terminates the S9 session with the V-PCRF; or
用于在所述 H-PCRF与所述 V-PCRF终结 S9会话中所有的所述 H-PCRF 请求所述 V-PCRF 创建的子会话时, 通知 V-DRA删除 DRA 绑定中与 H-PCRF触发所述 V-PCRF建立所述 S9会话的消息的关联关系。  Used to notify the V-DRA to delete the DRA binding and the H-PCRF when all of the H-PCRFs request the V-PCRF to create a sub-session in the H-PCRF and the V-PCRF-terminating S9 session. The association relationship of the message that triggers the V-PCRF to establish the S9 session.
本发明中 , 当 BBF接入网不能感知 UE接入时, 由 PCRF触发 BPCF 建立策略控制会话而实现策略控制, 而在删除策略控制会话后, 还需要在 DRA中删除策略控制会话的相关绑定信息。 本发明实现了对现有协议的较 佳补充, 明确了策略控制会话的创建及删除机制, 保证了 UE通过 BBF接 入网顺利接入到 EPS。 附图说明  In the present invention, when the BBF access network cannot perceive the UE access, the PCRF triggers the BPCF to establish a policy control session to implement policy control, and after deleting the policy control session, the related binding of the policy control session needs to be deleted in the DRA. information. The invention realizes a better supplement to the existing protocol, and clarifies the mechanism for creating and deleting the policy control session, and ensures that the UE smoothly accesses the EPS through the BBF access network. DRAWINGS
图 1为非漫游场景下的演进的分组系统的架构示意图;  1 is a schematic structural diagram of an evolved packet system in a non-roaming scenario;
图 2为 UE通过 WLAN接入 EPS核心网的示意图;  2 is a schematic diagram of a UE accessing an EPS core network through a WLAN;
图 3为 H ( e ) NB通过 BBF接入网接入 EPS的核心网的一种架构示意 图;  FIG. 3 is a schematic structural diagram of a core network in which an H ( e ) NB accesses an EPS through a BBF access network;
图 4为 H ( e ) NB通过 BBF接入网接入 EPS的核心网的另一种架构示 意图;  FIG. 4 is another schematic diagram of the architecture of the H(e)NB accessing the EPS core network through the BBF access network;
图 5为本发明基于图 1架构的创建策略控制会话的流程图;  FIG. 5 is a flowchart of creating a policy control session based on the architecture of FIG. 1 according to the present invention; FIG.
图 6为本发明基于图 1架构的在 DRA中删除策略控制会话绑定信息的 流程图;  6 is a flowchart of deleting a policy control session binding information in a DRA according to the architecture of FIG. 1 according to the present invention;
图 7为本发明基于图 1架构的创建策略控制会话的流程图;  7 is a flowchart of creating a policy control session based on the architecture of FIG. 1 according to the present invention;
图 8为本发明基于图 2架构的在 DRA中删除策略控制会话绑定信息的 流程图;  8 is a flowchart of deleting a policy control session binding information in a DRA according to the architecture of FIG. 2 according to the present invention;
图 9为本发明在漫游场景下, UE附着或 PDN连接建立过程中, 拜访 地 DRA选择拜访地 PCRF的流程图; 图 10为本发明基于图 9的删除策略控制会话绑定信息的流程图; 图 11为本发明基于图 2、图 4的架构,在漫游场景下, UE附着过程中, V-DRA选择 V-PCRF的流程图; 9 is a flowchart of selecting a visited PCRF by a visited DRA in a process of UE attachment or PDN connection establishment in a roaming scenario according to the present invention; 10 is a flowchart of controlling session binding information based on the deletion policy of FIG. 9 according to the present invention; FIG. 11 is an architecture based on FIG. 2 and FIG. 4 according to the present invention. In a roaming scenario, during UE attaching, V-DRA selects V- Flow chart of PCRF;
图 12为本发明基于图 11的删除策略控制会话绑定信息的流程图。 具体实施方式  FIG. 12 is a flowchart of controlling session binding information based on the deletion policy of FIG. 11 according to the present invention. detailed description
为使本发明的目的、 技术方案和优点更加清楚明白, 以下举实施例并 参照附图, 对本发明作进一步详细说明。  The present invention will be further described in detail below with reference to the accompanying drawings.
实施例一  Embodiment 1
图 5为本发明基于图 1架构的创建策略控制会话的流程图,在 UE附着 或 PDN连接建立过程中 , DRA选择 BPCF的流程示意图, 其中 DRA为重 定向 Redirect方式, 如图 5所示, 创建策略控制会话具体包括以下步驟: 步驟 501 : PCRF受到触发, 需要建立与 BPCF之间的策略控制会话。 该触发可能是 ePDG或 P-GW向 PCRF发送策略控制会话消息而引起 的, 所述策略控制会话消息中携带 UE通过 WLAN接入的指示信息。 PCRF 收到该策略控制会话消息后, 判定需要建立与 BPCF之间的策略控制会话, 以便向 BBF接入网提供策略以及请求 BBF接入网的接纳控制。  FIG. 5 is a flowchart of a method for creating a policy control session based on the architecture of FIG. 1 according to the present invention. In the process of establishing a UE or a PDN connection, the DRA selects a BPCF process, where the DRA is a redirected Redirect mode, as shown in FIG. 5, The policy control session specifically includes the following steps: Step 501: The PCRF is triggered, and a policy control session with the BPCF needs to be established. The trigger may be caused by the ePDG or the P-GW sending a policy control session message to the PCRF, where the policy control session message carries indication information that the UE accesses through the WLAN. After receiving the policy control session message, the PCRF determines that a policy control session with the BPCF needs to be established to provide a policy to the BBF access network and request admission control of the BBF access network.
步驟 502: PCRF向 DRA发送 Diameter会话建立请求消息,所述 Diameter 会话建立请求消息中携带用户标识、 PDN 标识以及请求建立会话指示。 PCRF在消息的 Destination-Host AVP中填写 BBF接入网的域名。 PCRF为 该请求建立的 Diameter会话分配会话标识 Session ID, 标识为 ID1。  Step 502: The PCRF sends a Diameter session establishment request message to the DRA, where the Diameter session establishment request message carries a user identifier, a PDN identifier, and a request to establish a session indication. The PCRF fills in the domain name of the BBF access network in the Destination-Host AVP of the message. The PCRF allocates a session ID, which is ID1, to the Diameter session established by the request.
这里, 请求建立会话指示用于通知 BPCF发起建立策略控制会话。 所述 Diameter会话建立请求消息中可以进一步携带请求建立会话标识 信息,用于将来作为 BPCF发起会话的标识,以便于 PCRF判断请求建立的 会话 BPCF是否已经发起。所述请求建立会话标识信息可以为用户接入 BBF 接入网的位置信息, 或是 PCRF分配的能够唯一区分的标识或是用户标识、 或是 UE的本地 IP地址(该地址为 UE在 BBF网络中获得的 IP地址 )、 或 是用户标识和 PDN标识。 Here, the request to establish a session indication is used to notify the BPCF to initiate establishment of a policy control session. The Diameter session establishment request message may further carry a request to establish session identification information for initiating an identifier of the session as a BPCF in the future, so that the PCRF determines whether the session BPCF requested to be established has been initiated. The request to establish session identification information may be location information of the user accessing the BBF access network, or a uniquely distinguishable identifier or user identifier allocated by the PCRF, Or the local IP address of the UE (the address is the IP address obtained by the UE in the BBF network), or the user identifier and the PDN identifier.
步驟 503: DRA根据用户标识判断是否已经为该 UE选择了 BPCF (若 DRA配置为每个 UE选择一个 BPCF )或根据用户标识和 PDN标识判断是 否已经为该 IP-CAN会话选择了 BPCF (若 DRA配置为每个 UE每 PDN选 择一个 BPCF )0 此时, 若 DRA中还没有对应的 DRA绑定, 则 DRA为该 UE或该 IP-CAN会话选择一个 PCRF, 并保存对应关系 (用户标识、 PDN 标识、 BPCF标识)或(用户标识、 BPCF标识)或(用户标识、 PDN标识、 UE本地 IP地址、 BPCF标识;), 创建 DRA绑定, 否则 DRA根据用户标识、 PDN标识和 /或 UE本地 IP地址更新 DRA绑定。 同时 DRA保存该绑定关 联的 Diameter会话,这里在 DRA绑定中增加 ID1。即保存 DRA绑定与 ID1 标识的会话的关联关系, 也就是保存 DRA绑定与触发 BPCF建立 S9*会话 消息 (即步驟 502消息, 该消息可以用 ID1和 /或步驟 502中携带的请求建 立会话标识信息唯一标识 ) 的关联关系。 Step 503: The DRA determines, according to the user identifier, whether a BPCF has been selected for the UE (if the DRA is configured to select one BPCF for each UE) or determines whether a BPCF has been selected for the IP-CAN session according to the user identifier and the PDN identifier (if DRA) Configure to select one BPCF per PDN for each UE. 0 At this time, if there is no corresponding DRA binding in the DRA, the DRA selects a PCRF for the UE or the IP-CAN session, and saves the corresponding relationship (user ID, PDN). ID, BPCF ID) or (user ID, BPCF ID) or (user ID, PDN ID, UE local IP address, BPCF ID); create a DRA binding, otherwise the DRA is based on the user ID, PDN ID, and/or UE local IP. The address updates the DRA binding. At the same time, the DRA saves the Diameter session associated with the binding, where ID1 is added to the DRA binding. That is, the relationship between the DRA binding and the ID1-identified session is saved, that is, the DRA binding is saved and the BPCF is triggered to establish an S9* session message (ie, step 502, the message can be established by using the ID1 and/or the request carried in step 502. The association of the identification information unique identifier).
步驟 504: DRA向 PCRF返回重定向消息, 在消息中携带 DRA在步驟 503选择的 BPCF的标识;  Step 504: The DRA returns a redirect message to the PCRF, where the message carries the identifier of the BPCF selected by the DRA in step 503.
步驟 505: PCRF根据步驟 504返回的 BPCF标识 ,向 BPCF发送 Diameter 会话建立请求消息,所述 Diameter会话建立请求消息中携带用户标识、 PDN 标识以及请求建立会话指示。 PCRF在消息的 Destination-Host AVP中填写 BPCF标识。  Step 505: The PCRF sends a Diameter session establishment request message to the BPCF according to the BPCF identifier returned in step 504, where the Diameter session establishment request message carries a user identifier, a PDN identifier, and a request to establish a session indication. The PCRF fills in the BPCF identifier in the Destination-Host AVP of the message.
步驟 506: BPCF收到所述 Diameter会话建立请求消息后, 向 PCRF返 回 Diameter会话建立应答消息。  Step 506: After receiving the Diameter session establishment request message, the BPCF returns a Diameter session establishment response message to the PCRF.
步驟 505和步驟 506建立的 Diameter会话,在本发明中称为 S9a会话。 步驟 507: BPCF根据所述 Diameter会话建立请求消息中的请求建立会 话指示, 向 PCRF发送 Diameter会话建立请求消息, 请求建立策略控制会 话。 BPCF为该请求建立的 Diameter会话分配会话标识 Session ID, 标识为 ID2。 The Diameter session established in steps 505 and 506 is referred to as an S9a session in the present invention. Step 507: The BPCF establishes a session indication according to the request in the Diameter session establishment request message, and sends a Diameter session establishment request message to the PCRF to request to establish a policy control conference. Words. The BPCF assigns a session ID to the Diameter session established by the request, and the identifier is ID2.
所述 Diameter会话建立请求消息中可以携带步驟 505中下发的请求建 立会话标识信息, 用于通知 PCRF该消息用于建立步驟 505 中请求建立的 策略控制会话。  The Diameter session establishment request message may carry the request establishment session identifier information sent in step 505 to notify the PCRF that the message is used to establish the policy control session requested to be established in step 505.
步驟 508: PCRF向 BPCF发送 Diameter会话建立应答消息。  Step 508: The PCRF sends a Diameter session establishment response message to the BPCF.
步驟 507和步驟 508建立的 Diameter会话, 在本发明中称为 S9*会话 此后, PCRF可以通过步驟 507和步驟 508建立的策略控制会话进行策 略的下发, BPCF也可以通过 PCRF进行策略执行结果、接纳控制结果以及 事件的上报。  The Diameter session established in step 507 and step 508 is referred to as an S9* session in the present invention. After the PCRF can perform the policy delivery by using the policy control session established in step 507 and step 508, the BPCF can also perform the policy execution result through the PCRF. Accept the results of the control and the reporting of the incident.
本实施例中的策略控制会话具体可以是网关控制会话。  The policy control session in this embodiment may specifically be a gateway control session.
在本实施例中, Diameter会话请求消息可以采用信用控制请求消息。 如步驟 502和步驟 505中为信用控制请求消息, 步驟 503和步驟 506为信 用控制应答消息。  In this embodiment, the Diameter session request message may adopt a credit control request message. In step 502 and step 505, which are credit control request messages, step 503 and step 506 are credit control response messages.
在本实施例中, Diameter会话请求消息还可以是重授权请求消息, 如 步驟 502 和步驟 505 中为授权认证请求 (AAR, Authorize Authenticate Request ),步驟 503和步驟 506为授权认证应答( AAA, Authorize Authenticate Answer )。 因此, 本实施例中, 不限定 Diameter会话请求消息的具体形式。  In this embodiment, the Diameter session request message may also be a re-authorization request message, such as an authorization authentication request (AAR, Authorize Authenticate Request) in steps 502 and 505, and steps 503 and 506 are authorization authentication responses (AAA, Authorize). Authenticate Answer ). Therefore, in this embodiment, the specific form of the Diameter session request message is not limited.
在其他实施例中, 步驟 502、 步驟 505的消息也可以携带不保持会话状 态 的指示 ( 即 消 息 中 携 带 Auth-Session-State AVP , 取值为 NO— STATE— MAINTAINED ), 或者不会携带 PCRF为该 Diameter会话分配 的会话标识。 即, 步驟 502-步驟 506交互不建立 S9a会话(在消息交互结 束后, PCRF和 BPCF中不会保持相关的会话信息)。 因此, 步驟 502-步驟 506仅用来触发 BPCF发起建立 S9*会话。步驟 503中, DRA根据用户标识 判断是否已经为该 UE选择了 BPCF (若 DRA配置为每个 UE选择一个 BPCF )或根据用户标识和 PDN标识判断是否已经为该 IP-CAN会话选择了 BPCF (若 DRA配置为每个 UE每 PDN选择一个 BPCF )0 此时, 若 DRA 中还没有对应的 DRA绑定(即没有为该 UE或 IP-CAN会话选择 BPCF ), 则 DRA为该 UE或该 IP-CAN会话选择一个 PCRF, 并保存对应关系 (用 户标识、 PDN标识、 BPCF标识)或 (用户标识、 BPCF标识)或 ( UE本 地地址、 用户标识、 PDN标识、 BPCF标识), 创建 DRA绑定; 否则 DRA 根据用户标识、 PDN标识和 /或 UE本地 IP地址更新 DRA绑定。 不管是更 新, 还是新建, 在 DRA绑定中保存 DRA绑定与触发 BPCF建立 S9*会话 的消息 (即步驟 502消息, 该消息可以用步驟 502中携带的请求建立会话 标识信息唯一标识 ) 的关联关系。 In other embodiments, the message of step 502 and step 505 may also carry an indication that the session state is not maintained (that is, the message carries the Auth-Session-State AVP, and the value is NO_STATE_MAINTAINED), or does not carry the PCRF. The session ID assigned by this Diameter session. That is, step 502 - step 506 does not establish an S9a session (after the end of the message interaction, the relevant session information is not maintained in the PCRF and the BPCF). Therefore, step 502-step 506 is only used to trigger the BPCF to initiate the establishment of the S9* session. In step 503, the DRA determines, according to the user identifier, whether BPCF has been selected for the UE (if the DRA is configured to select one for each UE) BPCF) or judging whether the BPCF has been selected for the IP-CAN session according to the user identifier and the PDN identifier (if the DRA is configured to select one BPCF per PDN per UE) 0 At this time, if there is no corresponding DRA binding in the DRA ( That is, if the BPCF is not selected for the UE or the IP-CAN session, the DRA selects a PCRF for the UE or the IP-CAN session, and saves the correspondence (user ID, PDN identifier, BPCF identifier) or (user ID, BPCF identifier). Or (UE local address, user identity, PDN identity, BPCF identity), create a DRA binding; otherwise the DRA updates the DRA binding according to the user identity, the PDN identity, and/or the UE local IP address. Whether it is an update or a new one, the association between the DRA binding and the triggering BPCF to establish an S9* session in the DRA binding (ie, the step 502 message, the message may be uniquely identified by the request carried in step 502) relationship.
实施例二  Embodiment 2
本实施例为根据图 5的流程, PCRF和 BPCF建立策略控制会话后, 由 于 IP-CAN会话终结时, 删除 DRA中 DRA绑定的流程, 其中 DRA为重定 向 Redirect方式。 图 6为本发明基于图 2架构的在 DRA中删除策略控制会 话绑定信息的流程图, 如图 6所示, 本示例在 DRA中删除策略控制会话绑 定信息具体包括以下步驟:  In this embodiment, according to the flow of FIG. 5, after the policy control session is established by the PCRF and the BPCF, the DRA binding process in the DRA is deleted when the IP-CAN session is terminated, and the DRA is in the redirection mode. FIG. 6 is a flowchart of deleting the policy control session binding information in the DRA according to the architecture of FIG. 2, and as shown in FIG. 6, the example deleting the policy control session binding information in the DRA includes the following steps:
步驟 601 : PCRF受到触发, 需要终结与 BPCF之间的策略控制会话, 即 S9*会话。  Step 601: The PCRF is triggered, and the policy control session between the BPCF and the BPCF needs to be terminated, that is, the S9* session.
该触发可能是 ePDG或 P-GW向 PCRF发送策略控制会话终结消息而 引起的, 所述策略控制会话消息中携带 UE从 WLAN接入去附着或断开 PDN连接的指示信息。 PCRF收到该策略控制会话终结消息后, 判定需要 终结与 BPCF之间的策略控制会话。  The trigger may be caused by the ePDG or the P-GW sending a policy control session termination message to the PCRF, where the policy control session message carries indication information that the UE accesses or disconnects the PDN connection from the WLAN access. After receiving the policy control session termination message, the PCRF determines that the policy control session with the BPCF needs to be terminated.
步驟 602: PCRF向 BPCF发送请求终结 Diameter会话, 会话中携带请 求会话终结指示。 该消息通过 S9*会话发送, 即消息中携带的 Session ld为 ID2。 步驟 603: BPCF向 PCRF返回请求终结 Diameter会话应答。 Step 602: The PCRF sends a request to the BPCF to terminate the Diameter session, where the session carries the request session termination indication. The message is sent through the S9* session, that is, the Session ld carried in the message is ID2. Step 603: The BPCF returns a request to the PCRF to terminate the Diameter session response.
步驟 604: BPCF向 PCRF发送 Diameter会话终结请求。  Step 604: The BPCF sends a Diameter session termination request to the PCRF.
步驟 605: PCRF向 BPCF返回 Diameter会话终结应答。  Step 605: The PCRF returns a Diameter session termination response to the BPCF.
步驟 606: PCRF向 DRA发送 Diameter会话终结请求,该消息通过 S9a 会话发送, 消息中携带 Session Id为 ID1和 /或请求建立会话标识信息。  Step 606: The PCRF sends a Diameter session termination request to the DRA, and the message is sent through the S9a session, where the message carries the Session Id as ID1 and/or requests to establish session identification information.
步驟 607: PCRF向 BPCF发送 Diameter会话终结请求, 消息中携带 Session Id为 ID1。  Step 607: The PCRF sends a Diameter session termination request to the BPCF, where the message carries the Session Id as ID1.
步驟 608: DRA根据 Session Id = ID1判断这个 IP-CAN会话有一个有 效的 DRA绑定, 并且标记该 Diameter会话终结。 即删除 DRA绑定中 DRA 绑定与 ID1标识的会话的关联关系, 也就是删除 DRA绑定中的 DRA绑定 与触发 BPCF建立 S9*会话的消息(即步驟 502消息, 该消息可以用 ID1 和 /或请求建立会话标识信息唯一标识 ) 的关联关系。  Step 608: The DRA judges that the IP-CAN session has a valid DRA binding according to Session Id = ID1, and marks the end of the Diameter session. That is, the association between the DRA binding and the ID1-identified session in the DRA binding is deleted, that is, the DRA binding in the DRA binding is deleted and the BPCF is triggered to establish an S9* session (ie, step 502, the message can be ID1 and / or request to establish an association relationship with the unique identification of the session identification information.
如果 DRA绑定是每 IP-CAN会话的(即 DRA为每个 IP-CAN会话选择 一个 BPCF ) 并且所有该 IP-CAN会话相关的 Diameter会话都终结了 (即 DRA绑定中 DRA绑定与该 IP-CAN会话相关的所有 Diameter会话的关联 关系都删除了), 那么 DRA将删除该 DRA绑定; 如果 DRA绑定是每 UE 的 (即 DRA为每个 UE会话选择一个 BPCF, 并且该 UE所有的 Diameter 会话都终结 (即 DRA绑定中 DRA绑定与该 UE相关的所有 Diameter会话 的关联关系都删除了), 那么 DRA将删除该 DRA绑定。  If the DRA binding is per IP-CAN session (ie, the DRA selects a BPCF for each IP-CAN session) and all of the IP-CAN session-related Diameter sessions are terminated (ie, the DRA binding in the DRA binding) The association relationship of all Diameter sessions related to the IP-CAN session is deleted), then the DRA will delete the DRA binding; if the DRA binding is per UE (ie, the DRA selects one BPCF for each UE session, and the UE is all The Diameter session is terminated (that is, the association between the DRA binding and all Diameter sessions related to the UE in the DRA binding is deleted), then the DRA deletes the DRA binding.
步驟 609: DRA向 PCRF返回重定向消息。  Step 609: The DRA returns a redirect message to the PCRF.
步驟 610: BPCF向 PCRF返回 Diameter会话终结应答。  Step 610: The BPCF returns a Diameter session termination response to the PCRF.
在其他实施例中, 若在图 5的流程中, S9a会话不建立 (即 PCRF和 BPCF不保留 S9a会话状态信息), 则图 6的流程可以如下实现:  In other embodiments, if the S9a session is not established in the flow of Figure 5 (i.e., PCRF and BPCF do not retain S9a session state information), the flow of Figure 6 can be implemented as follows:
则步驟 606中, PCRF也不携带 Session id。 而是携带与步驟 502中的 请求建立会话标识信息。 步驟 608中, DRA根据请求建立会话标识信息判 断这个 IP-CAN会话有一个有效的 DRA绑定, 并且删除该 DRA绑定中与 触发 BPCF建立 S9*会话消息(即步驟 502消息, 该消息可以用步驟 502中 携带的请求建立会话标识信息唯一标识)的关联关系。 此时, 如果 DRA绑 定是每 IP-CAN会话的 (即 DRA为每个 IP-CAN会话选择一个 BPCF ) 并 且所有该 IP-CAN会话相关的 Diameter会话都终结 (这些会话是保持状态 的,所有该 IP-CAN会话相关的 Diameter会话都终结即表示 DRA绑定中该 DRA绑定与该 IP-CAN会话相关的所有 Diameter会话的关联关系都删除), 那么 DRA将删除该 DRA绑定; 如果 DRA绑定是每 UE的 (即 DRA为每 个 UE选择一个 BPCF )并且该 UE所有的 Diameter会话都终结 (这些会话 是保持状态的, UE所有的 Diameter会话都终结即表示 DRA绑定中与会话 标识关联的关联关系都删除), 那么 DRA将删除该 DRA绑定。 此外, 步驟 607和步驟 610可以不执行。 In step 606, the PCRF also does not carry the Session id. Instead, the session identification information is established with the request in step 502. In step 608, the DRA establishes session identification information according to the request. The IP-CAN session has a valid DRA binding, and the S9* session message is set up in the DRA binding with the triggering BPCF (ie, step 502, the message can be used to establish the session identification information by using the request carried in step 502). The association of the identity). At this time, if the DRA binding is per IP-CAN session (ie, DRA selects one BPCF for each IP-CAN session) and all the IP-CAN session-related Diameter sessions are terminated (these sessions are in a hold state, all The end of the IP-CAN session-related Diameter session means that the association between the DRA binding and all the Diameter sessions associated with the IP-CAN session is deleted in the DRA binding, and the DRA deletes the DRA binding; The binding is per UE (ie, the DRA selects one BPCF for each UE) and all the Diameter sessions of the UE are terminated (these sessions are in a hold state, and all the Diameter sessions of the UE are terminated, indicating that the DRA is bound with the session identifier) The associated associations are deleted), then the DRA will delete the DRA binding. Further, steps 607 and 610 may not be performed.
实施例三  Embodiment 3
本实施例为 UE附着或 PDN连接建立过程中 , DRA选择 BPCF的流程 , 其中 DRA为重定向 Proxy方式。 图 7为本发明基于图 2架构的创建策略控 制会话的流程图, 如图 7所示, 创建策略控制会话具体包括以下步驟: 步驟 701 : PCRF受到触发, 需要建立与 BPCF之间的策略控制会话。 该触发可能是 ePDG或 P-GW向 PCRF发送策略控制会话消息而引起 的, 所述策略控制会话消息中携带 UE通过 WLAN接入的指示信息。 PCRF 收到该策略控制会话消息后, 判定需要建立与 BPCF之间的策略控制会话, 以便向 BBF接入网提供策略以及请求 BBF接入网的接纳控制。  In this embodiment, the DRA selects a BPCF process in the process of establishing a UE attach or a PDN connection, where the DRA is a redirected proxy mode. FIG. 7 is a flowchart of creating a policy control session based on the architecture of FIG. 2 according to the present invention. As shown in FIG. 7, creating a policy control session specifically includes the following steps: Step 701: The PCRF is triggered, and a policy control session with the BPCF needs to be established. . The trigger may be caused by the ePDG or the P-GW sending a policy control session message to the PCRF, where the policy control session message carries indication information that the UE accesses through the WLAN. After receiving the policy control session message, the PCRF determines that a policy control session with the BPCF needs to be established to provide a policy to the BBF access network and request admission control of the BBF access network.
步驟 702: PCRF向 DRA发送 Diameter会话建立请求消息,所述 Diameter 会话建立请求消息中携带用户标识、 PDN 标识以及请求建立会话指示。 PCRF在消息的 Destination-Host AVP中填写 BBF接入网的域名。 PCRF为 该请求建立的 Diameter会话分配会话标识 Session ID, 标识为 ID1。 这里, 请求建立会话指示用于通知 BPCF发起建立策略控制会话。 所述 Diameter会话建立请求消息中可以进一步携带请求建立会话标识 信息,用于将来作为 BPCF发起会话的标识,以便于 PCRF判断请求建立的 会话 BPCF是否已经发起。所述请求建立会话标识信息可以为 UE接入 BBF 接入网的位置信息, 或是 PCRF分配的能够唯一区分的标识, 或是用户标 识 , 或是用户标识和 PDN标识 , 或是 UE的本地 IP地址。 Step 702: The PCRF sends a Diameter session establishment request message to the DRA, where the Diameter session establishment request message carries a user identifier, a PDN identifier, and a request to establish a session indication. The PCRF fills in the domain name of the BBF access network in the Destination-Host AVP of the message. The PCRF assigns a session ID to the Diameter session established by the request, and the identifier is ID1. Here, the request to establish a session indication is used to notify the BPCF to initiate establishment of a policy control session. The Diameter session establishment request message may further carry a request to establish session identification information for initiating an identifier of the session as a BPCF in the future, so that the PCRF determines whether the session BPCF requested to be established has been initiated. The request establishment session identification information may be location information of the UE accessing the BBF access network, or a uniquely distinguishable identifier allocated by the PCRF, or a user identifier, or a user identifier and a PDN identifier, or a local IP of the UE. address.
步驟 703: DRA根据用户标识判断是否已经为该 UE选择了 BPCF (若 DRA配置为每个 UE选择一个 BPCF )或根据用户标识和 PDN标识判断是 否已经为该 IP-CAN会话选择了 BPCF (若 DRA配置为每个 UE每 PDN选 择一个 BPCF )0 此时, 若 DRA中还没有对应的 DRA绑定, 则 DRA为该 UE或该 IP-CAN会话选择一个 BPCF, 并保存对应关系 (用户标识、 PDN 标识、 BPCF标识)或(用户标识、 BPCF标识)或(用户标识、 PDN标识、 UE本地 IP地址、 BPCF标识;), 创建 DRA绑定, 否则 DRA根据用户标识、 PDN标识和 /或 UE本地 IP地址更新 DRA绑定。 同时 DRA保存该绑定关 联的 Diameter会话,这里在 DRA绑定中增加 ID1。即保存 DRA绑定与 ID1 标识的会话的关联关系, 也就是保存 DRA绑定与触发 BPCF建立 S9*会话 的消息(即步驟 702消息, 该消息可以用 ID1和 /或步驟 702中携带的请求 建立会话标识信息唯一标识 ) 的关联关系。 Step 703: The DRA determines, according to the user identifier, whether a BPCF has been selected for the UE (if the DRA is configured to select one BPCF for each UE) or determines whether a BPCF has been selected for the IP-CAN session according to the user identifier and the PDN identifier (if DRA) Configure to select one BPCF per PDN for each UE. 0 At this time, if there is no corresponding DRA binding in the DRA, the DRA selects a BPCF for the UE or the IP-CAN session, and saves the correspondence (user ID, PDN). ID, BPCF ID) or (user ID, BPCF ID) or (user ID, PDN ID, UE local IP address, BPCF ID); create a DRA binding, otherwise the DRA is based on the user ID, PDN ID, and/or UE local IP. The address updates the DRA binding. At the same time, the DRA saves the Diameter session associated with the binding, where ID1 is added to the DRA binding. That is, the association between the DRA binding and the ID1-identified session is saved, that is, the message that the DRA binding and the triggering BPCF establishes the S9* session is saved (ie, step 702, the message may be established by using the ID1 and/or the request carried in step 702). The association of the session identification information uniquely identified).
步驟 704: DRA向所选择的 BPCF发送 Diameter会话建立请求消息, 所述 Diameter会话建立请求消息中携带用户标识、 PDN标识以及请求建立 会话指示。 PCRF在消息的 Destination-Host AVP中填写 BPCF标识。  Step 704: The DRA sends a Diameter session establishment request message to the selected BPCF, where the Diameter session establishment request message carries a user identifier, a PDN identifier, and a request to establish a session indication. The PCRF fills in the BPCF identifier in the Destination-Host AVP of the message.
步驟 705: BPCF收到所述 Diameter会话建立请求消息后, 向 DRA返 回 Diameter会话建立应答消息。  Step 705: After receiving the Diameter session establishment request message, the BPCF returns a Diameter session establishment response message to the DRA.
步驟 706: DRA收到所述 Diameter会话建立应答消息后, 向 PCRF返 回 Diameter会话建立应答消息。 若 DRA可以返回所选择的 BPCF标识, 则 DRA在应答消息中携带 BPCF标识。 Step 706: After receiving the Diameter session setup response message, the DRA returns a Diameter session establishment response message to the PCRF. If the DRA can return the selected BPCF identifier, then The DRA carries the BPCF identifier in the response message.
步驟 705至步驟 706建立的 Diameter会话,在本发明中称为 S9a会话。 步驟 707: BPCF根据所述 Diameter会话建立请求消息中的请求建立会 话指示, 向 PCRF发送 Diameter会话建立请求消息, 请求建立策略控制会 话。 BPCF为该请求建立的 Diameter会话分配会话标识 Session ID, 标识为 The Diameter session established in steps 705 through 706 is referred to as an S9a session in the present invention. Step 707: The BPCF establishes a session indication according to the request in the Diameter session establishment request message, and sends a Diameter session establishment request message to the PCRF to request to establish a policy control session. The BPCF allocates a session identifier Session ID to the Diameter session established by the request, and the identifier is
ID2。 ID2.
所述 Diameter会话建立请求消息中可以携带步驟 704中下发的请求建 立会话标识信息, 用于通知 PCRF该消息用于建立步驟 704中请求建立的 策略控制会话。  The Diameter session establishment request message may carry the request establishment session identifier information sent in step 704 to notify the PCRF that the message is used to establish the policy control session requested to be established in step 704.
步驟 708: PCRF向 BPCF发送 Diameter会话建立应答消息。  Step 708: The PCRF sends a Diameter session establishment response message to the BPCF.
步驟 707至步驟 708建立的 Diameter会话, 在本发明中称为 S9*会话。 此后, PCRF可以通过步驟 707和步驟 708建立的策略控制会话进行策 略的下发, BPCF也可以通过它进行策略执行结果、接纳控制结果以及事件 的上报。  The Diam session established in steps 707 through 708 is referred to as an S9* session in the present invention. Thereafter, the PCRF can issue the policy through the policy control session established in step 707 and step 708. The BPCF can also perform policy execution results, admission control results, and event reporting.
本实施例中的策略控制会话具体可以是网关控制会话。  The policy control session in this embodiment may specifically be a gateway control session.
在本实施例中, Diameter会话请求消息可以采用信用控制请求消息。 如步驟 702和步驟 704中为信用控制请求消息, 步驟 705和步驟 706为信 用控制应答消息。  In this embodiment, the Diameter session request message may adopt a credit control request message. As steps 702 and 704 are credit control request messages, steps 705 and 706 are credit control response messages.
在本实施例中, Diameter会话请求消息还可以重授权请求消息, 如步 驟 702和步驟 704中为授权认证请求, 步驟 705和步驟 706为授权认证应 答。 因此, 本实施例中, 不限定 Diameter会话请求消息的具体形式。  In this embodiment, the Diameter session request message may also re-authorize the request message, as in step 702 and step 704, the authorization authentication request, and step 705 and step 706 are the authorization authentication response. Therefore, in this embodiment, the specific form of the Diameter session request message is not limited.
在其他实施例中, 步驟 702、 步驟 704的消息也可以携带不保持会话状 态 的指示 ( 即 消 息 中 携 带 Auth-Session-State AVP , 取值为 NO— STATE— MAINTAINED ), 或者不会携带 PCRF为该 Diameter会话分配 的会话标识。 即, 步驟 702-步驟 706交互不建立 S9a会话(在消息交互结 束后, PCRF和 BPCF中不会保持相关的会话信息)。 因此, 步驟 702-步驟 706仅用来触发 BPCF发起建立 S9*会话。步驟 703中, DRA根据用户标识 判断是否已经为该 UE选择了 BPCF (若 DRA配置为每个 UE选择一个 BPCF )或根据用户标识和 PDN标识判断是否已经为该 IP-CAN会话选择了 BPCF (若 DRA配置为每个 UE每 PDN选择一个 BPCF )0 此时, 若 DRA 中还没有对应的 DRA绑定(即没有为该 UE或 IP-CAN会话选择 BPCF ), 则 DRA为该 UE或该 IP-CAN会话选择一个 PCRF, 并保存对应关系 (用 户标识、 PDN标识、 BPCF标识)或 (用户标识、 BPCF标识)或 ( UE本 地地址、 用户标识、 PDN标识、 BPCF标识), 创建 DRA绑定; 否则 DRA 根据用户标识、 PDN标识和 /或 UE本地 IP地址更新 DRA绑定。 不管是更 新, 还是新建, 在 DRA绑定中保存 DRA绑定与触发 BPCF建立 S9*会话 的消息 (即步驟 702消息, 该消息可以用步驟 702中携带的请求建立会话 标识信息唯一标识 ) 的关联关系。 In other embodiments, the message of step 702 and step 704 may also carry an indication that the session state is not maintained (ie, the message carries an Auth-Session-State AVP, and the value is NO_STATE_MAINTAINED), or does not carry the PCRF. The session ID assigned by this Diameter session. That is, step 702 - step 706 interaction does not establish an S9a session (in the message interaction node) After the bundle, the relevant session information will not be maintained in the PCRF and BPCF). Therefore, step 702-step 706 is only used to trigger the BPCF to initiate the establishment of the S9* session. In step 703, the DRA determines, according to the user identifier, whether a BPCF has been selected for the UE (if the DRA is configured to select one BPCF for each UE) or determines whether a BPCF has been selected for the IP-CAN session according to the user identifier and the PDN identifier (if The DRA is configured to select one BPCF per PDN per UE. 0 At this time, if there is no corresponding DRA binding in the DRA (ie, no BPCF is selected for the UE or IP-CAN session), the DRA is the UE or the IP- Select a PCRF for the CAN session, and save the corresponding relationship (user ID, PDN ID, BPCF ID) or (user ID, BPCF ID) or (UE local address, user ID, PDN ID, BPCF ID) to create a DRA binding; otherwise The DRA updates the DRA binding based on the user identity, the PDN identity, and/or the UE local IP address. Whether it is an update or a new one, the association between the DRA binding and the triggering BPCF to establish an S9* session in the DRA binding (ie, the step 702 message, the message may be uniquely identified by the request carried in step 702) is established. relationship.
实施例四  Embodiment 4
本实施例为根据图 7的流程, PCRF和 BPCF建立策略控制会话后, 由 于 IP-CAN会话终结时, 删除 DRA中的 DRA绑定的流程, 其中 DRA为重 定向 Proxy方式。 图 8为本发明基于图 2架构的在 DRA中删除策略控制会 话绑定信息的流程图, 如图 8所示, 本示例中在 DRA中删除策略控制会话 绑定信息具体包括以下步驟:  In this embodiment, according to the flow of FIG. 7, after the policy control session is established by the PCRF and the BPCF, the DRA binding process in the DRA is deleted when the IP-CAN session is terminated, where the DRA is a redirection proxy mode. FIG. 8 is a flowchart of deleting the policy control session binding information in the DRA according to the architecture of FIG. 2, and as shown in FIG. 8, the deleting the policy control session binding information in the DRA in this example includes the following steps:
步驟 801 : PCRF受到触发, 需要终结与 BPCF之间的策略控制会话, 即 S9*会话。  Step 801: The PCRF is triggered, and the policy control session between the BPCF and the BPCF needs to be terminated, that is, the S9* session.
该触发可能是 ePDG或 P-GW向 PCRF发送策略控制会话终结消息而 引起的, 所述策略控制会话消息中携带 UE从 WLAN接入去附着或断开 PDN连接的指示信息。 PCRF收到该策略控制会话终结消息后, 判定需要 终结与 BPCF之间的策略控制会话。 步驟 802: PCRF向 BPCF发送请求终结 Diameter会话, 会话中携带请 求会话终结指示。 该消息通过 S9*会话发送, 即消息中携带的 Session ld为 ID2。 The trigger may be caused by the ePDG or the P-GW sending a policy control session termination message to the PCRF, where the policy control session message carries indication information that the UE accesses or disconnects the PDN connection from the WLAN. After receiving the policy control session termination message, the PCRF determines that the policy control session with the BPCF needs to be terminated. Step 802: The PCRF sends a request to the BPCF to terminate the Diameter session, where the session carries the request session termination indication. The message is sent through the S9* session, that is, the Session ld carried in the message is ID2.
步驟 803: BPCF向 PCRF返回请求终结 Diameter会话应答。  Step 803: The BPCF returns a request to the PCRF to terminate the Diameter session response.
步驟 804: BPCF向 PCRF发送 Diameter会话终结请求。 该消息通过 Step 804: The BPCF sends a Diameter session termination request to the PCRF. The message passed
S9*会话发送, 即消息中携带的 Session ld为 ID2和 /或请求建立会话标识信 步驟 805: PCRF向 BPCF返回 Diameter会话终结应答。 The S9* session is sent, that is, the Session ld carried in the message is ID2 and/or the request to establish a session identification message. Step 805: The PCRF returns a Diameter session termination response to the BPCF.
步驟 806: PCRF向 DRA发送 Diameter会话终结请求, 消息中携带 Session Id为 ID1。  Step 806: The PCRF sends a Diameter session termination request to the DRA, where the message carries the Session Id as ID1.
步驟 807: DRA根据 Session Id = IDl判断这个 IP-CAN会话有一个有 效的 DRA绑定。  Step 807: The DRA judges that the IP-CAN session has a valid DRA binding according to Session Id = IDl.
步驟 808: DRA向 BPCF发送 Diameter会话终结请求, 消息中携带 Session Id为 ID1。  Step 808: The DRA sends a Diameter session termination request to the BPCF, where the message carries the Session Id as ID1.
步驟 809: BPCF向 DRA返回确认消息;  Step 809: BPCF returns a confirmation message to the DRA;
步驟 810: DRA根据 Session Id = IDl标记该 Diameter会话总结。 即删 除 DRA绑定中 DRA绑定与 ID1标识的会话的关联关系 ,也就是删除 DRA 绑定中的 DRA绑定与触发 BPCF建立 S9*会话的消息 (即步驟 702消息, 该消息可以用 ID1和 /或请求建立会话标识信息唯一标识) 的关联关系。  Step 810: The DRA marks the Diameter session summary according to Session Id = IDl. That is, the association between the DRA binding and the ID1-identified session in the DRA binding is deleted, that is, the DRA binding in the DRA binding is deleted and the BPCF is triggered to establish an S9* session (ie, step 702 message, the message can be ID1 and / or request to establish an association relationship with the unique identification of the session identification information.
如果 DRA绑定是每 IP-CAN会话的, 并且所有该 IP-CAN会话相关的 If the DRA binding is per IP-CAN session, and all of the IP-CAN sessions are related
Diameter会话都终结了 (即 DRA绑定中 DRA绑定与该 IP-CAN会话相关 的所有 Diameter会话的关联关系都删除了), 那么 DRA将删除该 DRA绑 定;如果 DRA绑定是每 UE的,并且该 UE所有的 Diameter会话都终结 (即 DRA绑定中 DRA绑定与该 UE相关的所有 Diameter会话的关联关系都删 除了), 那么 DRA将删除该 DRA绑定。 步驟 811 : DRA向 PCRF返回 Diameter会话终结应答。 The Diameter session is terminated (ie, the association between the DRA binding and all Diameter sessions related to the IP-CAN session in the DRA binding is deleted), then the DRA will delete the DRA binding; if the DRA binding is per UE And all the Diameter sessions of the UE are terminated (that is, the association relationship between the DRA binding and all Diameter sessions related to the UE in the DRA binding is deleted), then the DRA deletes the DRA binding. Step 811: The DRA returns a Diameter session termination response to the PCRF.
在其他实施例中, 若在图 7的流程中, S9a会话不建立 (即 PCRF和 BPCF不保留 S9a会话状态信息), 则图 8的流程可以如下实现:  In other embodiments, if the S9a session is not established in the flow of Figure 7 (i.e., PCRF and BPCF do not retain S9a session state information), the flow of Figure 8 can be implemented as follows:
步驟 806中, PCRF也不携带 Session id。 而是携带与步驟 702中的请 求建立会话标识信息。 步驟 810中, DRA根据请求建立会话标识信息判断 这个 IP-CAN会话有一个有效的 DRA绑定, 并且删除该 DRA绑定中与触 发 BPCF建立 S9*会话消息(即步驟 702消息, 该消息可以用步驟 702中携 带的请求建立会话标识信息唯一标识)的关联关系。 此时, 如果 DRA绑定 是每 IP-CAN会话的,并且所有该 IP-CAN会话相关的 Diameter会话都终结 (这些会话是保持状态的, 所有该 IP-CAN会话相关的 Diameter会话都终 结即表示 DRA绑定中该 DRA绑定与该 IP-CAN会话相关的所有 Diameter 会话的关联关系都删除), 那么 DRA将删除该 DRA绑定; 如果 DRA绑定 是每 UE的并且该 UE所有的 Diameter会话都终结(这些会话是保持状态的, UE所有的 Diameter会话都终结即表示 DRA绑定中与会话标识关联的关联 关系都删除), 那么 DRA将删除该 DRA绑定。 此外, 步驟 808和步驟 809 可以不执行。  In step 806, the PCRF does not carry the Session id. Instead, the session identification information is established with the request in step 702. In step 810, the DRA establishes session identification information according to the request to determine that the IP-CAN session has a valid DRA binding, and deletes the D9 binding to establish a S9* session message with the triggering BPCF (ie, step 702 message, the message can be used. The association carried in step 702 establishes an association relationship of the session identification information unique identifier. At this time, if the DRA binding is per IP-CAN session, and all the Diameter sessions related to the IP-CAN session are terminated (these sessions are in a hold state, all the Diameter sessions related to the IP-CAN session are terminated) In the DRA binding, the association relationship between the DRA binding and all Diameter sessions related to the IP-CAN session is deleted, then the DRA will delete the DRA binding; if the DRA binding is per UE and all Diameter sessions of the UE Both ends (these sessions are in the state of being maintained. If all the Diameter sessions of the UE are terminated, the association relationship associated with the session identifier in the DRA binding is deleted), then the DRA deletes the DRA binding. Additionally, steps 808 and 809 may not be performed.
实施例五  Embodiment 5
图 9为本发明在漫游场景下, UE附着过程中, 拜访地 DRA ( V-DRA ) 选择拜访地 PCRF ( V-PCRF )的流程图, 其中 V-DRA为重定向 Redirect方 式, 如图 9所示, 该方法具体包括以下步驟:  FIG. 9 is a flowchart of a DRA (V-DRA) selection of a visited PCRF (V-PCRF) in a UE attaching process in a roaming scenario, where V-DRA is a redirected Redirect mode, as shown in FIG. The method specifically includes the following steps:
步驟 901 : H-PCRF受到触发, 需要建立与 V-PCRF之间的策略控制会 话, 即 S9会话。 此时, V-PCRF和 H-PCRF之间还没有为该 UE建立的 S9 会话。  Step 901: The H-PCRF is triggered, and a policy control session with the V-PCRF needs to be established, that is, an S9 session. At this time, there is no S9 session established between the V-PCRF and the H-PCRF for the UE.
该触发可能是 P-GW向 H-PCRF发送策略控制会话消息(即 IP-CAN 会话建立指示消息) 而引起的, 所述策略控制会话消息中携带 UE 通过 WLAN接入的指示信息。 H-PCRF收到该策略控制会话消息后, 判定需要 建立与 V-PCRF之间的策略控制会话 (即 S9会话), 以便通过 V-PCRF向 BBF接入网提供策略以及请求 BBF接入网的接纳控制。 The trigger may be caused by the P-GW sending a policy control session message (ie, an IP-CAN session establishment indication message) to the H-PCRF, where the policy control session message carries the UE through Instructions for WLAN access. After receiving the policy control session message, the H-PCRF determines that a policy control session (ie, an S9 session) with the V-PCRF needs to be established, so as to provide a policy to the BBF access network through the V-PCRF and request the BBF access network. Admission control.
步驟 902: H-PCRF向 V-DRA发送 Diameter会话建立请求消息 , 所述 Diameter会话建立请求消息中携带用户标识、 PDN标识以及请求建立会话 指示。 H-PCRF在消息的 Destination-Host AVP 中填写拜访网络的域名。 H-PCRF为该请求建立的 Diameter会话分配会话标识 Session ID, 标识为 ID1。  Step 902: The H-PCRF sends a Diameter session establishment request message to the V-DRA, where the Diameter session establishment request message carries a user identifier, a PDN identifier, and a request to establish a session indication. The H-PCRF fills in the domain name of the visited network in the Destination-Host AVP of the message. The H-PCRF allocates a session ID, which is ID1, to the Diameter session established by the request.
这里, 请求建立会话指示用于通知 V-PCRF发起建立 S9会话。  Here, the request to establish a session indication is used to notify the V-PCRF to initiate the establishment of the S9 session.
所述 Diameter会话建立请求消息中可以进一步携带请求建立会话标识 信息, 以便于 H-PCRF判断请求建立的会话 V-PCRF是否已经发起。 所述 请求建立会话标识信息可以为 UE接入 BBF 接入网的位置信息, 或是 H-PCRF分配的能够唯一区分的标识,或是用户标识,或是用户标识和 PDN 标识 , 或是 UE的本地 IP地址。  The request to establish session identification information may be further carried in the Diameter session establishment request message, so that the H-PCRF determines whether the session V-PCRF that is requested to be established has been initiated. The request establishment session identifier information may be location information of the UE accessing the BBF access network, or a uniquely distinguishable identifier allocated by the H-PCRF, or a user identifier, or a user identifier and a PDN identifier, or a UE Local IP address.
步驟 903: V-DRA根据用户标识判断是否已经为该 UE选择了 V-PCRF ( V-DRA配置为每个 UE选择一个 PCRF )。 此时, 若 V-DRA中还没有对 应的绑定信息, 则 V-DRA为该用户, 并保存对应关系(用户标识、 PDN标 识、 V-PCRF标识)或(用户标识、 V-PCRF标识)或(用户标识、 PDN标 识、 UE本地 IP地址、 V-PCRF标识;), 创建 DRA绑定, 否则 V-DRA根据 用户标识、 PDN标识和 /或 UE本地 IP地址更新 DRA绑定。 同时 V-DRA 保存该绑定关联的 Diameter会话, 这里在 DRA绑定中增加 ID1。 即保存 DRA绑定与 ID1 标识的会话的关联关系, 也就是保存 DRA绑定与触发 V-PCRF建立 S9会话的消息(即步驟 902消息, 该消息可以用 ID1和 /或步 驟 902中携带的请求建立会话标识信息唯一标识) 的关联关系。  Step 903: The V-DRA determines, according to the user identifier, whether the V-PCRF has been selected for the UE (the V-DRA is configured to select one PCRF for each UE). At this time, if there is no corresponding binding information in the V-DRA, the V-DRA is the user, and the corresponding relationship (user ID, PDN identifier, V-PCRF identifier) or (user ID, V-PCRF identifier) is saved. Or (user identity, PDN identity, UE local IP address, V-PCRF identity;), create a DRA binding, otherwise the V-DRA updates the DRA binding according to the user identity, the PDN identity, and/or the UE local IP address. At the same time, the V-DRA saves the Diameter session associated with the binding, where ID1 is added to the DRA binding. That is, the association between the DRA binding and the ID1-identified session is saved, that is, the message that the DRA binding and the triggering V-PCRF establishes the S9 session is saved (ie, step 902, the message may be carried by ID1 and/or the request carried in step 902). Establish an association relationship with the unique identifier of the session identification information.
步驟 904: V-DRA向 H-PCRF返回重定向消息, 在消息中携带 DRA在 903选择的 V-PCRF的标识。 Step 904: The V-DRA returns a redirect message to the H-PCRF, and the DRA is carried in the message. 903 The identifier of the selected V-PCRF.
步驟 905: H-PCRF根据 904返回的 V-PCRF标识 , 向发送 V-PCRF发 送 Diameter会话建立请求消息, 所述 Diameter会话建立请求消息中携带用 户标识、 PDN标识以及请求建立会话指示。 PCRF在 Diameter会话建立请 求消息的 Destination-Host AVP中填写 V-PCRF标识。  Step 905: The H-PCRF sends a Diameter session establishment request message to the sending V-PCRF according to the V-PCRF identifier returned by the 904, where the Diameter session establishment request message carries the user identifier, the PDN identifier, and the request establishment session indication. The PCRF fills in the V-PCRF identifier in the Destination-Host AVP of the Diameter session establishment request message.
步驟 906: V-PCRF收到所述 Diameter会话建立请求消息后, 向 PCRF 返回 Diameter会话建立应答消息。  Step 906: After receiving the Diameter session establishment request message, the V-PCRF returns a Diameter session establishment response message to the PCRF.
步驟 905和步驟 906建立的 Diameter会话,在本发明中称为 S9a会话。 步驟 907: V-PCRF根据所述 Diameter会话建立请求消息中的请求建立 会话指示, 向 H-PCRF发送 Diameter会话建立请求消息, 请求建立策略控 制会话(即 S9会话)。 V-PCRF为该请求建立的 Diameter会话分配会话标 识 Session ID, 标识为 ID2, 同时 V-PCRF还会请求建立一个 S9子会话(该 子会话对应建立的 PDN连接)。  The Diameter session established by step 905 and step 906 is referred to as an S9a session in the present invention. Step 907: The V-PCRF establishes a session indication according to the request in the Diameter session establishment request message, and sends a Diameter session establishment request message to the H-PCRF to request to establish a policy control session (ie, an S9 session). The V-PCRF allocates a session identifier Session ID for the Diameter session established by the request, and the identifier is ID2, and the V-PCRF also requests to establish an S9 sub-session (the PDN connection established by the sub-session).
所述 Diameter会话建立请求消息中可以携带步驟 905中下发的请求建 立会话标识信息, 用于通知 H-PCRF该消息用于建立步驟 905 中请求建立 的策略控制会话。  The Diameter session establishment request message may carry the request establishment session identifier information sent in step 905, and is used to notify the H-PCRF that the message is used to establish the policy control session requested to be established in step 905.
步驟 908: H-PCRF向 V-PCRF发送 Diameter会话建立应答消息。  Step 908: The H-PCRF sends a Diameter session establishment response message to the V-PCRF.
步驟 909: V-PCRF与 BBF接入网中的 DRA、 BPCF按照图 5所示的流 程进行执行。  Step 909: The DRA and the BPCF in the V-PCRF and the BBF access network are executed according to the process shown in FIG. 5.
此后, H-PCRF可以通过步驟 907和步驟 908建立的策略控制会话 ( S9 会话)进行策略的下发, V-PCRF也可以通过它进行策略执行结果、 接纳控 制结果以及事件的上报。  Thereafter, the H-PCRF can perform the policy delivery by the policy control session (S9 session) established in step 907 and step 908. The V-PCRF can also perform policy execution results, admission control results, and event reporting.
在本实施例中, Diameter会话请求消息可以采用信用控制请求消息。 如步驟 902和步驟 905中为信用控制请求消息, 步驟 903和步驟 906为信 用控制应答消息。 在本实施例中, Diameter会话请求消息还可以重授权请求消息, 如步 驟 902和步驟 905中为授权认证请求, 步驟 903和步驟 906为授权认证应 答。 因此, 本实施例中, 不限定 Diameter会话请求消息的具体形式。 In this embodiment, the Diameter session request message may adopt a credit control request message. As steps 902 and 905 are credit control request messages, steps 903 and 906 are credit control response messages. In this embodiment, the Diameter session request message may also re-authorize the request message, as in step 902 and step 905, the authorization authentication request, step 903 and step 906 are the authorization authentication response. Therefore, in this embodiment, the specific form of the Diameter session request message is not limited.
在其他实施例中, 步驟 902、 步驟 905的消息也可以携带不保持会话状 态 的指示 ( 即 消 息 中 携 带 Auth-Session-State AVP , 取值为 NO— STATE— MAINTAINED ), 或者不会携带 H-PCRF为该 Diameter会话分 配的会话标识。 即, 步驟 902-步驟 906交互不建立 S9a会话(在消息交互 结束后, H-PCRF和 V-PCRF中不会保持相关的会话信息)。 因此,步驟 902- 步驟 906仅用来触发 V-PCRF发起建立 S9会话。 步驟 903中, V-DRA根据 用户标识判断是否已经为该 UE选择了 V-PCRF。 此时, 若 V-DRA中还没 有对应的 DRA绑定(即没有为该 UE选择 V-PCRF ), 则 V-DRA为该 UE 选择一个 V-PCRF, 并保存对应关系(用户标识、 PDN标识、 V-PCRF标识 ) 或 (用户标识、 V-PCRF标识)或 ( UE本地地址、 用户标识、 PDN标识、 V-PCRF标识;), 创建 DRA绑定, 否则 V-DRA 居用户标识、 PDN标识和 /或 UE本地 IP地址更新 DRA绑定。 不管是更新, 还是新建, 在 DRA绑定 中保存 DRA绑定与触发 V-PCRF建立 S9会话的消息(即步驟 902消息, 该消息可以用步驟 902 中携带的请求建立会话标识信息唯一标识) 的关联 关系。  In other embodiments, the message of step 902 and step 905 may also carry an indication that the session state is not maintained (that is, the message carries the Auth-Session-State AVP, the value is NO_STATE_MAINTAINED), or does not carry the H- The session ID assigned by the PCRF to the Diameter session. That is, the step 902-step 906 interaction does not establish an S9a session (after the end of the message interaction, the relevant session information is not maintained in the H-PCRF and the V-PCRF). Therefore, step 902-step 906 is only used to trigger the V-PCRF to initiate the establishment of the S9 session. In step 903, the V-DRA determines, according to the user identifier, whether the V-PCRF has been selected for the UE. At this time, if there is no corresponding DRA binding in the V-DRA (that is, no V-PCRF is selected for the UE), the V-DRA selects a V-PCRF for the UE, and saves the corresponding relationship (user identifier, PDN identifier). , V-PCRF identifier) or (user ID, V-PCRF identifier) or (UE local address, user ID, PDN identifier, V-PCRF identifier;), create DRA binding, otherwise V-DRA user ID, PDN identifier And/or the UE local IP address updates the DRA binding. Whether it is an update or a new one, the DRA binding is saved in the DRA binding, and the message that triggers the V-PCRF to establish an S9 session (ie, the step 902 message, the message may be uniquely identified by the request carried in step 902) connection relation.
在执行上述流程后, UE可能需要建立新的 PDN连接。  After performing the above process, the UE may need to establish a new PDN connection.
当 UE又发起建立新的 PDN连接时,若是 Home Routed场景(即 P-GW 位于 HPLMN ), H-PCRF会再次收到来自 P-GW发送的策略控制会话消息 (即 IP-CAN会话建立指示消息),则 H-PCRF修改已建立的 S9会话,并请 求 V-PCRF与 H-PCRF再建立一个 S9子会话(该子会话对应新建立的 PDN 连接)。 收到上述请求后, V-PCRF向 H-PCRF发送请求消息, 建立一个 S9 子会话; 若是 Visited Access场景(即 P-GW位于 VPLMN ), V-PCRF会收 到来自 P-GW发送的策略控制会话消息 (即 IP-CAN会话建立指示消息), 则 V-PCRF修改已建立的 S9会话, 并请求与 H-PCRF再建立一个 S9子会 话(该子会话对应新建立的 PDN连接)。 When the UE initiates a new PDN connection, if the Home Routed scenario (ie, the P-GW is located in the HPLMN), the H-PCRF receives the policy control session message (ie, the IP-CAN session establishment indication message) sent from the P-GW. Then, the H-PCRF modifies the established S9 session, and requests the V-PCRF to establish an S9 sub-session with the H-PCRF (the sub-session corresponds to the newly established PDN connection). After receiving the above request, the V-PCRF sends a request message to the H-PCRF to establish an S9 sub-session; if the Visited Access scenario (that is, the P-GW is located in the VPLMN), the V-PCRF receives To the policy control session message (ie, IP-CAN session establishment indication message) sent from the P-GW, the V-PCRF modifies the established S9 session, and requests to establish another S9 sub-session with the H-PCRF (the sub-session corresponds to the sub-session) Newly established PDN connection).
由于是修改 S9会话, 不涉及建立新的 S9a会话或新的触发 V-PCRF建 立 S9会话的消息。 此外, 修改 S9会话后, 可能需要执行 V-PCRF与 BPCF 之间建立 S9*会话的流程。 因此, 当 UE建立多个 PDN连接时, V-PCRF与 H-PCRF之间存在 S9会话, 其中包含多个子会话, 该多个子会话有些是由 V-PCRF主动发起建立的, 还有些是由 H-PCRF请求 V-PCRF发起建立的。 同时 H-PCRF与 V-PCRF之间存在 S9a会话。而 BPCF与 V-PCRF之间存在 S9*会话, S9*会话与 S9会话是对应的。  Since the S9 session is modified, it does not involve establishing a new S9a session or a new message that triggers the V-PCRF to establish an S9 session. In addition, after modifying the S9 session, you may need to perform the process of establishing an S9* session between V-PCRF and BPCF. Therefore, when the UE establishes multiple PDN connections, there is an S9 session between the V-PCRF and the H-PCRF, which includes multiple sub-sessions, some of which are initiated by the V-PCRF, and some are by H. - The PCRF requests the V-PCRF to initiate the establishment. At the same time, there is an S9a session between H-PCRF and V-PCRF. There is an S9* session between the BPCF and the V-PCRF, and the S9* session corresponds to the S9 session.
实施例六  Embodiment 6
本实施例为根据图 9的流程, V-PCRF和 H-PCRF建立策略控制会话后, 由于 IP-CAN会话终结时, 删除 V-DRA中绑定信息的流程, 其中 V-DRA 为重定向 Redirect方式。 图 10为本发明基于图 9的删除策略控制会话绑定 信息的流程图, 如图 10所示, 本示例删除策略控制会话绑定信息具体包括 以下步驟:  In this embodiment, according to the flow of FIG. 9, after the V-PCRF and the H-PCRF establish a policy control session, the process of deleting the binding information in the V-DRA is performed when the IP-CAN session is terminated, where the V-DRA is a redirect Redirect. the way. FIG. 10 is a flowchart of the binding policy of the deletion policy control session according to the present invention. As shown in FIG. 10, the deletion policy control session binding information in this example specifically includes the following steps:
步驟 1001 : H-PCRF受到触发, 需要终结与 V-PCRF之间的策略控制 会话, 即 S9会话。  Step 1001: The H-PCRF is triggered, and the policy control session between the V-PCRF and the V-PCRF needs to be terminated, that is, the S9 session.
该触发可能是 P-GW向 H-PCRF发送策略控制会话终结消息而引起的, 策略控制会话终结消息即 IP-CAN会话终结指示消息,所述策略控制会话消 息中携带 UE从 WLAN接入去附着或断开 PDN连接的指示信息。 H-PCRF 收到该策略控制会话终结消息后,判定需要终结与 V-PCRF之间的 S9会话。  The trigger may be caused by the P-GW sending a policy control session termination message to the H-PCRF. The policy control session termination message is an IP-CAN session termination indication message, where the policy control session message carries the UE to detach from the WLAN access. Or disconnect the PDN connection instructions. After receiving the policy control session termination message, the H-PCRF determines that the S9 session with the V-PCRF needs to be terminated.
步驟 1002: H-PCRF向 V-PCRF发送请求终结 Diameter会话, 会话中 携带请求会话终结指示。该消息通过 S9会话发送, 即消息中携带的 Session Id为 ID2。 步驟 1003: V-PCRF向 H-PCRF返回请求终结 Diameter会话应答。 步驟 1004: V-PCRF向 H-PCRF发送 Diameter会话终结请求。 Step 1002: The H-PCRF sends a request to the V-PCRF to terminate the Diameter session, where the session carries the request session termination indication. The message is sent through the S9 session, that is, the Session Id carried in the message is ID2. Step 1003: The V-PCRF returns a request to the H-PCRF to terminate the Diameter session response. Step 1004: The V-PCRF sends a Diameter session termination request to the H-PCRF.
步驟 1005: H-PCRF向 V-PCRF返回 Diameter会话终结应答。  Step 1005: The H-PCRF returns a Diameter session termination response to the V-PCRF.
步驟 1006: H-PCRF向 V-DRA发送 Diameter会话终结请求, 该消息通 过 S9a会话发送, 消息中携带 Session ld为 ID1。  Step 1006: The H-PCRF sends a Diameter session termination request to the V-DRA, and the message is sent through the S9a session, and the message carries the Session ld as ID1.
步驟 1007: H-PCRF向 V-PCRF发送 Diameter会话终结请求, 消息中 携带 Session Id为 ID 1。  Step 1007: The H-PCRF sends a Diameter session termination request to the V-PCRF, where the message carries the Session Id as ID 1.
步驟 1008: V-DRA根据 Session Id = ID1判断这个 IP-CAN会话有一个 有效的 DRA绑定, 并且标记该 Diameter会话终结。 即删除 DRA绑定中 DRA绑定与 ID 1标识的会话的关联关系, 也就是删除 DRA绑定中的 DRA 绑定与触发 V-PCRF建立 S9会话的消息(即步驟 902消息, 该消息可以用 ID1和 /或请求建立会话标识信息唯一标识 ) 的关联关系。  Step 1008: The V-DRA judges that the IP-CAN session has a valid DRA binding according to Session Id = ID1, and marks the end of the Diameter session. That is, the association between the DRA binding and the ID-identified session in the DRA binding is deleted, that is, the DRA binding in the DRA binding is deleted, and the V-PCRF is triggered to establish an S9 session (ie, step 902, the message can be used. The association relationship between ID1 and/or request to establish a unique identifier for the session identification information.
如果该 UE所有的 Diameter会话都终结, 那么 V-DRA将删除该 DRA 绑定(即 DRA绑定中 DRA绑定与该 UE相关的所有 Diameter会话的关联 关系都删除了)。  If all the Diameter sessions of the UE are terminated, the V-DRA deletes the DRA binding (that is, the association between the DRA binding and all Diameter sessions related to the UE in the DRA binding is deleted).
步驟 1009: DRA向 H-PCRF返回重定向消息。  Step 1009: The DRA returns a redirect message to the H-PCRF.
步驟 1010: V-PCRF向 H-PCRF返回 Diameter会话终结应答。  Step 1010: The V-PCRF returns a Diameter session termination response to the H-PCRF.
步驟 1011 : V-PCRF与 BBF接入网中的 DRA、 BPCF按照图 6的流程 进行执行。  Step 1011: The DRA and the BPCF in the V-PCRF and the BBF access network are executed according to the flow of FIG. 6.
若 UE建立多个 PDN连接(即在 S9会话中存在一个以上的 S9子会话), 那么, H-PCRF可能在两种情况下通知 V-DRA删除已建立的 S9a会话: If the UE establishes multiple PDN connections (that is, there are more than one S9 sub-session in the S9 session), the H-PCRF may notify the V-DRA to delete the established S9a session in two cases:
( 1 ) 当 H-PCRF终结 S9会话时, H-PCRF同时终结 S9a会话, 此时 H-PCRF通知 V-DRA S9a会话终结;此时,由于 S9会话终结,那么在 V-DRA 中与该 UE相关的其他 Diameter会话必然已都终结, 所以在步驟 1008中, V-DRA收到 H-PCRF发送的 Diameter会话终结请求时, V-DRA删除该 UE 的 DRA绑定。 即当 H-PCRF终结 S9会话时, H-PCRF发送消息给 V-DRA, 通知 V-DRA删除该 UE的 DRA绑定。 (1) When the H-PCRF terminates the S9 session, the H-PCRF terminates the S9a session at the same time. At this time, the H-PCRF notifies the V-DRA S9a session to terminate. At this time, because the S9 session is terminated, the UE is in the V-DRA. The related other Diameter sessions must have been terminated. Therefore, in step 1008, when the V-DRA receives the Diameter session termination request sent by the H-PCRF, the V-DRA deletes the UE. DRA binding. That is, when the H-PCRF terminates the S9 session, the H-PCRF sends a message to the V-DRA, informing the V-DRA to delete the DRA binding of the UE.
( 2 ) 当 H-PCRF终结所有 H-PCRF请求 V-PCRF发起的 S9子会话时, H-PCRF同时终结 S9a会话, 此时 H-PCRF通知 V-DRA S9a会话终结。 此 时, 由于 S9会话还未终结, 则在 V-DRA中与该 UE相关的其他 Diameter 会话必然没有完全终结, 所以在步驟 1008 中, V-DRA 收到 H-PCRF 的 Diameter会话终结请求时, V-DRA在删除 DRA绑定中的 DRA绑定与触发 V-PCRF建立 S9会话的消息, 还不能删除该 UE的 DRA绑定。  (2) When the H-PCRF terminates the S9 sub-session initiated by the V-PCRF, the H-PCRF terminates the S9a session at the same time. The H-PCRF notifies the V-DRA S9a session to terminate. At this time, since the S9 session has not been terminated, the other Diameter sessions related to the UE in the V-DRA are not completely terminated. Therefore, in step 1008, when the V-DRA receives the Diameter session termination request of the H-PCRF, The V-DRA deletes the DRA binding in the DRA binding and triggers the V-PCRF to establish an S9 session. The DRA binding of the UE cannot be deleted.
在其他实施例中, 若在图 9的流程中, S9a会话不建立(即 H-PCRF和 V-PCRF不保留 S9a会话状态信息), 则图 10的流程可以如下实现:  In other embodiments, if the S9a session is not established in the flow of FIG. 9 (ie, the H-PCRF and the V-PCRF do not retain the S9a session state information), the process of FIG. 10 can be implemented as follows:
步驟 1006中, PCRF也不携带 Session id。 而是携带与步驟 902中相同 的请求建立会话标识信息。 步驟 1008中, V-DRA根据请求建立会话标识信 息判断这个 IP-CAN会话有一个有效的 DRA绑定, 并且删除该 DRA绑定 中与触发 V-PCRF建立 S9会话的消息(即步驟 902消息, 该消息可以用步 驟 902 中携带的请求建立会话标识信息唯一标识) 的关联关系。 若该 UE 所有的 Diameter会话都终结(这些会话是保持状态的, UE所有的 Diameter 会话都终结即表示 DRA绑定中与会话标识关联的关联关系都删除)并且与 H-PCRF触发 V-PCRF建立 S9会话的消息的关联关系都删除了,那么 V-DRA 将删除该 DRA绑定。 此外, 步驟 1007和步驟 1010可以不执行。  In step 1006, the PCRF also does not carry the Session id. Instead, the same request as in step 902 is carried to establish session identification information. In step 1008, the V-DRA establishes session identification information according to the request to determine that the IP-CAN session has a valid DRA binding, and deletes the message in the DRA binding that establishes an S9 session with the triggering V-PCRF (ie, step 902 message, The message may use the request carried in step 902 to establish an association relationship uniquely identified by the session identification information. If all the Diameter sessions of the UE are terminated (these sessions are in the hold state, all the Diameter sessions of the UE are terminated, indicating that the association relationship associated with the session identifier in the DRA binding is deleted) and the V-PCRF is triggered by the H-PCRF. The association of the messages of the S9 session is deleted, and the V-DRA deletes the DRA binding. Further, step 1007 and step 1010 may not be performed.
若 UE建立多个 PDN连接(即在 S9会话中存在一个以上的 S9子会话), 那么, H-PCRF 可能在两种情况下通知 V-DRA删除与 H-PCRF 请求的 V-PCRF发起的 S9会话消息的关联关系:  If the UE establishes multiple PDN connections (ie, there is more than one S9 sub-session in the S9 session), then the H-PCRF may notify the V-DRA to delete the S9 initiated by the V-PCRF requested by the H-PCRF in two cases. Association of session messages:
( 1 )当 H-PCRF终结 S9会话时, H-PCRF通知 V-DRA删除与 H-PCRF 触发 V-PCRF建立 S9会话的消息的关联关系; 此时, 由于 S9会话终结, 那么在 V-DRA中与该 UE相关的其他 Diameter会话必然已都终结,所以在 步驟 1008中, 当 H-PCRF通知 V-DRA删除与 H-PCRF触发 V-PCRF建立 S9会话的消息的关联关系时, V-DRA删除该 UE的 DRA绑定。即当 H-PCRF 终结 S9会话时, H-PCRF发送消息给 V-DRA, 通知 V-DRA删除该 UE的 DRA绑定。 (1) When the H-PCRF terminates the S9 session, the H-PCRF notifies the V-DRA to delete the association relationship with the message that the H-PCRF triggers the V-PCRF to establish the S9 session; at this time, since the S9 session is terminated, then the V-DRA Other Diameter sessions related to the UE must have been terminated, so In step 1008, when the H-PCRF notifies the V-DRA to delete the association relationship between the message that the H-PCRF triggers the V-PCRF to establish the S9 session, the V-DRA deletes the DRA binding of the UE. That is, when the H-PCRF terminates the S9 session, the H-PCRF sends a message to the V-DRA, informing the V-DRA to delete the DRA binding of the UE.
( 2 ) 当 H-PCRF终结所有 H-PCRF请求 V-PCRF发起的 S9子会话时, H-PCRF通知 V-DRA删除与 H-PCRF触发 V-PCRF建立 S9会话的消息的关 联关系。 此时, 由于 S9会话还未终结, 则在 V-DRA中与该 UE相关的其 他 Diameter会话必然没有完全终结, 所以在步驟 1008中, 当 H-PCRF通知 V-DRA删除与 H-PCRF触发 V-PCRF建立 S9会话的消息的关联关系时, V-DRA在删除 DRA绑定中的 DRA绑定与触发 V-PCRF建立 S9会话的消 息后, 还不能删除 DRA绑定。  (2) When the H-PCRF terminates all H-PCRF requests for the S9 sub-session initiated by the V-PCRF, the H-PCRF notifies the V-DRA to delete the association relationship with the message that the H-PCRF triggers the V-PCRF to establish an S9 session. At this time, since the S9 session has not been terminated, the other Diameter sessions related to the UE in the V-DRA are not completely terminated, so in step 1008, when the H-PCRF notifies the V-DRA to delete and the H-PCRF triggers V. - When the PCRF establishes the association relationship between the messages of the S9 session, the V-DRA cannot delete the DRA binding after deleting the DRA binding in the DRA binding and the message triggering the V-PCRF to establish the S9 session.
实施例七  Example 7
图 11为本发明基于图 2、图 4的架构,在漫游场景下, UE附着过程中, V-DRA选择 V-PCRF的流程图, 其中 DRA为重定向 Proxy方式, 如图 11 所示, 该方法具体包括以下步驟:  FIG. 11 is a flowchart of the V-DRA selecting a V-PCRF in a UE attaching process according to the architecture of FIG. 2 and FIG. 4, wherein the DRA is a redirected Proxy mode, as shown in FIG. The method specifically includes the following steps:
步驟 1101 : H-PCRF受到触发,需要建立与 V-PCRF之间的策略控制会 话( S9会话)。即 V-PCRF和 H-PCRF之间还没有为该 UE建立的 S9会话。。  Step 1101: The H-PCRF is triggered, and a policy control session (S9 session) with the V-PCRF needs to be established. That is, there is no S9 session established between the V-PCRF and the H-PCRF for the UE. .
该触发可能是 P-GW向 H-PCRF发送策略控制会话消息而引起的, 策 略控制会话消息即 IP-CAN会话建立指示消息,所述策略控制会话消息中携 带 UE通过 WLAN接入的指示信息。 H-PCRF收到该策略控制会话消息后, 判定需要建立与 V-PCRF之间的策略控制会话, 以便通过 V-PCRF向 BBF 接入网提供策略以及请求 BBF接入网的接纳控制。  The trigger may be caused by the P-GW sending a policy control session message to the H-PCRF. The policy control session message is an IP-CAN session establishment indication message, and the policy control session message carries indication information that the UE accesses through the WLAN. After receiving the policy control session message, the H-PCRF determines that a policy control session with the V-PCRF needs to be established to provide a policy to the BBF access network through the V-PCRF and request admission control of the BBF access network.
步驟 1102: H-PCRF向 V-DRA发送 Diameter会话建立请求消息, 所述 Diameter会话建立请求消息中携带用户标识、 PDN标识以及请求建立会话 指示。 PCRF在消息的 Destination-Host AVP中填写拜访网络的域名。 H-PCRF 为该请求建立的 Diameter会话分配会话标识 Session ID, 标识为 ID1。 Step 1102: The H-PCRF sends a Diameter session establishment request message to the V-DRA, where the Diameter session establishment request message carries a user identifier, a PDN identifier, and a request to establish a session indication. The PCRF fills in the domain name of the visited network in the Destination-Host AVP of the message. H-PCRF The session identifier is assigned to the Diameter session established for the request, and is identified as ID1.
这里, 请求建立会话指示用于通知 V-PCRF发起建立 S9会话。  Here, the request to establish a session indication is used to notify the V-PCRF to initiate the establishment of the S9 session.
所述 Diameter会话建立请求消息中可以进一步携带请求建立会话标识 信息, 用于将来作为 V-PCRF发起会话的标识, 以便于 H-PCRF判断请求 建立的会话 V-PCRF是否已经发起。 所述请求建立会话标识信息可以为 UE 接入 BBF接入网的位置信息 , 或是 H-PCRF分配的能够唯一区分的标识 , 或是用户标识, 或是用户标识和 PDN标识, 或是 UE的本地 IP地址。  The Diameter session establishment request message may further carry a request to establish session identification information, which is used as an identifier for initiating a session in the future as a V-PCRF, so that the H-PCRF determines whether the session V-PCRF requested to be established has been initiated. The request establishment session identification information may be location information of the UE accessing the BBF access network, or a uniquely distinguishable identifier allocated by the H-PCRF, or a user identifier, or a user identifier and a PDN identifier, or a UE Local IP address.
步驟 1103: V-DRA根据用户标识判断是否已经为该 UE选择了 V-PCRF ( V-DRA配置为每个 UE选择一个 V-PCRF )。此时,若 V-DRA中还没有对 应的 DRA绑定,则 V-DRA为该 UE选择一个 V-PCRF ,并保存对应关系(用 户标识、 PDN标识、 V-PCRF标识)或 (用户标识、 V-PCRF )或 (用户标 识、 PDN标识、 UE本地 IP地址、 V-PCRF标识), 创建 DRA绑定, 否则 V-DRA根据用户标识、 PDN标识和 /或 UE本地 IP地址更新 DRA绑定。 同 时 V-DRA保存该绑定关联的 Diameter会话,这里在 DRA绑定中增加 ID1。 即保存 DRA绑定与 ID1标识的会话的关联关系, 也就是保存 DRA绑定与 触发 V-PCRF建立 S9会话的消息(即步驟 902消息, 该消息可以用 ID1和 /或步驟 902中携带的请求建立会话标识信息唯一标识) 的关联关系。  Step 1103: The V-DRA determines, according to the user identifier, whether the V-PCRF has been selected for the UE (the V-DRA is configured to select one V-PCRF for each UE). At this time, if there is no corresponding DRA binding in the V-DRA, the V-DRA selects a V-PCRF for the UE, and saves the correspondence (user ID, PDN identifier, V-PCRF identifier) or (user ID, V-PCRF) or (user identity, PDN identity, UE local IP address, V-PCRF identity), create a DRA binding, otherwise the V-DRA updates the DRA binding according to the user identity, the PDN identity, and/or the UE local IP address. At the same time, the V-DRA saves the Diameter session associated with the binding, where ID1 is added to the DRA binding. That is, the association between the DRA binding and the ID1-identified session is saved, that is, the message that the DRA binding and the triggering V-PCRF establish an S9 session is saved (ie, step 902, the message may be carried by ID1 and/or the request carried in step 902). Establish an association relationship with the unique identifier of the session identification information.
步驟 1104: V-DRA向所选择的 V-PCRF发送 Diameter会话建立请求消 息, 所述 Diameter会话建立请求消息中携带用户标识、 PDN标识以及请求 建立会话指示。 V-DRA在消息的 Destination-Host AVP中填写 BPCF标识。  Step 1104: The V-DRA sends a Diameter session establishment request message to the selected V-PCRF, where the Diameter session establishment request message carries a user identifier, a PDN identifier, and a request to establish a session indication. The V-DRA fills in the BPCF identifier in the Destination-Host AVP of the message.
步驟 1105: V-PCRF收到所述 Diameter会话建立请求消息后,向 V-DRA 返回 Diameter会话建立应答消息。  Step 1105: After receiving the Diameter session establishment request message, the V-PCRF returns a Diameter session establishment response message to the V-DRA.
步驟 1106: V-DRA收到所述 Diameter会话建立应答消息后 ,向 H-PCRF 返回 Diameter会话建立应答消息。若 V-DRA可以返回所选择的 V-PCRF标 识, 则 V-DRA在应答消息中携带 V-PCRF标识。 步驟 1105 -步驟 1106建立的 Diameter会话, 在本发明中称为 S9a会 话。 Step 1106: After receiving the Diameter session establishment response message, the V-DRA returns a Diameter session establishment response message to the H-PCRF. If the V-DRA can return the selected V-PCRF identifier, the V-DRA carries the V-PCRF identifier in the response message. Step 1105 - The Diameter session established in step 1106 is referred to as an S9a session in the present invention.
步驟 1107: V-PCRF根据所述 Diameter会话建立请求消息中的请求建 立会话指示, 向 H-PCRF发送 Diameter会话建立请求消息, 请求建立策略 控制会话, 即建立 S9会话。 V-PCRF为该请求建立的 Diameter会话分配会 话标识 Session ID,标识为 ID2, 同时 V-PCRF还会请求建立一个 S9子会话 (该子会话对应建立的 PDN连接)。  Step 1107: The V-PCRF establishes a session indication according to the request in the Diameter session establishment request message, and sends a Diameter session establishment request message to the H-PCRF to request to establish a policy control session, that is, establish an S9 session. The V-PCRF allocates a session ID for the Diameter session established by the request, and the identifier is ID2. The V-PCRF also requests to establish an S9 sub-session (the PDN connection established by the sub-session).
所述 Diameter会话建立请求消息中可以携带步驟 1104中下发的请求建 立会话标识信息, 用于通知 H-PCRF该消息用于建立步驟 1104中请求建立 的策略控制会话。  The Diameter session establishment request message may carry the request establishment session information in step 1104 to notify the H-PCRF that the message is used to establish the policy control session requested in step 1104.
步驟 1108: H-PCRF向 V-PCRF发送 Diameter会话建立应答消息。 步驟 1109: V-PCRF与 BBF接入网中的 DRA, BPCF交互执行图 5或 图 7的流程。  Step 1108: The H-PCRF sends a Diameter session establishment response message to the V-PCRF. Step 1109: The V-PCRF interacts with the DRA and BPCF in the BBF access network to perform the process of FIG. 5 or FIG. 7.
此后, H-PCRF可以通过步驟 1107和步驟 1108建立的 S9会话进行策 略的下发, V-PCRF也可以通过它进行策略执行结果、接纳控制结果以及事 件的上报。  Thereafter, the H-PCRF can perform the policy delivery by using the S9 session established in step 1107 and step 1108. The V-PCRF can also perform policy execution results, admission control results, and event reporting.
在本实施例中, Diameter会话请求消息可以采用信用控制请求消息。 如步驟 1102和步驟 1104中为信用控制请求消息, 步驟 1105和步驟 1106 为信用控制应答消息。  In this embodiment, the Diameter session request message may adopt a credit control request message. If the credit control request message is in step 1102 and step 1104, step 1105 and step 1106 are credit control response messages.
在本实施例中, Diameter会话请求消息还可以重授权请求消息, 如步 驟 1102和步驟 1104中为授权认证请求,步驟 1105和步驟 1106为授权认证 应答。 因此, 本实施例中, 不限定 Diameter会话请求消息的具体形式。  In this embodiment, the Diameter Session Request message may also re-authorize the request message, such as the authorization authentication request in steps 1102 and 1104, and the step 1105 and the step 1106 are the authorization authentication response. Therefore, in this embodiment, the specific form of the Diameter session request message is not limited.
在其他实施例中, 步驟 1102、 步驟 1104的消息也可以携带不保持会话 状态的指示 ( 即消息中携带 Auth-Session-State AVP , 取值为 NO STATE MAINTAINED ), 或者不会携带 H-PCRF为该 Diameter会话分 配的会话标识。 即, 步驟 1102-步驟 1106交互不建立 S9a会话(在消息交 互结束后, H-PCRF和 V-PCRF中不会保持相关的会话信息)。 因此, 步驟 1102-步驟 1106仅用来触发 V-PCRF发起建立 S9会话。步驟 1103中, V-DRA 根据用户标识判断是否已经为该 UE选择了 V-PCRF。 此时, 若 V-DRA中 还没有对应的 DRA绑定(即没有为该 UE选择 V-PCRF ), 则 V-DRA为该 UE选择一个 PCRF, 并保存对应关系 (用户标识、 PDN标识、 V-PCRF标 识)或(用户标识、 V-PCRF标识)或( UE本地地址、 用户标识、 PDN标 识、 V-PCRF标识;), 否则 V-DRA 居用户标识、 PDN标识和 /或 UE本地 IP地址更新 DRA绑定。 不管是更新, 还是新建, 在 DRA绑定中保存 DRA 绑定与触发 V-PCRF建立 S9会话的消息 (即步驟 1102消息, 该消息可以 用步驟 1102中携带的请求建立会话标识信息唯一标识) 的关联关系。 In other embodiments, the message of step 1102 and step 1104 may also carry an indication that the session state is not maintained (ie, the message carries an Auth-Session-State AVP, the value is NO STATE MAINTAINED), or does not carry the H-PCRF. The Diameter session The associated session ID. That is, step 1102 - step 1106 does not establish an S9a session (after the end of the message interaction, the relevant session information is not maintained in the H-PCRF and the V-PCRF). Therefore, step 1102 - step 1106 is only used to trigger the V-PCRF to initiate the establishment of the S9 session. In step 1103, the V-DRA determines, according to the user identifier, whether the V-PCRF has been selected for the UE. At this time, if there is no corresponding DRA binding in the V-DRA (that is, no V-PCRF is selected for the UE), the V-DRA selects a PCRF for the UE, and saves the corresponding relationship (user identifier, PDN identifier, V - PCRF identity) or (user identity, V-PCRF identity) or (UE local address, user identity, PDN identity, V-PCRF identity;), otherwise V-DRA user identity, PDN identity and/or UE local IP address Update the DRA binding. Whether it is an update or a new one, the DRA binding is saved in the DRA binding, and the message that triggers the V-PCRF to establish an S9 session (ie, the message of step 1102, the message may be uniquely identified by the request carried in step 1102). connection relation.
在执行上述流程后, UE可能需要建立新的 PDN连接。  After performing the above process, the UE may need to establish a new PDN connection.
当 UE又发起建立新的 PDN连接时,若是 Home Routed场景(即 P-GW 位于 HPLMN ), H-PCRF会再次收到来自 P-GW发送的策略控制会话消息 (即 IP-CAN会话建立指示消息),则 H-PCRF修改已建立的 S9会话,并请 求 V-PCRF与 H-PCRF再建立一个 S9子会话(该子会话对应新建立的 PDN 连接)。 收到上述请求后, V-PCRF向 H-PCRF发送请求消息, 建立一个 S9 子会话; 若是 Visited Access场景(即 P-GW位于 VPLMN ), V-PCRF会收 到来自 P-GW发送的策略控制会话消息 (即 IP-CAN会话建立指示消息), 则 V-PCRF修改已建立的 S9会话, 并请求与 H-PCRF再建立一个 S9子会 话(该子会话对应新建立的 PDN连接)。  When the UE initiates a new PDN connection, if the Home Routed scenario (ie, the P-GW is located in the HPLMN), the H-PCRF receives the policy control session message (ie, the IP-CAN session establishment indication message) sent from the P-GW. Then, the H-PCRF modifies the established S9 session, and requests the V-PCRF to establish an S9 sub-session with the H-PCRF (the sub-session corresponds to the newly established PDN connection). After receiving the above request, the V-PCRF sends a request message to the H-PCRF to establish an S9 sub-session; if the Visited Access scenario (ie, the P-GW is located in the VPLMN), the V-PCRF receives the policy control sent from the P-GW. The session message (ie, the IP-CAN session establishment indication message), the V-PCRF modifies the established S9 session, and requests to establish another S9 subsession with the H-PCRF (the subsession corresponds to the newly established PDN connection).
由于是修改 S9会话, 不涉及建立新的 S9a会话或新的触发 V-PCRF建 立 S9会话的消息。 此外, 修改 S9会话后, 可能需要执行 V-PCRF与 BPCF 之间建立 S9*会话的流程。 因此, 当 UE建立多个 PDN连接时, V-PCRF与 H-PCRF之间存在 S9会话, 其中包含多个子会话, 该多个子会话有些是由 V-PCRF主动发起建立的, 还有些是由 H-PCRF请求 V-PCRF发起建立的。 同时 H-PCRF与 V-PCRF之间存在 S9a会话。而 BPCF与 V-PCRF之间存在 S9*会话, S9*会话与 S9会话是对应的。 Since the S9 session is modified, it does not involve establishing a new S9a session or a new message triggering the V-PCRF to establish an S9 session. In addition, after modifying the S9 session, it may be necessary to perform a process of establishing an S9* session between the V-PCRF and the BPCF. Therefore, when the UE establishes multiple PDN connections, there is an S9 session between the V-PCRF and the H-PCRF, which includes multiple sub-sessions, and some of the multiple sub-sessions are V-PCRF initiated the establishment of the V-PCRF, and some were initiated by the H-PCRF request V-PCRF. At the same time, there is an S9a session between H-PCRF and V-PCRF. There is an S9* session between the BPCF and the V-PCRF, and the S9* session corresponds to the S9 session.
实施例 8  Example 8
本实施例为根据图 11的流程, H-PCRF和 V-PCRF建立 S9后, 由于 IP-CAN会话终结时, 删除 DRA中绑定信息的流程, 其中 DRA为重定向 Proxy方式。 图 12为本发明基于图 11的删除策略控制会话绑定信息的流程 图, 如图 12所示, 本示例删除策略控制会话绑定信息具体包括以下步驟: 步驟 1201 : H-PCRF受到触发, 需要终结与 V-PCRF之间的策略控制 会话, 即 S9会话。  In this embodiment, according to the flow of FIG. 11, after the S9 is established by the H-PCRF and the V-PCRF, the process of deleting the binding information in the DRA is performed when the IP-CAN session is terminated, where the DRA is a redirected Proxy mode. FIG. 12 is a flowchart of the method for controlling session binding based on the deletion policy of FIG. 11 . As shown in FIG. 12 , the example of deleting the policy control session binding information includes the following steps: Step 1201 : The H-PCRF is triggered, and needs to be performed. Terminate the policy control session with the V-PCRF, ie the S9 session.
该触发可能是 P-GW向 PCRF发送策略控制会话终结消息而引起的, 策略控制会话终结消息即 IP-CAN会话终结指示,所述策略控制会话消息中 携带 UE从 WLAN接入去附着或断开 PDN连接的指示信息。 PCRF收到该 策略控制会话终结消息后, 判定需要终结与 V-PCRF之间的策略控制会话。  The trigger may be caused by the P-GW sending a policy control session termination message to the PCRF. The policy control session termination message is an IP-CAN session termination indication, and the policy control session message carries the UE to attach or disconnect from the WLAN access. Instructions for PDN connections. After receiving the policy control session termination message, the PCRF determines that the policy control session with the V-PCRF needs to be terminated.
步驟 1202: H-PCRF向 V-PCRF发送请求终结 Diameter会话, 会话中 携带请求会话终结指示。该消息通过 S9会话发送, 即消息中携带的 Session Id为 ID2。  Step 1202: The H-PCRF sends a request to the V-PCRF to terminate the Diameter session, where the session carries the request session termination indication. The message is sent through the S9 session, that is, the Session Id carried in the message is ID2.
步驟 1203: V-PCRF向 H-PCRF返回请求终结 Diameter会话应答。 步驟 1204: V-PCRF向 H-PCRF发送 Diameter会话终结请求。 该消息 通过 S9会话发送, 即消息中携带的 Session Id为 ID2。  Step 1203: The V-PCRF returns a request to the H-PCRF to terminate the Diameter session response. Step 1204: The V-PCRF sends a Diameter session termination request to the H-PCRF. The message is sent through the S9 session, that is, the Session Id carried in the message is ID2.
步驟 1205: H-PCRF向 V-PCRF返回 Diameter会话终结应答。  Step 1205: The H-PCRF returns a Diameter session termination response to the V-PCRF.
步驟 1206: H-PCRF向 V-DRA发送 Diameter会话终结请求, 该消息通 过 S9a会话发送, 消息中携带 Session ld为 ID1。  Step 1206: The H-PCRF sends a Diameter session termination request to the V-DRA, and the message is sent through the S9a session. The message carries the Session ld ID1.
步驟 1207: V-DRA根据 Session Id = ID1判断这个 IP-CAN会话有一个 有效的 DRA绑定。 步驟 1208: V-DRA向 V-PCRF发送 Diameter会话终结请求, 消息中携 带 Session Id为 ID1。 Step 1207: The V-DRA judges that the IP-CAN session has a valid DRA binding according to Session Id = ID1. Step 1208: The V-DRA sends a Diameter session termination request to the V-PCRF, where the message carries the Session Id as ID1.
步驟 1209: V-PCRF向 V-PCRF返回确认消息;  Step 1209: The V-PCRF returns an acknowledgement message to the V-PCRF.
步驟 1210: V-DRA根据 Session Id = ID1标记该 Diameter会话总结。 即删除 DRA绑定中 DRA绑定与 ID1标识的会话的关联关系, 也就是删除 DRA绑定中的 DRA绑定与触发 V-PCRF建立 S9会话的消息(即步驟 1102 消息, 该消息可以用 ID1和 /或请求建立会话标识信息唯一标识) 的关联关 系。 如果该 UE所有的 Diameter会话都终结 (即 DRA绑定中 DRA绑定与 该 UE相关的所有 Diameter会话的关联关系都删除了), 那么 V-DRA将删 除该 DRA绑定。  Step 1210: The V-DRA marks the Diameter session summary according to Session Id = ID1. That is, the association between the DRA binding and the ID1-identified session in the DRA binding is deleted, that is, the DRA binding in the DRA binding is deleted and the V-PCRF is triggered to establish an S9 session (ie, step 1102 message, the message can be ID1) And/or request to establish an association relationship with the session identification information unique identifier). If all the Diameter sessions of the UE are terminated (that is, the association relationship between the DRA binding and all Diameter sessions related to the UE in the DRA binding is deleted), the V-DRA deletes the DRA binding.
步驟 1211 : V-DRA向 H-PCRF返回 Diameter会话终结应答。  Step 1211: The V-DRA returns a Diameter session termination response to the H-PCRF.
步驟 1212: V-PCRF与 BBF接入网中的 DRA, BPCF交互执行图 5或 图 7的流程。  Step 1212: The V-PCRF interacts with the DRA and BPCF in the BBF access network to perform the process of FIG. 5 or FIG. 7.
若 UE建立多个 PDN连接(即在 S9会话中存在一个以上的 S9子会话), 那么, H-PCRF可能在两种情况下通知 V-DRA删除已建立的 S9a会话: If the UE establishes multiple PDN connections (that is, there are more than one S9 sub-session in the S9 session), the H-PCRF may notify the V-DRA to delete the established S9a session in two cases:
( 1 ) 当 H-PCRF终结 S9会话时, H-PCRF同时终结 S9a会话, 此时 H-PCRF通知 V-DRA S9a会话终结;此时,由于 S9会话终结,那么在 V-DRA 中与该 UE相关的其他 Diameter会话必然已都终结, 所以在步驟 1210中, V-DRA收到 H-PCRF发送的 Diameter会话终结请求时,可删除 DRA绑定。 此时, H-PCRF发送的 Diameter会话终结请求消息也可以理解为 DRA绑定 删除消息。 即当 H-PCRF终结 S9会话时, H-PCRF发送消息给 V-DRA, 通 知 V-DRA删除该 UE的 DRA绑定。 (1) When the H-PCRF terminates the S9 session, the H-PCRF terminates the S9a session at the same time. At this time, the H-PCRF notifies the V-DRA S9a session to terminate. At this time, because the S9 session is terminated, the UE is in the V-DRA. The related other Diameter sessions must have been terminated. Therefore, in step 1210, when the V-DRA receives the Diameter session termination request sent by the H-PCRF, the DRA binding can be deleted. At this time, the Diameter session termination request message sent by the H-PCRF can also be understood as a DRA binding deletion message. That is, when the H-PCRF terminates the S9 session, the H-PCRF sends a message to the V-DRA, informing the V-DRA to delete the DRA binding of the UE.
( 2 ) 当 H-PCRF终结所有 H-PCRF请求 V-PCRF发起的 S9子会话时, H-PCRF同时终结 S9a会话, 此时 H-PCRF通知 V-DRA S9a会话终结。 此 时, 由于 S9会话还未终结, 则在 V-DRA中与该 UE相关的其他 Diameter 会话必然没有完全终结, 所以在步驟 1210 中, V-DRA 收到 H-PCRF 的 Diameter会话终结请求时, V-DRA在删除 DRA绑定中的 DRA绑定与触发 V-PCRF建立 S9会话的消息, 还不能删除该 UE的 DRA绑定。 (2) When the H-PCRF terminates all H-PCRF requests for the S9 sub-session initiated by the V-PCRF, the H-PCRF terminates the S9a session at the same time, and the H-PCRF notifies the V-DRA S9a session to terminate. At this time, since the S9 session has not been terminated, other Diameter related to the UE in the V-DRA is The session is not completely terminated. Therefore, in step 1210, when the V-DRA receives the Diameter session termination request from the H-PCRF, the V-DRA deletes the DRA binding in the DRA binding and triggers the V-PCRF to establish the S9 session. The DRA binding of the UE cannot be deleted yet.
在其他实施例中, 若在图 11 的流程中, S9a会话不建立 (即 H-PCRF 和 V-PCRF不保留 S9a会话状态信息), 则图 12的流程可以如下实现: 步驟 1006中, PCRF也不携带 Session id。 而是携带与步驟 1102中相 同的请求建立会话标识信息。 步驟 1210中, V-DRA根据请求建立会话标识 信息判断这个 IP-CAN会话有一个有效的 DRA绑定, 并且删除该 DRA绑 定中与触发 V-PCRF建立 S9会话的消息 (即步驟 1102消息, 该消息可以 用步驟 1102中携带的请求建立会话标识信息唯一标识)的关联关系。 若该 UE 所有的 Diameter会话都终结 (这些会话是保持状态的, UE 所有的 Diameter会话都终结即表示 DRA绑定中与会话标识关联的关联关系都删 除)并且与 H-PCRF触发 V-PCRF建立 S9会话的消息的关联关系都删除了, 那么 V-DRA将删除该 DRA绑定。 此外, 步驟 1208和步驟 1209可以不执 行。  In other embodiments, if the S9a session is not established in the flow of FIG. 11 (ie, the H-PCRF and the V-PCRF do not retain the S9a session state information), the process of FIG. 12 can be implemented as follows: In step 1006, the PCRF is also Do not carry the Session id. Instead, the same request as in step 1102 is carried to establish session identification information. In step 1210, the V-DRA establishes the session identification information according to the request to determine that the IP-CAN session has a valid DRA binding, and deletes the message in the DRA binding that establishes the S9 session with the triggering V-PCRF (ie, step 1102 message, The message may use the request carried in step 1102 to establish an association relationship uniquely identified by the session identification information. If all the Diameter sessions of the UE are terminated (these sessions are in the hold state, all the Diameter sessions of the UE are terminated, indicating that the association relationship associated with the session identifier in the DRA binding is deleted) and the V-PCRF is triggered by the H-PCRF. The association of the messages of the S9 session is deleted, and the V-DRA deletes the DRA binding. Additionally, step 1208 and step 1209 may not be performed.
若 UE建立多个 PDN连接(即在 S9会话中存在一个以上的 S9子会话), 那么, H-PCRF 可能在两种情况下通知 V-DRA删除与 H-PCRF 请求的 V-PCRF发起的 S9会话消息的关联关系:  If the UE establishes multiple PDN connections (ie, there is more than one S9 sub-session in the S9 session), then the H-PCRF may notify the V-DRA to delete the S9 initiated by the V-PCRF requested by the H-PCRF in two cases. Association of session messages:
( 1 )当 H-PCRF终结 S9会话时, H-PCRF通知 V-DRA删除与 H-PCRF 触发 V-PCRF建立 S9会话的消息的关联关系; 此时, 由于 S9会话终结, 那么在 V-DRA中与该 UE相关的其他 Diameter会话必然已都终结,所以在 步驟 1210中, 当 H-PCRF通知 V-DRA删除与 H-PCRF触发 V-PCRF建立 S9会话的消息的关联关系时 , V-DRA删除该 UE的 DRA绑定。此时 , H-PCRF 发送的通知消息也可以理解为 DRA绑定删除消息。 即当 H-PCRF终结 S9 会话时, H-PCRF发送消息给 V-DRA, 通知 V-DRA删除该 UE的 DRA绑 定。 (1) When the H-PCRF terminates the S9 session, the H-PCRF notifies the V-DRA to delete the association relationship with the message that the H-PCRF triggers the V-PCRF to establish the S9 session; at this time, since the S9 session is terminated, then the V-DRA The other Diameter sessions related to the UE must have been terminated. Therefore, in step 1210, when the H-PCRF notifies the V-DRA to delete the association relationship with the message that the H-PCRF triggers the V-PCRF to establish the S9 session, the V-DRA Delete the DRA binding of the UE. At this time, the notification message sent by the H-PCRF can also be understood as a DRA binding deletion message. That is, when the H-PCRF terminates the S9 session, the H-PCRF sends a message to the V-DRA, informing the V-DRA to delete the DRA of the UE. Set.
( 2 ) 当 H-PCRF终结所有 H-PCRF请求 V-PCRF发起的 S9子会话时, H-PCRF通知 V-DRA删除与 H-PCRF触发 V-PCRF建立 S9会话的消息的关 联关系。 此时, 由于 S9会话还未终结, 则在 V-DRA中与该 UE相关的其 他 Diameter会话必然没有完全终结, 所以在步驟 1210中, 当 H-PCRF通知 V-DRA删除与 H-PCRF触发 V-PCRF建立 S9会话的消息的关联关系时, V-DRA在删除 DRA绑定中的 DRA绑定与触发 V-PCRF建立 S9会话的消 息后, 还不能删除该 UE的 DRA绑定。  (2) When the H-PCRF terminates all H-PCRF requests for the S9 sub-session initiated by the V-PCRF, the H-PCRF notifies the V-DRA to delete the association relationship with the message that the H-PCRF triggers the V-PCRF to establish an S9 session. At this time, since the S9 session has not been terminated, the other Diameter sessions related to the UE in the V-DRA are not completely terminated, so in step 1210, when the H-PCRF notifies the V-DRA to delete and the H-PCRF triggers V. - When the PCRF establishes the association relationship between the messages of the S9 session, the V-DRA cannot delete the DRA binding of the UE after deleting the DRA binding in the DRA binding and the message triggering the V-PCRF to establish the S9 session.
本发明还记载了一种删除 Diameter路由代理中绑定信息的系统, 应用 于通过 BBF接入网接入 EPS的网络中, 所述系统包括第一策略服务器、 第 二策略服务器和 DRA, 其中:  The present invention also describes a system for deleting binding information in a Diameter routing agent, which is applied to a network that accesses an EPS through a BBF access network, where the system includes a first policy server, a second policy server, and a DRA, where:
第一策略服务器, 用于在所述第一策略服务器终结与所述第二策略服 务器的第一策略控制会话时, 通知 Diameter路由代理 DRA删除 DRA绑定 中与所述第一策略服务器触发所述第二策略服务器建立所述第一策略控制 会话的消息的关联关系。  a first policy server, configured to: when the first policy server terminates the first policy control session with the second policy server, notify the Diameter routing agent that the DRA deletes the DRA binding and the first policy server triggers the The second policy server establishes an association relationship of messages of the first policy control session.
上述 DRA接收所述删除 DRA绑定中与所述第一策略服务器触发所述 第二策略服务器建立所述第一策略控制会话的消息的关联关系的通知后, 所述 DRA删除所述 DRA绑定中与所述第一策略服务器触发所述第二策略 服务器建立所述第一策略控制会话的消息的关联关系。  After the DRA receives the notification of the association relationship between the deleted DRA binding and the message that the first policy server triggers the second policy server to establish the first policy control session, the DRA deletes the DRA binding. And an association relationship between the message that the first policy server triggers the second policy server to establish the first policy control session.
上述 DRA删除所述 DRA绑定中与所述第一策略服务器触发所述第二 策略服务器建立所述第一策略控制会话的消息的关联关系后, 所述系统还 包括:  After the foregoing DRA deletes the association relationship between the DRA binding and the message that the first policy server triggers the second policy server to establish the first policy control session, the system further includes:
若 DRA绑定是每 IP-CAN会话的, 并且 IP-CAN会话的所有策略控制 会话均终结时, 所述 DRA进一步用于, 删除与所述 IP-CAN相关的 DRA 绑定; 或, 若 DRA绑定是每 UE的, 并且 UE的所有策略控制会话均终结时, 所 述 DRA进一步用于, 删除与所述 UE相关的 DRA绑定。 If the DRA binding is per IP-CAN session, and all policy control sessions of the IP-CAN session are terminated, the DRA is further used to delete the DRA binding associated with the IP-CAN; or If the DRA binding is per UE, and all the policy control sessions of the UE are terminated, the DRA is further used to delete the DRA binding associated with the UE.
上述第一策略服务器终结与第二策略服务器的第一策略控制会话之 前,  Before the first policy server terminates the first policy control session with the second policy server,
所述第一策略服务器进一步用于, 向所述第二服务器发送所述触发消 息, 通知所述第二策略服务器创建第一策略控制会话。  The first policy server is further configured to: send the trigger message to the second server, and notify the second policy server to create a first policy control session.
上述第一策略服务器进一步用于, 在接收到创建与所述第二策略服务 器之间的第一策略控制会话触发时, 通知所述 DRA在所述 DRA绑定中保 存与所述第一策略服务器触发所述第二策略服务器建立所述第一策略控制 会话的消息的关联关系;  The first policy server is further configured to notify the DRA to save the first policy server in the DRA binding when receiving the first policy control session trigger between the creation and the second policy server And triggering an association relationship between the message that the second policy server establishes the first policy control session;
第一策略控制会话终结后, 所述第一策略服务器进一步用于, 通知所 述 DRA删除所述 DRA绑定中与所述第一策略服务器触发所述第二策略服 务器建立所述第一策略控制会话的消息的关联关系。  After the first policy control session is terminated, the first policy server is further configured to notify the DRA to delete the DRA binding, and the first policy server triggers the second policy server to establish the first policy control. The association of the messages of the session.
上述第一策略服务器为 PCRF, 所述第二策略服务器为 BPCF;  The first policy server is a PCRF, and the second policy server is a BPCF;
或者, 所述第一策略服务器为 H-PCRF , 所述第二策略服务器为 V-PCRF。  Or the first policy server is an H-PCRF, and the second policy server is a V-PCRF.
本发明还记载了另外一种删除 Diameter路由代理中绑定信息的系统, 应用于通过 BBF接入网接入 EPS 的网络中, 所述系统包括 H-PCRF、 V-PCRF, 其中:  The present invention also describes another system for deleting the binding information in the Diameter routing agent, which is applied to the network that accesses the EPS through the BBF access network, and the system includes an H-PCRF and a V-PCRF, where:
H-PCRF, 用于在所述 H-PCRF与所述 V-PCRF终结 S9会话时, 所述 H-PCRF通知拜访地 Diameter路由代理 V-DRA删除 DRA绑定; 或,  The H-PCRF is configured to: when the H-PCRF terminates the S9 session with the V-PCRF, the H-PCRF notifies the visited Diameter routing agent that the V-DRA deletes the DRA binding; or
用于在所述 H-PCRF与所述 V-PCRF终结 S9会话中所有的所述 H-PCRF 请求所述 V-PCRF创建的子会话时, 所述 H-PCRF通知 V-DRA删除所述 DRA绑定中与所述 H-PCRF触发所述 V-PCRF建立所述 S9会话的消息的关 联关系。 进一步地, 所述 H-PCRF在所述通知 V-DRA删除 DRA绑定的消息中 携带与所述 H-PCRF触发所述 V-PCRF建立所述 S9会话的消息中相同的会 话标识和 /或请求建立会话标识信息; 或, The H-PCRF notifies the V-DRA to delete the DRA when all the H-PCRFs request the V-PCRF to create a sub-session in the H-PCRF and the V-PCRF-terminating S9 session. The association relationship between the binding and the message that the H-PCRF triggers the V-PCRF to establish the S9 session. Further, the H-PCRF carries the same session identifier and/or the message that the H-PCRF triggers the V-PCRF to establish the S9 session in the message that informs the V-DRA to delete the DRA binding. Request to establish session identification information; or,
所述 H-PCRF在所述通知 V-DRA删除所述 DRA绑定中与所述 H-PCRF 触发所述 V-PCRF建立所述 S9会话的消息的关联关系的消息中携带与所述 H-PCRF触发所述 V-PCRF建立所述 S9会话的消息中相同的会话标识和 /或 请求建立会话标识信息。  And in the message that the H-PCRF is associated with the message that the H-PCRF triggers the V-PCRF to establish the S9 session, and the H-PCRF is carried in the message that the V-DRA is deleted in the DRA binding. The PCRF triggers the V-PCRF to establish the same session identifier in the message of the S9 session and/or request to establish session identification information.
进一步地, 所述请求建立会话标识信息为用户设备 UE接入宽带论坛 BBF接入网的位置信息, 或是所述 H-PCRF分配的能够唯一区分的标识, 或是用户标识 , 或是所述 UE的本地 IP地址 , 或是用户标识和 PDN标识。  Further, the request to establish the session identification information is location information of the user equipment UE accessing the broadband forum BBF access network, or the uniquely distinguishable identifier allocated by the H-PCRF, or the user identifier, or the The local IP address of the UE, or the user ID and PDN ID.
本发明还记载了一种创建 Diameter路由代理中绑定信息的方法,包括: 第一策略服务器接收到需要创建与第二策略服务器之间的第一策略控 制会话触发时, 向 DRA发送触发消息;  The invention also describes a method for creating binding information in a Diameter routing agent, comprising: sending, by the first policy server, a trigger message to the DRA when receiving the triggering of the first policy control session between the second policy server and the second policy server;
所述 DRA创建或更新 DRA绑定后, 在所述 DRA绑定中保存 DRA绑 定与所述触发消息的关联关系;  After the DRA creates or updates the DRA binding, the association between the DRA binding and the trigger message is saved in the DRA binding.
所述第二策略服务器接收到所述触发消息后, 向第一策略服务器发送 请求消息, 请求建立所述第一策略控制会话。  After receiving the trigger message, the second policy server sends a request message to the first policy server to request to establish the first policy control session.
进一步地 , 所述触发消息携带会话标识或携带不维持会话状态指示。 本领域技术人员应当理解, 创建 Diameter路由代理中绑定信息的方法 具体可参见前述图 5至图 12所示的交互流程而理解。  Further, the trigger message carries a session identifier or carries an indication that the session state is not maintained. Those skilled in the art should understand that the method for creating binding information in the Diameter routing proxy can be understood by referring to the interaction flow shown in FIG. 5 to FIG. 12 described above.
本发明还记载了一种 H-PCRF, 用于在 H-PCRF与 V-PCRF终结 S9会 话时 , 通知拜访地 Diameter路由代理 V-DRA删除 DRA绑定; 或,  The present invention also describes an H-PCRF, which is used to notify the visited Diameter routing agent V-DRA to delete the DRA binding when the H-PCRF and the V-PCRF terminate the S9 session; or
用于在 H-PCRF与 V-PCRF终结 S9会话中所有的 H-PCRF请求 V-PCRF 创建的子会话时, 通知 V-DRA删除 DRA绑定中与 H-PCRF触发 V-PCRF 建立所述 S9会话的消息的关联关系。 本领域技术人员应当理解, 上述的网络结构及网元 H-PCRF, 可参见现 有协议的网络结构以及图 5至图 12所示的各网元之间的交互流程而理解。 只要能实现本发明的上述技术方案, 并不限定具体的实现结构。 本发明的 系统中的各网元所能实现的功能, 具体可参见前述图 5至图 12所示的各网 元之间的交互流程而理解。 When the H-PCRF and the V-PCRF terminate the S9 session, all the H-PCRF requests the V-PCRF to create the sub-session, notify the V-DRA to delete the DRA binding and establish the S9 with the H-PCRF trigger V-PCRF. The association of the messages of the session. Those skilled in the art should understand that the foregoing network structure and network element H-PCRF can be understood by referring to the network structure of the existing protocol and the interaction flow between the network elements shown in FIG. 5 to FIG. The specific implementation structure is not limited as long as the above technical solution of the present invention can be implemented. The functions that can be implemented by the network elements in the system of the present invention can be understood by referring to the interaction process between the network elements shown in FIG. 5 to FIG. 12.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性  Industrial applicability
本发明在 BBF接入网不能感知 UE接入时 , 由 PCRF触发 BPCF建立 策略控制会话而实现策略控制, 而在删除策略控制会话后, 还需要在 DRA 中删除策略控制会话的相关绑定信息。 本发明实现了对现有协议的较佳补 充, 明确了策略控制会话的创建及删除机制。  When the BBF access network is incapable of sensing the UE access, the PCRF triggers the BPCF to establish a policy control session to implement the policy control, and after deleting the policy control session, the related binding information of the policy control session needs to be deleted in the DRA. The invention achieves a better complement to the existing protocol, and clarifies the mechanism for creating and deleting a policy control session.

Claims

权利要求书 Claim
1、 一种删除 Diameter路由代理中绑定信息的方法, 其特征在于, 所述 方法包括:  A method for deleting binding information in a Diameter routing proxy, the method comprising:
第一策略服务器终结与第二策略服务器的第一策略控制会话时, 所述 第一策略服务器触发所述第二策略服务器建立所述第一策略控制会话的消 息的关联关系。  When the first policy server terminates the first policy control session with the second policy server, the first policy server triggers the second policy server to establish an association relationship of the message of the first policy control session.
2、 根据权利要求 1所述的方法, 其特征在于, 所述 DRA接收到所述 删除 DRA绑定中与所述第一策略服务器触发所述第二策略服务器建立所述 第一策略控制会话的消息的关联关系的通知之后, 所述方法还包括:  The method according to claim 1, wherein the DRA receives the deleted DRA binding and the first policy server triggers the second policy server to establish the first policy control session. After the notification of the association of the message, the method further includes:
所述 DRA删除所述 DRA绑定中与所述第一策略服务器触发所述第二 策略服务器建立所述第一策略控制会话的消息的关联关系。  And the DRA deletes an association relationship between the DRA binding and the message that the first policy server triggers the second policy server to establish the first policy control session.
3、根据权利要求 2所述的方法,其特征在于,所述 DRA删除所述 DRA 绑定中与所述第一策略服务器触发所述第二策略服务器建立所述第一策略 控制会话的消息的关联关系后, 所述方法还包括:  The method according to claim 2, wherein the DRA deletes a message in the DRA binding that is triggered by the first policy server to trigger the second policy server to establish the first policy control session. After the association, the method further includes:
若 DRA绑定是每 IP连接接入网 IP-CAN会话的,并且 IP-CAN会话的 所有策略控制会话均终结时, 所述 DRA删除与所述 IP-CAN相关的 DRA 绑定; 或,  If the DRA binding is an IP-CAN session per IP connection access network, and all policy control sessions of the IP-CAN session are terminated, the DRA deletes the DRA binding associated with the IP-CAN; or
若 DRA绑定是每 UE的, 并且 UE的所有策略控制会话均终结时, 所 述 DRA删除与所述 UE相关的 DRA绑定。  If the DRA binding is per UE and all policy control sessions of the UE are terminated, the DRA deletes the DRA binding associated with the UE.
4、 根据权利要求 1所述的方法, 其特征在于, 所述第一策略服务器终 结与第二策略服务器的第一策略控制会话之前, 所述方法还包括:  The method according to claim 1, wherein before the first policy server terminates the first policy control session with the second policy server, the method further includes:
所述第一策略服务器向所述第二策略服务器发送所述触发消息, 触发 所述第二策略服务器创建第一策略控制会话。  The first policy server sends the trigger message to the second policy server, and triggers the second policy server to create a first policy control session.
5、 根据权利要求 4所述的方法, 其特征在于, 所述第一策略服务器向 所述第二策略服务器发送所述触发消息, 触发所述第二策略服务器创建所 述第一策略控制会话, 具体为: The method according to claim 4, wherein the first policy server is directed to The second policy server sends the trigger message, and the second policy server is triggered to create the first policy control session, specifically:
所述第一策略服务器接收到创建与所述第二策略服务器之间的第一策 略控制会话触发时, 通知所述 DRA在所述 DRA绑定中保存与所述第一策 略服务器触发所述第二策略服务器建立所述第一策略控制会话的消息的关 联关系;  When the first policy server receives the triggering of the first policy control session between the creation and the second policy server, notifying the DRA that the DRA is saved in the DRA binding and triggering the first policy server Establishing, by the second policy server, an association relationship of the message of the first policy control session;
所述第一策略服务器通过所述触发器消息通知所述第二策略服务器创 建第一策略控制会话;  The first policy server notifies the second policy server to create a first policy control session by using the trigger message;
所述第一策略服务器终结与第二策略服务器的第一策略控制会话时, 通知所述 DRA删除所述 DRA绑定中与所述第一策略服务器触发所述第二 策略服务器建立所述第一策略控制会话的消息的关联关系, 为:  When the first policy server terminates the first policy control session with the second policy server, the DRA is notified to delete the DRA binding, and the first policy server triggers the second policy server to establish the first The relationship of the policy control session messages is:
所述第一策略服务器接收到终结与所第二策略服务器之间的第一策略 控制会话触发时, 通知所述第二策略服务器终结第一策略控制会话;  Notifying the second policy server to terminate the first policy control session when the first policy server receives the triggering of the first policy control session between the termination and the second policy server;
第一策略控制会话终结后,所述第一策略服务器通知所述 DRA删除所 述 DRA绑定中与所述第一策略服务器触发器所述第二策略服务器建立所述 第一策略控制会话的消息的关联关系。  After the first policy control session is terminated, the first policy server notifies the DRA to delete the message that the first policy control session is established with the second policy server of the first policy server trigger in the DRA binding. Relationship.
6、 根据权利要求 1至 5任一项所述的方法, 其特征在于, 所述第一策 略服务器为策略和计费规则功能 PCRF,所述第二策略服务器为宽带策略控 制功能 BPCF;  The method according to any one of claims 1 to 5, wherein the first policy server is a policy and charging rule function PCRF, and the second policy server is a broadband policy control function BPCF;
或者, 所述第一策略服务器为 H-PCRF , 所述第二策略服务器为 V-PCRF。  Or the first policy server is an H-PCRF, and the second policy server is a V-PCRF.
7、 一种删除 Diameter路由代理中绑定信息的方法, 其特征在于, 所述 方法包括:  A method for deleting binding information in a Diameter routing proxy, the method comprising:
H-PCRF与 V-PCRF终结 S9会话时,所述 H-PCRF通知拜访地 Diameter 路由代理 V-DRA删除 DRA绑定; 或, H-PCRF 与 V-PCRF 终结 S9 会话中所有的所述 H-PCRF 请求所述 V-PCRF创建的子会话时,所述 H-PCRF通知 V-DRA删除所述 DRA绑定中 与所述 H-PCRF触发所述 V-PCRF建立所述 S9会话的消息的关联关系。 When the H-PCRF and the V-PCRF terminate the S9 session, the H-PCRF notifies the visited Diameter routing agent V-DRA to delete the DRA binding; or When the H-PCRF and the V-PCRF terminate all the H-PCRFs in the S9 session requesting the sub-session created by the V-PCRF, the H-PCRF notifies the V-DRA to delete the DRA binding and the H - The PCRF triggers the V-PCRF to establish an association relationship of the messages of the S9 session.
8、 根据权利要求 7所述的方法, 其特征在于,  8. The method of claim 7 wherein:
所述 H-PCRF在所述通知 V-DRA删除 DRA绑定的消息中携带与所述 H-PCRF触发所述 V-PCRF建立所述 S9会话的消息中相同的会话标识和 /或 请求建立会话标识信息; 或,  The H-PCRF carries the same session identifier and/or requests to establish a session in the message that the V-DRA deletes the DRA binding in the message that the H-PCRF triggers the V-PCRF to establish the S9 session. Identification information; or,
所述 H-PCRF在所述通知 V-DRA删除所述 DRA绑定中与所述 H-PCRF 触发所述 V-PCRF建立所述 S9会话的消息的关联关系的消息中携带与所述 H-PCRF触发所述 V-PCRF建立所述 S9会话的消息中相同的会话标识和 /或 请求建立会话标识信息。  And in the message that the H-PCRF is associated with the message that the H-PCRF triggers the V-PCRF to establish the S9 session, and the H-PCRF is carried in the message that the V-DRA is deleted in the DRA binding. The PCRF triggers the V-PCRF to establish the same session identifier in the message of the S9 session and/or request to establish session identification information.
9、 根据权利要求 8所述的方法, 其特征在于,  9. The method of claim 8 wherein:
所述请求建立会话标识信息为用户设备 UE接入宽带论坛 BBF接入网 的位置信息, 或是所述 H-PCRF分配的能够唯一区分的标识, 或是用户标 识 , 或是所述 UE的本地 IP地址 , 或是用户标识和 PDN标识。  The request to establish the session identification information is the location information of the user equipment UE accessing the broadband forum BBF access network, or the uniquely distinguishable identifier allocated by the H-PCRF, or the user identifier, or the locality of the UE IP address, or user ID and PDN ID.
10、 一种删除 Diameter路由代理中绑定信息的系统, 应用于通过 BBF 接入网接入 EPS的网络中, 所述系统包括第一策略服务器、 第二策略服务 器和 DRA, 其特征在于,  10. A system for deleting binding information in a Diameter routing agent, which is applied to a network that accesses an EPS through a BBF access network, where the system includes a first policy server, a second policy server, and a DRA, wherein
第一策略服务器, 用于在所述第一策略服务器终结与所述第二策略服 务器的第一策略控制会话时, 通知 Diameter路由代理 DRA删除 DRA绑定 中与所述第一策略服务器触发所述第二策略服务器建立所述第一策略控制 会话的消息的关联关系。  a first policy server, configured to: when the first policy server terminates the first policy control session with the second policy server, notify the Diameter routing agent that the DRA deletes the DRA binding and the first policy server triggers the The second policy server establishes an association relationship of messages of the first policy control session.
11、 根据权利要求 10所述的系统, 其特征在于, 所述 DRA接收所述 删除 DRA绑定中与所述第一策略服务器触发所述第二策略服务器建立所述 第一策略控制会话的消息的关联关系的通知后, 所述 DRA删除所述 DRA 绑定中与所述第一策略服务器触发所述第二策略服务器建立所述第一策略 控制会话的消息的关联关系。 The system according to claim 10, wherein the DRA receives a message that the first policy server triggers the second policy server to establish the first policy control session in the deleted DRA binding. After the notification of the association relationship, the DRA deletes the DRA An association relationship between the binding and the message that the first policy server triggers the second policy server to establish the first policy control session.
12、 根据权利要求 11所述的系统, 其特征在于, 所述 DRA删除所述 DRA绑定中与所述第一策略服务器触发所述第二策略服务器建立所述第一 策略控制会话的消息的关联关系后, 所述系统还包括:  The system according to claim 11, wherein the DRA deletes a message that the first policy server triggers the second policy server to establish the first policy control session in the DRA binding. After the association, the system further includes:
若 DRA绑定是每 IP-CAN会话的, 并且 IP-CAN会话的所有策略控制 会话均终结时, 所述 DRA进一步用于, 删除与所述 IP-CAN相关的 DRA 绑定; 或,  If the DRA binding is per IP-CAN session, and all policy control sessions of the IP-CAN session are terminated, the DRA is further used to delete the DRA binding associated with the IP-CAN; or
若 DRA绑定是每 UE的, 并且 UE的所有策略控制会话均终结时, 所 述 DRA进一步用于, 删除与所述 UE相关的 DRA绑定。  If the DRA binding is per UE, and all policy control sessions of the UE are terminated, the DRA is further used to delete the DRA binding associated with the UE.
13、 根据权利要求 10所述的系统, 其特征在于, 所述第一策略服务器 终结与第二策略服务器的第一策略控制会话之前,  13. The system according to claim 10, wherein before the first policy server terminates the first policy control session with the second policy server,
所述第一策略服务器进一步用于, 向所述第二服务器发送所述触发消 息, 通知所述第二策略服务器创建第一策略控制会话。  The first policy server is further configured to: send the trigger message to the second server, and notify the second policy server to create a first policy control session.
14、 根据权利要求 13所述的系统, 其特征在于, 所述第一策略服务器 进一步用于, 在接收到创建与所述第二策略服务器之间的第一策略控制会 话触发时, 通知所述 DRA在所述 DRA绑定中保存与所述第一策略服务器 触发所述第二策略服务器建立所述第一策略控制会话的消息的关联关系; 第一策略控制会话终结后, 所述第一策略服务器进一步用于, 通知所 述 DRA删除所述 DRA绑定中与所述第一策略服务器触发所述第二策略服 务器建立所述第一策略控制会话的消息的关联关系。  The system according to claim 13, wherein the first policy server is further configured to: notify the first policy control session trigger between the creation and the second policy server The DRA saves an association relationship between the message that the first policy server triggers the second policy server to establish the first policy control session in the DRA binding; after the first policy control session is terminated, the first policy is The server is further configured to: notify the DRA to delete an association relationship between the DRA binding and the message that the first policy server triggers the second policy server to establish the first policy control session.
15、 根据权利要求 10至 14任一项所述的系统, 其特征在于, 所述第 一策略服务器为 PCRF, 所述第二策略服务器为 BPCF;  The system according to any one of claims 10 to 14, wherein the first policy server is a PCRF, and the second policy server is a BPCF;
或者, 所述第一策略服务器为 H-PCRF , 所述第二策略服务器为 V-PCRF。 Or the first policy server is an H-PCRF, and the second policy server is a V-PCRF.
16、 一种删除 Diameter路由代理中绑定信息的系统, 应用于通过 BBF 接入网接入 EPS的网络中, 所述系统包括 H-PCRF、 V-PCRF, 其特征在于, 所述 H-PCRF, 用于在所述 H-PCRF与所述 V-PCRF终结 S9会话时, 所述 H-PCRF通知拜访地 Diameter路由代理 V-DRA删除 DRA绑定; 或, 用于在所述 H-PCRF与所述 V-PCRF终结 S9会话中所有的所述 H-PCRF 请求所述 V-PCRF 创建的子会话时, 通知 V-DRA删除 DRA 绑定中与 H-PCRF触发所述 V-PCRF建立所述 S9会话的消息的关联关系。 A system for deleting binding information in a Diameter routing agent, which is applied to a network that accesses an EPS through a BBF access network, the system comprising an H-PCRF and a V-PCRF, wherein the H-PCRF And, when the H-PCRF terminates the S9 session with the V-PCRF, the H-PCRF notifies the visited Diameter routing agent V-DRA to delete the DRA binding; or, is used in the H-PCRF and When the V-PCRF terminates all the H-PCRFs in the S9 session requesting the V-PCRF to create the sub-session, notifying the V-DRA to delete the DRA binding and the H-PCRF triggering the V-PCRF to establish the V-PCRF The association of messages in the S9 session.
17、 根据权利要求 16所述的系统, 其特征在于,  17. The system of claim 16 wherein:
所述 H-PCRF用于在所述通知 V-DRA删除 DRA绑定的消息中携带与 所述 H-PCRF触发所述 V-PCRF建立所述 S9会话的消息中相同的会话标识 和 /或请求建立会话标识信息; 或,  The H-PCRF is configured to carry the same session identifier and/or request in the message that the V-DRA deletes the DRA binding in the message that the H-PCRF triggers the V-PCRF to establish the S9 session. Establish session identification information; or,
所述 H-PCRF用于在所述通知 V-DRA删除所述 DRA绑定中与所述 H-PCRF触发所述 V-PCRF建立所述 S9会话的消息的关联关系的消息中携 带与所述 H-PCRF触发所述 V-PCRF建立所述 S9会话的消息中相同的会话 标识和 /或请求建立会话标识信息。  And the H-PCRF is configured to carry in the message that the association between the V-DRA and the message that the H-PCRF triggers the V-PCRF to establish the S9 session is deleted in the message that the V-DRA is deleted. The H-PCRF triggers the V-PCRF to establish the same session identifier in the message of the S9 session and/or request to establish session identification information.
18、 根据权利要求 17所述的系统, 其特征在于,  18. The system of claim 17 wherein:
所述请求建立会话标识信息为 UE接入 BBF接入网的位置信息, 或是 所述 H-PCRF 分配的能够唯一区分的标识, 或是用户标识, 或是所述 UE 的本地 IP地址, 或是用户标识和 PDN标识。  The request to establish session identification information is location information of the UE accessing the BBF access network, or a uniquely distinguishable identifier allocated by the H-PCRF, or a user identifier, or a local IP address of the UE, or Is the user ID and PDN ID.
19、 一种创建 Diameter路由代理中绑定信息的方法, 其特征在于, 所 述方法包括:  19. A method of creating binding information in a Diameter routing agent, the method comprising:
第一策略服务器接收到需要创建与第二策略服务器之间的第一策略控 制会话触发时, 向 DRA发送触发消息;  The first policy server sends a trigger message to the DRA when receiving the triggering of the first policy control session between the second policy server and the second policy server;
所述 DRA创建或更新 DRA绑定后, 在所述 DRA绑定中保存 DRA绑 定与所述触发消息的关联关系; 所述第二策略服务器接收到所述触发消息后, 向第一策略服务器发送 请求消息, 请求建立所述第一策略控制会话。 After the DRA creates or updates the DRA binding, the association between the DRA binding and the trigger message is saved in the DRA binding. After receiving the trigger message, the second policy server sends a request message to the first policy server to request to establish the first policy control session.
20、 根据权利要求 19所述的方法, 其特征在于, 所述触发消息携带会 话标识或携带不维持会话状态指示。  The method according to claim 19, wherein the trigger message carries a session identifier or carries an indication that the session state is not maintained.
21、 一种 H-PCRF, 其特征在于, 所述 H-PCRF, 用于在所述 H-PCRF 与所述 V-PCRF终结 S9会话时 , 通知拜访地 Diameter路由代理 V-DRA删 除 DRA绑定; 或,  An H-PCRF, wherein the H-PCRF is configured to notify the visited Diameter routing agent V-DRA to delete the DRA binding when the H-PCRF terminates the S9 session with the V-PCRF. ; or,
用于在所述 H-PCRF与所述 V-PCRF终结 S9会话中所有的所述 H-PCRF 请求所述 V-PCRF 创建的子会话时, 通知 V-DRA删除 DRA 绑定中与 H-PCRF触发所述 V-PCRF建立所述 S9会话的消息的关联关系。  Used to notify the V-DRA to delete the DRA binding and the H-PCRF when all of the H-PCRFs request the V-PCRF to create a sub-session in the H-PCRF and the V-PCRF-terminating S9 session. The association relationship of the message that triggers the V-PCRF to establish the S9 session.
PCT/CN2012/071637 2011-03-21 2012-02-24 Method and system for creating and deleting binding information in diameter routing agent, h-pcrf WO2012126311A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201110068305.2 2011-03-21
CN201110068305 2011-03-21
CN2012100359871A CN102694841A (en) 2011-03-21 2012-02-08 Method and system for deleting binding information in Diameter routing agent
CN201210035987.1 2012-02-08

Publications (1)

Publication Number Publication Date
WO2012126311A1 true WO2012126311A1 (en) 2012-09-27

Family

ID=46860124

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/071637 WO2012126311A1 (en) 2011-03-21 2012-02-24 Method and system for creating and deleting binding information in diameter routing agent, h-pcrf

Country Status (2)

Country Link
CN (1) CN102694841A (en)
WO (1) WO2012126311A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11039501B2 (en) * 2016-11-08 2021-06-15 Huawei Technologies Co., Ltd. Converged controller selection method, device, and converged controller selection system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302638B (en) * 2016-07-27 2020-02-14 华为技术有限公司 Data management method, forwarding equipment and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101541100A (en) * 2008-03-17 2009-09-23 华为技术有限公司 Method and device for deleting strategy session
CN101583114A (en) * 2008-09-23 2009-11-18 中兴通讯股份有限公司 Providing method of user equipment (UE) IP address and Diameter routing agent

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217383A (en) * 2008-01-04 2008-07-09 中兴通讯股份有限公司 A deletion method of functional association relation of strategy and charging rules
CN101483584B (en) * 2008-01-07 2011-11-02 华为技术有限公司 Method and apparatus for policy and charging rule functional entity information maintenance
CN101646149B (en) * 2008-08-07 2012-09-05 中兴通讯股份有限公司 Method for deleting session messages in DRA

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101541100A (en) * 2008-03-17 2009-09-23 华为技术有限公司 Method and device for deleting strategy session
CN101583114A (en) * 2008-09-23 2009-11-18 中兴通讯股份有限公司 Providing method of user equipment (UE) IP address and Diameter routing agent

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11039501B2 (en) * 2016-11-08 2021-06-15 Huawei Technologies Co., Ltd. Converged controller selection method, device, and converged controller selection system

Also Published As

Publication number Publication date
CN102694841A (en) 2012-09-26

Similar Documents

Publication Publication Date Title
US9351325B2 (en) Policy control method and system for converged network
US8793396B2 (en) Method for deleting session information in DRA
US9094437B2 (en) System, policy nodes, and methods to perform policy provisioning of traffic offloaded at a fixed broadband network
US8849273B2 (en) Method and system for reporting fixed network access information
WO2010108356A1 (en) Charging method, system and reporting method for terminal accessing through multiple access networks
WO2009086734A1 (en) A method for selecting a policy and charging rules function entity in the non-roaming scenario
WO2011006317A1 (en) Method and system for deleting redundant information of home policy and charging rules function
WO2010121460A1 (en) Method for implementing limited policy and charging control and system thereof
WO2012058998A1 (en) Policy and charging control method supporting ip flow mobility in roaming scenario
WO2009135362A1 (en) Policy and charging control method for hiding topology of visited network
WO2009094837A1 (en) A method for selecting a policy and charging rules function server on a non-roaming scene
WO2010006491A1 (en) Method for sending down and installing event trigger
WO2011029289A1 (en) Method and system for transmitting a bearer control mode in roaming scenarios
WO2011063688A1 (en) Method and system for selecting policy and charging rules function entity
WO2012003760A1 (en) Method and system for information transmission
WO2012019507A1 (en) Policy control method and system for accessing fixed broadband access network
WO2014094488A1 (en) Charging policy method and device for roaming local service
WO2014107985A1 (en) Local roaming service online charging method, h-ocs and v-ocs
WO2014048197A1 (en) Method, system and device for user equipment to select visited public land mobile network
WO2011018020A1 (en) Method and system for controlling load balance of pcrf, and redirect dra
WO2011088702A1 (en) Method and system for controlling resources in full-service convergence network
WO2012129992A1 (en) Sponsored data connectivity processing method, and policy and charging rules function
WO2010118673A1 (en) Method, system and device for processing policy and charging control
WO2014048191A1 (en) Method and system for selecting vplmn and packet data network gateway
WO2012155774A1 (en) Method, system for establishing s9 sub-session, and policy and charging rules function

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

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

Country of ref document: EP

Kind code of ref document: A1