WO2016173363A1 - Method, system and apparatus for making policy rule - Google Patents

Method, system and apparatus for making policy rule Download PDF

Info

Publication number
WO2016173363A1
WO2016173363A1 PCT/CN2016/077902 CN2016077902W WO2016173363A1 WO 2016173363 A1 WO2016173363 A1 WO 2016173363A1 CN 2016077902 W CN2016077902 W CN 2016077902W WO 2016173363 A1 WO2016173363 A1 WO 2016173363A1
Authority
WO
WIPO (PCT)
Prior art keywords
description information
address
public network
information
private network
Prior art date
Application number
PCT/CN2016/077902
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 WO2016173363A1 publication Critical patent/WO2016173363A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Definitions

  • the present invention relates to the field of communications, and in particular to a method, system and apparatus for formulating policy rules.
  • FIG. 1 is a schematic diagram of a PCC architecture according to the related art. As shown in FIG. 1, FIG. 1 is a policy and charging control architecture defined by a 3rd Generation Partnership Project (3GPP). Referred to as PCC).
  • 3GPP 3rd Generation Partnership Project
  • PCRF Policy and Charging Rules Function
  • QoS Quality of Service
  • SPR Subscription Profile Repository
  • PCRF Policy and Charging Rules Function
  • the PCRF needs to combine the service information received from the Application Function (AF), the user subscription information received from the Subscription Profile Repository (SPR), and the policy configured by the operator.
  • the PCRF sends the control policy for the service to the Policy and Charging Enforcement Function (PCEF) or the Bearer Binding and Event Report Function (BBERF).
  • PCEF Policy and Charging Enforcement Function
  • BBERF Bearer Binding and Event Report Function
  • the PCRF can subscribe to the bearer layer related events to the PCEF and/or the BBERF to sense in time when the bearer layer occurs, and change the control strategy.
  • the PCEF and the Traffic Detection Function (TDF) can perform application detection and control functions according to the PCC rules (PCEF) or Application Detection Control (ADC) rules (TDF) delivered by the PCRF. .
  • FIG. 2 is a schematic diagram of a PCC architecture of Application Access Control (AAC) according to the related art.
  • AAC Application Access Control
  • FIG. 2 the Diameter protocol adopted by the RX interface supported by the PCC is currently used for most third-party data.
  • the industry research PCC architecture supports the Rx interface based on the SOAP/REST protocol.
  • a logic function called Protocol Converter (PC) is directly set up in the PCRF and AF to convert the SOAP or REST protocol into a Diameter.
  • PC Protocol Converter
  • some access control functions may be added to the PC to better implement the access control of the third-party data application by the operator.
  • the logic function is also referred to as an AAC functional entity.
  • FIG. 3 is a schematic diagram of a PCC architecture of a NAT according to the related art.
  • PDN Packet Data Network Gateway, P-GW for short.
  • NAT Network Address Translation
  • the same PDN connection carries the private IP address and port number used inside the Evolved Packet Core (EPC), which is different from the public IP address and port number used in the external packet network.
  • EPC Evolved Packet Core
  • the service information that the AF provides to the PCRF for formulating the PCC rule is based on the transformed IP address in the external packet network. And the port number.
  • the PCRF cannot associate the AF session with the IP-connectivity Access Network (IP-CAN) according to the public IP address provided by the AF and the private IP address provided by the PCEF.
  • IP-CAN IP-connectivity Access Network
  • the filter template in the PCC rule is provided to the PCEF or BBERF for execution, and the PCEF or BBERF will not be able to match the correct data stream.
  • the NAT sends the address translation mapping table to the PCRF, and the PCRF can find the corresponding private network IP address and port number according to the mapping table and the information provided by the AF.
  • this scheme requires an interworking mechanism between NAT and PCRF, which has a great impact on the existing network.
  • the related technologies also propose two implementations that have less impact on the existing network.
  • the AAC and the PCRF can uniquely determine the private network source IP address based on the public network source IP address and the public network source port number.
  • (2) The PCEF inserts the private network IP address of the UE in the header of the packet data packet sent by the UE, and the AF provides the private network IP address of the UE when providing the service information to the PCRF, so that the PCRF can be based on the private network IP address. Make a session association.
  • the above two implementations can only perform session binding.
  • the UE may not be able to perform correct resource reservation and resource control for multiple service access initiated by one UE at the same time.
  • Two HTTP service requests are initiated simultaneously to the same service.
  • the private IP addresses, server IP addresses, and server port numbers of the service data flows of the two services are the same.
  • the PCRF cannot deliver the correct PCC rules for resource reservation and control for two simultaneous service accesses.
  • the invention provides a method, a system and a device for formulating a policy rule to solve at least the problem that the user terminal may not perform correct resource reservation and resource control for multiple service access initiated by a user terminal simultaneously for one service.
  • a policy rule setting method is provided, if the protocol converter PC or the application access control function AAC is based on the public network in two or more public network service description information provided by the application function AF If the flow description information is the same as the private network flow description information, the PC or the AAC provides the private network service description information to the policy and charging rule function PCRF, where the private network flow description information and the accumulated request bandwidth information are carried.
  • the cumulative request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information;
  • the PCRF formulates a PCC rule according to the private network flow description information and the accumulated request bandwidth information.
  • the PC or the AAC is configured with a mapping table of the same private network IP address as the network address translation device NAT to the public network IP address and the public network source port number segment.
  • the PC or the AAC determines a private network IP address according to the mapping table and the source port number and the source IP address in the two or more public network flow description information. And replacing the source IP address with the private network IP address, and the source port is replaced by the flow description information generated after the wildcard is the same.
  • the cumulative request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information, including:
  • the accumulated request bandwidth information is a sum or a maximum value of the requested bandwidth information in the two or more public network service description information.
  • a method for formulating a policy rule including:
  • the PCRF according to the public network flow description information in the two or more public network service description information provided by the AF is the same as the private network flow description information, and the PCRF according to the private network flow description information and the cumulative request
  • the bandwidth information defines a PCC rule, wherein the accumulated request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information.
  • a mapping table of a private network IP address consistent with a network address translation device NAT to a public network IP address and a public network source port number segment is configured on the PCRF.
  • the PCRF determines a private network IP address according to the mapping table and the source port number and the source IP address in the two or more public network flow description information, and the The source IP address is replaced with the private network IP address, and the flow port description information generated after the source port is replaced by the wildcard is the same.
  • the cumulative request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information, including:
  • the accumulated request bandwidth information is a sum or a maximum value of the requested bandwidth information in the two or more public network service description information.
  • a policy rule making system including:
  • the PC or the AAC is configured to provide the private network service description information to the PCRF when the description information of the private network flow mapped by the public network flow description information in the two or more public network service description information provided by the AF is the same. Carrying the private network flow description information and the cumulative request bandwidth information, where the accumulated request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information;
  • the PCRF is configured to formulate a PCC rule according to the private network flow description information and the accumulated request bandwidth information.
  • a mapping table between a private network IP address and a public network IP address and a public network source port number segment that are consistent with the network address translation device NAT is configured on the PC or the AAC.
  • the PC or the AAC determines the private network IP address according to the mapping table and the source port number and the source IP address in the two or more public network flow description information, and The source IP address is replaced with the private network IP address, and the flow port description information generated after the source port is replaced by the wildcard is the same.
  • the PC or the AAC sets the sum or maximum value of the requested bandwidth information in the two or more public network service description information to the accumulated request bandwidth information.
  • a PC or AAC device comprising:
  • a receiving module configured to receive public network flow description information in two or more public network service description information provided by the AF;
  • the first mapping module is configured to map the public network flow description information in the two or more public network service description information into the private network flow description information;
  • a sending module when the mapped private network flow description information is the same, providing the private network service description information to the PCRF, where the private network flow description information and the accumulated request bandwidth information are carried, where the accumulated request bandwidth information is The request bandwidth information in the two or more public network service description information is generated.
  • the apparatus further includes a first configuration module configured to configure a mapping table of the private network IP address consistent with the network address translation device NAT to the public network IP address and the public network source port number segment.
  • the device further includes:
  • the first mapping module determines the private network IP address according to the mapping table configured by the first configuration module and the source port number and the source IP address in the two or more public network flow description information received by the receiving module. And replacing the source IP address with the private network IP address, and the source port is replaced by the flow description information generated after the wildcard is the same.
  • the sending module sets the accumulated request bandwidth information to a sum or a maximum value of the requested bandwidth information in the two or more public network service description information.
  • a PCRF device comprising:
  • the second mapping module is configured to map the public network flow description information in the two or more public network service description information provided by the AF into the private network flow description information;
  • a setting module configured to: when the mapping of the private network flow description information is the same, formulating a PCC rule according to the private network flow description information and the accumulated request bandwidth information, where the cumulative request bandwidth information is according to the two Or request bandwidth information generated in two or more public network service description information.
  • the second configuration module is further configured to be configured to configure a mapping table of the private network IP address consistent with the network address translation device NAT to the public network IP address and the public network source port number segment.
  • the cumulative request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information, including:
  • the accumulated request bandwidth information is a sum or a maximum value of the requested bandwidth information in the two or more public network service description information.
  • the PCRF formulates a PCC rule according to the private network flow description information and the accumulated request bandwidth information, and solves the problem that the user terminal may not perform correct resource reservation and resource control for multiple service access initiated by one user at the same time.
  • FIG. 1 is a schematic diagram of a PCC architecture according to the related art
  • FIG. 2 is a schematic diagram of a PCC architecture of an AAC according to the related art
  • FIG. 3 is a schematic diagram of a PCC architecture of a NAT according to the related art
  • FIG. 4 is a flowchart of a method for formulating a policy rule according to an embodiment of the present invention
  • FIG. 5 is a structural block diagram of a PC or AAC device according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram of a PCRF device according to an embodiment of the present invention.
  • FIG. 7 is a flowchart 1 of implementing a PCRF to formulate a PCC rule according to a preferred embodiment of the present invention
  • FIG. 8 is a flow chart 2 of implementing a PCRF to formulate PCC rules in accordance with a preferred embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for formulating a policy rule according to an embodiment of the present invention. As shown in FIG. 4, the process includes the following steps:
  • Step S402 if the protocol converter PC or the application access control function AAC maps the private network flow description information into the same according to the public network flow description information in the two or more public network service description information provided by the application function AF, The PC or the AAC provides the private network service description information to the policy and charging rule function PCRF, where the private network flow description information and the accumulated request bandwidth information are carried, wherein the accumulated request bandwidth information is based on the two or more public network services. Request bandwidth information generation in the description information;
  • Step S404 the PCRF formulates a PCC rule according to the private network flow description information and the accumulated request bandwidth information.
  • the protocol converter PC or the application access control function AAC maps the private network flow description information into the same according to the public network flow description information in the two or more public network service description information provided by the AF
  • the PC or the AAC provides the private network service description information to the PCRF, where the private network flow description information and the accumulated request bandwidth information are carried, wherein the accumulated request bandwidth information is based on the requested bandwidth information in the two or more public network service description information.
  • the PCRF The PCC rule is formulated according to the private network flow description information and the accumulated request bandwidth information, which solves the problem that the user terminal may not perform correct resource reservation and resource control for multiple service access initiated by one user at the same time, and implements the user terminal pair. Resource reservation and control of multiple service access initiated by one service at the same time.
  • the PC or the AAC is configured with a mapping table of the same private network IP address as the network address translation device NAT to the public network IP address and the public network source port number segment.
  • the PC or the AAC determines a private network IP address according to the mapping table and the source port number and the source IP address in the two or more public network flow description information, and the source IP address is obtained. Replace the IP address with the private network.
  • the source port is replaced with the same flow description information generated after the wildcard.
  • the accumulated request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information, including:
  • the accumulated request bandwidth information is a sum or a maximum value of the requested bandwidth information in the two or more public network service description information.
  • a method for formulating a policy rule including:
  • the PCRF is configured according to the public network flow description information mapped by the public network flow description information in the two or more public network service description information provided by the AF, and the PCRF is determined according to the private network flow description information and the accumulated request bandwidth information.
  • the PCC rule wherein the accumulated request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information.
  • a mapping table between the private network IP address and the public network source port number and the public network source port number segment that is consistent with the network address translation device NAT is configured on the PCRF.
  • the PCRF determines a private network IP address according to the mapping table and the source port number and the source IP address in the two or more public network flow description information, and replaces the source IP address with the source IP address.
  • the private network IP address is the same as the flow description information generated after the source port is replaced with the wildcard.
  • the accumulated request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information, including:
  • the accumulated request bandwidth information is a sum or a maximum value of the requested bandwidth information in the two or more public network service description information.
  • a policy rule making system which includes:
  • the PC or the AAC is configured to provide the private network service description information to the PCRF when the description information of the private network flow mapped by the public network flow description information in the two or more public network service description information provided by the AF is the same. Carrying the private network flow description information and the accumulated request bandwidth information, where the accumulated request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information;
  • the PCRF is configured to formulate a PCC rule according to the private network flow description information and the accumulated request bandwidth information.
  • the private network IP address that is consistent with the NAT of the network address translation device is configured on the PC or the AAC.
  • the PC or the AAC determines the private network IP address according to the mapping table and the source port number and the source IP address in the two or more public network flow description information, and replaces the source IP address.
  • the IP address of the private network is the same as the flow description information generated after the source port is replaced with the wildcard.
  • the PC or the AAC sets the sum or maximum value of the requested bandwidth information in the two or more public network service description information to the accumulated request bandwidth information.
  • a PC or an AAC device and a PCRF device are provided, which are used to implement the above-mentioned embodiments and preferred embodiments, and are not 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 PC or an AAC device according to an embodiment of the present invention. As shown in FIG. 5, the device includes:
  • the receiving module 52 is configured to receive public network flow description information in two or more public network service description information provided by the AF;
  • the first mapping module 54 is configured to map the public network flow description information in the two or more public network service description information into the private network flow description information;
  • the sending module 56 when the mapped private network flow description information is the same, the private network service description information is provided to the PCRF, where the private network flow description information and the accumulated request bandwidth information are carried, where the accumulated request bandwidth information is according to the two Or request bandwidth information generated in two or more public network service description information.
  • the apparatus further includes a first configuration module configured to configure a mapping table of the private network IP address consistent with the network address translation device NAT to the public network IP address and the public network source port number segment.
  • the device further includes:
  • the first mapping module 54 determines the private network IP address according to the mapping table configured by the first configuration module and the source port number and the source IP address in the two or more public network flow description information received by the receiving module, and The source IP address is replaced with the private network IP address, and the source port is replaced with the same flow description information generated after the wildcard.
  • the sending module 56 sets the accumulated request bandwidth information as the sum or maximum value of the requested bandwidth information in the two or more public network service description information.
  • FIG. 6 is a structural block diagram of a PCRF device according to an embodiment of the present invention. As shown in FIG. 6, the device includes:
  • the second mapping module 62 is configured to map the public network flow description information in the two or more public network service description information provided by the AF into the private network flow description information.
  • the setting module 64 is configured to: when the mapped private network flow description information is the same, formulate a PCC rule according to the private network flow description information and the accumulated request bandwidth information, wherein the accumulated request bandwidth information is based on the two or more Request bandwidth information generation in the public network service description information.
  • the second configuration module is further configured to be configured to configure a mapping table between the private network IP address and the public network source port number and the public network source port number segment that are consistent with the NAT of the network address translation device.
  • the accumulated request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information, including:
  • the accumulated request bandwidth information is a sum or a maximum value of the requested bandwidth information in the two or more public network service description information.
  • the private network source IP address is provided to the PCRF by configuring the corresponding relationship between the public network IP address, the public network source port number, and the private network IP address on the AAC, and the AAC accumulates the bandwidth requested by the AF. Resource reservation for business data streams.
  • a mapping table between a private network IP address and a public network IP address and a public network source port number segment is configured on both the NAT and the AAC. (In the embodiment of the present invention, the source IP address, the source port number, the destination IP address, and the destination port number are all for the uplink direction).
  • FIG. 7 is a flowchart 1 of implementing a PCRF to formulate a PCC rule according to a preferred embodiment of the present invention, as shown in FIG.
  • Step 701 The UE attaches to the network to establish an IP-CAN session.
  • a Gx session for policy and charging control is established between the PCEF and the PCRF. If the IP-CAN session involves BBERF, a gateway control session for policy control is established between the BBERF and the PCRF.
  • Step 702 The UE initiates a service access.
  • the source IP address that is, the private IP address of the UE
  • the source port number represented as the private network source port number 1
  • the public network source port number represented as the public network source port number 1
  • the NAT maps the private network IP address to the corresponding public network IP address according to the mapping table of the private IP address to the public network IP address and the public network source port number segment, and selects the corresponding public network source port number segment. Replace the private network source port number with a port number.
  • the application server obtains the packet quintuple.
  • Step 703 The AF sends an HTTP POST message to the AAC, where the message carries the service description information and the public network IP address.
  • the service description information includes the service description information identifier 1, the flow description information, the media type, and the requested bandwidth information.
  • the flow description information is the quintuple of the data packet acquired by the application server in step 802.
  • Step 704 The AAC determines the private network IP according to the mapping table of the configured private network IP address to the public network IP address and the public network source port number segment, and the public network source port number and the public network IP address in the flow description provided by the AF. address.
  • the AAC adjusts the flow description information in the service description, and the source address is changed to the private network IP address, and the source port number is modified to the wildcard.
  • Step 705 The AAC sends an AAR message to the PCRF, where the message carries the service description information, the private network IP address, and the public network IP address.
  • Step 706 After the PCRF saves the information, a confirmation message is returned.
  • Step 707 The AAC returns an acknowledgement message to the AF.
  • Step 708 The PCRF formulates the PCC rule 1 according to the service information, the network policy, and the user subscription information.
  • the flow description information carried in the PCC rule 1 (that is, the service data flow template) is the flow description information provided by the AAC.
  • the QoS information carried in the PCC rule 1 includes a QoS Class Identifier (QCI), and an Allocation And Retention Priority (ARP).
  • QCI QoS Class Identifier
  • ARP Allocation And Retention Priority
  • the QoS information includes a Guaranteed Bit Rate (GBR) and a Maximum Bit Rate (MBR); if the QCI is a non-guaranteed bit Rate (Non-GBR) QCI, the MBR may be included in the QoS information, and the value is set according to the requested bandwidth information. If the BBERF exists, the PCRF also formulates the QoS rule 1 according to the PCC rule 1.
  • Step 709 The PCRF provides QoS rule 1 to the BBERF;
  • Step 710 The PCRF provides PCC rule 1 to the PCEF;
  • Step 711 The UE initiates a service access again.
  • the source IP address that is, the private IP address of the UE
  • the source port number represented as the private network source port number 2
  • the source port number represented as the private network source port number 2
  • the NAT maps the private network IP address to the corresponding public network IP address according to the mapping table of the private IP address to the public network IP address and the public network source port number segment, and selects the corresponding public network source port number segment. Replace the private network source port number with a port number.
  • the application server obtains the packet quintuple.
  • Step 712 The AF sends an HTTP PUT message to the AAC, where the message carries the service description information and the public network IP address.
  • the service description information includes the service description information identifier 2, the flow description information, the media type, and the requested bandwidth information.
  • the flow description information is the quintuple of the data packet acquired in the application server in step 811.
  • Step 713 The AAC determines the private network IP according to the mapping table of the configured private network IP address to the public network IP address and the public network source port number segment, and the public network source port number and public network IP address in the flow description provided by the AF. address.
  • the AAC adjusts the flow description information in the service description, and the source address is changed to the private network IP address, and the source port number is modified to the wildcard. Since the AAC-adjusted flow description information is consistent with the step 804, the AAC determines the service description information before the update, that is, the new service description information includes the adjusted flow description information, the media type, and the requested bandwidth information (where the bandwidth information is requested). The sum of the bandwidth information requested for two AFs or the larger of the bandwidth information for two AF requests).
  • Step 714 The AAC sends an AAR message to the PCRF, and updates the previous service description information, where the message carries the service flow description information, the public network IP address, the private network IP address, and the new request bandwidth information.
  • Step 715 After the PCRF saves the information, a confirmation message is returned.
  • Step 716 The AAC returns an acknowledgement message to the AF.
  • Step 717 The PCRF updates the PCC Rule 1 according to the updated service description information.
  • the QoS information carried in the PCC rule 1 includes QCI and ARP. If the QCI defined by the PCRF is GBR-QCI, the QoS information includes the GBR and the MBR, and the GBR and the MBR are respectively set according to the new request bandwidth information; if the QCI defined by the PCRF is the Non-GBR QCI, the QoS information may be included. MBR, and the MBR is set according to the new request bandwidth information. If BBERF exists, the PCRF also formulates QoS rules according to PCC Rule 1.
  • Step 718 The PCRF provides an updated QoS rule 1 to the BBERF;
  • Step 719 The PCRF provides an update PCC rule 1 to the PCEF;
  • the PCRF ensures that two service accesses are normally performed by formulating a cumulative resource reserved for two service accesses by a PCC rule.
  • the corresponding private network source IP address is obtained by configuring the correspondence between the public network IP address, the public network source port number, and the private network IP address on the PCRF, and the bandwidth requested by the AFF is accumulated by the PCRF.
  • a mapping table between a private network IP address and a public network IP address and a public network source port number segment is fixedly configured on the NAT and the PCC.
  • FIG. 8 is a second flowchart of implementing a PCRF to formulate a PCC rule according to a preferred embodiment of the present invention, as shown in FIG.
  • Step 801 The UE attaches to the network to establish an IP-CAN session.
  • a Gx session for policy and charging control is established between the PCEF and the PCRF. If the IP-CAN session involves BBERF, a gateway control session for policy control is established between the BBERF and the PCRF.
  • Step 802 The UE initiates a service access.
  • the source IP address that is, the private IP address of the UE
  • the source port number represented as the private network source port number 1
  • the public network source port number represented as the public network source port number 1
  • the NAT maps the private network IP address to the corresponding public network IP address according to the mapping table of the private IP address to the public network IP address and the public network source port number segment, and selects the corresponding public network source port number segment. Replace the private network source port number with a port number.
  • the application server obtains the packet header quintuple.
  • Step 803 The AF sends an AAR message to the PCRF, where the message carries the service description information and the public network IP address.
  • the service description information includes flow description information, media type, and requested bandwidth information.
  • the stream description information is the quintuple of the data packet obtained in step 902.
  • the PCRF determines the private network IP address based on the mapping between the configured private IP address to the public network IP address and the public network source port number segment, and the public network source port number and public network IP address in the flow description provided by the AF.
  • the PCRF adjusts the flow description information in the service description to change the source address to the private network IP address, and the source port number is modified to wildcard.
  • Step 804 After the PCRF saves the information, a confirmation message is returned.
  • Step 805 The PCRF formulates the PCC rule 1 according to the service information, the network policy, and the user subscription information, where the carried flow description information (that is, the service data flow template) in the PCC rule 1 is the flow description information provided by the AF.
  • the QoS information carried in the PCC rule 1 includes QCI and ARP. If the QCI defined by the PCRF is GBR-QCI, the QoS information includes the GBR and the MBR, and the value is set according to the requested bandwidth information provided by the AF; if the QCI defined by the PCRF is the Non-GBR QCI, the QoS information may include the MBR. The value is set according to the requested bandwidth information provided by the AF. If BBERF exists, the PCRF also formulates QoS rules according to PCC Rule 1.
  • Step 806 Optionally, the PCRF provides QoS rule 1 to the BBERF;
  • Step 807 The PCRF provides PCC rule 1 to the PCEF;
  • Step 808 The UE initiates a service access again.
  • the source IP address that is, the private IP address of the UE
  • the source port number represented as the private network source port number 2
  • the public network source port number represented as the public network source port number 2
  • the NAT maps the private network IP address to the corresponding public network IP address according to the mapping table of the private IP address to the public network IP address and the public network source port number segment, and selects the corresponding public network source port number segment. Replace the private network source port number with a port number.
  • the application server obtains the packet quintuple.
  • Step 809 The AF sends an AAR message to the PCRF, where the message carries the service description information and the public network IP address.
  • the service description information includes flow description information, media type, and requested bandwidth information.
  • the flow description information is the quintuple of the data packet acquired by the application server in step 908.
  • Step 810 The PCRF determines the private network IP according to the mapping table of the configured private network IP address to the public network IP address and the public network source port number segment, and the public network source port number and the public network IP address in the flow description provided by the AF. address.
  • the PCRF adjusts the flow description information in the service description to change the source address to the private network IP address, and the source port number is modified to wildcard.
  • Step 811 After the PCRF saves the information, a confirmation message is returned.
  • Step 812 Since the PCRF adjusted flow description information is the same as the flow description information in step 903, the PCRF updates the PCC rule 1 in step 808 according to the service information, the network policy, and the user subscription information, wherein the updated The flow description letter carried in PCC rule 1 is consistent with that before the update.
  • the QoS information carried in the PCC rule 1 includes QCI and ARP. If the QCI defined by the PCRF is GBR-QCI, the QoS information includes the GBR and the MBR, and the GBR and the MBR are respectively set according to the bandwidth of the AF request twice, that is, the sum of the bandwidth information of the two AF requests or twice.
  • the larger value of the bandwidth information requested by the AF if the QCI defined by the PCRF is the Non-GBR QCI, the QoS information may include the MBR, and the value of the MBR is set according to the bandwidth of the two requests of the AF, that is, two AF requests.
  • the sum of the bandwidth information is either the larger of the bandwidth information of the two AF requests. If BBERF exists, the PCRF also formulates QoS rules according to PCC Rule 1.
  • Step 813 The PCRF provides an updated QoS rule 1 to the BBERF;
  • Step 814 The PCRF provides an update PCC Rule 1 to the PCEF.
  • 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 mobile phone, a computer, a server, or a network device, etc.) to perform the method of various embodiments of the present invention.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be Set to store program code for performing the above embodiments:
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor executes the method of the above embodiment according to the stored program code in the storage medium.
  • 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 protocol converter PC or the application access control function AAC maps the public network according to the public network flow description information in the two or more public network service description information provided by the AF If the flow description information is the same, the PC or the AAC provides the private network service description information to the PCRF, where the private network flow description information and the accumulated request bandwidth information are carried, where the accumulated request bandwidth information is based on the two or more public network services.
  • the request bandwidth information is generated in the description information, and the PCRF formulates a PCC rule according to the private network flow description information and the accumulated request bandwidth information, and solves that multiple service access initiated by the user terminal for one service may not be able to perform correct resource reservation. And the problem of resource control, realizing the resource reservation and control of multiple service access initiated by the user terminal to one service at the same time.

