WO2016074224A1 - Method and apparatus for selecting policy and charging rules function - Google Patents

Method and apparatus for selecting policy and charging rules function Download PDF

Info

Publication number
WO2016074224A1
WO2016074224A1 PCT/CN2014/091129 CN2014091129W WO2016074224A1 WO 2016074224 A1 WO2016074224 A1 WO 2016074224A1 CN 2014091129 W CN2014091129 W CN 2014091129W WO 2016074224 A1 WO2016074224 A1 WO 2016074224A1
Authority
WO
WIPO (PCT)
Prior art keywords
pcrf
user equipment
address
group
identifier information
Prior art date
Application number
PCT/CN2014/091129
Other languages
French (fr)
Chinese (zh)
Inventor
吴义壮
时晓岩
张万强
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2014/091129 priority Critical patent/WO2016074224A1/en
Priority to CN201480083287.7A priority patent/CN107251483A/en
Publication of WO2016074224A1 publication Critical patent/WO2016074224A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for selecting a policy and charging rule function.
  • Machine Type Communications refers to network communication between one or more network elements without human intervention, such as traffic control and management, remote meter reading, remote monitoring, mobile payment, Location tracking, and applications such as medical monitoring.
  • MTC Machine Type Communications
  • a plurality of terminals having the same MTC application, the same location, or belonging to the same organization form a whole, referred to as a group, a group, or a group.
  • the network operator or user can manage or control the group as a whole.
  • the remote meter reading of the power industry can group all the electricity meters in a city into one group, and the network operator or the power industry user can group the group.
  • mobility management optimization, access management or policy control can be used to group.
  • the Policy and Charging Rule Function (PCRF) entity in the Policy Control and Charging (PCC) architecture includes policy control decisions and functions based on traffic data flow charging control.
  • the Policy and Charging Enforcement Function (PCEF) entity includes detection of service data flows, policy enforcement, and flow-based charging.
  • the PCRF entity provides PCEF entities with service data flow detection, gating, Quality of Service (QoS) based network control, and traffic data flow based traffic control.
  • QoS Quality of Service
  • a Diameter Routing Agent (DRA) entity selects a PCRF entity according to the identification information of the user. When different user equipments of the same group access the network, the DRA may select different PCRF entities for different user equipments.
  • network operator or user can manage or control multiple terminals or user equipments in a group to save management costs.
  • the invention provides a method and a device for selecting a PCRF, which can save network operator or user management cost.
  • the first aspect provides a policy and charging rule function PCRF selection method, which is characterized in that: the core network device obtains an IP address of the first PCRF, wherein the first PCRF is for serving the first user equipment. a PCRF, the first user equipment is a user equipment of a first one of the plurality of user equipments included in the group; the core network device receives the second identification information, where the second identification information is the Determining, by the core network device, the second user equipment is a user equipment included in the group according to the second identifier information or the third identifier information, where the third identifier information And the core network device triggers a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF.
  • the core network device after the core network device obtains the IP address of the first PCRF, the core network device, before receiving the second identifier information, further includes: the core network device storage Corresponding relationship between the IP address of the first PCRF and the third identifier information; the core network device triggering a session establishment process with the first PCRF for the second user equipment, including: the core network device Acquiring the IP address of the first PCRF according to the corresponding relationship, and triggering a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF.
  • the core network device triggers a session establishment process with the first PCRF for the second user equipment, including: Determining, by the core network device, that the first PCRF serves the second user equipment according to the corresponding relationship; and, according to the IP address of the first PCRF, the second use The user equipment triggers a session establishment process with the first PCRF.
  • the core network device stores a correspondence between an IP address of the first PCRF and the third identifier information
  • the core network device determines, according to the first identifier information and the stored subscription information of the first user equipment, that the first user equipment is a user equipment in the group, and the core network equipment storage station Corresponding relationship between the IP address of the first PCRF and the third identifier information.
  • the first to the third possible implementation manners in a fourth possible implementation manner, before the core network device stores the correspondence between the IP address of the first PCRF and the third identifier information, And the core network device receives the first identifier information and the third identifier information, where the first identifier information is used to identify the first user equipment; and the core network device stores an IP address of the first PCRF.
  • the user information database device determining, according to the first identifier information and the third identifier information, that the first user equipment is a user equipment in the group, The core network device stores a correspondence between an IP address of the first PCRF and the third identifier information.
  • the core network device is a user information database device; the core network device acquires an IP address of the first PCRF, including The user information database receives an IP address of the first PCRF sent by the first PCRF.
  • the first to the fifth possible implementation manners in the sixth possible implementation manner, the acquiring, by the core network device, the IP address of the first PCRF, the core network device receiving the first identifier information And the core network device selects the first PCRF for the first user equipment identified by the first identifier information, and acquires an IP address of the first PCRF.
  • the core network device is a policy and charging execution function PCEF; and the core network device acquires an IP of the first PCRF The address includes: the policy and the charging execution function receiving an IP address of the first PCRF sent by the DRA device, where the first PCRF is the first The PCRF selected by the user device.
  • the core network device is a policy and charging execution function PCEF
  • the core network device is the second user
  • the method further includes: the PCEF receiving an IP address of the second PCRF sent by the DRA device; the PCEF determining, according to the received third identifier information, the correspondence
  • the first PCRF is configured to serve the second user equipment, where the correspondence is a correspondence between an IP address of the first PCRF and the third identifier information stored by the PCEF;
  • the DRA device sends the IP address of the first PCRF, and the IP address of the first PCRF is used by the DRA device to update the IP address of the second PCRF to the IP address of the first PCRF.
  • the core network device when the core network device receives the second identification information, the core network device further receives the third And the core network device triggers a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF, where the core network device receives the Determining, by the third identifier information, the IP address of the first PCRF served by the second user equipment, and triggering the first user equipment with the first IP address according to the IP address of the first PCRF The session establishment process of the PCRF.
  • the core network device triggers a session establishment process with the first PCRF for the second user equipment, including Transmitting, by the core network device, a message including an IP address of the first PCRF to the second PCRF, the second PCRF redirecting the second user equipment to the first PCRF; or the core
  • the network device sends a message including the IP address of the first PCRF to the policy and charging execution function that is used by the second user equipment, and triggers a session establishment process with the first PCRF for the second user equipment;
  • the core network device sends a session establishment request to the first PCRF according to the IP address of the first PCRF, and triggers a session establishment procedure with the first PCRF for the second user equipment.
  • the core network device triggers a session establishment process with the first PCRF, And the core network device determines that the second user equipment is detached; and the core network device deletes the correspondence between the third identifier information and the identifier information of all user equipments in the group.
  • the second identification information is included in the core network device.
  • the core network device triggers a session establishment process with the first PCRF for the second user equipment After the core network device determines that all the user equipments in the group are detached, the corresponding relationship between the third identifier information and the IP address of the first PCRF is deleted; or the core network device And after receiving the request message for deleting the correspondence between the third identifier information and the IP address of the first PCRF, deleting the correspondence between the third identifier information and the IP address of the first PCRF.
  • the determining that the second user equipment is a user equipment included in the group includes: The stored subscription information of the second user equipment and the received identification information of the second user equipment, determining that the second user equipment is a user equipment included in the group; or according to the third identifier Determining, by the information, that the second user equipment is a user equipment included in the group; or determining, according to the second identifier information and the third identifier information, that the second user equipment belongs to the group.
  • a core network device comprising: a receiving unit, a sending unit, and a storage unit coupled to the processing unit, wherein: the processing unit is configured to acquire an IP address of the first PCRF, where The first PCRF is a PCRF serving the first user equipment, the first user equipment is a user equipment of a first one of the plurality of user equipments included in the group, and the receiving unit is configured to receive the first The second identifier information, wherein the second identifier information is the identifier information of the second user equipment, and the processing unit is further configured to determine the second user equipment according to the second identifier information or the third identifier information User equipment included in the group, where The third identifier information is identifier information for identifying the group; and triggering a session establishment procedure with the first PCRF for the second user equipment according to the IP address of the first PCRF.
  • the first PCRF is a PCRF serving the first user equipment
  • the first user equipment is a user equipment of a first one of the plurality of user equipments included in the group
  • the storage unit is configured to store a correspondence between an IP address of the first PCRF and the third identifier information, where the processing unit is configured to press
  • the method for establishing a session with the first PCRF is triggered by the second user equipment: obtaining an IP address of the first PCRF according to the correspondence, and according to the IP address of the first PCRF,
  • the second user equipment triggers a session establishment procedure with the first PCRF.
  • the processing unit is configured to trigger session establishment with the first PCRF for the second user equipment in the following manner a process of determining, by the first PCRF, the second user equipment to serve according to the corresponding relationship stored by the storage unit; and triggering, by the second user equipment, according to an IP address of the first PCRF The session establishment process of the first PCRF.
  • the storage unit is further configured to: store the subscription information of the first user equipment; Determining, according to the first identifier information and the subscription information stored by the storage unit, that the first user equipment is a user equipment in the group, and the IP address of the first PCRF and the first The correspondence of the three identification information is stored to the storage unit.
  • the receiving unit is further configured to receive the first identifier information and the third identifier information, where the first identifier information
  • the processing unit is further configured to: determine, according to the first identifier information and the third identifier information that are received by the receiving unit, that the first user equipment is the group The user equipment in the storage, stores the correspondence between the IP address of the first PCRF and the third identifier information to the storage unit.
  • the receiving unit is further configured to receive an IP of the first PCRF that is sent by the first PCRF An address; the IP address of the first PCRF acquired by the processing unit is received by the receiving unit.
  • the receiving unit is further configured to receive the first identifier information, where the processing unit is configured to obtain the following manner The IP address of the first PCRF: the first user equipment that is identified by the first identifier information received by the receiving unit, selects a first PCRF, and acquires an IP address of the first PCRF.
  • the receiving unit is further configured to receive an IP address of the first PCRF sent by the DRA device, where the a PCRF is a PCR entity selected by the DRA device for the first user equipment; an IP address of the first PCRF acquired by the processing unit is received by the receiving unit.
  • the receiving unit is further configured to: receive an IP address of a second PCRF sent by the DRA device; And determining, by the first PCRF, the second user equipment, according to the received third identifier information and the correspondence relationship, before the second user equipment triggers a session establishment process with the first PCRF, where And the corresponding relationship is a correspondence between the IP address of the first PCRF and the third identifier information, where the sending unit is configured to send an IP address of the first PCRF to the DRA device, where the The IP address of a PCRF is used by the DRA device to update the IP address of the second PCRF to the IP address of the first PCRF.
  • the processing unit is configured to And triggering, by the second user equipment, a session establishment process with the first PCRF, as follows: determining, according to the third identifier information and the correspondence relationship received by the receiving unit, that the second user equipment is served An IP address of a PCRF, and triggering a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF, where the corresponding relationship is stored in the storage unit The IP address of the first PCRF and the first The correspondence between the three identification information.
  • the processing unit is configured to trigger the second user equipment with the first PCRF in the following manner a session establishment process: the processing unit sends an IP address of the first PCRF to the second PCRF by using the sending unit, and triggers the second PCRF to redirect the second user equipment to the first PCRF Or the processing unit sends the IP address of the first PCRF to the PCEF serving the second user equipment by the sending unit, and triggers a session with the first PCRF for the second user equipment Establishing a process; or the processing unit sends a session establishment request to the first PCRF through the sending unit according to the IP address of the first PCRF, and triggers a session with the first PCRF for the second user equipment Establish a process.
  • the processing unit is further configured to trigger a session with the first PCRF for the second user equipment After the process is established, the second user equipment is determined to be detached; and the second identifier information is deleted from the correspondence between the third identifier information and the identifier information of all user equipments in the group.
  • the processing unit after the second user equipment triggers a session establishment process with the first PCRF, After determining that all user equipments in the group are detached, deleting the correspondence between the third identifier information and the IP address of the first PCRF; or receiving the deleting the third identifier information and the After the request message of the correspondence between the IP addresses of the first PCRFs, the correspondence between the third identifier information and the IP address of the first PCRF is deleted.
  • the processing unit is configured to determine, according to the manner, that the second user equipment is in the group The user equipment included: determining, according to the stored subscription information of the second user equipment and the received identification information of the second user equipment, that the second user equipment is a user equipment included in the group; or Determining, according to the third identifier information, that the second user equipment is in the group The user equipment included; or determining, according to the second identifier information and the third identifier information, that the second user equipment belongs to the group.
  • a method for selecting a policy and charging rule function PCRF includes: receiving an IP address of a PCRF sent by a serving gateway, and first identifier information, where the first identifier information is used by For identifying the first user equipment, the first user equipment is a user equipment included in the group, and the IP address is configured by the home subscriber server HSS or the home location register HLR for all user equipments in the group.
  • An IP address corresponding to the PCRF and transmitting the IP address and the first identification information to a Diameter Routing Agent DRA device, the IP address being used to trigger the first user equipment to correspond to the IP address
  • the session establishment process of the PCRF includes: receiving an IP address of a PCRF sent by a serving gateway, and first identifier information, where the first identifier information is used by For identifying the first user equipment, the first user equipment is a user equipment included in the group, and the IP address is configured by the home subscriber server HSS or the home location register HLR for all user equipments in the group.
  • the IP address of the PCRF is stored in the subscription information in the HSS or the HLR in association with the identification information of the group.
  • a device for selecting a policy and charging rule function PCRF comprising: a receiving unit and a sending unit coupled to the processing unit: the receiving unit is configured to receive the PCRF sent by the serving gateway The IP address and the first identifier information, wherein the first identifier information is used to identify the first user equipment, the first user equipment is a user equipment included in the group, and the IP address is a home subscriber server HSS or attribution An IP address corresponding to a PCRF configured for all user equipments in the group stored in the location register HLR; and the sending unit, configured to send the IP address and the first identifier information to a Diameter Routing Agent DRA device The IP address is used to trigger a session establishment procedure of the PCRF corresponding to the IP address for the first user equipment.
  • the IP address of the PCRF is stored in the subscription information in the HSS or the HLR in association with the identification information of the group.
  • a method for selecting a policy and charging rule function PCRF includes: receiving an IP address and first identification information of a PCRF sent by a policy and charging execution function PCEF, where The first identifier information is used to identify the first user equipment, where the first The user equipment is a user equipment included in the group, and the IP address is an IP address corresponding to a PCRF configured for all user equipments in the group stored in the home subscriber server HSS or the home location register HLR; and according to the PCRF The IP address triggers the process of establishing a connection between the policy and charging enforcement functions and the PCRF.
  • the IP address of the PCRF is stored in the subscription information in the HSS or the HLR in association with the identification information of the group, where the identifier information is used to identify the group.
  • Group identification information is used to identify the group.
  • a device for selecting a policy and charging rule function PCRF comprising: a receiving unit coupled to the processing unit: the receiving unit, configured to receive the policy and charging execution function PCEF The IP address of the PCRF and the first identifier information, where the first identifier information is used to identify the first user equipment, the first user equipment is a user equipment included in the group, and the IP address is a home subscriber server HSS Or the IP address corresponding to the PCRF configured in the home location register HLR for all the user equipments in the group; the processing unit, configured to trigger the policy and the charging execution function according to the IP address of the PCRF The PCRF establishes the process of the connection.
  • the IP address of the PCRF is stored in the subscription information in the HSS or the HLR in association with the identification information of the group, where the identifier information is used to identify the group.
  • Group identification information is used to identify the group.
  • the core network device obtains the IP address of the first PCRF, the core network device receives the second identifier information, and the core network device determines the second user according to the second identifier information or the third identifier information.
  • the device is a user equipment included in the group, and the core network device triggers a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF, thereby The network device determines that the second user equipment belongs to the group, and the core network device triggers the session establishment of the second user equipment with the first PCRF according to the IP address of the first PCRF, and therefore belongs to the same group.
  • the same PCRF was selected for different user devices.
  • FIG. 1 is a system architecture diagram of PCRF selection according to an embodiment of the present invention.
  • FIG. 2 is a PCRF selection method according to an embodiment of the present invention.
  • FIG. 3 is a structural diagram of a PCRF selection apparatus according to an embodiment of the present invention.
  • FIG. 4 is a signaling interaction diagram of a PCRF selection method based on a user information database according to an embodiment of the present invention.
  • FIG. 5 is a signaling interaction diagram of a proxy DRA-based PCRF selection method according to an embodiment of the present invention.
  • FIG. 6 is a signaling interaction diagram of a PCRF selection method based on a redirected DRA according to an embodiment of the present invention.
  • FIG. 7 is a signaling interaction diagram of a PCEF-based PCRF selection method according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a method for selecting a policy and charging rule function PCRF according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a device for selecting a policy and charging rule function PCRF according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a method for selecting a policy and charging rule function PCRF according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a device for selecting a policy and charging rule function PCRF according to an embodiment of the present invention.
  • FIG. 12 is a flowchart of obtaining an IP address of a group PCRF by a user equipment to an HSS according to an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of a PCRF selection method based on HSS and redirected DRA according to an embodiment of the present invention.
  • FIG. 14 is a PCRF selection method based on HSS and proxy DRA according to an embodiment of the present invention.
  • FIG. 1 is a system architecture of an embodiment of the present invention.
  • the system of the embodiment of the present invention mainly includes a policy and charging execution function, a PCRF entity, a DRA entity, a subscription attribute resource library device, or a user data resource library device.
  • the policy and charging enforcement functions have the detection of service data flows, policy enforcement, and flow-based charging functions.
  • the policy and charging execution function may be a module located in the gateway, for example, a module in a Packet Data Network Gateway (PGW), or may be a separately deployed core network entity device.
  • PGW Packet Data Network Gateway
  • the function of the policy and the charging execution function includes executing the PCC policy delivered by the PCRF.
  • the PCRF mainly performs functions such as PCC decision and flow-based charging control.
  • the PCRF can be a physical device deployed in the core network.
  • the PCRF entity formulates a corresponding PCC policy according to the operator policy, the user subscription data, the current service information of the user, and local information.
  • the user subscription data can be obtained from a subscription profile repository (SPR) or a user data repository (UDR).
  • the current service information of the user can be obtained from the application function entity, and the local information can be obtained from the PCEF.
  • a PCC policy includes information such as detection rules of traffic data flows, gating states, QoS rules, and flow-based charging rules.
  • the service data flow is a classified set of IP flows for completing a service such as voice communication, and the gating state is permission/inhibition of packet data transmission.
  • the PCRF will eventually send the PCC policy to the PCEF, and the PCEF will execute the PCC policy.
  • DRA is divided into proxy DRA (Proxy DRA) and redirected DRA (Redirect DRA).
  • proxy DRA the session establishment message exchanged between the policy and the charging execution function (hereinafter referred to as PCEF/PGW) and the PCRF needs to pass through the proxy DRA.
  • PCEF/PGW policy and the charging execution function
  • the redirected DRA does not need to transmit the message between the policy and the charging execution function and the PCRF, and only needs to provide the PCRF information to the policy and charging execution function, for example, the IP address of the PCRF.
  • the billing execution function is directly communicated with the PCRF based on the IP address of the PCRF.
  • the user information database stores the subscription information or attributes of the user, interacts with the PCRF through the Sp interface, and provides user subscription information or attributes to the PCRF.
  • the user information database is a Subscription Profile Repository (SPR) or a User Data Repository (UDR).
  • the UE When the user equipment (UE) accesses the network, the UE sends an attach request to the base station, and the base station sends the attach request to the Mobility Management Entity (MME), and the MME sends a setup session request to the serving gateway (Serving Gateway).
  • MME Mobility Management Entity
  • SGW Serving Gateway
  • the SGW sends the setup session request to the PCEF/PGW, and the setup session request includes the UE identity.
  • the PCEF/PGW then sends an IP-CAN session setup request containing the UE identity to the DRA.
  • the DRA selects a PCRF for the UE to serve the UE according to the UE identity.
  • the policy and charging execution function directly sends an IP-CAN session establishment request (corresponding to redirecting the DRA) to the PCRF according to the IP address of the PCRF selected by the DRA for the UE, or the policy and charging execution function sends an IP to the DRA.
  • the DRA selects the PCRF according to the UE identity of the session request, and sends the received IP-CAN session request message to the PCRF (in the case of the corresponding proxy DRA).
  • the PCRF acquires the attributes of the UE from the user information database, and then the PCRF sends an IP-CAN session establishment response to the policy and charging execution function.
  • the UE establishes a session connection with the network, selects a PCRF for the UE according to the UE identity, and executes the PCC policy of the PCRF by the policy and charging execution function.
  • the user equipments belonging to the same group access the network, it is desirable for the user equipments belonging to the same group to be served by the same PCRF, so that different user equipments in the group can adopt the same policy or charging rule. Therefore, when different user equipments belonging to the same group use the same PCRF, the operator or device manager can manage the user equipment in the group more conveniently and effectively.
  • FIG. 2 is a flowchart of a method for selecting a PCRF according to an embodiment of the present invention.
  • the core network device obtains the IP address of the first PCRF.
  • the first PCRF is a PCRF serving the first user equipment, and the first user equipment is a plurality of user equipments included in the group.
  • the first user device to access the network.
  • the group described in the embodiment of the present invention may be that multiple user equipments having the same user attribute information are determined to belong to the same group, for example, user equipments having the same QoS are determined to be the same group; or, have the same The user equipments of the service type are determined to be the same group; or the user equipments accessing the unified access point are determined to be the same group.
  • the identifier information used to identify the group to which the UE-1 belongs may be the user attribute information, for example, may be QoS, or a service type, or an access point name (APN), etc. .
  • the group in the embodiment of the present invention may also be a group that is set up according to requirements, and the group is identified by a group identifier.
  • the network device establishes the identifier and location of the user equipment in the group.
  • the corresponding relationship between the group identifiers and the group to which the user equipment belongs can be determined according to the correspondence and the identifier of the user equipment.
  • the identifier information used to identify the group to which the UE-1 belongs may be the group identifier.
  • the group device in the embodiment of the present invention may further divide the user equipment of the same segment into a group, for example, divide the user equipment of the 18600 segment into a group.
  • the use The identification information identifying the group to which the UE-1 belongs may be the same number segment.
  • the group in the embodiment of the present invention may further divide users of the same company into one group.
  • the identifier information used to identify the group to which the UE-1 belongs may be the identifier information.
  • a group identifier may be set for the group, and the identifier information used to identify the group to which the UE-1 belongs may be the identifier information.
  • the same group may also be represented by a specific one or more bits in the identifier of the user equipment.
  • the core network device receives second identification information.
  • the second identifier information is identifier information of the second user equipment.
  • the core network device is further configured Receiving third identification information, where the third identification information is identification information used to identify the group.
  • the core network device determines, according to the second identifier information or the third identifier information, that the second user equipment is a user equipment included in the group.
  • the third identifier information is identifier information used to identify the group.
  • the core network device determines, according to the second identifier information and the subscription information of the second user equipment, that the second user equipment is the group.
  • the subscription information is stored in a user information database.
  • the user information database includes an SPR or a UDR. If the third identifier information is received in the step 22, the core network device may determine, according to the third identifier information, that the second user equipment is the user equipment included in the group.
  • the core network device triggers a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF.
  • the core network device obtains the IP address of the first PCRF, and the core network device receives the second identifier information, where the core network device determines the second user equipment according to the second identifier information or the third identifier information.
  • the core network device For the user equipment included in the group, the core network device triggers a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF, and thus, through the core network
  • the device determines that the second user equipment belongs to the group, and the core network device triggers the session establishment of the second user equipment and the first PCRF according to the IP address of the first PCRF, and therefore, belongs to the same group.
  • the same PCRF is selected for the user equipment.
  • the method further includes: the core network device storing the IP address of the first PCRF Corresponding relationship between the address and the third identifier information; the core network device triggering a session establishment process with the first PCRF for the second user equipment, where the core network device obtains the location according to the correspondence relationship An IP address of the first PCRF, and triggering a session establishment flow with the first PCRF for the second user equipment according to the IP address of the first PCRF Cheng.
  • the IP address of the PCRF storing the group user equipment serving the first access network includes the IP of the PCRF of the group user equipment serving the first access network. The address is stored in association with the identification information of the group.
  • the core network device triggers a session establishment process with the first PCRF for the second user equipment, where the core network device determines, according to the correspondence, that the a PCRF serving the second user equipment; and triggering a session establishment procedure with the first PCRF for the second user equipment according to the IP address of the first PCRF.
  • the core network device stores the correspondence between the IP address of the first PCRF and the third identifier information, including: the core network device according to the first identifier information and the stored The subscription information of the first user equipment determines that the first user equipment is a user equipment in the group, and the core network equipment stores a correspondence between an IP address of the first PCRF and the third identifier information. .
  • the access network after obtaining the IP address of the PCRF of the user equipment serving the access network, determining whether to store the IP address of the PCRF serving any one of the user equipments to which the user equipment belongs, if not And storing the IP address of the PCRF of the user equipment of the user equipment group, and determining that the user equipment is the user equipment of the first access network of the group, that is, the group user equipment of the first access network, Then storing the IP address of the PCRF of the group user equipment serving the first access network, and preferably storing the correspondence between the IP address of the PCRF and the third identifier.
  • the IP address of the PCRF of the user equipment of the group to which the user equipment belongs is stored, it is determined that the user equipment of the access network is not the user equipment of the first access network of the group to which the user equipment belongs, where In this case, it is not necessary to store the IP address of the PCRF of the user equipment serving the access network.
  • the method before the core network device stores the correspondence between the IP address of the first PCRF and the third identifier information, the method further includes: the core network device receiving the first identifier information and the third Identification information, where the first identification information is used to identify the first user equipment.
  • the receiving, by the core network device, the first identifier information and the third identifier information may be received in the same step, or may be separately received in different steps.
  • the core network device stores the first
  • the mapping between the IP address of the PCRF and the third identifier information includes: determining, by the user information database device, that the first user equipment is in the group according to the first identifier information and the third identifier information
  • the user equipment stores a correspondence between an IP address of the first PCRF and the third identifier information.
  • the user information database device may determine the identification information of the group to which the first user equipment belongs according to the first identifier information and the subscription information of the user equipment, and according to the third identifier information and the group to which the first user equipment belongs The identification information determines that the first user equipment is a user equipment in the group.
  • the core network device is a user information database device, and the core network device acquires an IP address of the first PCRF, where the user information database receives the first The IP address of a PCRF.
  • the acquiring, by the core network device, the IP address of the first PCRF, the core network device receiving the first identifier information, and the core network device identifying the first identifier information The first user equipment selects a first PCRF and acquires an IP address of the first PCRF.
  • the core network device is a policy and charging execution function PCEF; the core network device acquires an IP address of the first PCRF, and the method includes: the policy and the charging execution function are sent by the DRA device.
  • the core network device is a policy and charging execution function PCEF
  • the core network device before the second user equipment triggers a session establishment process with the first PCRF, further includes: Receiving, by the PCEF, an IP address of a second PCRF sent by the DRA device, where the PCEF determines, according to the received third identifier information and the correspondence, that the first PCRF serves the second user equipment, where the Corresponding relationship is the correspondence between the IP address of the first PCRF and the third identifier information stored by the PCEF; the PCEF sends the IP address of the first PCRF to the DRA device, the first PCRF The IP address is used by the DRA device to update the IP address of the second PCRF to the IP address of the first PCRF.
  • PCEF Policy and charging execution function
  • the core network device when the core network device receives the second identifier information, the core network device further receives the third identifier information, where the core network device is configured according to the IP address of the first PCRF. And the second user equipment triggers a session establishment process with the first PCRF, where the core network device determines, according to the received third identifier information and the corresponding relationship, that the second user equipment serves the first An IP address of the PCRF, and triggering a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF.
  • the core network device triggers a session establishment process with the first PCRF for the second user equipment, where the core network device sends the second PCRF to the second PCRF. a message of an IP address of a PCRF, the second PCRF redirecting the second user equipment to the first PCRF; or the core network device performing a policy and charging for serving the second user equipment
  • the function sends a message including the IP address of the first PCRF, triggering a session establishment procedure with the first PCRF for the second user equipment; or the core network device according to the IP address of the first PCRF
  • the first PCRF sends a session establishment request, and triggers a session establishment process with the first PCRF for the second user equipment.
  • the core network device after the second user equipment triggers a session establishment process with the first PCRF, further includes: the core network device determining that the second user equipment is detached And deleting, by the core network device, the second identifier information from a correspondence between the third identifier information and the identifier information of all user equipments in the group.
  • the core network device further includes: determining, by the core network device, all user devices in the group After the detachment, the corresponding relationship between the third identifier information and the IP address of the first PCRF is deleted; or the core network device receives the third identifier information and the IP address of the first PCRF. After the request message of the corresponding relationship, the correspondence between the third identifier information and the IP address of the first PCRF is deleted.
  • the determining that the second user equipment is a user equipment included in the group includes: according to the stored subscription information of the second user equipment, and the received Determining, by the second user equipment, the user equipment that is included in the group, or determining, according to the third identifier information, that the second user equipment is the user equipment included in the group Or determining, according to the second identifier information and the third identifier information, that the second user equipment belongs to the group.
  • FIG. 3 is a core network device according to an embodiment of the present invention, where the core network device is used to perform the PCRF selection method in the embodiment of FIG. 2.
  • This device includes a receiving unit 302, a transmitting unit 303, and a storage unit 304 coupled to the processing unit 301.
  • the processing unit 301 is configured to obtain an IP address of the first PCRF.
  • the first PCRF is a PCRF serving the first user equipment
  • the first user equipment is a user equipment that is the first one of the plurality of user equipments included in the group.
  • the definition of the group in this embodiment is the same as that in the embodiment of FIG. 3 and will not be described again.
  • the receiving unit 302 is configured to receive second identifier information, where the second identifier information is identifier information of the second user equipment;
  • the processing unit 301 is further configured to determine, according to the second identifier information or the third identifier information, that the second user equipment is a user equipment that is included in the group, where the third identifier information is used for identifier Identification information of the group;
  • the core network device obtains the IP address of the first PCRF, and the core network device receives the second identifier information, where the core network device determines, according to the second identifier information or the third identifier information, that the second user equipment is the group a user equipment that is included in the group, the core network device triggers a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF, and thus, the core network device determines the The second user equipment belongs to the group, and the core network device triggers the session establishment of the second user equipment and the first PCRF according to the IP address of the first PCRF. Therefore, different user equipments belonging to the same group are selected. The same PCRF.
  • the storage unit is configured to store an IP address of the first PCRF Corresponding relationship between the address and the third identifier information; the processing unit is configured to trigger a session establishment process with the first PCRF for the second user equipment as follows: acquiring the first according to the correspondence relationship An IP address of a PCRF, and triggering a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF.
  • the processing unit is configured to trigger a session establishment process with the first PCRF for the second user equipment according to the following manner: determining, according to the correspondence stored by the storage unit, Serving the second user equipment by the first PCRF; and triggering a session establishment procedure with the first PCRF for the second user equipment according to the IP address of the first PCRF.
  • the storage unit is further configured to: store the subscription information of the first user equipment; the processing unit is further configured to: according to the first identification information and the storage unit of the storage unit The signing information determines that the first user equipment is a user equipment in the group, and stores a correspondence between an IP address of the first PCRF and the third identifier information to the storage unit.
  • the receiving unit is further configured to receive the first identifier information and the third identifier information, where the first identifier information is used to identify the first user equipment; Determining, according to the first identifier information and the third identifier information that are received by the receiving unit, that the first user equipment is a user equipment in the group, and the IP address of the first PCRF and the A correspondence relationship of the third identification information is stored to the storage unit.
  • the receiving unit is further configured to: receive an IP address of the first PCRF sent by the first PCRF; the IP address of the first PCRF obtained by the processing unit is the Received by the receiving unit.
  • the receiving unit is further configured to: receive the first identifier information; the processing unit is configured to acquire an IP address of the first PCRF in a manner that is received by the receiving unit The first user equipment that is identified by the first identifier information selects the first PCRF and acquires an IP address of the first PCRF.
  • the receiving unit is further configured to receive the first sent by the DRA device.
  • the IP address of the PCRF wherein the first PCRF is a PCR entity selected by the DRA device for the first user equipment; the IP address of the first PCRF obtained by the processing unit is received by the receiving unit .
  • the receiving unit is further configured to: receive an IP address of the second PCRF sent by the DRA device; the processing unit is further configured to trigger the first PCRF with the second user equipment Before the session establishment process, determining, by the first PCRF, the second user equipment, according to the received third identifier information and the correspondence, wherein the correspondence is an IP address of the first PCRF and the Corresponding relationship of the third identifier information; the sending unit, configured to send an IP address of the first PCRF to the DRA device, where an IP address of the first PCRF is used by the DRA device to use the second PCRF The IP address is updated to the IP address of the first PCRF.
  • the processing unit is configured to trigger the first user equipment with the first PCRF as follows: a session establishment process: determining, according to the third identifier information and the correspondence relationship received by the receiving unit, an IP address of a first PCRF served by the second user equipment, and according to an IP address of the first PCRF, And triggering, by the second user equipment, a session establishment process with the first PCRF, where the corresponding relationship is a correspondence between an IP address of the first PCRF and the third identifier information stored in the storage unit. relationship.
  • the processing unit is configured to trigger a session establishment process with the first PCRF for the second user equipment in the following manner: the processing unit sends the Transmitting, by the second PCRF, an IP address of the first PCRF, and triggering, by the second PCRF, a process of redirecting the second user equipment to the first PCRF; or The PCEF served by the second user equipment sends the IP address of the first PCRF, triggers a session establishment procedure with the first PCRF for the second user equipment, or the processing unit according to the IP address of the first PCRF And sending, by the sending unit, a session establishment request to the first PCRF, and triggering, by the second user equipment, a session establishment procedure with the first PCRF.
  • the processing unit is further configured to: after the second user equipment triggers a session establishment process with the first PCRF, determine that the second user equipment is detached; The second identifier information is deleted from the correspondence between the third identifier information and the identifier information of all the user equipments in the group.
  • the processing unit after the second user equipment triggers a session establishment process with the first PCRF, deletes the first after determining that all user equipments in the group are detached. Corresponding relationship between the third identifier information and the IP address of the first PCRF; or deleting the third message after receiving the request message for deleting the correspondence between the third identifier information and the IP address of the first PCRF Correspondence between the identification information and the IP address of the first PCRF.
  • the processing unit is configured to determine, according to the manner, that the second user equipment is a user equipment included in the group: according to the stored subscription information and the second user equipment Determining, by the identifier information of the second user equipment, the second user equipment is a user equipment included in the group; or determining, according to the third identifier information, that the second user equipment is the group The user equipment included in the network device; or determining, according to the second identifier information and the third identifier information, that the second user equipment belongs to the group.
  • the processing unit 301 can be a processor.
  • the processor may be specifically a baseband processor, a digital signal processor (DSP), a Field Programmable Gata Array (FPGA), or a Central Processing Unit (CPU).
  • DSP digital signal processor
  • FPGA Field Programmable Gata Array
  • CPU Central Processing Unit
  • the receiving unit 302 can be a receiver, and the sending unit 303 can be a transmitter.
  • the receiving unit 302 and the transmitting unit 303 can also be implemented by a transceiver.
  • the receiver, transmitter and transceiver may be radio frequency circuits or comprise a combination of the processor and radio frequency circuits.
  • the apparatus provided in the embodiment of FIG. 3 may include a processor and a receiver, where the processor is configured to acquire an IP address of the first PCRF, where the first PCRF is a first user.
  • the receiver is configured to receive second identification information, where The second identifier information is identifier information of the second user equipment.
  • the processor is further configured to determine, according to the second identifier information or the third identifier information, that the second user equipment is a user equipment that is included in the group, where the third identifier information is used to identify the Identification information of the group; and triggering a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF
  • SPR Subscriber Profile Repository
  • UDR User Data Repository
  • the policy and charging execution function 1 receives an attach request message regarding UE-1, wherein the attach request message includes an identifier of UE-1.
  • the policy and charging execution function 1 may be a separately deployed PCEF entity, or may be a PCEF-enabled functional module deployed on another network entity, such as a PGW.
  • the attach message may further include identifier information used to identify the group.
  • the identifier of UE-1 is used to identify UE-1.
  • the identifier of the UE-1 may be an International Mobile Subscriber Identity (IMSI) or an IP address of the UE-1.
  • IMSI International Mobile Subscriber Identity
  • IP address IP address
  • the group described in the embodiment of the present invention may be that multiple user equipments having the same user attribute information are determined to belong to the same group, for example, user equipments having the same QoS are determined to be the same group; or The user equipments having the same service type are determined to be the same group; or the user equipments accessing the unified access point are determined to be the same group.
  • the identifier information used to identify the group to which the UE-1 belongs may be the user attribute information, for example, may be QoS, or a service type, or an access point name (APN), etc. .
  • the group in the embodiment of the present invention may also be a group that is set up according to requirements, and the group is identified by a group identifier.
  • the network device establishes the label of the user equipment in the group.
  • the corresponding relationship between the identifier and the group identifier is determined, and the group to which the user equipment belongs can be determined according to the correspondence and the identifier of the user equipment.
  • the identifier information used to identify the group to which the UE-1 belongs may be the group identifier.
  • the group device in the embodiment of the present invention may further divide the user equipment of the same segment into a group, for example, divide the user equipment of the 18600 segment into a group.
  • the use The identification information identifying the group to which the UE-1 belongs may be the same number segment.
  • the group in the embodiment of the present invention may further divide users of the same company into one group.
  • the identifier information used to identify the group to which the UE-1 belongs may be the identifier information.
  • a group identifier may be set for the group, and the identifier information used to identify the group to which the UE-1 belongs may be the identifier information.
  • the same group may also be represented by a specific one or more bits in the identifier of the user equipment.
  • the identifier information used to identify the group to which the UE-1 belongs may be an identifier of the group, or attribute information of the group.
  • the Policy and Charging Enforcement Function 1 sends an IP-CAN Session Establishment Request message to the DRA.
  • the DRA selects PCRF-1 for UE-1 according to the identity of UE-1.
  • the DRA may send the IP-CAN Session Setup Request message to PCRF-1.
  • the IP-CAN session establishment request message includes a UE-1 identifier.
  • the DRA may select PCRF-1 for the UE-1 according to the IP address of the IMSI or UE-1. For example, the DRA selects PCRF-1 for UE-1 based on the number segment of the IP address of UE-1.
  • the IP-CAN session establishment request message further includes a group identifier of the group to which the UE-1 belongs.
  • PCRF-1 sends an attribute request message to the user information database.
  • the attribute request message includes an IP address of the PCRF-1 and an identifier of the UE-1.
  • the attribute request message includes the IP address of the PCRF-1 and the identifier of the UE-1, so that the user information database provides the attribute information of the UE-1 to the PCRF-1 according to the identifier of the UE-1.
  • the attribute request message further includes identifier information of a group to which the UE-1 belongs.
  • the user information database After the user information database receives the profile request message sent by the PCRF-1, the user information database stores the IP address of the group PCRF.
  • the user information database includes an SPR or a UDR.
  • the user information database determines that the user information database does not store the IP address of the PCRF serving any user equipment of the group.
  • the UE-1 may be regarded as The first user of the group accesses the user equipment of the network, and the user information database stores the IP address of the PCRF-1.
  • the user information database stores the correspondence between the identifier information used to identify the group to which the UE-1 belongs and the IP address of the PCRF-1. In this way, after the second user equipment of the group accesses the network, the user information database can determine the PCRF1 as the second user according to the correspondence and the identifier information used to identify the group to which the UE-1 belongs.
  • PCRF for device services. For example, ⁇ identification information, IP address of PCRF-1> can be stored.
  • the identifier information may be obtained by using the identifier of the UE-1 in the attribute request message of step 403.
  • the subscription information includes the attribute information that can determine that the UE-1 is the user equipment in the group, because the subscription information of the user equipment is stored in the user information database.
  • the subscription information includes user identification allowed by the user, priority between the service, QoS, charging related information, user category, IP multimedia subsystem signaling priority, and at least one of the group identifiers. Attribute information. Therefore, the user information database may obtain the identification information for identifying the group to which the UE-1 belongs according to the identifier of the UE-1 and the subscription information of the UE-1.
  • the subscription information is stored in the user information database after the user signs a service contract with the operator.
  • the identifier information of the group may be further included in the attribute request message of step 403, where the user information database obtains the identifier information from the attribute request message.
  • the user information database sends a profile response message to the PCRF-1.
  • the attribute response message includes attribute information of the user equipment.
  • the PCRF-1 can obtain the attribute information of the user equipment, so that the PCRF-1 serves the user equipment.
  • the attribute information includes a service identifier (service ID) allowed by the user, priority between services, QoS, charging related information, user category, or IP multimedia subsystem (IMS) signaling. At least one of the priorities.
  • PCRF-1 stores attribute information.
  • PCRF-1 sends an IP-CAN session setup response to the Policy and Charging Enforcement Function 1.
  • the policy and charging enforcement function 2 is selected to provide services for the UE-2, and the policy and charging enforcement function 2 receives the attachment request message of the UE-2.
  • the attach request message includes an identifier of the UE-2.
  • the attach message may further include identifier information used to identify a group to which the UE-2 belongs.
  • the policy and charging execution function 2 may be a separately deployed PCEF entity, or may be a PCEF-enabled functional module deployed on another device, such as a PGW.
  • the policy and charging enforcement function 1 for UE-1 and the policy and charging enforcement function 2 for UE-2 may be the same policy and charging execution function.
  • PCEF-2/PGW-2 sends an IP-CAN Session Setup Request message to the DRA.
  • the DRA selects PCRF-2 for UE-2 according to the identity of UE-2.
  • the DRA may send the IP-CAN Session Setup Request message to PCRF-2.
  • the IP-CAN session establishment request message includes a UE-2 identifier.
  • the DRA may select the PCRF-2 for the UE-2 according to the identifier of the UE-2. For details, refer to the description of UE-1 above. .
  • the IP-CAN session establishment request message further includes a group identifier of the group to which the UE-2 belongs.
  • PCRF-2 sends an attribute request message to the user information database.
  • the attribute request message includes an IP address of the PCRF-2 and an identifier of the UE-2.
  • the attribute request message further includes identification information of a group to which the UE-2 belongs.
  • the user information database determines that the UE-2 belongs to the group according to the identifier of the UE-2 and/or the identifier information used to identify the group to which the UE-2 belongs, and determines that the PCRF-1 serves the UE-2.
  • the user information database may determine that the UE-2 belongs to the group according to the identifier of the UE-2 included in the attribute request message sent by the PCRF-2 and the subscription information of the UE-2 stored in the user information database.
  • the PCRF-1 corresponding to the IP address of the PCRF-1 is determined to be a UE-2 service.
  • the user information database may determine the UE according to the identifier information. -2 belongs to the group. Further, the user information database determines that the PCRF-1 serves the UE-2 according to the stored correspondence information for identifying the identity information of the group to which the UE-1 belongs and the IP address of the PCRF-1.
  • the user information database sends an attribute response message to PCRF-2.
  • the attribute response message includes an IP address of the PCRF-2.
  • the user information database determines that the UE-2 belongs to the group in step 411, the user information database includes the IP address of the PCRF-1 in the attribute response message sent to the PCRF-2.
  • step 409 the DRA selects PCRF-2 for UE-2 according to the identity of UE-2, but through step 411, the user information database determines that PCRF-1 serves UE-2, ie UE-2 and UE-1. Both will be served by PCRF-1, therefore, the IP address of PCRF-1 is sent to PCRF-2 in step 412, facilitating PCRF-2 to redirect the UE-2 to PCRF-1. In this way, different user equipments UE-1 and UE-2 belonging to the same group are selected to the same PCRF-1.
  • the user information database obtains the IP of the PCRF-1 according to the stored correspondence information for identifying the identity information of the group to which the UE-1 belongs and the IP address of the PCRF-1. After the address, the IP address of the PCRF-1 and the IP address of the PCRF-2 received in step 411 are determined to be the same. If not, the IP address of the PCRF-2 is sent to the PCRF-2 through the attribute response message. . If they are the same, the user information database may no longer perform the subsequent steps. Of course, determining the IP address of the PCRF-1 in the user information database In the case where the IP address of the PCRF-2 received in step 411 is the same, the subsequent steps may be continued, which is not limited in the embodiment of the present invention.
  • the user information database in the embodiment of the present invention may not perform the step of determining whether the IP address of the PCRF-1 and the IP address of the PCRF-2 received in step 411 are the same, but directly performing step 412.
  • the PCRF-2 After receiving the attribute response message containing the IP address of the PCRF-1, the PCRF-2 determines that the IP-2 CAN session of the UE-2 needs to be redirected to the PCRF-1.
  • the PCRF-2 After receiving the attribute response information sent by the user information database, the PCRF-2 finds that the attribute response information includes the IP address of the PCRF-1, and determines that the IP-2 CAN session of the UE-2 needs to be redirected to the PCRF- 1.
  • PCRF-2 sends a redirect message to the Policy and Charging Enforcement Function 2.
  • the redirect message includes an IP address of the PCRF-1.
  • the policy and charging execution function 2 initiates an IP address update procedure of the PCRF-1 to the DRA after receiving the redirect message including the IP address of the PCRF-1.
  • the DRA updates the PCRF-2 serving UE-2 to PCRF-1.
  • the Policy and Charging Execution Function 2 sends an IP-CAN Session Establishment Request to the PCRF-1 based on the IP address of the updated PCRF-1.
  • PCRF-1 sends an attribute request message to the user information database.
  • the user information database sends an attribute response message to the PCRF-1.
  • the attribute response includes user equipment attribute information of the UE-2.
  • the PCRF-1 sends an IP-CAN Session Setup Response message to the Policy and Charging Enforcement Function 2.
  • PCRF-1 determines that all user equipments in the group are detached, PCRF-1 sends a request message to delete the IP address of the PCRF-1 to the user information database.
  • the PCRF-1 may store the identifiers of all the user equipments belonging to the group and the correspondence information for identifying the identity information of the group.
  • the PCRF saves the identity of the user equipment.
  • the PCRF-1 determines that a user equipment is detached, the PCRF-1 deletes the identity of the detached user equipment in the correspondence.
  • the identifiers of all user equipments in the corresponding relationship are deleted, all user equipments belonging to the group are considered to have been detached.
  • the identifier information in the PCRF-1 may be the identifier information carried in the IP-CAN session establishment request, or may be the identifier information included in the attribute response message sent by the user information database to the PCRF-1.
  • the user information database After receiving the IP address request message for deleting the PCRF-1, the user information database deletes the IP address of the PCRF-1, and sends a response to the PCRF-1 to delete the IP address of the PCRF-1.
  • the user information database after the user information database determines that all the user equipments belonging to the group are attached, the user information database deletes the IP address of the PCRF-1. In this case, steps 420 and 421 are not required.
  • the user information database may store the user equipment identifiers belonging to a group, and form the user equipment identifier into a list and attach the identification information of the group, so that the identifier information includes the group belonging to the group.
  • User device ID After a user equipment is detached, the user information database deletes the user equipment identifier included in the group identifier. When there is no user equipment identifier in the list, all group user equipments belonging to the group are considered to be from the network. Attached.
  • FIG. 5 is a method for selecting a PCRF based on a proxy DRA, and the specific process is as follows:
  • the policy and charging execution function 1 receives the attach request message of the UE-1.
  • the policy and charging execution function 1 may be a separately deployed PCEF entity, or may be a functional module with PCEF function deployed on, for example, a PGW.
  • the attach request message includes the identifier of the UE-1 and the identifier information of the group to which the UE-1 belongs.
  • the user equipments that are the same group are determined according to the same attribute, for example, the user equipments with the same QoS are determined to be the same group; or the user equipments with the same service type are determined to be the same group.
  • a group may be temporarily set up according to requirements, and the group is identified by a group identifier.
  • a correspondence between the identifier of the user equipment in the group and the group identifier is established, and the group to which the user equipment belongs is determined according to the correspondence and the identifier of the user equipment.
  • a specific one or more bits in the identifier of the user equipment represent the same group.
  • the identifier of UE-1 is used to identify UE-1.
  • the identifier of the UE-1 may be an International Mobile Subscriber Identity (IMSI) or an IP address of the UE-1.
  • IMSI International Mobile Subscriber Identity
  • IP address IP address
  • the identifier information may be a group identifier.
  • the group identifier may be an access point name (APN).
  • APN access point name
  • the identifier information may also be attributes common to all user equipments belonging to a certain group.
  • the attributes may be QoS, service type, and the like.
  • the Policy and Charging Enforcement Function 1 sends an IP-CAN Session Establishment Request message to the Proxy DRA.
  • the IP-CAN session establishment request message includes the identifier of the UE-1 and the identifier information of the group to which the UE-1 belongs.
  • the proxy DRA After the proxy DRA receives the IP-CAN session establishment request message sent by the policy and charging execution function 1, the proxy DRA selects the UE-1 according to the identifier of the UE-1 and/or the identity information of the group to which the UE-1 belongs. A PCRF and store the IP address of the PCRF.
  • the proxy DRA selects a PCRF for the UE-1 according to the identity of the UE-1 or the identity information of the group to which the UE-1 belongs.
  • the proxy DRA determines that the IP address of the PCRF serving any one of the user equipments of the group to which the UE-1 belongs is not stored in the storage unit of the proxy DRA. At this time, the proxy DRA determines that the UE-1 is the first one of the group.
  • the user equipment accessing the network the proxy DRA stores the IP address of the PCRF, and associates the IP address of the PCRF with the identifier information of the group to which the UE-1 belongs, for example, may store the ⁇ identification information, PCRF- 1 IP address>.
  • the proxy DRA sends an IP-CAN Session Setup Request message to the PCRF based on the IP address of the PCRF.
  • the IP-CAN session establishment request message includes an identifier of the UE-1.
  • the PCRF sends a UE-1 attribute request message to the user information database.
  • the number of user information The database includes SPR or UDR.
  • the user information database sends a UE-1 attribute response message to the PCRF.
  • the attribute response message includes attribute information of the user equipment.
  • the PCRF can obtain attribute information of the user equipment, so that the PCRF serves the user equipment.
  • the attribute information includes at least one of a service identifier allowed by the user, a priority between the services, a QoS, a charging related information, a user category, or an IP multimedia subsystem signaling priority.
  • the PCRF sends an IP-CAN Session Setup Response message to the Proxy DRA.
  • the proxy DRA forwards the IP-CAN session setup response message to the policy and charging enforcement function 1.
  • the policy and charging execution function 2 is selected to provide the service to the UE-2, and the policy and charging execution function 2 receives the attach request message of the UE-2.
  • the policy and charging execution function 2 may be a separately deployed PCEF entity, or may be a PCEF-enabled functional module deployed on, for example, a PGW.
  • the policy and charging enforcement function 1 for UE-1 and the policy and charging enforcement function 2 for UE-2 may be the same policy and charging execution function.
  • Policy and Charging Enforcement Function 2 sends an IP-CAN Session Establishment Request to the Proxy DRA.
  • the IP-CAN session establishment request message includes the UE-2 identifier and the identifier information of the group to which the UE-2 belongs.
  • the proxy DRA determines that the UE-2 and the UE-1 belong to the same group according to the identity information of the group to which the UE-2 belongs, and determines that the PCRF corresponding to the IP address of the PCRF serves the UE-2.
  • the proxy DRA determines that the identity information of the group to which the UE-2 belongs is consistent with the identity information of the group to which the UE-1 belongs, and the proxy DRA determines that the UE-2 and the UE-1 belong to the same group.
  • the proxy DRA determines that UE-2 and UE-1 belong to the same group, and the proxy DRA selects the PCRF as the service for the user equipment UE-2.
  • the proxy DRA selects the PCRF serving UE-1 for UE-2, that is, both UE-2 and UE-1 will adopt the same PCRF, thereby Different user equipments UE-1 and UE-2 belonging to the same group are selected to the same PCRF.
  • the proxy DRA sends an IP-CAN session setup request message to the PCRF according to the IP address of the PCRF.
  • the IP-CAN session establishment request message includes an identifier of the UE-2.
  • the PCRF sends the attribute request message of the other user equipment UE-2 to the user information database, so that the user information database provides the attribute information of the UE-2 to the PCRF according to the identifier of the UE-2.
  • the user information database sends an attribute response message of the other user equipment UE-2 to the PCRF.
  • the PCRF can obtain attribute information of the user equipment, so that the PCRF serves the user equipment.
  • the attribute information includes at least one of a service identifier allowed by the user, a priority between the services, a QoS, a charging related information, a user category, or an IP multimedia subsystem signaling priority.
  • the PCRF sends an IP-CAN Session Setup Response message to the Proxy DRA, and the Proxy DRA forwards the IP-CAN Session Setup Response message to PCEF-2/PGW-2.
  • the PCRF determines that all group users are detached from the network, the PCRF sends a request message to the proxy DRA to delete the IP address of the PCRF.
  • the PCRF may store user equipment identifiers belonging to a group, and form identifiers of the user equipments into a list and associate with the group identity information.
  • the PCRF saves the identity of the user equipment.
  • PCRF-1 deletes the user equipment identifier included in the group identifier.
  • the identifier information in the PCRF may be the identifier information carried in the IP-CAN session establishment request, or may be the identifier information included in the attribute response message sent by the user information database to the PCRF-1.
  • the proxy DRA After receiving the request message for deleting the IP address of the PCRF, the proxy DRA deletes the IP address of the PCRF, and sends a response to the PCRF to delete the IP address of the PCRF.
  • the proxy DRA after the proxy DRA determines that all user equipments belonging to the group are detached from the network, the proxy DRA deletes the IP address of the PCRF. In this case, steps 516 and 517 are not required.
  • the proxy DRA may store the identifiers of the user equipments belonging to a certain group, and form the identifiers of the all user equipments into a list and associate with the identification information of the group. After a certain user equipment is detached, the proxy DRA deletes the user equipment identifier included in the group identifier. When there is no user equipment identifier in the list, all group user equipments belonging to the group are considered to be detached from the network.
  • FIG. 6 is a method for selecting a PCRF based on a redirected DRA, and the specific process is as follows:
  • the policy and charging execution function 1 receives the attach request message of the UE-1.
  • the policy and charging execution function 1 may be a separately deployed PCEF entity, or may be a functional module with PCEF function deployed on, for example, a PGW.
  • the attach request message includes the identifier of the UE-1 and the identifier information of the group to which the UE-1 belongs.
  • the user equipments that are the same group are determined according to the same attribute, for example, the user equipments with the same QoS are determined to be the same group; or the user equipments with the same service type are determined to be the same group.
  • a group may be set up according to the requirement, and the group is identified by the group identifier, and the correspondence between the identifier of the user equipment in the group and the group identifier is established, according to the correspondence and the user equipment.
  • the identity determines the group to which the user device belongs.
  • a specific one or more bits in the identifier of the user equipment represent the same group.
  • the identifier of UE-1 is used to identify UE-1.
  • the identifier of the UE-1 may be an International Mobile Subscriber Identity (IMSI) or an IP address of the UE-1.
  • IMSI International Mobile Subscriber Identity
  • IP address IP address
  • the identifier information may be a group identifier.
  • the group identifier may be an access point name (APN).
  • APN access point name
  • the identifier information may also be attributes common to all user equipments belonging to a certain group.
  • the attributes may be QoS, service type, and the like.
  • the Policy and Charging Enforcement Function 1 sends an IP-CAN Session Establishment Request message to the redirected DRA.
  • the IP-CAN session establishment request message includes the identifier of the UE-1 and the identifier information of the group to which the UE-1 belongs.
  • the redirected DRA After the redirected DRA receives the IP-CAN session establishment request message sent by the policy and charging execution function 1, the redirected DRA is based on the identity of the UE-1 and/or the identity information of the group to which the UE-1 belongs. 1 Select a PCRF and store the IP address of the PCRF.
  • the redirected DRA selects a PCRF for UE-1 according to the identity of UE-1 and/or the identity information of the group to which UE-1 belongs. Redirecting the DRA to determine that the IP address of the PCRF serving the user equipment of the group to which the UE-1 belongs is not stored in the storage unit of the redirected DRA, and at this time, the redirecting DRA determines that the UE-1 is the group.
  • the user equipment of the first access network the proxy DRA stores the IP address of the PCRF, and associates the IP address of the PCRF with the identifier information of the group to which the UE-1 belongs, for example, the identifier information may be stored. , IP address of PCRF-1>.
  • the redirected DRA sends a session redirection message containing the IP address of the PCRF to PCEF-1/PGW-1.
  • the PCEF-1/PGW-1 sends an IP-CAN session establishment request to the PCRF according to the IP address of the PCRF received in step 604.
  • the PCRF sends a UE-1 attribute request message to the user information database, so that the user information database provides the attribute information of the UE-1 to the PCRF according to the identifier of the UE-1.
  • the user information database includes an SPR or a UDR.
  • the user information database sends a UE-1 attribute response message to the PCRF.
  • the attribute response message includes attribute information of the user equipment.
  • the PCRF can obtain attribute information of the user equipment, so that the PCRF serves the user equipment.
  • the attribute information includes at least one of a service identifier allowed by the user, a priority between the services, a QoS, a charging related information, a user category, or an IP multimedia subsystem signaling priority.
  • the PCRF sends an IP-CAN Session Setup Response message to the Policy and Charging Enforcement Function 1.
  • the policy and charging enforcement function 2 is selected to provide services for the UE-2, and the policy and charging enforcement function 2 receives the attachment request message of the UE-2.
  • the policy and charging execution function 2 may be a separately deployed PCEF entity, or may be a PCEF-enabled functional module deployed on, for example, a PGW.
  • the policy and charging enforcement function 1 for UE-1 and the policy and charging enforcement function 2 for UE-2 may be the same policy and charging execution function.
  • the Policy and Charging Enforcement Function 2 sends an IP-CAN Session Establishment Request message to the redirected DRA.
  • the IP-CAN session establishment request message includes the UE-2 identifier and the identifier information of the group to which the UE-2 belongs.
  • the proxy DRA determines that the UE-2 and the UE-1 belong to the same group according to the identity information of the group to which the UE-2 belongs, and determines that the PCRF corresponding to the IP address of the PCRF serves the UE-2.
  • the proxy DRA determines that the identity information of the group to which the UE-2 belongs is consistent with the identity information of the group to which the UE-1 belongs, and the proxy DRA determines that the UE-2 and the UE-1 belong to the same group.
  • the proxy DRA determines that UE-2 and UE-1 belong to the same group, and the proxy DRA selects the PCRF as the service for the user equipment UE-2.
  • the proxy DRA selects the PCRF serving UE-1 for UE-2, that is, both UE-2 and UE-1 will adopt the same PCRF, thereby making different user equipment UEs belonging to the same group- 1 and UE-2 select the same PCRF.
  • the redirect DRA sends a redirect session request message to the policy and charging enforcement function 2.
  • the redirect session request message includes an IP address of the PCRF.
  • the policy and charging execution function 2 sends an IP-CAN session establishment request message to the PCRF according to the IP address of the PCRF included in the redirect session request message according to step 612.
  • the IP-CAN Session Setup Request message contains the identity of UE-2.
  • the PCRF sends an attribute request message of the other user equipment UE-2 to the user information database, so that the user information database provides the attribute information of the UE-2 to the PCRF according to the identifier of the UE-2.
  • the user information database sends an attribute response message of the other user equipment UE-2 to the PCRF.
  • the PCRF can obtain attribute information of the user equipment, so that the PCRF serves the user equipment.
  • the attribute information includes at least one of a service identifier allowed by the user, a priority between the services, a QoS, a charging related information, a user category, or an IP multimedia subsystem signaling priority.
  • the PCRF sends an IP-CAN Session Setup Response message to the Policy and Charging Enforcement Function 2.
  • the PCRF determines that all group users are detached from the network, the PCRF sends a request message to the proxy DRA to delete the IP address of the PCRF.
  • the PCRF may store user equipment identifiers belonging to a group, and form identifiers of the user equipments into a list and associate with the group identity information.
  • the PCRF saves the identity of the user equipment.
  • PCRF-1 deletes the user equipment identifier included in the group identifier.
  • the identifier information in the PCRF may be the identifier information carried in the IP-CAN session establishment request, or may be the identifier information included in the attribute response message sent by the user information database to the PCRF-1.
  • the redirected DRA After receiving the request message for deleting the IP address of the PCRF, the redirected DRA deletes the IP address of the PCRF, and sends a response to the PCRF to delete the IP address of the PCRF.
  • the redirected DRA after the redirected DRA determines that all user equipments belonging to the group are detached from the network, the redirected DRA deletes the IP address of the PCRF. In this case, steps 617 and 618 are not required.
  • the redirected DRA may store the user equipment identifiers belonging to a certain group, and form the identifiers of the all user equipments into a list and associate with the identification information of the group. After a certain user equipment is detached, the redirected DRA deletes the user equipment identifier included in the identifier information, and when there is no user equipment identifier in the list, all group user equipments belonging to the group are considered to be attached from the network. .
  • FIG. 7 is a PCEF-based method for selecting a PCRF, and the specific process is as follows:
  • the policy and charging execution function receives the attach request message of the UE-1.
  • the policy and charging execution function may be a separately deployed PCEF entity, or may be a PCEF-enabled functional module deployed on, for example, a PGW.
  • the attach request message includes the identifier of the UE-1 and the identifier information of the group to which the UE-1 belongs.
  • the user equipments that are the same group are determined according to the same attribute, for example, the user equipments with the same QoS are determined to be the same group; or the user equipments with the same service type are determined to be the same group.
  • a group may be set up according to the requirement, and the group is identified by the group identifier, and the correspondence between the identifier of the user equipment in the group and the group identifier is established, according to the correspondence and the user equipment.
  • the identity determines the group to which the user device belongs.
  • a specific one or more bits in the identifier of the user equipment represent the same group.
  • the identifier of UE-1 is used to identify UE-1.
  • the identifier of the UE-1 may be an International Mobile Subscriber Identity (IMSI) or an IP address of the UE-1.
  • IMSI International Mobile Subscriber Identity
  • IP address IP address
  • the identifier information may be a group identifier.
  • the group identifier may be an access point name (APN).
  • APN access point name
  • the identifier information may also be attributes common to all user equipments belonging to a certain group.
  • the attributes may be QoS, service type, and the like.
  • the Policy and Charging Enforcement Function sends an IP-CAN Session Establishment Request message to the redirected DRA.
  • the IP-CAN session establishment request message includes a UE-1 identifier.
  • FIG. 7 illustrates the redirection of the DRA as an example.
  • the redirected DRA in step 2 may also be a proxy DRA.
  • the redirected DRA selects a PCRF to serve UE-1 according to the identity of UE-1. Specifically, the redirected DRA selects the PCRF for the UE-1 according to the IMSI of the UE-1 or the IP address of the UE-1.
  • the redirected DRA sends a session redirection message to the policy and charging enforcement function.
  • the session redirection message includes an IP address of the PCRF.
  • the policy and charging execution function receives the session redirection message that is sent by the DRA and includes the IP address of the PCRF, the IP address of the PCRF is stored.
  • the IP address of the PCRF serving any user equipment of the group to which the UE-1 belongs is not stored in the storage unit of the policy and the charging and executing function, and the UE-1 is the group.
  • the user equipment of the first access network of the group, the redirected DRA stores the IP address of the PCRF, and associates the IP address of the PCRF with the identifier information of the group to which the UE-1 belongs, for example, may store ⁇ identification information, IP address of PCRF-1>.
  • the policy and charging enforcement function sends an IP-CAN session establishment request to the PCRF according to the IP address of the PCRF included in the received session redirection message.
  • the IP-CAN session establishment request includes an identifier of the UE-1.
  • the PCRF sends a UE-1 attribute request message to the user information database, so that the user information database provides the attribute information of the UE-1 to the PCRF according to the identifier of the UE-1.
  • the user information database includes an SPR or a UDR.
  • the user information database sends a UE-1 attribute response message to the PCRF.
  • the attribute response message includes attribute information of the user equipment.
  • the PCRF can obtain attribute information of the user equipment, so that the PCRF serves the user equipment.
  • the attribute information includes at least one of a service identifier allowed by the user, a priority between the services, a QoS, a charging related information, a user category, or an IP multimedia subsystem signaling priority.
  • the PCRF sends an IP-CAN session setup response message to the policy and charging enforcement function.
  • the policy and charging execution function is selected to provide a service for the UE-2, and the policy and charging execution function receives the attach request message of the UE-2.
  • the attach request message includes the identifier of the UE-2 and the identifier information of the group to which the UE-2 belongs.
  • This embodiment selects the same policy and charging execution function as UE-1 to serve UE-2.
  • the Policy and Charging Enforcement Function sends an IP-CAN Session Establishment Request message to the redirected DRA.
  • the IP-CAN session establishment request message includes an identifier of the UE-2.
  • the redirected DRA selects a PCRF-2 for UE-2 according to the identity of UE-2.
  • PCRF-2 and the PCRF are different PCRFs.
  • the PCRF is not required to initiate an address update procedure.
  • the redirected DRA sends a session redirection message to the policy and charging enforcement function.
  • the session redirection message includes an IP address of the PCRF-2.
  • the policy and charging execution function determines that the UE-2 and the UE-1 belong to the same group according to the group identifier of the group to which the UE-2 belongs, and determines that the PCRF corresponding to the IP address of the PCRF serves the UE-2.
  • the proxy DRA determines that the identity information of the group to which the UE-2 belongs is consistent with the identity information of the group to which the UE-1 belongs, and the proxy DRA determines that the UE-2 and the UE-1 belong to the same group.
  • the policy and charging execution function determines that UE-2 and UE-1 belong to the same group, and the policy and charging execution function selects the PCRF as the service for the user equipment UE-2. Through step 714, the policy and charging execution function selects the PCRF serving UE-1 for UE-2, that is, both UE-2 and UE-1 will use the same PCRF, thereby making the different groups belong to the same group. User equipment UE-1 and UE-2 select the same PCRF.
  • the policy and charging enforcement function sends an address update request to the redirect DRA.
  • the redirected DRA is updated to the UE-2 selected PCRF.
  • the address update request includes an IP address of the PCRF.
  • the redirected DRA sends an address update response to the policy and charging enforcement function.
  • the policy and charging execution function can update the IP address of the PCRF-2 to the IP address of the PCRF.
  • the policy and charging enforcement function initiates an IP-CAN session establishment request message to the PCRF according to the IP address of the PCRF.
  • steps 715 and 717 is not limited, or step 715 and step 717 can be performed simultaneously.
  • the PCRF sends a UE-2 attribute request to the user information database, so that the user information database provides the UE-2 attribute information to the PCRF according to the identifier of the UE-2.
  • the user information database sends a UE-2 attribute response to the PCRF.
  • the PCRF can obtain attribute information of the user equipment, so that the PCRF serves the user equipment.
  • the attribute information includes at least one of a service identifier allowed by the user, a priority between the services, a QoS, a charging related information, a user category, or an IP multimedia subsystem signaling priority.
  • the PCRF sends an IP-CAN Session Setup Response message to the Policy and Charging Executive function.
  • the policy and charging execution function determines that all user equipments belonging to the group are detached from the network, and the policy and charging execution function deletes the IP address of the PCRF.
  • the policy and charging execution function may store the identifiers of the user equipments belonging to a certain group, and form the identifiers of the user equipments into a list and associate with the identification information of the group.
  • the PCRF saves the identity of the user equipment.
  • the policy and charging execution function deletes the user equipment identifier included in the group identifier.
  • all group user equipments belonging to the group are considered to be from the network. Attached.
  • the PCRF selection may also adopt a static PCRF selection method, that is, storing the inclusion group in the subscription information in the Home Subscriber Server (HSS) or the Home Location Register (HLR). IP address of the group PCRF of the group to which the user equipment belongs.
  • HSS Home Subscriber Server
  • HLR Home Location Register
  • IP address of the group PCRF of the group to which the user equipment belongs When the group user equipment is attached to the network, the HSS provides the IP address information of the group PCRF to the GPRS Service Support Node (SGSN) to the Mobility Management Entity (MME) or the HLR.
  • SGSN GPRS Service Support Node
  • MME Mobility Management Entity
  • the MME provides the IP address information of the group PCRF to the PCEF/PGW in the attach procedure, or the SGSN provides the IP address information of the group PCRF to the PCEF/PGW in the attach procedure, so that the PCEF/PGW initiates an IP-CAN session establishment procedure to the group PCRF. .
  • FIG. 8 is a flowchart of a method for selecting a static policy and a charging rule function PCRF according to an embodiment of the present disclosure, which is specifically as follows:
  • the 81 Receive an IP address and first identification information of the PCRF sent by the serving gateway.
  • the first identifier information is used to identify the first user equipment, and the first user equipment is a user equipment included in the group, and the IP address is stored in the home subscriber server HSS or the home location register HLR.
  • the IP address corresponding to the PCRF configured by all user equipments in the group.
  • the IP address of the PCRF is stored in the home subscriber server HSS or the home location register HLR.
  • the IP address of the PCRF is stored in the subscription information in the HSS or the HLR in association with the identification information of the group.
  • the group identifier is an access point name APN of the group.
  • the IP address is used to trigger a session establishment procedure of the PCRF corresponding to the IP address for the first user equipment.
  • FIG. 9 is a diagram showing a device for selecting a policy and charging rule function PCRF according to an embodiment of the present invention.
  • the device is used to execute the method of the embodiment of FIG. 8.
  • the device includes a receiving unit 901 and a sending unit coupled by the processing unit 903. 902.
  • the receiving unit 901 is configured to receive an IP address of the PCRF sent by the serving gateway, and the first identifier information, where the first identifier information is used to identify the first user equipment, where the first user equipment is in the group
  • the included user equipment, the IP address is an IP address corresponding to a PCRF configured for all user equipments in the group stored in the home subscriber server HSS or the home location register HLR;
  • the sending unit 902 is configured to send the IP address and the first identifier information to a diameter routing proxy DRA device, where the IP address is used to trigger, by the first user equipment, a location corresponding to the IP address.
  • the session establishment process of the PCRF is configured to send the IP address and the first identifier information to a diameter routing proxy DRA device, where the IP address is used to trigger, by the first user equipment, a location corresponding to the IP address.
  • the IP address of the PCRF is stored in the subscription information in the HSS or HLR in association with the identification information of the group.
  • the selection device of the PCRF is a policy and charging execution function PCEF.
  • the processing unit 903 can be a processor.
  • the processor may be specifically a baseband processor, a digital signal processor (DSP), a Field Programmable Gata Array (FPGA), or a Central Processing Unit (CPU).
  • the receiving unit 901 may be a receiver, and the transmitting unit 902 may be a transmitter.
  • the receiving unit 901 and the transmitting unit 902 can also be implemented by a transceiver.
  • the receiver, transmitter and transceiver may be radio frequency circuits or comprise a combination of the processor and radio frequency circuits.
  • the apparatus provided by the embodiment of FIG. 9 may include a processor, a receiver, and a transmitter.
  • the receiver is configured to receive an IP address of the PCRF sent by the serving gateway, and the first identifier information, where the first identifier information is used to identify the first user equipment, where the first user equipment is a user included in the group
  • the device the IP address is an IP address corresponding to a PCRF configured for all user equipments in the group stored in the home subscriber server HSS or the home location register HLR.
  • the transmitter configured to send the IP address and the first identification information to a diameter routing proxy DRA device, where the IP address is used to enable the DRA device to connect the first user equipment to the IP
  • FIG. 10 is a schematic diagram of a method for selecting a policy and charging rule function PCRF according to an embodiment of the present invention, where the steps are:
  • the 101 Receive an IP address and first identifier information of a PCRF sent by a policy and charging execution function PCEF.
  • the first identifier information is used to identify the first user equipment, and the first user equipment is a user equipment included in the group, and the IP address is stored in the home subscriber server HSS or the home location register HLR.
  • the IP address corresponding to the PCRF configured by all user equipments in the group.
  • the IP address of the PCRF is stored in the subscription information in the HSS or the HLR in association with the identification information of the group, where the identifier information is used for identification. Identification information of the group.
  • the device 11 is a device for selecting a policy and charging rule function PCRF according to an embodiment of the present invention.
  • the device is used to perform the method of the embodiment of FIG. 10, and the device includes a receiving unit 111 coupled to the processing unit 112.
  • the receiving unit 111 is configured to receive an IP address and first identifier information of the PCRF sent by the policy and charging execution function PCEF, where the first identifier information is used to identify the first user equipment, the first user
  • the device is a user equipment included in the group, and the IP address is an IP address corresponding to a PCRF configured in the home subscriber server HSS or the home location register HLR for all user equipments in the group;
  • the processing unit 112 is configured to trigger a process of establishing a connection between the policy and the charging execution function and the PCRF according to the IP address of the PCRF.
  • the IP address of the PCRF is stored in the subscription information in the HSS or the HLR in association with the identification information of the group, where the identifier information is used to identify the group. Identification information.
  • the selection means of the PCRF is a proxy DRA or a redirected DRA.
  • the processing unit 112 can be a processor.
  • the processor may be specifically a baseband processor, a digital signal processor (DSP), a Field Programmable Gata Array (FPGA), or a Central Processing Unit (CPU).
  • the receiving unit 111 may be a receiver.
  • the receiving unit 111 can also be implemented by a transceiver.
  • the receiver and transceiver may be radio frequency circuits or a combination comprising the processor and radio frequency circuits.
  • the apparatus provided by the embodiment of FIG. 11 may include a processor and a receiver.
  • the receiver is configured to receive an IP address and first identifier information of the PCRF sent by the policy and charging execution function PCEF, where the first identifier information is used to identify the first user equipment, where the first user equipment is For the user equipment included in the group, the IP address is the home subscriber server.
  • the IP address corresponding to the PCRF configured for all user equipments in the group stored in the HSS or the home location register HLR.
  • the processor is configured to trigger a process of establishing a connection between the policy and charging execution function and the PCRF according to an IP address of the PCRF.
  • FIG. 12 is a flowchart of obtaining an IP address of a group PCRF in a user information storage device when a user equipment UE is attached to a network.
  • the user information storage device includes a home subscriber server HSS or a home location register HLR (the HSS is used as an example in this embodiment). Specific steps are as follows:
  • the UE accesses the network, the UE sends an attach request to the eNB.
  • the attach request includes an identifier ID of the UE and/or a group identifier ID of a group to which the UE belongs.
  • the eNB sends an attach request to the mobility management device.
  • the mobility management device includes an MME or an SGSN (the MME is taken as an example for description in this embodiment).
  • the MME sends an update location request message to the HSS.
  • the update location request includes the identity ID of the UE and/or the group identity ID of the group to which the UE belongs.
  • the HSS sends a location update response to the MME.
  • the location update response message includes an IP address of the group PCRF.
  • the IP address of the group PCRF is an IP address corresponding to a PCRF that is commonly used by user equipments in the group.
  • the IP address of the group PCRF is stored in the HSS.
  • the IP address of the group PCRF is associated with the identifier information and stored, which may be ⁇ identification information, IP address of the group PCRF>.
  • the identifier information is identifier information used to identify the group.
  • the HSS determines to provide the group PCRF to serve the UE according to the subscription information of the UE. Therefore, the HSS will send a Location Update Response containing the IP address of the group of PCRFs to the MME.
  • the MME sends a session establishment request to a Serving Gateway (SGW).
  • SGW Serving Gateway
  • the session establishment request includes an IP address of the group PCRF.
  • the serving gateway sends a session establishment request to the PCEF/PGW.
  • the session establishment request carries an IP address of the group PCRF.
  • the IP addresses of the group PCRFs belonging to the group stored in the HSS are retrieved, so that the belongings belong to a certain
  • the session establishment request of the different user equipments of the group contains the IP addresses of the same group PCRF, so that the different user equipments belonging to a certain group use the same PCRF.
  • the static PCRF selection method stores the IP address of the group PCRF in the HSS or the HLR.
  • the identification information of the group to which the user equipment UE belongs is adjusted in the HSS.
  • the IP address of the PCRF is set, and a session establishment request is initiated to the IP address of the group PCRF that is invoked in the subsequent process, so that different user equipments UEs belonging to the same group obtain the same PCRF (ie, the group) Group PCRF).
  • FIG. 13 is a method for selecting a PCRF based on a redirected DRA, and the specific process is as follows:
  • the user equipment accesses the network, and the PCEF/PGW receives a session establishment request message including an IP address of the group PCRF.
  • the session establishment request message is a session establishment request obtained according to the embodiment described in FIG.
  • the create session request message includes an IP address of a PCRF serving the group user equipment, and the IP address of the PCRF is stored in a home subscriber server HSS or a home location register HLR, the group user equipment Belonging to the group, the PCRF serves any one of the user equipments belonging to the group. Thereby, different user equipments belonging to the same group can be selected to the same PCRF.
  • the PCEF/PGW sends an IP-CAN Session Setup Request message to the redirected DRA.
  • the IP-CAN session establishment request message includes an IP address of the group PCRF.
  • the IP-CAN session establishment request message may further include the UE identifier and/or the identifier information of the group to which the UE belongs.
  • the redirected DRA When the redirected DRA receives the IP-CAN session establishment request message of the PCEF/PGW, when the IP address of the group PCRF is included in the determination message, the redirected DRA does not need to perform the PCRF selection process.
  • the redirecting DRA may store the UE identifier and/or the identifier information of the group to which the UE belongs, in addition to storing the IP address of the group PCRF.
  • the redirect DRA sends a session redirection message to the PCEF/PGW.
  • the session redirection message may further include at least one of an IP address of the group PCRF, a UE identifier, or identifier information of a group to which the UE belongs.
  • the PCEF/PGW sends an IP-CAN Session Establishment Request message to the group PCRF according to the IP address of the group PCRF.
  • the PCRF sends a UE attribute request message to the user information database.
  • the user information database includes an SPR or a UDR.
  • the attribute request message is used to acquire an attribute value of the UE from the user information database.
  • the user information database sends a UE attribute response message to the PCRF.
  • the group PCRF sends an IP-CAN session setup response message to the PCEF/PGW.
  • the order of steps 132 and 135 is not limited. That is, the session establishment request message received by the PCEF/PGW in step 131 contains the IP address of the group PCRF.
  • the PCEF/PGW sends an IP-CAN Session Establishment Request message to the group PCRF according to the IP address of the group PCRF and the IPEF/PGW sends the IP-CAN Session Establishment Request message containing the IP address of the group PCRF to the redirected DRA.
  • step 132 and its subsequent steps 133 and 134 may be performed before step 135, after step 135, or simultaneously.
  • the embodiment shown in FIG. 14 is a method for selecting a PCRF based on a proxy DRA, and the specific process is as follows:
  • the user equipment UE accesses the network, and the PCEF/PGW receives a session establishment request message including an IP address of the group PCRF.
  • the session establishment request message is a session establishment request obtained according to the embodiment described in FIG.
  • the create session request message includes an IP address of a PCRF serving the group user equipment, and the IP address of the PCRF is stored in a home subscriber server HSS or a home location register HLR, the group user equipment Belonging to the group, the PCRF serves any one of the user equipments belonging to the group. Thereby, different uses belonging to the same group can be made The device is selected to the same PCRF.
  • the PCEF/PGW sends an IP-CAN Session Setup Request message to the Proxy DRA.
  • the IP-CAN session establishment request message includes an IP address of the group PCRF.
  • the IP-CAN session establishment request message may further include the UE identifier and/or the identifier information of the group to which the UE belongs.
  • the proxy DRA stores the IP address of the group PCRF.
  • the proxy DRA When the proxy DRA receives the IP-CAN session establishment request message of the PCEF/PGW, when the determination message includes the IP address of the group PCRF, the proxy DRA does not need to perform the PCRF selection process, but only needs to follow the IP address of the PCRF. Initiate an IP-CAN session establishment request.
  • the proxy DRA may store the UE identifier and/or the identifier information of the group to which the UE belongs, in addition to storing the IP address of the group PCRF.
  • the proxy DRA sends an IP-CAN to the group PCRF according to the IP address of the group PCRF.
  • the group PCRF sends a UE attribute request message to the user information database.
  • the attribute request message is used to acquire an attribute value of the UE from the user information database.
  • the user information database sends a UE attribute response message to the PCRF.
  • the group PCRF sends an IP-CAN session establishment response to the PCEF/PGW through the proxy DRA.

