WO2017107563A1 - Method and device for processing access region monitoring - Google Patents

Method and device for processing access region monitoring Download PDF

Info

Publication number
WO2017107563A1
WO2017107563A1 PCT/CN2016/098069 CN2016098069W WO2017107563A1 WO 2017107563 A1 WO2017107563 A1 WO 2017107563A1 CN 2016098069 W CN2016098069 W CN 2016098069W WO 2017107563 A1 WO2017107563 A1 WO 2017107563A1
Authority
WO
WIPO (PCT)
Prior art keywords
pra
functional entity
identifier
element list
entity
Prior art date
Application number
PCT/CN2016/098069
Other languages
French (fr)
Chinese (zh)
Inventor
施华
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017107563A1 publication Critical patent/WO2017107563A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • 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
    • H04L12/1403Architecture for metering, charging or billing
    • H04L12/1407Policy-and-charging control [PCC] architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/66Policy and charging system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/80Rating or billing plans; Tariff determination aspects
    • H04M15/8033Rating or billing plans; Tariff determination aspects location-dependent, e.g. business or home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/83Notification aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for processing ingress and egress area monitoring.
  • FIG 1 is a schematic diagram of a PCC architecture in the related art.
  • the PCC includes a policy and charging rule function unit (Policy). And Charging Rules Function (referred to as PCRF), Policy and Charging Enforcement Function (PCEF), Bearer Binding and Event Report Function (BBERF), traffic detection Function (Traffic Detection Function, referred to as TDF), Application Function (AF), Subscription Profile Repository (SPR), Offline Charging System (OFCS), Online Online charging system (OCS for short).
  • Policy Policy and Charging Rule Function
  • PCEF Policy and Charging Enforcement Function
  • BBERF Bearer Binding and Event Report Function
  • TDF Traffic detection Function
  • AF Application Function
  • SPR Subscription Profile Repository
  • OFCS Offline Charging System
  • OFCS Online Online charging system
  • the PCRF is responsible for the formulation of the policy and accounting rules.
  • the PCC policy and the accounting rules are sent to the PCEF through the Gx interface.
  • the PCEF installs and executes the PCC policy, reports related events, and exchanges accounting information with the charging system.
  • the PCRF sends the service quality of service (QoS) rules to the BBERF through the Gxx interface.
  • QoS quality of service
  • the BBERF does not exchange accounting information with the accounting system. It is only responsible for reporting bearer bindings and related events.
  • the PCRF sends the service information to be monitored to the TDF through the Sd interface.
  • the TDF performs service monitoring and reports it to the PCRF.
  • the AF provides service information to the PCRF through the Rx interface.
  • the SPR saves the service information that the user subscribes to.
  • the PCRF can query the SPR for the service information subscribed by the user through the Sp interface.
  • the OCS reports policy counter status information related to user consumption to the PCRF through the Sy interface.
  • the PCEF sends the online charging information to the OCS through the Gy interface for online charging statistics, and sends the offline charging information to the OFCS through the Gz interface.
  • the TDF sends the service-based online charging information to the OCS through the Gyn interface, and sends the service-based offline charging information to the OFCS through the Gz n interface.
  • IP-CAN sessions are maintained in a connected state between the PCEF and the PCRF.
  • the PCEF sends an indication of establishing, updating, and releasing an IP-CAN session to the PCRF through a Credit-Control-Request (CCR) message.
  • CCR Credit-Control-Request
  • the PCRF formulates a PCC policy based on the service-related information provided by the AF, the bearer-related information reported by the PCEF, and the service information subscribed by the user in the SPR.
  • the re-authentication request (Re-Auth-Request, RAR for short) or the credit control response (Credit) The message is sent to the PCEF, and the policy information includes QoS and charging information.
  • FIG. 2 is a schematic diagram of the PRA in the related art. As shown in Figure 2, the Presence-Reporting-Area-Information AVP is defined. To indicate PRA, where Attribute Value Pairs (AVP), and UE (User Equipment) enter the PRA or within the PRA, leave or be outside the PRA.
  • AVP Attribute Value Pairs
  • UE User Equipment
  • the Preaence-Reporting-Area-Identifier defines a unique identifier of a PRA.
  • Presence-Reporting-Area-Status which defines whether the UE enters the PRA or is within the PRA, leaving or outside the PRA.
  • the PRA element list (Presence-Reporting-Area-Elements-List), as shown in Figure 2, defines a PRA.
  • the Presence-Reporting-Area-Information AVP does not need to carry this AVP if the PRA is in the PCRF and the PCEF has been negotiated to indicate a predefined PRA.
  • the PCRF determines whether the UE needs to report the PRA status by using the access type of the UE, the local configuration of the PCRF, and the SPR subscription condition of the user. If supported, the PCRF delivers the PRA by carrying the Presence-Reporting-Area-Information AVP in the CCA response.
  • the PCRF carries the CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA_REPORT(48) event in the Event-Trigger AVP of the message through the RCA or CCA in the CCA response of the IP-CAN session, or after the IP-CAN session is modified, and subscribes to the UE to report the PRA status change.
  • the PCEF When the UE enters or leaves the PRA, the PCEF is notified, and the PCEF reports the CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA_REPORT event in the CCR update message, and carries the PRA identifier and the PRA status in the Presence-Reporting-Area-Information AVP.
  • the PCRF decides that the UE does not support the reporting of the PRA status, and the subscription is cancelled in the Event-Trigger AVP of the RAR or CCA message.
  • the CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA_REPORT event does not process the PRA status change reported by the UE.
  • the PCRF should carry the Presence-Reporting-Area-Information AVP in the TSR (TDF-Session-Request) of the TDF session.
  • the current PRA is sent by the PCRF in the CCA response when establishing an IP-CAN session.
  • the PCEF reports the PRA status in the CCR update.
  • the PCRF subscribes or unsubscribes events in subsequent RAR or CCA. PRA is not allowed to change during the entire IP-CAN session.
  • the embodiment of the present invention provides a method and a device for processing the ingress and egress area monitoring, so as to solve at least the problem that the PCRF cannot deliver the latest PRA to the PCEF through the RAR message, and cannot report the PRA status in the RAA message in time. .
  • a method for processing the ingress and egress area monitoring includes: after the session between the first functional entity and the second functional entity in the policy and charging control PCC structure is successfully established, A functional entity detects whether the monitored area PRA identifier and/or the PRA element list is changed; when the PRA identifier and/or the PRA element list is changed, the first functional entity negotiates the PRA identifier and/or PRA with the second functional entity.
  • the element list is encoded into the attribute value pair AVP in the re-authentication request RAR message, and the RAR message is sent to the second function entity; the first function entity receives the re-authentication response RAA message reported by the second function entity, where the RAA message is
  • the second functional entity carries the PRA status of the user equipment UE according to the negotiated PRA identifier and/or the PRA element list.
  • the first functional entity is a policy control and charging rule function PCRF
  • the second functional entity is a policy and charging execution function PCEF or TDF traffic detection function.
  • the manner of generating the PRA identifier and/or the PRA element list change includes at least one of the following: a user subscription database SPR subscription change, a PCRF local configuration change, an application function AF service change, an inter-session rule synchronization, and a time period change.
  • the PRA status of the UE includes: the UE enters the PRA and is within the PRA, or the UE leaves the PRA and is outside the PRA.
  • a method for processing ingress and egress area monitoring includes: establishing a session between a first functional entity and a second functional entity in a policy and charging control PCC structure, and first When the function entity detects that the monitored area PRA identifier and/or the PRA element list is changed, the second function entity receives the RAR message sent by the first function entity, where the attribute value in the RAR message carries the first function entity to the AVP.
  • the second functional entity reports a re-authentication response RAA message to the first functional entity, where the RAA message carries the second functional entity according to the negotiated PRA identifier and/or Or the PRA element list acquires the PRA status of the user equipment UE.
  • the first functional entity is a policy control and charging rule function PCRF
  • the second functional entity is a policy and charging execution function PCEF or TDF traffic detection function.
  • the manner of generating the PRA identifier and/or the PRA element list change includes at least one of the following: a user subscription database SPR subscription change, a PCRF local configuration change, an application function AF service change, an inter-session rule synchronization, and a time period change.
  • the PRA status of the UE includes: the UE enters the PRA and is within the PRA, or the UE leaves the PRA and is outside the PRA.
  • a processing device for ingress and egress area monitoring, application policy and charging control, a first functional entity side in a PCC structure including: in a policy and charging control PCC structure
  • the detecting module is configured to detect whether the monitored area PRA identifier and/or the PRA element list is changed; the processing module is set to be in the PRA identifier and/or the PRA element.
  • the PRA identifier and/or the PRA element list negotiated with the second functional entity are encoded into the attribute value pair AVP in the re-authentication request RAR message, and the RAR message is sent to the second functional entity;
  • the module is configured to receive a re-authentication response RAA message reported by the second function entity, where the second function entity carries the PRA status of the user equipment UE according to the negotiated PRA identifier and/or the PRA element list.
  • a processing apparatus for ingress and egress area monitoring is provided, which is applied to a second functional entity side in a policy and charging control PCC structure, including: in a policy and charging control PCC structure.
  • the second receiving module is configured to receive the first functional entity.
  • the sent RAR message wherein the attribute value pair AVP in the RAR message carries a list of PRA identifiers and/or PRA elements that the first functional entity will negotiate with the second functional entity; and the reporting module is configured to report the re-report to the first functional entity.
  • the authentication response RAA message wherein the RAA message carries the second functional entity to obtain the PRA status of the user equipment UE according to the negotiated PRA identifier and/or the PRA element list.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the first functional entity After the session between the first functional entity and the second functional entity in the policy and charging control PCC structure is successfully established, the first functional entity detects whether the monitored area PRA identifier and/or the PRA element list is changed.
  • the first function entity receives the re-authentication response RAA message reported by the second function entity, where the RAA message carries the second function entity to obtain the PRA status of the user equipment UE according to the negotiated PRA identifier and/or the PRA element list.
  • the first functional entity encodes the PRA identifier and/or the PRA element list negotiated with the second functional entity into the attribute in the re-authentication request RAR message.
  • the second functional entity that receives the RAR message can report the PRA status, so that the PCRF cannot deliver the latest PRA to the PCEF through the RAR message, and cannot report the PRA status in the RAA message in time. The problem.
  • FIG. 1 is a schematic diagram of a PCC architecture in the related art
  • FIG. 2 is a schematic diagram of the composition of a PRA in the related art
  • FIG. 3 is a flow chart 1 of a processing method for ingress and egress area monitoring according to an embodiment of the present invention
  • FIG. 4 is a second flowchart of a processing method for ingress and egress area monitoring according to an alternative embodiment of the present invention
  • FIG. 5 is a structural block diagram 1 of a processing device for monitoring an ingress and egress area according to an alternative embodiment of the present invention
  • FIG. 6 is a structural block diagram 2 of a processing device for monitoring an ingress and egress area according to an embodiment of the present invention
  • FIG. 7 is a flowchart of PRA processing between a PCRF and a PCEF according to an alternative embodiment of the present invention.
  • FIG. 8 is a flow chart of PRA processing between PCRF and TDF in accordance with an alternate embodiment of the present invention.
  • FIG. 3 is a flowchart 1 of a method for processing the ingress and egress area monitoring according to the embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
  • Step S302 After the session between the first functional entity and the second functional entity in the policy and charging control PCC structure is successfully established, the first functional entity detects whether the monitored area PRA identifier and/or the PRA element list is changed.
  • Step S304 When the PRA identifier and/or the PRA element list is changed, the first functional entity encodes the PRA identifier and/or the PRA element list negotiated with the second functional entity into the attribute value pair AVP in the re-authentication request RAR message. And sending the RAR message to the second functional entity;
  • Step S306 The first function entity receives the re-authentication response RAA message reported by the second function entity, where the RAA message carries the second function entity to obtain the PRA status of the user equipment UE according to the negotiated PRA identifier and/or the PRA element list.
  • the first functional entity involved in this embodiment is a policy control and charging rule function PCRF
  • the second functional entity is a policy and charging execution function PCEF or TDF traffic detection function.
  • the manner of generating the PRA identifier and/or the PRA element list change in the embodiment includes at least one of the following: a user subscription database SPR subscription change, a PCRF local configuration change, an application function AF service change, an inter-session rule synchronization, and a time period change. .
  • the PRA status of the UE involved in this embodiment includes: the UE enters the PRA and is in the PRA, or the UE leaves the PRA and is outside the PRA.
  • the first functional entity encodes the PRA identifier and/or the PRA element list negotiated with the second functional entity into the re-authentication request RAR message.
  • the second functional entity that receives the RAR message can report the PRA status, thereby solving the problem that the PCRF cannot deliver the latest PRA to the PCEF through the RAR message, and cannot report in the RAA message in time. The problem with the PRA status.
  • FIG. 4 is a second flowchart of a method for processing inbound and outbound area monitoring according to an alternative embodiment of the present invention. As shown in FIG. 4, the method includes:
  • Step S402 The session between the first functional entity and the second functional entity in the policy and charging control PCC structure is successfully established, and the first functional entity detects that the monitored area PRA identifier and/or the PRA element list changes.
  • the second function entity receives the RAR message sent by the first function entity, where the attribute value pair AVP in the RAR message carries a PRA identifier and/or a PRA element list that the first function entity will negotiate with the second function entity;
  • Step S404 The second function entity reports a re-authentication response RAA message to the first function entity, where the RAA message carries the second function entity to obtain the PRA status of the user equipment UE according to the negotiated PRA identifier and/or the PRA element list.
  • the first functional entity involved in this embodiment is a policy control and charging rule function PCRF
  • the second functional entity is a policy and charging execution function PCEF or TDF traffic detection function.
  • the manner of generating the PRA identifier and/or the PRA element list change in the embodiment includes at least one of the following: a user subscription database SPR subscription change, a PCRF local configuration change, an application function AF service change, an inter-session rule synchronization, and a time period change. .
  • the PRA status of the UE involved in this embodiment includes: the UE enters the PRA and is in the PRA, or the UE leaves the PRA and is outside the PRA.
  • the first functional entity encodes the PRA identifier and/or the PRA element list negotiated with the second functional entity into the re-authentication request RAR message.
  • the second functional entity that receives the RAR message can report the PRA status, thereby solving the problem that the PCRF cannot deliver the latest PRA to the PCEF through the RAR message, and cannot report in the RAA message in time. The problem with the PRA status.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
  • a processing device for monitoring the entry and exit area is further provided, and the device is used to implement the above embodiments and The selected implementation manners have not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 5 is a structural block diagram of a processing device for access area monitoring according to an alternative embodiment of the present invention.
  • the device applies a policy and a charging control to a first functional entity side in a PCC structure.
  • the device includes:
  • the detecting module 52 is configured to detect whether the monitored area PRA identifier and/or the PRA element list is changed after the session between the first functional entity and the second functional entity in the policy and charging control PCC structure is successfully established;
  • the module 54 is coupled to the detection module 52 and configured to encode the PRA identifier and/or the PRA element list negotiated with the second functional entity into the re-authentication request RAR message when the PRA identifier and/or the PRA element list are changed.
  • the attribute value is in the AVP, and the RAR message is sent to the second function entity.
  • the first receiving module 56 is coupled to the processing module 54 and configured to receive the re-authentication response RAA message reported by the second functional entity, where the RAA message is The second functional entity carries the PRA status of the user equipment UE according to the negotiated PRA identifier and/or the PRA element list.
  • FIG. 6 is a structural block diagram 2 of a processing apparatus for ingress and egress area monitoring according to an embodiment of the present invention.
  • the apparatus is applied to a second functional entity side in a policy and charging control PCC structure.
  • the apparatus includes: When the session between the first functional entity and the second functional entity in the policy and charging control PCC structure is successfully established, and the first functional entity detects that the monitored area PRA identifier and/or the PRA element list is changed, the second receiving The module 62 is configured to receive the RAR message sent by the first function entity, where the attribute value pair AVP in the RAR message carries a PRA identifier and/or a PRA element list that the first function entity will negotiate with the second function entity; the reporting module 64, coupled to the second receiving module 62, configured to report a re-authentication response RAA message to the first functional entity, where the RAA message carries the second functional entity to obtain the user equipment according to the negotiated PRA identifier and/or the PRA element list.
  • the first functional entity involved in FIG. 5 and FIG. 6 in the embodiment of the present invention is a policy control and charging rule function PCRF
  • the second functional entity is a policy and charging execution function PCEF or TDF traffic detection.
  • the manner of generating the PRA identifier and/or the PRA element list change in the embodiment includes at least one of the following: a user subscription database SPR subscription change, a PCRF local configuration change, an application function AF service change, an inter-session rule synchronization, and a time period change. .
  • the PRA status of the UE involved in this embodiment includes: the UE enters the PRA and is in the PRA, or the UE leaves the PRA and is outside the PRA.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • the PRA identifier or the PRA element list is changed, that is, the PCRF policy rule is re-decision, and the latest PRA is directly sent in the RAR message.
  • the PCEF can directly report the PRA status in the RAA response message.
  • Step S502 After the IP-CAN session is successfully established, for some reason, the PRA identifier or the PRA element list is changed, and the PCRF policy rule is re-decisive;
  • Step S504 The PCRF determines whether the PRA identifier has been negotiated with the PCEF. If yes, the identifier is added to the Presence-Reporting-Area-Identifier AVP, and the AVP is placed in the Presence-Reporting-Area-Information AVP; Then, the PRA identifier is filled in the Presence-Reporting-Area-Identifier AVP, and the PRA element list is filled into the Presence-Reporting-Area-Information AVP; and the event CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA_REPORT is added to the Event-Trigger AVP, and finally in the RAR message. Send Presence-Reporting-Area-Information AVP and events to PCEF.
  • Step S506 After receiving the RAR, the PCEF decodes the Presence-Reporting-Area-Information AVP. If the PRA identifier is negotiated, the predefined PRA is obtained according to the identifier. Otherwise, the PRA is used to represent the PRA, and the PRA is sent to the Mobility Management Entity (MME).
  • MME Mobility Management Entity
  • Step S508 The MME determines, according to the PRA, that the UE enters or is in the PRA, leaves or is outside the PRA, and reports the PRA status to the PCEF.
  • Step S510 The PCEF receives the PRA status reported by the MME, puts the PRA identifier into the Presence-Reporting-Area-Identifier AVP, puts the PRA status into the Presence-Reporting-Area-Status AVP, and puts the two AVPs into the In the Presence-Reporting-Area-Information AVP, the AVP is placed in the RAA message and sent to the PCRF.
  • Step S512 The PCRF receives the RAA message, and performs policy rule decision based on the new PRA identifier and the PRA status.
  • the PRA element list or the PRA identifier is changed for some reason. Then, after the PCRF performs the PCC rule re-decision, the new PRA element list or the PRA identifier should be valid.
  • the PCRF should carry the Presence-Reporting-Area-Information AVP in the RAR message and deliver a new PRA. Also subscribe to the CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA_REPORT event. This will deliver the latest PRA in real time and is more accurate.
  • the PRA is sent in the RAR, and the PRA is sent in the CCA response message more quickly and conveniently than the CCR update message, and the message interaction is reduced.
  • the current PCEF reports the PRA status in the CCR update message.
  • the PCRF can deliver the PRA in the RAR message. Then, after receiving the RAR message, the PCEF, according to the new PRA, obtains whether the UE is in the PRA or not, and carries the Presence-Reporting-Area-Information AVP in the RAA (Re-Auth-Answer) response, and reports the PRA status. In this way, the PCRF can immediately know the current PRA status of the UE, which is more accurate and convenient for subsequent policy decisions based on this condition. Of course, you can choose to return the RAA response message first, and then report the PRA status in the CCR update message, and select according to the actual situation.
  • processing flow of the optimized in-zone monitoring can also be extended between the PCRF and the TDF network element.
  • FIG. 7 is a flowchart of PRA processing between a PCRF and a PCEF according to an alternative embodiment of the present invention. As shown in FIG. 7, the steps of the process include:
  • Step S701 The PCEF sends an IP-CAN session establishment indication message to the PCRF, where the user identifier is carried.
  • Step S702 The PCRF reads the local configuration, acquires the subscription information of the user from the SPR, acquires the PRA data, and performs a rule decision to establish an IP-CAN session.
  • Step S703 Send a CCA response message, where the PRA and the subscribed PRA report event are included;
  • the PRA identifier and the monitored area PRA element list are placed in the Presence-Reporting-Area-Information AVP, and the CCA session establishment response message is encoded and sent to the PCEF, and the PCRF and the PCEF complete the creation of the IP-CAN. Session and save IP-CAN session information and user information on the PCRF.
  • Step S704 Notifying the UE to report the status of the PRA
  • Step S705 The UE reports to enter the PRA, is in the PRA, or leaves the PRA and is outside the PRA.
  • Step S706 The PCEF sends a CCR update message, which carries the PRA identifier, the PRA status, and reports the PRA status event.
  • Step S707 The PCRF saves the PRA state, and re-performs the policy rule with the new PRA state as a condition.
  • Step S708 Send a CCA response message to the PCEF, including the latest decision content.
  • Step S709 The PCRF local configuration change or the SPR subscription change causes the PRA to change.
  • Step S710 SPR subscription change, PCRF local configuration change, AF service change, inter-session rule synchronization, time period change, etc. cause PCC rule re-decision of PCRF.
  • Step S711 Encoding the latest PRA identifier, the PRA element list, into the RAR message, and the latest decision content. Send to PCEF
  • Step S712 The PCEF notifies the UE to report the latest PRA status
  • Step S713 The UE reports to enter the PRA, is in the PRA, or leaves the PRA and is outside the PRA.
  • Step S714 The PCEF encodes the PRA status into the RAA response message and returns it to the PCRF.
  • the RAR message and the RAA response message of the Gx/Sd interface are extended, and a Presence-Reporting-Area-Information AVP is added to the message layer, indicating that the PRA delivered by the PCRF and the PRA reported by the PCEF are reported. status.
  • FIG. 8 is a flowchart of PRA processing between PCRF and TDF according to an alternative embodiment of the present invention, as shown in FIG. The steps include:
  • Step S801 the PCRF reads the local configuration, acquires the subscription from the SPR, acquires the PRA, and establishes an IP-CAN session.
  • Step S802 sending a TSR message to establish a TDF session, including a PRA, a subscribed PRA reporting event;
  • Step S803 the UE is notified to report the PRA status
  • Step S804 the UE reports entry/into the PRA, or leaves/before the PRA;
  • Step S805 sending a CCR message, carrying the PRA identifier and the PRA status;
  • Step S806 saving the PRA state and re-polibing the policy decision
  • Step S807 sending a CCA response message and an ADC rule
  • Step S808 the PCRF local configuration or SPR subscription change, triggering a PRA change
  • Step S809 triggering an ADC to make a decision
  • Step S810 sending a RAT message, where the PRA reporting event of the PRA subscription is included;
  • Step S811 the UE is notified to report the PRA status.
  • Step S812 the UE reports entry, is in the PRA, or leaves, outside the PRA;
  • Step S813 sending an RAA response message, including the PRA identifier, and its corresponding PRA status.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the first functional entity when the PRA identifier and/or the PRA element list is changed, the first functional entity encodes the PRA identifier and/or the PRA element list negotiated with the second functional entity into the attribute in the re-authentication request RAR message.
  • the second functional entity that receives the RAR message can report the PRA status, thereby solving the related art.
  • the PCRF cannot deliver the latest PRA to the PCEF through the RAR message, and cannot report the PRA status in the RAA message in time.