Abstract

The present invention provides a method, system and apparatus for making a policy rule. The method comprises: a protocol converter (PC) or an application access control (AAC) function provides, if private network stream description information mapped by the PC or the AAC function according to public network stream description information in two or more pieces of public network service description information provided by an AF is identical, private network service description information to a PCRF, wherein the private network stream description information and accumulative request bandwidth information are carried, and the accumulative request bandwidth information is generated according to request bandwidth information in the two or more pieces of public network service description information; and the PCRF makes, according to the private network stream description information and the accumulative request bandwidth information, a PCC rule. The problem of incorrect resource reservation and resource control caused by of a user terminal for a plurality of service accesses initiated for a service simultaneously is solved, and resource reservation and control of a user terminal for a plurality of service accesses initiated for a service simultaneously are achieved.

Description

策略规则制定方法、系统及装置Strategy rule making method, system and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种策略规则制定方法、系统及装置。The present invention relates to the field of communications, and in particular to a method, system and apparatus for formulating policy rules.
背景技术Background technique
图1是根据相关技术的PCC架构示意图,如图1所示,图1是第三代合作伙伴计划(3rd Generation Partnership Project,简称为3GPP)定义的策略和计费控制架构(Policy and Charging Control,简称为PCC)。1 is a schematic diagram of a PCC architecture according to the related art. As shown in FIG. 1, FIG. 1 is a policy and charging control architecture defined by a 3rd Generation Partnership Project (3GPP). Referred to as PCC).
策略和计费规则功能(Policy and Charging Rules Function,简称为PCRF)为业务使用网络资源进行服务质量(Quality of Service,简称为QoS)和计费策略的制订。PCRF制定所述控制策略需要结合从应用功能(Application function,简称为AF)接收的业务信息,从用户签约数据库(Subscription Profile Repository,简称为SPR)接收的用户签约信息,运营商配置的策略等。PCRF将为业务制定的控制策略下发给策略和计费执行功能(Policy and Charging Enforcement Function,简称为PCEF)或者承载绑定和事件上报功能(Bearer Binding and Event Report Function,简称为BBERF)执行。同时PCRF可以向PCEF和/或BBERF订阅承载层相关事件,以便当承载层发生所述事件时及时感知,并更改控制策略。此外,PCEF以及业务检测功能(Traffic Detection Function,简称为TDF)能够根据PCRF下发的PCC规则(PCEF)或应用检测控制(Application Detection Control,简称为ADC)规则(TDF)执行应用检测和控制功能。Policy and Charging Rules Function (PCRF) is used to formulate Quality of Service (QoS) and charging policies for services using network resources. The PCRF needs to combine the service information received from the Application Function (AF), the user subscription information received from the Subscription Profile Repository (SPR), and the policy configured by the operator. The PCRF sends the control policy for the service to the Policy and Charging Enforcement Function (PCEF) or the Bearer Binding and Event Report Function (BBERF). At the same time, the PCRF can subscribe to the bearer layer related events to the PCEF and/or the BBERF to sense in time when the bearer layer occurs, and change the control strategy. In addition, the PCEF and the Traffic Detection Function (TDF) can perform application detection and control functions according to the PCC rules (PCEF) or Application Detection Control (ADC) rules (TDF) delivered by the PCRF. .
随着移动互联网的发展,运营商需要与第三方数据应用提供商进行互通,为第三方数据应用提供商提供的业务进行QoS保障。图2是根据相关技术的应用接入控制(Application Access Control,简称为AAC)的PCC架构示意图,如图2所示,由于目前PCC支持的Rx接口采用的Diameter协议,而对于大多数第三方数据应用提供商来说,他们更擅长基于SOAP、REST协议的开发。目前业界研究PCC架构支持基于SOAP/REST协议的Rx接口。在PCRF和AF直接设置一个称为协议转换器(Protocol Converter,简称为PC)的逻辑功能,用于将SOAP或REST协议转换成Diameter。在本发明的实施例中,还可以在PC上面增加一些接入控制功能,以便能够更好的实现运营商对第三方数据应用的接入控制,此时该逻辑功能还称为AAC功能实体。With the development of the mobile Internet, operators need to communicate with third-party data application providers to provide QoS for services provided by third-party data application providers. 2 is a schematic diagram of a PCC architecture of Application Access Control (AAC) according to the related art. As shown in FIG. 2, the Diameter protocol adopted by the RX interface supported by the PCC is currently used for most third-party data. For application providers, they are better at developing based on SOAP and REST protocols. Currently, the industry research PCC architecture supports the Rx interface based on the SOAP/REST protocol. A logic function called Protocol Converter (PC) is directly set up in the PCRF and AF to convert the SOAP or REST protocol into a Diameter. In the embodiment of the present invention, some access control functions may be added to the PC to better implement the access control of the third-party data application by the operator. The logic function is also referred to as an AAC functional entity.
图3是根据相关技术的NAT的PCC架构示意图,如图3所示,为了解决IP地址短缺的问题,运营商通常在分组网络网关(PDN(Pocket Data Network)Gateway,简称为P-GW)之后部署网络地址转换设备(Network Address Translation,简称为NAT)。由于NAT存在,就使得相同PDN连接承载在分组核心演进网(Evolved Packet Core,简称为EPC)内部使用的私有IP地址和端口号,与外部分组网络中使用的公有IP地址和端口号有所不同。在相关技术中,AF提供给PCRF用于制定PCC规则的业务信息是基于外部分组网络中的经过变换的IP地址 和端口号,首先PCRF无法根据AF提供的公有IP地址和PCEF提供的私网IP地址将AF会话和IP接入网会话(IP-connectivity Access Network,简称为IP-CAN)进行关联,其次若PCRF根据外部的IP地址和端口号制定PCC规则中的过滤器模板提供给PCEF或BBERF执行,PCEF或BBERF将无法匹配正确的数据流。FIG. 3 is a schematic diagram of a PCC architecture of a NAT according to the related art. As shown in FIG. 3, in order to solve the problem of shortage of an IP address, an operator usually follows a PDN (Pocket Data Network Gateway, P-GW for short). Network Address Translation (NAT) is deployed. Because the NAT exists, the same PDN connection carries the private IP address and port number used inside the Evolved Packet Core (EPC), which is different from the public IP address and port number used in the external packet network. . In the related art, the service information that the AF provides to the PCRF for formulating the PCC rule is based on the transformed IP address in the external packet network. And the port number. First, the PCRF cannot associate the AF session with the IP-connectivity Access Network (IP-CAN) according to the public IP address provided by the AF and the private IP address provided by the PCEF. Secondly, if PCRF According to the external IP address and port number, the filter template in the PCC rule is provided to the PCEF or BBERF for execution, and the PCEF or BBERF will not be able to match the correct data stream.
为了解决上述问题,相关技术中提出了一种解决方案,即NAT将地址转换的映射表发送给PCRF,PCRF根据该映射表以及AF提供的信息就能够找到对应的私网IP地址和端口号。但是这种方案要求NAT与PCRF有互通机制,对现有网络影响较大。In order to solve the above problem, a solution is proposed in the related art, that is, the NAT sends the address translation mapping table to the PCRF, and the PCRF can find the corresponding private network IP address and port number according to the mapping table and the information provided by the AF. However, this scheme requires an interworking mechanism between NAT and PCRF, which has a great impact on the existing network.
在相关技术还提出了两种对现有网络影响较小的实现方式,(1)在NAT和AAC或PCRF上配置相同的公网源IP地址、公网源端口号段和私网源IP地址的对应关系。AAC和PCRF可以根据公网源IP地址和公网源端口号唯一确定私网源IP地址。(2)PCEF在UE发送的分组数据报文的头部插入该UE的私网IP地址,AF在向PCRF提供业务信息的时候同时提供UE的私网IP地址,这样PCRF可以根据私网IP地址进行会话关联。然而上述两种实现方式只能进行会话绑定,由于PCRF无法获取业务的私网源端口号,导致UE针对一个业务同时发起的多个业务访问可能无法进行正确的资源预留和资源控制,UE向同一个业务同时发起了2个HTTP的业务请求,由于这两个业务的业务数据流的私网IP地址和服务器端IP地址、服务器端口号都一致。现有机制中PCRF无法下发正确的PCC规则为同时进行的2次业务访问进行资源预留和控制。The related technologies also propose two implementations that have less impact on the existing network. (1) Configure the same public network source IP address, public network source port number segment, and private network source IP address on the NAT and AAC or PCRF. Correspondence. The AAC and the PCRF can uniquely determine the private network source IP address based on the public network source IP address and the public network source port number. (2) The PCEF inserts the private network IP address of the UE in the header of the packet data packet sent by the UE, and the AF provides the private network IP address of the UE when providing the service information to the PCRF, so that the PCRF can be based on the private network IP address. Make a session association. However, the above two implementations can only perform session binding. Because the PCRF cannot obtain the private network source port number of the service, the UE may not be able to perform correct resource reservation and resource control for multiple service access initiated by one UE at the same time. Two HTTP service requests are initiated simultaneously to the same service. The private IP addresses, server IP addresses, and server port numbers of the service data flows of the two services are the same. In the existing mechanism, the PCRF cannot deliver the correct PCC rules for resource reservation and control for two simultaneous service accesses.
针对相关技术中,用户终端针对一个业务同时发起的多个业务访问可能无法进行正确的资源预留和资源控制的问题,目前尚未提出有效的解决方案。In the related art, the problem that the user terminal may initiate correct resource reservation and resource control for multiple service access initiated by one service at the same time has not yet proposed an effective solution.
发明内容Summary of the invention
本发明提供了一种策略规则制定方法、系统及装置,以至少解决相关技术中用户终端针对一个业务同时发起的多个业务访问可能无法进行正确的资源预留和资源控制的问题。The invention provides a method, a system and a device for formulating a policy rule to solve at least the problem that the user terminal may not perform correct resource reservation and resource control for multiple service access initiated by a user terminal simultaneously for one service.
根据本发明的一个实施例,提供了一种策略规则制定方法,若协议转换器PC或应用接入控制功能AAC根据应用功能AF提供的两个或两个以上公网业务描述信息中的公网流描述信息映射成的私网流描述信息相同,则所述PC或AAC向策略和计费规则功能PCRF提供私网业务描述信息,其中携带所述私网流描述信息和累计请求带宽信息,其中所述累计请求带宽信息根据所述两个或两个以上公网业务描述信息中的请求带宽信息生成;According to an embodiment of the present invention, a policy rule setting method is provided, if the protocol converter PC or the application access control function AAC is based on the public network in two or more public network service description information provided by the application function AF If the flow description information is the same as the private network flow description information, the PC or the AAC provides the private network service description information to the policy and charging rule function PCRF, where the private network flow description information and the accumulated request bandwidth information are carried. The cumulative request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information;
所述PCRF根据所述私网流描述信息和所述累计请求带宽信息制定PCC规则。The PCRF formulates a PCC rule according to the private network flow description information and the accumulated request bandwidth information.
在本发明的实施例中,所述PC或所述AAC上配置与网络地址转换设备NAT相同的私网IP地址到公网IP地址及公网源端口号段的映射表。In the embodiment of the present invention, the PC or the AAC is configured with a mapping table of the same private network IP address as the network address translation device NAT to the public network IP address and the public network source port number segment.
在本发明的实施例中,所述PC或所述AAC根据所述映射表和所述两个或两个以上公网流描述信息中的源端口号、源IP地址,确定私网IP地址,并将所述源IP地址替换成所述私网IP地址,所述源端口替换为通配后生成的所述流描述信息相同。 In the embodiment of the present invention, the PC or the AAC determines a private network IP address according to the mapping table and the source port number and the source IP address in the two or more public network flow description information. And replacing the source IP address with the private network IP address, and the source port is replaced by the flow description information generated after the wildcard is the same.
在本发明的实施例中,所述累计请求带宽信息根据所述两个或两个以上公网业务描述信息中的请求带宽信息生成,包括:In the embodiment of the present invention, the cumulative request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information, including:
所述累计请求带宽信息是所述两个或两个以上公网业务描述信息中的请求带宽信息之和或最大值。The accumulated request bandwidth information is a sum or a maximum value of the requested bandwidth information in the two or more public network service description information.
根据本发明的另一个实施例,还提供了一种策略规则制定方法,包括:According to another embodiment of the present invention, a method for formulating a policy rule is further provided, including:
PCRF根据AF提供的两个或两个以上公网业务描述信息中的公网流描述信息映射成的私网流描述信息相同,则所述PCRF根据所述私网流描述信息和所述累计请求带宽信息制定PCC规则,其中所述累计请求带宽信息根据所述两个或两个以上公网业务描述信息中的请求带宽信息生成。The PCRF according to the public network flow description information in the two or more public network service description information provided by the AF is the same as the private network flow description information, and the PCRF according to the private network flow description information and the cumulative request The bandwidth information defines a PCC rule, wherein the accumulated request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information.
在本发明的实施例中,所述PCRF上配置与网络地址转换设备NAT一致的私网IP地址到公网IP地址及公网源端口号段的映射表。In the embodiment of the present invention, a mapping table of a private network IP address consistent with a network address translation device NAT to a public network IP address and a public network source port number segment is configured on the PCRF.
在本发明的实施例中,所述PCRF根据所述映射表和所述两个或两个以上公网流描述信息中的源端口号、源IP地址,确定私网IP地址,并将所述源IP地址替换成所述私网IP地址,所述源端口替换为通配后生成的所述流描述信息相同。In the embodiment of the present invention, the PCRF determines a private network IP address according to the mapping table and the source port number and the source IP address in the two or more public network flow description information, and the The source IP address is replaced with the private network IP address, and the flow port description information generated after the source port is replaced by the wildcard is the same.
在本发明的实施例中,所述累计请求带宽信息根据所述两个或两个以上公网业务描述信息中的请求带宽信息生成,包括:In the embodiment of the present invention, the cumulative request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information, including:
所述累计请求带宽信息是所述两个或两个以上公网业务描述信息中的请求带宽信息之和或最大值。The accumulated request bandwidth information is a sum or a maximum value of the requested bandwidth information in the two or more public network service description information.
根据本发明的另一个实施例,还提供了一种策略规则制定系统,包括:According to another embodiment of the present invention, a policy rule making system is further provided, including:
PC或AAC,设置为当根据AF提供的两个或两个以上公网业务描述信息中的公网流描述信息映射成的私网流描述信息相同时,向PCRF提供私网业务描述信息,其中携带所述私网流描述信息和累计请求带宽信息,其中所述累计请求带宽信息根据所述两个或两个以上公网业务描述信息中的请求带宽信息生成;The PC or the AAC is configured to provide the private network service description information to the PCRF when the description information of the private network flow mapped by the public network flow description information in the two or more public network service description information provided by the AF is the same. Carrying the private network flow description information and the cumulative request bandwidth information, where the accumulated request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information;
所述PCRF,设置为根据所述私网流描述信息和所述累计请求带宽信息制定PCC规则。The PCRF is configured to formulate a PCC rule according to the private network flow description information and the accumulated request bandwidth information.
在本发明的实施例中,所述PC或AAC上配置和网络地址转换设备NAT一致的私网IP地址到公网IP地址及公网源端口号段的映射表。In the embodiment of the present invention, a mapping table between a private network IP address and a public network IP address and a public network source port number segment that are consistent with the network address translation device NAT is configured on the PC or the AAC.
在本发明的实施例中,所述PC或AAC根据所述映射表和所述两个或两个以上公网流描述信息中的源端口号、源IP地址,确定私网IP地址,并将所述源IP地址替换成所述私网IP地址,所述源端口替换为通配后生成的所述流描述信息相同。In the embodiment of the present invention, the PC or the AAC determines the private network IP address according to the mapping table and the source port number and the source IP address in the two or more public network flow description information, and The source IP address is replaced with the private network IP address, and the flow port description information generated after the source port is replaced by the wildcard is the same.
在本发明的实施例中,所述PC或AAC将所述两个或两个以上公网业务描述信息中的请求带宽信息之和或最大值设置为所述累计请求带宽信息。In an embodiment of the present invention, the PC or the AAC sets the sum or maximum value of the requested bandwidth information in the two or more public network service description information to the accumulated request bandwidth information.
根据本发明的另一个实施例,还提供了一种PC或AAC装置,包括: According to another embodiment of the present invention, there is also provided a PC or AAC device, comprising:
接收模块,设置为接收AF提供的两个或两个以上公网业务描述信息中的公网流描述信息;a receiving module, configured to receive public network flow description information in two or more public network service description information provided by the AF;
第一映射模块,设置为将两个或两个以上公网业务描述信息中的公网流描述信息映射成私网流描述信息;The first mapping module is configured to map the public network flow description information in the two or more public network service description information into the private network flow description information;
发送模块:当映射成的所述私网流描述信息相同时,向PCRF提供私网业务描述信息,其中携带所述私网流描述信息和累计请求带宽信息,其中所述累计请求带宽信息根据所述两个或两个以上公网业务描述信息中的请求带宽信息生成。a sending module: when the mapped private network flow description information is the same, providing the private network service description information to the PCRF, where the private network flow description information and the accumulated request bandwidth information are carried, where the accumulated request bandwidth information is The request bandwidth information in the two or more public network service description information is generated.
在本发明的实施例中,该装置还包括第一配置模块,设置为配置与网络地址转换设备NAT一致的私网IP地址到公网IP地址及公网源端口号段的映射表。In an embodiment of the present invention, the apparatus further includes a first configuration module configured to configure a mapping table of the private network IP address consistent with the network address translation device NAT to the public network IP address and the public network source port number segment.
在本发明的实施例中,所述装置还包括:In an embodiment of the invention, the device further includes:
所述第一映射模块根据第一配置模块配置的所述映射表和接收模块接收的所述两个或两个以上公网流描述信息中的源端口号、源IP地址,确定私网IP地址,并将所述源IP地址替换成所述私网IP地址,所述源端口替换为通配后生成的所述流描述信息相同。The first mapping module determines the private network IP address according to the mapping table configured by the first configuration module and the source port number and the source IP address in the two or more public network flow description information received by the receiving module. And replacing the source IP address with the private network IP address, and the source port is replaced by the flow description information generated after the wildcard is the same.
在本发明的实施例中,所述发送模块将所述累计请求带宽信息设置为所述两个或两个以上公网业务描述信息中的请求带宽信息之和或最大值。In an embodiment of the present invention, the sending module sets the accumulated request bandwidth information to a sum or a maximum value of the requested bandwidth information in the two or more public network service description information.
根据本发明的另一个实施例,还提供了一种PCRF装置,包括:According to another embodiment of the present invention, there is also provided a PCRF device, comprising:
第二映射模块,设置为将AF提供的两个或两个以上公网业务描述信息中的公网流描述信息映射成私网流描述信息;The second mapping module is configured to map the public network flow description information in the two or more public network service description information provided by the AF into the private network flow description information;
制定模块,设置为当映射成的所述私网流描述信息相同时,根据所述私网流描述信息和所述累计请求带宽信息制定PCC规则,其中所述累计请求带宽信息根据所述两个或两个以上公网业务描述信息中的请求带宽信息生成。a setting module, configured to: when the mapping of the private network flow description information is the same, formulating a PCC rule according to the private network flow description information and the accumulated request bandwidth information, where the cumulative request bandwidth information is according to the two Or request bandwidth information generated in two or more public network service description information.
在本发明的实施例中,还包括第二配置模块,设置为配置与网络地址转换设备NAT一致的私网IP地址到公网IP地址及公网源端口号段的映射表。In an embodiment of the present invention, the second configuration module is further configured to be configured to configure a mapping table of the private network IP address consistent with the network address translation device NAT to the public network IP address and the public network source port number segment.
在本发明的实施例中,所述累计请求带宽信息根据所述两个或两个以上公网业务描述信息中的请求带宽信息生成,包括:In the embodiment of the present invention, the cumulative request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information, including:
所述累计请求带宽信息是所述两个或两个以上公网业务描述信息中的请求带宽信息之和或最大值。The accumulated request bandwidth information is a sum or a maximum value of the requested bandwidth information in the two or more public network service description information.
通过本发明,采用若协议转换器PC或应用接入控制功能AAC根据AF提供的两个或两个以上公网业务描述信息中的公网流描述信息映射成的私网流描述信息相同,则该PC或AAC向PCRF提供私网业务描述信息,其中携带该私网流描述信息和累计请求带宽信息,其中该累计请求带宽信息根据该两个或两个以上公网业务描述信息中的请求带宽信息生成,该PCRF根据该私网流描述信息和该累计请求带宽信息制定PCC规则,解决了用户终端针对一个业务同时发起的多个业务访问可能无法进行正确的资源预留和资源控制的问题,实现了用户终端 对一个业务同时发起的多个业务访问的资源预留和控制。According to the present invention, if the private network flow description information mapped by the public network flow description information in the two or more public network service description information provided by the AF is the same, if the protocol converter PC or the application access control function AAC is the same, The PC or the AAC provides the private network service description information to the PCRF, where the private network flow description information and the accumulated request bandwidth information are carried, wherein the accumulated request bandwidth information is based on the requested bandwidth in the two or more public network service description information. Information generation, the PCRF formulates a PCC rule according to the private network flow description information and the accumulated request bandwidth information, and solves the problem that the user terminal may not perform correct resource reservation and resource control for multiple service access initiated by one user at the same time. User terminal Resource reservation and control for multiple service access initiated by one service at the same time.
附图说明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 according to the related art;
图2是根据相关技术的AAC的PCC架构示意图;2 is a schematic diagram of a PCC architecture of an AAC according to the related art;
图3是根据相关技术的NAT的PCC架构示意图;3 is a schematic diagram of a PCC architecture of a NAT according to the related art;
图4是根据本发明实施例的一种策略规则制定方法的流程图;4 is a flowchart of a method for formulating a policy rule according to an embodiment of the present invention;
图5是根据本发明实施例的一种PC或AAC装置的结构框图;FIG. 5 is a structural block diagram of a PC or AAC device according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的一种PCRF装置的结构框图;6 is a structural block diagram of a PCRF device according to an embodiment of the present invention;
图7是根据本发明优选实施例的实现PCRF制定PCC规则的流程图一;7 is a flowchart 1 of implementing a PCRF to formulate a PCC rule according to a preferred embodiment of the present invention;
图8是根据本发明优选实施例的实现PCRF制定PCC规则的流程图二。8 is a flow chart 2 of implementing a PCRF to formulate PCC rules in accordance with a preferred 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.
在本实施例中提供了一种策略规则制定方法,图4是根据本发明实施例的一种策略规则制定方法的流程图,如图4所示,该流程包括如下步骤:A method for formulating a policy rule is provided in this embodiment. FIG. 4 is a flowchart of a method for formulating a policy rule according to an embodiment of the present invention. As shown in FIG. 4, the process includes the following steps:
步骤S402,若协议转换器PC或应用接入控制功能AAC根据应用功能AF提供的两个或两个以上公网业务描述信息中的公网流描述信息映射成的私网流描述信息相同,则该PC或AAC向策略和计费规则功能PCRF提供私网业务描述信息,其中携带该私网流描述信息和累计请求带宽信息,其中该累计请求带宽信息根据该两个或两个以上公网业务描述信息中的请求带宽信息生成;Step S402, if the protocol converter PC or the application access control function AAC maps the private network flow description information into the same according to the public network flow description information in the two or more public network service description information provided by the application function AF, The PC or the AAC provides the private network service description information to the policy and charging rule function PCRF, where the private network flow description information and the accumulated request bandwidth information are carried, wherein the accumulated request bandwidth information is based on the two or more public network services. Request bandwidth information generation in the description information;
步骤S404,该PCRF根据该私网流描述信息和该累计请求带宽信息制定PCC规则。Step S404, the PCRF formulates a PCC rule according to the private network flow description information and the accumulated request bandwidth information.
通过上述步骤,若协议转换器PC或应用接入控制功能AAC根据AF提供的两个或两个以上公网业务描述信息中的公网流描述信息映射成的私网流描述信息相同,则该PC或AAC向PCRF提供私网业务描述信息,其中携带该私网流描述信息和累计请求带宽信息,其中该累计请求带宽信息根据该两个或两个以上公网业务描述信息中的请求带宽信息生成,该PCRF 根据该私网流描述信息和该累计请求带宽信息制定PCC规则,解决了用户终端针对一个业务同时发起的多个业务访问可能无法进行正确的资源预留和资源控制的问题,实现了用户终端对一个业务同时发起的多个业务访问的资源预留和控制。Through the above steps, if the protocol converter PC or the application access control function AAC maps the private network flow description information into the same according to the public network flow description information in the two or more public network service description information provided by the AF, The PC or the AAC provides the private network service description information to the PCRF, where the private network flow description information and the accumulated request bandwidth information are carried, wherein the accumulated request bandwidth information is based on the requested bandwidth information in the two or more public network service description information. Generated, the PCRF The PCC rule is formulated according to the private network flow description information and the accumulated request bandwidth information, which solves the problem that the user terminal may not perform correct resource reservation and resource control for multiple service access initiated by one user at the same time, and implements the user terminal pair. Resource reservation and control of multiple service access initiated by one service at the same time.
在本实施例中,该PC或该AAC上配置与网络地址转换设备NAT相同的私网IP地址到公网IP地址及公网源端口号段的映射表。In this embodiment, the PC or the AAC is configured with a mapping table of the same private network IP address as the network address translation device NAT to the public network IP address and the public network source port number segment.
在本实施例中,该PC或该AAC根据该映射表和该两个或两个以上公网流描述信息中的源端口号、源IP地址,确定私网IP地址,并将该源IP地址替换成该私网IP地址,该源端口替换为通配后生成的该流描述信息相同。In this embodiment, the PC or the AAC determines a private network IP address according to the mapping table and the source port number and the source IP address in the two or more public network flow description information, and the source IP address is obtained. Replace the IP address with the private network. The source port is replaced with the same flow description information generated after the wildcard.
在本实施例中,该累计请求带宽信息根据该两个或两个以上公网业务描述信息中的请求带宽信息生成,包括:In this embodiment, the accumulated request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information, including:
该累计请求带宽信息是该两个或两个以上公网业务描述信息中的请求带宽信息之和或最大值。The accumulated request bandwidth information is a sum or a maximum value of the requested bandwidth information in the two or more public network service description information.
在本发明的实施例中,还提供了一种策略规则制定方法,包括:In an embodiment of the present invention, a method for formulating a policy rule is further provided, including:
PCRF根据AF提供的两个或两个以上公网业务描述信息中的公网流描述信息映射成的私网流描述信息相同,则该PCRF根据该私网流描述信息和该累计请求带宽信息制定PCC规则,其中该累计请求带宽信息根据该两个或两个以上公网业务描述信息中的请求带宽信息生成。The PCRF is configured according to the public network flow description information mapped by the public network flow description information in the two or more public network service description information provided by the AF, and the PCRF is determined according to the private network flow description information and the accumulated request bandwidth information. The PCC rule, wherein the accumulated request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information.
在本实施例中,该PCRF上配置与网络地址转换设备NAT一致的私网IP地址到公网IP地址及公网源端口号段的映射表。In this embodiment, a mapping table between the private network IP address and the public network source port number and the public network source port number segment that is consistent with the network address translation device NAT is configured on the PCRF.
在本实施例中,该PCRF根据该映射表和该两个或两个以上公网流描述信息中的源端口号、源IP地址,确定私网IP地址,并将该源IP地址替换成该私网IP地址,该源端口替换为通配后生成的该流描述信息相同。In this embodiment, the PCRF determines a private network IP address according to the mapping table and the source port number and the source IP address in the two or more public network flow description information, and replaces the source IP address with the source IP address. The private network IP address is the same as the flow description information generated after the source port is replaced with the wildcard.
在本实施例中,该累计请求带宽信息根据该两个或两个以上公网业务描述信息中的请求带宽信息生成,包括:In this embodiment, the accumulated request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information, including:
该累计请求带宽信息是该两个或两个以上公网业务描述信息中的请求带宽信息之和或最大值。The accumulated request bandwidth information is a sum or a maximum value of the requested bandwidth information in the two or more public network service description information.
在本发明的实施例中,还提供了一种策略规则制定系统,其中,包括:In an embodiment of the present invention, a policy rule making system is further provided, which includes:
PC或AAC,设置为当根据AF提供的两个或两个以上公网业务描述信息中的公网流描述信息映射成的私网流描述信息相同时,向PCRF提供私网业务描述信息,其中携带该私网流描述信息和累计请求带宽信息,其中该累计请求带宽信息根据该两个或两个以上公网业务描述信息中的请求带宽信息生成;The PC or the AAC is configured to provide the private network service description information to the PCRF when the description information of the private network flow mapped by the public network flow description information in the two or more public network service description information provided by the AF is the same. Carrying the private network flow description information and the accumulated request bandwidth information, where the accumulated request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information;
该PCRF,设置为根据该私网流描述信息和该累计请求带宽信息制定PCC规则。The PCRF is configured to formulate a PCC rule according to the private network flow description information and the accumulated request bandwidth information.
在本实施例中,该PC或AAC上配置和网络地址转换设备NAT一致的私网IP地址到公 网IP地址及公网源端口号段的映射表。In this embodiment, the private network IP address that is consistent with the NAT of the network address translation device is configured on the PC or the AAC. A mapping table between the network IP address and the public network source port number segment.
在本实施例中,该PC或AAC根据该映射表和该两个或两个以上公网流描述信息中的源端口号、源IP地址,确定私网IP地址,并将该源IP地址替换成该私网IP地址,该源端口替换为通配后生成的该流描述信息相同。In this embodiment, the PC or the AAC determines the private network IP address according to the mapping table and the source port number and the source IP address in the two or more public network flow description information, and replaces the source IP address. The IP address of the private network is the same as the flow description information generated after the source port is replaced with the wildcard.
在本实施例中,该PC或AAC将该两个或两个以上公网业务描述信息中的请求带宽信息之和或最大值设置为该累计请求带宽信息。In this embodiment, the PC or the AAC sets the sum or maximum value of the requested bandwidth information in the two or more public network service description information to the accumulated request bandwidth information.
在本实施例中还提供了一种PC或AAC装置以及PCRF装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a PC or an AAC device and a PCRF device are provided, which are used to implement the above-mentioned embodiments and preferred embodiments, and are not 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是根据本发明实施例的一种PC或AAC装置的结构框图,如图5所示,该装置包括:FIG. 5 is a structural block diagram of a PC or an AAC device according to an embodiment of the present invention. As shown in FIG. 5, the device includes:
接收模块52,设置为接收AF提供的两个或两个以上公网业务描述信息中的公网流描述信息;The receiving module 52 is configured to receive public network flow description information in two or more public network service description information provided by the AF;
第一映射模块54,设置为将两个或两个以上公网业务描述信息中的公网流描述信息映射成私网流描述信息;The first mapping module 54 is configured to map the public network flow description information in the two or more public network service description information into the private network flow description information;
发送模块56:当映射成的该私网流描述信息相同时,向PCRF提供私网业务描述信息,其中携带该私网流描述信息和累计请求带宽信息,其中该累计请求带宽信息根据该两个或两个以上公网业务描述信息中的请求带宽信息生成。The sending module 56: when the mapped private network flow description information is the same, the private network service description information is provided to the PCRF, where the private network flow description information and the accumulated request bandwidth information are carried, where the accumulated request bandwidth information is according to the two Or request bandwidth information generated in two or more public network service description information.
在本实施例中,该装置还包括第一配置模块,设置为配置与网络地址转换设备NAT一致的私网IP地址到公网IP地址及公网源端口号段的映射表。In this embodiment, the apparatus further includes a first configuration module configured to configure a mapping table of the private network IP address consistent with the network address translation device NAT to the public network IP address and the public network source port number segment.
在本实施例中,该装置还包括:In this embodiment, the device further includes:
该第一映射模块54根据第一配置模块配置的该映射表和接收模块接收的该两个或两个以上公网流描述信息中的源端口号、源IP地址,确定私网IP地址,并将该源IP地址替换成该私网IP地址,该源端口替换为通配后生成的该流描述信息相同。The first mapping module 54 determines the private network IP address according to the mapping table configured by the first configuration module and the source port number and the source IP address in the two or more public network flow description information received by the receiving module, and The source IP address is replaced with the private network IP address, and the source port is replaced with the same flow description information generated after the wildcard.
在本实施例中,该发送模块56将该累计请求带宽信息设置为该两个或两个以上公网业务描述信息中的请求带宽信息之和或最大值。In this embodiment, the sending module 56 sets the accumulated request bandwidth information as the sum or maximum value of the requested bandwidth information in the two or more public network service description information.
图6是根据本发明实施例的一种PCRF装置的结构框图,如图6所示,该装置包括:FIG. 6 is a structural block diagram of a PCRF device according to an embodiment of the present invention. As shown in FIG. 6, the device includes:
第二映射模块62,设置为将AF提供的两个或两个以上公网业务描述信息中的公网流描述信息映射成私网流描述信息;The second mapping module 62 is configured to map the public network flow description information in the two or more public network service description information provided by the AF into the private network flow description information.
制定模块64,设置为当映射成的该私网流描述信息相同时,根据该私网流描述信息和该累计请求带宽信息制定PCC规则,其中该累计请求带宽信息根据该两个或两个以上公网业务描述信息中的请求带宽信息生成。 The setting module 64 is configured to: when the mapped private network flow description information is the same, formulate a PCC rule according to the private network flow description information and the accumulated request bandwidth information, wherein the accumulated request bandwidth information is based on the two or more Request bandwidth information generation in the public network service description information.
在本实施例中,还包括第二配置模块,设置为配置与网络地址转换设备NAT一致的私网IP地址到公网IP地址及公网源端口号段的映射表。In this embodiment, the second configuration module is further configured to be configured to configure a mapping table between the private network IP address and the public network source port number and the public network source port number segment that are consistent with the NAT of the network address translation device.
在本实施例中,该累计请求带宽信息根据该两个或两个以上公网业务描述信息中的请求带宽信息生成,包括:In this embodiment, the accumulated request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information, including:
该累计请求带宽信息是该两个或两个以上公网业务描述信息中的请求带宽信息之和或最大值。The accumulated request bandwidth information is a sum or a maximum value of the requested bandwidth information in the two or more public network service description information.
下面结合优选实施例对本发明进行详细说明。The invention will now be described in detail in connection with the preferred embodiments.
实施例一Embodiment 1
在本实施例中,通过在AAC上配置公网IP地址、公网源端口号和私网IP地址的对应关系的方式向PCRF提供私网源IP地址,并由AAC累计AF请求的带宽,实现对业务数据流的资源预留。NAT和AAC上都固定配置了一个私网IP地址到公网IP地址及公网源端口号段的映射表。(在本发明实施例中,源IP地址、源端口号以及目的IP地址、目的端口号都是针对上行方向而言)。In this embodiment, the private network source IP address is provided to the PCRF by configuring the corresponding relationship between the public network IP address, the public network source port number, and the private network IP address on the AAC, and the AAC accumulates the bandwidth requested by the AF. Resource reservation for business data streams. A mapping table between a private network IP address and a public network IP address and a public network source port number segment is configured on both the NAT and the AAC. (In the embodiment of the present invention, the source IP address, the source port number, the destination IP address, and the destination port number are all for the uplink direction).
图7是根据本发明优选实施例的实现PCRF制定PCC规则的流程图一,如图7所示,FIG. 7 is a flowchart 1 of implementing a PCRF to formulate a PCC rule according to a preferred embodiment of the present invention, as shown in FIG.
步骤701:UE附着到网络,建立IP-CAN会话。在这个过程中,PCEF与PCRF之间建立用于策略和计费控制的Gx会话。若IP-CAN会话涉及BBERF,则BBERF与PCRF之间建立用于策略控制的网关控制会话。Step 701: The UE attaches to the network to establish an IP-CAN session. In this process, a Gx session for policy and charging control is established between the PCEF and the PCRF. If the IP-CAN session involves BBERF, a gateway control session for policy control is established between the BBERF and the PCRF.
步骤702:UE发起业务访问。业务的数据包经过NAT后,数据包的五元组中的源IP地址(即UE的私网IP地址)和源端口号(表示为私网源端口号1)被NAT转换为公网IP地址和公网源端口号(表示为公网源端口号1)。其中NAT根据配置的私网IP地址到公网IP地址及公网源端口号段的映射表将私网IP地址映射为对应的公网IP地址,并且选取对应的公网源端口号段中的一个端口号替换私网源端口号。应用服务器获取数据包五元组。Step 702: The UE initiates a service access. After the service packet passes the NAT, the source IP address (that is, the private IP address of the UE) and the source port number (represented as the private network source port number 1) in the quintuple of the data packet are translated into the public IP address by NAT. And the public network source port number (represented as the public network source port number 1). The NAT maps the private network IP address to the corresponding public network IP address according to the mapping table of the private IP address to the public network IP address and the public network source port number segment, and selects the corresponding public network source port number segment. Replace the private network source port number with a port number. The application server obtains the packet quintuple.
步骤703:AF向AAC发送HTTP POST消息,消息中携带业务描述信息,公网IP地址。其中业务描述信息中的包含业务描述信息标识1,流描述信息、媒体类型、请求的带宽信息。其中流描述信息即为步骤802中应用服务器获取的数据包的五元组。Step 703: The AF sends an HTTP POST message to the AAC, where the message carries the service description information and the public network IP address. The service description information includes the service description information identifier 1, the flow description information, the media type, and the requested bandwidth information. The flow description information is the quintuple of the data packet acquired by the application server in step 802.
步骤704:AAC根据配置的私网IP地址到公网IP地址及公网源端口号段的映射表,以及AF提供的流描述中的公网源端口号、公网IP地址,确定私网IP地址。AAC调整业务描述中的流描述信息,将源地址修改为私网IP地址,源端口号修改为通配。Step 704: The AAC determines the private network IP according to the mapping table of the configured private network IP address to the public network IP address and the public network source port number segment, and the public network source port number and the public network IP address in the flow description provided by the AF. address. The AAC adjusts the flow description information in the service description, and the source address is changed to the private network IP address, and the source port number is modified to the wildcard.
步骤705:AAC向PCRF发送AAR消息,消息中携带业务描述信息和私网IP地址、公网IP地址;Step 705: The AAC sends an AAR message to the PCRF, where the message carries the service description information, the private network IP address, and the public network IP address.
步骤706:PCRF保存信息后,返回确认消息;Step 706: After the PCRF saves the information, a confirmation message is returned.
步骤707:AAC向AF返回确认消息; Step 707: The AAC returns an acknowledgement message to the AF.
步骤708:PCRF根据业务信息、网络策略以及用户签约等信息制定PCC规则1,其中PCC规则1中的携带的流描述信息(即业务数据流模板)为AAC提供的流描述信息。PCC规则1中携带的QoS信息包括QoS分类标识(QoS Class Identifier,简称为QCI)、分配和保持优先级(Allocation And Retention Priority,简称为ARP)。若PCRF制定的QCI为GBR-QCI,则QoS信息中包括保证比特速率(Guaranteed Bit Rate,简称为GBR)和最大比特速率(Maximum Bit Rate,简称为MBR);若PCRF制定的QCI为非保证比特速率(Non-GBR)QCI,则QoS信息中可包括MBR,取值根据请求带宽信息设置。若BBERF存在,则PCRF还根据PCC规则1制定QoS规则1;Step 708: The PCRF formulates the PCC rule 1 according to the service information, the network policy, and the user subscription information. The flow description information carried in the PCC rule 1 (that is, the service data flow template) is the flow description information provided by the AAC. The QoS information carried in the PCC rule 1 includes a QoS Class Identifier (QCI), and an Allocation And Retention Priority (ARP). If the QCI defined by the PCRF is GBR-QCI, the QoS information includes a Guaranteed Bit Rate (GBR) and a Maximum Bit Rate (MBR); if the QCI is a non-guaranteed bit Rate (Non-GBR) QCI, the MBR may be included in the QoS information, and the value is set according to the requested bandwidth information. If the BBERF exists, the PCRF also formulates the QoS rule 1 according to the PCC rule 1.
步骤709:PCRF向BBERF提供QoS规则1;Step 709: The PCRF provides QoS rule 1 to the BBERF;
步骤710:PCRF向PCEF提供PCC规则1;Step 710: The PCRF provides PCC rule 1 to the PCEF;
步骤711:UE再次发起业务访问。业务的数据包经过NAT后,数据包头的五元组中的源IP地址(即UE的私网IP地址)和源端口号(表示为私网源端口号2)被NAT转换为公网IP地址和公网源端口号(表示为源端口号2)。其中NAT根据配置的私网IP地址到公网IP地址及公网源端口号段的映射表将私网IP地址映射为对应的公网IP地址,并且选取对应的公网源端口号段中的一个端口号替换私网源端口号。应用服务器获取数据包五元组。Step 711: The UE initiates a service access again. After the service packet passes the NAT, the source IP address (that is, the private IP address of the UE) and the source port number (represented as the private network source port number 2) in the quintuple of the packet header are translated into the public IP address by NAT. And public network source port number (expressed as source port number 2). The NAT maps the private network IP address to the corresponding public network IP address according to the mapping table of the private IP address to the public network IP address and the public network source port number segment, and selects the corresponding public network source port number segment. Replace the private network source port number with a port number. The application server obtains the packet quintuple.
步骤712:AF向AAC发送HTTP PUT消息,消息中携带业务描述信息,公网IP地址。其中业务描述信息中的包含业务描述信息标识2,流描述信息、媒体类型、请求的带宽信息。其中流描述信息即为步骤811中应用服务器中获取的数据包的五元组。Step 712: The AF sends an HTTP PUT message to the AAC, where the message carries the service description information and the public network IP address. The service description information includes the service description information identifier 2, the flow description information, the media type, and the requested bandwidth information. The flow description information is the quintuple of the data packet acquired in the application server in step 811.
步骤713:AAC根据配置的私网IP地址到公网IP地址及公网源端口号段的映射表,以及AF提供的流描述中的公网源端口号、公网IP地址,确定私网IP地址。AAC调整业务描述中的流描述信息,将源地址修改为私网IP地址,源端口号修改为通配。由于此时AAC调整后的流描述信息与步骤804一致,因此AAC决定更新之前的业务描述信息,即新的业务描述信息包括调整后的流描述信息,媒体类型和请求带宽信息(其中请求带宽信息为两次AF请求的带宽信息的和或是两次AF请求的带宽信息中的较大值)。Step 713: The AAC determines the private network IP according to the mapping table of the configured private network IP address to the public network IP address and the public network source port number segment, and the public network source port number and public network IP address in the flow description provided by the AF. address. The AAC adjusts the flow description information in the service description, and the source address is changed to the private network IP address, and the source port number is modified to the wildcard. Since the AAC-adjusted flow description information is consistent with the step 804, the AAC determines the service description information before the update, that is, the new service description information includes the adjusted flow description information, the media type, and the requested bandwidth information (where the bandwidth information is requested). The sum of the bandwidth information requested for two AFs or the larger of the bandwidth information for two AF requests).
步骤714:AAC向PCRF发送AAR消息,更新之前的业务描述信息,消息中携带业务流描述信息、公网IP地址、私网IP地址和新的请求带宽信息;Step 714: The AAC sends an AAR message to the PCRF, and updates the previous service description information, where the message carries the service flow description information, the public network IP address, the private network IP address, and the new request bandwidth information.
步骤715:PCRF保存信息后,返回确认消息;Step 715: After the PCRF saves the information, a confirmation message is returned.
步骤716:AAC向AF返回确认消息;Step 716: The AAC returns an acknowledgement message to the AF.
步骤717:PCRF根据更新的业务描述信息更新PCC规则1。PCC规则1中携带的QoS信息包括QCI、ARP。若PCRF制定的QCI为GBR-QCI,则QoS信息中包括GBR和MBR,且GBR和MBR的分别根据新的请求带宽信息设置;若PCRF制定的QCI为Non-GBR QCI,则QoS信息中可包括MBR,且MBR根据新的请求带宽信息设置。若BBERF存在,则PCRF还根据PCC规则1制定QoS规则1. Step 717: The PCRF updates the PCC Rule 1 according to the updated service description information. The QoS information carried in the PCC rule 1 includes QCI and ARP. If the QCI defined by the PCRF is GBR-QCI, the QoS information includes the GBR and the MBR, and the GBR and the MBR are respectively set according to the new request bandwidth information; if the QCI defined by the PCRF is the Non-GBR QCI, the QoS information may be included. MBR, and the MBR is set according to the new request bandwidth information. If BBERF exists, the PCRF also formulates QoS rules according to PCC Rule 1.
步骤718:PCRF向BBERF提供更新的QoS规则1;Step 718: The PCRF provides an updated QoS rule 1 to the BBERF;
步骤719:PCRF向PCEF提供更新PCC规则1;Step 719: The PCRF provides an update PCC rule 1 to the PCEF;
由于上述流程中,PCRF通过制定一个PCC规则为2个业务访问预留的累加的资源,从而保证了2个业务访问的正常进行。Because of the above process, the PCRF ensures that two service accesses are normally performed by formulating a cumulative resource reserved for two service accesses by a PCC rule.
上述实施例仅描述了UE同时发起2次业务访问的情况,对于2次以上的情况,流程是类似的,这里不再赘述。The foregoing embodiment only describes the case where the UE initiates two service accesses at the same time. For the case of more than two times, the process is similar, and details are not described herein again.
实施例二Embodiment 2
在本优选实施例中,在通过在PCRF上配置公网IP地址、公网源端口号和私网IP地址的对应关系的方式获取对应的私网源IP地址,并由PCRF累计AF请求的带宽,实现对业务数据流的资源预留。在下述实施例中,NAT和PCC上都固定配置了一个私网IP地址到公网IP地址及公网源端口号段的映射表。In the preferred embodiment, the corresponding private network source IP address is obtained by configuring the correspondence between the public network IP address, the public network source port number, and the private network IP address on the PCRF, and the bandwidth requested by the AFF is accumulated by the PCRF. To achieve resource reservation for business data streams. In the following embodiments, a mapping table between a private network IP address and a public network IP address and a public network source port number segment is fixedly configured on the NAT and the PCC.
图8是根据本发明优选实施例的实现PCRF制定PCC规则的流程图二,如图8所示,FIG. 8 is a second flowchart of implementing a PCRF to formulate a PCC rule according to a preferred embodiment of the present invention, as shown in FIG.
步骤801:UE附着到网络,建立IP-CAN会话。在这个过程中,PCEF与PCRF之间建立用于策略和计费控制的Gx会话。若IP-CAN会话涉及BBERF,则BBERF与PCRF之间建立用于策略控制的网关控制会话。Step 801: The UE attaches to the network to establish an IP-CAN session. In this process, a Gx session for policy and charging control is established between the PCEF and the PCRF. If the IP-CAN session involves BBERF, a gateway control session for policy control is established between the BBERF and the PCRF.
步骤802:UE发起业务访问。业务的数据包经过NAT后,数据包头的五元组中的源IP地址(即UE的私网IP地址)和源端口号(表示为私网源端口号1)被NAT转换为公网IP地址和公网源端口号(表示为公网源端口号1)。其中NAT根据配置的私网IP地址到公网IP地址及公网源端口号段的映射表将私网IP地址映射为对应的公网IP地址,并且选取对应的公网源端口号段中的一个端口号替换私网源端口号。应用服务器获取数据包头五元组。Step 802: The UE initiates a service access. After the service packet passes the NAT, the source IP address (that is, the private IP address of the UE) and the source port number (represented as the private network source port number 1) in the quintuple of the packet header are translated into the public IP address by NAT. And the public network source port number (represented as the public network source port number 1). The NAT maps the private network IP address to the corresponding public network IP address according to the mapping table of the private IP address to the public network IP address and the public network source port number segment, and selects the corresponding public network source port number segment. Replace the private network source port number with a port number. The application server obtains the packet header quintuple.
步骤803:AF向PCRF发送AAR消息,消息中携带业务描述信息,公网IP地址。其中业务描述信息中的包含流描述信息、媒体类型、请求的带宽信息。其中流描述信息即为步骤902获取的数据包的五元组。PCRF根据配置的私网IP地址到公网IP地址及公网源端口号段的映射表,以及AF提供的流描述中的公网源端口号、公网IP地址,确定私网IP地址。PCRF调整业务描述中的流描述信息,将源地址修改为私网IP地址,源端口号修改为通配。Step 803: The AF sends an AAR message to the PCRF, where the message carries the service description information and the public network IP address. The service description information includes flow description information, media type, and requested bandwidth information. The stream description information is the quintuple of the data packet obtained in step 902. The PCRF determines the private network IP address based on the mapping between the configured private IP address to the public network IP address and the public network source port number segment, and the public network source port number and public network IP address in the flow description provided by the AF. The PCRF adjusts the flow description information in the service description to change the source address to the private network IP address, and the source port number is modified to wildcard.
步骤804:PCRF保存信息后,返回确认消息;Step 804: After the PCRF saves the information, a confirmation message is returned.
步骤805:PCRF根据业务信息、网络策略以及用户签约等信息制定PCC规则1,其中PCC规则1中的携带的流描述信息(即业务数据流模板)为AF提供的流描述信息。PCC规则1中携带的QoS信息包括QCI、ARP。若PCRF制定的QCI为GBR-QCI,则QoS信息中包括GBR和MBR,取值根据AF提供的请求带宽信息设置;若PCRF制定的QCI为Non-GBR QCI,则QoS信息中可包括MBR,取值根据AF提供的请求带宽信息设置。若BBERF存在,则PCRF还根据PCC规则1制定QoS规则1.Step 805: The PCRF formulates the PCC rule 1 according to the service information, the network policy, and the user subscription information, where the carried flow description information (that is, the service data flow template) in the PCC rule 1 is the flow description information provided by the AF. The QoS information carried in the PCC rule 1 includes QCI and ARP. If the QCI defined by the PCRF is GBR-QCI, the QoS information includes the GBR and the MBR, and the value is set according to the requested bandwidth information provided by the AF; if the QCI defined by the PCRF is the Non-GBR QCI, the QoS information may include the MBR. The value is set according to the requested bandwidth information provided by the AF. If BBERF exists, the PCRF also formulates QoS rules according to PCC Rule 1.
步骤806:可选地,PCRF向BBERF提供QoS规则1; Step 806: Optionally, the PCRF provides QoS rule 1 to the BBERF;
步骤807:PCRF向PCEF提供PCC规则1;Step 807: The PCRF provides PCC rule 1 to the PCEF;
步骤808:UE再次发起业务访问。业务的数据包经过NAT后,数据包的五元组中的源IP地址(即UE的私网IP地址)和源端口号(表示为私网源端口号2)被NAT转换为公网IP地址和公网源端口号(表示为公网源端口号2)。其中NAT根据配置的私网IP地址到公网IP地址及公网源端口号段的映射表将私网IP地址映射为对应的公网IP地址,并且选取对应的公网源端口号段中的一个端口号替换私网源端口号。应用服务器获取数据包五元组。Step 808: The UE initiates a service access again. After the service packet passes the NAT, the source IP address (that is, the private IP address of the UE) and the source port number (represented as the private network source port number 2) in the quintuple of the data packet are translated into the public IP address by NAT. And the public network source port number (represented as the public network source port number 2). The NAT maps the private network IP address to the corresponding public network IP address according to the mapping table of the private IP address to the public network IP address and the public network source port number segment, and selects the corresponding public network source port number segment. Replace the private network source port number with a port number. The application server obtains the packet quintuple.
步骤809:AF向PCRF发送AAR消息,消息中携带业务描述信息,公网IP地址。其中业务描述信息中的包含流描述信息、媒体类型、请求的带宽信息。其中流描述信息即为步骤908中应用服务器获取的数据包的五元组。Step 809: The AF sends an AAR message to the PCRF, where the message carries the service description information and the public network IP address. The service description information includes flow description information, media type, and requested bandwidth information. The flow description information is the quintuple of the data packet acquired by the application server in step 908.
步骤810:PCRF根据配置的私网IP地址到公网IP地址及公网源端口号段的映射表,以及AF提供的流描述中的公网源端口号、公网IP地址,确定私网IP地址。PCRF调整业务描述中的流描述信息,将源地址修改为私网IP地址,源端口号修改为通配。Step 810: The PCRF determines the private network IP according to the mapping table of the configured private network IP address to the public network IP address and the public network source port number segment, and the public network source port number and the public network IP address in the flow description provided by the AF. address. The PCRF adjusts the flow description information in the service description to change the source address to the private network IP address, and the source port number is modified to wildcard.
步骤811:PCRF保存信息后,返回确认消息;Step 811: After the PCRF saves the information, a confirmation message is returned.
步骤812:由于此时PCRF调整后的流描述信息和步骤903中的流描述信息是一样的,因此PCRF根据业务信息、网络策略以及用户签约等信息更新步骤808中的PCC规则1,其中更新的PCC规则1中的携带的流描述信与更新前一致。PCC规则1中携带的QoS信息包括QCI、ARP。若PCRF制定的QCI为GBR-QCI,则QoS信息中包括GBR和MBR,且GBR和MBR的分别根据AF两次请求的带宽设置,即为两次AF请求的带宽信息的之和或者是两次AF请求的带宽信息中的较大值;若PCRF制定的QCI为Non-GBR QCI,则QoS信息中可包括MBR,且MBR的取值根据AF两次请求的带宽设置,即为两次AF请求的带宽信息的之和或者是两次AF请求的带宽信息中的较大值。若BBERF存在,则PCRF还根据PCC规则1制定QoS规则1.Step 812: Since the PCRF adjusted flow description information is the same as the flow description information in step 903, the PCRF updates the PCC rule 1 in step 808 according to the service information, the network policy, and the user subscription information, wherein the updated The flow description letter carried in PCC rule 1 is consistent with that before the update. The QoS information carried in the PCC rule 1 includes QCI and ARP. If the QCI defined by the PCRF is GBR-QCI, the QoS information includes the GBR and the MBR, and the GBR and the MBR are respectively set according to the bandwidth of the AF request twice, that is, the sum of the bandwidth information of the two AF requests or twice. The larger value of the bandwidth information requested by the AF; if the QCI defined by the PCRF is the Non-GBR QCI, the QoS information may include the MBR, and the value of the MBR is set according to the bandwidth of the two requests of the AF, that is, two AF requests. The sum of the bandwidth information is either the larger of the bandwidth information of the two AF requests. If BBERF exists, the PCRF also formulates QoS rules according to PCC Rule 1.
步骤813:PCRF向BBERF提供更新的QoS规则1;Step 813: The PCRF provides an updated QoS rule 1 to the BBERF;
步骤814:PCRF向PCEF提供更新PCC规则1。Step 814: The PCRF provides an update PCC Rule 1 to the PCEF.
上述实施例仅描述了UE同时发起2次业务访问的情况,对于2次以上的情况,流程是类似的,这里不再赘述。The foregoing embodiment only describes the case where the UE initiates two service accesses at the same time. For the case of more than two times, the process is similar, and details are not described herein again.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如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 mobile phone, a computer, a server, or a network device, etc.) to perform the method of various embodiments of the present invention.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被 设置为存储用于执行上述实施例的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in this embodiment, the foregoing storage medium may be Set to store program code for performing the above embodiments:
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述实施例的方法。Optionally, in the embodiment, the processor executes the method of the above embodiment according to the stored program code in the storage medium.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。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 description is only the preferred embodiment of the present invention, and is 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
基于本发明实施例提供的上述技术方案,若协议转换器PC或应用接入控制功能AAC根据AF提供的两个或两个以上公网业务描述信息中的公网流描述信息映射成的私网流描述信息相同,则该PC或AAC向PCRF提供私网业务描述信息,其中携带该私网流描述信息和累计请求带宽信息,其中该累计请求带宽信息根据该两个或两个以上公网业务描述信息中的请求带宽信息生成,该PCRF根据该私网流描述信息和该累计请求带宽信息制定PCC规则,解决了用户终端针对一个业务同时发起的多个业务访问可能无法进行正确的资源预留和资源控制的问题,实现了用户终端对一个业务同时发起的多个业务访问的资源预留和控制。 According to the foregoing technical solution provided by the embodiment of the present invention, if the protocol converter PC or the application access control function AAC maps the public network according to the public network flow description information in the two or more public network service description information provided by the AF If the flow description information is the same, the PC or the AAC provides the private network service description information to the PCRF, where the private network flow description information and the accumulated request bandwidth information are carried, where the accumulated request bandwidth information is based on the two or more public network services. The request bandwidth information is generated in the description information, and the PCRF formulates a PCC rule according to the private network flow description information and the accumulated request bandwidth information, and solves that multiple service access initiated by the user terminal for one service may not be able to perform correct resource reservation. And the problem of resource control, realizing the resource reservation and control of multiple service access initiated by the user terminal to one service at the same time.