Abstract

A method and apparatus for selecting a policy and charging rules function (PCRF). The method comprises: a core network device acquires an IP address of a first PCRF, wherein the first PCRF is a PCRF serving a first user equipment, and the first user equipment is a user equipment that first accesses a network among multiple user equipments in a group; the core network device receives second identification information, the second identification information being identification information of a second user equipment; the core network device determines that the second user equipment is a user equipment in the group according to the second identification information or third identification information, the third identification information being identification information used for identifying the group; and the core network device triggers a session setup process with the first PCRF for the second user equipment according to the IP address of the first PCRF. By means of the method, different user equipments in the same group can use the same PCRF that provides services for the user equipments.

Description

一种策略与计费规则功能选择方法和装置Method and device for selecting policy and charging rule function 技术领域Technical field
本发明涉及通信技术领域,特别涉及一种策略与计费规则功能选择方法和装置。The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for selecting a policy and charging rule function.
背景技术Background technique
机器类型通信(Machine Type Communications,MTC)指的是一个或者多个网元之间在不需要人为参与的情况下进行的网络通信,如交通控制与管理、远程抄表、远程监控、移动支付、定位跟踪、以及医疗监护等应用。MTC应用中,具有相同MTC应用、相同位置或者属于同一个组织等的多个终端组成一个整体,简称组、群或者群组。网络运营商或者用户可以将群组作为一个整体进行管理或控制,例如,电力行业的远程抄表,可将某城市所有的电表组成一个群组,网络运营商或电力行业用户可以将该群组作为一个整体进行移动性管理优化、接入管理或者策略控制。Machine Type Communications (MTC) refers to network communication between one or more network elements without human intervention, such as traffic control and management, remote meter reading, remote monitoring, mobile payment, Location tracking, and applications such as medical monitoring. In an MTC application, a plurality of terminals having the same MTC application, the same location, or belonging to the same organization form a whole, referred to as a group, a group, or a group. The network operator or user can manage or control the group as a whole. For example, the remote meter reading of the power industry can group all the electricity meters in a city into one group, and the network operator or the power industry user can group the group. As a whole, mobility management optimization, access management or policy control.
策略控制和计费(Policy Control and Charging,PCC)架构下的策略与计费规则功能(Policy and Charging Rule Function,PCRF)实体包含策略控制决策和基于业务数据流计费控制的功能,策略与计费执行功能(Policy and Charging Enforcement Function,PCEF)实体包含业务数据流的检测、策略执行和基于流的计费功能。PCRF实体向PCEF实体提供关于业务数据流检测、门控、基于服务质量(Quality of Service,QoS)的网络控制和基于业务数据流计费的网络控制。现有的技术中,直径路由代理(Diameter Routing Agent,DRA)实体根据用户的标识信息选择PCRF实体。当同一个群组的不同用户设备接入到网络时,DRA可能会为不同的用户设备选择到不同的PCRF实体。对于MTC应用中的群组而言,网络运营商或者用户对群组内的多个终端或者用户设备进行统一管理或控制可以节约管理成本,可是,现有技术中无法将属于同一个群组的不同用户选择到相同的PCRF实体,因此, 网络运营商或者用户无法对群组内的多个终端或者用户设备进行统一管理或控制。The Policy and Charging Rule Function (PCRF) entity in the Policy Control and Charging (PCC) architecture includes policy control decisions and functions based on traffic data flow charging control. The Policy and Charging Enforcement Function (PCEF) entity includes detection of service data flows, policy enforcement, and flow-based charging. The PCRF entity provides PCEF entities with service data flow detection, gating, Quality of Service (QoS) based network control, and traffic data flow based traffic control. In the prior art, a Diameter Routing Agent (DRA) entity selects a PCRF entity according to the identification information of the user. When different user equipments of the same group access the network, the DRA may select different PCRF entities for different user equipments. For a group in an MTC application, network operator or user can manage or control multiple terminals or user equipments in a group to save management costs. However, in the prior art, it is impossible to belong to the same group. Different users choose to the same PCRF entity, therefore, The network operator or user cannot perform unified management or control on multiple terminals or user equipments in the group.
发明内容Summary of the invention
本发明提供一种PCRF的选择方法和装置,能够节约网络运营商或者用户管理成本。The invention provides a method and a device for selecting a PCRF, which can save network operator or user management cost.
第一方面,提供了一种策略与计费规则功能PCRF选择方法,其特征在于,包括:核心网设备获取第一PCRF的IP地址,其中,所述第一PCRF为为第一用户设备服务的PCRF,所述第一用户设备为群组包括的多个用户设备中第一个接入网络的用户设备;所述核心网设备接收第二标识信息,其中,所述第二标识信息为所述第二用户设备的标识信息;所述核心网设备根据所述第二标识信息或第三标识信息确定所述第二用户设备为所述群组包括的用户设备,其中,所述第三标识信息为用于标识所述群组的标识信息;所述核心网设备根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程。The first aspect provides a policy and charging rule function PCRF selection method, which is characterized in that: the core network device obtains an IP address of the first PCRF, wherein the first PCRF is for serving the first user equipment. a PCRF, the first user equipment is a user equipment of a first one of the plurality of user equipments included in the group; the core network device receives the second identification information, where the second identification information is the Determining, by the core network device, the second user equipment is a user equipment included in the group according to the second identifier information or the third identifier information, where the third identifier information And the core network device triggers a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF.
结合第一方面,在第一种可能的实现方式中,所述核心网设备获取第一PCRF的IP地址之后,所述核心网设备接收第二标识信息之前,还包括:所述核心网设备存储所述第一PCRF的IP地址和所述第三标识信息的对应关系;所述核心网设备为所述第二用户设备触发与所述第一PCRF的会话建立流程,包括:所述核心网设备根据所述对应关系获取所述第一PCRF的IP地址,并根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程。With reference to the first aspect, in a first possible implementation manner, after the core network device obtains the IP address of the first PCRF, the core network device, before receiving the second identifier information, further includes: the core network device storage Corresponding relationship between the IP address of the first PCRF and the third identifier information; the core network device triggering a session establishment process with the first PCRF for the second user equipment, including: the core network device Acquiring the IP address of the first PCRF according to the corresponding relationship, and triggering a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF.
结合第一方面、第一种可能的实现方式,在第二种可能的实现方式中,所述核心网设备为所述第二用户设备触发与所述第一PCRF的会话建立流程,包括:所述核心网设备根据所述对应关系,确定由所述第一PCRF为所述第二用户设备服务;以及根据所述第一PCRF的IP地址,为所述第二用 户设备触发与所述第一PCRF的会话建立流程。With reference to the first aspect, the first possible implementation manner, in a second possible implementation, the core network device triggers a session establishment process with the first PCRF for the second user equipment, including: Determining, by the core network device, that the first PCRF serves the second user equipment according to the corresponding relationship; and, according to the IP address of the first PCRF, the second use The user equipment triggers a session establishment process with the first PCRF.
结合第一方面、第一至二种可能的实现方式,在第三种可能的实现方式中,所述核心网设备存储所述第一PCRF的IP地址和所述第三标识信息的对应关系,包括:所述核心网设备根据所述第一标识信息和存储的所述第一用户设备的签约信息确定所述第一用户设备为所述群组中的用户设备,所述核心网设备存储所述第一PCRF的IP地址和所述第三标识信息的对应关系。With reference to the first aspect, the first to the second possible implementation manners, in a third possible implementation, the core network device stores a correspondence between an IP address of the first PCRF and the third identifier information, The core network device determines, according to the first identifier information and the stored subscription information of the first user equipment, that the first user equipment is a user equipment in the group, and the core network equipment storage station Corresponding relationship between the IP address of the first PCRF and the third identifier information.
结合第一方面、第一至三种可能的实现方式,在第四种可能的实现方式中,所述核心网设备存储所述第一PCRF的IP地址和所述第三标识信息的对应关系之前,还包括:所述核心网设备接收第一标识信息和第三标识信息,所述第一标识信息用于标识所述第一用户设备;所述核心网设备存储所述第一PCRF的IP地址和所述第三标识信息的对应关系,包括:所述用户信息数据库设备根据所述第一标识信息和所述第三标识信息确定所述第一用户设备为所述群组中的用户设备,所述核心网设备存储所述第一PCRF的IP地址和所述第三标识信息的对应关系。With reference to the first aspect, the first to the third possible implementation manners, in a fourth possible implementation manner, before the core network device stores the correspondence between the IP address of the first PCRF and the third identifier information, And the core network device receives the first identifier information and the third identifier information, where the first identifier information is used to identify the first user equipment; and the core network device stores an IP address of the first PCRF. Corresponding relationship with the third identifier information, the user information database device determining, according to the first identifier information and the third identifier information, that the first user equipment is a user equipment in the group, The core network device stores a correspondence between an IP address of the first PCRF and the third identifier information.
结合第一方面、第一至四种可能的实现方式,在第五种可能的实现方式中,所述核心网设备为用户信息数据库设备;所述核心网设备获取第一PCRF的IP地址,包括:所述用户信息数据库接收所述第一PCRF发送的所述第一PCRF的IP地址。With reference to the first aspect, the first to fourth possible implementation manners, in a fifth possible implementation manner, the core network device is a user information database device; the core network device acquires an IP address of the first PCRF, including The user information database receives an IP address of the first PCRF sent by the first PCRF.
结合第一方面、第一至五种可能的实现方式,在第六种可能的实现方式中,所述核心网设备获取第一PCRF的IP地址,包括:所述核心网设备接收第一标识信息;以及,所述核心网设备为所述第一标识信息标识的所述第一用户设备选择第一PCRF并获取所述第一PCRF的IP地址。With reference to the first aspect, the first to the fifth possible implementation manners, in the sixth possible implementation manner, the acquiring, by the core network device, the IP address of the first PCRF, the core network device receiving the first identifier information And the core network device selects the first PCRF for the first user equipment identified by the first identifier information, and acquires an IP address of the first PCRF.
结合第一方面、第一至六种可能的实现方式,在第七种可能的实现方式中,所述核心网设备为策略和计费执行功能PCEF;所述核心网设备获取第一PCRF的IP地址,包括:所述策略和计费执行功能接收DRA设备发送的第一PCRF的IP地址,其中,所述第一PCRF为所述DRA设备为所述第一 用户设备选择的PCRF。With reference to the first aspect, the first to the sixth possible implementation manners, in a seventh possible implementation manner, the core network device is a policy and charging execution function PCEF; and the core network device acquires an IP of the first PCRF The address includes: the policy and the charging execution function receiving an IP address of the first PCRF sent by the DRA device, where the first PCRF is the first The PCRF selected by the user device.
结合第一方面、第一至七种可能的实现方式,在第八种可能的实现方式中,所述核心网设备为策略与计费执行功能PCEF,所述核心网设备为所述第二用户设备触发与所述第一PCRF的会话建立流程之前,还包括:所述PCEF接收DRA设备发送的第二PCRF的IP地址;所述PCEF根据接收的第三标识信息和所述对应关系确定由所述第一PCRF为所述第二用户设备服务,其中,所述对应关系为所述PCEF存储的所述第一PCRF的IP地址和所述第三标识信息的对应关系;所述PCEF向所述DRA设备发送所述第一PCRF的IP地址,所述第一PCRF的IP地址用于所述DRA设备将所述第二PCRF的IP地址更新为所述第一PCRF的IP地址。With reference to the first aspect, the first to the seventh possible implementation manners, in the eighth possible implementation manner, the core network device is a policy and charging execution function PCEF, and the core network device is the second user Before the device triggers the session establishment process with the first PCRF, the method further includes: the PCEF receiving an IP address of the second PCRF sent by the DRA device; the PCEF determining, according to the received third identifier information, the correspondence The first PCRF is configured to serve the second user equipment, where the correspondence is a correspondence between an IP address of the first PCRF and the third identifier information stored by the PCEF; The DRA device sends the IP address of the first PCRF, and the IP address of the first PCRF is used by the DRA device to update the IP address of the second PCRF to the IP address of the first PCRF.
结合第一方面、第一至八种可能的实现方式,在第九种可能的实现方式中,其特征在于,所述核心网设备接收第二标识信息时,所述核心网设备还接收第三标识信息;所述核心网设备根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程,包括:所述核心网设备根据接收的所述第三标识信息和所述对应关系,确定为所述第二用户设备服务的第一PCRF的IP地址,并根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程。With reference to the first aspect, the first to the eighth possible implementation manners, in the ninth possible implementation manner, when the core network device receives the second identification information, the core network device further receives the third And the core network device triggers a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF, where the core network device receives the Determining, by the third identifier information, the IP address of the first PCRF served by the second user equipment, and triggering the first user equipment with the first IP address according to the IP address of the first PCRF The session establishment process of the PCRF.
结合第一方面、第一至九种可能的实现方式,在第十种可能的实现方式中,所述核心网设备为所述第二用户设备触发与所述第一PCRF的会话建立流程,包括:所述核心网设备向所述第二PCRF发送包含所述第一PCRF的IP地址的消息,所述第二PCRF将所述第二用户设备重定向至所述第一PCRF;或者所述核心网设备向为所述第二用户设备服务的策略和计费执行功能发送包含所述第一PCRF的IP地址的消息,为所述第二用户设备触发与所述第一PCRF的会话建立流程;或者所述核心网设备根据所述第一PCRF的IP地址,向所述第一PCRF发送会话建立请求,为所述第二用户设备触发与所述第一PCRF的会话建立流程。 With reference to the first aspect, the first to the nine possible implementation manners, in the tenth possible implementation manner, the core network device triggers a session establishment process with the first PCRF for the second user equipment, including Transmitting, by the core network device, a message including an IP address of the first PCRF to the second PCRF, the second PCRF redirecting the second user equipment to the first PCRF; or the core The network device sends a message including the IP address of the first PCRF to the policy and charging execution function that is used by the second user equipment, and triggers a session establishment process with the first PCRF for the second user equipment; Or the core network device sends a session establishment request to the first PCRF according to the IP address of the first PCRF, and triggers a session establishment procedure with the first PCRF for the second user equipment.
结合第一方面、第一至十种可能的实现方式,在第十一种可能的实现方式中,所述核心网设备为所述第二用户设备触发与所述第一PCRF的会话建立流程之后,还包括:所述核心网设备确定所述第二用户设备去附着;以及所述核心网设备从所述第三标识信息与所述群组中所有用户设备的标识信息的对应关系中,删除所述第二标识信息。With reference to the first aspect, the first to ten possible implementation manners, in an eleventh possible implementation manner, after the core network device triggers a session establishment process with the first PCRF, And the core network device determines that the second user equipment is detached; and the core network device deletes the correspondence between the third identifier information and the identifier information of all user equipments in the group. The second identification information.
结合第一方面、第一至十一种可能的实现方式,在第十二种可能的实现方式中,所述核心网设备为所述第二用户设备触发与所述第一PCRF的会话建立流程之后,还包括:所述核心网设备确定所述群组中所有用户设备去附着后,删除所述第三标识信息与所述第一PCRF的IP地址的对应关系;或者,所述核心网设备接收到删除所述第三标识信息与所述第一PCRF的IP地址的对应关系的请求消息后,删除所述第三标识信息与所述第一PCRF的IP地址的对应关系。With reference to the first aspect, the first to the eleven possible implementation manners, in the twelfth possible implementation, the core network device triggers a session establishment process with the first PCRF for the second user equipment After the core network device determines that all the user equipments in the group are detached, the corresponding relationship between the third identifier information and the IP address of the first PCRF is deleted; or the core network device And after receiving the request message for deleting the correspondence between the third identifier information and the IP address of the first PCRF, deleting the correspondence between the third identifier information and the IP address of the first PCRF.
结合第一方面、第一至十二种可能的实现方式,在第十三种可能的实现方式中,所述确定所述第二用户设备为所述群组中包括的用户设备,包括:根据存储的所述第二用户设备的签约信息和接收到的所述第二用户设备的标识信息,确定所述第二用户设备为所述群组中包括的用户设备;或者根据所述第三标识信息确定所述第二用户设备为所述群组中包括的用户设备;或者根据所述第二标识信息和所述第三标识信息确定所述第二用户设备属于所述群组。With reference to the first aspect, the first to the twelfth possible implementation manners, in the thirteenth possible implementation manner, the determining that the second user equipment is a user equipment included in the group includes: The stored subscription information of the second user equipment and the received identification information of the second user equipment, determining that the second user equipment is a user equipment included in the group; or according to the third identifier Determining, by the information, that the second user equipment is a user equipment included in the group; or determining, according to the second identifier information and the third identifier information, that the second user equipment belongs to the group.
第二方面,提供了一种核心网设备,其特征在于,包括与处理单元耦合的接收单元、发送单元和存储单元,其中:所述处理单元,用于获取第一PCRF的IP地址,其中,所述第一PCRF为为第一用户设备服务的PCRF,所述第一用户设备为群组包括的多个用户设备中第一个接入网络的用户设备;所述接收单元,用于接收第二标识信息,其中,所述第二标识信息为所述第二用户设备的标识信息;所述处理单元,还用于根据所述第二标识信息或第三标识信息确定所述第二用户设备为所述群组包括的用户设备,其中,所 述第三标识信息为用于标识所述群组的标识信息;以及根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程。In a second aspect, a core network device is provided, comprising: a receiving unit, a sending unit, and a storage unit coupled to the processing unit, wherein: the processing unit is configured to acquire an IP address of the first PCRF, where The first PCRF is a PCRF serving the first user equipment, the first user equipment is a user equipment of a first one of the plurality of user equipments included in the group, and the receiving unit is configured to receive the first The second identifier information, wherein the second identifier information is the identifier information of the second user equipment, and the processing unit is further configured to determine the second user equipment according to the second identifier information or the third identifier information User equipment included in the group, where The third identifier information is identifier information for identifying the group; and triggering a session establishment procedure with the first PCRF for the second user equipment according to the IP address of the first PCRF.
结合第二方面,在第一种可能的实现方式中,所述存储单元,用于存储所述第一PCRF的IP地址和所述第三标识信息的对应关系;所述处理单元是设置为按如下方式为所述第二用户设备触发与所述第一PCRF的会话建立流程:根据所述对应关系获取所述第一PCRF的IP地址,并根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程。With reference to the second aspect, in a first possible implementation, the storage unit is configured to store a correspondence between an IP address of the first PCRF and the third identifier information, where the processing unit is configured to press The method for establishing a session with the first PCRF is triggered by the second user equipment: obtaining an IP address of the first PCRF according to the correspondence, and according to the IP address of the first PCRF, The second user equipment triggers a session establishment procedure with the first PCRF.
结合第二方面、第一种可能的实现方式,在第二种可能的实现方式中,所述处理单元是设置为按如下方式为所述第二用户设备触发与所述第一PCRF的会话建立流程:根据所述存储单元存储的所述对应关系,确定由所述第一PCRF为所述第二用户设备服务;以及根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程。With reference to the second aspect, the first possible implementation manner, in a second possible implementation manner, the processing unit is configured to trigger session establishment with the first PCRF for the second user equipment in the following manner a process of determining, by the first PCRF, the second user equipment to serve according to the corresponding relationship stored by the storage unit; and triggering, by the second user equipment, according to an IP address of the first PCRF The session establishment process of the first PCRF.
结合第二方面、第一至二种可能的实现方式,在第三种可能的实现方式中,所述存储单元还用于,存储所述第一用户设备的签约信息;所述处理单元还用于,根据所述第一标识信息和所述存储单元存储的所述签约信息确定所述第一用户设备为所述群组中的用户设备,将所述第一PCRF的IP地址和所述第三标识信息的对应关系存储到所述存储单元。With reference to the second aspect, the first to the second possible implementation manners, in a third possible implementation, the storage unit is further configured to: store the subscription information of the first user equipment; Determining, according to the first identifier information and the subscription information stored by the storage unit, that the first user equipment is a user equipment in the group, and the IP address of the first PCRF and the first The correspondence of the three identification information is stored to the storage unit.
结合第二方面、第一至三种可能的实现方式,在第四种可能的实现方式中,所述接收单元还用于,接收第一标识信息和第三标识信息,所述第一标识信息用于标识所述第一用户设备;所述处理单元还用于,根据所述接收单元接收的所述第一标识信息和所述第三标识信息确定所述第一用户设备为所述群组中的用户设备,将所述第一PCRF的IP地址和所述第三标识信息的对应关系存储到所述存储单元。With reference to the second aspect, the first to the third possible implementation manners, in a fourth possible implementation manner, the receiving unit is further configured to receive the first identifier information and the third identifier information, where the first identifier information And the processing unit is further configured to: determine, according to the first identifier information and the third identifier information that are received by the receiving unit, that the first user equipment is the group The user equipment in the storage, stores the correspondence between the IP address of the first PCRF and the third identifier information to the storage unit.
结合第二方面、第一至四种可能的实现方式,在第五种可能的实现方式中,所述接收单元还用于,接收所述第一PCRF发送的所述第一PCRF的IP 地址;所述处理单元获取的所述第一PCRF的IP地址是所述接收单元接收的。With reference to the second aspect, the first to fourth possible implementation manners, in a fifth possible implementation, the receiving unit is further configured to receive an IP of the first PCRF that is sent by the first PCRF An address; the IP address of the first PCRF acquired by the processing unit is received by the receiving unit.
结合第二方面、第一至五种可能的实现方式,在第六种可能的实现方式中,所述接收单元还用于,接收第一标识信息;所述处理单元是设置为按如下方式获取所述第一PCRF的IP地址:为所述接收单元接收的所述第一标识信息标识的所述第一用户设备选择第一PCRF并获取所述第一PCRF的IP地址。With reference to the second aspect, the first to the fifth possible implementation manners, in the sixth possible implementation manner, the receiving unit is further configured to receive the first identifier information, where the processing unit is configured to obtain the following manner The IP address of the first PCRF: the first user equipment that is identified by the first identifier information received by the receiving unit, selects a first PCRF, and acquires an IP address of the first PCRF.
结合第二方面、第一至六种可能的实现方式,在第七种可能的实现方式中,所述接收单元还用于,接收DRA设备发送的第一PCRF的IP地址,其中,所述第一PCRF为所述DRA设备为所述第一用户设备选择的PCR实体;所述处理单元获取的所述第一PCRF的IP地址是所述接收单元接收的。With reference to the second aspect, the first to the six possible implementations, in a seventh possible implementation, the receiving unit is further configured to receive an IP address of the first PCRF sent by the DRA device, where the a PCRF is a PCR entity selected by the DRA device for the first user equipment; an IP address of the first PCRF acquired by the processing unit is received by the receiving unit.
结合第二方面、第一至七种可能的实现方式,在第八种可能的实现方式中,所述接收单元还用于,接收DRA设备发送的第二PCRF的IP地址;所述处理单元还用于,为所述第二用户设备触发与所述第一PCRF的会话建立流程之前,根据接收的第三标识信息和对应关系确定由所述第一PCRF为所述第二用户设备服务,其中,所述对应关系为所述第一PCRF的IP地址和所述第三标识信息的对应关系;所述发送单元,用于向所述DRA设备发送所述第一PCRF的IP地址,所述第一PCRF的IP地址用于所述DRA设备将所述第二PCRF的IP地址更新为所述第一PCRF的IP地址。With reference to the second aspect, the first to the seventh possible implementation manners, in the eighth possible implementation, the receiving unit is further configured to: receive an IP address of a second PCRF sent by the DRA device; And determining, by the first PCRF, the second user equipment, according to the received third identifier information and the correspondence relationship, before the second user equipment triggers a session establishment process with the first PCRF, where And the corresponding relationship is a correspondence between the IP address of the first PCRF and the third identifier information, where the sending unit is configured to send an IP address of the first PCRF to the DRA device, where the The IP address of a PCRF is used by the DRA device to update the IP address of the second PCRF to the IP address of the first PCRF.
结合第二方面、第一至八种可能的实现方式,在第九种可能的实现方式中,所述接收单元接收第二标识信息时,还接收第三标识信息;所述处理单元是设置为按如下方式为所述第二用户设备触发与所述第一PCRF的会话建立流程:根据所述接收单元接收的所述第三标识信息和对应关系,确定为所述第二用户设备服务的第一PCRF的IP地址,并根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程,其中,所述对应关系为所述存储单元中存储的所述第一PCRF的IP地址和所述第 三标识信息的对应关系。With reference to the second aspect, the first to the eighth possible implementation manners, in the ninth possible implementation manner, when the receiving unit receives the second identifier information, the third identifier information is further received; the processing unit is configured to And triggering, by the second user equipment, a session establishment process with the first PCRF, as follows: determining, according to the third identifier information and the correspondence relationship received by the receiving unit, that the second user equipment is served An IP address of a PCRF, and triggering a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF, where the corresponding relationship is stored in the storage unit The IP address of the first PCRF and the first The correspondence between the three identification information.
结合第二方面、第一至九种可能的实现方式,在第十种可能的实现方式中,所述处理单元是设置为按如下方式为所述第二用户设备触发与所述第一PCRF的会话建立流程:所述处理单元通过所述发送单元向所述第二PCRF发送所述第一PCRF的IP地址,触发所述第二PCRF将所述第二用户设备重定向至所述第一PCRF的过程;或者所述处理单元通过所述发送单元向为所述第二用户设备服务的PCEF发送所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程;或者所述处理单元根据所述第一PCRF的IP地址,通过所述发送单元向所述第一PCRF发送会话建立请求,为所述第二用户设备触发与所述第一PCRF的会话建立流程。With reference to the second aspect, the first to the nine possible implementations, in a tenth possible implementation, the processing unit is configured to trigger the second user equipment with the first PCRF in the following manner a session establishment process: the processing unit sends an IP address of the first PCRF to the second PCRF by using the sending unit, and triggers the second PCRF to redirect the second user equipment to the first PCRF Or the processing unit sends the IP address of the first PCRF to the PCEF serving the second user equipment by the sending unit, and triggers a session with the first PCRF for the second user equipment Establishing a process; or the processing unit sends a session establishment request to the first PCRF through the sending unit according to the IP address of the first PCRF, and triggers a session with the first PCRF for the second user equipment Establish a process.
结合第二方面、第一至十种可能的实现方式,在第十一种可能的实现方式中,所述处理单元还用于,为所述第二用户设备触发与所述第一PCRF的会话建立流程之后,确定所述第二用户设备去附着;以及从所述第三标识信息与所述群组中所有用户设备的标识信息的对应关系中,删除所述第二标识信息。With reference to the second aspect, the first to the ten possible implementations, in an eleventh possible implementation, the processing unit is further configured to trigger a session with the first PCRF for the second user equipment After the process is established, the second user equipment is determined to be detached; and the second identifier information is deleted from the correspondence between the third identifier information and the identifier information of all user equipments in the group.
结合第二方面、第一至十一种可能的实现方式,在第十二种可能的实现方式中,所述处理单元为所述第二用户设备触发与所述第一PCRF的会话建立流程之后,在确定所述群组中所有用户设备去附着后,删除所述第三标识信息与所述第一PCRF的IP地址的对应关系;或者,在接收到删除所述第三标识信息与所述第一PCRF的IP地址的对应关系的请求消息后,删除所述第三标识信息与所述第一PCRF的IP地址的对应关系。With reference to the second aspect, the first to the eleven possible implementation manners, in a twelfth possible implementation, the processing unit, after the second user equipment triggers a session establishment process with the first PCRF, After determining that all user equipments in the group are detached, deleting the correspondence between the third identifier information and the IP address of the first PCRF; or receiving the deleting the third identifier information and the After the request message of the correspondence between the IP addresses of the first PCRFs, the correspondence between the third identifier information and the IP address of the first PCRF is deleted.
结合第二方面、第一至十二种可能的实现方式,在第十三种可能的实现方式中,所述处理单元是设置为按如下方式确定所述第二用户设备为所述群组中包括的用户设备:根据存储的所述第二用户设备的签约信息和接收到的所述第二用户设备的标识信息,确定所述第二用户设备为所述群组中包括的用户设备;或者根据所述第三标识信息确定所述第二用户设备为所述群组中 包括的用户设备;或者根据所述第二标识信息和所述第三标识信息确定所述第二用户设备属于所述群组。With reference to the second aspect, the first to the twelfth possible implementation manners, in the thirteenth possible implementation manner, the processing unit is configured to determine, according to the manner, that the second user equipment is in the group The user equipment included: determining, according to the stored subscription information of the second user equipment and the received identification information of the second user equipment, that the second user equipment is a user equipment included in the group; or Determining, according to the third identifier information, that the second user equipment is in the group The user equipment included; or determining, according to the second identifier information and the third identifier information, that the second user equipment belongs to the group.
第三方面,提供了一种策略与计费规则功能PCRF的选择方法,其特征在于,包括:接收由服务网关发送的PCRF的IP地址和第一标识信息,其中,所述第一标识信息用于标识第一用户设备,所述第一用户设备为群组中包含的用户设备,所述IP地址为归属用户服务器HSS或者归属位置寄存器HLR中存储的为所述群组中所有用户设备配置的PCRF对应的IP地址;以及将所述IP地址和所述第一标识信息发送给直径路由代理DRA设备,所述IP地址用于为所述第一用户设备触发与所述IP地址对应的所述PCRF的会话建立流程。In a third aspect, a method for selecting a policy and charging rule function PCRF is provided, which includes: receiving an IP address of a PCRF sent by a serving gateway, and first identifier information, where the first identifier information is used by For identifying the first user equipment, the first user equipment is a user equipment included in the group, and the IP address is configured by the home subscriber server HSS or the home location register HLR for all user equipments in the group. An IP address corresponding to the PCRF; and transmitting the IP address and the first identification information to a Diameter Routing Agent DRA device, the IP address being used to trigger the first user equipment to correspond to the IP address The session establishment process of the PCRF.
在第一种可能的实现方式中,所述PCRF的IP地址与所述群组的标识信息相关联存储于HSS或者HLR中的签约信息中。In a first possible implementation manner, the IP address of the PCRF is stored in the subscription information in the HSS or the HLR in association with the identification information of the group.
第四方面,提供了一种策略与计费规则功能PCRF的选择装置,其特征在于,包括与处理单元耦合的接收单元和发送单元:所述接收单元,用于接收由服务网关发送的PCRF的IP地址和第一标识信息,其中,所述第一标识信息用于标识第一用户设备,所述第一用户设备为群组中包含的用户设备,所述IP地址为归属用户服务器HSS或者归属位置寄存器HLR中存储的为所述群组中所有用户设备配置的PCRF对应的IP地址;以及所述发送单元,用于将所述IP地址和所述第一标识信息发送给直径路由代理DRA设备,所述IP地址用于为所述第一用户设备触发与所述IP地址对应的所述PCRF的会话建立流程。In a fourth aspect, a device for selecting a policy and charging rule function PCRF is provided, comprising: a receiving unit and a sending unit coupled to the processing unit: the receiving unit is configured to receive the PCRF sent by the serving gateway The IP address and the first identifier information, wherein the first identifier information is used to identify the first user equipment, the first user equipment is a user equipment included in the group, and the IP address is a home subscriber server HSS or attribution An IP address corresponding to a PCRF configured for all user equipments in the group stored in the location register HLR; and the sending unit, configured to send the IP address and the first identifier information to a Diameter Routing Agent DRA device The IP address is used to trigger a session establishment procedure of the PCRF corresponding to the IP address for the first user equipment.
在第一种可能的实现方式中,所述PCRF的IP地址与所述群组的标识信息相关联存储于HSS或者HLR中的签约信息中。In a first possible implementation manner, the IP address of the PCRF is stored in the subscription information in the HSS or the HLR in association with the identification information of the group.
第五方面,提供了一种策略与计费规则功能PCRF的选择方法,其特征在于,包括:接收由策略和计费执行功能PCEF发送的PCRF的IP地址和第一标识信息,其中,所述第一标识信息用于标识第一用户设备,所述第一用 户设备为群组中包含的用户设备,所述IP地址为归属用户服务器HSS或者归属位置寄存器HLR中存储的为所述群组中所有用户设备配置的PCRF对应的IP地址;以及根据所述PCRF的IP地址触发将所述策略和计费执行功能与所述PCRF建立连接的过程。In a fifth aspect, a method for selecting a policy and charging rule function PCRF is provided, which includes: receiving an IP address and first identification information of a PCRF sent by a policy and charging execution function PCEF, where The first identifier information is used to identify the first user equipment, where the first The user equipment is a user equipment included in the group, and the IP address is an IP address corresponding to a PCRF configured for all user equipments in the group stored in the home subscriber server HSS or the home location register HLR; and according to the PCRF The IP address triggers the process of establishing a connection between the policy and charging enforcement functions and the PCRF.
在第一种可能的实现方式中,所述PCRF的IP地址与所述群组的标识信息相关联存储于HSS或者HLR中的签约信息中,其中,所述标识信息为用于标识所述群组的标识信息。In a first possible implementation, the IP address of the PCRF is stored in the subscription information in the HSS or the HLR in association with the identification information of the group, where the identifier information is used to identify the group. Group identification information.
第六方面,提供了一种策略与计费规则功能PCRF的选择装置,其特征在于,包括与处理单元耦合的接收单元:所述接收单元,用于接收由策略和计费执行功能PCEF发送的PCRF的IP地址和第一标识信息,其中,所述第一标识信息用于标识第一用户设备,所述第一用户设备为群组中包含的用户设备,所述IP地址为归属用户服务器HSS或者归属位置寄存器HLR中存储的为所述群组中所有用户设备配置的PCRF对应的IP地址;所述处理单元,用于根据所述PCRF的IP地址触发将所述策略和计费执行功能与所述PCRF建立连接的过程。In a sixth aspect, a device for selecting a policy and charging rule function PCRF is provided, comprising: a receiving unit coupled to the processing unit: the receiving unit, configured to receive the policy and charging execution function PCEF The IP address of the PCRF and the first identifier information, where the first identifier information is used to identify the first user equipment, the first user equipment is a user equipment included in the group, and the IP address is a home subscriber server HSS Or the IP address corresponding to the PCRF configured in the home location register HLR for all the user equipments in the group; the processing unit, configured to trigger the policy and the charging execution function according to the IP address of the PCRF The PCRF establishes the process of the connection.
在第一种可能的实现方式中,所述PCRF的IP地址与所述群组的标识信息相关联存储于HSS或者HLR中的签约信息中,其中,所述标识信息为用于标识所述群组的标识信息。In a first possible implementation, the IP address of the PCRF is stored in the subscription information in the HSS or the HLR in association with the identification information of the group, where the identifier information is used to identify the group. Group identification information.
本发明实施例,核心网设备获取第一PCRF的IP地址,所述核心网设备接收第二标识信息,所述核心网设备根据所述第二标识信息或第三标识信息确定所述第二用户设备为所述群组包括的用户设备,所述核心网设备根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程,由此,通过核心网设备判断所述第二用户设备属于群组,则核心网设备将根据所述第一PCRF的IP地址触发第二用户设备与所述第一PCRF的会话建立,因此,属于同一个群组的不同用户设备均选择了同样的PCRF。 In the embodiment of the present invention, the core network device obtains the IP address of the first PCRF, the core network device receives the second identifier information, and the core network device determines the second user according to the second identifier information or the third identifier information. The device is a user equipment included in the group, and the core network device triggers a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF, thereby The network device determines that the second user equipment belongs to the group, and the core network device triggers the session establishment of the second user equipment with the first PCRF according to the IP address of the first PCRF, and therefore belongs to the same group. The same PCRF was selected for different user devices.
附图说明DRAWINGS
图1为本发明实施例提供的PCRF选择的系统架构图。FIG. 1 is a system architecture diagram of PCRF selection according to an embodiment of the present invention.
图2为本发明实施例提供的PCRF选择方法。FIG. 2 is a PCRF selection method according to an embodiment of the present invention.
图3为本发明实施例提供的PCRF选择装置结构图。FIG. 3 is a structural diagram of a PCRF selection apparatus according to an embodiment of the present invention.
图4为本发明实施例提供的基于用户信息数据库的PCRF选择方法信令交互图。FIG. 4 is a signaling interaction diagram of a PCRF selection method based on a user information database according to an embodiment of the present invention.
图5为本发明实施例提供的基于代理DRA的PCRF选择方法信令交互图。FIG. 5 is a signaling interaction diagram of a proxy DRA-based PCRF selection method according to an embodiment of the present invention.
图6为本发明实施例提供的基于重定向DRA的PCRF选择方法信令交互图。FIG. 6 is a signaling interaction diagram of a PCRF selection method based on a redirected DRA according to an embodiment of the present invention.
图7为本发明实施例提供的基于PCEF的PCRF选择方法信令交互图。FIG. 7 is a signaling interaction diagram of a PCEF-based PCRF selection method according to an embodiment of the present invention.
图8为本发明实施例提供的一种策略与计费规则功能PCRF的选择方法。FIG. 8 is a schematic diagram of a method for selecting a policy and charging rule function PCRF according to an embodiment of the present invention.
图9为本发明实施例提供的一种策略与计费规则功能PCRF的选择装置。FIG. 9 is a schematic diagram of a device for selecting a policy and charging rule function PCRF according to an embodiment of the present invention.
图10为本发明实施例提供的一种策略与计费规则功能PCRF的选择方法。FIG. 10 is a schematic diagram of a method for selecting a policy and charging rule function PCRF according to an embodiment of the present invention.
图11为本发明实施例提供的一种策略与计费规则功能PCRF的选择装置。FIG. 11 is a schematic diagram of a device for selecting a policy and charging rule function PCRF according to an embodiment of the present invention.
图12为本发明实施例提供的用户设备到HSS中获取组PCRF的IP地址的流程图。FIG. 12 is a flowchart of obtaining an IP address of a group PCRF by a user equipment to an HSS according to an embodiment of the present invention.
图13为本发明实施例提供的基于HSS和重定向DRA的PCRF选择方法。FIG. 13 is a schematic diagram of a PCRF selection method based on HSS and redirected DRA according to an embodiment of the present invention.
图14为本发明实施例提供的基于HSS和代理DRA的PCRF选择方法。 FIG. 14 is a PCRF selection method based on HSS and proxy DRA according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述。The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.
图1为本发明实施例的系统架构。本发明实施例的系统主要包括策略与计费执行功能、PCRF实体、DRA实体、签约属性资源库设备或用户数据资源库设备。FIG. 1 is a system architecture of an embodiment of the present invention. The system of the embodiment of the present invention mainly includes a policy and charging execution function, a PCRF entity, a DRA entity, a subscription attribute resource library device, or a user data resource library device.
策略与计费执行功能具有业务数据流的检测、策略执行和基于流的计费功能。策略与计费执行功能可以是位于网关中的模块,例如,分组数据网络网关(Packet Data Network Gateway,PGW)之中的模块,也可以是单独部署的核心网实体设备。策略与计费执行功能的功能包括执行PCRF下发的PCC策略。The policy and charging enforcement functions have the detection of service data flows, policy enforcement, and flow-based charging functions. The policy and charging execution function may be a module located in the gateway, for example, a module in a Packet Data Network Gateway (PGW), or may be a separately deployed core network entity device. The function of the policy and the charging execution function includes executing the PCC policy delivered by the PCRF.
PCRF主要完成PCC决策和基于流的计费控制等功能,PCRF可以是部署于核心网的实体设备。PCRF实体根据运营商策略、用户签约数据、用户当前的业务信息及本地信息等制定相应的PCC策略。其中,用户签约数据可以从签约属性资源库(Subscription Profile Repository,SPR)或用户数据资源库(User Data Repository,UDR)获取,用户当前的业务信息可以从应用功能实体获取,本地信息可以从PCEF获取。一个PCC策略包括业务数据流的检测规则、门控状态、QoS规则、基于流的计费规则等信息。其中,业务数据流为完成某业务如语音通信的IP流的分类集合,门控状态为分组数据传输的允许/禁止。PCRF最终会将PCC策略下发给PCEF,由PCEF执行PCC策略。The PCRF mainly performs functions such as PCC decision and flow-based charging control. The PCRF can be a physical device deployed in the core network. The PCRF entity formulates a corresponding PCC policy according to the operator policy, the user subscription data, the current service information of the user, and local information. The user subscription data can be obtained from a subscription profile repository (SPR) or a user data repository (UDR). The current service information of the user can be obtained from the application function entity, and the local information can be obtained from the PCEF. . A PCC policy includes information such as detection rules of traffic data flows, gating states, QoS rules, and flow-based charging rules. The service data flow is a classified set of IP flows for completing a service such as voice communication, and the gating state is permission/inhibition of packet data transmission. The PCRF will eventually send the PCC policy to the PCEF, and the PCEF will execute the PCC policy.
DRA分为代理DRA(Proxy DRA)和重定向DRA(Redirect DRA)。其中,对于代理DRA而言,策略与计费执行功能(以下简称PCEF/PGW)和PCRF之间交互的会话建立消息都需要经过代理DRA。而对于重定向DRA而言,重定向DRA无需传输策略与计费执行功能和PCRF之间的消息,只需要向策略与计费执行功能提供PCRF的信息,例如,PCRF的IP地址,策 略与计费执行功能根据PCRF的IP地址与PCRF之间直接通信。DRA is divided into proxy DRA (Proxy DRA) and redirected DRA (Redirect DRA). For the proxy DRA, the session establishment message exchanged between the policy and the charging execution function (hereinafter referred to as PCEF/PGW) and the PCRF needs to pass through the proxy DRA. For the redirected DRA, the redirected DRA does not need to transmit the message between the policy and the charging execution function and the PCRF, and only needs to provide the PCRF information to the policy and charging execution function, for example, the IP address of the PCRF. The billing execution function is directly communicated with the PCRF based on the IP address of the PCRF.
用户信息数据库保存了用户的签约信息或属性,通过Sp接口与PCRF交互,向PCRF提供用户签约信息或属性。可选的,所述用户信息数据库为签约属性资源库(Subscription Profile Repository,SPR)或者用户数据资源库(User Data Repository,UDR)。The user information database stores the subscription information or attributes of the user, interacts with the PCRF through the Sp interface, and provides user subscription information or attributes to the PCRF. Optionally, the user information database is a Subscription Profile Repository (SPR) or a User Data Repository (UDR).
当用户设备(User equipment,UE)接入网络时,UE向基站发送附着请求,基站将此附着请求发送到移动管理实体(Mobility Management Entity,MME),MME发送建立会话请求到服务网关(Serving Gateway,SGW),SGW将此建立会话请求发送到PCEF/PGW,此建立会话请求包含UE标识。然后,PCEF/PGW将包含UE标识的IP-CAN会话建立请求发送给DRA。DRA根据UE标识为UE选择一个PCRF为所述UE服务。策略与计费执行功能根据DRA为所述UE选择的PCRF的IP地址向所述PCRF直接发送IP-CAN会话建立请求(对应重定向DRA的情况),或者策略与计费执行功能向DRA发送IP-CAN会话请求,DRA根据会话请求的UE标识选择PCRF,并将接收到的IP-CAN会话请求消息发送给该PCRF(对应代理DRA的情况)。PCRF收到IP-CAN会话建立请求后,向用户信息数据库获取所述UE的属性,然后,PCRF发送IP-CAN会话建立响应到策略与计费执行功能。通过以上步骤,UE与网络建立会话连接,根据UE标识为UE选择了PCRF,并由策略与计费执行功能来执行所述PCRF的PCC策略。When the user equipment (UE) accesses the network, the UE sends an attach request to the base station, and the base station sends the attach request to the Mobility Management Entity (MME), and the MME sends a setup session request to the serving gateway (Serving Gateway). SGW), the SGW sends the setup session request to the PCEF/PGW, and the setup session request includes the UE identity. The PCEF/PGW then sends an IP-CAN session setup request containing the UE identity to the DRA. The DRA selects a PCRF for the UE to serve the UE according to the UE identity. The policy and charging execution function directly sends an IP-CAN session establishment request (corresponding to redirecting the DRA) to the PCRF according to the IP address of the PCRF selected by the DRA for the UE, or the policy and charging execution function sends an IP to the DRA. - CAN session request, the DRA selects the PCRF according to the UE identity of the session request, and sends the received IP-CAN session request message to the PCRF (in the case of the corresponding proxy DRA). After receiving the IP-CAN session establishment request, the PCRF acquires the attributes of the UE from the user information database, and then the PCRF sends an IP-CAN session establishment response to the policy and charging execution function. Through the above steps, the UE establishes a session connection with the network, selects a PCRF for the UE according to the UE identity, and executes the PCC policy of the PCRF by the policy and charging execution function.
当属于同一个群组的用户设备接入网络时,希望使属于同一个群组的用户设备由相同的PCRF服务,以使群组内的不同用户设备可以采用相同的策略或计费规则。因此,当属于同一个群组的不同的用户设备采用相同的PCRF时,运营商或者设备管理者对群组内用户设备的管理会更加方便、有效。When the user equipments belonging to the same group access the network, it is desirable for the user equipments belonging to the same group to be served by the same PCRF, so that different user equipments in the group can adopt the same policy or charging rule. Therefore, when different user equipments belonging to the same group use the same PCRF, the operator or device manager can manage the user equipment in the group more conveniently and effectively.
图2为本发明实施例提供PCRF选择方法的流程图。FIG. 2 is a flowchart of a method for selecting a PCRF according to an embodiment of the present invention.
21、核心网设备获取第一PCRF的IP地址。其中,所述第一PCRF为为第一用户设备服务的PCRF,所述第一用户设备为群组包括的多个用户设备 中第一个接入网络的用户设备。21. The core network device obtains the IP address of the first PCRF. The first PCRF is a PCRF serving the first user equipment, and the first user equipment is a plurality of user equipments included in the group. The first user device to access the network.
本发明实施例中所述的群组可以是将具有相同的用户属性信息的多个用户设备确定为属于同一群组,例如,具有相同QoS的用户设备确定为同一个群组;或者,具有相同业务类型的用户设备确定为同一个群组;或者,将接入统一接入点的用户设备确定为同一个群组。这种情况下,所述用于标识UE-1所属群组的标识信息可以是所述用户属性信息,例如,可以是QoS,或业务类型,或接入点名称(access point name,APN)等。The group described in the embodiment of the present invention may be that multiple user equipments having the same user attribute information are determined to belong to the same group, for example, user equipments having the same QoS are determined to be the same group; or, have the same The user equipments of the service type are determined to be the same group; or the user equipments accessing the unified access point are determined to be the same group. In this case, the identifier information used to identify the group to which the UE-1 belongs may be the user attribute information, for example, may be QoS, or a service type, or an access point name (APN), etc. .
又如,本发明实施例所述的群组还可以是根据需要组建一个群组,该群组用群组标识进行标识,这种情况下,网络设备建立群组中的用户设备的标识和所述群组标识的对应关系,根据该对应关系和用户设备的标识能够确定用户设备所属的群组。这种情况下,所述用于标识UE-1所属群组的标识信息可以是所述群组标识。For example, the group in the embodiment of the present invention may also be a group that is set up according to requirements, and the group is identified by a group identifier. In this case, the network device establishes the identifier and location of the user equipment in the group. The corresponding relationship between the group identifiers and the group to which the user equipment belongs can be determined according to the correspondence and the identifier of the user equipment. In this case, the identifier information used to identify the group to which the UE-1 belongs may be the group identifier.
又如,本发明实施例所述的群组还可以将相同号段的用户设备划分为一个群组,例如,将18600号段的用户设备划分为一个群组,这种情况下,所述用于标识UE-1所属群组的标识信息可以是所述相同号段。For example, the group device in the embodiment of the present invention may further divide the user equipment of the same segment into a group, for example, divide the user equipment of the 18600 segment into a group. In this case, the use The identification information identifying the group to which the UE-1 belongs may be the same number segment.
又如,本发明实施例所述的群组还可以是将同一家公司的用户划分为一个群组。这种情况,所述用于标识UE-1所属群组的标识信息可以是该标识信息。For another example, the group in the embodiment of the present invention may further divide users of the same company into one group. In this case, the identifier information used to identify the group to which the UE-1 belongs may be the identifier information.
需要说明的是,本发明实施例中所述的群组可以是任意划分的群组,并不限于上述几种情况。It should be noted that the group described in the embodiment of the present invention may be any group that is divided, and is not limited to the above cases.
当然,上述各种情况都可以为群组设置一个群组标识,所述用于标识UE-1所属群组的标识信息可以是该标识信息。Certainly, in the foregoing various situations, a group identifier may be set for the group, and the identifier information used to identify the group to which the UE-1 belongs may be the identifier information.
可选的,本发明所有实施例中群组的定义与本实施例相同。Optionally, the definition of the group in all embodiments of the present invention is the same as the embodiment.
可选的,还可以在用户设备的标识中用特定一位或多位表示同一群组。Optionally, the same group may also be represented by a specific one or more bits in the identifier of the user equipment.
22、所述核心网设备接收第二标识信息。其中,所述第二标识信息为所述第二用户设备的标识信息。可选的,步骤22中,所述核心网设备还可以 接收第三标识信息,其中,所述第三标识信息为用于标识所述群组的标识信息。22. The core network device receives second identification information. The second identifier information is identifier information of the second user equipment. Optionally, in step 22, the core network device is further configured Receiving third identification information, where the third identification information is identification information used to identify the group.
23、所述核心网设备根据所述第二标识信息或第三标识信息确定所述第二用户设备为所述群组包括的用户设备。其中,所述第三标识信息为用于标识所述群组的标识信息。可选的,如果步骤22仅接收到第二标识信息,在步骤23中,核心网设备根据所述第二标识信息以及第二用户设备的签约信息确定所述第二用户设备为所述群组包括的用户设备,所述签约信息存储于用户信息数据库中。可选的,所述用户信息数据库包括SPR或者UDR。如果步骤22还接收到了第三标识信息,则在步骤23中,核心网设备根据所述第三标识信息即可确定所述第二用户设备为所述群组包括的用户设备。The core network device determines, according to the second identifier information or the third identifier information, that the second user equipment is a user equipment included in the group. The third identifier information is identifier information used to identify the group. Optionally, if the step 22 only receives the second identifier information, in step 23, the core network device determines, according to the second identifier information and the subscription information of the second user equipment, that the second user equipment is the group The user equipment included, the subscription information is stored in a user information database. Optionally, the user information database includes an SPR or a UDR. If the third identifier information is received in the step 22, the core network device may determine, according to the third identifier information, that the second user equipment is the user equipment included in the group.
24所述核心网设备根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程。The core network device triggers a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF.
通过以上步骤,核心网设备获取第一PCRF的IP地址,所述核心网设备接收第二标识信息,所述核心网设备根据所述第二标识信息或第三标识信息确定所述第二用户设备为所述群组包括的用户设备,所述核心网设备根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程,由此,通过核心网设备判断所述第二用户设备属于群组,则核心网设备将根据所述第一PCRF的IP地址触发第二用户设备与所述第一PCRF的会话建立,因此,属于同一个群组的不同用户设备均选择了同样的PCRF。The core network device obtains the IP address of the first PCRF, and the core network device receives the second identifier information, where the core network device determines the second user equipment according to the second identifier information or the third identifier information. For the user equipment included in the group, the core network device triggers a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF, and thus, through the core network The device determines that the second user equipment belongs to the group, and the core network device triggers the session establishment of the second user equipment and the first PCRF according to the IP address of the first PCRF, and therefore, belongs to the same group. The same PCRF is selected for the user equipment.
在可选的实施例中,所述核心网设备获取第一PCRF的IP地址之后,所述核心网设备接收第二标识信息之前,还包括:所述核心网设备存储所述第一PCRF的IP地址和所述第三标识信息的对应关系;所述核心网设备为所述第二用户设备触发与所述第一PCRF的会话建立流程,包括:所述核心网设备根据所述对应关系获取所述第一PCRF的IP地址,并根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流 程。在可选的实施例中,所述存储所述服务于第一个接入网络的组用户设备的PCRF的IP地址包括将所述服务于第一个接入网络的组用户设备的PCRF的IP地址与所述群组的标识信息相关联存储。In an optional embodiment, after the core network device obtains the IP address of the first PCRF, before the core network device receives the second identifier information, the method further includes: the core network device storing the IP address of the first PCRF Corresponding relationship between the address and the third identifier information; the core network device triggering a session establishment process with the first PCRF for the second user equipment, where the core network device obtains the location according to the correspondence relationship An IP address of the first PCRF, and triggering a session establishment flow with the first PCRF for the second user equipment according to the IP address of the first PCRF Cheng. In an optional embodiment, the IP address of the PCRF storing the group user equipment serving the first access network includes the IP of the PCRF of the group user equipment serving the first access network. The address is stored in association with the identification information of the group.
在可选的实施例中,所述核心网设备为所述第二用户设备触发与所述第一PCRF的会话建立流程,包括:所述核心网设备根据所述对应关系,确定由所述第一PCRF为所述第二用户设备服务;以及根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程。In an optional embodiment, the core network device triggers a session establishment process with the first PCRF for the second user equipment, where the core network device determines, according to the correspondence, that the a PCRF serving the second user equipment; and triggering a session establishment procedure with the first PCRF for the second user equipment according to the IP address of the first PCRF.
在可选的实施例中,所述核心网设备存储所述第一PCRF的IP地址和所述第三标识信息的对应关系,包括:所述核心网设备根据所述第一标识信息和存储的所述第一用户设备的签约信息确定所述第一用户设备为所述群组中的用户设备,所述核心网设备存储所述第一PCRF的IP地址和所述第三标识信息的对应关系。在可选的实施例中,当获取服务于接入网络的用户设备的PCRF的IP地址后,确定是否存储过服务于所述用户设备所属组的任意一个用户设备的PCRF的IP地址,如果没有存储所述用户设备所属组的任意一个用户设备的PCRF的IP地址,则确定所述用户设备是所述组第一个接入网络的用户设备,即第一个接入网络的组用户设备,然后存储所述服务于第一个接入网络的组用户设备的PCRF的IP地址,优选的,存储所述PCRF的IP地址与所述第三标识的对应关系。如果存储有所述用户设备所属组的任意一个用户设备的PCRF的IP地址,则确定所述接入网络的用户设备不是所述用户设备所属组的第一个接入网络的用户设备,在此情况下,则不必存储所述服务于接入网络的用户设备的PCRF的IP地址。In an optional embodiment, the core network device stores the correspondence between the IP address of the first PCRF and the third identifier information, including: the core network device according to the first identifier information and the stored The subscription information of the first user equipment determines that the first user equipment is a user equipment in the group, and the core network equipment stores a correspondence between an IP address of the first PCRF and the third identifier information. . In an optional embodiment, after obtaining the IP address of the PCRF of the user equipment serving the access network, determining whether to store the IP address of the PCRF serving any one of the user equipments to which the user equipment belongs, if not And storing the IP address of the PCRF of the user equipment of the user equipment group, and determining that the user equipment is the user equipment of the first access network of the group, that is, the group user equipment of the first access network, Then storing the IP address of the PCRF of the group user equipment serving the first access network, and preferably storing the correspondence between the IP address of the PCRF and the third identifier. If the IP address of the PCRF of the user equipment of the group to which the user equipment belongs is stored, it is determined that the user equipment of the access network is not the user equipment of the first access network of the group to which the user equipment belongs, where In this case, it is not necessary to store the IP address of the PCRF of the user equipment serving the access network.
在可选的实施例中,所述核心网设备存储所述第一PCRF的IP地址和所述第三标识信息的对应关系之前,还包括:所述核心网设备接收第一标识信息和第三标识信息,所述第一标识信息用于标识所述第一用户设备。可选的,所述核心网设备接收第一标识信息和第三标识信息可以是在同一个步骤中接收,也可以在不同的步骤中分别接收。所述核心网设备存储所述第一 PCRF的IP地址和所述第三标识信息的对应关系,包括:所述用户信息数据库设备根据所述第一标识信息和所述第三标识信息确定所述第一用户设备为所述群组中的用户设备,所述核心网设备存储所述第一PCRF的IP地址和所述第三标识信息的对应关系。所述用户信息数据库设备可以根据所述第一标识信息和所述用户设备的签约信息确定第一用户设备所属群组的标识信息,并根据所述第三标识信息和第一用户设备所属群组的标识信息确定所述第一用户设备为所述群组中的用户设备。In an optional embodiment, before the core network device stores the correspondence between the IP address of the first PCRF and the third identifier information, the method further includes: the core network device receiving the first identifier information and the third Identification information, where the first identification information is used to identify the first user equipment. Optionally, the receiving, by the core network device, the first identifier information and the third identifier information may be received in the same step, or may be separately received in different steps. The core network device stores the first The mapping between the IP address of the PCRF and the third identifier information includes: determining, by the user information database device, that the first user equipment is in the group according to the first identifier information and the third identifier information The user equipment, the core network device stores a correspondence between an IP address of the first PCRF and the third identifier information. The user information database device may determine the identification information of the group to which the first user equipment belongs according to the first identifier information and the subscription information of the user equipment, and according to the third identifier information and the group to which the first user equipment belongs The identification information determines that the first user equipment is a user equipment in the group.
在可选的实施例中,所述核心网设备为用户信息数据库设备;所述核心网设备获取第一PCRF的IP地址,包括:所述用户信息数据库接收所述第一PCRF发送的所述第一PCRF的IP地址。In an optional embodiment, the core network device is a user information database device, and the core network device acquires an IP address of the first PCRF, where the user information database receives the first The IP address of a PCRF.
在可选的实施例中,所述核心网设备获取第一PCRF的IP地址,包括:所述核心网设备接收第一标识信息;以及,所述核心网设备为所述第一标识信息标识的所述第一用户设备选择第一PCRF并获取所述第一PCRF的IP地址。In an optional embodiment, the acquiring, by the core network device, the IP address of the first PCRF, the core network device receiving the first identifier information, and the core network device identifying the first identifier information The first user equipment selects a first PCRF and acquires an IP address of the first PCRF.
在可选的实施例中,所述核心网设备为策略和计费执行功能PCEF;所述核心网设备获取第一PCRF的IP地址,包括:所述策略和计费执行功能接收DRA设备发送的第一PCRF的IP地址,其中,所述第一PCRF为所述DRA设备为所述第一用户设备选择的PCRF。In an optional embodiment, the core network device is a policy and charging execution function PCEF; the core network device acquires an IP address of the first PCRF, and the method includes: the policy and the charging execution function are sent by the DRA device. The IP address of the first PCRF, wherein the first PCRF is a PCRF selected by the DRA device for the first user equipment.
在可选的实施例中,所述核心网设备为策略与计费执行功能PCEF,所述核心网设备为所述第二用户设备触发与所述第一PCRF的会话建立流程之前,还包括:所述PCEF接收DRA设备发送的第二PCRF的IP地址;所述PCEF根据接收的第三标识信息和所述对应关系确定由所述第一PCRF为所述第二用户设备服务,其中,所述对应关系为所述PCEF存储的所述第一PCRF的IP地址和所述第三标识信息的对应关系;所述PCEF向所述DRA设备发送所述第一PCRF的IP地址,所述第一PCRF的IP地址用于所述DRA设备将所述第二PCRF的IP地址更新为所述第一PCRF的IP地址。 In an optional embodiment, the core network device is a policy and charging execution function PCEF, and the core network device, before the second user equipment triggers a session establishment process with the first PCRF, further includes: Receiving, by the PCEF, an IP address of a second PCRF sent by the DRA device, where the PCEF determines, according to the received third identifier information and the correspondence, that the first PCRF serves the second user equipment, where the Corresponding relationship is the correspondence between the IP address of the first PCRF and the third identifier information stored by the PCEF; the PCEF sends the IP address of the first PCRF to the DRA device, the first PCRF The IP address is used by the DRA device to update the IP address of the second PCRF to the IP address of the first PCRF.
在可选的实施例中,所述核心网设备接收第二标识信息时,所述核心网设备还接收第三标识信息;所述核心网设备根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程,包括:所述核心网设备根据接收的所述第三标识信息和所述对应关系,确定为所述第二用户设备服务的第一PCRF的IP地址,并根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程。In an optional embodiment, when the core network device receives the second identifier information, the core network device further receives the third identifier information, where the core network device is configured according to the IP address of the first PCRF. And the second user equipment triggers a session establishment process with the first PCRF, where the core network device determines, according to the received third identifier information and the corresponding relationship, that the second user equipment serves the first An IP address of the PCRF, and triggering a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF.
在可选的实施例中,所述核心网设备为所述第二用户设备触发与所述第一PCRF的会话建立流程,包括:所述核心网设备向所述第二PCRF发送包含所述第一PCRF的IP地址的消息,所述第二PCRF将所述第二用户设备重定向至所述第一PCRF;或者所述核心网设备向为所述第二用户设备服务的策略和计费执行功能发送包含所述第一PCRF的IP地址的消息,为所述第二用户设备触发与所述第一PCRF的会话建立流程;或者所述核心网设备根据所述第一PCRF的IP地址,向所述第一PCRF发送会话建立请求,为所述第二用户设备触发与所述第一PCRF的会话建立流程。In an optional embodiment, the core network device triggers a session establishment process with the first PCRF for the second user equipment, where the core network device sends the second PCRF to the second PCRF. a message of an IP address of a PCRF, the second PCRF redirecting the second user equipment to the first PCRF; or the core network device performing a policy and charging for serving the second user equipment The function sends a message including the IP address of the first PCRF, triggering a session establishment procedure with the first PCRF for the second user equipment; or the core network device according to the IP address of the first PCRF The first PCRF sends a session establishment request, and triggers a session establishment process with the first PCRF for the second user equipment.
在可选的实施例中,所述核心网设备为所述第二用户设备触发与所述第一PCRF的会话建立流程之后,还包括:所述核心网设备确定所述第二用户设备去附着;以及所述核心网设备从所述第三标识信息与所述群组中所有用户设备的标识信息的对应关系中,删除所述第二标识信息。In an optional embodiment, the core network device, after the second user equipment triggers a session establishment process with the first PCRF, further includes: the core network device determining that the second user equipment is detached And deleting, by the core network device, the second identifier information from a correspondence between the third identifier information and the identifier information of all user equipments in the group.
在可选的实施例中,所述核心网设备为所述第二用户设备触发与所述第一PCRF的会话建立流程之后,还包括:所述核心网设备确定所述群组中所有用户设备去附着后,删除所述第三标识信息与所述第一PCRF的IP地址的对应关系;或者,所述核心网设备接收到删除所述第三标识信息与所述第一PCRF的IP地址的对应关系的请求消息后,删除所述第三标识信息与所述第一PCRF的IP地址的对应关系。In an optional embodiment, after the core network device triggers a session establishment process with the first PCRF, the core network device further includes: determining, by the core network device, all user devices in the group After the detachment, the corresponding relationship between the third identifier information and the IP address of the first PCRF is deleted; or the core network device receives the third identifier information and the IP address of the first PCRF. After the request message of the corresponding relationship, the correspondence between the third identifier information and the IP address of the first PCRF is deleted.
在可选的实施例中,所述确定所述第二用户设备为所述群组中包括的用户设备,包括:根据存储的所述第二用户设备的签约信息和接收到的所述第 二用户设备的标识信息,确定所述第二用户设备为所述群组中包括的用户设备;或者根据所述第三标识信息确定所述第二用户设备为所述群组中包括的用户设备;或者根据所述第二标识信息和所述第三标识信息确定所述第二用户设备属于所述群组。In an optional embodiment, the determining that the second user equipment is a user equipment included in the group includes: according to the stored subscription information of the second user equipment, and the received Determining, by the second user equipment, the user equipment that is included in the group, or determining, according to the third identifier information, that the second user equipment is the user equipment included in the group Or determining, according to the second identifier information and the third identifier information, that the second user equipment belongs to the group.
图3为本发明实施例提供的核心网设备,所述核心网设备用于执行图2实施例的PCRF选择方法。此装置包括与处理单元301耦合的接收单元302、发送单元303和存储单元304。FIG. 3 is a core network device according to an embodiment of the present invention, where the core network device is used to perform the PCRF selection method in the embodiment of FIG. 2. This device includes a receiving unit 302, a transmitting unit 303, and a storage unit 304 coupled to the processing unit 301.
所述处理单元301,用于获取第一PCRF的IP地址。其中,所述第一PCRF为为第一用户设备服务的PCRF,所述第一用户设备为群组包括的多个用户设备中第一个接入网络的用户设备。本实施中群组的定义与图3实施例一致,不再赘述。The processing unit 301 is configured to obtain an IP address of the first PCRF. The first PCRF is a PCRF serving the first user equipment, and the first user equipment is a user equipment that is the first one of the plurality of user equipments included in the group. The definition of the group in this embodiment is the same as that in the embodiment of FIG. 3 and will not be described again.
所述接收单元302,用于接收第二标识信息,其中,所述第二标识信息为所述第二用户设备的标识信息;The receiving unit 302 is configured to receive second identifier information, where the second identifier information is identifier information of the second user equipment;
所述处理单元301,还用于根据所述第二标识信息或第三标识信息确定所述第二用户设备为所述群组包括的用户设备,其中,所述第三标识信息为用于标识所述群组的标识信息;以及The processing unit 301 is further configured to determine, according to the second identifier information or the third identifier information, that the second user equipment is a user equipment that is included in the group, where the third identifier information is used for identifier Identification information of the group;
根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程。And according to the IP address of the first PCRF, triggering a session establishment process with the first PCRF for the second user equipment.
核心网设备获取第一PCRF的IP地址,所述核心网设备接收第二标识信息,所述核心网设备根据所述第二标识信息或第三标识信息确定所述第二用户设备为所述群组包括的用户设备,所述核心网设备根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程,由此,通过核心网设备判断所述第二用户设备属于群组,则核心网设备将根据所述第一PCRF的IP地址触发第二用户设备与所述第一PCRF的会话建立,因此,属于同一个群组的不同用户设备均选择了同样的PCRF。The core network device obtains the IP address of the first PCRF, and the core network device receives the second identifier information, where the core network device determines, according to the second identifier information or the third identifier information, that the second user equipment is the group a user equipment that is included in the group, the core network device triggers a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF, and thus, the core network device determines the The second user equipment belongs to the group, and the core network device triggers the session establishment of the second user equipment and the first PCRF according to the IP address of the first PCRF. Therefore, different user equipments belonging to the same group are selected. The same PCRF.
在可选的实施例中,所述存储单元,用于存储所述第一PCRF的IP地 址和所述第三标识信息的对应关系;所述处理单元是设置为按如下方式为所述第二用户设备触发与所述第一PCRF的会话建立流程:根据所述对应关系获取所述第一PCRF的IP地址,并根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程。In an optional embodiment, the storage unit is configured to store an IP address of the first PCRF Corresponding relationship between the address and the third identifier information; the processing unit is configured to trigger a session establishment process with the first PCRF for the second user equipment as follows: acquiring the first according to the correspondence relationship An IP address of a PCRF, and triggering a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF.
在可选的实施例中,所述处理单元是设置为按如下方式为所述第二用户设备触发与所述第一PCRF的会话建立流程:根据所述存储单元存储的所述对应关系,确定由所述第一PCRF为所述第二用户设备服务;以及根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程。In an optional embodiment, the processing unit is configured to trigger a session establishment process with the first PCRF for the second user equipment according to the following manner: determining, according to the correspondence stored by the storage unit, Serving the second user equipment by the first PCRF; and triggering a session establishment procedure with the first PCRF for the second user equipment according to the IP address of the first PCRF.
在可选的实施例中,所述存储单元还用于,存储所述第一用户设备的签约信息;所述处理单元还用于,根据所述第一标识信息和所述存储单元存储的所述签约信息确定所述第一用户设备为所述群组中的用户设备,将所述第一PCRF的IP地址和所述第三标识信息的对应关系存储到所述存储单元。In an optional embodiment, the storage unit is further configured to: store the subscription information of the first user equipment; the processing unit is further configured to: according to the first identification information and the storage unit of the storage unit The signing information determines that the first user equipment is a user equipment in the group, and stores a correspondence between an IP address of the first PCRF and the third identifier information to the storage unit.
在可选的实施例中,所述接收单元还用于,接收第一标识信息和第三标识信息,所述第一标识信息用于标识所述第一用户设备;所述处理单元还用于,根据所述接收单元接收的所述第一标识信息和所述第三标识信息确定所述第一用户设备为所述群组中的用户设备,将所述第一PCRF的IP地址和所述第三标识信息的对应关系存储到所述存储单元。In an optional embodiment, the receiving unit is further configured to receive the first identifier information and the third identifier information, where the first identifier information is used to identify the first user equipment; Determining, according to the first identifier information and the third identifier information that are received by the receiving unit, that the first user equipment is a user equipment in the group, and the IP address of the first PCRF and the A correspondence relationship of the third identification information is stored to the storage unit.
在可选的实施例中,所述接收单元还用于,接收所述第一PCRF发送的所述第一PCRF的IP地址;所述处理单元获取的所述第一PCRF的IP地址是所述接收单元接收的。In an optional embodiment, the receiving unit is further configured to: receive an IP address of the first PCRF sent by the first PCRF; the IP address of the first PCRF obtained by the processing unit is the Received by the receiving unit.
在可选的实施例中,所述接收单元还用于,接收第一标识信息;所述处理单元是设置为按如下方式获取所述第一PCRF的IP地址:为所述接收单元接收的所述第一标识信息标识的所述第一用户设备选择第一PCRF并获取所述第一PCRF的IP地址。In an optional embodiment, the receiving unit is further configured to: receive the first identifier information; the processing unit is configured to acquire an IP address of the first PCRF in a manner that is received by the receiving unit The first user equipment that is identified by the first identifier information selects the first PCRF and acquires an IP address of the first PCRF.
在可选的实施例中,所述接收单元还用于,接收DRA设备发送的第一 PCRF的IP地址,其中,所述第一PCRF为所述DRA设备为所述第一用户设备选择的PCR实体;所述处理单元获取的所述第一PCRF的IP地址是所述接收单元接收的。In an optional embodiment, the receiving unit is further configured to receive the first sent by the DRA device. The IP address of the PCRF, wherein the first PCRF is a PCR entity selected by the DRA device for the first user equipment; the IP address of the first PCRF obtained by the processing unit is received by the receiving unit .
在可选的实施例中,所述接收单元还用于,接收DRA设备发送的第二PCRF的IP地址;所述处理单元还用于,为所述第二用户设备触发与所述第一PCRF的会话建立流程之前,根据接收的第三标识信息和对应关系确定由所述第一PCRF为所述第二用户设备服务,其中,所述对应关系为所述第一PCRF的IP地址和所述第三标识信息的对应关系;所述发送单元,用于向所述DRA设备发送所述第一PCRF的IP地址,所述第一PCRF的IP地址用于所述DRA设备将所述第二PCRF的IP地址更新为所述第一PCRF的IP地址。In an optional embodiment, the receiving unit is further configured to: receive an IP address of the second PCRF sent by the DRA device; the processing unit is further configured to trigger the first PCRF with the second user equipment Before the session establishment process, determining, by the first PCRF, the second user equipment, according to the received third identifier information and the correspondence, wherein the correspondence is an IP address of the first PCRF and the Corresponding relationship of the third identifier information; the sending unit, configured to send an IP address of the first PCRF to the DRA device, where an IP address of the first PCRF is used by the DRA device to use the second PCRF The IP address is updated to the IP address of the first PCRF.
在可选的实施例中,所述接收单元接收第二标识信息时,还接收第三标识信息;所述处理单元是设置为按如下方式为所述第二用户设备触发与所述第一PCRF的会话建立流程:根据所述接收单元接收的所述第三标识信息和对应关系,确定为所述第二用户设备服务的第一PCRF的IP地址,并根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程,其中,所述对应关系为所述存储单元中存储的所述第一PCRF的IP地址和所述第三标识信息的对应关系。In an optional embodiment, when the receiving unit receives the second identifier information, the third identifier information is further received; the processing unit is configured to trigger the first user equipment with the first PCRF as follows: a session establishment process: determining, according to the third identifier information and the correspondence relationship received by the receiving unit, an IP address of a first PCRF served by the second user equipment, and according to an IP address of the first PCRF, And triggering, by the second user equipment, a session establishment process with the first PCRF, where the corresponding relationship is a correspondence between an IP address of the first PCRF and the third identifier information stored in the storage unit. relationship.
在可选的实施例中,所述处理单元是设置为按如下方式为所述第二用户设备触发与所述第一PCRF的会话建立流程:所述处理单元通过所述发送单元向所述第二PCRF发送所述第一PCRF的IP地址,触发所述第二PCRF将所述第二用户设备重定向至所述第一PCRF的过程;或者所述处理单元通过所述发送单元向为所述第二用户设备服务的PCEF发送所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程;或者所述处理单元根据所述第一PCRF的IP地址,通过所述发送单元向所述第一PCRF发送会话建立请求,为所述第二用户设备触发与所述第一PCRF的会话建立流程。 In an optional embodiment, the processing unit is configured to trigger a session establishment process with the first PCRF for the second user equipment in the following manner: the processing unit sends the Transmitting, by the second PCRF, an IP address of the first PCRF, and triggering, by the second PCRF, a process of redirecting the second user equipment to the first PCRF; or The PCEF served by the second user equipment sends the IP address of the first PCRF, triggers a session establishment procedure with the first PCRF for the second user equipment, or the processing unit according to the IP address of the first PCRF And sending, by the sending unit, a session establishment request to the first PCRF, and triggering, by the second user equipment, a session establishment procedure with the first PCRF.
在可选的实施例中,所述处理单元还用于,为所述第二用户设备触发与所述第一PCRF的会话建立流程之后,确定所述第二用户设备去附着;以及从所述第三标识信息与所述群组中所有用户设备的标识信息的对应关系中,删除所述第二标识信息。In an optional embodiment, the processing unit is further configured to: after the second user equipment triggers a session establishment process with the first PCRF, determine that the second user equipment is detached; The second identifier information is deleted from the correspondence between the third identifier information and the identifier information of all the user equipments in the group.
在可选的实施例中,所述处理单元为所述第二用户设备触发与所述第一PCRF的会话建立流程之后,在确定所述群组中所有用户设备去附着后,删除所述第三标识信息与所述第一PCRF的IP地址的对应关系;或者,在接收到删除所述第三标识信息与所述第一PCRF的IP地址的对应关系的请求消息后,删除所述第三标识信息与所述第一PCRF的IP地址的对应关系。In an optional embodiment, the processing unit, after the second user equipment triggers a session establishment process with the first PCRF, deletes the first after determining that all user equipments in the group are detached. Corresponding relationship between the third identifier information and the IP address of the first PCRF; or deleting the third message after receiving the request message for deleting the correspondence between the third identifier information and the IP address of the first PCRF Correspondence between the identification information and the IP address of the first PCRF.
在可选的实施例中,所述处理单元是设置为按如下方式确定所述第二用户设备为所述群组中包括的用户设备:根据存储的所述第二用户设备的签约信息和接收到的所述第二用户设备的标识信息,确定所述第二用户设备为所述群组中包括的用户设备;或者根据所述第三标识信息确定所述第二用户设备为所述群组中包括的用户设备;或者根据所述第二标识信息和所述第三标识信息确定所述第二用户设备属于所述群组。In an optional embodiment, the processing unit is configured to determine, according to the manner, that the second user equipment is a user equipment included in the group: according to the stored subscription information and the second user equipment Determining, by the identifier information of the second user equipment, the second user equipment is a user equipment included in the group; or determining, according to the third identifier information, that the second user equipment is the group The user equipment included in the network device; or determining, according to the second identifier information and the third identifier information, that the second user equipment belongs to the group.
在可选的实现方式中,所述处理单元301可以是处理器。所述处理器具体可以是:基带处理器、数字信号处理器(Digital Signal Processor,DSP)、现场可编程门阵列(Field Programmable Gata Array,FPGA)或中央处理机(Central Processing Unit,CPU)。所述接收单元302可以是接收器(receiver),所述发送单元303可以是发射器(transmitter)。所述接收单元302和发送单元303也可以由收发机(transceiver)实现。所述接收器、发射器和收发机可以是射频电路或包含所述处理器和射频电路的组合。In an alternative implementation, the processing unit 301 can be a processor. The processor may be specifically a baseband processor, a digital signal processor (DSP), a Field Programmable Gata Array (FPGA), or a Central Processing Unit (CPU). The receiving unit 302 can be a receiver, and the sending unit 303 can be a transmitter. The receiving unit 302 and the transmitting unit 303 can also be implemented by a transceiver. The receiver, transmitter and transceiver may be radio frequency circuits or comprise a combination of the processor and radio frequency circuits.
在可选的实施方式中,图3实施例提供的装置可以包括处理器和接收器,所述处理器,用于获取第一PCRF的IP地址,其中,所述第一PCRF为为第一用户设备服务的PCRF,所述第一用户设备为群组包括的多个用户设备中第一个接入网络的用户设备。所述接收器用于接收第二标识信息,其中,所 述第二标识信息为所述第二用户设备的标识信息。所述处理器还用于根据所述第二标识信息或第三标识信息确定所述第二用户设备为所述群组包括的用户设备,其中,所述第三标识信息为用于标识所述群组的标识信息;以及根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程In an optional implementation, the apparatus provided in the embodiment of FIG. 3 may include a processor and a receiver, where the processor is configured to acquire an IP address of the first PCRF, where the first PCRF is a first user. The PCRF of the device service, where the first user equipment is the user equipment of the first one of the plurality of user equipments included in the group. The receiver is configured to receive second identification information, where The second identifier information is identifier information of the second user equipment. The processor is further configured to determine, according to the second identifier information or the third identifier information, that the second user equipment is a user equipment that is included in the group, where the third identifier information is used to identify the Identification information of the group; and triggering a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF
下面提供一些基于不同网元来实现上述实施例的方法。Some methods for implementing the above embodiments based on different network elements are provided below.
图4为签约属性资源库(Subscribe Profile Repository,SPR)或用户数据资源库(User Data Repository,UDR)选择PCRF的方法,具体包括如下步骤。4 is a method for selecting a PCRF by a Subscriber Profile Repository (SPR) or a User Data Repository (UDR), and specifically includes the following steps.
401.当用户设备UE-1接入网络时,策略与计费执行功能1接收关于UE-1的附着请求消息,其中,所述附着请求消息包含UE-1的标识。401. When the user equipment UE-1 accesses the network, the policy and charging execution function 1 receives an attach request message regarding UE-1, wherein the attach request message includes an identifier of UE-1.
可选的,策略与计费执行功能1可以是单独部署的PCEF实体,也可以是部署其他网络实体,例如PGW,上的具有PCEF功能的功能模块。Optionally, the policy and charging execution function 1 may be a separately deployed PCEF entity, or may be a PCEF-enabled functional module deployed on another network entity, such as a PGW.
可选的,所述附着消息还可以包含用于标识群组的标识信息。Optionally, the attach message may further include identifier information used to identify the group.
其中,UE-1的标识是用于标识UE-1的。可选的,所述UE-1的标识可以为国际移动用户识别码(International Mobile Subscriber Identity,IMSI)或者UE-1的IP地址等。The identifier of UE-1 is used to identify UE-1. Optionally, the identifier of the UE-1 may be an International Mobile Subscriber Identity (IMSI) or an IP address of the UE-1.
例如,本发明实施例中所述的群组可以是将具有相同的用户属性信息的多个用户设备确定为属于同一群组,例如,具有相同QoS的用户设备确定为同一个群组;或者,具有相同业务类型的用户设备确定为同一个群组;或者,将接入统一接入点的用户设备确定为同一个群组。这种情况下,所述用于标识UE-1所属群组的标识信息可以是所述用户属性信息,例如,可以是QoS,或业务类型,或接入点名称(access point name,APN)等。For example, the group described in the embodiment of the present invention may be that multiple user equipments having the same user attribute information are determined to belong to the same group, for example, user equipments having the same QoS are determined to be the same group; or The user equipments having the same service type are determined to be the same group; or the user equipments accessing the unified access point are determined to be the same group. In this case, the identifier information used to identify the group to which the UE-1 belongs may be the user attribute information, for example, may be QoS, or a service type, or an access point name (APN), etc. .
又如,本发明实施例所述的群组还可以是根据需要组建一个群组,该群组用群组标识进行标识,这种情况下,网络设备建立群组中的用户设备的标 识和所述群组标识的对应关系,根据该对应关系和用户设备的标识能够确定用户设备所属的群组。这种情况下,所述用于标识UE-1所属群组的标识信息可以是所述群组标识。For example, the group in the embodiment of the present invention may also be a group that is set up according to requirements, and the group is identified by a group identifier. In this case, the network device establishes the label of the user equipment in the group. The corresponding relationship between the identifier and the group identifier is determined, and the group to which the user equipment belongs can be determined according to the correspondence and the identifier of the user equipment. In this case, the identifier information used to identify the group to which the UE-1 belongs may be the group identifier.
又如,本发明实施例所述的群组还可以将相同号段的用户设备划分为一个群组,例如,将18600号段的用户设备划分为一个群组,这种情况下,所述用于标识UE-1所属群组的标识信息可以是所述相同号段。For example, the group device in the embodiment of the present invention may further divide the user equipment of the same segment into a group, for example, divide the user equipment of the 18600 segment into a group. In this case, the use The identification information identifying the group to which the UE-1 belongs may be the same number segment.
又如,本发明实施例所述的群组还可以是将同一家公司的用户划分为一个群组。这种情况,所述用于标识UE-1所属群组的标识信息可以是该标识信息。For another example, the group in the embodiment of the present invention may further divide users of the same company into one group. In this case, the identifier information used to identify the group to which the UE-1 belongs may be the identifier information.
需要说明的是,本发明实施例中所述的群组可以是任意划分的群组,并不限于上述几种情况。It should be noted that the group described in the embodiment of the present invention may be any group that is divided, and is not limited to the above cases.
当然,上述各种情况都可以为群组设置一个群组标识,所述用于标识UE-1所属群组的标识信息可以是该标识信息。Certainly, in the foregoing various situations, a group identifier may be set for the group, and the identifier information used to identify the group to which the UE-1 belongs may be the identifier information.
可选的,还可以在用户设备的标识中用特定一位或多位表示同一群组。Optionally, the same group may also be represented by a specific one or more bits in the identifier of the user equipment.
其中,所述用于标识UE-1所属群组的标识信息可以是群组的标识,或者,所述群组的属性信息。The identifier information used to identify the group to which the UE-1 belongs may be an identifier of the group, or attribute information of the group.
402.策略与计费执行功能1向DRA发送IP-CAN会话建立请求消息。所述DRA根据UE-1的标识为UE-1选择PCRF-1。所述DRA可以将该IP-CAN会话建立请求消息发送到PCRF-1。其中,所述IP-CAN会话建立请求消息包含UE-1标识。402. The Policy and Charging Enforcement Function 1 sends an IP-CAN Session Establishment Request message to the DRA. The DRA selects PCRF-1 for UE-1 according to the identity of UE-1. The DRA may send the IP-CAN Session Setup Request message to PCRF-1. The IP-CAN session establishment request message includes a UE-1 identifier.
所述DRA可以根据所述IMSI或者UE-1的IP地址为所述UE-1选择PCRF-1。例如,DRA根据UE-1的IP地址的号码段来为UE-1选择PCRF-1。The DRA may select PCRF-1 for the UE-1 according to the IP address of the IMSI or UE-1. For example, the DRA selects PCRF-1 for UE-1 based on the number segment of the IP address of UE-1.
可选的,所述IP-CAN会话建立请求消息还包含所述UE-1所属群组的群组标识。Optionally, the IP-CAN session establishment request message further includes a group identifier of the group to which the UE-1 belongs.
403.PCRF-1向用户信息数据库发送属性请求消息。其中,所述属性请求消息包含PCRF-1的IP地址和UE-1的标识。 403. PCRF-1 sends an attribute request message to the user information database. The attribute request message includes an IP address of the PCRF-1 and an identifier of the UE-1.
本实施例中,属性请求消息包含PCRF-1的IP地址和UE-1的标识能够使用户信息数据库根据UE-1的标识向PCRF-1提供UE-1的属性信息。In this embodiment, the attribute request message includes the IP address of the PCRF-1 and the identifier of the UE-1, so that the user information database provides the attribute information of the UE-1 to the PCRF-1 according to the identifier of the UE-1.
可选的,所述属性请求消息还包含UE-1所属群组的标识信息。Optionally, the attribute request message further includes identifier information of a group to which the UE-1 belongs.
404.当用户信息数据库接收到PCRF-1发送的属性请求(profile request)消息后,用户信息数据库存储组PCRF的IP地址。所述用户信息数据库包括SPR或者UDR。404. After the user information database receives the profile request message sent by the PCRF-1, the user information database stores the IP address of the group PCRF. The user information database includes an SPR or a UDR.
进一步地,用户信息数据库在接收到PCRF-1发送的属性请求消息后,确定用户信息数据库没有存储服务于所述群组的任意用户设备的PCRF的IP地址,此时,UE-1可以视作所述组的第一个接入网络的用户设备,则用户信息数据库存储所述PCRF-1的IP地址。Further, after receiving the attribute request message sent by the PCRF-1, the user information database determines that the user information database does not store the IP address of the PCRF serving any user equipment of the group. In this case, the UE-1 may be regarded as The first user of the group accesses the user equipment of the network, and the user information database stores the IP address of the PCRF-1.
具体的,所述用户信息数据库存储所述用于标识UE-1所属群组的标识信息和所述PCRF-1的IP地址的对应关系。这样,在所述群组的第二用户设备接入网络后,用户信息数据库能够根据该对应关系以及用于标识UE-1所属群组的标识信息将所述PCRF1确定为为所述第二用户设备服务的PCRF。例如,可以存储<标识信息,PCRF-1的IP地址>。Specifically, the user information database stores the correspondence between the identifier information used to identify the group to which the UE-1 belongs and the IP address of the PCRF-1. In this way, after the second user equipment of the group accesses the network, the user information database can determine the PCRF1 as the second user according to the correspondence and the identifier information used to identify the group to which the UE-1 belongs. PCRF for device services. For example, <identification information, IP address of PCRF-1> can be stored.
其中,所述标识信息可以通过步骤403的所述属性请求消息中包含UE-1的标识获得。具体的,由于用户信息数据库上存储有用户设备的签约信息,所述签约信息包含能够确定所述UE-1为所述群组中的用户设备的属性信息。例如,所述签约信息包含用户允许的业务标识、业务之间的优先级、QoS、计费相关的信息、用户类别、IP多媒体子系统信令优先级、以及群组标识至少之一等用户设备的属性信息。因此,用户信息数据库可以根据UE-1的标识以及UE-1的签约信息获取用于标识UE-1所属群组的标识信息。其中,所述签约信息是用户与运营商签订服务合同后,存储到所述用户信息数据库上的。The identifier information may be obtained by using the identifier of the UE-1 in the attribute request message of step 403. Specifically, the subscription information includes the attribute information that can determine that the UE-1 is the user equipment in the group, because the subscription information of the user equipment is stored in the user information database. For example, the subscription information includes user identification allowed by the user, priority between the service, QoS, charging related information, user category, IP multimedia subsystem signaling priority, and at least one of the group identifiers. Attribute information. Therefore, the user information database may obtain the identification information for identifying the group to which the UE-1 belongs according to the identifier of the UE-1 and the subscription information of the UE-1. The subscription information is stored in the user information database after the user signs a service contract with the operator.
可选的,所述群组的标识信息还可以包含在步骤403的所述属性请求消息中,所述用户信息数据库从所述属性请求消息中获取所述标识信息。 Optionally, the identifier information of the group may be further included in the attribute request message of step 403, where the user information database obtains the identifier information from the attribute request message.
405.用户信息数据库向PCRF-1发送属性响应(profile response)消息。405. The user information database sends a profile response message to the PCRF-1.
其中,所述属性响应消息包含用户设备的属性信息。通过此步骤,PCRF-1可以获取用户设备的属性信息,以便PCRF-1为所述用户设备服务。可选的,所述属性信息包含用户允许的业务标识(service ID)、业务之间的优先级、QoS、计费相关的信息、用户类别或IP多媒体子系统(IP multimedia subsystem,IMS)信令优先级至少之一。The attribute response message includes attribute information of the user equipment. Through this step, the PCRF-1 can obtain the attribute information of the user equipment, so that the PCRF-1 serves the user equipment. Optionally, the attribute information includes a service identifier (service ID) allowed by the user, priority between services, QoS, charging related information, user category, or IP multimedia subsystem (IMS) signaling. At least one of the priorities.
406.PCRF-1存储属性信息。406. PCRF-1 stores attribute information.
407.PCRF-1发送IP-CAN会话建立响应给策略与计费执行功能1。407. PCRF-1 sends an IP-CAN session setup response to the Policy and Charging Enforcement Function 1.
408.当其它的用户设备UE-2接入网络时,策略与计费执行功能2被选择为UE-2提供服务,策略与计费执行功能2接收UE-2的附着请求消息。408. When other user equipments UE-2 access the network, the policy and charging enforcement function 2 is selected to provide services for the UE-2, and the policy and charging enforcement function 2 receives the attachment request message of the UE-2.
其中,所述附着请求消息包含UE-2的标识。The attach request message includes an identifier of the UE-2.
可选的,所述附着消息还可以包含用于标识UE-2所属群组的标识信息。Optionally, the attach message may further include identifier information used to identify a group to which the UE-2 belongs.
可选的,策略与计费执行功能2可以是单独部署的PCEF实体,也可以是部署在其他设备上,例如PGW,的具有PCEF功能的功能模块。Optionally, the policy and charging execution function 2 may be a separately deployed PCEF entity, or may be a PCEF-enabled functional module deployed on another device, such as a PGW.
可选的,为UE-1服务的策略与计费执行功能1和为UE-2服务的策略与计费执行功能2可以是同一个策略与计费执行功能。Optionally, the policy and charging enforcement function 1 for UE-1 and the policy and charging enforcement function 2 for UE-2 may be the same policy and charging execution function.
409.PCEF-2/PGW-2向DRA发送IP-CAN会话建立请求消息。所述DRA根据UE-2的标识为UE-2选择PCRF-2。所述DRA可以将该IP-CAN会话建立请求消息发送到PCRF-2。其中,所述IP-CAN会话建立请求消息包含UE-2标识。409. PCEF-2/PGW-2 sends an IP-CAN Session Setup Request message to the DRA. The DRA selects PCRF-2 for UE-2 according to the identity of UE-2. The DRA may send the IP-CAN Session Setup Request message to PCRF-2. The IP-CAN session establishment request message includes a UE-2 identifier.
可选的,所述DRA可以根据所述UE-2的标识为所述UE-2选择PCRF-2。具体可以参照上文UE-1的描述。。Optionally, the DRA may select the PCRF-2 for the UE-2 according to the identifier of the UE-2. For details, refer to the description of UE-1 above. .
可选的,所述IP-CAN会话建立请求消息还包含所述UE-2所属群组的群组标识。Optionally, the IP-CAN session establishment request message further includes a group identifier of the group to which the UE-2 belongs.
410.PCRF-2向用户信息数据库发送属性请求消息。410. PCRF-2 sends an attribute request message to the user information database.
其中,所述属性请求消息包含PCRF-2的IP地址和UE-2的标识。可选 的,所述属性请求消息还包含UE-2所属群组的标识信息。The attribute request message includes an IP address of the PCRF-2 and an identifier of the UE-2. Optional The attribute request message further includes identification information of a group to which the UE-2 belongs.
411.用户信息数据库根据UE-2的标识和/或用于标识UE-2所属群组的标识信息确定UE-2属于所述群组,并确定所述PCRF-1为UE-2服务。411. The user information database determines that the UE-2 belongs to the group according to the identifier of the UE-2 and/or the identifier information used to identify the group to which the UE-2 belongs, and determines that the PCRF-1 serves the UE-2.
其中,用户信息数据库可以根据PCRF-2发送的所述属性请求消息中包含的UE-2的标识和存储在用户信息数据库中的UE-2的签约信息,确定UE-2属于所述群组,确定所述PCRF-1的IP地址对应的PCRF-1为UE-2服务。The user information database may determine that the UE-2 belongs to the group according to the identifier of the UE-2 included in the attribute request message sent by the PCRF-2 and the subscription information of the UE-2 stored in the user information database. The PCRF-1 corresponding to the IP address of the PCRF-1 is determined to be a UE-2 service.
可选的,如果PCRF-2发送的所述属性请求信息中还包括所述用于标识所述UE-2所属群组的标识信息,所述用户信息数据库可以根据所述标识信息确定所述UE-2所属的群组。进一步,所述用户信息数据库根据存储的所述用于标识UE-1所属群组的标识信息和所述PCRF-1的IP地址的对应关系,确定所述PCRF-1为UE-2服务。Optionally, if the attribute request information sent by the PCRF-2 further includes the identifier information used to identify the group to which the UE-2 belongs, the user information database may determine the UE according to the identifier information. -2 belongs to the group. Further, the user information database determines that the PCRF-1 serves the UE-2 according to the stored correspondence information for identifying the identity information of the group to which the UE-1 belongs and the IP address of the PCRF-1.
412.用户信息数据库发送属性响应消息给PCRF-2。其中,所述属性响应消息包含PCRF-2的IP地址。412. The user information database sends an attribute response message to PCRF-2. The attribute response message includes an IP address of the PCRF-2.
由于步骤411中,用户信息数据库确定UE-2属于所述群组,因此,用户信息数据库在发送给PCRF-2的属性响应消息中包含PCRF-1的IP地址。Since the user information database determines that the UE-2 belongs to the group in step 411, the user information database includes the IP address of the PCRF-1 in the attribute response message sent to the PCRF-2.
虽然在步骤409中,DRA根据UE-2的标识为UE-2选择了PCRF-2,但是,通过步骤411,用户信息数据库确定PCRF-1为UE-2服务,即UE-2和UE-1都将由PCRF-1服务,因此,步骤412中将PCRF-1的IP地址发送给PCRF-2,便于PCRF-2将所述UE-2重定向到PCRF-1。这样,使属于同一个组的不同用户设备UE-1和UE-2选择到同一个PCRF-1。Although in step 409, the DRA selects PCRF-2 for UE-2 according to the identity of UE-2, but through step 411, the user information database determines that PCRF-1 serves UE-2, ie UE-2 and UE-1. Both will be served by PCRF-1, therefore, the IP address of PCRF-1 is sent to PCRF-2 in step 412, facilitating PCRF-2 to redirect the UE-2 to PCRF-1. In this way, different user equipments UE-1 and UE-2 belonging to the same group are selected to the same PCRF-1.
可选的,步骤412之前,所述用户信息数据库根据存储的所述用于标识UE-1所属群组的标识信息和所述PCRF-1的IP地址的对应关系获得所述PCRF-1的IP地址后,可以进一步判断所述PCRF-1的IP地址和步骤411中接收到的PCRF-2的IP地址是否相同,如果不同,则将PCRF-2的IP地址通过属性响应消息发送给PCRF-2。如果相同,则所述用户信息数据库可以不再执行后续步骤。当然,在所述用户信息数据库确定所述PCRF-1的IP地 址和步骤411中接收到的PCRF-2的IP地址相同的情况下,也可以继续执行后续步骤,本发明实施例对并不限定。Optionally, before the step 412, the user information database obtains the IP of the PCRF-1 according to the stored correspondence information for identifying the identity information of the group to which the UE-1 belongs and the IP address of the PCRF-1. After the address, the IP address of the PCRF-1 and the IP address of the PCRF-2 received in step 411 are determined to be the same. If not, the IP address of the PCRF-2 is sent to the PCRF-2 through the attribute response message. . If they are the same, the user information database may no longer perform the subsequent steps. Of course, determining the IP address of the PCRF-1 in the user information database In the case where the IP address of the PCRF-2 received in step 411 is the same, the subsequent steps may be continued, which is not limited in the embodiment of the present invention.
当然,本发明实施例所述用户信息数据库也可以不执行判断所述PCRF-1的IP地址和步骤411中接收到的PCRF-2的IP地址是否相同的步骤,而是直接执行步骤412。Of course, the user information database in the embodiment of the present invention may not perform the step of determining whether the IP address of the PCRF-1 and the IP address of the PCRF-2 received in step 411 are the same, but directly performing step 412.
413.PCRF-2接收到包含PCRF-1的IP地址的属性响应消息后,确定需要将UE-2的IP-CAN会话重定向到PCRF-1。413. After receiving the attribute response message containing the IP address of the PCRF-1, the PCRF-2 determines that the IP-2 CAN session of the UE-2 needs to be redirected to the PCRF-1.
其中,PCRF-2在接收到用户信息数据库发送的属性响应信息后,发现所述属性响应信息包含有PCRF-1的IP地址,则确定需要将UE-2的IP-CAN会话重定向到PCRF-1。After receiving the attribute response information sent by the user information database, the PCRF-2 finds that the attribute response information includes the IP address of the PCRF-1, and determines that the IP-2 CAN session of the UE-2 needs to be redirected to the PCRF- 1.
414.PCRF-2发送重定向消息给策略与计费执行功能2。其中,所述重定向消息包含PCRF-1的IP地址。414. PCRF-2 sends a redirect message to the Policy and Charging Enforcement Function 2. The redirect message includes an IP address of the PCRF-1.
415.策略与计费执行功能2在接收到包含PCRF-1的IP地址的重定向消息后,向DRA发起PCRF-1的IP地址更新流程。DRA将为UE-2服务的PCRF-2更新为PCRF-1。415. The policy and charging execution function 2 initiates an IP address update procedure of the PCRF-1 to the DRA after receiving the redirect message including the IP address of the PCRF-1. The DRA updates the PCRF-2 serving UE-2 to PCRF-1.
416.策略与计费执行功能2根据更新后的PCRF-1的IP地址发送IP-CAN会话建立请求给PCRF-1。416. The Policy and Charging Execution Function 2 sends an IP-CAN Session Establishment Request to the PCRF-1 based on the IP address of the updated PCRF-1.
417.PCRF-1向用户信息数据库发送属性请求消息。417. PCRF-1 sends an attribute request message to the user information database.
418.用户信息数据库向PCRF-1发送属性响应消息。418. The user information database sends an attribute response message to the PCRF-1.
其中,所述属性响应包括UE-2的用户设备属性信息。The attribute response includes user equipment attribute information of the UE-2.
419.PCRF-1发送IP-CAN会话建立响应消息给策略与计费执行功能2。419. The PCRF-1 sends an IP-CAN Session Setup Response message to the Policy and Charging Enforcement Function 2.
在可选的实施例中,还可以进一步包括以下步骤:In an optional embodiment, the following steps may be further included:
420.当PCRF-1确定所述群组中所有用户设备去附着时,PCRF-1向用户信息数据库发送删除所述PCRF-1的IP地址的请求消息。420. When PCRF-1 determines that all user equipments in the group are detached, PCRF-1 sends a request message to delete the IP address of the PCRF-1 to the user information database.
其中,PCRF-1可以存储属于所述群组的所有用户设备的标识和用于标识所述群组的标识信息的对应关系。当属于群组的用户设备附着到PCRF时, PCRF保存所述用户设备的标识。当PCRF-1确定一个用户设备去附着之后,PCRF-1删除所述对应关系中去附着的用户设备的标识。当所述对应关系中所有用户设备的标识被删除时,则认为属于所述群组的所有用户设备均已去附着。The PCRF-1 may store the identifiers of all the user equipments belonging to the group and the correspondence information for identifying the identity information of the group. When a user device belonging to a group is attached to the PCRF, The PCRF saves the identity of the user equipment. After the PCRF-1 determines that a user equipment is detached, the PCRF-1 deletes the identity of the detached user equipment in the correspondence. When the identifiers of all user equipments in the corresponding relationship are deleted, all user equipments belonging to the group are considered to have been detached.
其中,PCRF-1中的标识信息可以是IP-CAN会话建立请求中携带的标识信息,或者,也可以是用户信息数据库发送给PCRF-1的属性响应消息中包含的标识信息。The identifier information in the PCRF-1 may be the identifier information carried in the IP-CAN session establishment request, or may be the identifier information included in the attribute response message sent by the user information database to the PCRF-1.
421.用户信息数据库接收到删除所述PCRF-1的IP地址请求消息后,删除PCRF-1的IP地址,并向PCRF-1发送删除PCRF-1的IP地址的响应。421. After receiving the IP address request message for deleting the PCRF-1, the user information database deletes the IP address of the PCRF-1, and sends a response to the PCRF-1 to delete the IP address of the PCRF-1.
可选的实施例中,用户信息数据库判断所有的属于所述群组的用户设备去附着后,用户信息数据库删除所述PCRF-1的IP地址。在此情况下,则不需要步骤420和421。具体的,用户信息数据库可以存储属于某个群组的用户设备标识,将所述用户设备标识形成列表并附属于所述群组的标识信息,使所述标识信息中包含属于所述群组的用户设备标识。当某一个用户设备去附着之后,用户信息数据库删除所述群组标识中包含的用户设备标识,当列表中没有用户设备标识时则认为属于所述群组的所有群组用户设备均从网络去附着。In an optional embodiment, after the user information database determines that all the user equipments belonging to the group are attached, the user information database deletes the IP address of the PCRF-1. In this case, steps 420 and 421 are not required. Specifically, the user information database may store the user equipment identifiers belonging to a group, and form the user equipment identifier into a list and attach the identification information of the group, so that the identifier information includes the group belonging to the group. User device ID. After a user equipment is detached, the user information database deletes the user equipment identifier included in the group identifier. When there is no user equipment identifier in the list, all group user equipments belonging to the group are considered to be from the network. Attached.
图5为基于代理DRA的选择PCRF的方法,具体的流程如下:FIG. 5 is a method for selecting a PCRF based on a proxy DRA, and the specific process is as follows:
501.当用户设备UE-1接入网络时,策略与计费执行功能1接收UE-1的附着请求消息。可选的,策略与计费执行功能1可以是单独部署的PCEF实体,也可以是部署在例如是PGW上的具有PCEF功能的功能模块。501. When the user equipment UE-1 accesses the network, the policy and charging execution function 1 receives the attach request message of the UE-1. Optionally, the policy and charging execution function 1 may be a separately deployed PCEF entity, or may be a functional module with PCEF function deployed on, for example, a PGW.
其中,所述附着请求消息包含UE-1的标识和UE-1所属群组的标识信息。The attach request message includes the identifier of the UE-1 and the identifier information of the group to which the UE-1 belongs.
可选的,根据相同属性确定用户设备是属于同一群组的用户设备,例如,具有相同QoS的用户设备确定为同一个群组;或者,具有相同业务类型的用户设备确定为同一个群组。Optionally, the user equipments that are the same group are determined according to the same attribute, for example, the user equipments with the same QoS are determined to be the same group; or the user equipments with the same service type are determined to be the same group.
可选的,可以临时根据需要组建一个群组,该群组用群组标识进行标识, 建立群组中的用户设备的标识和所述群组标识的对应关系,根据该对应关系和用户设备的标识确定用户设备所属的群组。Optionally, a group may be temporarily set up according to requirements, and the group is identified by a group identifier. A correspondence between the identifier of the user equipment in the group and the group identifier is established, and the group to which the user equipment belongs is determined according to the correspondence and the identifier of the user equipment.
可选的,用户设备的标识中用特定一位或多位表示同一群组。Optionally, a specific one or more bits in the identifier of the user equipment represent the same group.
其中,UE-1的标识是用于识别UE-1的。可选的,所述UE-1的标识可以为国际移动用户识别码(Innternational Mobile Subscriber Identity,IMSI)或者UE-1的IP地址等。The identifier of UE-1 is used to identify UE-1. Optionally, the identifier of the UE-1 may be an International Mobile Subscriber Identity (IMSI) or an IP address of the UE-1.
其中,所述标识信息可以是群组标识,可选的,所述群组标识可以为接入点名称(access point name,APN)。当然,所述标识信息也可以是属于某一群组的所有的用户设备所共有的属性,可选的,所述属性可以是QoS、业务类型等。The identifier information may be a group identifier. Optionally, the group identifier may be an access point name (APN). Of course, the identifier information may also be attributes common to all user equipments belonging to a certain group. Optionally, the attributes may be QoS, service type, and the like.
502.策略与计费执行功能1向代理DRA发送IP-CAN会话建立请求消息。502. The Policy and Charging Enforcement Function 1 sends an IP-CAN Session Establishment Request message to the Proxy DRA.
其中,所述IP-CAN会话建立请求消息包含UE-1的标识和UE-1所属群组的标识信息。The IP-CAN session establishment request message includes the identifier of the UE-1 and the identifier information of the group to which the UE-1 belongs.
503.当代理DRA接收到策略与计费执行功能1发送的IP-CAN会话建立请求消息后,代理DRA根据UE-1的标识和/或UE-1所属群组的标识信息为UE-1选择一个PCRF,并存储所述PCRF的IP地址。503. After the proxy DRA receives the IP-CAN session establishment request message sent by the policy and charging execution function 1, the proxy DRA selects the UE-1 according to the identifier of the UE-1 and/or the identity information of the group to which the UE-1 belongs. A PCRF and store the IP address of the PCRF.
代理DRA根据UE-1的标识或所述UE-1所属群组的标识信息为UE-1选择一个PCRF。代理DRA确定代理DRA的存储单元内没有存储服务于所述UE-1所属群组的任意一个用户设备的PCRF的IP地址,此时,代理DRA确定UE-1为所述群组的第一个接入网络的用户设备,代理DRA存储所述PCRF的IP地址,并将所述PCRF的IP地址与所述UE-1所属群组的标识信息相关联,例如,可以存储<标识信息,PCRF-1的IP地址>。The proxy DRA selects a PCRF for the UE-1 according to the identity of the UE-1 or the identity information of the group to which the UE-1 belongs. The proxy DRA determines that the IP address of the PCRF serving any one of the user equipments of the group to which the UE-1 belongs is not stored in the storage unit of the proxy DRA. At this time, the proxy DRA determines that the UE-1 is the first one of the group. The user equipment accessing the network, the proxy DRA stores the IP address of the PCRF, and associates the IP address of the PCRF with the identifier information of the group to which the UE-1 belongs, for example, may store the <identification information, PCRF- 1 IP address>.
504.代理DRA根据PCRF的IP地址发送IP-CAN会话建立请求消息到所述PCRF。其中,所述IP-CAN会话建立请求消息中包含UE-1的标识。504. The proxy DRA sends an IP-CAN Session Setup Request message to the PCRF based on the IP address of the PCRF. The IP-CAN session establishment request message includes an identifier of the UE-1.
505.PCRF向用户信息数据库发送UE-1属性请求消息。所述用户信息数 据库包括SPR或者UDR。505. The PCRF sends a UE-1 attribute request message to the user information database. The number of user information The database includes SPR or UDR.
506.用户信息数据库向PCRF发送UE-1属性响应消息。其中,所述属性响应消息包含用户设备的属性信息。506. The user information database sends a UE-1 attribute response message to the PCRF. The attribute response message includes attribute information of the user equipment.
通过此步骤,PCRF可以获取用户设备的属性信息,以便PCRF为所述用户设备服务。可选的,所述属性信息包含用户允许的业务标识、业务之间的优先级、QoS、计费相关的信息、用户类别或IP多媒体子系统信令优先级至少之一。Through this step, the PCRF can obtain attribute information of the user equipment, so that the PCRF serves the user equipment. Optionally, the attribute information includes at least one of a service identifier allowed by the user, a priority between the services, a QoS, a charging related information, a user category, or an IP multimedia subsystem signaling priority.
507.PCRF发送IP-CAN会话建立响应消息到代理DRA。507. The PCRF sends an IP-CAN Session Setup Response message to the Proxy DRA.
508.代理DRA转发IP-CAN会话建立响应消息到策略与计费执行功能1。508. The proxy DRA forwards the IP-CAN session setup response message to the policy and charging enforcement function 1.
509.当其它的用户设备UE-2接入网络时,策略与计费执行功能2被选择为UE-2提供服务,策略与计费执行功能2接收UE-2的附着请求消息。509. When the other user equipment UE-2 accesses the network, the policy and charging execution function 2 is selected to provide the service to the UE-2, and the policy and charging execution function 2 receives the attach request message of the UE-2.
可选的,策略与计费执行功能2可以是单独部署的PCEF实体,也可以是部署在例如是PGW上的具有PCEF功能的功能模块。Optionally, the policy and charging execution function 2 may be a separately deployed PCEF entity, or may be a PCEF-enabled functional module deployed on, for example, a PGW.
可选的,为UE-1服务的策略与计费执行功能1和为UE-2服务的策略与计费执行功能2可以是同一个策略与计费执行功能。Optionally, the policy and charging enforcement function 1 for UE-1 and the policy and charging enforcement function 2 for UE-2 may be the same policy and charging execution function.
510.策略与计费执行功能2向代理DRA发送IP-CAN会话建立请求消510. Policy and Charging Enforcement Function 2 sends an IP-CAN Session Establishment Request to the Proxy DRA.
息。interest.
其中,所述IP-CAN会话建立请求消息包含UE-2标识和UE-2所属群组的标识信息。The IP-CAN session establishment request message includes the UE-2 identifier and the identifier information of the group to which the UE-2 belongs.
511.代理DRA根据UE-2所属群组的标识信息确定UE-2和UE-1属于同一个群组,确定所述PCRF的IP地址对应的PCRF为UE-2服务。其中,代理DRA确定UE-2所属群组的标识信息与UE-1所属群组的标识信息一致,则代理DRA确定所述UE-2和UE-1属于同一个群组。511. The proxy DRA determines that the UE-2 and the UE-1 belong to the same group according to the identity information of the group to which the UE-2 belongs, and determines that the PCRF corresponding to the IP address of the PCRF serves the UE-2. The proxy DRA determines that the identity information of the group to which the UE-2 belongs is consistent with the identity information of the group to which the UE-1 belongs, and the proxy DRA determines that the UE-2 and the UE-1 belong to the same group.
代理DRA确定UE-2和UE-1属于同一个群组,则代理DRA为所述用户设备UE-2选择所述PCRF为其服务。通过步骤511,代理DRA为UE-2选择了服务于UE-1的PCRF,即UE-2和UE-1都将采用同样的PCRF,由此, 使属于同一个群组的不同用户设备UE-1和UE-2选择到同一个PCRF。The proxy DRA determines that UE-2 and UE-1 belong to the same group, and the proxy DRA selects the PCRF as the service for the user equipment UE-2. In step 511, the proxy DRA selects the PCRF serving UE-1 for UE-2, that is, both UE-2 and UE-1 will adopt the same PCRF, thereby Different user equipments UE-1 and UE-2 belonging to the same group are selected to the same PCRF.
512.代理DRA根据PCRF的IP地址将IP-CAN会话建立请求消息发送给PCRF。其中,所述IP-CAN会话建立请求消息包含UE-2的标识。512. The proxy DRA sends an IP-CAN session setup request message to the PCRF according to the IP address of the PCRF. The IP-CAN session establishment request message includes an identifier of the UE-2.
513.PCRF向用户信息数据库发送所述其它用户设备UE-2的属性请求消息,以使用户信息数据库根据UE-2的标识向PCRF提供UE-2的属性信息。513. The PCRF sends the attribute request message of the other user equipment UE-2 to the user information database, so that the user information database provides the attribute information of the UE-2 to the PCRF according to the identifier of the UE-2.
514.用户信息数据库向PCRF发送所述其它用户设备UE-2的属性响应消息。514. The user information database sends an attribute response message of the other user equipment UE-2 to the PCRF.
通过此步骤513和514,PCRF可以获取用户设备的属性信息,以便PCRF为所述用户设备服务。可选的,所述属性信息包含用户允许的业务标识、业务之间的优先级、QoS、计费相关的信息、用户类别或IP多媒体子系统信令优先级至少之一。Through this step 513 and 514, the PCRF can obtain attribute information of the user equipment, so that the PCRF serves the user equipment. Optionally, the attribute information includes at least one of a service identifier allowed by the user, a priority between the services, a QoS, a charging related information, a user category, or an IP multimedia subsystem signaling priority.
515.PCRF向代理DRA发送IP-CAN会话建立响应消息,并由代理DRA转发此IP-CAN会话建立响应消息到PCEF-2/PGW-2。515. The PCRF sends an IP-CAN Session Setup Response message to the Proxy DRA, and the Proxy DRA forwards the IP-CAN Session Setup Response message to PCEF-2/PGW-2.
在可选的实施例中,还可以具有以下步骤:In an optional embodiment, the following steps may also be performed:
516.当PCRF判断所有的群组用户从网络去附着时,PCRF向代理DRA发送删除所述PCRF的IP地址的请求消息。516. When the PCRF determines that all group users are detached from the network, the PCRF sends a request message to the proxy DRA to delete the IP address of the PCRF.
可选的,PCRF可以存储属于某个群组的用户设备标识,将所述所有用户设备的标识形成列表并与所述群组的标识信息相关联。当属于群组的用户设备附着到PCRF时,PCRF保存所述用户设备的标识。当某一个用户设备去附着之后,PCRF-1删除所述群组标识中包含的用户设备标识,当列表中没有用户设备标识时则认为属于所述群组的所有群组用户设备均从网络去附着。其中,PCRF中的标识信息可以是IP-CAN会话建立请求中携带的标识信息,或者,也可以是用户信息数据库发送给PCRF-1的属性响应消息中包含的标识信息。Optionally, the PCRF may store user equipment identifiers belonging to a group, and form identifiers of the user equipments into a list and associate with the group identity information. When a user equipment belonging to a group is attached to the PCRF, the PCRF saves the identity of the user equipment. After a user equipment is detached, PCRF-1 deletes the user equipment identifier included in the group identifier. When there is no user equipment identifier in the list, all group user equipments belonging to the group are considered to be from the network. Attached. The identifier information in the PCRF may be the identifier information carried in the IP-CAN session establishment request, or may be the identifier information included in the attribute response message sent by the user information database to the PCRF-1.
517.代理DRA接收到删除所述PCRF的IP地址的请求消息后,删除PCRF的IP地址,并向PCRF发送删除PCRF的IP地址的响应。 517. After receiving the request message for deleting the IP address of the PCRF, the proxy DRA deletes the IP address of the PCRF, and sends a response to the PCRF to delete the IP address of the PCRF.
可选的实施例中,代理DRA判断所有的属于所述组的用户设备从网络去附着后,代理DRA删除所述PCRF的IP地址。在此情况下,则不需要步骤516和517。代理DRA可以存储属于某个群组的用户设备的标识,将所述所有用户设备的标识形成列表并与所述群组的标识信息相关联。当某一个用户设备去附着之后,代理DRA删除所述组标识中包含的用户设备标识,当列表中没有用户设备标识时则认为属于所述组的所有组用户设备均从网络去附着。In an optional embodiment, after the proxy DRA determines that all user equipments belonging to the group are detached from the network, the proxy DRA deletes the IP address of the PCRF. In this case, steps 516 and 517 are not required. The proxy DRA may store the identifiers of the user equipments belonging to a certain group, and form the identifiers of the all user equipments into a list and associate with the identification information of the group. After a certain user equipment is detached, the proxy DRA deletes the user equipment identifier included in the group identifier. When there is no user equipment identifier in the list, all group user equipments belonging to the group are considered to be detached from the network.
图6为基于重定向DRA的选择PCRF的方法,具体的流程如下:FIG. 6 is a method for selecting a PCRF based on a redirected DRA, and the specific process is as follows:
601.当用户设备UE-1接入网络时,策略与计费执行功能1接收UE-1的附着请求消息。可选的,策略与计费执行功能1可以是单独部署的PCEF实体,也可以是部署在例如是PGW上的具有PCEF功能的功能模块。601. When the user equipment UE-1 accesses the network, the policy and charging execution function 1 receives the attach request message of the UE-1. Optionally, the policy and charging execution function 1 may be a separately deployed PCEF entity, or may be a functional module with PCEF function deployed on, for example, a PGW.
其中,所述附着请求消息包含UE-1的标识和UE-1所属群组的标识信息。The attach request message includes the identifier of the UE-1 and the identifier information of the group to which the UE-1 belongs.
可选的,根据相同属性确定用户设备是属于同一群组的用户设备,例如,具有相同QoS的用户设备确定为同一个群组;或者,具有相同业务类型的用户设备确定为同一个群组。Optionally, the user equipments that are the same group are determined according to the same attribute, for example, the user equipments with the same QoS are determined to be the same group; or the user equipments with the same service type are determined to be the same group.
可选的,可以临时根据需要组建一个群组,该群组用群组标识进行标识,建立群组中的用户设备的标识和所述群组标识的对应关系,根据该对应关系和用户设备的标识确定用户设备所属的群组。Optionally, a group may be set up according to the requirement, and the group is identified by the group identifier, and the correspondence between the identifier of the user equipment in the group and the group identifier is established, according to the correspondence and the user equipment. The identity determines the group to which the user device belongs.
可选的,用户设备的标识中用特定一位或多位表示同一群组。Optionally, a specific one or more bits in the identifier of the user equipment represent the same group.
其中,UE-1的标识是用于识别UE-1的。可选的,所述UE-1的标识可以为国际移动用户识别码(Innternational Mobile Subscriber Identity,IMSI)或者UE-1的IP地址等。The identifier of UE-1 is used to identify UE-1. Optionally, the identifier of the UE-1 may be an International Mobile Subscriber Identity (IMSI) or an IP address of the UE-1.
其中,所述标识信息可以是群组标识,可选的,所述群组标识可以为接入点名称(access point name,APN)。当然,所述标识信息也可以是属于某一群组的所有的用户设备所共有的属性,可选的,所述属性可以是QoS、业务类型等。 The identifier information may be a group identifier. Optionally, the group identifier may be an access point name (APN). Of course, the identifier information may also be attributes common to all user equipments belonging to a certain group. Optionally, the attributes may be QoS, service type, and the like.
602.策略与计费执行功能1向重定向DRA发送IP-CAN会话建立请求消息。602. The Policy and Charging Enforcement Function 1 sends an IP-CAN Session Establishment Request message to the redirected DRA.
其中,所述IP-CAN会话建立请求消息包含UE-1的标识和UE-1所属群组的标识信息。The IP-CAN session establishment request message includes the identifier of the UE-1 and the identifier information of the group to which the UE-1 belongs.
603.当重定向DRA接收到策略与计费执行功能1发送的IP-CAN会话建立请求消息后,重定向DRA根据UE-1的标识和/或UE-1所属群组的标识信息为UE-1选择一个PCRF,并存储所述PCRF的IP地址。603. After the redirected DRA receives the IP-CAN session establishment request message sent by the policy and charging execution function 1, the redirected DRA is based on the identity of the UE-1 and/or the identity information of the group to which the UE-1 belongs. 1 Select a PCRF and store the IP address of the PCRF.
重定向DRA根据UE-1的标识和/或UE-1所属群组的标识信息为UE-1选择一个PCRF。重定向DRA确定重定向DRA的存储单元内没有存储服务于所述UE-1所属群组的任意一个用户设备的PCRF的IP地址,此时,重定向DRA确定UE-1为所述群组的第一个接入网络的用户设备,代理DRA存储所述PCRF的IP地址,并将所述PCRF的IP地址与所述UE-1所属群组的标识信息相关联,例如,可以存储<标识信息,PCRF-1的IP地址>。The redirected DRA selects a PCRF for UE-1 according to the identity of UE-1 and/or the identity information of the group to which UE-1 belongs. Redirecting the DRA to determine that the IP address of the PCRF serving the user equipment of the group to which the UE-1 belongs is not stored in the storage unit of the redirected DRA, and at this time, the redirecting DRA determines that the UE-1 is the group. The user equipment of the first access network, the proxy DRA stores the IP address of the PCRF, and associates the IP address of the PCRF with the identifier information of the group to which the UE-1 belongs, for example, the identifier information may be stored. , IP address of PCRF-1>.
604.重定向DRA向PCEF-1/PGW-1发送包含PCRF的IP地址的会话重定向消息。604. The redirected DRA sends a session redirection message containing the IP address of the PCRF to PCEF-1/PGW-1.
605.PCEF-1/PGW-1根据步骤604所接收到的PCRF的IP地址向所述PCRF发送IP-CAN会话建立请求。605. The PCEF-1/PGW-1 sends an IP-CAN session establishment request to the PCRF according to the IP address of the PCRF received in step 604.
606.PCRF向用户信息数据库发送UE-1属性请求消息,以使用户信息数据库根据UE-1的标识向PCRF提供UE-1的属性信息。所述用户信息数据库包括SPR或者UDR。606. The PCRF sends a UE-1 attribute request message to the user information database, so that the user information database provides the attribute information of the UE-1 to the PCRF according to the identifier of the UE-1. The user information database includes an SPR or a UDR.
607.用户信息数据库向PCRF发送UE-1属性响应消息。607. The user information database sends a UE-1 attribute response message to the PCRF.
其中,所述属性响应消息包含用户设备的属性信息。通过此步骤,PCRF可以获取用户设备的属性信息,以便PCRF为所述用户设备服务。可选的,所述属性信息包含用户允许的业务标识、业务之间的优先级、QoS、计费相关的信息、用户类别或IP多媒体子系统信令优先级至少之一。The attribute response message includes attribute information of the user equipment. Through this step, the PCRF can obtain attribute information of the user equipment, so that the PCRF serves the user equipment. Optionally, the attribute information includes at least one of a service identifier allowed by the user, a priority between the services, a QoS, a charging related information, a user category, or an IP multimedia subsystem signaling priority.
608.PCRF发送IP-CAN会话建立响应消息给策略与计费执行功能1。 608. The PCRF sends an IP-CAN Session Setup Response message to the Policy and Charging Enforcement Function 1.
609.当其它的用户设备UE-2接入网络时,策略与计费执行功能2被选择为UE-2提供服务,策略与计费执行功能2接收UE-2的附着请求消息。609. When other user equipments UE-2 access the network, the policy and charging enforcement function 2 is selected to provide services for the UE-2, and the policy and charging enforcement function 2 receives the attachment request message of the UE-2.
可选的,策略与计费执行功能2可以是单独部署的PCEF实体,也可以是部署在例如是PGW上的具有PCEF功能的功能模块。Optionally, the policy and charging execution function 2 may be a separately deployed PCEF entity, or may be a PCEF-enabled functional module deployed on, for example, a PGW.
可选的,为UE-1服务的策略与计费执行功能1和为UE-2服务的策略与计费执行功能2可以是同一个策略与计费执行功能。Optionally, the policy and charging enforcement function 1 for UE-1 and the policy and charging enforcement function 2 for UE-2 may be the same policy and charging execution function.
610.策略与计费执行功能2向重定向DRA发送IP-CAN会话建立请求消息。610. The Policy and Charging Enforcement Function 2 sends an IP-CAN Session Establishment Request message to the redirected DRA.
其中,所述IP-CAN会话建立请求消息包含UE-2标识和UE-2所属群组的标识信息。The IP-CAN session establishment request message includes the UE-2 identifier and the identifier information of the group to which the UE-2 belongs.
611.代理DRA根据UE-2所属群组的标识信息确定UE-2和UE-1属于同一个群组,确定所述PCRF的IP地址对应的PCRF为UE-2服务。其中,代理DRA确定UE-2所属群组的标识信息与UE-1所属群组的标识信息一致,则代理DRA确定所述UE-2和UE-1属于同一个群组。611. The proxy DRA determines that the UE-2 and the UE-1 belong to the same group according to the identity information of the group to which the UE-2 belongs, and determines that the PCRF corresponding to the IP address of the PCRF serves the UE-2. The proxy DRA determines that the identity information of the group to which the UE-2 belongs is consistent with the identity information of the group to which the UE-1 belongs, and the proxy DRA determines that the UE-2 and the UE-1 belong to the same group.
代理DRA确定UE-2和UE-1属于同一个群组,则代理DRA为所述用户设备UE-2选择所述PCRF为其服务。通过步骤511,代理DRA为UE-2选择了服务于UE-1的PCRF,即UE-2和UE-1都将采用同样的PCRF,由此,使属于同一个群组的不同用户设备UE-1和UE-2选择到同一个PCRF。The proxy DRA determines that UE-2 and UE-1 belong to the same group, and the proxy DRA selects the PCRF as the service for the user equipment UE-2. In step 511, the proxy DRA selects the PCRF serving UE-1 for UE-2, that is, both UE-2 and UE-1 will adopt the same PCRF, thereby making different user equipment UEs belonging to the same group- 1 and UE-2 select the same PCRF.
612.重定向DRA发送重定向会话请求消息给策略与计费执行功能2。612. The redirect DRA sends a redirect session request message to the policy and charging enforcement function 2.
其中,所述重定向会话请求消息包含所述PCRF的IP地址。The redirect session request message includes an IP address of the PCRF.
613.策略与计费执行功能2根据步骤612所述重定向会话请求消息包含的PCRF的IP地址向PCRF发送IP-CAN会话建立请求消息。所述IP-CAN会话建立请求消息包含UE-2的标识。613. The policy and charging execution function 2 sends an IP-CAN session establishment request message to the PCRF according to the IP address of the PCRF included in the redirect session request message according to step 612. The IP-CAN Session Setup Request message contains the identity of UE-2.
614.PCRF向用户信息数据库发送其它用户设备UE-2的属性请求消息,以使用户信息数据库根据UE-2的标识向PCRF提供UE-2的属性信息。614. The PCRF sends an attribute request message of the other user equipment UE-2 to the user information database, so that the user information database provides the attribute information of the UE-2 to the PCRF according to the identifier of the UE-2.
615.用户信息数据库向PCRF发送其它用户设备UE-2的属性响应消息。 615. The user information database sends an attribute response message of the other user equipment UE-2 to the PCRF.
通过此步骤614和615,PCRF可以获取用户设备的属性信息,以便PCRF为所述用户设备服务。可选的,所述属性信息包含用户允许的业务标识、业务之间的优先级、QoS、计费相关的信息、用户类别或IP多媒体子系统信令优先级至少之一。Through this steps 614 and 615, the PCRF can obtain attribute information of the user equipment, so that the PCRF serves the user equipment. Optionally, the attribute information includes at least one of a service identifier allowed by the user, a priority between the services, a QoS, a charging related information, a user category, or an IP multimedia subsystem signaling priority.
616.PCRF发送IP-CAN会话建立响应消息给策略与计费执行功能2。616. The PCRF sends an IP-CAN Session Setup Response message to the Policy and Charging Enforcement Function 2.
在可选的实施例中,还可以具有以下步骤:In an optional embodiment, the following steps may also be performed:
617.当PCRF判断所有的群组用户从网络去附着时,PCRF向代理DRA发送删除所述PCRF的IP地址的请求消息。617. When the PCRF determines that all group users are detached from the network, the PCRF sends a request message to the proxy DRA to delete the IP address of the PCRF.
可选的,PCRF可以存储属于某个群组的用户设备标识,将所述所有用户设备的标识形成列表并与所述群组的标识信息相关联。当属于群组的用户设备附着到PCRF时,PCRF保存所述用户设备的标识。当某一个用户设备去附着之后,PCRF-1删除所述群组标识中包含的用户设备标识,当列表中没有用户设备标识时则认为属于所述群组的所有群组用户设备均从网络去附着。其中,PCRF中的标识信息可以是IP-CAN会话建立请求中携带的标识信息,或者,也可以是用户信息数据库发送给PCRF-1的属性响应消息中包含的标识信息。Optionally, the PCRF may store user equipment identifiers belonging to a group, and form identifiers of the user equipments into a list and associate with the group identity information. When a user equipment belonging to a group is attached to the PCRF, the PCRF saves the identity of the user equipment. After a user equipment is detached, PCRF-1 deletes the user equipment identifier included in the group identifier. When there is no user equipment identifier in the list, all group user equipments belonging to the group are considered to be from the network. Attached. The identifier information in the PCRF may be the identifier information carried in the IP-CAN session establishment request, or may be the identifier information included in the attribute response message sent by the user information database to the PCRF-1.
618.重定向DRA接收到删除所述PCRF的IP地址的请求消息后,删除PCRF的IP地址,并向PCRF发送删除PCRF的IP地址的响应。618. After receiving the request message for deleting the IP address of the PCRF, the redirected DRA deletes the IP address of the PCRF, and sends a response to the PCRF to delete the IP address of the PCRF.
可选的实施例中,重定向DRA判断所有的属于所述群组的用户设备从网络去附着后,重定向DRA删除所述PCRF的IP地址。在此情况下,则不需要步骤617和618。重定向DRA可以存储属于某个群组的用户设备标识,将所述所有用户设备的标识形成列表并与所述群组的标识信息相关联。当某一个用户设备去附着之后,重定向DRA删除所述标识信息中包含的用户设备标识,当列表中没有用户设备标识时则认为属于所述群组的所有群组用户设备均从网络去附着。In an optional embodiment, after the redirected DRA determines that all user equipments belonging to the group are detached from the network, the redirected DRA deletes the IP address of the PCRF. In this case, steps 617 and 618 are not required. The redirected DRA may store the user equipment identifiers belonging to a certain group, and form the identifiers of the all user equipments into a list and associate with the identification information of the group. After a certain user equipment is detached, the redirected DRA deletes the user equipment identifier included in the identifier information, and when there is no user equipment identifier in the list, all group user equipments belonging to the group are considered to be attached from the network. .
图7为基于PCEF的选择PCRF的方法,具体的流程如下: FIG. 7 is a PCEF-based method for selecting a PCRF, and the specific process is as follows:
701.当用户设备UE-1接入网络时,策略与计费执行功能接收UE-1的附着请求消息。可选的,策略与计费执行功能可以是单独部署的PCEF实体,也可以是部署在例如是PGW上的具有PCEF功能的功能模块。701. When the user equipment UE-1 accesses the network, the policy and charging execution function receives the attach request message of the UE-1. Optionally, the policy and charging execution function may be a separately deployed PCEF entity, or may be a PCEF-enabled functional module deployed on, for example, a PGW.
其中,所述附着请求消息包含UE-1的标识和UE-1所属群组的标识信息。The attach request message includes the identifier of the UE-1 and the identifier information of the group to which the UE-1 belongs.
可选的,根据相同属性确定用户设备是属于同一群组的用户设备,例如,具有相同QoS的用户设备确定为同一个群组;或者,具有相同业务类型的用户设备确定为同一个群组。Optionally, the user equipments that are the same group are determined according to the same attribute, for example, the user equipments with the same QoS are determined to be the same group; or the user equipments with the same service type are determined to be the same group.
可选的,可以临时根据需要组建一个群组,该群组用群组标识进行标识,建立群组中的用户设备的标识和所述群组标识的对应关系,根据该对应关系和用户设备的标识确定用户设备所属的群组。Optionally, a group may be set up according to the requirement, and the group is identified by the group identifier, and the correspondence between the identifier of the user equipment in the group and the group identifier is established, according to the correspondence and the user equipment. The identity determines the group to which the user device belongs.
可选的,用户设备的标识中用特定一位或多位表示同一群组。Optionally, a specific one or more bits in the identifier of the user equipment represent the same group.
其中,UE-1的标识是用于识别UE-1的。可选的,所述UE-1的标识可以为国际移动用户识别码(Innternational Mobile Subscriber Identity,IMSI)或者UE-1的IP地址等。The identifier of UE-1 is used to identify UE-1. Optionally, the identifier of the UE-1 may be an International Mobile Subscriber Identity (IMSI) or an IP address of the UE-1.
其中,所述标识信息可以是群组标识,可选的,所述群组标识可以为接入点名称(access point name,APN)。当然,所述标识信息也可以是属于某一群组的所有的用户设备所共有的属性,可选的,所述属性可以是QoS、业务类型等。The identifier information may be a group identifier. Optionally, the group identifier may be an access point name (APN). Of course, the identifier information may also be attributes common to all user equipments belonging to a certain group. Optionally, the attributes may be QoS, service type, and the like.
702.策略与计费执行功能向重定向DRA发送IP-CAN会话建立请求消息。702. The Policy and Charging Enforcement Function sends an IP-CAN Session Establishment Request message to the redirected DRA.
其中,所述IP-CAN会话建立请求消息包含UE-1标识。The IP-CAN session establishment request message includes a UE-1 identifier.
其中,图7以重定向DRA为例进行说明。可选的,步骤2所述重定向DRA也可以是代理DRA。FIG. 7 illustrates the redirection of the DRA as an example. Optionally, the redirected DRA in step 2 may also be a proxy DRA.
703.重定向DRA根据UE-1的标识选择一个PCRF为UE-1服务。具体的,重定向DRA根据UE-1的IMSI或者UE-1的IP地址为UE-1选择所述PCRF。703. The redirected DRA selects a PCRF to serve UE-1 according to the identity of UE-1. Specifically, the redirected DRA selects the PCRF for the UE-1 according to the IMSI of the UE-1 or the IP address of the UE-1.
704.重定向DRA向策略与计费执行功能发送会话重定向消息。704. The redirected DRA sends a session redirection message to the policy and charging enforcement function.
其中,所述会话重定向消息包含所述PCRF的IP地址。 The session redirection message includes an IP address of the PCRF.
705.策略与计费执行功能接收重定向DRA发送的包含所述PCRF的IP地址的会话重定向消息后,存储所述PCRF的IP地址。705. After the policy and charging execution function receives the session redirection message that is sent by the DRA and includes the IP address of the PCRF, the IP address of the PCRF is stored.
策略与计费执行功能确定策略与计费执行功能的存储单元内没有存储服务于所述UE-1所属群组的任意一个用户设备的PCRF的IP地址,此时,UE-1为所述群组的第一个接入网络的用户设备,重定向DRA存储所述PCRF的IP地址,并将所述PCRF的IP地址与所述UE-1所属群组的标识信息相关联,例如,可以存储<标识信息,PCRF-1的IP地址>。The IP address of the PCRF serving any user equipment of the group to which the UE-1 belongs is not stored in the storage unit of the policy and the charging and executing function, and the UE-1 is the group. The user equipment of the first access network of the group, the redirected DRA stores the IP address of the PCRF, and associates the IP address of the PCRF with the identifier information of the group to which the UE-1 belongs, for example, may store <identification information, IP address of PCRF-1>.
706.策略与计费执行功能根据接收到的会话重定向消息所包含的PCRF的IP地址向PCRF发送IP-CAN会话建立请求。其中,所述IP-CAN会话建立请求包含UE-1的标识。706. The policy and charging enforcement function sends an IP-CAN session establishment request to the PCRF according to the IP address of the PCRF included in the received session redirection message. The IP-CAN session establishment request includes an identifier of the UE-1.
707.PCRF向用户信息数据库发送UE-1属性请求消息,以使用户信息数据库根据UE-1的标识向PCRF提供UE-1的属性信息。所述用户信息数据库包括SPR或者UDR。707. The PCRF sends a UE-1 attribute request message to the user information database, so that the user information database provides the attribute information of the UE-1 to the PCRF according to the identifier of the UE-1. The user information database includes an SPR or a UDR.
708.用户信息数据库向PCRF发送UE-1属性响应消息。708. The user information database sends a UE-1 attribute response message to the PCRF.
其中,所述属性响应消息包含用户设备的属性信息。通过此步骤,PCRF可以获取用户设备的属性信息,以便PCRF为所述用户设备服务。可选的,所述属性信息包含用户允许的业务标识、业务之间的优先级、QoS、计费相关的信息、用户类别或IP多媒体子系统信令优先级至少之一。The attribute response message includes attribute information of the user equipment. Through this step, the PCRF can obtain attribute information of the user equipment, so that the PCRF serves the user equipment. Optionally, the attribute information includes at least one of a service identifier allowed by the user, a priority between the services, a QoS, a charging related information, a user category, or an IP multimedia subsystem signaling priority.
709.PCRF发送IP-CAN会话建立响应消息给策略与计费执行功能。709. The PCRF sends an IP-CAN session setup response message to the policy and charging enforcement function.
710.当其它的用户设备UE-2接入网络时,所述策略与计费执行功能被选择为UE-2提供服务,所述策略与计费执行功能接收UE-2的附着请求消息。710. When the other user equipment UE-2 accesses the network, the policy and charging execution function is selected to provide a service for the UE-2, and the policy and charging execution function receives the attach request message of the UE-2.
其中,所述附着请求消息包含UE-2的标识和UE-2所属群组的标识信息。The attach request message includes the identifier of the UE-2 and the identifier information of the group to which the UE-2 belongs.
本实施例选择了与UE-1同样的策略与计费执行功能为UE-2服务。This embodiment selects the same policy and charging execution function as UE-1 to serve UE-2.
711.策略与计费执行功能向重定向DRA发送IP-CAN会话建立请求消息。其中,所述IP-CAN会话建立请求消息包含UE-2的标识。 711. The Policy and Charging Enforcement Function sends an IP-CAN Session Establishment Request message to the redirected DRA. The IP-CAN session establishment request message includes an identifier of the UE-2.
712.重定向DRA根据UE-2的标识选为UE-2择一个PCRF-2。712. The redirected DRA selects a PCRF-2 for UE-2 according to the identity of UE-2.
其中,所述PCRF-2与所述PCRF为不同的PCRF。Wherein, the PCRF-2 and the PCRF are different PCRFs.
在可选的实施例中,如果重定向DRA为UE-2选择的也是所述PCRF时,后续无需发起地址更新流程。In an optional embodiment, if the redirected DRA is also selected by the UE-2, the PCRF is not required to initiate an address update procedure.
713.重定向DRA向策略与计费执行功能发送会话重定向消息。713. The redirected DRA sends a session redirection message to the policy and charging enforcement function.
其中,所述会话重定向消息包含PCRF-2的IP地址。The session redirection message includes an IP address of the PCRF-2.
714.策略与计费执行功能根据UE-2所属组的组标识确定UE-2和UE-1属于同一个组,确定所述PCRF的IP地址对应的PCRF为UE-2服务。其中,代理DRA确定UE-2所属群组的标识信息与UE-1所属群组的标识信息一致,则代理DRA确定所述UE-2和UE-1属于同一个群组。714. The policy and charging execution function determines that the UE-2 and the UE-1 belong to the same group according to the group identifier of the group to which the UE-2 belongs, and determines that the PCRF corresponding to the IP address of the PCRF serves the UE-2. The proxy DRA determines that the identity information of the group to which the UE-2 belongs is consistent with the identity information of the group to which the UE-1 belongs, and the proxy DRA determines that the UE-2 and the UE-1 belong to the same group.
策略与计费执行功能确定UE-2和UE-1属于同一个群组,则策略与计费执行功能为所述用户设备UE-2选择所述PCRF为其服务。通过步骤714,策略与计费执行功能为UE-2选择了服务于UE-1的PCRF,即UE-2和UE-1都将使用同样的PCRF,由此,使属于同一个群组的不同用户设备UE-1和UE-2选择到同一个PCRF。The policy and charging execution function determines that UE-2 and UE-1 belong to the same group, and the policy and charging execution function selects the PCRF as the service for the user equipment UE-2. Through step 714, the policy and charging execution function selects the PCRF serving UE-1 for UE-2, that is, both UE-2 and UE-1 will use the same PCRF, thereby making the different groups belong to the same group. User equipment UE-1 and UE-2 select the same PCRF.
715.策略与计费执行功能向重定向DRA发送地址更新请求。以使重定向DRA更新为UE-2选择的PCRF。715. The policy and charging enforcement function sends an address update request to the redirect DRA. The redirected DRA is updated to the UE-2 selected PCRF.
其中,所述地址更新请求包含所述PCRF的IP地址。The address update request includes an IP address of the PCRF.
716.重定向DRA向策略与计费执行功能发送地址更新响应。通过此步骤,策略与计费执行功能可以将PCRF-2的IP地址更新为所述PCRF的IP地址。716. The redirected DRA sends an address update response to the policy and charging enforcement function. Through this step, the policy and charging execution function can update the IP address of the PCRF-2 to the IP address of the PCRF.
717.策略与计费执行功能根据所述PCRF的IP地址向所述PCRF发起IP-CAN会话建立请求消息。717. The policy and charging enforcement function initiates an IP-CAN session establishment request message to the PCRF according to the IP address of the PCRF.
在可选的实施例中,不限定步骤715和步骤717的先后顺序,抑或,步骤715和步骤717可以同时进行。In an alternative embodiment, the order of steps 715 and 717 is not limited, or step 715 and step 717 can be performed simultaneously.
718.PCRF向用户信息数据库发送UE-2属性请求,以使用户信息数据库根据UE-2的标识向PCRF提供UE-2的属性信息。 718. The PCRF sends a UE-2 attribute request to the user information database, so that the user information database provides the UE-2 attribute information to the PCRF according to the identifier of the UE-2.
719.用户信息数据库向PCRF发送UE-2属性响应。719. The user information database sends a UE-2 attribute response to the PCRF.
通过此步骤718和719,PCRF可以获取用户设备的属性信息,以便PCRF为所述用户设备服务。可选的,所述属性信息包含用户允许的业务标识、业务之间的优先级、QoS、计费相关的信息、用户类别或IP多媒体子系统信令优先级至少之一。Through this steps 718 and 719, the PCRF can obtain attribute information of the user equipment, so that the PCRF serves the user equipment. Optionally, the attribute information includes at least one of a service identifier allowed by the user, a priority between the services, a QoS, a charging related information, a user category, or an IP multimedia subsystem signaling priority.
720.PCRF发送IP-CAN会话建立响应消息给策略与计费执行功能。720. The PCRF sends an IP-CAN Session Setup Response message to the Policy and Charging Executive function.
在可选的实施例中,还可以具有以下步骤:In an optional embodiment, the following steps may also be performed:
721.策略与计费执行功能判断所有的属于所述组的用户设备从网络去附着后,策略与计费执行功能删除所述PCRF的IP地址。其中,策略与计费执行功能可以存储属于某个群组的用户设备的标识,将所述所有用户设备的标识形成列表并与所述群组的标识信息相关联。当属于群组的用户设备附着到PCRF时,PCRF保存所述用户设备的标识。当某一个用户设备去附着之后,策略与计费执行功能删除所述组标识中包含的用户设备标识,当列表中没有用户设备标识时则认为属于所述组的所有组用户设备均从网络去附着。721. The policy and charging execution function determines that all user equipments belonging to the group are detached from the network, and the policy and charging execution function deletes the IP address of the PCRF. The policy and charging execution function may store the identifiers of the user equipments belonging to a certain group, and form the identifiers of the user equipments into a list and associate with the identification information of the group. When a user equipment belonging to a group is attached to the PCRF, the PCRF saves the identity of the user equipment. After a certain user equipment is detached, the policy and charging execution function deletes the user equipment identifier included in the group identifier. When there is no user equipment identifier in the list, all group user equipments belonging to the group are considered to be from the network. Attached.
在其它的实施例中,PCRF的选择也可以采用静态的PCRF选择方法,即在归属用户服务器(Home Subscriber Server,HSS)或归属位置寄存器(Home Location Register,HLR)中的签约信息中存储包含组用户设备所属的组的组PCRF的IP地址。当组用户设备附着到网络时,HSS向移动管理实体(Mobility Management Entity,MME)或HLR向GPRS业务支撑节点(Serving GPRS Support Node,SGSN)提供组PCRF的IP地址信息。MME在附着流程中向PCEF/PGW提供组PCRF的IP地址信息,或SGSN在附着流程中向PCEF/PGW提供组PCRF的IP地址信息,以使PCEF/PGW向组PCRF发起IP-CAN会话建立流程。In other embodiments, the PCRF selection may also adopt a static PCRF selection method, that is, storing the inclusion group in the subscription information in the Home Subscriber Server (HSS) or the Home Location Register (HLR). IP address of the group PCRF of the group to which the user equipment belongs. When the group user equipment is attached to the network, the HSS provides the IP address information of the group PCRF to the GPRS Service Support Node (SGSN) to the Mobility Management Entity (MME) or the HLR. The MME provides the IP address information of the group PCRF to the PCEF/PGW in the attach procedure, or the SGSN provides the IP address information of the group PCRF to the PCEF/PGW in the attach procedure, so that the PCEF/PGW initiates an IP-CAN session establishment procedure to the group PCRF. .
图8为本发明实施例提供的一种静态策略与计费规则功能PCRF选择方法的流程图,具体如下: FIG. 8 is a flowchart of a method for selecting a static policy and a charging rule function PCRF according to an embodiment of the present disclosure, which is specifically as follows:
81、接收由服务网关发送的PCRF的IP地址和第一标识信息。其中,所述第一标识信息用于标识第一用户设备,所述第一用户设备为群组中包含的用户设备,所述IP地址为归属用户服务器HSS或者归属位置寄存器HLR中存储的为所述群组中所有用户设备配置的PCRF对应的IP地址。81. Receive an IP address and first identification information of the PCRF sent by the serving gateway. The first identifier information is used to identify the first user equipment, and the first user equipment is a user equipment included in the group, and the IP address is stored in the home subscriber server HSS or the home location register HLR. The IP address corresponding to the PCRF configured by all user equipments in the group.
可选的,所述PCRF的IP地址是存储于归属用户服务器HSS或者归属位置寄存器HLR中的。可选的,所述PCRF的IP地址与所述群组的标识信息相关联存储于HSS或者HLR中的签约信息中。可选的,所述组标识为所述组的接入点名称APN。Optionally, the IP address of the PCRF is stored in the home subscriber server HSS or the home location register HLR. Optionally, the IP address of the PCRF is stored in the subscription information in the HSS or the HLR in association with the identification information of the group. Optionally, the group identifier is an access point name APN of the group.
82、将所述IP地址和所述第一标识信息发送给直径路由代理DRA设备。所述IP地址用于为所述第一用户设备触发与所述IP地址对应的所述PCRF的会话建立流程。82. Send the IP address and the first identifier information to a diameter routing proxy DRA device. The IP address is used to trigger a session establishment procedure of the PCRF corresponding to the IP address for the first user equipment.
图9所示为本发明实施例提供的一种策略与计费规则功能PCRF的选择装置,此装置用于执行图8实施例的方法,此装置包括处理单元903耦合的接收单元901和发送单元902。FIG. 9 is a diagram showing a device for selecting a policy and charging rule function PCRF according to an embodiment of the present invention. The device is used to execute the method of the embodiment of FIG. 8. The device includes a receiving unit 901 and a sending unit coupled by the processing unit 903. 902.
所述接收单元901,用于接收由服务网关发送的PCRF的IP地址和第一标识信息,其中,所述第一标识信息用于标识第一用户设备,所述第一用户设备为群组中包含的用户设备,所述IP地址为归属用户服务器HSS或者归属位置寄存器HLR中存储的为所述群组中所有用户设备配置的PCRF对应的IP地址;以及The receiving unit 901 is configured to receive an IP address of the PCRF sent by the serving gateway, and the first identifier information, where the first identifier information is used to identify the first user equipment, where the first user equipment is in the group The included user equipment, the IP address is an IP address corresponding to a PCRF configured for all user equipments in the group stored in the home subscriber server HSS or the home location register HLR;
所述发送单元902,用于将所述IP地址和所述第一标识信息发送给直径路由代理DRA设备,所述IP地址用于为所述第一用户设备触发与所述IP地址对应的所述PCRF的会话建立流程。The sending unit 902 is configured to send the IP address and the first identifier information to a diameter routing proxy DRA device, where the IP address is used to trigger, by the first user equipment, a location corresponding to the IP address. The session establishment process of the PCRF.
在可选的实施例中,所述PCRF的IP地址与所述群组的标识信息相关联存储于HSS或者HLR中的签约信息中。In an optional embodiment, the IP address of the PCRF is stored in the subscription information in the HSS or HLR in association with the identification information of the group.
在可选的实施例中,所述PCRF的选择装置为策略与计费执行功能PCEF。 In an optional embodiment, the selection device of the PCRF is a policy and charging execution function PCEF.
在可选的实现方式中,所述处理单元903可以是处理器。所述处理器具体可以是:基带处理器、数字信号处理器(Digital Signal Processor,DSP)、现场可编程门阵列(Field Programmable Gata Array,FPGA)或中央处理机(Central Processing Unit,CPU)。所述接收单元901可以是接收器(receiver),所述发送单元902可以是发射器(transmitter)。所述接收单元901和发送单元902也可以由收发机(transceiver)实现。所述接收器、发射器和收发机可以是射频电路或包含所述处理器和射频电路的组合。In an alternative implementation, the processing unit 903 can be a processor. The processor may be specifically a baseband processor, a digital signal processor (DSP), a Field Programmable Gata Array (FPGA), or a Central Processing Unit (CPU). The receiving unit 901 may be a receiver, and the transmitting unit 902 may be a transmitter. The receiving unit 901 and the transmitting unit 902 can also be implemented by a transceiver. The receiver, transmitter and transceiver may be radio frequency circuits or comprise a combination of the processor and radio frequency circuits.
在可选的实施方式中,图9实施例提供的装置可以包括处理器、接收器和发射器。所述接收器用于接收由服务网关发送的PCRF的IP地址和第一标识信息,其中,所述第一标识信息用于标识第一用户设备,所述第一用户设备为群组中包含的用户设备,所述IP地址为归属用户服务器HSS或者归属位置寄存器HLR中存储的为所述群组中所有用户设备配置的PCRF对应的IP地址。所述发射器,用于将所述IP地址和所述第一标识信息发送给直径路由代理DRA设备,所述IP地址用于使所述DRA设备将所述第一用户设备连接到所述IP地址对应的所述PCRFIn an alternative embodiment, the apparatus provided by the embodiment of FIG. 9 may include a processor, a receiver, and a transmitter. The receiver is configured to receive an IP address of the PCRF sent by the serving gateway, and the first identifier information, where the first identifier information is used to identify the first user equipment, where the first user equipment is a user included in the group The device, the IP address is an IP address corresponding to a PCRF configured for all user equipments in the group stored in the home subscriber server HSS or the home location register HLR. The transmitter, configured to send the IP address and the first identification information to a diameter routing proxy DRA device, where the IP address is used to enable the DRA device to connect the first user equipment to the IP The PCRF corresponding to the address
图10为本发明实施例提供的一种策略与计费规则功能PCRF的选择方法,其步骤为:FIG. 10 is a schematic diagram of a method for selecting a policy and charging rule function PCRF according to an embodiment of the present invention, where the steps are:
101、接收由策略和计费执行功能PCEF发送的PCRF的IP地址和第一标识信息。其中,所述第一标识信息用于标识第一用户设备,所述第一用户设备为群组中包含的用户设备,所述IP地址为归属用户服务器HSS或者归属位置寄存器HLR中存储的为所述群组中所有用户设备配置的PCRF对应的IP地址。101. Receive an IP address and first identifier information of a PCRF sent by a policy and charging execution function PCEF. The first identifier information is used to identify the first user equipment, and the first user equipment is a user equipment included in the group, and the IP address is stored in the home subscriber server HSS or the home location register HLR. The IP address corresponding to the PCRF configured by all user equipments in the group.
102、根据所述PCRF的IP地址触发将所述策略和计费执行功能与所述PCRF建立连接的过程。102. A process of establishing a connection between the policy and charging execution function and the PCRF according to an IP address of the PCRF.
在可选的实施例中,所述PCRF的IP地址与所述群组的标识信息相关联存储于HSS或者HLR中的签约信息中,其中,所述标识信息为用于标识 所述群组的标识信息。In an optional embodiment, the IP address of the PCRF is stored in the subscription information in the HSS or the HLR in association with the identification information of the group, where the identifier information is used for identification. Identification information of the group.
图11为本发明实施例提供的一种策略与计费规则功能PCRF的选择装置,此装置用于执行图10实施例的方法,所述装置包括与处理单元112耦合的接收单元11111 is a device for selecting a policy and charging rule function PCRF according to an embodiment of the present invention. The device is used to perform the method of the embodiment of FIG. 10, and the device includes a receiving unit 111 coupled to the processing unit 112.
所述接收单元111,用于接收由策略和计费执行功能PCEF发送的PCRF的IP地址和第一标识信息,其中,所述第一标识信息用于标识第一用户设备,所述第一用户设备为群组中包含的用户设备,所述IP地址为归属用户服务器HSS或者归属位置寄存器HLR中存储的为所述群组中所有用户设备配置的PCRF对应的IP地址;The receiving unit 111 is configured to receive an IP address and first identifier information of the PCRF sent by the policy and charging execution function PCEF, where the first identifier information is used to identify the first user equipment, the first user The device is a user equipment included in the group, and the IP address is an IP address corresponding to a PCRF configured in the home subscriber server HSS or the home location register HLR for all user equipments in the group;
所述处理单元112,用于根据所述PCRF的IP地址触发将所述策略和计费执行功能与所述PCRF建立连接的过程。The processing unit 112 is configured to trigger a process of establishing a connection between the policy and the charging execution function and the PCRF according to the IP address of the PCRF.
在可选的实施例中,所述PCRF的IP地址与所述群组的标识信息相关联存储于HSS或者HLR中的签约信息中,其中,所述标识信息为用于标识所述群组的标识信息。In an optional embodiment, the IP address of the PCRF is stored in the subscription information in the HSS or the HLR in association with the identification information of the group, where the identifier information is used to identify the group. Identification information.
在可选的实施例中,所述PCRF的选择装置为代理DRA或者重定向DRA。In an alternative embodiment, the selection means of the PCRF is a proxy DRA or a redirected DRA.
在可选的实现方式中,所述处理单元112可以是处理器。所述处理器具体可以是:基带处理器、数字信号处理器(Digital Signal Processor,DSP)、现场可编程门阵列(Field Programmable Gata Array,FPGA)或中央处理机(Central Processing Unit,CPU)。所述接收单元111可以是接收器(receiver)。所述接收单元111也可以由收发机(transceiver)实现。所述接收器和收发机可以是射频电路或包含所述处理器和射频电路的组合。In an alternative implementation, the processing unit 112 can be a processor. The processor may be specifically a baseband processor, a digital signal processor (DSP), a Field Programmable Gata Array (FPGA), or a Central Processing Unit (CPU). The receiving unit 111 may be a receiver. The receiving unit 111 can also be implemented by a transceiver. The receiver and transceiver may be radio frequency circuits or a combination comprising the processor and radio frequency circuits.
在可选的实施方式中,图11实施例提供的装置可以包括处理器和接收器。所述接收器,用于接收由策略和计费执行功能PCEF发送的PCRF的IP地址和第一标识信息,其中,所述第一标识信息用于标识第一用户设备,所述第一用户设备为群组中包含的用户设备,所述IP地址为归属用户服务器 HSS或者归属位置寄存器HLR中存储的为所述群组中所有用户设备配置的PCRF对应的IP地址。所述处理器,用于根据所述PCRF的IP地址触发将所述策略和计费执行功能与所述PCRF建立连接的过程。In an alternative embodiment, the apparatus provided by the embodiment of FIG. 11 may include a processor and a receiver. The receiver is configured to receive an IP address and first identifier information of the PCRF sent by the policy and charging execution function PCEF, where the first identifier information is used to identify the first user equipment, where the first user equipment is For the user equipment included in the group, the IP address is the home subscriber server. The IP address corresponding to the PCRF configured for all user equipments in the group stored in the HSS or the home location register HLR. The processor is configured to trigger a process of establishing a connection between the policy and charging execution function and the PCRF according to an IP address of the PCRF.
图12为用户设备UE附着到网络时到用户信息存储装置中获取组PCRF的IP地址的流程。其中,所述用户信息存储装置包括归属用户服务器HSS或者归属位置寄存器HLR(本实施例以HSS为例进行说明)。具体步骤如下:FIG. 12 is a flowchart of obtaining an IP address of a group PCRF in a user information storage device when a user equipment UE is attached to a network. The user information storage device includes a home subscriber server HSS or a home location register HLR (the HSS is used as an example in this embodiment). Specific steps are as follows:
121.当UE接入网络时,UE向eNB发送附着请求。121. When the UE accesses the network, the UE sends an attach request to the eNB.
其中附着请求包含UE的标识ID和/或UE所属组的组标识ID。The attach request includes an identifier ID of the UE and/or a group identifier ID of a group to which the UE belongs.
122.eNB将附着请求发送给移动管理设备。其中,所述移动管理设备包括MME或SGSN(本实施例以MME为例进行说明)。122. The eNB sends an attach request to the mobility management device. The mobility management device includes an MME or an SGSN (the MME is taken as an example for description in this embodiment).
123.MME向HSS发送更新位置请求消息。123. The MME sends an update location request message to the HSS.
其中更新位置请求包含UE的标识ID和/或UE所属组的组标识ID。The update location request includes the identity ID of the UE and/or the group identity ID of the group to which the UE belongs.
124.HSS向MME发送位置更新响应。124. The HSS sends a location update response to the MME.
其中,所述位置更新响应消息中包含群组PCRF的IP地址。可选的,所述群组PCRF的IP地址为属于所述群组中的用户设备所共同采用的PCRF所对应的IP地址。HSS中存储了群组PCRF的IP地址。优选的,将组PCRF的IP地址与标识信息相关联并存储,可以是<标识信息,群组PCRF的IP地址>。其中,所述标识信息为用于标识所述群组的标识信息。The location update response message includes an IP address of the group PCRF. Optionally, the IP address of the group PCRF is an IP address corresponding to a PCRF that is commonly used by user equipments in the group. The IP address of the group PCRF is stored in the HSS. Preferably, the IP address of the group PCRF is associated with the identifier information and stored, which may be <identification information, IP address of the group PCRF>. The identifier information is identifier information used to identify the group.
HSS根据UE的签约信息确定提供所述组PCRF为所述UE服务。因此,HSS将向MME发送包含所述组PCRF的IP地址的位置更新响应。The HSS determines to provide the group PCRF to serve the UE according to the subscription information of the UE. Therefore, the HSS will send a Location Update Response containing the IP address of the group of PCRFs to the MME.
125.MME向服务网关(Serving Gateway,SGW)发送会话建立请求。125. The MME sends a session establishment request to a Serving Gateway (SGW).
其中,所述会话建立请求包含所述组PCRF的IP地址。The session establishment request includes an IP address of the group PCRF.
126.服务网关向PCEF/PGW发送会话建立请求。126. The serving gateway sends a session establishment request to the PCEF/PGW.
其中,所述会话建立请求携带组PCRF的IP地址。The session establishment request carries an IP address of the group PCRF.
通过以上步骤,当属于某个群组的不同的用户设备接入网络时,通过调取存储于HSS中的属于所述群组的群组PCRF的IP地址,使所述属于某个 组的不同的用户设备的会话建立请求包含相同的群组PCRF的IP地址,使所述属于某个组的不同的用户设备使用相同的PCRF。Through the above steps, when different user equipments belonging to a certain group access the network, the IP addresses of the group PCRFs belonging to the group stored in the HSS are retrieved, so that the belongings belong to a certain The session establishment request of the different user equipments of the group contains the IP addresses of the same group PCRF, so that the different user equipments belonging to a certain group use the same PCRF.
静态的PCRF选择方法将群组PCRF的IP地址存储于HSS或HLR中,当属于同一个组的用户设备UE接入网络时,通过所述用户设备UE所属的群组的标识信息在HSS中调取组PCRF的IP地址,并在后续的过程中向此调取的群组PCRF的IP地址发起会话建立请求,以使得属于同一个群组的不同的用户设备UE获得相同的PCRF(即,群组PCRF)。The static PCRF selection method stores the IP address of the group PCRF in the HSS or the HLR. When the user equipment UE belonging to the same group accesses the network, the identification information of the group to which the user equipment UE belongs is adjusted in the HSS. The IP address of the PCRF is set, and a session establishment request is initiated to the IP address of the group PCRF that is invoked in the subsequent process, so that different user equipments UEs belonging to the same group obtain the same PCRF (ie, the group) Group PCRF).
图13为基于重定向DRA的选择PCRF的方法,其具体流程如下:FIG. 13 is a method for selecting a PCRF based on a redirected DRA, and the specific process is as follows:
131.用户设备接入网络,PCEF/PGW接收包含群组PCRF的IP地址的会话建立请求消息。131. The user equipment accesses the network, and the PCEF/PGW receives a session establishment request message including an IP address of the group PCRF.
其中,所述会话建立请求消息是根据图12所述实施例而得到的会话建立请求。其中,所述创建会话请求消息包含服务于所述群组用户设备的PCRF的IP地址,所述PCRF的IP地址是存储于归属用户服务器HSS或者归属位置寄存器HLR中的,所述群组用户设备属于所述群组,所述PCRF服务于属于所述群组的任意一个用户设备。由此,能够使属于同一个群组的不同用户设备选择到同一个PCRF。The session establishment request message is a session establishment request obtained according to the embodiment described in FIG. The create session request message includes an IP address of a PCRF serving the group user equipment, and the IP address of the PCRF is stored in a home subscriber server HSS or a home location register HLR, the group user equipment Belonging to the group, the PCRF serves any one of the user equipments belonging to the group. Thereby, different user equipments belonging to the same group can be selected to the same PCRF.
132.PCEF/PGW向重定向DRA发送IP-CAN会话建立请求消息。132. The PCEF/PGW sends an IP-CAN Session Setup Request message to the redirected DRA.
其中,所述IP-CAN会话建立请求消息包含群组PCRF的IP地址。可选的,所述IP-CAN会话建立请求消息还可以包含UE标识和/或所述UE所属群组的标识信息。The IP-CAN session establishment request message includes an IP address of the group PCRF. Optionally, the IP-CAN session establishment request message may further include the UE identifier and/or the identifier information of the group to which the UE belongs.
133.重定向DRA存储群组PCRF的IP地址。133. Redirect the IP address of the DRA storage group PCRF.
其中,重定向DRA接收到PCEF/PGW的IP-CAN会话建立请求消息时,当确定消息中包含了群组PCRF的IP地址时,重定向DRA无需执行PCRF选择流程。When the redirected DRA receives the IP-CAN session establishment request message of the PCEF/PGW, when the IP address of the group PCRF is included in the determination message, the redirected DRA does not need to perform the PCRF selection process.
在可选的实施例中,重定向DRA除了存储所述群组PCRF的IP地址,还可以存储所述UE标识和/或所述UE所属群组的标识信息。 In an optional embodiment, the redirecting DRA may store the UE identifier and/or the identifier information of the group to which the UE belongs, in addition to storing the IP address of the group PCRF.
134.重定向DRA向PCEF/PGW发送会话重定向消息。134. The redirect DRA sends a session redirection message to the PCEF/PGW.
在可选的实施例中,所述会话重定向消息还可以包含所述群组PCRF的IP地址、UE标识或所述UE所属群组的标识信息中的至少一个。In an optional embodiment, the session redirection message may further include at least one of an IP address of the group PCRF, a UE identifier, or identifier information of a group to which the UE belongs.
135.PCEF/PGW根据所述群组PCRF的IP地址向群组PCRF发送IP-CAN会话建立请求消息。135. The PCEF/PGW sends an IP-CAN Session Establishment Request message to the group PCRF according to the IP address of the group PCRF.
136.PCRF向用户信息数据库发送UE属性请求消息。所述用户信息数据库包括SPR或者UDR。136. The PCRF sends a UE attribute request message to the user information database. The user information database includes an SPR or a UDR.
所述属性请求消息用于向用户信息数据库获取UE的属性值。The attribute request message is used to acquire an attribute value of the UE from the user information database.
137.用户信息数据库向PCRF发送UE属性响应消息。137. The user information database sends a UE attribute response message to the PCRF.
138.群组PCRF向PCEF/PGW发送IP-CAN会话建立响应消息。138. The group PCRF sends an IP-CAN session setup response message to the PCEF/PGW.
在可选的实施例中,上述流程中,步骤132和135的先后顺序不受限制。即,PCEF/PGW在步骤131中接收的会话建立请求消息包含有群组PCRF的IP地址。PCEF/PGW根据所述群组PCRF的IP地址向群组PCRF发送IP-CAN会话建立请求消息与PCEF/PGW向重定向DRA发送包含群组PCRF的IP地址的IP-CAN会话建立请求消息的顺序是不受限制的,步骤132以及其后续步骤133和134可以在步骤135之前,也可以在步骤135之后,或者同时进行。In an optional embodiment, in the foregoing process, the order of steps 132 and 135 is not limited. That is, the session establishment request message received by the PCEF/PGW in step 131 contains the IP address of the group PCRF. The PCEF/PGW sends an IP-CAN Session Establishment Request message to the group PCRF according to the IP address of the group PCRF and the IPEF/PGW sends the IP-CAN Session Establishment Request message containing the IP address of the group PCRF to the redirected DRA. Without limitation, step 132 and its subsequent steps 133 and 134 may be performed before step 135, after step 135, or simultaneously.
图14所示实施例为基于代理DRA的选择PCRF的方法,其具体流程如下:The embodiment shown in FIG. 14 is a method for selecting a PCRF based on a proxy DRA, and the specific process is as follows:
141.用户设备UE接入网络,PCEF/PGW接收包含群组PCRF的IP地址的会话建立请求消息。141. The user equipment UE accesses the network, and the PCEF/PGW receives a session establishment request message including an IP address of the group PCRF.
其中,所述会话建立请求消息是根据图12所述实施例而得到的会话建立请求。其中,所述创建会话请求消息包含服务于所述群组用户设备的PCRF的IP地址,所述PCRF的IP地址是存储于归属用户服务器HSS或者归属位置寄存器HLR中的,所述群组用户设备属于所述群组,所述PCRF服务于属于所述群组的任意一个用户设备。由此,能够使属于同一个群组的不同用 户设备选择到同一个PCRF。The session establishment request message is a session establishment request obtained according to the embodiment described in FIG. The create session request message includes an IP address of a PCRF serving the group user equipment, and the IP address of the PCRF is stored in a home subscriber server HSS or a home location register HLR, the group user equipment Belonging to the group, the PCRF serves any one of the user equipments belonging to the group. Thereby, different uses belonging to the same group can be made The device is selected to the same PCRF.
142.PCEF/PGW向代理DRA发送IP-CAN会话建立请求消息。142. The PCEF/PGW sends an IP-CAN Session Setup Request message to the Proxy DRA.
其中,所述IP-CAN会话建立请求消息包含群组PCRF的IP地址。可选的,所述IP-CAN会话建立请求消息还可以包含UE标识和/或所述UE所属群组的标识信息。The IP-CAN session establishment request message includes an IP address of the group PCRF. Optionally, the IP-CAN session establishment request message may further include the UE identifier and/or the identifier information of the group to which the UE belongs.
143.代理DRA存储群组PCRF的IP地址。143. The proxy DRA stores the IP address of the group PCRF.
其中,代理DRA接收到PCEF/PGW的IP-CAN会话建立请求消息时,当确定消息中包含了群组PCRF的IP地址时,代理DRA无需执行PCRF选择流程,而只需按照此PCRF的IP地址发起IP-CAN会话建立请求。When the proxy DRA receives the IP-CAN session establishment request message of the PCEF/PGW, when the determination message includes the IP address of the group PCRF, the proxy DRA does not need to perform the PCRF selection process, but only needs to follow the IP address of the PCRF. Initiate an IP-CAN session establishment request.
在可选的实施例中,代理DRA除了存储所述群组PCRF的IP地址,还可以存储所述UE标识和/或所述UE所属群组的标识信息。In an optional embodiment, the proxy DRA may store the UE identifier and/or the identifier information of the group to which the UE belongs, in addition to storing the IP address of the group PCRF.
144.代理DRA根据所述群组PCRF的IP地址向群组PCRF发送IP-CAN144. The proxy DRA sends an IP-CAN to the group PCRF according to the IP address of the group PCRF.
会话建立请求。Session establishment request.
145.群组PCRF向用户信息数据库发送UE属性请求消息。145. The group PCRF sends a UE attribute request message to the user information database.
所述属性请求消息用于向用户信息数据库获取UE的属性值。The attribute request message is used to acquire an attribute value of the UE from the user information database.
146.用户信息数据库向PCRF发送UE属性响应消息。146. The user information database sends a UE attribute response message to the PCRF.
147.群组PCRF通过代理DRA向PCEF/PGW发送IP-CAN会话建立响应147. The group PCRF sends an IP-CAN session establishment response to the PCEF/PGW through the proxy DRA.
消息。Message.
在不冲突的情况下,本发明实施例以及实施例中的特征可以相互结合。The features of the embodiments of the present invention and the embodiments may be combined with each other without conflict.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims (36)

  1. 一种策略与计费规则功能PCRF选择方法,其特征在于,包括:A policy and charging rule function PCRF selection method, which comprises:
    核心网设备获取第一PCRF的IP地址,其中,所述第一PCRF为为第一用户设备服务的PCRF,所述第一用户设备为群组包括的多个用户设备中第一个接入网络的用户设备;The core network device obtains the IP address of the first PCRF, where the first PCRF is a PCRF serving the first user equipment, and the first user equipment is the first one of the multiple user equipments included in the group. User equipment;
    所述核心网设备接收第二标识信息,其中,所述第二标识信息为所述第二用户设备的标识信息;The core network device receives the second identifier information, where the second identifier information is the identifier information of the second user equipment;
    所述核心网设备根据所述第二标识信息或第三标识信息确定所述第二用户设备为所述群组包括的用户设备,其中,所述第三标识信息为用于标识所述群组的标识信息;Determining, by the core network device, that the second user equipment is a user equipment that is included in the group according to the second identifier information or the third identifier information, where the third identifier information is used to identify the group Identification information;
    所述核心网设备根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程。The core network device triggers a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF.
  2. 如权利要求1所述的方法,其特征在于,所述核心网设备获取第一PCRF的IP地址之后,所述核心网设备接收第二标识信息之前,还包括:The method according to claim 1, wherein after the core network device obtains the IP address of the first PCRF, the core network device further includes:
    所述核心网设备存储所述第一PCRF的IP地址和所述第三标识信息的对应关系;The core network device stores a correspondence between an IP address of the first PCRF and the third identifier information;
    所述核心网设备为所述第二用户设备触发与所述第一PCRF的会话建立流程,包括:The core network device triggers a session establishment process with the first PCRF for the second user equipment, including:
    所述核心网设备根据所述对应关系获取所述第一PCRF的IP地址,并根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程。The core network device acquires an IP address of the first PCRF according to the corresponding relationship, and triggers a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF.
  3. 如权利要求2所述的方法,其特征在于,所述核心网设备为所述第二用户设备触发与所述第一PCRF的会话建立流程,包括:The method of claim 2, wherein the core network device triggers a session establishment process with the first PCRF for the second user equipment, including:
    所述核心网设备根据所述对应关系,确定由所述第一PCRF为所述第二用户设备服务;以及Determining, by the core network device, that the first PCRF serves the second user equipment according to the corresponding relationship;
    根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一 PCRF的会话建立流程。Trimming with the first user equipment according to the IP address of the first PCRF The session establishment process of the PCRF.
  4. 如权利要求2或3所述的方法,其特征在于,A method according to claim 2 or 3, wherein
    所述核心网设备存储所述第一PCRF的IP地址和所述第三标识信息的对应关系,包括:所述核心网设备根据所述第一标识信息和存储的所述第一用户设备的签约信息确定所述第一用户设备为所述群组中的用户设备,所述核心网设备存储所述第一PCRF的IP地址和所述第三标识信息的对应关系。The core network device stores the correspondence between the IP address of the first PCRF and the third identifier information, including: the core network device signing according to the first identifier information and the stored first user equipment The information determines that the first user equipment is a user equipment in the group, and the core network device stores a correspondence between an IP address of the first PCRF and the third identifier information.
  5. 如权利要求2或3所述的方法,其特征在于,A method according to claim 2 or 3, wherein
    所述核心网设备存储所述第一PCRF的IP地址和所述第三标识信息的对应关系之前,还包括:所述核心网设备接收第一标识信息和第三标识信息,所述第一标识信息用于标识所述第一用户设备;Before the core network device stores the correspondence between the IP address of the first PCRF and the third identifier information, the method further includes: the core network device receiving the first identifier information and the third identifier information, where the first identifier The information is used to identify the first user equipment;
    所述核心网设备存储所述第一PCRF的IP地址和所述第三标识信息的对应关系,包括:所述用户信息数据库设备根据所述第一标识信息和所述第三标识信息确定所述第一用户设备为所述群组中的用户设备,所述核心网设备存储所述第一PCRF的IP地址和所述第三标识信息的对应关系。The core network device stores the correspondence between the IP address of the first PCRF and the third identifier information, including: the user information database device determines, according to the first identifier information and the third identifier information, The first user equipment is a user equipment in the group, and the core network device stores a correspondence between an IP address of the first PCRF and the third identifier information.
  6. 如权利要求1至5中任一项所述的方法,其特征在于,所述核心网设备为用户信息数据库设备;The method according to any one of claims 1 to 5, wherein the core network device is a user information database device;
    所述核心网设备获取第一PCRF的IP地址,包括:所述用户信息数据库接收所述第一PCRF发送的所述第一PCRF的IP地址。And obtaining, by the core network device, an IP address of the first PCRF, where the user information database receives an IP address of the first PCRF sent by the first PCRF.
  7. 如权利要求1至5中任一项所述的方法,其特征在于,所述核心网设备获取第一PCRF的IP地址,包括:The method according to any one of claims 1 to 5, wherein the core network device acquires an IP address of the first PCRF, including:
    所述核心网设备接收第一标识信息;以及,所述核心网设备为所述第一标识信息标识的所述第一用户设备选择第一PCRF并获取所述第一PCRF的IP地址。The core network device receives the first identification information; and the core network device selects the first PCRF for the first user equipment that is identified by the first identifier information, and acquires an IP address of the first PCRF.
  8. 如权利要求2至5中任一项所述的方法,其特征在于,所述核心网设备为策略和计费执行功能PCEF;The method according to any one of claims 2 to 5, wherein the core network device is a policy and charging execution function PCEF;
    所述核心网设备获取第一PCRF的IP地址,包括: The core network device acquires an IP address of the first PCRF, including:
    所述策略和计费执行功能接收DRA设备发送的第一PCRF的IP地址,其中,所述第一PCRF为所述DRA设备为所述第一用户设备选择的PCRF。The policy and the charging execution function receive the IP address of the first PCRF sent by the DRA device, where the first PCRF is a PCRF selected by the DRA device for the first user equipment.
  9. 如权利要求8所述的方法,其特征在于,所述核心网设备为策略与计费执行功能PCEF,所述核心网设备为所述第二用户设备触发与所述第一PCRF的会话建立流程之前,还包括:The method according to claim 8, wherein the core network device is a policy and charging execution function PCEF, and the core network device triggers a session establishment process with the first PCRF for the second user equipment. Previously, it also included:
    所述PCEF接收DRA设备发送的第二PCRF的IP地址;Receiving, by the PCEF, an IP address of a second PCRF sent by the DRA device;
    所述PCEF根据接收的第三标识信息和所述对应关系确定由所述第一PCRF为所述第二用户设备服务,其中,所述对应关系为所述PCEF存储的所述第一PCRF的IP地址和所述第三标识信息的对应关系;Determining, by the PCEF, that the first PCRF is the second user equipment according to the received third identifier information, and the corresponding relationship, where the correspondence is the IP of the first PCRF stored by the PCEF Correspondence between the address and the third identification information;
    所述PCEF向所述DRA设备发送所述第一PCRF的IP地址,所述第一PCRF的IP地址用于所述DRA设备将所述第二PCRF的IP地址更新为所述第一PCRF的IP地址。Sending, by the PCEF, an IP address of the first PCRF to the DRA device, where an IP address of the first PCRF is used by the DRA device to update an IP address of the second PCRF to an IP of the first PCRF address.
  10. 如权利要求2至5或9中任一项所述的方法,其特征在于,所述核心网设备接收第二标识信息时,所述核心网设备还接收第三标识信息;The method according to any one of claims 2 to 5, wherein the core network device further receives the third identification information when the core network device receives the second identification information;
    所述核心网设备根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程,包括:The core network device triggers a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF, including:
    所述核心网设备根据接收的所述第三标识信息和所述对应关系,确定为所述第二用户设备服务的第一PCRF的IP地址,并根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程。Determining, by the core network device, the IP address of the first PCRF served by the second user equipment according to the received third identifier information and the corresponding relationship, and according to the IP address of the first PCRF, The second user equipment triggers a session establishment procedure with the first PCRF.
  11. 如权利要求1至10中任一项所述的方法,其特征在于,所述核心网设备为所述第二用户设备触发与所述第一PCRF的会话建立流程,包括:The method according to any one of claims 1 to 10, wherein the core network device triggers a session establishment process with the first PCRF for the second user equipment, including:
    所述核心网设备向所述第二PCRF发送包含所述第一PCRF的IP地址的消息,所述第二PCRF将所述第二用户设备重定向至所述第一PCRF;或者Sending, by the core network device, a message including an IP address of the first PCRF to the second PCRF, where the second PCRF redirects the second user equipment to the first PCRF; or
    所述核心网设备向为所述第二用户设备服务的策略和计费执行功能发送包含所述第一PCRF的IP地址的消息,为所述第二用户设备触发与所述第一PCRF的会话建立流程;或者 Sending, by the core network device, a message including an IP address of the first PCRF to a policy and a charging execution function serving the second user equipment, and triggering a session with the first PCRF for the second user equipment Establish a process; or
    所述核心网设备根据所述第一PCRF的IP地址,向所述第一PCRF发送会话建立请求,为所述第二用户设备触发与所述第一PCRF的会话建立流程。The core network device sends a session establishment request to the first PCRF according to the IP address of the first PCRF, and triggers a session establishment procedure with the first PCRF for the second user equipment.
  12. 如权利要求2至5或9或10中任一项所述的方法,其特征在于,所述核心网设备为所述第二用户设备触发与所述第一PCRF的会话建立流程之后,还包括:The method according to any one of claims 2 to 5 or 9 or 10, wherein after the core network device triggers a session establishment process with the first PCRF for the second user equipment, the method further includes :
    所述核心网设备确定所述第二用户设备去附着;以及The core network device determines that the second user device is detached;
    所述核心网设备从所述第三标识信息与所述群组中所有用户设备的标识信息的对应关系中,删除所述第二标识信息。The core network device deletes the second identifier information from a correspondence between the third identifier information and the identifier information of all user equipments in the group.
  13. 如权利要求2至5或9或10或12中任一项所述的方法,其特征在于,所述核心网设备为所述第二用户设备触发与所述第一PCRF的会话建立流程之后,还包括:The method according to any one of claims 2 to 5 or 9 or 10 or 12, wherein the core network device triggers a session establishment process with the first PCRF for the second user equipment, Also includes:
    所述核心网设备确定所述群组中所有用户设备去附着后,删除所述第三标识信息与所述第一PCRF的IP地址的对应关系;或者,After the core network device determines that all the user equipments in the group are detached, the corresponding relationship between the third identifier information and the IP address of the first PCRF is deleted; or
    所述核心网设备接收到删除所述第三标识信息与所述第一PCRF的IP地址的对应关系的请求消息后,删除所述第三标识信息与所述第一PCRF的IP地址的对应关系。After receiving the request message for deleting the correspondence between the third identifier information and the IP address of the first PCRF, the core network device deletes the correspondence between the third identifier information and the IP address of the first PCRF. .
  14. 如权利要求1至13中任一项所述的方法,其特征在于,所述确定所述第二用户设备为所述群组中包括的用户设备,包括:The method according to any one of claims 1 to 13, wherein the determining that the second user equipment is a user equipment included in the group comprises:
    根据存储的所述第二用户设备的签约信息和接收到的所述第二用户设备的标识信息,确定所述第二用户设备为所述群组中包括的用户设备;或者Determining, according to the stored subscription information of the second user equipment and the received identification information of the second user equipment, that the second user equipment is a user equipment included in the group; or
    根据所述第三标识信息确定所述第二用户设备为所述群组中包括的用户设备;或者Determining, according to the third identifier information, that the second user equipment is a user equipment included in the group; or
    根据所述第二标识信息和所述第三标识信息确定所述第二用户设备属于所述群组。Determining, according to the second identifier information and the third identifier information, that the second user equipment belongs to the group.
  15. 一种核心网设备,其特征在于,包括与处理单元耦合的接收单元、发送单元和存储单元,其中: A core network device, comprising: a receiving unit, a transmitting unit, and a storage unit coupled to the processing unit, wherein:
    所述处理单元,用于获取第一PCRF的IP地址,其中,所述第一PCRF为为第一用户设备服务的PCRF,所述第一用户设备为群组包括的多个用户设备中第一个接入网络的用户设备;The processing unit is configured to obtain an IP address of the first PCRF, where the first PCRF is a PCRF serving the first user equipment, and the first user equipment is the first one of the multiple user equipments included in the group. User equipment accessing the network;
    所述接收单元,用于接收第二标识信息,其中,所述第二标识信息为所述第二用户设备的标识信息;The receiving unit is configured to receive second identifier information, where the second identifier information is identifier information of the second user equipment;
    所述处理单元,还用于根据所述第二标识信息或第三标识信息确定所述第二用户设备为所述群组包括的用户设备,其中,所述第三标识信息为用于标识所述群组的标识信息;以及The processing unit is further configured to determine, according to the second identifier information or the third identifier information, that the second user equipment is a user equipment that is included in the group, where the third identifier information is used for Identification information of the group;
    根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程。And according to the IP address of the first PCRF, triggering a session establishment process with the first PCRF for the second user equipment.
  16. 如权利要求15所述的核心网设备,其特征在于,The core network device of claim 15 wherein:
    所述存储单元,用于存储所述第一PCRF的IP地址和所述第三标识信息的对应关系;The storage unit is configured to store a correspondence between an IP address of the first PCRF and the third identifier information;
    所述处理单元是设置为按如下方式为所述第二用户设备触发与所述第一PCRF的会话建立流程:The processing unit is configured to trigger a session establishment process with the first PCRF for the second user equipment as follows:
    根据所述对应关系获取所述第一PCRF的IP地址,并根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程。Acquiring the IP address of the first PCRF according to the corresponding relationship, and triggering a session establishment process with the first PCRF for the second user equipment according to the IP address of the first PCRF.
  17. 如权利要求16所述的核心网设备,其特征在于,所述处理单元是设置为按如下方式为所述第二用户设备触发与所述第一PCRF的会话建立流程:The core network device according to claim 16, wherein the processing unit is configured to trigger a session establishment process with the first PCRF for the second user equipment as follows:
    根据所述存储单元存储的所述对应关系,确定由所述第一PCRF为所述第二用户设备服务;以及Determining, by the first PCRF, the second user equipment according to the correspondence stored by the storage unit;
    根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程。And according to the IP address of the first PCRF, triggering a session establishment process with the first PCRF for the second user equipment.
  18. 如权利要求16或17所述的核心网设备,其特征在于, A core network device according to claim 16 or 17, wherein
    所述存储单元还用于,存储所述第一用户设备的签约信息;The storage unit is further configured to store subscription information of the first user equipment;
    所述处理单元还用于,根据所述第一标识信息和所述存储单元存储的所述签约信息确定所述第一用户设备为所述群组中的用户设备,将所述第一PCRF的IP地址和所述第三标识信息的对应关系存储到所述存储单元。The processing unit is further configured to: determine, according to the first identifier information and the subscription information stored by the storage unit, that the first user equipment is a user equipment in the group, and the first PCRF is The correspondence between the IP address and the third identification information is stored in the storage unit.
  19. 如权利要求16或17所述的核心网设备,其特征在于,A core network device according to claim 16 or 17, wherein
    所述接收单元还用于,接收第一标识信息和第三标识信息,所述第一标识信息用于标识所述第一用户设备;The receiving unit is further configured to receive the first identifier information and the third identifier information, where the first identifier information is used to identify the first user equipment;
    所述处理单元还用于,根据所述接收单元接收的所述第一标识信息和所述第三标识信息确定所述第一用户设备为所述群组中的用户设备,将所述第一PCRF的IP地址和所述第三标识信息的对应关系存储到所述存储单元。The processing unit is further configured to: determine, according to the first identifier information and the third identifier information that are received by the receiving unit, that the first user equipment is a user equipment in the group, and the first The correspondence between the IP address of the PCRF and the third identification information is stored in the storage unit.
  20. 如权利要求15至19中任一项所述的核心网设备,其特征在于,A core network device according to any one of claims 15 to 19, characterized in that
    所述接收单元还用于,接收所述第一PCRF发送的所述第一PCRF的IP地址;The receiving unit is further configured to receive an IP address of the first PCRF sent by the first PCRF;
    所述处理单元获取的所述第一PCRF的IP地址是所述接收单元接收的。The IP address of the first PCRF acquired by the processing unit is received by the receiving unit.
  21. 如权利要求15至19中任一项所述的核心网设备,其特征在于,A core network device according to any one of claims 15 to 19, characterized in that
    所述接收单元还用于,接收第一标识信息;The receiving unit is further configured to receive first identification information;
    所述处理单元是设置为按如下方式获取所述第一PCRF的IP地址:为所述接收单元接收的所述第一标识信息标识的所述第一用户设备选择第一PCRF并获取所述第一PCRF的IP地址。The processing unit is configured to acquire an IP address of the first PCRF according to the following manner: the first user equipment that is identified by the first identifier information received by the receiving unit selects a first PCRF, and obtains the first The IP address of a PCRF.
  22. 如权利要求15至19中任一项所述的核心网设备,其特征在于,A core network device according to any one of claims 15 to 19, characterized in that
    所述接收单元还用于,接收DRA设备发送的第一PCRF的IP地址,其中,所述第一PCRF为所述DRA设备为所述第一用户设备选择的PCR实体;The receiving unit is further configured to receive an IP address of the first PCRF sent by the DRA device, where the first PCRF is a PCR entity selected by the DRA device for the first user equipment;
    所述处理单元获取的所述第一PCRF的IP地址是所述接收单元接收的。The IP address of the first PCRF acquired by the processing unit is received by the receiving unit.
  23. 如权利要求22所述的核心网设备,其特征在于,A core network device according to claim 22, wherein
    所述接收单元还用于,接收DRA设备发送的第二PCRF的IP地址;The receiving unit is further configured to receive an IP address of a second PCRF sent by the DRA device;
    所述处理单元还用于,为所述第二用户设备触发与所述第一PCRF的会 话建立流程之前,根据接收的第三标识信息和对应关系确定由所述第一PCRF为所述第二用户设备服务,其中,所述对应关系为所述第一PCRF的IP地址和所述第三标识信息的对应关系;The processing unit is further configured to trigger a meeting with the first PCRF for the second user equipment Determining, by the first PCRF, the second user equipment, according to the received third identifier information and the corresponding relationship, where the correspondence is the IP address of the first PCRF and the first The corresponding relationship of the three identification information;
    所述发送单元,用于向所述DRA设备发送所述第一PCRF的IP地址,所述第一PCRF的IP地址用于所述DRA设备将所述第二PCRF的IP地址更新为所述第一PCRF的IP地址。The sending unit is configured to send an IP address of the first PCRF to the DRA device, where an IP address of the first PCRF is used by the DRA device to update an IP address of the second PCRF to the first The IP address of a PCRF.
  24. 如权利要求15至23中任一项所述的核心网设备,其特征在于,所述接收单元接收第二标识信息时,还接收第三标识信息;The core network device according to any one of claims 15 to 23, wherein the receiving unit further receives the third identification information when receiving the second identification information;
    所述处理单元是设置为按如下方式为所述第二用户设备触发与所述第一PCRF的会话建立流程:The processing unit is configured to trigger a session establishment process with the first PCRF for the second user equipment as follows:
    根据所述接收单元接收的所述第三标识信息和对应关系,确定为所述第二用户设备服务的第一PCRF的IP地址,并根据所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程,其中,所述对应关系为所述存储单元中存储的所述第一PCRF的IP地址和所述第三标识信息的对应关系。Determining, according to the third identifier information and the corresponding relationship received by the receiving unit, an IP address of the first PCRF served by the second user equipment, and according to the IP address of the first PCRF, being the second The user equipment triggers a session establishment process with the first PCRF, where the corresponding relationship is a correspondence between an IP address of the first PCRF and the third identifier information stored in the storage unit.
  25. 如权利要求15至24中任一项所述的核心网设备,其特征在于,所述处理单元是设置为按如下方式为所述第二用户设备触发与所述第一PCRF的会话建立流程:The core network device according to any one of claims 15 to 24, wherein the processing unit is configured to trigger a session establishment process with the first PCRF for the second user equipment as follows:
    所述处理单元通过所述发送单元向所述第二PCRF发送所述第一PCRF的IP地址,触发所述第二PCRF将所述第二用户设备重定向至所述第一PCRF的过程;或者Transmitting, by the sending unit, the IP address of the first PCRF to the second PCRF by using the sending unit, and triggering a process in which the second PCRF redirects the second user equipment to the first PCRF; or
    所述处理单元通过所述发送单元向为所述第二用户设备服务的PCEF发送所述第一PCRF的IP地址,为所述第二用户设备触发与所述第一PCRF的会话建立流程;或者Transmitting, by the sending unit, the IP address of the first PCRF to the PCEF serving the second user equipment, and triggering a session establishment process with the first PCRF for the second user equipment; or
    所述处理单元根据所述第一PCRF的IP地址,通过所述发送单元向所述第一PCRF发送会话建立请求,为所述第二用户设备触发与所述第一PCRF 的会话建立流程。The processing unit sends a session establishment request to the first PCRF by using the sending unit, according to the IP address of the first PCRF, to trigger the first PCRF with the first user equipment. Session establishment process.
  26. 如权利要求16至19或23或24中任一项所述的核心网设备,其特征在于,所述处理单元还用于,为所述第二用户设备触发与所述第一PCRF的会话建立流程之后,确定所述第二用户设备去附着;以及The core network device according to any one of claims 16 to 19 or 23 or 24, wherein the processing unit is further configured to trigger a session establishment with the first PCRF for the second user equipment After the process, determining that the second user equipment is detached;
    从所述第三标识信息与所述群组中所有用户设备的标识信息的对应关系中,删除所述第二标识信息。And deleting the second identifier information from the correspondence between the third identifier information and the identifier information of all the user equipments in the group.
  27. 如权利要求16至19或23或24或25中任一项所述的核心网设备,其特征在于,所述处理单元为所述第二用户设备触发与所述第一PCRF的会话建立流程之后,在确定所述群组中所有用户设备去附着后,删除所述第三标识信息与所述第一PCRF的IP地址的对应关系;或者,The core network device according to any one of claims 16 to 19 or 23 or 24 or 25, wherein the processing unit is configured to trigger a session establishment process with the first PCRF after the second user equipment triggers After determining that all the user equipments in the group are detached, deleting the correspondence between the third identifier information and the IP address of the first PCRF; or
    在接收到删除所述第三标识信息与所述第一PCRF的IP地址的对应关系的请求消息后,删除所述第三标识信息与所述第一PCRF的IP地址的对应关系。After receiving the request message for deleting the correspondence between the third identifier information and the IP address of the first PCRF, the correspondence between the third identifier information and the IP address of the first PCRF is deleted.
  28. 如权利要求15至27中任一项所述的核心网设备,其特征在于,所述处理单元是设置为按如下方式确定所述第二用户设备为所述群组中包括的用户设备:The core network device according to any one of claims 15 to 27, wherein the processing unit is configured to determine that the second user equipment is a user equipment included in the group as follows:
    根据存储的所述第二用户设备的签约信息和接收到的所述第二用户设备的标识信息,确定所述第二用户设备为所述群组中包括的用户设备;或者Determining, according to the stored subscription information of the second user equipment and the received identification information of the second user equipment, that the second user equipment is a user equipment included in the group; or
    根据所述第三标识信息确定所述第二用户设备为所述群组中包括的用户设备;或者Determining, according to the third identifier information, that the second user equipment is a user equipment included in the group; or
    根据所述第二标识信息和所述第三标识信息确定所述第二用户设备属于所述群组。Determining, according to the second identifier information and the third identifier information, that the second user equipment belongs to the group.
  29. 一种策略与计费规则功能PCRF的选择方法,其特征在于,包括:A method for selecting a policy and charging rule function PCRF, comprising:
    接收由服务网关发送的PCRF的IP地址和第一标识信息,其中,所述第一标识信息用于标识第一用户设备,所述第一用户设备为群组中包含的用户设备,所述IP地址为归属用户服务器HSS或者归属位置寄存器HLR中存 储的为所述群组中所有用户设备配置的PCRF对应的IP地址;以及Receiving an IP address of the PCRF sent by the serving gateway and the first identifier information, where the first identifier information is used to identify the first user equipment, where the first user equipment is a user equipment included in the group, the IP The address is stored in the home subscriber server HSS or the home location register HLR. The IP address corresponding to the PCRF configured for all user equipments in the group;
    将所述IP地址和所述第一标识信息发送给直径路由代理DRA设备,所述IP地址用于为所述第一用户设备触发与所述IP地址对应的所述PCRF的会话建立流程。Transmitting the IP address and the first identifier information to a diameter routing proxy DRA device, where the IP address is used to trigger a session establishment procedure of the PCRF corresponding to the IP address for the first user equipment.
  30. 根据权利要求29所述的方法,其特征在于,所述PCRF的IP地址与所述群组的标识信息相关联存储于HSS或者HLR中的签约信息中。The method according to claim 29, wherein the IP address of the PCRF is stored in the subscription information in the HSS or the HLR in association with the identification information of the group.
  31. 一种策略与计费规则功能PCRF的选择装置,其特征在于,包括与处理单元耦合的接收单元和发送单元:A device for selecting a policy and charging rule function PCRF, comprising: a receiving unit and a transmitting unit coupled to the processing unit:
    所述接收单元,用于接收由服务网关发送的PCRF的IP地址和第一标识信息,其中,所述第一标识信息用于标识第一用户设备,所述第一用户设备为群组中包含的用户设备,所述IP地址为归属用户服务器HSS或者归属位置寄存器HLR中存储的为所述群组中所有用户设备配置的PCRF对应的IP地址;以及The receiving unit is configured to receive an IP address of the PCRF sent by the serving gateway, and the first identifier information, where the first identifier information is used to identify the first user equipment, where the first user equipment is included in the group User equipment, the IP address is an IP address corresponding to a PCRF configured for all user equipments in the group stored in the home subscriber server HSS or the home location register HLR;
    所述发送单元,用于将所述IP地址和所述第一标识信息发送给直径路由代理DRA设备,所述IP地址用于为所述第一用户设备触发与所述IP地址对应的所述PCRF的会话建立流程。The sending unit is configured to send the IP address and the first identifier information to a diameter routing proxy DRA device, where the IP address is used to trigger the first user equipment to correspond to the IP address The session establishment process of the PCRF.
  32. 根据权利要求31所述的装置,其特征在于,所述PCRF的IP地址与所述群组的标识信息相关联存储于HSS或者HLR中的签约信息中。The apparatus according to claim 31, wherein the IP address of the PCRF is stored in the subscription information in the HSS or the HLR in association with the identification information of the group.
  33. 一种策略与计费规则功能PCRF的选择方法,其特征在于,包括:A method for selecting a policy and charging rule function PCRF, comprising:
    接收由策略和计费执行功能PCEF发送的PCRF的IP地址和第一标识信息,其中,所述第一标识信息用于标识第一用户设备,所述第一用户设备为群组中包含的用户设备,所述IP地址为归属用户服务器HSS或者归属位置寄存器HLR中存储的为所述群组中所有用户设备配置的PCRF对应的IP地址;以及And receiving the IP address and the first identifier information of the PCRF sent by the policy and the charging and executing function PCEF, where the first identifier information is used to identify the first user equipment, where the first user equipment is a user included in the group a device, the IP address being an IP address corresponding to a PCRF configured for all user equipments in the group stored in the home subscriber server HSS or the home location register HLR;
    根据所述PCRF的IP地址触发将所述策略和计费执行功能与所述PCRF建立连接的过程。 A process of establishing a connection between the policy and charging execution function and the PCRF according to an IP address of the PCRF.
  34. 根据权利要求33所述的方法,其特征在于,所述PCRF的IP地址与所述群组的标识信息相关联存储于HSS或者HLR中的签约信息中,其中,所述标识信息为用于标识所述群组的标识信息。The method according to claim 33, wherein the IP address of the PCRF is stored in the subscription information in the HSS or the HLR in association with the identification information of the group, wherein the identification information is used for identification. Identification information of the group.
  35. 一种策略与计费规则功能PCRF的选择装置,其特征在于,包括与处理单元耦合的接收单元:A device for selecting a policy and charging rule function PCRF, comprising: a receiving unit coupled to a processing unit:
    所述接收单元,用于接收由策略和计费执行功能PCEF发送的PCRF的IP地址和第一标识信息,其中,所述第一标识信息用于标识第一用户设备,所述第一用户设备为群组中包含的用户设备,所述IP地址为归属用户服务器HSS或者归属位置寄存器HLR中存储的为所述群组中所有用户设备配置的PCRF对应的IP地址;The receiving unit is configured to receive an IP address and first identifier information of the PCRF sent by the policy and charging execution function PCEF, where the first identifier information is used to identify the first user equipment, where the first user equipment is For the user equipment included in the group, the IP address is an IP address corresponding to the PCRF configured for all user equipments in the group stored in the home subscriber server HSS or the home location register HLR;
    所述处理单元,用于根据所述PCRF的IP地址触发将所述策略和计费执行功能与所述PCRF建立连接的过程。The processing unit is configured to trigger a process of establishing a connection between the policy and charging execution function and the PCRF according to an IP address of the PCRF.
  36. 根据权利要求35所述的装置,其特征在于,所述PCRF的IP地址与所述群组的标识信息相关联存储于HSS或者HLR中的签约信息中,其中,所述标识信息为用于标识所述群组的标识信息。 The device according to claim 35, wherein the IP address of the PCRF is stored in the subscription information in the HSS or the HLR in association with the identification information of the group, wherein the identifier information is used for identification. Identification information of the group.