Landscapes

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

Abstract

Provided are a method and device for processing access region monitoring. The method comprises: after a session between a first functional entity and a second functional entity in a policy and charging control (PCC) structure is successfully established, the first functional entity detecting whether a PRA identifier and/or a PRA element list of a monitored region changes; when the PRA identifier and/or the PRA element list changes, the first functional entity encoding the PRA identifier and/or the PRA element list negotiated with the second functional entity into an attribute value pair (AVP) in a re-authentication request (RAR) message, and sending the RAR message to the second functional entity; and the first functional entity receiving a re-authentication answer (RAA) message reported by the second functional entity. By means of the present invention, the problem in the related art that a PCRF can neither issue the newest PRA to a PCEF through an RAR message, nor can it in a timely manner report a PRA state in the RAA message is solved.

Description

进出区域监控的处理方法及装置Processing method and device for monitoring in and out area 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种进出区域监控的处理方法及装置。The present invention relates to the field of communications, and in particular to a method and apparatus for processing ingress and egress area monitoring.
背景技术Background technique
随着策略和计费控制(Policy and Charging Control,简称为PCC)架构不断演进,图1是相关技术中PCC架构的示意图,如图1所示,该PCC包括策略与计费规则功能单元(Policy and Charging Rules Function,简称为PCRF)、策略及计费执行功能(Policy and Charging Enforcement Function,简称为PCEF)、承载绑定及事件报告功能(Bearing Binding and Event Report Function,简称为BBERF)、流量检测功能(Traffic Detection Function,简称为TDF)、应用功能(Application Function,简称为AF)、用户签约数据库(Subscription Profile Repository,简称为SPR)、离线计费系统(Offline charging system,简称为OFCS)、在线计费系统(Online charging system,简称为OCS)。Figure 1 is a schematic diagram of a PCC architecture in the related art. As shown in Figure 1, the PCC includes a policy and charging rule function unit (Policy). And Charging Rules Function (referred to as PCRF), Policy and Charging Enforcement Function (PCEF), Bearer Binding and Event Report Function (BBERF), traffic detection Function (Traffic Detection Function, referred to as TDF), Application Function (AF), Subscription Profile Repository (SPR), Offline Charging System (OFCS), Online Online charging system (OCS for short).
PCRF主要负责策略和计费规则的制定,通过Gx接口将制定的PCC策略和计费规则下发给PCEF,PCEF安装、执行PCC策略,并上报相关事件,与计费系统交互计费信息。PCRF通过Gxx接口将业务服务质量(Quality of Service,简称为QoS)规则下发给BBERF,BBERF不和计费系统交互计费信息,只负责承载绑定和相关事件的上报。PCRF通过Sd接口把需要监控的业务信息下发给TDF,TDF执行业务监控,并上报给PCRF。AF通过Rx接口向PCRF提供业务信息。SPR保存了用户签约的业务信息,PCRF可以通过Sp接口向SPR查询用户签约的业务信息。OCS通过Sy接口向PCRF报告与用户消费相关的策略计数器状态信息。PCEF通过Gy接口将在线计费信息发送给OCS进行在线计费的统计,通过Gz接口将离线计费信息发送给OFCS。TDF通过Gyn接口将基于业务的在线计费信息发送给OCS,通过Gz n接口将基于业务的离线计费信息发送给OFCS。The PCRF is responsible for the formulation of the policy and accounting rules. The PCC policy and the accounting rules are sent to the PCEF through the Gx interface. The PCEF installs and executes the PCC policy, reports related events, and exchanges accounting information with the charging system. The PCRF sends the service quality of service (QoS) rules to the BBERF through the Gxx interface. The BBERF does not exchange accounting information with the accounting system. It is only responsible for reporting bearer bindings and related events. The PCRF sends the service information to be monitored to the TDF through the Sd interface. The TDF performs service monitoring and reports it to the PCRF. The AF provides service information to the PCRF through the Rx interface. The SPR saves the service information that the user subscribes to. The PCRF can query the SPR for the service information subscribed by the user through the Sp interface. The OCS reports policy counter status information related to user consumption to the PCRF through the Sy interface. The PCEF sends the online charging information to the OCS through the Gy interface for online charging statistics, and sends the offline charging information to the OFCS through the Gz interface. The TDF sends the service-based online charging information to the OCS through the Gyn interface, and sends the service-based offline charging information to the OFCS through the Gz n interface.
PCEF和PCRF之间通过IP连接接入网(IP Connectivity Access Network,简称为IP-CAN)会话互相维持连接状态。PCEF通过信用控制请求(Credit-Control-Request,简称为CCR)消息向PCRF发送建立、更新、释放IP-CAN会话的指示。PCRF则根据AF提供的业务相关信息、PCEF上报的承载相关信息以及SPR中用户签约的业务信息,制定PCC策略,通过重新认证请求(Re-Auth-Request,简称为RAR)或信用控制应答(Credit-Control-Answer,简称为CCA)消息下发给PCEF,策略信息中包含QoS和计费的信息。The IP Connectivity Access Network (IP-CAN) sessions are maintained in a connected state between the PCEF and the PCRF. The PCEF sends an indication of establishing, updating, and releasing an IP-CAN session to the PCRF through a Credit-Control-Request (CCR) message. The PCRF formulates a PCC policy based on the service-related information provided by the AF, the bearer-related information reported by the PCEF, and the service information subscribed by the user in the SPR. The re-authentication request (Re-Auth-Request, RAR for short) or the credit control response (Credit) The message is sent to the PCEF, and the policy information includes QoS and charging information.
为了减少某个区域内的消息交互,引入了PRA,这个区域由多个地址组成,图2是相关技术中PRA组成示意图,如图2所示,同时定义了Presence-Reporting-Area-Information AVP,来表示PRA,其中,属性值对(Attribute Value Pairs,简称为AVP),以及UE(User Equipment)进入PRA或在PRA内,离开或在PRA外。具体AVP定义如下: To reduce the message interaction in a certain area, a PRA is introduced. This area is composed of multiple addresses. Figure 2 is a schematic diagram of the PRA in the related art. As shown in Figure 2, the Presence-Reporting-Area-Information AVP is defined. To indicate PRA, where Attribute Value Pairs (AVP), and UE (User Equipment) enter the PRA or within the PRA, leave or be outside the PRA. The specific AVP is defined as follows:
Figure PCTCN2016098069-appb-000001
Figure PCTCN2016098069-appb-000001
其中,PRA标识(Presence-Reporting-Area-Identifier),定义了一个PRA的唯一标识符。The Preaence-Reporting-Area-Identifier defines a unique identifier of a PRA.
PRA状态(Presence-Reporting-Area-Status),定义了UE进入PRA或在PRA内,离开或在PRA外。Presence-Reporting-Area-Status, which defines whether the UE enters the PRA or is within the PRA, leaving or outside the PRA.
PRA元素列表(Presence-Reporting-Area-Elements-List),如图2所示,定义了一个PRA。如果PRA标识在PCRF、PCEF已经协商好表示某个预定义的PRA,则Presence-Reporting-Area-Information AVP不需要携带此AVP。The PRA element list (Presence-Reporting-Area-Elements-List), as shown in Figure 2, defines a PRA. The Presence-Reporting-Area-Information AVP does not need to carry this AVP if the PRA is in the PCRF and the PCEF has been negotiated to indicate a predefined PRA.
PCRF在建立IP-CAN会话时,会以UE的访问类型、PCRF本地配置、用户的SPR签约为条件,决策是否需要支持UE上报PRA状态。如果支持,PCRF会在CCA响应中,通过携带Presence-Reporting-Area-Information AVP下发PRA。When establishing an IP-CAN session, the PCRF determines whether the UE needs to report the PRA status by using the access type of the UE, the local configuration of the PCRF, and the SPR subscription condition of the user. If supported, the PCRF delivers the PRA by carrying the Presence-Reporting-Area-Information AVP in the CCA response.
PCRF在建立IP-CAN会话的CCA响应中,或在修改IP-CAN会话后,通过RAR或CCA,在消息中的Event-Trigger AVP中携带CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA_REPORT(48)事件,订阅UE上报PRA状态变更。The PCRF carries the CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA_REPORT(48) event in the Event-Trigger AVP of the message through the RCA or CCA in the CCA response of the IP-CAN session, or after the IP-CAN session is modified, and subscribes to the UE to report the PRA status change.
当UE进入或离开PRA时,通知PCEF,PCEF在CCR更新消息中上报CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA_REPORT事件,并在Presence-Reporting-Area-Information AVP中携带PRA标识以及PRA状态。When the UE enters or leaves the PRA, the PCEF is notified, and the PCEF reports the CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA_REPORT event in the CCR update message, and carries the PRA identifier and the PRA status in the Presence-Reporting-Area-Information AVP.
当IP-CAN会话生命周期内,如果UE的访问类型、PCRF的本地配置或SPR的签约变更,PCRF决策出不再支持UE上报PRA状态,会在RAR或CCA消息的Event-Trigger AVP中取消订阅CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA_REPORT事件,并且不再处理UE上报的PRA状态变更。During the IP-CAN session life cycle, if the UE access type, the local configuration of the PCRF, or the SPR subscription change, the PCRF decides that the UE does not support the reporting of the PRA status, and the subscription is cancelled in the Event-Trigger AVP of the RAR or CCA message. The CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA_REPORT event does not process the PRA status change reported by the UE.
当部署了TDF,如果需要支持UE上报PRA状态,PCRF应该在建立TDF会话的TSR(TDF-Session-Request)中携带Presence-Reporting-Area-Information AVP。When TDF is deployed, if the UE needs to support the reporting of the PRA status, the PCRF should carry the Presence-Reporting-Area-Information AVP in the TSR (TDF-Session-Request) of the TDF session.
当前的PRA都是PCRF在建立IP-CAN会话时,在CCA响应中下发。PCEF在CCR更新中上报PRA状态。PCRF在后续的RAR或CCA中订阅或取消订阅事件。整个IP-CAN会话期间PRA都不允许变。The current PRA is sent by the PCRF in the CCA response when establishing an IP-CAN session. The PCEF reports the PRA status in the CCR update. The PCRF subscribes or unsubscribes events in subsequent RAR or CCA. PRA is not allowed to change during the entire IP-CAN session.
可见,IP-CAN会话生命周期内,在PRA标识或PRA元素列表变更后,PCRF不能把最新的PRA通过RAR消息下发到PCEF,也不能在RAA消息中及时的上报PRA状态。针对相 关技术中的上述问题,目前尚未存在有效的解决方案。It can be seen that, after the change of the PRA identifier or the PRA element list in the IP-CAN session life cycle, the PCRF cannot deliver the latest PRA to the PCEF through the RAR message, and cannot report the PRA status in the RAA message in time. Target phase Regarding the above problems in the technology, there is currently no effective solution.
发明内容Summary of the invention
本发明实施例提供了一种进出区域监控的处理方法及装置,以至少解决相关技术中PCRF不能把最新的PRA通过RAR消息下发到PCEF,也不能在RAA消息中及时的上报PRA状态的问题。The embodiment of the present invention provides a method and a device for processing the ingress and egress area monitoring, so as to solve at least the problem that the PCRF cannot deliver the latest PRA to the PCEF through the RAR message, and cannot report the PRA status in the RAA message in time. .
根据本发明实施例的一个方面,提供了一种进出区域监控的处理方法,包括:在策略和计费控制PCC结构中的第一功能实体与第二功能实体之间的会话建立成功后,第一功能实体检测监控的区域PRA标识和/或PRA元素列表是否发生变更;在PRA标识和/或PRA元素列表发生变更时,第一功能实体将与第二功能实体协商的PRA标识和/或PRA元素列表编码进重新认证请求RAR消息中的属性值对AVP中,并将RAR消息发送到第二功能实体;第一功能实体接收第二功能实体上报的重新认证应答RAA消息,其中,RAA消息中携带有第二功能实体依据协商的PRA标识和/或PRA元素列表获取用户设备UE的PRA状态。According to an aspect of the embodiments of the present invention, a method for processing the ingress and egress area monitoring includes: after the session between the first functional entity and the second functional entity in the policy and charging control PCC structure is successfully established, A functional entity detects whether the monitored area PRA identifier and/or the PRA element list is changed; when the PRA identifier and/or the PRA element list is changed, the first functional entity negotiates the PRA identifier and/or PRA with the second functional entity. The element list is encoded into the attribute value pair AVP in the re-authentication request RAR message, and the RAR message is sent to the second function entity; the first function entity receives the re-authentication response RAA message reported by the second function entity, where the RAA message is The second functional entity carries the PRA status of the user equipment UE according to the negotiated PRA identifier and/or the PRA element list.
可选地,第一功能实体为策略控制与计费规则功能PCRF,第二功能实体为策略和计费执行功能PCEF或TDF流量检测功能。Optionally, the first functional entity is a policy control and charging rule function PCRF, and the second functional entity is a policy and charging execution function PCEF or TDF traffic detection function.
可选地,产生PRA标识和/或PRA元素列表变更的方式包括以下至少之一:用户签约数据库SPR签约变更、PCRF本地配置变更、应用功能AF业务变更、会话间规则同步、时段变更。Optionally, the manner of generating the PRA identifier and/or the PRA element list change includes at least one of the following: a user subscription database SPR subscription change, a PCRF local configuration change, an application function AF service change, an inter-session rule synchronization, and a time period change.
可选地,UE的PRA状态包括:UE进入PRA且在PRA内、或UE离开PRA且在PRA外。Optionally, the PRA status of the UE includes: the UE enters the PRA and is within the PRA, or the UE leaves the PRA and is outside the PRA.
根据本发明的另一个方面,提供了一种进出区域监控的处理方法,包括:在策略和计费控制PCC结构中的第一功能实体与第二功能实体之间的会话建立成功,且第一功能实体检测到监控的区域PRA标识和/或PRA元素列表发生变更时,第二功能实体接收第一功能实体发送的RAR消息,其中,RAR消息中的属性值对AVP携带有第一功能实体将与第二功能实体协商的PRA标识和/或PRA元素列表;第二功能实体向第一功能实体上报重新认证应答RAA消息,其中,RAA消息中携带有第二功能实体依据协商的PRA标识和/或PRA元素列表获取用户设备UE的PRA状态。According to another aspect of the present invention, a method for processing ingress and egress area monitoring includes: establishing a session between a first functional entity and a second functional entity in a policy and charging control PCC structure, and first When the function entity detects that the monitored area PRA identifier and/or the PRA element list is changed, the second function entity receives the RAR message sent by the first function entity, where the attribute value in the RAR message carries the first function entity to the AVP. a PRA identifier and/or a list of PRA elements negotiated with the second functional entity; the second functional entity reports a re-authentication response RAA message to the first functional entity, where the RAA message carries the second functional entity according to the negotiated PRA identifier and/or Or the PRA element list acquires the PRA status of the user equipment UE.
可选地,第一功能实体为策略控制与计费规则功能PCRF,第二功能实体为策略和计费执行功能PCEF或TDF流量检测功能。Optionally, the first functional entity is a policy control and charging rule function PCRF, and the second functional entity is a policy and charging execution function PCEF or TDF traffic detection function.
可选地,产生PRA标识和/或PRA元素列表变更的方式包括以下至少之一:用户签约数据库SPR签约变更、PCRF本地配置变更、应用功能AF业务变更、会话间规则同步、时段变更。Optionally, the manner of generating the PRA identifier and/or the PRA element list change includes at least one of the following: a user subscription database SPR subscription change, a PCRF local configuration change, an application function AF service change, an inter-session rule synchronization, and a time period change.
可选地,UE的PRA状态包括:UE进入PRA且在PRA内、或UE离开PRA且在PRA外。 Optionally, the PRA status of the UE includes: the UE enters the PRA and is within the PRA, or the UE leaves the PRA and is outside the PRA.
根据本发明实施例的另一个方面,提供了一种进出区域监控的处理装置,应用策略和计费控制PCC结构中的第一功能实体侧,包括:在策略和计费控制PCC结构中的第一功能实体与第二功能实体之间的会话建立成功后,检测模块,设置为检测监控的区域PRA标识和/或PRA元素列表是否发生变更;处理模块,设置为在PRA标识和/或PRA元素列表发生变更时,将与第二功能实体协商的PRA标识和/或PRA元素列表编码进重新认证请求RAR消息中的属性值对AVP中,并将RAR消息发送到第二功能实体;第一接收模块,设置为接收第二功能实体上报的重新认证应答RAA消息,其中,RAA消息中携带有第二功能实体依据协商的PRA标识和/或PRA元素列表获取用户设备UE的PRA状态。According to another aspect of the embodiments of the present invention, a processing device for ingress and egress area monitoring, application policy and charging control, a first functional entity side in a PCC structure, including: in a policy and charging control PCC structure After the session between the functional entity and the second functional entity is successfully established, the detecting module is configured to detect whether the monitored area PRA identifier and/or the PRA element list is changed; the processing module is set to be in the PRA identifier and/or the PRA element. When the list is changed, the PRA identifier and/or the PRA element list negotiated with the second functional entity are encoded into the attribute value pair AVP in the re-authentication request RAR message, and the RAR message is sent to the second functional entity; The module is configured to receive a re-authentication response RAA message reported by the second function entity, where the second function entity carries the PRA status of the user equipment UE according to the negotiated PRA identifier and/or the PRA element list.
根据本发明实施例的再一个方面,提供了一种进出区域监控的处理装置,应用于策略和计费控制PCC结构中的第二功能实体侧,包括:在策略和计费控制PCC结构中的第一功能实体与第二功能实体之间的会话建立成功,且第一功能实体检测到监控的区域PRA标识和/或PRA元素列表发生变更时,第二接收模块,设置为接收第一功能实体发送的RAR消息,其中,RAR消息中的属性值对AVP携带有第一功能实体将与第二功能实体协商的PRA标识和/或PRA元素列表;上报模块,设置为向第一功能实体上报重新认证应答RAA消息,其中,RAA消息中携带有第二功能实体依据协商的PRA标识和/或PRA元素列表获取用户设备UE的PRA状态。According to still another aspect of the embodiments of the present invention, a processing apparatus for ingress and egress area monitoring is provided, which is applied to a second functional entity side in a policy and charging control PCC structure, including: in a policy and charging control PCC structure. When the session between the first functional entity and the second functional entity is successfully established, and the first functional entity detects that the monitored area PRA identifier and/or the PRA element list is changed, the second receiving module is configured to receive the first functional entity. The sent RAR message, wherein the attribute value pair AVP in the RAR message carries a list of PRA identifiers and/or PRA elements that the first functional entity will negotiate with the second functional entity; and the reporting module is configured to report the re-report to the first functional entity. The authentication response RAA message, wherein the RAA message carries the second functional entity to obtain the PRA status of the user equipment UE according to the negotiated PRA identifier and/or the PRA element list.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1:在策略和计费控制PCC结构中的第一功能实体与第二功能实体之间的会话建立成功后,第一功能实体检测监控的区域PRA标识和/或PRA元素列表是否发生变更;S1: After the session between the first functional entity and the second functional entity in the policy and charging control PCC structure is successfully established, the first functional entity detects whether the monitored area PRA identifier and/or the PRA element list is changed.
S2:在PRA标识和/或PRA元素列表发生变更时,第一功能实体将与第二功能实体协商的PRA标识和/或PRA元素列表编码进重新认证请求RAR消息中的属性值对AVP中,并将RAR消息发送到第二功能实体;S2: when the PRA identifier and/or the PRA element list is changed, the first functional entity encodes the PRA identifier and/or the PRA element list negotiated with the second functional entity into the attribute value pair AVP in the re-authentication request RAR message, And sending the RAR message to the second functional entity;
S3:第一功能实体接收第二功能实体上报的重新认证应答RAA消息,其中,RAA消息中携带有第二功能实体依据协商的PRA标识和/或PRA元素列表获取用户设备UE的PRA状态。S3: The first function entity receives the re-authentication response RAA message reported by the second function entity, where the RAA message carries the second function entity to obtain the PRA status of the user equipment UE according to the negotiated PRA identifier and/or the PRA element list.
由本发明实施例可知,在PRA标识和/或PRA元素列表是否发生变更时,第一功能实体将与第二功能实体协商的PRA标识和/或PRA元素列表编码进重新认证请求RAR消息中的属性值对AVP中,收到RAR消息的第二功能实体可以上报PRA状态,从而解决了相关技术中PCRF不能把最新的PRA通过RAR消息下发到PCEF,也不能在RAA消息中及时的上报PRA状态的问题。According to the embodiment of the present invention, when the PRA identifier and/or the PRA element list is changed, the first functional entity encodes the PRA identifier and/or the PRA element list negotiated with the second functional entity into the attribute in the re-authentication request RAR message. In the value-to-AVP, the second functional entity that receives the RAR message can report the PRA status, so that the PCRF cannot deliver the latest PRA to the PCEF through the RAR message, and cannot report the PRA status in the RAA message in time. The problem.
附图说明 DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是相关技术中PCC架构的示意图;1 is a schematic diagram of a PCC architecture in the related art;
图2是相关技术中PRA组成示意图;2 is a schematic diagram of the composition of a PRA in the related art;
图3是根据本发明实施例的进出区域监控的处理方法的流程图一;3 is a flow chart 1 of a processing method for ingress and egress area monitoring according to an embodiment of the present invention;
图4是根据本发明可选实施例的进出区域监控的处理方法的流程图二;4 is a second flowchart of a processing method for ingress and egress area monitoring according to an alternative embodiment of the present invention;
图5是根据本发明可选实施例的进出区域监控的处理装置的结构框图一;5 is a structural block diagram 1 of a processing device for monitoring an ingress and egress area according to an alternative embodiment of the present invention;
图6是根据本发明实施例的进出区域监控的处理装置的结构框图二;6 is a structural block diagram 2 of a processing device for monitoring an ingress and egress area according to an embodiment of the present invention;
图7是根据本发明可选实施例的PCRF与PCEF间PRA处理流程图;7 is a flowchart of PRA processing between a PCRF and a PCEF according to an alternative embodiment of the present invention;
图8是根据本发明可选实施例的PCRF与TDF间PRA处理流程图。8 is a flow chart of PRA processing between PCRF and TDF in accordance with an alternate embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种进出区域监控的处理方法,图3是根据本发明实施例的进出区域监控的处理方法的流程图一,如图3所示,该流程包括如下步骤:In the embodiment, a processing method for monitoring the ingress and egress area is provided. FIG. 3 is a flowchart 1 of a method for processing the ingress and egress area monitoring according to the embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
步骤S302:在策略和计费控制PCC结构中的第一功能实体与第二功能实体之间的会话建立成功后,第一功能实体检测监控的区域PRA标识和/或PRA元素列表是否发生变更;Step S302: After the session between the first functional entity and the second functional entity in the policy and charging control PCC structure is successfully established, the first functional entity detects whether the monitored area PRA identifier and/or the PRA element list is changed.
步骤S304:在PRA标识和/或PRA元素列表发生变更时,第一功能实体将与第二功能实体协商的PRA标识和/或PRA元素列表编码进重新认证请求RAR消息中的属性值对AVP中,并将RAR消息发送到第二功能实体;Step S304: When the PRA identifier and/or the PRA element list is changed, the first functional entity encodes the PRA identifier and/or the PRA element list negotiated with the second functional entity into the attribute value pair AVP in the re-authentication request RAR message. And sending the RAR message to the second functional entity;
步骤S306:第一功能实体接收第二功能实体上报的重新认证应答RAA消息,其中,RAA消息中携带有第二功能实体依据协商的PRA标识和/或PRA元素列表获取用户设备UE的PRA状态。Step S306: The first function entity receives the re-authentication response RAA message reported by the second function entity, where the RAA message carries the second function entity to obtain the PRA status of the user equipment UE according to the negotiated PRA identifier and/or the PRA element list.
需要说明的是,本实施例中涉及到的第一功能实体为策略控制与计费规则功能PCRF,第二功能实体为策略和计费执行功能PCEF或TDF流量检测功能。基于此,本实施例中产生PRA标识和/或PRA元素列表变更的方式包括以下至少之一:用户签约数据库SPR签约变更、PCRF本地配置变更、应用功能AF业务变更、会话间规则同步、时段变更。 It should be noted that the first functional entity involved in this embodiment is a policy control and charging rule function PCRF, and the second functional entity is a policy and charging execution function PCEF or TDF traffic detection function. Based on this, the manner of generating the PRA identifier and/or the PRA element list change in the embodiment includes at least one of the following: a user subscription database SPR subscription change, a PCRF local configuration change, an application function AF service change, an inter-session rule synchronization, and a time period change. .
可选地,本实施例中涉及到的UE的PRA状态包括:UE进入PRA且在PRA内、或UE离开PRA且在PRA外。Optionally, the PRA status of the UE involved in this embodiment includes: the UE enters the PRA and is in the PRA, or the UE leaves the PRA and is outside the PRA.
通过本可选实施例可知,在PRA标识和/或PRA元素列表是否发生变更时,第一功能实体将与第二功能实体协商的PRA标识和/或PRA元素列表编码进重新认证请求RAR消息中的属性值对AVP中,收到RAR消息的第二功能实体可以上报PRA状态,从而解决了相关技术中PCRF不能把最新的PRA通过RAR消息下发到PCEF,也不能在RAA消息中及时的上报PRA状态的问题。According to the optional embodiment, when the PRA identifier and/or the PRA element list is changed, the first functional entity encodes the PRA identifier and/or the PRA element list negotiated with the second functional entity into the re-authentication request RAR message. In the attribute value pair AVP, the second functional entity that receives the RAR message can report the PRA status, thereby solving the problem that the PCRF cannot deliver the latest PRA to the PCEF through the RAR message, and cannot report in the RAA message in time. The problem with the PRA status.
图4是根据本发明可选实施例的进出区域监控的处理方法的流程图二,如图4所示,包括:FIG. 4 is a second flowchart of a method for processing inbound and outbound area monitoring according to an alternative embodiment of the present invention. As shown in FIG. 4, the method includes:
步骤S402:在策略和计费控制PCC结构中的第一功能实体与第二功能实体之间的会话建立成功,且第一功能实体检测到监控的区域PRA标识和/或PRA元素列表发生变更时,第二功能实体接收第一功能实体发送的RAR消息,其中,RAR消息中的属性值对AVP携带有第一功能实体将与第二功能实体协商的PRA标识和/或PRA元素列表;Step S402: The session between the first functional entity and the second functional entity in the policy and charging control PCC structure is successfully established, and the first functional entity detects that the monitored area PRA identifier and/or the PRA element list changes. The second function entity receives the RAR message sent by the first function entity, where the attribute value pair AVP in the RAR message carries a PRA identifier and/or a PRA element list that the first function entity will negotiate with the second function entity;
步骤S404:第二功能实体向第一功能实体上报重新认证应答RAA消息,其中,RAA消息中携带有第二功能实体依据协商的PRA标识和/或PRA元素列表获取用户设备UE的PRA状态。Step S404: The second function entity reports a re-authentication response RAA message to the first function entity, where the RAA message carries the second function entity to obtain the PRA status of the user equipment UE according to the negotiated PRA identifier and/or the PRA element list.
需要说明的是,本实施例中涉及到的第一功能实体为策略控制与计费规则功能PCRF,第二功能实体为策略和计费执行功能PCEF或TDF流量检测功能。基于此,本实施例中产生PRA标识和/或PRA元素列表变更的方式包括以下至少之一:用户签约数据库SPR签约变更、PCRF本地配置变更、应用功能AF业务变更、会话间规则同步、时段变更。It should be noted that the first functional entity involved in this embodiment is a policy control and charging rule function PCRF, and the second functional entity is a policy and charging execution function PCEF or TDF traffic detection function. Based on this, the manner of generating the PRA identifier and/or the PRA element list change in the embodiment includes at least one of the following: a user subscription database SPR subscription change, a PCRF local configuration change, an application function AF service change, an inter-session rule synchronization, and a time period change. .
可选地,本实施例中涉及到的UE的PRA状态包括:UE进入PRA且在PRA内、或UE离开PRA且在PRA外。Optionally, the PRA status of the UE involved in this embodiment includes: the UE enters the PRA and is in the PRA, or the UE leaves the PRA and is outside the PRA.
通过本可选实施例可知,在PRA标识和/或PRA元素列表是否发生变更时,第一功能实体将与第二功能实体协商的PRA标识和/或PRA元素列表编码进重新认证请求RAR消息中的属性值对AVP中,收到RAR消息的第二功能实体可以上报PRA状态,从而解决了相关技术中PCRF不能把最新的PRA通过RAR消息下发到PCEF,也不能在RAA消息中及时的上报PRA状态的问题。According to the optional embodiment, when the PRA identifier and/or the PRA element list is changed, the first functional entity encodes the PRA identifier and/or the PRA element list negotiated with the second functional entity into the re-authentication request RAR message. In the attribute value pair AVP, the second functional entity that receives the RAR message can report the PRA status, thereby solving the problem that the PCRF cannot deliver the latest PRA to the PCEF through the RAR message, and cannot report in the RAA message in time. The problem with the PRA status.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
在本实施例中还提供了一种进出区域监控的处理装置,该装置用于实现上述实施例及优 选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a processing device for monitoring the entry and exit area is further provided, and the device is used to implement the above embodiments and The selected implementation manners have not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图5是根据本发明可选实施例的进出区域监控的处理装置的结构框图一,该装置应用策略和计费控制PCC结构中的第一功能实体侧,如图5所示,该装置包括:检测模块52,设置为在策略和计费控制PCC结构中的第一功能实体与第二功能实体之间的会话建立成功后,检测监控的区域PRA标识和/或PRA元素列表是否发生变更;处理模块54,与检测模块52耦合连接,设置为在PRA标识和/或PRA元素列表发生变更时,将与第二功能实体协商的PRA标识和/或PRA元素列表编码进重新认证请求RAR消息中的属性值对AVP中,并将RAR消息发送到第二功能实体;第一接收模块56,与处理模块54耦合连接,设置为接收第二功能实体上报的重新认证应答RAA消息,其中,RAA消息中携带有第二功能实体依据协商的PRA标识和/或PRA元素列表获取用户设备UE的PRA状态。FIG. 5 is a structural block diagram of a processing device for access area monitoring according to an alternative embodiment of the present invention. The device applies a policy and a charging control to a first functional entity side in a PCC structure. As shown in FIG. 5, the device includes: The detecting module 52 is configured to detect whether the monitored area PRA identifier and/or the PRA element list is changed after the session between the first functional entity and the second functional entity in the policy and charging control PCC structure is successfully established; The module 54 is coupled to the detection module 52 and configured to encode the PRA identifier and/or the PRA element list negotiated with the second functional entity into the re-authentication request RAR message when the PRA identifier and/or the PRA element list are changed. The attribute value is in the AVP, and the RAR message is sent to the second function entity. The first receiving module 56 is coupled to the processing module 54 and configured to receive the re-authentication response RAA message reported by the second functional entity, where the RAA message is The second functional entity carries the PRA status of the user equipment UE according to the negotiated PRA identifier and/or the PRA element list.
图6是根据本发明实施例的进出区域监控的处理装置的结构框图二,该装置应用于策略和计费控制PCC结构中的第二功能实体侧,如图6所示,该装置包括:在策略和计费控制PCC结构中的第一功能实体与第二功能实体之间的会话建立成功,且第一功能实体检测到监控的区域PRA标识和/或PRA元素列表发生变更时,第二接收模块62,设置为接收第一功能实体发送的RAR消息,其中,RAR消息中的属性值对AVP携带有第一功能实体将与第二功能实体协商的PRA标识和/或PRA元素列表;上报模块64,与第二接收模块62耦合连接,设置为向第一功能实体上报重新认证应答RAA消息,其中,RAA消息中携带有第二功能实体依据协商的PRA标识和/或PRA元素列表获取用户设备UE的PRA状态。6 is a structural block diagram 2 of a processing apparatus for ingress and egress area monitoring according to an embodiment of the present invention. The apparatus is applied to a second functional entity side in a policy and charging control PCC structure. As shown in FIG. 6, the apparatus includes: When the session between the first functional entity and the second functional entity in the policy and charging control PCC structure is successfully established, and the first functional entity detects that the monitored area PRA identifier and/or the PRA element list is changed, the second receiving The module 62 is configured to receive the RAR message sent by the first function entity, where the attribute value pair AVP in the RAR message carries a PRA identifier and/or a PRA element list that the first function entity will negotiate with the second function entity; the reporting module 64, coupled to the second receiving module 62, configured to report a re-authentication response RAA message to the first functional entity, where the RAA message carries the second functional entity to obtain the user equipment according to the negotiated PRA identifier and/or the PRA element list. The PRA status of the UE.
需要说明的是,对于本发明实施例中的图5和图6涉及到的第一功能实体为策略控制与计费规则功能PCRF,第二功能实体为策略和计费执行功能PCEF或TDF流量检测功能。基于此,本实施例中产生PRA标识和/或PRA元素列表变更的方式包括以下至少之一:用户签约数据库SPR签约变更、PCRF本地配置变更、应用功能AF业务变更、会话间规则同步、时段变更。It should be noted that the first functional entity involved in FIG. 5 and FIG. 6 in the embodiment of the present invention is a policy control and charging rule function PCRF, and the second functional entity is a policy and charging execution function PCEF or TDF traffic detection. Features. Based on this, the manner of generating the PRA identifier and/or the PRA element list change in the embodiment includes at least one of the following: a user subscription database SPR subscription change, a PCRF local configuration change, an application function AF service change, an inter-session rule synchronization, and a time period change. .
可选地,本实施例中涉及到的UE的PRA状态包括:UE进入PRA且在PRA内、或UE离开PRA且在PRA外。Optionally, the PRA status of the UE involved in this embodiment includes: the UE enters the PRA and is in the PRA, or the UE leaves the PRA and is outside the PRA.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
下面结合本发明的可选实施例对本发明进行举例说明;The invention is exemplified below in conjunction with an alternative embodiment of the invention;
在本可选实施例中,采用在IP-CAN会话生命周期内,由于某种原因,PRA标识或PRA元素列表变更,即PCRF策略规则重决策,进而直接在RAR消息中下发最新的PRA,PCEF在收到RAR消息后,可以在RAA响应消息中直接上报PRA状态。基于此,本可选实施例方案的步骤包括: In this alternative embodiment, in the IP-CAN session life cycle, for some reason, the PRA identifier or the PRA element list is changed, that is, the PCRF policy rule is re-decision, and the latest PRA is directly sent in the RAR message. After receiving the RAR message, the PCEF can directly report the PRA status in the RAA response message. Based on this, the steps of the alternative embodiment include:
步骤S502:在IP-CAN会话建立成功后,由于某种原因,PRA标识或PRA元素列表变更,PCRF策略规则重决策;Step S502: After the IP-CAN session is successfully established, for some reason, the PRA identifier or the PRA element list is changed, and the PCRF policy rule is re-decisive;
步骤S504:PCRF判断此PRA标识是否已与PCEF协商好,若是,则把此标识填到Presence-Reporting-Area-Identifier AVP中,此AVP又放到Presence-Reporting-Area-Information AVP中;若不是,则把PRA标识填到Presence-Reporting-Area-Identifier AVP中,把PRA元素列表填到Presence-Reporting-Area-Information AVP中;同时在Event-Trigger AVP中添加事件CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA_REPORT,最后在RAR消息中下发Presence-Reporting-Area-Information AVP和事件到PCEF,。Step S504: The PCRF determines whether the PRA identifier has been negotiated with the PCEF. If yes, the identifier is added to the Presence-Reporting-Area-Identifier AVP, and the AVP is placed in the Presence-Reporting-Area-Information AVP; Then, the PRA identifier is filled in the Presence-Reporting-Area-Identifier AVP, and the PRA element list is filled into the Presence-Reporting-Area-Information AVP; and the event CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA_REPORT is added to the Event-Trigger AVP, and finally in the RAR message. Send Presence-Reporting-Area-Information AVP and events to PCEF.
步骤S506:PCEF收到RAR后,解码Presence-Reporting-Area-Information AVP。若PRA标识为协商好的,则根据此标识获取预定义的PRA,否则用PRA元素列表表示PRA,并把此PRA发送到移动管理节点功能(Mobility Management Entity,简称为MME)。Step S506: After receiving the RAR, the PCEF decodes the Presence-Reporting-Area-Information AVP. If the PRA identifier is negotiated, the predefined PRA is obtained according to the identifier. Otherwise, the PRA is used to represent the PRA, and the PRA is sent to the Mobility Management Entity (MME).
步骤S508:MME根据此PRA,判断UE进入或在PRA内、离开或在PRA外,上报PRA状态给PCEF;Step S508: The MME determines, according to the PRA, that the UE enters or is in the PRA, leaves or is outside the PRA, and reports the PRA status to the PCEF.
步骤S510:PCEF收到MME上报的PRA状态,把PRA标识放到Presence-Reporting-Area-Identifier AVP中,把PRA状态放到Presence-Reporting-Area-Status AVP中,并把这两个AVP放到Presence-Reporting-Area-Information AVP中,把此AVP放到RAA消息中,发送给PCRF。Step S510: The PCEF receives the PRA status reported by the MME, puts the PRA identifier into the Presence-Reporting-Area-Identifier AVP, puts the PRA status into the Presence-Reporting-Area-Status AVP, and puts the two AVPs into the In the Presence-Reporting-Area-Information AVP, the AVP is placed in the RAA message and sent to the PCRF.
步骤S512:PCRF收到RAA消息,以新的PRA标识、PRA状态为条件,进行策略规则决策。Step S512: The PCRF receives the RAA message, and performs policy rule decision based on the new PRA identifier and the PRA status.
通过上述步骤S302至步骤S312可知,如果在IP-CAN会话生命周期内,由于某种原因,PRA元素列表或PRA标识变更了。那么当PCRF进行PCC规则重决策后,新的PRA元素列表或PRA标识应该生效,PCRF在RAR消息中应该携带Presence-Reporting-Area-Information AVP,下发新的PRA。同时订阅CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA_REPORT事件。这样能实时下发最新的PRA,更准确。同时在RAR中下发PRA,比在收到CCR更新消息后,在CCA响应消息中下发PRA更快捷、方便,减少消息交互。It can be seen from the above steps S302 to S312 that if the IP-CAN session life cycle, the PRA element list or the PRA identifier is changed for some reason. Then, after the PCRF performs the PCC rule re-decision, the new PRA element list or the PRA identifier should be valid. The PCRF should carry the Presence-Reporting-Area-Information AVP in the RAR message and deliver a new PRA. Also subscribe to the CHANGE_OF_UE_PRESENCE_IN_PRESENCE_REPORTING_AREA_REPORT event. This will deliver the latest PRA in real time and is more accurate. At the same time, the PRA is sent in the RAR, and the PRA is sent in the CCA response message more quickly and conveniently than the CCR update message, and the message interaction is reduced.
当前的PCEF都是在CCR更新消息中上报PRA状态。但是,根据上面的描述,PCRF可以在RAR消息中下发PRA。那么PCEF在收到RAR消息后,根据其中新的PRA,获取UE是在PRA内还是外,在RAA(Re-Auth-Answer)响应中携带Presence-Reporting-Area-Information AVP,上报PRA状态。这样PCRF可以立刻知道当前UE所在PRA状态,更准确,方便后续以此条件进行策略决策。当然也可以选择先返回RAA响应消息,然后在CCR更新消息中上报PRA状态,根据实际情况选择。The current PCEF reports the PRA status in the CCR update message. However, according to the above description, the PCRF can deliver the PRA in the RAR message. Then, after receiving the RAR message, the PCEF, according to the new PRA, obtains whether the UE is in the PRA or not, and carries the Presence-Reporting-Area-Information AVP in the RAA (Re-Auth-Answer) response, and reports the PRA status. In this way, the PCRF can immediately know the current PRA status of the UE, which is more accurate and convenient for subsequent policy decisions based on this condition. Of course, you can choose to return the RAA response message first, and then report the PRA status in the CCR update message, and select according to the actual situation.
需要说明的是,该优化进去区域监控的处理流程也可以扩展到PCRF和TDF网元间。It should be noted that the processing flow of the optimized in-zone monitoring can also be extended between the PCRF and the TDF network element.
下面结合附图和具体实施例对本发明进行详细说明; The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments;
实施例一 Embodiment 1
图7是根据本发明可选实施例的PCRF与PCEF间PRA处理流程图,如图7所示,该流程的步骤包括:FIG. 7 is a flowchart of PRA processing between a PCRF and a PCEF according to an alternative embodiment of the present invention. As shown in FIG. 7, the steps of the process include:
步骤S701:PCEF向PCRF发送IP-CAN会话建立指示消息,其中携带用户标识。Step S701: The PCEF sends an IP-CAN session establishment indication message to the PCRF, where the user identifier is carried.
步骤S702:PCRF读取本地配置、从SPR获取该用户的签约信息,获取PRA数据,并进行规则决策,建立IP-CAN会话。Step S702: The PCRF reads the local configuration, acquires the subscription information of the user from the SPR, acquires the PRA data, and performs a rule decision to establish an IP-CAN session.
步骤S703:发送CCA响应消息,其中包含PRA、订阅的PRA上报事件;Step S703: Send a CCA response message, where the PRA and the subscribed PRA report event are included;
其中,即如果获取到PRA数据,把PRA标识、监控的区域PRA元素列表放到Presence-Reporting-Area-Information AVP中,编码CCA会话建立响应消息,发送给PCEF,PCRF和PCEF完成创建IP-CAN会话,并在PCRF上保存IP-CAN会话信息和用户信息。If the PRA data is obtained, the PRA identifier and the monitored area PRA element list are placed in the Presence-Reporting-Area-Information AVP, and the CCA session establishment response message is encoded and sent to the PCEF, and the PCRF and the PCEF complete the creation of the IP-CAN. Session and save IP-CAN session information and user information on the PCRF.
步骤S704:通知UE上报所在PRA状态;Step S704: Notifying the UE to report the status of the PRA;
步骤S705:UE上报进入PRA、在PRA内,或离开PRA、在PRA外;Step S705: The UE reports to enter the PRA, is in the PRA, or leaves the PRA and is outside the PRA.
步骤S706:PCEF发送CCR更新消息,其中携带PRA标识、PRA状态,以及上报PRA状态事件;Step S706: The PCEF sends a CCR update message, which carries the PRA identifier, the PRA status, and reports the PRA status event.
步骤S707:PCRF保存PRA状态,并以新的PRA状态为条件,重新进行策略规则决策。Step S707: The PCRF saves the PRA state, and re-performs the policy rule with the new PRA state as a condition.
步骤S708:发送CCA响应消息给PCEF,其中包括最新决策内容。Step S708: Send a CCA response message to the PCEF, including the latest decision content.
步骤S709:PCRF本地配置变更或SPR签约变更,导致PRA变更。Step S709: The PCRF local configuration change or the SPR subscription change causes the PRA to change.
步骤S710:SPR签约变更、PCRF本地配置变更、AF业务变更、会话间规则同步、时段变更等导致PCRF的PCC规则重决策。Step S710: SPR subscription change, PCRF local configuration change, AF service change, inter-session rule synchronization, time period change, etc. cause PCC rule re-decision of PCRF.
步骤S711:把最新的PRA标识、PRA元素列表,编码进RAR消息,以及最新的决策内容。发送给PCEFStep S711: Encoding the latest PRA identifier, the PRA element list, into the RAR message, and the latest decision content. Send to PCEF
步骤S712:PCEF通知UE上报所在最新PRA状态;Step S712: The PCEF notifies the UE to report the latest PRA status;
步骤S713:UE上报进入PRA、在PRA内,或离开PRA、在PRA外。Step S713: The UE reports to enter the PRA, is in the PRA, or leaves the PRA and is outside the PRA.
步骤S714:PCEF把PRA状态编码进RAA响应消息中,回复给PCRF。Step S714: The PCEF encodes the PRA status into the RAA response message and returns it to the PCRF.
即在本可选实施例中对Gx/Sd接口的RAR消息、RAA响应消息进行了扩展,在消息层中增加一个Presence-Reporting-Area-Information AVP,表示PCRF下发的PRA、PCEF上报的PRA状态。That is, in the present embodiment, the RAR message and the RAA response message of the Gx/Sd interface are extended, and a Presence-Reporting-Area-Information AVP is added to the message layer, indicating that the PRA delivered by the PCRF and the PRA reported by the PCEF are reported. status.
实施例二 Embodiment 2
图8是根据本发明可选实施例的PCRF与TDF间PRA处理流程图,如图8所示,该流程 的步骤包括:FIG. 8 is a flowchart of PRA processing between PCRF and TDF according to an alternative embodiment of the present invention, as shown in FIG. The steps include:
步骤S801,PCRF读取本地配置、从SPR获取签约,同时获取PRA,建立IP-CAN会话;Step S801, the PCRF reads the local configuration, acquires the subscription from the SPR, acquires the PRA, and establishes an IP-CAN session.
步骤S802,发送TSR消息建立TDF会话,其中包括PRA、订阅的PRA上报事件;Step S802, sending a TSR message to establish a TDF session, including a PRA, a subscribed PRA reporting event;
步骤S803,通知UE上报所在PRA状态;Step S803, the UE is notified to report the PRA status;
步骤S804,UE上报进入/在PRA内,或离开/在PRA外;Step S804, the UE reports entry/into the PRA, or leaves/before the PRA;
步骤S805,发送CCR消息,携带PRA标识、PRA状态;Step S805, sending a CCR message, carrying the PRA identifier and the PRA status;
步骤S806,保存PRA状态,重新策略决策;Step S806, saving the PRA state and re-polibing the policy decision;
步骤S807,发送CCA响应消息以及ADC规则;Step S807, sending a CCA response message and an ADC rule;
步骤S808,PCRF本地配置或SPR签约变更,引发PRA变更;Step S808, the PCRF local configuration or SPR subscription change, triggering a PRA change;
步骤S809,触发ADC重决策;Step S809, triggering an ADC to make a decision;
步骤S810,发送RAT消息,其中包含PRA订阅的PRA上报事件;Step S810, sending a RAT message, where the PRA reporting event of the PRA subscription is included;
步骤S811,通知UE上报所在PRA状态;Step S811, the UE is notified to report the PRA status.
步骤S812,UE上报进入、在PRA内,或离开、在PRA外;Step S812, the UE reports entry, is in the PRA, or leaves, outside the PRA;
步骤S813,发送RAA响应消息,其中包括PRA标识,及其对应的PRA状态。Step S813, sending an RAA response message, including the PRA identifier, and its corresponding PRA status.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
由本发明实施例可知,在PRA标识和/或PRA元素列表是否发生变更时,第一功能实体将与第二功能实体协商的PRA标识和/或PRA元素列表编码进重新认证请求RAR消息中的属性值对AVP中,收到RAR消息的第二功能实体可以上报PRA状态,从而解决了相关技术中 PCRF不能把最新的PRA通过RAR消息下发到PCEF,也不能在RAA消息中及时的上报PRA状态的问题。 According to the embodiment of the present invention, when the PRA identifier and/or the PRA element list is changed, the first functional entity encodes the PRA identifier and/or the PRA element list negotiated with the second functional entity into the attribute in the re-authentication request RAR message. In the value pair AVP, the second functional entity that receives the RAR message can report the PRA status, thereby solving the related art. The PCRF cannot deliver the latest PRA to the PCEF through the RAR message, and cannot report the PRA status in the RAA message in time.