Claims (19)

  1. 一种策略规则制定方法,包括:A method for formulating policy rules, including:
    若协议转换器PC或应用接入控制功能AAC根据应用功能AF提供的两个或两个以上公网业务描述信息中的公网流描述信息映射成的私网流描述信息相同,则所述PC或AAC向策略和计费规则功能PCRF提供私网业务描述信息,其中携带所述私网流描述信息和累计请求带宽信息,其中所述累计请求带宽信息根据所述两个或两个以上公网业务描述信息中的请求带宽信息生成;If the private network flow description information mapped by the protocol converter PC or the application access control function AAC is the same according to the public network flow description information in the two or more public network service description information provided by the application function AF, the PC Or the AAC provides the private network service description information to the policy and charging rule function PCRF, where the private network flow description information and the accumulated request bandwidth information are carried, where the accumulated request bandwidth information is based on the two or more public networks. Request bandwidth information generation in the service description information;
    所述PCRF根据所述私网流描述信息和所述累计请求带宽信息制定PCC规则。The PCRF formulates a PCC rule according to the private network flow description information and the accumulated request bandwidth information.
  2. 根据权利要求1所述的方法,其中,包括:The method of claim 1 comprising:
    所述PC或所述AAC上配置与网络地址转换设备NAT相同的私网IP地址到公网IP地址及公网源端口号段的映射表。A mapping table between the private IP address of the network address translation device NAT and the public network IP address and the public network source port number segment is configured on the PC or the AAC.
  3. 根据权利要求2所述的方法,其中,包括:The method of claim 2, comprising:
    所述PC或所述AAC根据所述映射表和所述两个或两个以上公网流描述信息中的源端口号、源IP地址,确定私网IP地址,并将所述源IP地址替换成所述私网IP地址,所述源端口替换为通配后生成的所述流描述信息相同。Determining, by the PC or the AAC, the private network IP address according to the source port number and the source IP address in the mapping table and the two or more public network flow description information, and replacing the source IP address In the private network IP address, the flow description information generated after the source port is replaced by the wildcard is the same.
  4. 根据权利要求1所述的方法,所述累计请求带宽信息根据所述两个或两个以上公网业务描述信息中的请求带宽信息生成,包括:The method according to claim 1, wherein the cumulative request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information, including:
    所述累计请求带宽信息是所述两个或两个以上公网业务描述信息中的请求带宽信息之和或最大值。The accumulated request bandwidth information is a sum or a maximum value of the requested bandwidth information in the two or more public network service description information.
  5. 一种策略规则制定方法,包括:A method for formulating policy rules, including:
    PCRF根据AF提供的两个或两个以上公网业务描述信息中的公网流描述信息映射成的私网流描述信息相同,则所述PCRF根据所述私网流描述信息和累计请求带宽信息制定PCC规则,其中所述累计请求带宽信息根据所述两个或两个以上公网业务描述信息中的请求带宽信息生成。The PCRF according to the public network flow description information in the two or more public network service description information provided by the AF is the same as the private network flow description information, and the PCRF according to the private network flow description information and the accumulated request bandwidth information. A PCC rule is formulated, wherein the accumulated request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information.
  6. 根据权利要求5所述的方法,其中,所述PCRF上配置与网络地址转换设备NAT一致的私网IP地址到公网IP地址及公网源端口号段的映射表。The method according to claim 5, wherein a mapping table of a private network IP address consistent with the network address translation device NAT to the public network IP address and the public network source port number segment is configured on the PCRF.
  7. 根据权利要求6所述的方法,其中,包括:The method of claim 6 comprising:
    所述PCRF根据所述映射表和所述两个或两个以上公网流描述信息中的源端口号、源IP地址,确定私网IP地址,并将所述源IP地址替换成所述私网IP地址,所述源端口替换为通配后生成的所述流描述信息相同。The PCRF determines a private network IP address according to the mapping table and the source port number and the source IP address in the two or more public network flow description information, and replaces the source IP address with the private IP address. The network IP address is the same as the flow description information generated after the source port is replaced by the wildcard.
  8. 根据权利要求5所述的方法,所述累计请求带宽信息根据所述两个或两个以上公网业务描述信息中的请求带宽信息生成,包括: The method according to claim 5, wherein the cumulative request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information, including:
    所述累计请求带宽信息是所述两个或两个以上公网业务描述信息中的请求带宽信息之和或最大值。The accumulated request bandwidth information is a sum or a maximum value of the requested bandwidth information in the two or more public network service description information.
  9. 一种策略规则制定系统,包括:A policy rulemaking system that includes:
    PC或AAC,设置为当根据AF提供的两个或两个以上公网业务描述信息中的公网流描述信息映射成的私网流描述信息相同时,向PCRF提供私网业务描述信息,其中携带所述私网流描述信息和累计请求带宽信息,其中所述累计请求带宽信息根据所述两个或两个以上公网业务描述信息中的请求带宽信息生成;The PC or the AAC is configured to provide the private network service description information to the PCRF when the description information of the private network flow mapped by the public network flow description information in the two or more public network service description information provided by the AF is the same. Carrying the private network flow description information and the cumulative request bandwidth information, where the accumulated request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information;
    所述PCRF,设置为根据所述私网流描述信息和所述累计请求带宽信息制定PCC规则。The PCRF is configured to formulate a PCC rule according to the private network flow description information and the accumulated request bandwidth information.
  10. 根据权利要求9所述的系统,其中,所述PC或AAC上配置和网络地址转换设备NAT一致的私网IP地址到公网IP地址及公网源端口号段的映射表。The system according to claim 9, wherein the mapping form of the private network IP address consistent with the network address translation device NAT to the public network IP address and the public network source port number segment is configured on the PC or the AAC.
  11. 根据权利要求9所述的系统,其中,所述PC或AAC根据所述映射表和所述两个或两个以上公网流描述信息中的源端口号、源IP地址,确定私网IP地址,并将所述源IP地址替换成所述私网IP地址,所述源端口替换为通配后生成的所述流描述信息相同。The system according to claim 9, wherein the PC or the AAC determines the private network IP address according to the mapping table and the source port number and the source IP address in the two or more public network flow description information. And replacing the source IP address with the private network IP address, and the source port is replaced by the flow description information generated after the wildcard is the same.
  12. 根据权利要求9所述的系统,其中,所述PC或AAC将所述两个或两个以上公网业务描述信息中的请求带宽信息之和或最大值设置为所述累计请求带宽信息。The system according to claim 9, wherein the PC or the AAC sets the sum or maximum value of the requested bandwidth information in the two or more public network service description information to the accumulated request bandwidth information.
  13. 一种PC或AAC装置,包括:A PC or AAC device, including:
    接收模块,设置为接收AF提供的两个或两个以上公网业务描述信息中的公网流描述信息;a receiving module, configured to receive public network flow description information in two or more public network service description information provided by the AF;
    第一映射模块,设置为将两个或两个以上公网业务描述信息中的公网流描述信息映射成私网流描述信息;The first mapping module is configured to map the public network flow description information in the two or more public network service description information into the private network flow description information;
    发送模块:当映射成的所述私网流描述信息相同时,向PCRF提供私网业务描述信息,其中携带所述私网流描述信息和累计请求带宽信息,其中所述累计请求带宽信息根据所述两个或两个以上公网业务描述信息中的请求带宽信息生成。a sending module: when the mapped private network flow description information is the same, providing the private network service description information to the PCRF, where the private network flow description information and the accumulated request bandwidth information are carried, where the accumulated request bandwidth information is The request bandwidth information in the two or more public network service description information is generated.
  14. 根据权利要求13所述的装置,其中,还包括第一配置模块,设置为配置与网络地址转换设备NAT一致的私网IP地址到公网IP地址及公网源端口号段的映射表。The apparatus according to claim 13, further comprising a first configuration module configured to configure a mapping table of a private network IP address consistent with the network address translation device NAT to the public network IP address and the public network source port number segment.
  15. 根据权利要求14所述的装置,其中,所述装置还包括:The apparatus of claim 14 wherein said apparatus further comprises:
    所述第一映射模块根据第一配置模块配置的所述映射表和接收模块接收的所述两个或两个以上公网流描述信息中的源端口号、源IP地址,确定私网IP地址,并将所述源IP地址替换成所述私网IP地址,所述源端口替换为通配后生成的所述流描述信息相同。The first mapping module determines the private network IP address according to the mapping table configured by the first configuration module and the source port number and the source IP address in the two or more public network flow description information received by the receiving module. And replacing the source IP address with the private network IP address, and the source port is replaced by the flow description information generated after the wildcard is the same.
  16. 根据权利要求13所述的装置,其中,所述发送模块将所述累计请求带宽信息设置为所述两个或两个以上公网业务描述信息中的请求带宽信息之和或最大值。 The apparatus according to claim 13, wherein said transmitting module sets said accumulated request bandwidth information as a sum or a maximum value of requested bandwidth information in said two or more public network service description information.
  17. 一种PCRF装置,包括:A PCRF device comprising:
    第二映射模块,设置为将AF提供的两个或两个以上公网业务描述信息中的公网流描述信息映射成私网流描述信息;The second mapping module is configured to map the public network flow description information in the two or more public network service description information provided by the AF into the private network flow description information;
    制定模块,设置为当映射成的所述私网流描述信息相同时,根据所述私网流描述信息和累计请求带宽信息制定PCC规则,其中所述累计请求带宽信息根据所述两个或两个以上公网业务描述信息中的请求带宽信息生成。And formulating a module, configured to: when the mapping of the private network flow description information is the same, formulating a PCC rule according to the private network flow description information and the accumulated request bandwidth information, where the accumulated request bandwidth information is according to the two or two Request bandwidth information generation in more than one public network service description information.
  18. 根据权利要求17所述的装置,其中,还包括第二配置模块,设置为配置与网络地址转换设备NAT一致的私网IP地址到公网IP地址及公网源端口号段的映射表。The apparatus according to claim 17, further comprising a second configuration module configured to configure a mapping table of a private network IP address consistent with the network address translation device NAT to the public network IP address and the public network source port number segment.
  19. 根据权利要求17所述的装置,其中,所述累计请求带宽信息根据所述两个或两个以上公网业务描述信息中的请求带宽信息生成,包括:The device according to claim 17, wherein the cumulative request bandwidth information is generated according to the requested bandwidth information in the two or more public network service description information, including:
    所述累计请求带宽信息是所述两个或两个以上公网业务描述信息中的请求带宽信息之和或最大值。 The accumulated request bandwidth information is a sum or a maximum value of the requested bandwidth information in the two or more public network service description information.