PCT/CN2014/091129 2014-11-14 2014-11-14 Method and apparatus for selecting policy and charging rules function WO2016074224A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2014/091129 WO2016074224A1 (en) 2014-11-14 2014-11-14 Method and apparatus for selecting policy and charging rules function
CN201480083287.7A CN107251483A (en) 2014-11-14 2014-11-14 A kind of strategy and charging rule functions system of selection and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/091129 WO2016074224A1 (en) 2014-11-14 2014-11-14 Method and apparatus for selecting policy and charging rules function

Publications (1)

Publication Number Publication Date
WO2016074224A1 true WO2016074224A1 (en) 2016-05-19

Family

ID=55953615

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/091129 WO2016074224A1 (en) 2014-11-14 2014-11-14 Method and apparatus for selecting policy and charging rules function

Country Status (2)

Country Link
CN (1) CN107251483A (en)
WO (1) WO2016074224A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10785622B1 (en) 2019-04-05 2020-09-22 At&T Intellectual Property I, L.P. Policy node identifier for application services in a packet core network
WO2020200207A1 (en) * 2019-03-31 2020-10-08 华为技术有限公司 Method for acquiring internet protocol ip address of terminal device, device, and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179616A (en) * 2011-12-20 2013-06-26 华为技术有限公司 Method, system and device for selecting policy and charging rule function modules
CN103327453A (en) * 2012-03-22 2013-09-25 北京三星通信技术研究有限公司 Method for selecting PCEF and CRF
CN103490908A (en) * 2012-06-12 2014-01-01 中兴通讯股份有限公司 Selection method, device and system for PCRF
US20140274186A1 (en) * 2013-03-15 2014-09-18 Alcatel-Lucent Usa Inc. Control of group triggers for mtc services

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075894B (en) * 2009-11-25 2014-03-12 中兴通讯股份有限公司 Selection method and system for policy and charging rules function entity
CN102123035B (en) * 2010-01-08 2015-06-03 中兴通讯股份有限公司 Policy and charging rules function (PCRF) entity selection method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179616A (en) * 2011-12-20 2013-06-26 华为技术有限公司 Method, system and device for selecting policy and charging rule function modules
CN103327453A (en) * 2012-03-22 2013-09-25 北京三星通信技术研究有限公司 Method for selecting PCEF and CRF
CN103490908A (en) * 2012-06-12 2014-01-01 中兴通讯股份有限公司 Selection method, device and system for PCRF
US20140274186A1 (en) * 2013-03-15 2014-09-18 Alcatel-Lucent Usa Inc. Control of group triggers for mtc services

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020200207A1 (en) * 2019-03-31 2020-10-08 华为技术有限公司 Method for acquiring internet protocol ip address of terminal device, device, and system
US10785622B1 (en) 2019-04-05 2020-09-22 At&T Intellectual Property I, L.P. Policy node identifier for application services in a packet core network
US11039291B2 (en) 2019-04-05 2021-06-15 At&T Intellectual Property I, L.P. Policy node identifier for application services in a packet core network