Claims (10)

  1. 一种进出区域监控的处理方法,包括:A method for processing inbound and outbound areas, including:
    在策略和计费控制PCC结构中的第一功能实体与第二功能实体之间的会话建立成功后,第一功能实体检测监控的区域PRA标识和/或PRA元素列表是否发生变更;After the session between the first functional entity and the second functional entity in the policy and charging control PCC structure is successfully established, the first functional entity detects whether the monitored area PRA identifier and/or the PRA element list is changed.
    在PRA标识和/或PRA元素列表发生变更时,第一功能实体将与第二功能实体协商的PRA标识和/或PRA元素列表编码进重新认证请求RAR消息中的属性值对AVP中,并将RAR消息发送到第二功能实体;When the PRA identifier and/or the PRA element list is changed, the first functional entity encodes the PRA identifier and/or the PRA element list negotiated with the second functional entity into the attribute value pair AVP in the re-authentication request RAR message, and The RAR message is sent to the second functional entity;
    第一功能实体接收第二功能实体上报的重新认证应答RAA消息,其中,RAA消息中携带有第二功能实体依据协商的PRA标识和/或PRA元素列表获取用户设备UE的PRA状态。The first function entity receives the re-authentication response RAA message reported by the second function entity, where the RAA message carries the second function entity to obtain the PRA status of the user equipment UE according to the negotiated PRA identifier and/or the PRA element list.
  2. 根据权利要求1的方法,其中,第一功能实体为策略控制与计费规则功能PCRF,第二功能实体为策略和计费执行功能PCEF或TDF流量检测功能。The method according to claim 1, wherein the first functional entity is a policy control and charging rule function PCRF, and the second functional entity is a policy and charging execution function PCEF or TDF traffic detection function.
  3. 根据权利要求2的方法,其中,产生PRA标识和/或PRA元素列表变更的方式包括以下至少之一:用户签约数据库SPR签约变更、PCRF本地配置变更、应用功能AF业务变更、会话间规则同步、时段变更。The method according to claim 2, wherein the manner of generating the PRA identifier and/or the PRA element list change comprises at least one of the following: a user subscription database SPR subscription change, a PCRF local configuration change, an application function AF service change, an inter-session rule synchronization, Time period changes.
  4. 根据权利要求1的方法,其中,UE的PRA状态包括:UE进入PRA且在PRA内、或UE离开PRA且在PRA外。The method of claim 1, wherein the PRA status of the UE comprises the UE entering the PRA and within the PRA, or the UE leaving the PRA and outside the PRA.
  5. 一种进出区域监控的处理方法,其中,包括:A method for processing inbound and outbound area monitoring, including:
    在策略和计费控制PCC结构中的第一功能实体与第二功能实体之间的会话建立成功,且第一功能实体检测到监控的区域PRA标识和/或PRA元素列表发生变更时,第二功能实体接收第一功能实体发送的RAR消息,其中,RAR消息中的属性值对AVP携带有第一功能实体将与第二功能实体协商的PRA标识和/或PRA元素列表;When the session between the first functional entity and the second functional entity in the policy and charging control PCC structure is successfully established, and the first functional entity detects that the monitored area PRA identifier and/or the PRA element list is changed, the second The function entity receives the RAR message sent by the first function entity, where the attribute value pair AVP in the RAR message carries a PRA identifier and/or a PRA element list that the first function entity will negotiate with the second function entity;
    第二功能实体向第一功能实体上报重新认证应答RAA消息,其中,RAA消息中携带有第二功能实体依据协商的PRA标识和/或PRA元素列表获取用户设备UE的PRA状态。The second functional entity reports the re-authentication response RAA message to the first functional entity, where the second functional entity carries the PRA status of the user equipment UE according to the negotiated PRA identifier and/or the PRA element list.
  6. 根据权利要求5的方法,其中,第一功能实体为策略控制与计费规则功能PCRF,第二功能实体为策略和计费执行功能PCEF或TDF流量检测功能。The method according to claim 5, wherein the first functional entity is a policy control and charging rule function PCRF, and the second functional entity is a policy and charging execution function PCEF or TDF traffic detection function.
  7. 根据权利要求6的方法,其中,产生PRA标识和/或PRA元素列表变更的方式包括以下至少之一:用户签约数据库SPR签约变更、PCRF本地配置变更、应用功能AF业务变更、会话间规则同步、时段变更。The method according to claim 6, wherein the manner of generating the PRA identifier and/or the PRA element list change comprises at least one of the following: a user subscription database SPR subscription change, a PCRF local configuration change, an application function AF service change, an inter-session rule synchronization, Time period changes.
  8. 根据权利要求5的方法,其中,UE的PRA状态包括:UE进入PRA且在PRA内、或UE离开PRA且在PRA外。The method of claim 5, wherein the PRA status of the UE comprises the UE entering the PRA and within the PRA, or the UE leaving the PRA and outside the PRA.
  9. 一种进出区域监控的处理装置,应用策略和计费控制PCC结构中的第一功能实体侧,包 括:A processing device for monitoring the entry and exit area, applying the policy and charging control to the first functional entity side in the PCC structure, the package include:
    在策略和计费控制PCC结构中的第一功能实体与第二功能实体之间的会话建立成功后,检测模块,设置为检测监控的区域PRA标识和/或PRA元素列表是否发生变更;After the session between the first functional entity and the second functional entity in the policy and charging control PCC structure is successfully established, the detecting module is configured to detect whether the monitored area PRA identifier and/or the PRA element list is changed.
    处理模块,设置为在PRA标识和/或PRA元素列表发生变更时,将与第二功能实体协商的PRA标识和/或PRA元素列表编码进重新认证请求RAR消息中的属性值对AVP中,并将RAR消息发送到第二功能实体;a processing module, configured to: when the PRA identifier and/or the PRA element list is changed, encode the PRA identifier and/or the PRA element list negotiated with the second functional entity into the attribute value pair AVP in the re-authentication request RAR message, and Sending the RAR message to the second functional entity;
    第一接收模块,设置为接收第二功能实体上报的重新认证应答RAA消息,其中,RAA消息中携带有第二功能实体依据协商的PRA标识和/或PRA元素列表获取用户设备UE的PRA状态。The first receiving module is configured to receive the re-authentication response RAA message reported by the second functional entity, where the second functional entity carries the PRA status of the user equipment UE according to the negotiated PRA identifier and/or the PRA element list.
  10. 一种进出区域监控的处理装置,应用于策略和计费控制PCC结构中的第二功能实体侧,包括:A processing device for inbound and outbound area monitoring is applied to the second functional entity side in the policy and charging control PCC structure, including:
    在策略和计费控制PCC结构中的第一功能实体与第二功能实体之间的会话建立成功,且第一功能实体检测到监控的区域PRA标识和/或PRA元素列表发生变更时,第二接收模块,设置为接收第一功能实体发送的RAR消息,其中,RAR消息中的属性值对AVP携带有第一功能实体将与第二功能实体协商的PRA标识和/或PRA元素列表;When the session between the first functional entity and the second functional entity in the policy and charging control PCC structure is successfully established, and the first functional entity detects that the monitored area PRA identifier and/or the PRA element list is changed, the second a receiving module, configured to receive a RAR message sent by the first function entity, where the attribute value pair AVP in the RAR message carries a PRA identifier and/or a PRA element list that the first function entity will negotiate with the second function entity;
    上报模块,设置为向第一功能实体上报重新认证应答RAA消息,其中,RAA消息中携带有第二功能实体依据协商的PRA标识和/或PRA元素列表获取用户设备UE的PRA状态。 The reporting module is configured to report a re-authentication response RAA message to the first functional entity, where the RAA message carries the second functional entity to obtain the PRA status of the user equipment UE according to the negotiated PRA identifier and/or the PRA element list.