PCT/CN2016/077902 2015-04-29 2016-03-30 Method, system and apparatus for making policy rule WO2016173363A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510212123.6A CN106211116A (en) 2015-04-29 2015-04-29 Policing rule formulating method, system and device
CN201510212123.6 2015-04-29

Publications (1)

Publication Number Publication Date
WO2016173363A1 true WO2016173363A1 (en) 2016-11-03

Family

ID=57198083

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/077902 WO2016173363A1 (en) 2015-04-29 2016-03-30 Method, system and apparatus for making policy rule

Country Status (2)

Country Link
CN (1) CN106211116A (en)
WO (1) WO2016173363A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020192438A1 (en) * 2019-03-28 2020-10-01 华为技术有限公司 Communication method, apparatus, and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109327634B (en) * 2017-07-31 2020-08-07 贵州白山云科技股份有限公司 Method and device for solving repeated charging
CN111328035B (en) * 2018-12-14 2021-08-10 中国移动通信集团北京有限公司 Service processing method, device and readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222413A (en) * 2007-01-09 2008-07-16 华为技术有限公司 Service flow processing method and system
CN101345633A (en) * 2007-07-10 2009-01-14 华为技术有限公司 Applied policy control method and apparatus
CN102334355A (en) * 2011-05-25 2012-01-25 华为技术有限公司 Strategy control method and equipment
CN104010332A (en) * 2013-02-21 2014-08-27 中兴通讯股份有限公司 Bearer binding method and bearer binding system
US20140293824A1 (en) * 2011-11-15 2014-10-02 Telefonaktiebolaget L M Ericsson (Publ) Policy Controller Based Network Statistics Generation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222413A (en) * 2007-01-09 2008-07-16 华为技术有限公司 Service flow processing method and system
CN101345633A (en) * 2007-07-10 2009-01-14 华为技术有限公司 Applied policy control method and apparatus
CN102334355A (en) * 2011-05-25 2012-01-25 华为技术有限公司 Strategy control method and equipment
US20140293824A1 (en) * 2011-11-15 2014-10-02 Telefonaktiebolaget L M Ericsson (Publ) Policy Controller Based Network Statistics Generation
CN104010332A (en) * 2013-02-21 2014-08-27 中兴通讯股份有限公司 Bearer binding method and bearer binding system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020192438A1 (en) * 2019-03-28 2020-10-01 华为技术有限公司 Communication method, apparatus, and system