Also Published As

Publication number Publication date
CN107251483A (en) 2017-10-13

Similar Documents

Publication Publication Date Title
KR102442911B1 (en) Selection of Network Slice Identifiers
US10064043B2 (en) Connecting user equipment to different core networks
US8438290B2 (en) Method for selecting a policy and charging rules function entity in the non-roaming scenario
KR102048882B1 (en) Method and system for selecting pcef and pcrf in a wireless communication system
TWI516160B (en) An implementation method and device for an adjacent communication service
US9521077B2 (en) Network connection via a proxy device using a generic access point name
JP2014508486A (en) Method, system, and computer-readable medium for diameter-based guidance of mobile device network access
EP3007400B1 (en) Network resource prioritization for mobile terminating services
US11133946B2 (en) Systems and methods for selective provisioning of a charging function in a wireless network
WO2020001336A1 (en) Information processing method and device
US20160073328A1 (en) Method and apparatus for determining pcrf
US10348678B2 (en) Network device and method for allocating access point name
US10958574B2 (en) Systems and methods for providing external services to core network traffic
US9226327B2 (en) Providing services based on radio access network type information
EP3205132A1 (en) Correlation identifier for user plane congestion and other use cases
WO2016062025A1 (en) Method and device for selecting policy and charging rules function
WO2013163945A1 (en) Method for reporting machine type communication event and device thereof
US9544444B2 (en) Differentiated MMS billing based on roaming status determination of user devices
US9906887B2 (en) PCRN home network identity
US8515420B2 (en) Organization of roaming partner realms into primary and secondary
WO2016074224A1 (en) Method and apparatus for selecting policy and charging rules function
WO2016062026A1 (en) Method and device for selecting policy and charging rules function
JP2014531159A (en) Processing messages related to multiple potential entities
US9191805B2 (en) Connecting devices to a policy charging rules function device
US9692606B2 (en) Management of a policy controlled group

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

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

Country of ref document: EP

Kind code of ref document: A1