PCT/CN2016/098069 2015-12-25 2016-09-05 Method and device for processing access region monitoring WO2017107563A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510998011.8 2015-12-25
CN201510998011.8A CN106921954B (en) 2015-12-25 2015-12-25 Processing method and device for in-out area monitoring

Publications (1)

Publication Number Publication Date
WO2017107563A1 true WO2017107563A1 (en) 2017-06-29

Family

ID=59088933

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/098069 WO2017107563A1 (en) 2015-12-25 2016-09-05 Method and device for processing access region monitoring

Country Status (2)

Country Link
CN (1) CN106921954B (en)
WO (1) WO2017107563A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11411755B2 (en) 2018-08-30 2022-08-09 Nokia Technologies Oy Notifying off-line charging systems of user equipment events in presence reporting areas

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915617B (en) * 2021-02-10 2023-03-10 华为技术有限公司 HTTP updating method and communication device
CN114339605B (en) * 2021-12-29 2023-05-30 中国联合网络通信集团有限公司 PCC policy control method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102332985A (en) * 2011-10-26 2012-01-25 电信科学技术研究院 Method and device for providing charging support based on local internet protocol (IP) access (LIPA) bearer
CN105163345A (en) * 2015-08-05 2015-12-16 中国联合网络通信集团有限公司 Area reporting method and system
US20150365789A1 (en) * 2014-06-11 2015-12-17 Cisco Technology, Inc. Location reporting of user equipment in a cellular network environment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101730041A (en) * 2009-06-26 2010-06-09 中兴通讯股份有限公司 Policy and charging control method and system based on current time zone of user
EP3512240B1 (en) * 2010-08-20 2020-10-21 Huawei Technologies Co., Ltd. Method and apparatus for reporting radio bearer loss information
US10021038B2 (en) * 2013-05-17 2018-07-10 Telefonaktiebolaget Lm Ericsson (Publ) Sharing resource reservation
US9374764B2 (en) * 2013-10-11 2016-06-21 Cisco Technology, Inc. Policy application for a group of subscribers in a network environment
CN104754504B (en) * 2013-12-27 2019-02-12 华为技术有限公司 A kind of method and apparatus for subscribing to terminal device location information
CN104902540A (en) * 2015-04-28 2015-09-09 南京信息工程大学 VoLTE scene-based method for acquiring user access location information at network side

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102332985A (en) * 2011-10-26 2012-01-25 电信科学技术研究院 Method and device for providing charging support based on local internet protocol (IP) access (LIPA) bearer
US20150365789A1 (en) * 2014-06-11 2015-12-17 Cisco Technology, Inc. Location reporting of user equipment in a cellular network environment
CN105163345A (en) * 2015-08-05 2015-12-16 中国联合网络通信集团有限公司 Area reporting method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
3GPP: "Technical Specification", 3GPP TS 32.251 V12.12.0, 18 December 2015 (2015-12-18), XP055598714 *
HUAWEI: "Presence Reporting Area (PRA) support for handover scenario", CT WG3 MEETING #82BIS, C3-154088, 5 October 2015 (2015-10-05), XP050998780 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11411755B2 (en) 2018-08-30 2022-08-09 Nokia Technologies Oy Notifying off-line charging systems of user equipment events in presence reporting areas