Also Published As

Publication number Publication date
CN106211116A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
JP5468180B2 (en) System and method for generating PCC rules based on service requests
JP5507709B2 (en) Method for PCRF to respond autonomously to lack of cell capacity
JP5629001B2 (en) System and method for generating and updating PCC rules based on service requests
US8799440B2 (en) Policy and charging control method and system for multi-PDN connections of single APN
US10148509B2 (en) Methods, systems, and computer readable media for session based software defined networking (SDN) management
JP6605955B2 (en) Method, system, and computer-readable medium for policy-based local breakout (LBO)
EP2521385B1 (en) Policy and charging control method, gateway and mobile terminal thereof
US8903974B2 (en) Methods, systems, and computer readable media for user controlled policy sharing
JP5463418B2 (en) Enhanced allocation / retention policy solutions
US8661145B2 (en) Method and system for transmitting a bearer control mode in roaming scenarios
JP2013526092A (en) PCC / QOS rule generation
JP2010517387A (en) Service processing method and service processing system, and policy control and billing rule function
US20110320544A1 (en) Diameter session audits
US20150236914A1 (en) Method and node for controlling resources for a media service as well as a corresponding system and computer program
JP2013520120A (en) Handling expired messages for policy and billing rule nodes
CN106162758B (en) Service processing method, PCRF (policy and charging rules function) and service processing system
US20170163819A1 (en) Method, Device, and System for Processing Policy Control
WO2016173363A1 (en) Method, system and apparatus for making policy rule
WO2017128819A1 (en) Policy and charging control method and apparatus based on application, and storage medium
WO2016173364A1 (en) Method, system and apparatus for making policy rule
WO2013135213A1 (en) Tdf session process method and pcrf
EP2991400A1 (en) Data transmission control method and device based on wireless communication network
JP2016537853A (en) On-demand QoS for data connection
JP2014531159A (en) Processing messages related to multiple potential entities
WO2013113263A1 (en) Method and system for identifying application detection control function mode

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

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

Country of ref document: EP

Kind code of ref document: A1