Also Published As

Publication number Publication date
CN106921954B (en) 2021-02-19
CN106921954A (en) 2017-07-04

Similar Documents

Publication Publication Date Title
EP3890240B1 (en) User plane function method, user plane function entity, computer program and system
EP2388952B1 (en) Method, equipment and system for implementing policy and charging control
EP2536179B1 (en) Method, device and system for selecting policy and charging rules function entity
US8949447B2 (en) Optimized interface between two network elements operating under an authentication, authorization and accounting protocol
EP2929653B1 (en) Selective event reporting in a mobile telecommunications network
EP3213535B1 (en) Methods and apparatuses for service layer charging correlation with underlying networks
CN104620536A (en) High-availability, scalable policy and charging control systems, and methods therefor
US8837500B2 (en) Service data flow direction/redirection
WO2017219905A1 (en) Charging method, apparatus and system, and storage medium
US11190450B2 (en) System to monitor and control data in a network
EP2268094A1 (en) Session termination triggering method, implementing method and apparatus
EP3152862B1 (en) Notification of network events relevant for policy and charging decisions
EP2543159A1 (en) High-available policy and charging-control in geographical redundancy pcrf configurations
WO2013108138A1 (en) Method and apparatus for performing charging control to application- layer data
US10257366B2 (en) Method, system and apparatus for managing communication sessions using joint storage
WO2017107563A1 (en) Method and device for processing access region monitoring
WO2016062025A1 (en) Method and device for selecting policy and charging rules function
CN104955013A (en) Usage monitoring method, apparatus and system
WO2012116600A1 (en) Function negotiating method and system for policy and charging control function entity
WO2016062026A1 (en) Method and device for selecting policy and charging rules function
US11223492B2 (en) Wireless communication method and device
EP2294755B1 (en) Improved credit authorization in a core network
CN106714129A (en) Roaming charging method, related device and online charging system
CN102421106B (en) A kind of by quantity monitoring method and system
US20170026524A1 (en) Charging method and apparatus

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

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

Country of ref document: EP

Kind code of ref document: A1