WO2017143915A1 - Method and device for throttling bandwidth of access point - Google Patents

Method and device for throttling bandwidth of access point Download PDF

Info

Publication number
WO2017143915A1
WO2017143915A1 PCT/CN2017/073358 CN2017073358W WO2017143915A1 WO 2017143915 A1 WO2017143915 A1 WO 2017143915A1 CN 2017073358 W CN2017073358 W CN 2017073358W WO 2017143915 A1 WO2017143915 A1 WO 2017143915A1
Authority
WO
WIPO (PCT)
Prior art keywords
apn
ambr
gwu
shared
data packet
Prior art date
Application number
PCT/CN2017/073358
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 WO2017143915A1 publication Critical patent/WO2017143915A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/20Negotiating bandwidth

Definitions

  • the present application relates to, but is not limited to, the field of wireless communication technologies, and in particular, to a method and apparatus for implementing access point bandwidth limitation.
  • the 3rd Generation Partnership Project Evolved Packet System
  • E-UTRAN Evolved Universal Terrestrial Radio Access Network
  • MME Mobility Management Entity
  • S-GW Serving Gateway
  • PDN GW or P-GW Packet Data Network Gateway
  • HSS Home Subscriber Server
  • AAA 3GPP Authentication, Authorization and Accounting
  • PCRF Policy and Charging Rules Function
  • the MME is used for control plane related operations such as mobility management, non-access stratum signaling processing, and user mobility management context management;
  • the S-GW is an access gateway device connected to the E-UTRAN, in the E-UTRAN and The P-GW forwards data and buffers the paging waiting data.
  • the P-GW is a border gateway between the EPS and the PDN, and is used for PDN access and forwarding data between the EPS and the PDN.
  • the PCRF is responsible for the formulation of policy decisions and charging rules, providing gating, quality of service control, and charging rules based on service data flows to the gateway, and executing the policies and charging rules established by the PCRF on the bearer plane.
  • the gateway performs QoS (Quality of Service) authorization and gating control according to the rules sent by the PCRF.
  • the corresponding service data flow charging operation is performed according to the charging rule sent by the PCRF.
  • QoS Quality of Service
  • control plane of the gateway is highly coupled with the forwarding plane, which is not conducive to the smooth evolution of the core network. Therefore, the control functions and forwarding functions in the packet domain gateway can be further separated to meet the needs of network development and market applications.
  • GwC Gateway Controller
  • GwU Gateway User
  • GwC is responsible for the control plane functions of S-GW and P-GW, including load sharing, GwU selection, IP address and tunnel identification assignment, policy and charging control
  • GwU is responsible for user plane related functions of S-GW and P-GW, including data stream identification and deep packet parsing, QoS processing and bearer binding, and buffering of downlink paging data.
  • a UE In order to access a Packet Data Network (PDN), a UE (User Equipment) establishes a PDN connection of an IP-Connected Access Network (IP-CAN) session.
  • a PDN connection consists of a bearer, and a bearer consists of a service data stream.
  • the network provides network resources for data transmission for its service data flow according to the corresponding authorized QoS, and the service data flows in the same bearer have the same QoS parameters, that is, the same bearer QoS characteristics.
  • Related QoS parameters include QoS Class Identifier (QCI), Resource Allocation and Retention Priority (ARP), Guaranteed Band Rate (GBR), and Maximum Bit Rate (MBR).
  • QoS parameters UE-AMBR User Equipment Aggregate Maximum Bit Rate
  • APN-AMBR Access Point Node Aggregate Maximum Bit Rate
  • the bearer is divided into a GBR bearer and a non-GBR bearer: the GBR bearer includes the MBR and the GBR, which is the bearer that guarantees the lowest bandwidth; the non-GBR bearer only includes the MBR, and is the bearer that provides the best effort bandwidth.
  • the GBR bearer includes the MBR and the GBR, which is the bearer that guarantees the lowest bandwidth; the non-GBR bearer only includes the MBR, and is the bearer that provides the best effort bandwidth.
  • APN-AMBR is a subscription parameter for each APN stored in the HSS. This parameter limits the maximum bit rate of non-GBR bearers for all PDN connections under the same APN. Each non-GBR bearer may occupy all APN-AMBR bandwidths, for example when other non-GBR bearers do not have any data traffic. APN-AMBR only targets non-GBR bearers, excluding GBR Carrying.
  • the P-GW performs bandwidth limitation on the uplink and downlink data flows of the non-GBR bearers connected to all PDNs in the APN according to the APN-AMBR value signed in the HSS. All simultaneously activated PDN connections on the same APN of one UE are on the same PGW.
  • the P-GW is divided into multiple GwC instances and multiple GwU instances. Due to the problem of multiple sessions and multiple bearers, the data flow distribution on the GwU cannot be guaranteed to be the same. All PDN connections of the same APN are distributed to the same GwU instance. For example, some UEs use static addresses. If the IP segment of the part is bound to the corresponding GTPU (GPRS Tunnel Protocol User Plane) node, That is, the IP segment of the part corresponds to the corresponding GwU instance, but the part of the UE is switched between the GTP (GPRS Tunnel Protocol) and the PMIP (Proxy Mobile IP) protocol, and the UE selects before and after. It may be two GwU instances, so APN-AMBR cannot perform bandwidth statistics and restrictions on the same GwU.
  • GTPU GPRS Tunnel Protocol User Plane
  • the present invention provides a method and apparatus for implementing access point bandwidth limitation, which can accurately perform bandwidth control based on an access point aggregation maximum bit rate APN-AMBR in a gateway control plane and a user plane separation architecture.
  • a method for implementing bandwidth limitation of an access point comprising:
  • the GwU module When receiving the data packet, the GwU module accesses the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point, and obtains according to the measurement information of the current data packet and the access to the shared APN-AMBR statistics table.
  • APN-AMBR value is currently accessed by the user equipment
  • the APN-AMBR is used for statistics, and the bandwidth control based on APN-AMBR is performed according to the statistical result.
  • the establishing a shared access point aggregation maximum bit rate APN-AMBR statistics table for multiple GwU modules includes:
  • the shared APN-AMBR statistics table is established in an independent GwU instance, or the shared APN-AMBR statistics table is established in a shared memory of multiple GwU instances.
  • the shared APN-AMBR statistics table is accessed or modified by the GwU module. Only one GwU module has the right to access or modify the shared APN-AMBR statistics table at the same time.
  • one or more GwU instances exist in the GwU module, each GwU instance processes service data of multiple user equipments, and multiple GwU instances share an APN-AMBR statistics table; one gateway control plane exists under the GwC module. Or multiple GwU modules.
  • the GwU module accesses the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point when receiving the data packet, according to the measurement information of the current data packet, and accessing the sharing.
  • the APN-AMBR value obtained by the APN-AMBR statistic is used to collect statistics on the APN-AMBR of the user equipment at the current access point, and the bandwidth control based on the APN-AMBR is performed according to the statistical result, including:
  • the GwU service instance When receiving the data packet, the GwU service instance sends a request for accessing the shared APN-AMBR statistics table to the independent GwU shared data table instance, where the identifier of the shared APN-AMBR statistics table to be accessed, and the measurement information of the current data packet are carried;
  • the GwU shared data table instance After receiving the request for accessing the shared APN-AMBR statistics table, the GwU shared data table instance is in the user equipment according to the measurement information of the current data packet and the APN-AMBR value recorded in the shared APN-AMBR statistics table.
  • the APN-AMBR of the current access point performs statistics. If the APN-AMBR value is less than or equal to the subscription value of the user equipment, the decision is made to allow the data packet to be forwarded. For example, the APN-AMBR value after the statistics is greater than the user equipment.
  • the contract value is used to decide to discard the data packet, and return a response message to the GwU service instance, where the decision indication information is carried;
  • the shared APN-AMBR statistics table records the APN-AMBR value of each user equipment under the access point.
  • the GwU module accesses the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point when receiving the data packet, according to the measurement information of the current data packet, and accessing the sharing.
  • the APN-AMBR value obtained by the APN-AMBR statistic is used to collect statistics on the APN-AMBR of the user equipment at the current access point, and the bandwidth control based on the APN-AMBR is performed according to the statistical result, including:
  • the GwU service instance accesses the shared APN-AMBR statistics table stored in the shared memory, and the user equipment is under the current access point according to the measurement information of the current data packet and the APN-AMBR value recorded in the shared APN-AMBR statistics table.
  • the APN-AMBR performs statistics. If the APN-AMBR value is less than or equal to the subscription value of the user equipment, the data packet is forwarded. If the APN-AMBR value is greater than the subscription value of the user equipment, the data packet is discarded.
  • the shared APN-AMBR statistics table records the APN-AMBR value of each user equipment under the access point.
  • a device for implementing bandwidth limitation of an access point comprising:
  • a module configured to establish a shared access point aggregation maximum bit rate APN-AMBR statistical table for multiple gateway user plane GwU modules;
  • the bandwidth control module is configured to: when the GwU module receives the data packet, access the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point, according to the measurement information of the current data packet and accessing the shared APN-
  • the APN-AMBR value obtained by the AMBR statistics table counts the APN-AMBR of the user equipment at the current access point, and performs bandwidth control based on the APN-AMBR according to the statistical result.
  • the setup module is set to:
  • the shared APN-AMBR statistics table is established in an independent GwU instance, or the shared APN-AMBR statistics table is established in a shared memory of multiple GwU instances.
  • the GWU module uses a lock mutual exclusion mechanism to access or modify the shared APN-AMBR statistics table, and only one GwU module has permission to access or modify the same time. Share the APN-AMBR statistics table.
  • one or more GwU instances exist in the GwU module, each GwU instance processes service data of multiple user equipments, and multiple GwU instances share an APN-AMBR statistics table; one gateway control plane exists under the GwC module. Or multiple GwU modules.
  • the bandwidth control module is configured to:
  • the GwU service instance When receiving the data packet, the GwU service instance sends a request for accessing the shared APN-AMBR statistics table to the independent GwU shared data table instance, where the identifier of the shared APN-AMBR statistics table to be accessed, and the measurement information of the current data packet are carried;
  • the GwU shared data table instance After receiving the request for accessing the shared APN-AMBR statistics table, the GwU shared data table instance is in the user equipment according to the measurement information of the current data packet and the APN-AMBR value recorded in the shared APN-AMBR statistics table.
  • the APN-AMBR of the current access point performs statistics. If the APN-AMBR value is less than or equal to the subscription value of the user equipment, the decision is made to allow the data packet to be forwarded. For example, the APN-AMBR value after the statistics is greater than the user equipment.
  • the contract value is used to decide to discard the data packet, and return a response message to the GwU service instance, where the decision indication information is carried;
  • the GwU service instance After receiving the response message returned by the GwU shared data table instance, the GwU service instance forwards or discards the data packet according to the decision indication information carried in the response message;
  • the shared APN-AMBR statistics table records the APN-AMBR value of each user equipment under the access point.
  • the bandwidth control module is configured to:
  • the GwU service instance accesses the shared APN-AMBR statistics table stored in the shared memory, and the user equipment is under the current access point according to the measurement information of the current data packet and the APN-AMBR value recorded in the shared APN-AMBR statistics table.
  • the APN-AMBR performs statistics. If the APN-AMBR value is less than or equal to the subscription value of the user equipment, the data packet is forwarded. If the APN-AMBR value is greater than the subscription value of the user equipment, the data packet is discarded.
  • the shared APN-AMBR statistics table records the APN-AMBR value of each user equipment under the access point.
  • a computer readable storage medium storing computer executable instructions, the computer being executable The above method is implemented when the line instruction is executed by the processor.
  • a method and device for implementing bandwidth limitation of an access point for establishing a maximum access rate aggregation APN-AMBR statistics table for a plurality of gateway user plane GwU modules, when the GwU module receives a data packet Accessing the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point, and the user equipment according to the current data packet measurement information and the APN-AMBR value obtained by accessing the shared APN-AMBR statistics table
  • the APN-AMBR under the current access point performs statistics, and the APN-AMBR-based bandwidth control is performed according to the statistics.
  • bandwidth control can be accurately performed in the gateway control plane and the user plane separation architecture, and the network is guaranteed to be contracted according to the user.
  • the APN-AMBR performs the correct bandwidth limitation and data flow gating restrictions.
  • FIG. 1 is a schematic structural diagram of a 3GPP evolved packet system in the related art.
  • FIG. 2 is a schematic structural diagram of separation of a gateway control plane and a user plane in a non-roaming scenario.
  • FIG. 3 is a flowchart of a method for implementing bandwidth limitation of an access point according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an apparatus for implementing bandwidth limitation of an access point according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram (shared example) of bandwidth restriction information interaction of a pair of uplink data streams according to an example of the present invention.
  • FIG. 6 is a schematic diagram (shared example) of bandwidth restriction information interaction of a second pair of downlink data streams according to an example of the present invention.
  • FIG. 7 is a schematic diagram (shared memory) of bandwidth limitation information interaction of an example three pairs of uplink data streams according to an example of the present invention.
  • FIG. 8 is a schematic diagram of a bandwidth restriction information interaction (shared memory) of an example four pairs of downlink data streams according to the present invention.
  • an embodiment of the present invention provides a method for implementing bandwidth limitation of an access point, where the method includes:
  • the GwU module accesses the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point, according to the measurement information of the current data packet, and accesses the shared APN-AMBR statistics table.
  • the obtained APN-AMBR value is used to collect statistics on the APN-AMBR of the user equipment at the current access point, and perform bandwidth control based on the APN-AMBR according to the statistical result.
  • the method for establishing a shared access point aggregation maximum bit rate APN-AMBR statistics table for multiple GwU modules includes:
  • the shared APN-AMBR statistics table records the APN-AMBR value of each user equipment under the access point.
  • the GwU module accesses the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point when receiving the data packet, according to the measurement information of the current data packet and accessing the shared APN-AMBR statistics.
  • the APN-AMBR value obtained by the table is used to collect statistics on the APN-AMBR of the user equipment at the current access point, and the bandwidth control based on the APN-AMBR is performed according to the statistics, including:
  • the GwU service instance When receiving the data packet, the GwU service instance sends a request for accessing the shared APN-AMBR statistics table to the independent GwU shared data table instance, where the identifier of the shared APN-AMBR statistics table to be accessed, and the measurement information of the current data packet are carried;
  • the GwU shared data table instance is based on the measurement information of the current data packet and the record in the shared APN-AMBR statistics table.
  • the recorded APN-AMBR value is used to count the APN-AMBR of the user equipment at the current access point. If the APN-AMBR value after the statistics is smaller than the subscription value of the user equipment, the decision is allowed to forward the data packet, such as after statistics. If the APN-AMBR value is greater than or equal to the subscription value of the user equipment, the data packet is discarded, and the response message is returned to the GwU service instance, where the decision indication information is carried;
  • the GwU service instance After receiving the response message returned by the GwU shared data table instance, the GwU service instance forwards or discards the data packet according to the decision indication information carried in the response message;
  • the GwU module accesses the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point when receiving the data packet, according to the measurement information of the current data packet and accessing the shared APN-AMBR statistics.
  • the APN-AMBR value obtained by the table is used to collect statistics on the APN-AMBR of the user equipment at the current access point, and the bandwidth control based on the APN-AMBR is performed according to the statistics, including:
  • the GwU service instance accesses the shared APN-AMBR statistics table stored in the shared memory, and the user equipment is under the current access point according to the measurement information of the current data packet and the APN-AMBR value recorded in the shared APN-AMBR statistics table.
  • the APN-AMBR performs statistics. If the APN-AMBR value is less than or equal to the subscription value of the user equipment, the data packet is forwarded. If the APN-AMBR value is greater than the subscription value of the user equipment, the data packet is discarded.
  • the GwU module uses a lock mutual exclusion mechanism to access or modify the shared APN-AMBR statistics table. Only one GwU module has the right to access or modify the shared APN-AMBR statistics table at the same time;
  • GwU instances exist in the GwU module. Each GwU instance processes service data of multiple user equipments. Multiple GwU instances share the APN-AMBR statistics table. One GwU module has one or more GwUs under the GwC module. Module
  • an embodiment of the present invention provides an apparatus for implementing bandwidth limitation of an access point, including:
  • the setting module 401 is configured to establish a shared access point aggregation maximum bit rate APN-AMBR statistics table for the plurality of gateway user plane GwU modules;
  • the bandwidth control module 402 is configured to: when the GwU module receives the data packet, access the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point, according to the measurement information of the current data packet, and access the shared APN.
  • the APN-AMBR value obtained by the -AMBR statistic is used to collect statistics on the APN-AMBR of the user equipment at the current access point, and the bandwidth control based on the APN-AMBR is performed according to the statistical result.
  • the setting module 401 is set to:
  • the shared APN-AMBR statistics table is established in an independent GwU instance, or the shared APN-AMBR statistics table is established in a shared memory of multiple GwU instances.
  • the GWU module uses the lock mutual exclusion mechanism to access or modify the shared APN-AMBR statistics table. Only one GwU module has the right to access or modify the shared APN-AMBR statistics table at the same time.
  • GwU instances exist in the GwU module. Each GwU instance processes service data of multiple user equipments. Multiple GwU instances share the APN-AMBR statistics table. One GwU module has one or more GwUs under the GwC module. Module.
  • the bandwidth control module 402 is configured to:
  • the GwU service instance When receiving the data packet, the GwU service instance sends a request for accessing the shared APN-AMBR statistics table to the independent GwU shared data table instance, where the identifier of the shared APN-AMBR statistics table to be accessed, and the measurement information of the current data packet are carried;
  • the GwU shared data table instance After receiving the request for accessing the shared APN-AMBR statistics table, the GwU shared data table instance is in the user equipment according to the measurement information of the current data packet and the APN-AMBR value recorded in the shared APN-AMBR statistics table.
  • the APN-AMBR of the current access point performs statistics. If the APN-AMBR value is less than or equal to the subscription value of the user equipment, the decision is made to allow the data packet to be forwarded. For example, the APN-AMBR value after the statistics is greater than the user equipment.
  • the contract value is used to decide to discard the data packet, and return a response message to the GwU service instance, where the decision indication information is carried;
  • the GwU service instance After receiving the response message returned by the GwU shared data table instance, the GwU service instance forwards or discards the data packet according to the decision indication information carried in the response message;
  • the shared APN-AMBR statistic table records each user equipment under the access point. APN-AMBR value.
  • the bandwidth control module 402 is configured to:
  • the GwU service instance accesses the shared APN-AMBR statistics table stored in the shared memory, and the user equipment is under the current access point according to the measurement information of the current data packet and the APN-AMBR value recorded in the shared APN-AMBR statistics table.
  • the APN-AMBR performs statistics. If the APN-AMBR value is less than or equal to the subscription value of the user equipment, the data packet is forwarded. If the APN-AMBR value is greater than the subscription value of the user equipment, the data packet is discarded.
  • the shared APN-AMBR statistics table records the APN-AMBR value of each user equipment under the access point.
  • this example corresponds to the non-roaming scenario.
  • the UE accesses the 3GPP network and creates a default bearer after activation.
  • the user session table and bearer forwarding table are established for the user on the GwU.
  • the user is obtained and saved on the GwC.
  • Policies such as QoS authorization information, PCC (Policy and Charging Control) rules.
  • PCC Policy and Charging Control
  • Step 501 The GwU receiving instance receives the uplink data packet.
  • the uplink packet is identified as a GPRS Tunnel Protocol User Plane (GPRS Tunnel Protocol User Plane) message, and the forwarding table is found to find a corresponding GwU service instance of the user service.
  • GPRS Tunnel Protocol User Plane GPRS Tunnel Protocol User Plane
  • Step 502 The GwU receiving instance forwards the data stream to the found GwU service instance.
  • Step 503 The GwU service instance performs bearer forwarding table matching according to the TEIDU (Tunnel terminal identification for user plane), and performs internal quintuple matching after decapsulating the data. If the corresponding flow table and policy are matched, step 510 is performed.
  • TEIDU Transmissionnel terminal identification for user plane
  • Step 504 If the current flow table and the policy are not matched, a new flow table is created, and the data packet is forwarded to the GwU DPI (Deep Packet Inspection) instance to identify the application information of the data flow.
  • GwU DPI Deep Packet Inspection
  • Step 505 After the GwU DPI instance matches the related service information according to the local signature database, the GwU DPI instance returns information such as the packet and the corresponding application identifier to the GwU service instance.
  • Step 506 The GwU service instance performs a TFT (Traffic Flow Template) matching according to the received application identifier. If the corresponding flow table and policy are matched, step 510 is performed; if the application identifier is not recognized (Failed to match the corresponding flow table and policy), or if the change occurs, the message is cached, and step 507 is performed.
  • TFT Traffic Flow Template
  • Step 507 The GwU service instance sends the TEIDU, the quintuple information, and the application identifier of the packet to the GwC, and obtains corresponding QoS policy and charging information.
  • Step 508 The GwC obtains the local policy according to the application identifier and the quintuple information carried in the request message, or requests the policy rule information from the external (PCRF, etc.).
  • Step 509 The GwC returns the policy information (including the information of the QoS, the charging, and the routing and forwarding policy) provided by the local or external policy decision entity (such as the PCRF) to the GwU service instance for policy execution.
  • the local or external policy decision entity such as the PCRF
  • Step 510 The GwU service instance performs a bearer-level QoS policy such as uplink gating according to the current policy (the local policy or the policy provided by the GwC), performs bearer binding, performs metering of usage statistics and usage statistics of the uplink data, and updates the traffic to the traffic.
  • a bearer-level QoS policy such as uplink gating according to the current policy (the local policy or the policy provided by the GwC)
  • Step 511 After performing the bearer-related policy, charging, and usage statistics, the GwU service instance sends a request message to the GwU sharing statistics table instance, requesting the APN-AMBR decision indication, or the current APN-AMBR value.
  • the request message carries the APN-AMBR identification information (for example, the ID of the APN-AMBR shared meter), the measurement information of the current data (for example, meter statistics), and the TEID and quintuple information.
  • Step 512 The GwU sharing statistics table instance receives the request message that carries the measurement information and the APN-AMBR identification information sent by the GwU service instance.
  • the unified APN-AMBR subscription information and the local APN-AMBR shared measurement statistics table are compared, and the unified measurement statistics are performed according to the measurement information carried in the request message. After the statistics, when the maximum bit rate of all non-GBR bearers of the UE under the APN is greater than the subscribed APN-AMBR, it is determined to discard the data stream. If the maximum bit rate of all non-GBR bearers of the UE under the APN is smaller than the subscribed APN-AMBR, the data stream may be sent.
  • Update current APN-AMBR shared measurements A statistical table that determines the discarding or forwarding of current data streams. And return the decision indication to the GwU service instance that sent the request.
  • the execution of the statistics entry between the GwU instances uses the lock mutual exclusion mechanism to ensure that only one GwU instance has permission to access or modify the statistics table.
  • Step 513 The GwU sharing statistics table instance returns the APN-AMBR decision response to the GwU service instance that sends the request, and carries the APN-AMBR indication flag, indicating that the current data stream is discarded or forwarded.
  • the message may carry the value of the current APN-AMBR of the shared statistics table.
  • Step 514 The GwU service instance receives the response message from the GwU shared statistics table instance, where the response message carries the APN-AMBR execution indication flag, and may also carry the APN-AMBR value.
  • the meter statistics of the billing and usage of the current uplink data are reduced, and the flow table is updated. If the APN-AMBR value is greater than the subscription allowable value, or indicates that the APN-AMBR exceeds the threshold, the data flow cannot be sent and is gated by the execution. If the APN-AMBR value is less than the allowed value of the subscription, or indicates that the APN-AMBR is within the allowed range, the information to be carried, such as binding bearer information, routing and forwarding information, is enhanced into the packet header, and the data packet is encapsulated.
  • Step 515 Confirm that within the range of APN-AMBR allowed by the subscription, the GwU service instance sends the data packet to the next routing node or the external PDN network node according to the routing and forwarding policy of the data packet.
  • the shared data statistics table is stored in the independent GwU shared data table instance, and the execution of the statistics entry between the GwU service instances adopts a lock mutual exclusion mechanism to ensure that there is only one GwU at the same time.
  • the instance has permission to access or modify the statistics.
  • the GwU instance in this embodiment may be a logical function entity in the actual deployment network element, or an independent actual deployment network element; or may be a virtualization function device or a processor in the function device, or It is a network slice or micro service that is virtualized. This application is not limited.
  • this example corresponds to a non-roaming scenario.
  • the UE accesses the 3GPP network and creates a default bearer after activation.
  • the user session table and bearer forwarding table are established for the user on the GwU.
  • the user is obtained and saved on the GwC.
  • the GwU instance establishes a shared APN-AMBR statistic table (the shared statistic table is stored in an independent GwU shared data table instance), and the GwU performs APN-AMBR-based bandwidth control on the downlink non-GBR bearer data stream, including the following steps:
  • Step 601 The GwU receiving instance receives the downlink data packet.
  • Step 602 The GwU receiving instance identifies that the data packet is a downlink packet, and finds a GwU service instance corresponding to the user service according to the IP lookup forwarding table.
  • Step 603 The GwU forwards the data packet to the corresponding GwU service instance.
  • Step 604 The GwU service instance matches the user session table according to the IP and virtual routing forwarding table VRF (Virtual Routing and Forwarding), and performs quintuple matching. If the downlink data packet matches the flow table, it is determined according to the flag in the flow table whether to send to the GwU DPI instance for further analysis. If the GwU DPI instance needs to be sent for further analysis, step 605 is performed; if the corresponding flow table and policy are matched, and the GwU DPI instance is not required to be further analyzed, step 611 is performed; if the corresponding flow table is not matched, Then, the flow table is created, the message is cached, and step 608 is performed.
  • VRF Virtual Routing and Forwarding
  • Step 605 Cache the packet, and send the key information of the data packet to the GwU DPI instance to identify the information such as the application identifier of the data stream.
  • Step 606 After the GwU DPI instance matches the related service information according to the local signature database, the GwU DPI instance returns information such as the packet and the corresponding application identifier to the GwU service instance.
  • Step 607 The GwU service instance performs TFT matching such as quintuple according to the received application identifier. If the corresponding flow table and policy are matched, step 611 is performed; if the application identifier cannot be identified or changed, The message is cached, and step 608 is performed.
  • Step 608 The GwU service instance sends a Get Processing Policy Request message to the GwC, where the request message carries the TEIDU, the quintuple information, and the application identifier of the packet.
  • Step 609 The GwC obtains a local policy according to information such as an application identifier and a quintuple carried in the request message, or requests policy rule information from an external (for example, a PCRF).
  • information such as an application identifier and a quintuple carried in the request message, or requests policy rule information from an external (for example, a PCRF).
  • Step 610 The GwC returns information of the QoS and charging, and routing and forwarding policies provided by the local or external policy decision entity (such as the PCRF) to the GwU service instance for policy execution.
  • the local or external policy decision entity such as the PCRF
  • Step 611 The GwU service instance performs a bearer-level QoS policy such as a downlink gating according to the current policy (the local policy or the policy provided by the GwC), performs bearer binding, performs meter statistics of the downlink data charging and usage, and updates the traffic to the flow.
  • a bearer-level QoS policy such as a downlink gating according to the current policy (the local policy or the policy provided by the GwC)
  • Step 612 After performing the bearer-related policy and charging and usage statistics, the GwU service instance sends a request message to the GwU sharing statistics table instance, requesting the APN-AMBR decision indication, or the current APN-AMBR value.
  • the request message carries the APN-AMBR identification information (for example, the ID of the APN-AMBR shared meter), the measurement information of the current data (for example, meter statistics), and the TEID and quintuple information.
  • the execution of the statistics entry between the GwU instances uses the lock mutual exclusion mechanism to ensure that only one GwU instance has permission to access or modify the statistics table.
  • Step 613 The GwU sharing statistics table instance receives the request message carrying the measurement information and the APN-AMBR identification information sent by the GwU service instance.
  • the unified APN-AMBR subscription information and the local APN-AMBR shared measurement statistics table are compared, and the unified measurement statistics are performed according to the measurement information carried in the request message.
  • After the statistics when the maximum bit rate of all non-GBR bearers of the UE under the APN is greater than the subscribed APN-AMBR, it is determined to discard the data stream. If the maximum bit rate of all non-GBR bearers of the UE under the APN is smaller than the subscribed APN-AMBR, the data stream may be sent. Update the current APN-AMBR shared measurement statistics table to decide whether to discard or forward the current data stream. And return the decision indication to the GwU service instance that sent the request.
  • Step 614 The GwU sharing statistics table instance returns a decision response of the APN-AMBR to the GwU service instance that sends the request, and carries an APN-AMBR indication flag, indicating that the current data stream is discarded or forwarded.
  • the message may carry the value of the current APN-AMBR of the shared statistics table.
  • Step 615 The GwU service instance receives the response message from the GwU shared statistics table instance, where the response message carries the APN-AMBR execution indication flag, and may also carry the APN-AMBR value.
  • the meter statistics of the billing and usage of the current downlink data are reduced, and the flow table is updated. If the APN-AMBR value is greater than the subscription allowable value, or indicates that the APN-AMBR exceeds the threshold, the data flow cannot be sent and is gated by the execution. If the APN-AMBR value is less than the allowed value of the subscription, or indicates that the APN-AMBR is within the allowed range, the information to be carried, such as binding bearer information, routing and forwarding information, is enhanced into the packet header, and the data packet is encapsulated.
  • Step 616 Confirm that the GwU service instance root is within the range of the APN-AMBR allowed for the subscription.
  • the data packet is delivered according to the routing and forwarding policy of the data packet.
  • the shared data statistics table is stored in the independent GwU shared data table instance, and the execution of the statistics entry between the GwU service instances adopts a lock mutual exclusion mechanism to ensure that there is only one at the same time.
  • the GwU instance has permission to access or modify the statistics.
  • the GwU instance in this embodiment may be a logical function entity in the actual deployment network element, or an independent actual deployment network element; or may be a virtualization function device or a processor in the function device, or It is a network slice or micro service that is virtualized. This application is not limited.
  • this example corresponds to the non-roaming scenario.
  • the UE accesses the 3GPP network and creates a default bearer after activation.
  • the user session table and bearer forwarding table are established for the user on the GwU.
  • the user is obtained and saved on the GwC.
  • the GwU performs APN-AMBR-based bandwidth control on the UE's uplink non-GBR bearer data stream. Including the following steps:
  • Step 701 The GwU receiving instance receives the uplink data packet.
  • the uplink packet is identified as a user plane data GTPU packet, and the forwarding table is found to find a corresponding GwU service instance of the user service.
  • Step 702 The GwU receiving instance forwards the data stream to the found corresponding GwU service instance.
  • Step 703 The GwU service instance performs bearer forwarding table matching according to the TEIDU, and performs internal quintuple matching after decapsulating the data. If the corresponding flow table and policy are matched, step 710 is performed.
  • Step 704 If the current flow table and the policy are not matched, a new flow table is created, and the data packet is forwarded to the GwU DPI instance to identify the application information of the data flow.
  • Step 705 After the GwU DPI instance matches the related service information according to the local signature database, the GwU DPI instance returns information such as the packet and the corresponding application identifier to the GwU service instance.
  • Step 706 The GwU service instance performs a quintuple and other TFTs according to the received application identifier. If the matching of the corresponding flow table and policy is performed, step 710 is performed; if the application identifier is not recognized (failure to match the corresponding flow table and policy), or the change occurs, the message is cached, and the step is performed. 707.
  • Step 707 The GwU service instance sends the TEIDU, the quintuple information, and the application identifier of the packet to the GwC, and obtains corresponding QoS policy and charging information.
  • Step 708 The GwC obtains the local policy according to the service identifier and the quintuple information carried in the request message, or requests the policy rule information from the external (PCRF).
  • Step 709 The GwC returns the information of the policy including the QoS, the charging, and the routing and forwarding, which is provided by the local or the external policy decision entity, such as the PCRF, to the GwU service instance for policy execution.
  • the local or the external policy decision entity such as the PCRF
  • Step 710 The GwU service instance performs a bearer-level QoS policy such as uplink gating according to the current policy (the local policy or the policy provided by the GwC), performs bearer binding, performs metering of usage statistics and usage statistics of the uplink data, and updates the traffic to the flow.
  • a bearer-level QoS policy such as uplink gating according to the current policy (the local policy or the policy provided by the GwC)
  • the current policy the local policy or the policy provided by the GwC
  • the GwC performs bearer binding
  • performs metering of usage statistics and usage statistics of the uplink data and updates the traffic to the flow.
  • the table Access the shared APN-AMBR statistics table in the shared memory of each GwU instance, perform meter measurement, and compare the current APN-AMBR subscription information of the UE. If the maximum bit rate of the non-GBR bearer of the UE under the APN is greater than the subscribed APN-AMBR, the data is subjecte
  • the data is re-encapsulated and sent according to the routing policy, such as binding bearer information. Routing and forwarding information is enhanced into the packet header to encapsulate the data packet.
  • the execution of the statistics entry between the GwU instances uses the lock mutual exclusion mechanism to ensure that only one GwU instance has permission to access or modify the statistics table.
  • Step 711 Confirm that within the APN-AMBR range allowed by the subscription, the GwU service instance sends the data packet to the next routing node or the external PDN network node according to the routing and forwarding policy of the data packet.
  • the shared data statistics table is stored in the independent GwU shared data table instance.
  • the execution of the statistics entry between the GwU service instances uses a lock mutual exclusion mechanism to ensure that there is only one GwU at the same time.
  • the instance has permission to access or modify the statistics.
  • the GwU instance in this embodiment may be a logical function entity in the actual deployment network element, or an independent actual deployment network element; or may be a virtualization function device or a processor in the function device, or It is a network slice or micro service that is virtualized. This application is not limited.
  • this example corresponds to the non-roaming scenario.
  • the UE accesses the 3GPP network and creates a default bearer after activation.
  • the user session table and bearer forwarding table are established for the user on the GwU.
  • the user is obtained and saved on the GwC.
  • GwU performs APN-AMBR-based bandwidth control on the downlink non-GBR bearer data stream, including The following steps:
  • Step 801 The GwU receiving instance receives the downlink data packet.
  • Step 802 The GwU receiving instance identifies that the data packet is a downlink packet, and finds a corresponding GwU service instance of the user service according to the IP lookup forwarding table.
  • Step 803 The GwU receiving instance forwards the data packet to the GwU service instance corresponding to the forwarding table.
  • Step 804 The GwU service instance matches the user session table according to the IP and virtual route forwarding table VRF, and performs quintuple matching. If the downlink data packet matches the flow table, it is determined according to the flag in the flow table whether to send to the GwU DPI instance for further analysis. If the GwU DPI instance needs to be sent for further analysis, step 805 is performed; if the corresponding flow table and policy are matched, and the GwU DPI instance is not required to be further analyzed, step 811 is performed. If the corresponding flow table is not matched, the flow table is created, the message is cached, and step 808 is performed.
  • Step 805 If the current flow table is matched, but the GwU DPI is further analyzed according to the flag in the flow table, the packet is buffered, and the key information of the data packet is sent to the GwU DPI instance to perform information identification and the like of the data flow. Identification.
  • Step 806 After the GwU DPI instance matches the related service information according to the local feature database, The information such as the report and the corresponding application identifier are sent to the GwU service instance.
  • Step 807 The GwU service instance performs TFT matching such as quintuple according to the received application identifier. If the corresponding flow table and policy are matched, step 811 is performed. If the application identifier is unrecognized or changed, the packet is cached, and step 808 is performed. If the application identifier can be matched to the flow table to obtain a detailed policy, step 811 is performed.
  • Step 808 The GwU service instance sends a Get Processing Policy Request message to the GwC, where the request message carries the TEIDU, quintuple information, and application identifier of the packet.
  • Step 809 The GwC obtains a local policy according to the service identifier and the quintuple information carried in the request message, or requests policy rule information from an external (for example, a PCRF).
  • an external for example, a PCRF
  • Step 810 The GwC returns the information provided by the external policy decision entity, such as the QoS and the accounting, and the routing and forwarding, to the GwU service instance, and performs the policy execution.
  • the external policy decision entity such as the QoS and the accounting
  • Step 811 The GwU service instance performs a bearer-level QoS policy such as a downlink gating according to the current policy (the local policy or the policy provided by the GwC), performs bearer binding, performs metering of usage statistics and usage statistics of the downlink data, and updates the traffic to the flow.
  • a bearer-level QoS policy such as a downlink gating according to the current policy (the local policy or the policy provided by the GwC)
  • the current policy the local policy or the policy provided by the GwC
  • the GwC performs bearer binding
  • performs metering of usage statistics and usage statistics of the downlink data and updates the traffic to the flow.
  • the table Access the shared APN-AMBR statistics table in the shared memory of each GwU instance, perform meter measurement, and compare the current APN-AMBR subscription information of the UE. If the maximum bit rate of the non-GBR bearer of the UE under the APN is greater than the subscribed APN-AMBR, the
  • the data is re-encapsulated and sent according to the routing policy, such as binding bearer information. Routing and forwarding information is enhanced into the packet header to encapsulate the data packet.
  • the execution of the statistics entry between the GwU instances uses the lock mutual exclusion mechanism to ensure that only one GwU instance has permission to access or modify the statistics table.
  • Step 812 Confirm that the GwU service instance delivers the data packet according to the routing and forwarding policy of the data packet in the range of the APN-AMBR allowed by the subscription.
  • the shared data statistics table is stored in the shared memory of each GwU instance, and the execution of the statistics entry between the GwU service instances is performed by using the lock mutual exclusion.
  • the mechanism ensures that only one GwU instance has permission to access or modify the statistics table at the same time.
  • the GwU instance in this embodiment may be a logical function entity in the actual deployment network element, or an independent actual deployment network element; or may be a virtualization function device or a processor in the function device, or It is a network slice or micro service that is virtualized. This application is not limited.
  • the GwU may be forwarded by direct data forwarding or by defining a new interface, which is not limited in this application.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented by the processor to implement the above method for realizing access point bandwidth limitation.
  • the method and device for implementing the bandwidth limitation of the access point are used to establish a shared access point aggregation maximum bit rate APN-AMBR statistics table for multiple gateway user plane GwU modules, and the GwU module accesses when receiving the data packet.
  • the shared APN-AMBR statistics table of the user equipment corresponding to the data packet in the current access point according to the current data packet measurement information and the APN-AMBR value obtained by accessing the shared APN-AMBR statistics table, the user equipment is currently
  • the APN-AMBR under the access point performs statistics, and performs APN-AMBR-based bandwidth control according to the statistics.
  • bandwidth control can be accurately performed in the gateway control plane and the user plane separation architecture, and the APN secured by the network according to the user is guaranteed.
  • -AMBR performs correct bandwidth limits and data flow gating restrictions.
  • the embodiment of the invention can accurately perform bandwidth control in the gateway control plane and the user plane separation architecture, and ensure that the network performs correct bandwidth limitation and data flow gating restriction according to the APN-AMBR subscribed by the user.

Abstract

Disclosed herein is a method for throttling a bandwidth of an access point, the method comprising: establishing a shared access point name-aggregate maximum bit rate (APN-AMBR) statistical table for a plurality of gateway user (GwU) modules; after a GwU module receives a data packet, accessing the shared APN-AMBR statistical table of a user equipment corresponding to the data packet under a current access point; compiling statistics on the APN-AMBR of the user equipment under the current access point according to measurement information of the current data packet and an APN-AMBR value obtained by accessing the shared APN-AMBR statistical table; and performing APN-AMBR-based bandwidth throttling according to the statistics results.

Description

一种实现接入点带宽限制的方法和装置Method and device for realizing access point bandwidth limitation 技术领域Technical field
本申请涉及但不限于无线通信技术领域,尤指一种实现接入点带宽限制的方法和装置。The present application relates to, but is not limited to, the field of wireless communication technologies, and in particular, to a method and apparatus for implementing access point bandwidth limitation.
背景技术Background technique
如图1所示,第三代合作伙伴计划(3GPP,3rd Generation Partnership Project)演进分组系统(EPS,Evolved Packet System)由演进的通用移动通信系统陆地无线接入网(E-UTRAN,Evolved Universal Terrestrial Radio Access Network)、移动管理单元(MME,Mobility Management Entity)、服务网关(S-GW,Serving Gateway)、分组数据网络网关(PDN GW或P-GW,Packet Data Network Gateway)、归属用户服务器(HSS,Home Subscriber Server)、3GPP的认证授权计费(AAA,Authentication、Authorization and Accounting)服务器、策略和计费规则功能实体(PCRF,Policy and Charging Rules Function)及其它支撑节点组成。As shown in FIG. 1, the 3rd Generation Partnership Project (EPS) Evolved Packet System (EPS) is an evolved universal mobile communication system terrestrial radio access network (E-UTRAN, Evolved Universal Terrestrial) Radio Access Network), Mobility Management Entity (MME), Serving Gateway (S-GW), Packet Data Network Gateway (PDN GW or P-GW, Packet Data Network Gateway), Home Subscriber Server (HSS) , Home Subscriber Server), 3GPP Authentication, Authorization and Accounting (AAA), Policy and Charging Rules Function (PCRF) and other supporting nodes.
其中,MME用于移动性管理、非接入层信令的处理和用户移动管理上下文的管理等控制面相关工作;S-GW是与E-UTRAN相连的接入网关设备,在E-UTRAN与P-GW之间转发数据,并且用于对寻呼等待数据进行缓存;P-GW则是EPS与PDN的边界网关,用于PDN的接入及在EPS与PDN间转发数据等功能。PCRF负责策略决策和计费规则的制定,提供基于业务数据流的门控、服务质量控制及计费规则给网关,在承载面执行PCRF所制定的策略和计费规则。在承载建立时,网关按照PCRF发送的规则进行QoS(Quality of Service,服务质量)授权和门控控制。根据PCRF发送的计费规则,执行相应的业务数据流计费操作。The MME is used for control plane related operations such as mobility management, non-access stratum signaling processing, and user mobility management context management; the S-GW is an access gateway device connected to the E-UTRAN, in the E-UTRAN and The P-GW forwards data and buffers the paging waiting data. The P-GW is a border gateway between the EPS and the PDN, and is used for PDN access and forwarding data between the EPS and the PDN. The PCRF is responsible for the formulation of policy decisions and charging rules, providing gating, quality of service control, and charging rules based on service data flows to the gateway, and executing the policies and charging rules established by the PCRF on the bearer plane. When the bearer is established, the gateway performs QoS (Quality of Service) authorization and gating control according to the rules sent by the PCRF. The corresponding service data flow charging operation is performed according to the charging rule sent by the PCRF.
在EPS系统中,网关的控制面与转发面高度耦合,不利于核心网平滑演进。因此,可以将分组域网关中的控制功能与转发功能进一步分离,以适应网络发展和市场应用的需求。 In the EPS system, the control plane of the gateway is highly coupled with the forwarding plane, which is not conducive to the smooth evolution of the core network. Therefore, the control functions and forwarding functions in the packet domain gateway can be further separated to meet the needs of network development and market applications.
图2是一种非漫游场景下网关控制面和用户面分离的架构。该架构将原先的EPS架构中的S-GW和P-GW拆分成了GwC(Gateway Controller,网关控制面)和GwU(Gateway User,网关用户面)两类功能网元。GwC负责S-GW和P-GW的控制面功能,包括负荷分担、GwU的选择、IP地址和隧道标识的分配、策略和计费控制等功能。GwU负责S-GW和P-GW的用户面相关功能,包括数据流识别和深度包解析、QoS处理和承载绑定,下行寻呼数据的缓存等功能。2 is an architecture of a gateway control plane and a user plane separated in a non-roaming scenario. The architecture splits the S-GW and the P-GW in the original EPS architecture into two functional network elements: GwC (Gateway Controller) and GwU (Gateway User). GwC is responsible for the control plane functions of S-GW and P-GW, including load sharing, GwU selection, IP address and tunnel identification assignment, policy and charging control. GwU is responsible for user plane related functions of S-GW and P-GW, including data stream identification and deep packet parsing, QoS processing and bearer binding, and buffering of downlink paging data.
UE(User Equipment,用户设备)为了访问分组数据网络(PDN,Packet Data Network),会建立一个IP连接接入网(IP-CAN,IP Connectivity Access Network)会话的PDN连接。PDN连接由承载组成,承载由业务数据流组成。网络按相应授权的QoS为其业务数据流提供数据传输的网络资源,在同一个承载内的业务数据流具有相同的QoS参数,即相同的承载QoS特性。相关的QoS参数包括承载级别的QoS分类标识(QoS Class Identifier,QCI)、资源分配和保留优先级(Allocation and Retention Priority,ARP)、保障带宽GBR(Guaranteed Bit Rate)和最大带宽MBR(Maximum Bit Rate),以及多个EPS承载汇聚相关的QoS参数UE-AMBR(User Equipment Aggregate Maximum Bit Rate,用户设备聚合最大比特率(用户设备最大带宽))和APN-AMBR(Access Point Node Aggregate Maximum Bit Rate,接入点聚合最大比特率(接入点最大带宽))。In order to access a Packet Data Network (PDN), a UE (User Equipment) establishes a PDN connection of an IP-Connected Access Network (IP-CAN) session. A PDN connection consists of a bearer, and a bearer consists of a service data stream. The network provides network resources for data transmission for its service data flow according to the corresponding authorized QoS, and the service data flows in the same bearer have the same QoS parameters, that is, the same bearer QoS characteristics. Related QoS parameters include QoS Class Identifier (QCI), Resource Allocation and Retention Priority (ARP), Guaranteed Band Rate (GBR), and Maximum Bit Rate (MBR). And the QoS parameters UE-AMBR (User Equipment Aggregate Maximum Bit Rate) and the APN-AMBR (Access Point Node Aggregate Maximum Bit Rate) Inbound aggregation maximum bit rate (access point maximum bandwidth)).
承载分为GBR承载和non-GBR承载:GBR承载包含MBR和GBR,是保障最低带宽的承载;non-GBR承载只包含MBR,是提供尽力而为带宽的承载。当UE附着到网络建立PDN连接后,会建立默认承载,对QoS要求更高的数据业务会建立专有承载。通常专有承载QoS比默认承载QoS要求高。默认承载一定是Non-GBR承载。专用承载可以是GBR承载或Non-GBR承载。The bearer is divided into a GBR bearer and a non-GBR bearer: the GBR bearer includes the MBR and the GBR, which is the bearer that guarantees the lowest bandwidth; the non-GBR bearer only includes the MBR, and is the bearer that provides the best effort bandwidth. When the UE attaches to the network to establish a PDN connection, a default bearer is established, and a dedicated bearer is established for the data service with higher QoS requirements. Usually the proprietary bearer QoS is higher than the default bearer QoS requirement. The default bearer must be a Non-GBR bearer. The dedicated bearer can be a GBR bearer or a Non-GBR bearer.
APN-AMBR是存储在HSS中的每个APN的一个签约参数。该参数限制了同一个APN下,所有PDN连接的non-GBR承载的最大比特率。每个non-GBR承载都有可能占用到全部APN-AMBR带宽,例如当其他non-GBR承载没有任何数据流量时。APN-AMBR只针对non-GBR承载,不包括GBR 承载在内。P-GW会根据HSS中签约的APN-AMBR数值,对该APN下的所有PDN连接的non-GBR承载的上行和下行数据流执行带宽限制。一个UE相同APN上的所有同时激活的PDN连接,在同一个PGW上。即,即使UE支持单APN多PDN连接功能,该UE的所有同时激活的关联到相同APN下的PDN连接,也由同一个PGW提供。因此,当前的APN-AMBR只要在该APN对应的P-GW上执行即可。APN-AMBR is a subscription parameter for each APN stored in the HSS. This parameter limits the maximum bit rate of non-GBR bearers for all PDN connections under the same APN. Each non-GBR bearer may occupy all APN-AMBR bandwidths, for example when other non-GBR bearers do not have any data traffic. APN-AMBR only targets non-GBR bearers, excluding GBR Carrying. The P-GW performs bandwidth limitation on the uplink and downlink data flows of the non-GBR bearers connected to all PDNs in the APN according to the APN-AMBR value signed in the HSS. All simultaneously activated PDN connections on the same APN of one UE are on the same PGW. That is, even if the UE supports the single APN multi-PDN connection function, all simultaneously activated associations of the UE to the PDN connection under the same APN are also provided by the same PGW. Therefore, the current APN-AMBR only needs to be executed on the P-GW corresponding to the APN.
但对于网关控制面和用户面分离的架构,P-GW分为了多个GwC实例和多个GwU实例,由于存在多个会话和多个承载的问题,GwU上的数据流分发无法保证将同一个用户同一APN下的所有PDN连接分发到同一个GwU实例,例如,部分UE采用静态地址,如果该部分的IP段已经捆绑到相应的GTPU(GPRS Tunnel Protocol User Plane,GPRS隧道协议用户面)节点,即该部分的IP段对应到相应的GwU实例,但该部分UE在GTP(GPRS Tunnel Protocol,GPRS隧道协议)和PMIP(Proxy Mobile IP,代理移动IP)协议之间进行了切换,UE前后选择的可能是两个GwU实例,因此APN-AMBR无法在同一个GwU上执行带宽统计和限制。However, for the architecture of the gateway control plane and the user plane separation, the P-GW is divided into multiple GwC instances and multiple GwU instances. Due to the problem of multiple sessions and multiple bearers, the data flow distribution on the GwU cannot be guaranteed to be the same. All PDN connections of the same APN are distributed to the same GwU instance. For example, some UEs use static addresses. If the IP segment of the part is bound to the corresponding GTPU (GPRS Tunnel Protocol User Plane) node, That is, the IP segment of the part corresponds to the corresponding GwU instance, but the part of the UE is switched between the GTP (GPRS Tunnel Protocol) and the PMIP (Proxy Mobile IP) protocol, and the UE selects before and after. It may be two GwU instances, so APN-AMBR cannot perform bandwidth statistics and restrictions on the same GwU.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本文提供一种实现接入点带宽限制的方法和装置,能够在网关控制面和用户面分离架构中准确执行基于接入点聚合最大比特率APN-AMBR的带宽控制。The present invention provides a method and apparatus for implementing access point bandwidth limitation, which can accurately perform bandwidth control based on an access point aggregation maximum bit rate APN-AMBR in a gateway control plane and a user plane separation architecture.
一种实现接入点带宽限制的方法,该方法包括:A method for implementing bandwidth limitation of an access point, the method comprising:
为多个网关用户面GwU模块建立共享接入点聚合最大比特率APN-AMBR统计表;Establishing a shared access point aggregation maximum bit rate APN-AMBR statistical table for multiple gateway user plane GwU modules;
GwU模块在接收到数据包时,访问该数据包对应的用户设备在当前接入点下的共享APN-AMBR统计表,根据当前数据包的测量信息以及访问所述共享APN-AMBR统计表获得的APN-AMBR值对该用户设备在当前接入 点下的APN-AMBR进行统计,根据统计结果进行基于APN-AMBR的带宽控制。When receiving the data packet, the GwU module accesses the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point, and obtains according to the measurement information of the current data packet and the access to the shared APN-AMBR statistics table. APN-AMBR value is currently accessed by the user equipment The APN-AMBR is used for statistics, and the bandwidth control based on APN-AMBR is performed according to the statistical result.
在一个实施例中,所述为多个GwU模块建立共享接入点聚合最大比特率APN-AMBR统计表,包括:In an embodiment, the establishing a shared access point aggregation maximum bit rate APN-AMBR statistics table for multiple GwU modules includes:
在独立的GwU实例中建立所述共享APN-AMBR统计表,或者在多个GwU实例的共享内存中建立所述共享APN-AMBR统计表。The shared APN-AMBR statistics table is established in an independent GwU instance, or the shared APN-AMBR statistics table is established in a shared memory of multiple GwU instances.
在一个实施例中,GwU模块之间采用锁互斥机制访问或修改所述共享APN-AMBR统计表,同一时刻只有一个GwU模块有权限访问或修改所述共享APN-AMBR统计表。In an embodiment, the shared APN-AMBR statistics table is accessed or modified by the GwU module. Only one GwU module has the right to access or modify the shared APN-AMBR statistics table at the same time.
在一个实施例中,GwU模块中存在一个或多个GwU实例,每一个GwU实例处理多个用户设备的业务数据,多个GwU实例共享APN-AMBR统计表;一个网关控制面GwC模块下存在一个或多个GwU模块。In one embodiment, one or more GwU instances exist in the GwU module, each GwU instance processes service data of multiple user equipments, and multiple GwU instances share an APN-AMBR statistics table; one gateway control plane exists under the GwC module. Or multiple GwU modules.
在一个实施例中,所述GwU模块在接收到数据包时访问该数据包对应的用户设备在当前接入点下的共享APN-AMBR统计表,根据当前数据包的测量信息以及访问所述共享APN-AMBR统计表获得的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,根据统计结果进行基于APN-AMBR的带宽控制,包括:In an embodiment, the GwU module accesses the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point when receiving the data packet, according to the measurement information of the current data packet, and accessing the sharing. The APN-AMBR value obtained by the APN-AMBR statistic is used to collect statistics on the APN-AMBR of the user equipment at the current access point, and the bandwidth control based on the APN-AMBR is performed according to the statistical result, including:
GwU业务实例在接收到数据包时向独立的GwU共享数据表实例发送访问共享APN-AMBR统计表的请求,其中携带要访问的共享APN-AMBR统计表的标识,以及当前数据包的测量信息;When receiving the data packet, the GwU service instance sends a request for accessing the shared APN-AMBR statistics table to the independent GwU shared data table instance, where the identifier of the shared APN-AMBR statistics table to be accessed, and the measurement information of the current data packet are carried;
所述GwU共享数据表实例接收到所述访问共享APN-AMBR统计表的请求后,根据当前数据包的测量信息以及所述共享APN-AMBR统计表中记录的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,如统计后的APN-AMBR值小于或等于该用户设备的签约值,则决策允许转发数据包,如统计后的APN-AMBR值大于该用户设备的签约值,则决策丢弃数据包,向所述GwU业务实例返回响应消息,其中携带决策指示信息;After receiving the request for accessing the shared APN-AMBR statistics table, the GwU shared data table instance is in the user equipment according to the measurement information of the current data packet and the APN-AMBR value recorded in the shared APN-AMBR statistics table. The APN-AMBR of the current access point performs statistics. If the APN-AMBR value is less than or equal to the subscription value of the user equipment, the decision is made to allow the data packet to be forwarded. For example, the APN-AMBR value after the statistics is greater than the user equipment. The contract value is used to decide to discard the data packet, and return a response message to the GwU service instance, where the decision indication information is carried;
所述GwU业务实例接收到所述GwU共享数据表实例返回的响应消息 后,根据所述响应消息中携带的决策指示信息对数据包进行转发或丢弃;Receiving, by the GwU service instance, a response message returned by the GwU shared data table instance Afterwards, forwarding or discarding the data packet according to the decision indication information carried in the response message;
其中,所述共享APN-AMBR统计表中记录每一个用户设备在接入点下的APN-AMBR值。The shared APN-AMBR statistics table records the APN-AMBR value of each user equipment under the access point.
在一个实施例中,所述GwU模块在接收到数据包时访问该数据包对应的用户设备在当前接入点下的共享APN-AMBR统计表,根据当前数据包的测量信息以及访问所述共享APN-AMBR统计表获得的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,根据统计结果进行基于APN-AMBR的带宽控制,包括:In an embodiment, the GwU module accesses the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point when receiving the data packet, according to the measurement information of the current data packet, and accessing the sharing. The APN-AMBR value obtained by the APN-AMBR statistic is used to collect statistics on the APN-AMBR of the user equipment at the current access point, and the bandwidth control based on the APN-AMBR is performed according to the statistical result, including:
GwU业务实例访问共享内存中保存的共享APN-AMBR统计表,根据当前数据包的测量信息以及所述共享APN-AMBR统计表中记录的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,如统计后的APN-AMBR值小于或等于该用户设备的签约值,则转发数据包,如统计后的APN-AMBR值大于该用户设备的签约值,则丢弃数据包;The GwU service instance accesses the shared APN-AMBR statistics table stored in the shared memory, and the user equipment is under the current access point according to the measurement information of the current data packet and the APN-AMBR value recorded in the shared APN-AMBR statistics table. The APN-AMBR performs statistics. If the APN-AMBR value is less than or equal to the subscription value of the user equipment, the data packet is forwarded. If the APN-AMBR value is greater than the subscription value of the user equipment, the data packet is discarded.
其中,所述共享APN-AMBR统计表中记录每一个用户设备在接入点下的APN-AMBR值。The shared APN-AMBR statistics table records the APN-AMBR value of each user equipment under the access point.
一种实现接入点带宽限制的装置,包括:A device for implementing bandwidth limitation of an access point, comprising:
设置模块,设置为为多个网关用户面GwU模块建立共享接入点聚合最大比特率APN-AMBR统计表;Setting a module, configured to establish a shared access point aggregation maximum bit rate APN-AMBR statistical table for multiple gateway user plane GwU modules;
带宽控制模块,设置为GwU模块在接收到数据包时访问该数据包对应的用户设备在当前接入点下的共享APN-AMBR统计表,根据当前数据包的测量信息以及访问所述共享APN-AMBR统计表获得的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,根据统计结果进行基于APN-AMBR的带宽控制。The bandwidth control module is configured to: when the GwU module receives the data packet, access the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point, according to the measurement information of the current data packet and accessing the shared APN- The APN-AMBR value obtained by the AMBR statistics table counts the APN-AMBR of the user equipment at the current access point, and performs bandwidth control based on the APN-AMBR according to the statistical result.
在一个实施例中,设置模块,设置为:In one embodiment, the setup module is set to:
在独立的GwU实例中建立所述共享APN-AMBR统计表,或者在多个GwU实例的共享内存中建立所述共享APN-AMBR统计表。The shared APN-AMBR statistics table is established in an independent GwU instance, or the shared APN-AMBR statistics table is established in a shared memory of multiple GwU instances.
在一个实施例中,GwU模块之间采用锁互斥机制访问或修改所述共享APN-AMBR统计表,同一时刻只有一个GwU模块有权限访问或修改所述 共享APN-AMBR统计表。In an embodiment, the GWU module uses a lock mutual exclusion mechanism to access or modify the shared APN-AMBR statistics table, and only one GwU module has permission to access or modify the same time. Share the APN-AMBR statistics table.
在一个实施例中,GwU模块中存在一个或多个GwU实例,每一个GwU实例处理多个用户设备的业务数据,多个GwU实例共享APN-AMBR统计表;一个网关控制面GwC模块下存在一个或多个GwU模块。In one embodiment, one or more GwU instances exist in the GwU module, each GwU instance processes service data of multiple user equipments, and multiple GwU instances share an APN-AMBR statistics table; one gateway control plane exists under the GwC module. Or multiple GwU modules.
在一个实施例中,带宽控制模块,设置为:In one embodiment, the bandwidth control module is configured to:
GwU业务实例在接收到数据包时向独立的GwU共享数据表实例发送访问共享APN-AMBR统计表的请求,其中携带要访问的共享APN-AMBR统计表的标识,以及当前数据包的测量信息;When receiving the data packet, the GwU service instance sends a request for accessing the shared APN-AMBR statistics table to the independent GwU shared data table instance, where the identifier of the shared APN-AMBR statistics table to be accessed, and the measurement information of the current data packet are carried;
所述GwU共享数据表实例接收到所述访问共享APN-AMBR统计表的请求后,根据当前数据包的测量信息以及所述共享APN-AMBR统计表中记录的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,如统计后的APN-AMBR值小于或等于该用户设备的签约值,则决策允许转发数据包,如统计后的APN-AMBR值大于该用户设备的签约值,则决策丢弃数据包,向所述GwU业务实例返回响应消息,其中携带决策指示信息;After receiving the request for accessing the shared APN-AMBR statistics table, the GwU shared data table instance is in the user equipment according to the measurement information of the current data packet and the APN-AMBR value recorded in the shared APN-AMBR statistics table. The APN-AMBR of the current access point performs statistics. If the APN-AMBR value is less than or equal to the subscription value of the user equipment, the decision is made to allow the data packet to be forwarded. For example, the APN-AMBR value after the statistics is greater than the user equipment. The contract value is used to decide to discard the data packet, and return a response message to the GwU service instance, where the decision indication information is carried;
所述GwU业务实例接收到所述GwU共享数据表实例返回的响应消息后,根据所述响应消息中携带的决策指示信息对数据包进行转发或丢弃;After receiving the response message returned by the GwU shared data table instance, the GwU service instance forwards or discards the data packet according to the decision indication information carried in the response message;
其中,所述共享APN-AMBR统计表中记录每一个用户设备在接入点下的APN-AMBR值。The shared APN-AMBR statistics table records the APN-AMBR value of each user equipment under the access point.
在一个实施例中,带宽控制模块,设置为:In one embodiment, the bandwidth control module is configured to:
GwU业务实例访问共享内存中保存的共享APN-AMBR统计表,根据当前数据包的测量信息以及所述共享APN-AMBR统计表中记录的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,如统计后的APN-AMBR值小于或等于该用户设备的签约值,则转发数据包,如统计后的APN-AMBR值大于该用户设备的签约值,则丢弃数据包;The GwU service instance accesses the shared APN-AMBR statistics table stored in the shared memory, and the user equipment is under the current access point according to the measurement information of the current data packet and the APN-AMBR value recorded in the shared APN-AMBR statistics table. The APN-AMBR performs statistics. If the APN-AMBR value is less than or equal to the subscription value of the user equipment, the data packet is forwarded. If the APN-AMBR value is greater than the subscription value of the user equipment, the data packet is discarded.
其中,所述共享APN-AMBR统计表中记录每一个用户设备在接入点下的APN-AMBR值。The shared APN-AMBR statistics table records the APN-AMBR value of each user equipment under the access point.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执 行指令被处理器执行时实现上述方法。A computer readable storage medium storing computer executable instructions, the computer being executable The above method is implemented when the line instruction is executed by the processor.
本发明实施例提供的一种实现接入点带宽限制的方法和装置,为多个网关用户面GwU模块建立共享接入点聚合最大比特率APN-AMBR统计表,GwU模块在接收到数据包时,访问该数据包对应的用户设备在当前接入点下的共享APN-AMBR统计表,根据当前数据包的测量信息以及访问所述共享APN-AMBR统计表获得的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,根据统计结果进行基于APN-AMBR的带宽控制,本发明实施例能够在网关控制面和用户面分离架构中准确执行带宽控制,保障网络按照用户签约的APN-AMBR进行正确的带宽限制和数据流门控限制。A method and device for implementing bandwidth limitation of an access point according to an embodiment of the present invention, for establishing a maximum access rate aggregation APN-AMBR statistics table for a plurality of gateway user plane GwU modules, when the GwU module receives a data packet Accessing the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point, and the user equipment according to the current data packet measurement information and the APN-AMBR value obtained by accessing the shared APN-AMBR statistics table The APN-AMBR under the current access point performs statistics, and the APN-AMBR-based bandwidth control is performed according to the statistics. In this embodiment of the present invention, bandwidth control can be accurately performed in the gateway control plane and the user plane separation architecture, and the network is guaranteed to be contracted according to the user. The APN-AMBR performs the correct bandwidth limitation and data flow gating restrictions.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为相关技术中3GPP演进分组系统结构示意图。FIG. 1 is a schematic structural diagram of a 3GPP evolved packet system in the related art.
图2为非漫游场景下网关控制面和用户面分离的架构示意图。FIG. 2 is a schematic structural diagram of separation of a gateway control plane and a user plane in a non-roaming scenario.
图3为本发明实施例的一种实现接入点带宽限制的方法的流程图。FIG. 3 is a flowchart of a method for implementing bandwidth limitation of an access point according to an embodiment of the present invention.
图4为本发明实施例的一种实现接入点带宽限制的装置的示意图。FIG. 4 is a schematic diagram of an apparatus for implementing bandwidth limitation of an access point according to an embodiment of the present invention.
图5为本发明示例一对上行数据流的带宽限制信息交互示意图(共享实例)。FIG. 5 is a schematic diagram (shared example) of bandwidth restriction information interaction of a pair of uplink data streams according to an example of the present invention.
图6为本发明示例二对下行数据流的带宽限制信息交互示意图(共享实例)。FIG. 6 is a schematic diagram (shared example) of bandwidth restriction information interaction of a second pair of downlink data streams according to an example of the present invention.
图7为本发明示例三对上行数据流的带宽限制信息交互示意图(共享内存)。FIG. 7 is a schematic diagram (shared memory) of bandwidth limitation information interaction of an example three pairs of uplink data streams according to an example of the present invention.
图8为本发明示例四对下行数据流的带宽限制信息交互示意图(共享内存)。FIG. 8 is a schematic diagram of a bandwidth restriction information interaction (shared memory) of an example four pairs of downlink data streams according to the present invention.
本发明的实施方式 Embodiments of the invention
下文中将结合附图对本发明的实施例进行详细说明。在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The embodiments in the present application and the features in the embodiments may be arbitrarily combined with each other without conflict.
如图3所示,本发明实施例提供了一种实现接入点带宽限制的方法,该方法包括:As shown in FIG. 3, an embodiment of the present invention provides a method for implementing bandwidth limitation of an access point, where the method includes:
S301,为多个网关用户面GwU模块建立共享接入点聚合最大比特率APN-AMBR统计表;S301. Establish a shared access point aggregation maximum bit rate APN-AMBR statistics table for multiple gateway user plane GwU modules.
S302,GwU模块在接收到数据包时,访问该数据包对应的用户设备在当前接入点下的共享APN-AMBR统计表,根据当前数据包的测量信息以及访问所述共享APN-AMBR统计表获得的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,根据统计结果进行基于APN-AMBR的带宽控制;S302. When receiving the data packet, the GwU module accesses the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point, according to the measurement information of the current data packet, and accesses the shared APN-AMBR statistics table. The obtained APN-AMBR value is used to collect statistics on the APN-AMBR of the user equipment at the current access point, and perform bandwidth control based on the APN-AMBR according to the statistical result.
其中,所述为多个GwU模块建立共享接入点聚合最大比特率APN-AMBR统计表,包括:The method for establishing a shared access point aggregation maximum bit rate APN-AMBR statistics table for multiple GwU modules includes:
在独立的GwU实例中建立所述共享APN-AMBR统计表,或者在多个GwU实例的共享内存中建立所述共享APN-AMBR统计表;Establishing the shared APN-AMBR statistic table in an independent GwU instance, or establishing the shared APN-AMBR statistic table in a shared memory of multiple GwU instances;
其中,所述共享APN-AMBR统计表中记录每一个用户设备在接入点下的APN-AMBR值;The shared APN-AMBR statistics table records the APN-AMBR value of each user equipment under the access point.
其中,所述GwU模块在接收到数据包时访问该数据包对应的用户设备在当前接入点下的共享APN-AMBR统计表,根据当前数据包的测量信息以及访问所述共享APN-AMBR统计表获得的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,根据统计结果进行基于APN-AMBR的带宽控制,包括:The GwU module accesses the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point when receiving the data packet, according to the measurement information of the current data packet and accessing the shared APN-AMBR statistics. The APN-AMBR value obtained by the table is used to collect statistics on the APN-AMBR of the user equipment at the current access point, and the bandwidth control based on the APN-AMBR is performed according to the statistics, including:
GwU业务实例在接收到数据包时向独立的GwU共享数据表实例发送访问共享APN-AMBR统计表的请求,其中携带要访问的共享APN-AMBR统计表的标识,以及当前数据包的测量信息;When receiving the data packet, the GwU service instance sends a request for accessing the shared APN-AMBR statistics table to the independent GwU shared data table instance, where the identifier of the shared APN-AMBR statistics table to be accessed, and the measurement information of the current data packet are carried;
所述GwU共享数据表实例接收到所述访问共享APN-AMBR统计表的请求后,根据当前数据包的测量信息以及所述共享APN-AMBR统计表中记 录的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,如统计后的APN-AMBR值小于该用户设备的签约值,则决策允许转发数据包,如统计后的APN-AMBR值大于或等于该用户设备的签约值,则决策丢弃数据包,向所述GwU业务实例返回响应消息,其中携带决策指示信息;After receiving the request for accessing the shared APN-AMBR statistics table, the GwU shared data table instance is based on the measurement information of the current data packet and the record in the shared APN-AMBR statistics table. The recorded APN-AMBR value is used to count the APN-AMBR of the user equipment at the current access point. If the APN-AMBR value after the statistics is smaller than the subscription value of the user equipment, the decision is allowed to forward the data packet, such as after statistics. If the APN-AMBR value is greater than or equal to the subscription value of the user equipment, the data packet is discarded, and the response message is returned to the GwU service instance, where the decision indication information is carried;
所述GwU业务实例接收到所述GwU共享数据表实例返回的响应消息后,根据所述响应消息中携带的决策指示信息对数据包进行转发或丢弃;After receiving the response message returned by the GwU shared data table instance, the GwU service instance forwards or discards the data packet according to the decision indication information carried in the response message;
其中,所述GwU模块在接收到数据包时访问该数据包对应的用户设备在当前接入点下的共享APN-AMBR统计表,根据当前数据包的测量信息以及访问所述共享APN-AMBR统计表获得的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,根据统计结果进行基于APN-AMBR的带宽控制,包括:The GwU module accesses the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point when receiving the data packet, according to the measurement information of the current data packet and accessing the shared APN-AMBR statistics. The APN-AMBR value obtained by the table is used to collect statistics on the APN-AMBR of the user equipment at the current access point, and the bandwidth control based on the APN-AMBR is performed according to the statistics, including:
GwU业务实例访问共享内存中保存的共享APN-AMBR统计表,根据当前数据包的测量信息以及所述共享APN-AMBR统计表中记录的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,如统计后的APN-AMBR值小于或等于该用户设备的签约值,则转发数据包,如统计后的APN-AMBR值大于该用户设备的签约值,则丢弃数据包;The GwU service instance accesses the shared APN-AMBR statistics table stored in the shared memory, and the user equipment is under the current access point according to the measurement information of the current data packet and the APN-AMBR value recorded in the shared APN-AMBR statistics table. The APN-AMBR performs statistics. If the APN-AMBR value is less than or equal to the subscription value of the user equipment, the data packet is forwarded. If the APN-AMBR value is greater than the subscription value of the user equipment, the data packet is discarded.
其中,GwU模块之间采用锁互斥机制访问或修改所述共享APN-AMBR统计表,同一时刻只有一个GwU模块有权限访问或修改所述共享APN-AMBR统计表;The GwU module uses a lock mutual exclusion mechanism to access or modify the shared APN-AMBR statistics table. Only one GwU module has the right to access or modify the shared APN-AMBR statistics table at the same time;
其中,GwU模块中存在一个或多个GwU实例,每一个GwU实例处理多个用户设备的业务数据,多个GwU实例共享APN-AMBR统计表;一个网关控制面GwC模块下存在一个或多个GwU模块;One or more GwU instances exist in the GwU module. Each GwU instance processes service data of multiple user equipments. Multiple GwU instances share the APN-AMBR statistics table. One GwU module has one or more GwUs under the GwC module. Module
如图4所示,本发明实施例提供了一种实现接入点带宽限制的装置,包括:As shown in FIG. 4, an embodiment of the present invention provides an apparatus for implementing bandwidth limitation of an access point, including:
设置模块401,设置为为多个网关用户面GwU模块建立共享接入点聚合最大比特率APN-AMBR统计表; The setting module 401 is configured to establish a shared access point aggregation maximum bit rate APN-AMBR statistics table for the plurality of gateway user plane GwU modules;
带宽控制模块402,设置为GwU模块在接收到数据包时访问该数据包对应的用户设备在当前接入点下的共享APN-AMBR统计表,根据当前数据包的测量信息以及访问所述共享APN-AMBR统计表获得的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,根据统计结果进行基于APN-AMBR的带宽控制。The bandwidth control module 402 is configured to: when the GwU module receives the data packet, access the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point, according to the measurement information of the current data packet, and access the shared APN. The APN-AMBR value obtained by the -AMBR statistic is used to collect statistics on the APN-AMBR of the user equipment at the current access point, and the bandwidth control based on the APN-AMBR is performed according to the statistical result.
其中,设置模块401,设置为:Wherein, the setting module 401 is set to:
在独立的GwU实例中建立所述共享APN-AMBR统计表,或者在多个GwU实例的共享内存中建立所述共享APN-AMBR统计表。The shared APN-AMBR statistics table is established in an independent GwU instance, or the shared APN-AMBR statistics table is established in a shared memory of multiple GwU instances.
其中,GwU模块之间采用锁互斥机制访问或修改所述共享APN-AMBR统计表,同一时刻只有一个GwU模块有权限访问或修改所述共享APN-AMBR统计表。The GWU module uses the lock mutual exclusion mechanism to access or modify the shared APN-AMBR statistics table. Only one GwU module has the right to access or modify the shared APN-AMBR statistics table at the same time.
其中,GwU模块中存在一个或多个GwU实例,每一个GwU实例处理多个用户设备的业务数据,多个GwU实例共享APN-AMBR统计表;一个网关控制面GwC模块下存在一个或多个GwU模块。One or more GwU instances exist in the GwU module. Each GwU instance processes service data of multiple user equipments. Multiple GwU instances share the APN-AMBR statistics table. One GwU module has one or more GwUs under the GwC module. Module.
其中,带宽控制模块402,设置为:The bandwidth control module 402 is configured to:
GwU业务实例在接收到数据包时向独立的GwU共享数据表实例发送访问共享APN-AMBR统计表的请求,其中携带要访问的共享APN-AMBR统计表的标识,以及当前数据包的测量信息;When receiving the data packet, the GwU service instance sends a request for accessing the shared APN-AMBR statistics table to the independent GwU shared data table instance, where the identifier of the shared APN-AMBR statistics table to be accessed, and the measurement information of the current data packet are carried;
所述GwU共享数据表实例接收到所述访问共享APN-AMBR统计表的请求后,根据当前数据包的测量信息以及所述共享APN-AMBR统计表中记录的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,如统计后的APN-AMBR值小于或等于该用户设备的签约值,则决策允许转发数据包,如统计后的APN-AMBR值大于该用户设备的签约值,则决策丢弃数据包,向所述GwU业务实例返回响应消息,其中携带决策指示信息;After receiving the request for accessing the shared APN-AMBR statistics table, the GwU shared data table instance is in the user equipment according to the measurement information of the current data packet and the APN-AMBR value recorded in the shared APN-AMBR statistics table. The APN-AMBR of the current access point performs statistics. If the APN-AMBR value is less than or equal to the subscription value of the user equipment, the decision is made to allow the data packet to be forwarded. For example, the APN-AMBR value after the statistics is greater than the user equipment. The contract value is used to decide to discard the data packet, and return a response message to the GwU service instance, where the decision indication information is carried;
所述GwU业务实例接收到所述GwU共享数据表实例返回的响应消息后,根据所述响应消息中携带的决策指示信息对数据包进行转发或丢弃;After receiving the response message returned by the GwU shared data table instance, the GwU service instance forwards or discards the data packet according to the decision indication information carried in the response message;
其中,所述共享APN-AMBR统计表中记录每一个用户设备在接入点下 的APN-AMBR值。The shared APN-AMBR statistic table records each user equipment under the access point. APN-AMBR value.
其中,带宽控制模块402,设置为:The bandwidth control module 402 is configured to:
GwU业务实例访问共享内存中保存的共享APN-AMBR统计表,根据当前数据包的测量信息以及所述共享APN-AMBR统计表中记录的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,如统计后的APN-AMBR值小于或等于该用户设备的签约值,则转发数据包,如统计后的APN-AMBR值大于该用户设备的签约值,则丢弃数据包;The GwU service instance accesses the shared APN-AMBR statistics table stored in the shared memory, and the user equipment is under the current access point according to the measurement information of the current data packet and the APN-AMBR value recorded in the shared APN-AMBR statistics table. The APN-AMBR performs statistics. If the APN-AMBR value is less than or equal to the subscription value of the user equipment, the data packet is forwarded. If the APN-AMBR value is greater than the subscription value of the user equipment, the data packet is discarded.
其中,所述共享APN-AMBR统计表中记录每一个用户设备在接入点下的APN-AMBR值。The shared APN-AMBR statistics table records the APN-AMBR value of each user equipment under the access point.
示例一Example one
如图5所示,本示例对应于非漫游场景下,UE接入3GPP网络,激活后创建了默认承载,GwU上为该用户建立了用户会话表和承载转发表,GwC上获取并保存了用户的QoS授权信息、PCC(Policy and Charging Control,策略与计费控制)规则等策略。通过为每个GwU实例建立共享统计表(该统计表存储在独立的GwU实例中),GwU对UE上行的non-GBR承载数据流执行基于APN-AMBR的带宽控制,包括如下步骤:As shown in Figure 5, this example corresponds to the non-roaming scenario. The UE accesses the 3GPP network and creates a default bearer after activation. The user session table and bearer forwarding table are established for the user on the GwU. The user is obtained and saved on the GwC. Policies such as QoS authorization information, PCC (Policy and Charging Control) rules. By establishing a shared statistics table for each GwU instance, which is stored in a separate GwU instance, the GwU performs APN-AMBR-based bandwidth control on the non-GBR bearer data stream of the UE uplink, including the following steps:
步骤501:GwU接收实例收到上行数据包。识别出该上行报文为用户面数据GTPU(GPRS Tunnel Protocol User Plane,GPRS隧道协议用户面)报文,查转发表找到该用户业务相应的GwU业务实例。Step 501: The GwU receiving instance receives the uplink data packet. The uplink packet is identified as a GPRS Tunnel Protocol User Plane (GPRS Tunnel Protocol User Plane) message, and the forwarding table is found to find a corresponding GwU service instance of the user service.
步骤502:GwU接收实例将该数据流转发到查找到的GwU业务实例上。Step 502: The GwU receiving instance forwards the data stream to the found GwU service instance.
步骤503:GwU业务实例根据TEIDU(Tunnel terminal identification for User plane,用户面隧道终端标识)进行承载转发表匹配,对数据解封装后进行内部五元组匹配。若匹配到了对应的流表和策略,则执行步骤510。Step 503: The GwU service instance performs bearer forwarding table matching according to the TEIDU (Tunnel terminal identification for user plane), and performs internal quintuple matching after decapsulating the data. If the corresponding flow table and policy are matched, step 510 is performed.
步骤504:若匹配不到当前的流表和策略,则建立新的流表,并将数据报文转发到GwU DPI(Deep Packet Inspection,深度包检测)实例以进行数据流的应用信息识别。 Step 504: If the current flow table and the policy are not matched, a new flow table is created, and the data packet is forwarded to the GwU DPI (Deep Packet Inspection) instance to identify the application information of the data flow.
步骤505:GwU DPI实例根据本地特征库匹配到相关业务信息后,返回报文及对应的应用标识等信息给GwU业务实例。Step 505: After the GwU DPI instance matches the related service information according to the local signature database, the GwU DPI instance returns information such as the packet and the corresponding application identifier to the GwU service instance.
步骤506:GwU业务实例根据收到的应用标识进行五元组等TFT(Traffic Flow Template,传输流模板)匹配,若匹配到了对应的流表和策略,则执行步骤510;若该应用标识无法识别(未能匹配到对应的流表和策略),或发生了变化,则将该报文缓存,执行步骤507。Step 506: The GwU service instance performs a TFT (Traffic Flow Template) matching according to the received application identifier. If the corresponding flow table and policy are matched, step 510 is performed; if the application identifier is not recognized (Failed to match the corresponding flow table and policy), or if the change occurs, the message is cached, and step 507 is performed.
步骤507:GwU业务实例将该报文的TEIDU、五元组信息、以及应用标识发送给GwC,获取相应的QoS策略和计费等信息。Step 507: The GwU service instance sends the TEIDU, the quintuple information, and the application identifier of the packet to the GwC, and obtains corresponding QoS policy and charging information.
步骤508:GwC根据请求消息携带的应用标识和五元组等信息,获取本地策略,或是向外部(PCRF等)请求策略规则信息。Step 508: The GwC obtains the local policy according to the application identifier and the quintuple information carried in the request message, or requests the policy rule information from the external (PCRF, etc.).
步骤509:GwC将本地的或外部的策略决策实体(PCRF等)提供的策略信息(包含QoS、计费以及路由转发等策略的信息)返回给GwU业务实例,进行策略执行。Step 509: The GwC returns the policy information (including the information of the QoS, the charging, and the routing and forwarding policy) provided by the local or external policy decision entity (such as the PCRF) to the GwU service instance for policy execution.
步骤510:GwU业务实例根据当前策略(本地策略或GwC提供的策略)执行上行门控等承载级QoS策略,执行承载绑定,执行上行数据的计费和用量的meter统计,将流量更新到流量表中。Step 510: The GwU service instance performs a bearer-level QoS policy such as uplink gating according to the current policy (the local policy or the policy provided by the GwC), performs bearer binding, performs metering of usage statistics and usage statistics of the uplink data, and updates the traffic to the traffic. In the table.
步骤511:GwU业务实例执行完承载相关的策略和计费及用量统计后,发送请求消息给GwU共享统计表实例,请求APN-AMBR决策指示,或当前的APN-AMBR值。请求消息中,携带APN-AMBR标识信息(例如APN-AMBR共享meter的ID),当前数据的测量信息(例如meter统计值),以及TEID和五元组信息等。Step 511: After performing the bearer-related policy, charging, and usage statistics, the GwU service instance sends a request message to the GwU sharing statistics table instance, requesting the APN-AMBR decision indication, or the current APN-AMBR value. The request message carries the APN-AMBR identification information (for example, the ID of the APN-AMBR shared meter), the measurement information of the current data (for example, meter statistics), and the TEID and quintuple information.
步骤512:GwU共享统计表实例收到GwU业务实例发送的携带测量信息和APN-AMBR标识信息的请求消息。对比该UE当前的APN-AMBR签约信息以及本地的APN-AMBR共享测量统计表,根据请求消息中携带的测量信息,做统一的测量统计。如果统计后,当该APN下所述UE的全部non-GBR承载最大比特率大于签约的APN-AMBR,则确定丢弃该数据流。如果统计后,该APN下所述UE的全部non-GBR承载最大比特率小于签约的APN-AMBR,则该数据流可以发送。更新当前的APN-AMBR共享测量 统计表,决策当前数据流的丢弃或转发。并将决策指示返回给发送请求的GwU业务实例。GwU实例之间对该统计表项的执行,采用锁互斥机制,保证同时只有一个GwU实例有权限访问或修改该统计表。Step 512: The GwU sharing statistics table instance receives the request message that carries the measurement information and the APN-AMBR identification information sent by the GwU service instance. The unified APN-AMBR subscription information and the local APN-AMBR shared measurement statistics table are compared, and the unified measurement statistics are performed according to the measurement information carried in the request message. After the statistics, when the maximum bit rate of all non-GBR bearers of the UE under the APN is greater than the subscribed APN-AMBR, it is determined to discard the data stream. If the maximum bit rate of all non-GBR bearers of the UE under the APN is smaller than the subscribed APN-AMBR, the data stream may be sent. Update current APN-AMBR shared measurements A statistical table that determines the discarding or forwarding of current data streams. And return the decision indication to the GwU service instance that sent the request. The execution of the statistics entry between the GwU instances uses the lock mutual exclusion mechanism to ensure that only one GwU instance has permission to access or modify the statistics table.
步骤513:GwU共享统计表实例返回APN-AMBR的决策应答给发送请求的GwU业务实例,携带APN-AMBR指示标记,指示当前数据流的丢弃或转发。消息中可携带共享统计表当前的APN-AMBR的值。Step 513: The GwU sharing statistics table instance returns the APN-AMBR decision response to the GwU service instance that sends the request, and carries the APN-AMBR indication flag, indicating that the current data stream is discarded or forwarded. The message may carry the value of the current APN-AMBR of the shared statistics table.
步骤514:GwU业务实例收到来自GwU共享统计表实例的响应消息,所述响应消息中携带APN-AMBR执行指示标记,可能还携带APN-AMBR值。核减当前的上行数据的计费和用量的meter统计,更新流表。若APN-AMBR值大于签约允许值,或指示APN-AMBR超出阈值,则该数据流无法发送,被执行门控丢弃。若APN-AMBR值小于签约允许值,或指示APN-AMBR在允许范围内,则将需要携带的信息,如绑定承载信息,路由转发信息,增强到数据包头中,进行数据包的封装。Step 514: The GwU service instance receives the response message from the GwU shared statistics table instance, where the response message carries the APN-AMBR execution indication flag, and may also carry the APN-AMBR value. The meter statistics of the billing and usage of the current uplink data are reduced, and the flow table is updated. If the APN-AMBR value is greater than the subscription allowable value, or indicates that the APN-AMBR exceeds the threshold, the data flow cannot be sent and is gated by the execution. If the APN-AMBR value is less than the allowed value of the subscription, or indicates that the APN-AMBR is within the allowed range, the information to be carried, such as binding bearer information, routing and forwarding information, is enhanced into the packet header, and the data packet is encapsulated.
步骤515:确认在签约允许的APN-AMBR范围内,则GwU业务实例根据数据包的路由转发策略将该数据包发送到下一路由节点或外部PDN网络节点。Step 515: Confirm that within the range of APN-AMBR allowed by the subscription, the GwU service instance sends the data packet to the next routing node or the external PDN network node according to the routing and forwarding policy of the data packet.
如上步骤501-515,对于上行数据流,共享数据统计表存储在独立的GwU共享数据表实例中,GwU业务实例之间对该统计表项的执行,采用锁互斥机制,保证同时只有一个GwU实例有权限访问或修改该统计表。In the above steps 501-515, for the uplink data stream, the shared data statistics table is stored in the independent GwU shared data table instance, and the execution of the statistics entry between the GwU service instances adopts a lock mutual exclusion mechanism to ensure that there is only one GwU at the same time. The instance has permission to access or modify the statistics.
本实施例中的GwU实例,既可以是实际部署网元中的逻辑功能实体,也可以是独立的实际部署网元;还可以是虚拟化功能设备,或是功能设备中的一个处理器,或是虚拟化的一个网络切片或是微服务,本申请不做限定。The GwU instance in this embodiment may be a logical function entity in the actual deployment network element, or an independent actual deployment network element; or may be a virtualization function device or a processor in the function device, or It is a network slice or micro service that is virtualized. This application is not limited.
示例二Example two
如图6所示,本示例对应于非漫游场景下,UE接入3GPP网络,激活后创建了默认承载,GwU上为该用户建立了用户会话表和承载转发表,GwC上获取并保存了用户的QoS授权信息,PCC规则等策略。通过为每个 GwU实例建立共享APN-AMBR统计表(该共享统计表存储在独立的GwU共享数据表实例中),GwU对下行的non-GBR承载数据流执行基于APN-AMBR的带宽控制,包括如下步骤:As shown in Figure 6, this example corresponds to a non-roaming scenario. The UE accesses the 3GPP network and creates a default bearer after activation. The user session table and bearer forwarding table are established for the user on the GwU. The user is obtained and saved on the GwC. QoS authorization information, PCC rules and other strategies. By for each The GwU instance establishes a shared APN-AMBR statistic table (the shared statistic table is stored in an independent GwU shared data table instance), and the GwU performs APN-AMBR-based bandwidth control on the downlink non-GBR bearer data stream, including the following steps:
步骤601:GwU接收实例收到下行数据包。Step 601: The GwU receiving instance receives the downlink data packet.
步骤602:GwU接收实例识别出该数据包为下行报文,根据IP查转发表找到该用户业务相应的GwU业务实例。Step 602: The GwU receiving instance identifies that the data packet is a downlink packet, and finds a GwU service instance corresponding to the user service according to the IP lookup forwarding table.
步骤603:GwU将该数据包转发到对应的GwU业务实例上。Step 603: The GwU forwards the data packet to the corresponding GwU service instance.
步骤604:GwU业务实例根据IP和虚拟路由转发表VRF(Virtual Routing and Forwarding)匹配用户会话表,并进行五元组匹配。若下行数据包匹配到了流表,则根据流表中的标志决定是否要发送到GwU DPI实例进行进一步分析。若需要送GwU DPI实例进一步分析,则执行步骤605;若匹配到了对应的流表和策略,且不需要进一步送GwU DPI实例做进一步分析,则执行步骤611;若没有匹配到对应的流表,则建立流表,将报文缓存,执行步骤608。Step 604: The GwU service instance matches the user session table according to the IP and virtual routing forwarding table VRF (Virtual Routing and Forwarding), and performs quintuple matching. If the downlink data packet matches the flow table, it is determined according to the flag in the flow table whether to send to the GwU DPI instance for further analysis. If the GwU DPI instance needs to be sent for further analysis, step 605 is performed; if the corresponding flow table and policy are matched, and the GwU DPI instance is not required to be further analyzed, step 611 is performed; if the corresponding flow table is not matched, Then, the flow table is created, the message is cached, and step 608 is performed.
步骤605:缓存报文,并将数据报文关键信息发送到GwU DPI实例以进行数据流的应用标识等信息识别。Step 605: Cache the packet, and send the key information of the data packet to the GwU DPI instance to identify the information such as the application identifier of the data stream.
步骤606:GwU DPI实例根据本地特征库匹配到相关业务信息后,返回报文及对应的应用标识等信息给GwU业务实例。Step 606: After the GwU DPI instance matches the related service information according to the local signature database, the GwU DPI instance returns information such as the packet and the corresponding application identifier to the GwU service instance.
步骤607:GwU业务实例根据收到的应用标识进行五元组等TFT匹配,若匹配到了对应的流表和策略,则执行步骤611;若该应用标识无法识别、或发生了变化,则将该报文缓存,执行步骤608。Step 607: The GwU service instance performs TFT matching such as quintuple according to the received application identifier. If the corresponding flow table and policy are matched, step 611 is performed; if the application identifier cannot be identified or changed, The message is cached, and step 608 is performed.
步骤608:GwU业务实例发送获取处理策略请求消息给GwC,请求消息中携带该报文的TEIDU,五元组信息,以及应用标识。Step 608: The GwU service instance sends a Get Processing Policy Request message to the GwC, where the request message carries the TEIDU, the quintuple information, and the application identifier of the packet.
步骤609:GwC根据请求消息携带的应用标识和五元组等信息,获取本地策略,或是向外部(例如,PCRF)请求策略规则信息。Step 609: The GwC obtains a local policy according to information such as an application identifier and a quintuple carried in the request message, or requests policy rule information from an external (for example, a PCRF).
步骤610:GwC将本地的或外部策略决策实体(PCRF等)提供的,包含QoS和计费、以及路由转发等策略的信息返回给GwU业务实例,进行策略执行。 Step 610: The GwC returns information of the QoS and charging, and routing and forwarding policies provided by the local or external policy decision entity (such as the PCRF) to the GwU service instance for policy execution.
步骤611:GwU业务实例根据当前策略(本地策略或GwC提供的策略)执行下行门控等承载级QoS策略,执行承载绑定,执行下行数据的计费和用量的meter统计,将流量更新到流表中。Step 611: The GwU service instance performs a bearer-level QoS policy such as a downlink gating according to the current policy (the local policy or the policy provided by the GwC), performs bearer binding, performs meter statistics of the downlink data charging and usage, and updates the traffic to the flow. In the table.
步骤612:GwU业务实例执行完承载相关的策略和计费及用量统计后,发送请求消息给GwU共享统计表实例,请求APN-AMBR决策指示,或当前的APN-AMBR值。请求消息中,携带APN-AMBR标识信息(例如APN-AMBR共享meter的ID),当前数据的测量信息(例如meter统计值),以及TEID和五元组信息等。GwU实例之间对该统计表项的执行,采用锁互斥机制,保证同时只有一个GwU实例有权限访问或修改该统计表。Step 612: After performing the bearer-related policy and charging and usage statistics, the GwU service instance sends a request message to the GwU sharing statistics table instance, requesting the APN-AMBR decision indication, or the current APN-AMBR value. The request message carries the APN-AMBR identification information (for example, the ID of the APN-AMBR shared meter), the measurement information of the current data (for example, meter statistics), and the TEID and quintuple information. The execution of the statistics entry between the GwU instances uses the lock mutual exclusion mechanism to ensure that only one GwU instance has permission to access or modify the statistics table.
步骤613:GwU共享统计表实例收到GwU业务实例发送的携带测量信息和APN-AMBR标识信息的请求消息。对比该UE当前的APN-AMBR签约信息以及本地的APN-AMBR共享测量统计表,根据请求消息中携带的测量信息,做统一的测量统计。如果统计后,当该APN下所述UE的全部non-GBR承载最大比特率大于签约的APN-AMBR,则确定丢弃该数据流。如果统计后,该APN下所述UE的全部non-GBR承载最大比特率小于签约的APN-AMBR,则该数据流可以发送。更新当前的APN-AMBR共享测量统计表,决策当前数据流的丢弃或转发。并将决策指示返回给发送请求的GwU业务实例。Step 613: The GwU sharing statistics table instance receives the request message carrying the measurement information and the APN-AMBR identification information sent by the GwU service instance. The unified APN-AMBR subscription information and the local APN-AMBR shared measurement statistics table are compared, and the unified measurement statistics are performed according to the measurement information carried in the request message. After the statistics, when the maximum bit rate of all non-GBR bearers of the UE under the APN is greater than the subscribed APN-AMBR, it is determined to discard the data stream. If the maximum bit rate of all non-GBR bearers of the UE under the APN is smaller than the subscribed APN-AMBR, the data stream may be sent. Update the current APN-AMBR shared measurement statistics table to decide whether to discard or forward the current data stream. And return the decision indication to the GwU service instance that sent the request.
步骤614:GwU共享统计表实例返回APN-AMBR的决策应答给发送请求的GwU业务实例,携带APN-AMBR指示标记,指示当前数据流的丢弃或转发。消息中可携带共享统计表当前的APN-AMBR的值。Step 614: The GwU sharing statistics table instance returns a decision response of the APN-AMBR to the GwU service instance that sends the request, and carries an APN-AMBR indication flag, indicating that the current data stream is discarded or forwarded. The message may carry the value of the current APN-AMBR of the shared statistics table.
步骤615:GwU业务实例收到来自GwU共享统计表实例的响应消息,所述响应消息中携带APN-AMBR执行指示标记,可能还携带APN-AMBR值。核减当前的下行数据的计费和用量的meter统计,更新流表。若APN-AMBR值大于签约允许值,或指示APN-AMBR超出阈值,则该数据流无法发送,被执行门控丢弃。若APN-AMBR值小于签约允许值,或指示APN-AMBR在允许范围内,则将需要携带的信息,如绑定承载信息,路由转发信息,增强到数据包头中,进行数据包的封装。Step 615: The GwU service instance receives the response message from the GwU shared statistics table instance, where the response message carries the APN-AMBR execution indication flag, and may also carry the APN-AMBR value. The meter statistics of the billing and usage of the current downlink data are reduced, and the flow table is updated. If the APN-AMBR value is greater than the subscription allowable value, or indicates that the APN-AMBR exceeds the threshold, the data flow cannot be sent and is gated by the execution. If the APN-AMBR value is less than the allowed value of the subscription, or indicates that the APN-AMBR is within the allowed range, the information to be carried, such as binding bearer information, routing and forwarding information, is enhanced into the packet header, and the data packet is encapsulated.
步骤616:确认在签约允许的APN-AMBR范围内,则GwU业务实例根 据数据包的路由转发策略下发该数据包。Step 616: Confirm that the GwU service instance root is within the range of the APN-AMBR allowed for the subscription. The data packet is delivered according to the routing and forwarding policy of the data packet.
如上步骤601-616,对于下行数据流,该共享数据统计表存储在独立的GwU共享数据表实例中,GwU业务实例之间对该统计表项的执行,采用锁互斥机制,保证同时只有一个GwU实例有权限访问或修改该统计表。In the following steps 601-616, for the downlink data stream, the shared data statistics table is stored in the independent GwU shared data table instance, and the execution of the statistics entry between the GwU service instances adopts a lock mutual exclusion mechanism to ensure that there is only one at the same time. The GwU instance has permission to access or modify the statistics.
本实施例中的GwU实例,既可以是实际部署网元中的逻辑功能实体,也可以是独立的实际部署网元;还可以是虚拟化功能设备,或是功能设备中的一个处理器,或是虚拟化的一个网络切片或是微服务,本申请不做限定。The GwU instance in this embodiment may be a logical function entity in the actual deployment network element, or an independent actual deployment network element; or may be a virtualization function device or a processor in the function device, or It is a network slice or micro service that is virtualized. This application is not limited.
示例三Example three
如图7所示,本示例对应于非漫游场景下,UE接入3GPP网络,激活后创建了默认承载,GwU上为该用户建立了用户会话表和承载转发表,GwC上获取并保存了用户的QoS授权信息,PCC规则等策略。通过为每个GwU实例建立共享APN-AMBR统计表(该共享统计表存储在每个GwU实例的共享内存中),GwU对UE上行的non-GBR承载数据流执行基于APN-AMBR的带宽控制,包括如下步骤:As shown in Figure 7, this example corresponds to the non-roaming scenario. The UE accesses the 3GPP network and creates a default bearer after activation. The user session table and bearer forwarding table are established for the user on the GwU. The user is obtained and saved on the GwC. QoS authorization information, PCC rules and other strategies. By establishing a shared APN-AMBR statistic table for each GwU instance (the shared statistic table is stored in the shared memory of each GwU instance), the GwU performs APN-AMBR-based bandwidth control on the UE's uplink non-GBR bearer data stream. Including the following steps:
步骤701:GwU接收实例收到上行数据包。识别出该上行报文为用户面数据GTPU报文,查转发表找到该用户业务相应的GwU业务实例Step 701: The GwU receiving instance receives the uplink data packet. The uplink packet is identified as a user plane data GTPU packet, and the forwarding table is found to find a corresponding GwU service instance of the user service.
步骤702:GwU接收实例将该数据流转发到查找到的相应GwU业务实例上。Step 702: The GwU receiving instance forwards the data stream to the found corresponding GwU service instance.
步骤703:GwU业务实例根据TEIDU进行承载转发表匹配,对数据解封装后进行内部五元组匹配。若匹配到了对应的流表和策略,则执行步骤710。Step 703: The GwU service instance performs bearer forwarding table matching according to the TEIDU, and performs internal quintuple matching after decapsulating the data. If the corresponding flow table and policy are matched, step 710 is performed.
步骤704:若匹配不到当前的流表和策略,则建立新的流表,并将数据报文转发到GwU DPI实例,进行数据流的应用信息识别。Step 704: If the current flow table and the policy are not matched, a new flow table is created, and the data packet is forwarded to the GwU DPI instance to identify the application information of the data flow.
步骤705:GwU DPI实例根据本地特征库匹配到相关业务信息后,返回报文及对应的应用标识等信息给GwU业务实例。Step 705: After the GwU DPI instance matches the related service information according to the local signature database, the GwU DPI instance returns information such as the packet and the corresponding application identifier to the GwU service instance.
步骤706:GwU业务实例根据收到的应用标识进行五元组等TFT匹 配,若匹配到了对应的流表和策略,则执行步骤710;若该应用标识无法识别(未能匹配到对应的流表和策略),或发生了变化,则将该报文缓存,执行步骤707。Step 706: The GwU service instance performs a quintuple and other TFTs according to the received application identifier. If the matching of the corresponding flow table and policy is performed, step 710 is performed; if the application identifier is not recognized (failure to match the corresponding flow table and policy), or the change occurs, the message is cached, and the step is performed. 707.
步骤707:GwU业务实例将该报文的TEIDU,五元组信息,以及应用标识,发送给GwC,获取相应的QoS策略和计费等信息。Step 707: The GwU service instance sends the TEIDU, the quintuple information, and the application identifier of the packet to the GwC, and obtains corresponding QoS policy and charging information.
步骤708:GwC根据请求消息携带的业务标识和五元组等信息,获取本地策略,或是向外部(PCRF)请求策略规则信息。Step 708: The GwC obtains the local policy according to the service identifier and the quintuple information carried in the request message, or requests the policy rule information from the external (PCRF).
步骤709:GwC将本地的或是PCRF等外部策略决策实体提供的,包含QoS和计费以及路由转发等策略的信息返回给GwU业务实例,进行策略执行。Step 709: The GwC returns the information of the policy including the QoS, the charging, and the routing and forwarding, which is provided by the local or the external policy decision entity, such as the PCRF, to the GwU service instance for policy execution.
步骤710:GwU业务实例根据当前策略(本地策略或GwC提供的策略)执行上行门控等承载级QoS策略,执行承载绑定,执行上行数据的计费和用量的meter统计,将流量更新到流表中。访问每个GwU实例的共享内存中的共享APN-AMBR统计表,进行meter测量,对比该UE当前的APN-AMBR签约信息。如果统计后,当该UE在该APN下的全部non-GBR承载最大比特率大于签约的APN-AMBR,则将该数据执行门控策略,丢弃(例如,统计到丢弃流量中)。如果统计后,该UE在该APN下的全部non-GBR承载最大比特率小于签约的APN-AMBR,则将该数据重新封装并根据路由策略发送,将需要携带的信息,如绑定承载信息,路由转发信息,增强到数据包头中,进行数据包的封装。Step 710: The GwU service instance performs a bearer-level QoS policy such as uplink gating according to the current policy (the local policy or the policy provided by the GwC), performs bearer binding, performs metering of usage statistics and usage statistics of the uplink data, and updates the traffic to the flow. In the table. Access the shared APN-AMBR statistics table in the shared memory of each GwU instance, perform meter measurement, and compare the current APN-AMBR subscription information of the UE. If the maximum bit rate of the non-GBR bearer of the UE under the APN is greater than the subscribed APN-AMBR, the data is subjected to a gating policy and discarded (for example, counted in the discarding traffic). If the maximum bit rate of the non-GBR bearer of the UE in the APN is less than the signed APN-AMBR, the data is re-encapsulated and sent according to the routing policy, such as binding bearer information. Routing and forwarding information is enhanced into the packet header to encapsulate the data packet.
GwU实例之间对该统计表项的执行,采用锁互斥机制,保证同时只有一个GwU实例有权限访问或修改该统计表。The execution of the statistics entry between the GwU instances uses the lock mutual exclusion mechanism to ensure that only one GwU instance has permission to access or modify the statistics table.
步骤711:确认在签约允许的APN-AMBR范围内,则GwU业务实例根据数据包的路由转发策略将该数据包发送到下一路由节点或外部PDN网络节点。Step 711: Confirm that within the APN-AMBR range allowed by the subscription, the GwU service instance sends the data packet to the next routing node or the external PDN network node according to the routing and forwarding policy of the data packet.
如上701-711,对于上行数据流,该共享数据统计表存储在独立的GwU共享数据表实例中,GwU业务实例之间对该统计表项的执行,采用锁互斥机制,保证同时只有一个GwU实例有权限访问或修改该统计表。 For the uplink data stream, the shared data statistics table is stored in the independent GwU shared data table instance. The execution of the statistics entry between the GwU service instances uses a lock mutual exclusion mechanism to ensure that there is only one GwU at the same time. The instance has permission to access or modify the statistics.
本实施例中的GwU实例,既可以是实际部署网元中的逻辑功能实体,也可以是独立的实际部署网元;还可以是虚拟化功能设备,或是功能设备中的一个处理器,或是虚拟化的一个网络切片或是微服务,本申请不做限定。The GwU instance in this embodiment may be a logical function entity in the actual deployment network element, or an independent actual deployment network element; or may be a virtualization function device or a processor in the function device, or It is a network slice or micro service that is virtualized. This application is not limited.
示例四Example four
如图8所示,本示例对应于非漫游场景下,UE接入3GPP网络,激活后创建了默认承载,GwU上为该用户建立了用户会话表和承载转发表,GwC上获取并保存了用户的QoS授权信息,PCC规则等策略。通过为每个GwU实例建立共享APN-AMBR统计表(该共享统计表存储在每个GwU实例的共享内存中),GwU对下行的non-GBR承载数据流执行基于APN-AMBR的带宽控制,包括如下步骤:As shown in Figure 8, this example corresponds to the non-roaming scenario. The UE accesses the 3GPP network and creates a default bearer after activation. The user session table and bearer forwarding table are established for the user on the GwU. The user is obtained and saved on the GwC. QoS authorization information, PCC rules and other strategies. By establishing a shared APN-AMBR statistic table for each GwU instance (the shared statistic table is stored in the shared memory of each GwU instance), GwU performs APN-AMBR-based bandwidth control on the downlink non-GBR bearer data stream, including The following steps:
步骤801:GwU接收实例收到下行数据包。Step 801: The GwU receiving instance receives the downlink data packet.
步骤802:GwU接收实例识别出该数据包为下行报文,根据IP查转发表找到该用户业务相应的GwU业务实例。Step 802: The GwU receiving instance identifies that the data packet is a downlink packet, and finds a corresponding GwU service instance of the user service according to the IP lookup forwarding table.
步骤803:GwU接收实例将该数据包转发到转发表对应的GwU业务实例上。Step 803: The GwU receiving instance forwards the data packet to the GwU service instance corresponding to the forwarding table.
步骤804:GwU业务实例根据IP和虚拟路由转发表VRF匹配用户会话表,并进行五元组匹配。若下行数据包匹配到了流表,则根据流表中的标志决定是否要发送到GwU DPI实例进行进一步分析。若需要送GwU DPI实例进一步分析,则执行步骤805;若匹配到了对应的流表和策略,且不需要进一步送GwU DPI实例做进一步分析,则执行步骤811。若没有匹配到对应的流表,则建立流表,将报文缓存,执行步骤808。Step 804: The GwU service instance matches the user session table according to the IP and virtual route forwarding table VRF, and performs quintuple matching. If the downlink data packet matches the flow table, it is determined according to the flag in the flow table whether to send to the GwU DPI instance for further analysis. If the GwU DPI instance needs to be sent for further analysis, step 805 is performed; if the corresponding flow table and policy are matched, and the GwU DPI instance is not required to be further analyzed, step 811 is performed. If the corresponding flow table is not matched, the flow table is created, the message is cached, and step 808 is performed.
步骤805:若匹配到当前流表,但根据流表中的标志,需要GwU DPI进一步分析,则缓存报文,并将数据报文关键信息发送到GwU DPI实例以进行数据流的应用标识等信息识别。Step 805: If the current flow table is matched, but the GwU DPI is further analyzed according to the flag in the flow table, the packet is buffered, and the key information of the data packet is sent to the GwU DPI instance to perform information identification and the like of the data flow. Identification.
步骤806:GwU DPI实例根据本地特征库匹配到相关业务信息后,返 回报文及对应的应用标识等信息给GwU业务实例。Step 806: After the GwU DPI instance matches the related service information according to the local feature database, The information such as the report and the corresponding application identifier are sent to the GwU service instance.
步骤807:GwU业务实例根据收到的应用标识进行五元组等TFT匹配,若匹配到了对应的流表和策略,则执行步骤811。若该应用标识无法识别、或发生了变化,则将该报文缓存,执行步骤808,若该应用标识可匹配到流表获取详细策略,则执行步骤811。Step 807: The GwU service instance performs TFT matching such as quintuple according to the received application identifier. If the corresponding flow table and policy are matched, step 811 is performed. If the application identifier is unrecognized or changed, the packet is cached, and step 808 is performed. If the application identifier can be matched to the flow table to obtain a detailed policy, step 811 is performed.
步骤808:GwU业务实例发送获取处理策略请求消息给GwC,请求消息中携带该报文的TEIDU,五元组信息,以及应用标识。Step 808: The GwU service instance sends a Get Processing Policy Request message to the GwC, where the request message carries the TEIDU, quintuple information, and application identifier of the packet.
步骤809:GwC根据请求消息携带的业务标识和五元组等信息,获取本地策略,或是向外部(例如,PCRF)请求策略规则信息。Step 809: The GwC obtains a local policy according to the service identifier and the quintuple information carried in the request message, or requests policy rule information from an external (for example, a PCRF).
步骤810:GwC将本地的或是PCRF等外部策略决策实体提供的,包含QoS和计费,以及路由转发等策略的信息返回给GwU业务实例,进行策略执行。Step 810: The GwC returns the information provided by the external policy decision entity, such as the QoS and the accounting, and the routing and forwarding, to the GwU service instance, and performs the policy execution.
步骤811:GwU业务实例根据当前策略(本地策略或GwC提供的策略)执行下行门控等承载级QoS策略,执行承载绑定,执行下行数据的计费和用量的meter统计,将流量更新到流表中。访问每个GwU实例的共享内存中的共享APN-AMBR统计表,进行meter测量,对比该UE当前的APN-AMBR签约信息。如果统计后,当该UE在该APN下的全部non-GBR承载最大比特率大于签约的APN-AMBR,则将该数据执行门控策略,丢弃(例如,统计到丢弃流量中)。如果统计后,该UE在该APN下的全部non-GBR承载最大比特率小于签约的APN-AMBR,则将该数据重新封装并根据路由策略发送,将需要携带的信息,如绑定承载信息,路由转发信息,增强到数据包头中,进行数据包的封装。Step 811: The GwU service instance performs a bearer-level QoS policy such as a downlink gating according to the current policy (the local policy or the policy provided by the GwC), performs bearer binding, performs metering of usage statistics and usage statistics of the downlink data, and updates the traffic to the flow. In the table. Access the shared APN-AMBR statistics table in the shared memory of each GwU instance, perform meter measurement, and compare the current APN-AMBR subscription information of the UE. If the maximum bit rate of the non-GBR bearer of the UE under the APN is greater than the subscribed APN-AMBR, the data is subjected to a gating policy and discarded (for example, counted in the discarding traffic). If the maximum bit rate of the non-GBR bearer of the UE in the APN is less than the signed APN-AMBR, the data is re-encapsulated and sent according to the routing policy, such as binding bearer information. Routing and forwarding information is enhanced into the packet header to encapsulate the data packet.
GwU实例之间对该统计表项的执行,采用锁互斥机制,保证同时只有一个GwU实例有权限访问或修改该统计表。The execution of the statistics entry between the GwU instances uses the lock mutual exclusion mechanism to ensure that only one GwU instance has permission to access or modify the statistics table.
步骤812:确认在签约允许的APN-AMBR范围内,则GwU业务实例根据数据包的路由转发策略下发该数据包。Step 812: Confirm that the GwU service instance delivers the data packet according to the routing and forwarding policy of the data packet in the range of the APN-AMBR allowed by the subscription.
如上801-812,对于下行数据流,该共享数据统计表存储在每个GwU实例的共享内存中,GwU业务实例之间对该统计表项的执行,采用锁互斥 机制,保证同时只有一个GwU实例有权限访问或修改该统计表。As shown in the above 801-812, for the downlink data stream, the shared data statistics table is stored in the shared memory of each GwU instance, and the execution of the statistics entry between the GwU service instances is performed by using the lock mutual exclusion. The mechanism ensures that only one GwU instance has permission to access or modify the statistics table at the same time.
本实施例中的GwU实例,既可以是实际部署网元中的逻辑功能实体,也可以是独立的实际部署网元;还可以是虚拟化功能设备,或是功能设备中的一个处理器,或是虚拟化的一个网络切片或是微服务,本申请不做限定。The GwU instance in this embodiment may be a logical function entity in the actual deployment network element, or an independent actual deployment network element; or may be a virtualization function device or a processor in the function device, or It is a network slice or micro service that is virtualized. This application is not limited.
以上示例一到示例四中,GwU之间可通过直接数据转发,或通过定义新接口转发,本申请不做限定。In the above example one to the fourth example, the GwU may be forwarded by direct data forwarding or by defining a new interface, which is not limited in this application.
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述实现接入点带宽限制的方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented by the processor to implement the above method for realizing access point bandwidth limitation.
上述实施例提供的一种实现接入点带宽限制的方法和装置,为多个网关用户面GwU模块建立共享接入点聚合最大比特率APN-AMBR统计表,GwU模块在接收到数据包时访问该数据包对应的用户设备在当前接入点下的共享APN-AMBR统计表,根据当前数据包的测量信息以及访问所述共享APN-AMBR统计表获得的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,根据统计结果进行基于APN-AMBR的带宽控制,本发明实施例能够在网关控制面和用户面分离架构中准确执行带宽控制,保障网络按照用户签约的APN-AMBR进行正确的带宽限制和数据流门控限制。The method and device for implementing the bandwidth limitation of the access point provided by the foregoing embodiment are used to establish a shared access point aggregation maximum bit rate APN-AMBR statistics table for multiple gateway user plane GwU modules, and the GwU module accesses when receiving the data packet. The shared APN-AMBR statistics table of the user equipment corresponding to the data packet in the current access point, according to the current data packet measurement information and the APN-AMBR value obtained by accessing the shared APN-AMBR statistics table, the user equipment is currently The APN-AMBR under the access point performs statistics, and performs APN-AMBR-based bandwidth control according to the statistics. In this embodiment of the present invention, bandwidth control can be accurately performed in the gateway control plane and the user plane separation architecture, and the APN secured by the network according to the user is guaranteed. -AMBR performs correct bandwidth limits and data flow gating restrictions.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现,相应地,上述实施例中的模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本申请不限制于任何特定形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the steps described above can be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic or optical disk, and the like. All or part of the steps of the foregoing embodiments may also be implemented by using one or more integrated circuits. Accordingly, the modules/units in the foregoing embodiments may be implemented in the form of hardware or in the form of software functional modules. This application is not limited to any specific combination of hardware and software.
本申请还可有其他多种实施例,在不背离本申请精神及其实质的情况下,熟悉本领域的技术人员可根据本申请作出相应的改变和变形,但这些相应的改变和变形都应属于本申请所附的权利要求的保护范围。There may be other various embodiments of the present invention, and those skilled in the art can make corresponding changes and modifications according to the present application without departing from the spirit and scope of the present application, but the corresponding changes and modifications should be It is within the scope of protection of the claims appended hereto.
工业实用性Industrial applicability
本发明实施例能够在网关控制面和用户面分离架构中准确执行带宽控制,保障网络按照用户签约的APN-AMBR进行正确的带宽限制和数据流门控限制。 The embodiment of the invention can accurately perform bandwidth control in the gateway control plane and the user plane separation architecture, and ensure that the network performs correct bandwidth limitation and data flow gating restriction according to the APN-AMBR subscribed by the user.

Claims (12)

  1. 一种实现接入点带宽限制的方法,包括:A method for implementing access point bandwidth limitation includes:
    为多个网关用户面GwU模块建立共享接入点聚合最大比特率APN-AMBR统计表;Establishing a shared access point aggregation maximum bit rate APN-AMBR statistical table for multiple gateway user plane GwU modules;
    GwU模块在接收到数据包时,访问该数据包对应的用户设备在当前接入点下的共享APN-AMBR统计表,根据当前数据包的测量信息以及访问所述共享APN-AMBR统计表获得的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,根据统计结果进行基于APN-AMBR的带宽控制。When receiving the data packet, the GwU module accesses the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point, and obtains according to the measurement information of the current data packet and the access to the shared APN-AMBR statistics table. The APN-AMBR value is used to count the APN-AMBR of the user equipment under the current access point, and the bandwidth control based on the APN-AMBR is performed according to the statistical result.
  2. 如权利要求1所述的方法,其中:The method of claim 1 wherein:
    所述为多个GwU模块建立共享接入点聚合最大比特率APN-AMBR统计表,包括:The method for establishing a shared access point aggregation maximum bit rate APN-AMBR statistics table for multiple GwU modules includes:
    在独立的GwU实例中建立所述共享APN-AMBR统计表,或者在多个GwU实例的共享内存中建立所述共享APN-AMBR统计表。The shared APN-AMBR statistics table is established in an independent GwU instance, or the shared APN-AMBR statistics table is established in a shared memory of multiple GwU instances.
  3. 如权利要求1所述的方法,其中:The method of claim 1 wherein:
    所述GwU模块之间采用锁互斥机制访问或修改所述共享APN-AMBR统计表,同一时刻只有一个GwU模块有权限访问或修改所述共享APN-AMBR统计表。The GWU module uses a lock mutual exclusion mechanism to access or modify the shared APN-AMBR statistics table. Only one GwU module has the right to access or modify the shared APN-AMBR statistics table at the same time.
  4. 如权利要求1所述的方法,其中:The method of claim 1 wherein:
    所述GwU模块中存在一个或多个GwU实例,每一个GwU实例处理多个用户设备的业务数据,多个GwU实例共享APN-AMBR统计表;一个网关控制面GwC模块下存在一个或多个GwU模块。One or more GwU instances exist in the GwU module, each GwU instance processes service data of multiple user equipments, and multiple GwU instances share an APN-AMBR statistics table; one GwU module has one or more GwUs under the GwC module. Module.
  5. 如权利要求2所述的方法,其中:The method of claim 2 wherein:
    所述GwU模块在接收到数据包时,访问该数据包对应的用户设备在当前接入点下的共享APN-AMBR统计表,根据当前数据包的测量信息以及访问所述共享APN-AMBR统计表获得的APN-AMBR值对该用户设备在当前 接入点下的APN-AMBR进行统计,根据统计结果进行基于APN-AMBR的带宽控制,包括:When receiving the data packet, the GwU module accesses the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point, according to the measurement information of the current data packet, and accesses the shared APN-AMBR statistics table. The obtained APN-AMBR value is current for the user equipment The APN-AMBR under the access point performs statistics, and performs bandwidth control based on APN-AMBR according to the statistics, including:
    GwU业务实例在接收到数据包时,向独立的GwU共享数据表实例发送访问共享APN-AMBR统计表的请求,其中携带要访问的共享APN-AMBR统计表的标识,以及当前数据包的测量信息;When receiving the data packet, the GwU service instance sends a request for accessing the shared APN-AMBR statistics table to the independent GwU shared data table instance, where the identifier of the shared APN-AMBR statistical table to be accessed, and the measurement information of the current data packet are carried. ;
    所述GwU共享数据表实例接收到所述访问共享APN-AMBR统计表的请求后,根据当前数据包的测量信息以及所述共享APN-AMBR统计表中记录的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,如统计后的APN-AMBR值小于或等于该用户设备的签约值,则决策允许转发数据包,如统计后的APN-AMBR值大于该用户设备的签约值,则决策丢弃数据包,向所述GwU业务实例返回响应消息,其中携带决策指示信息;After receiving the request for accessing the shared APN-AMBR statistics table, the GwU shared data table instance is in the user equipment according to the measurement information of the current data packet and the APN-AMBR value recorded in the shared APN-AMBR statistics table. The APN-AMBR of the current access point performs statistics. If the APN-AMBR value is less than or equal to the subscription value of the user equipment, the decision is made to allow the data packet to be forwarded. For example, the APN-AMBR value after the statistics is greater than the user equipment. The contract value is used to decide to discard the data packet, and return a response message to the GwU service instance, where the decision indication information is carried;
    所述GwU业务实例接收到所述GwU共享数据表实例返回的响应消息后,根据所述响应消息中携带的决策指示信息对数据包进行转发或丢弃;After receiving the response message returned by the GwU shared data table instance, the GwU service instance forwards or discards the data packet according to the decision indication information carried in the response message;
    其中,所述共享APN-AMBR统计表中记录每一个用户设备在接入点下的APN-AMBR值。The shared APN-AMBR statistics table records the APN-AMBR value of each user equipment under the access point.
  6. 如权利要求2所述的方法,其中:The method of claim 2 wherein:
    所述GwU模块在接收到数据包时,访问该数据包对应的用户设备在当前接入点下的共享APN-AMBR统计表,根据当前数据包的测量信息以及访问所述共享APN-AMBR统计表获得的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,根据统计结果进行基于APN-AMBR的带宽控制,包括:When receiving the data packet, the GwU module accesses the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point, according to the measurement information of the current data packet, and accesses the shared APN-AMBR statistics table. The obtained APN-AMBR value is used to collect statistics on the APN-AMBR of the user equipment at the current access point, and the bandwidth control based on the APN-AMBR is performed according to the statistics, including:
    GwU业务实例访问共享内存中保存的共享APN-AMBR统计表,根据当前数据包的测量信息以及所述共享APN-AMBR统计表中记录的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,如统计后的APN-AMBR值小于或等于该用户设备的签约值,则转发数据包,如统计后的APN-AMBR值大于该用户设备的签约值,则丢弃数据包;The GwU service instance accesses the shared APN-AMBR statistics table stored in the shared memory, and the user equipment is under the current access point according to the measurement information of the current data packet and the APN-AMBR value recorded in the shared APN-AMBR statistics table. The APN-AMBR performs statistics. If the APN-AMBR value is less than or equal to the subscription value of the user equipment, the data packet is forwarded. If the APN-AMBR value is greater than the subscription value of the user equipment, the data packet is discarded.
    其中,所述共享APN-AMBR统计表中记录每一个用户设备在接入点下 的APN-AMBR值。The shared APN-AMBR statistic table records each user equipment under the access point. APN-AMBR value.
  7. 一种实现接入点带宽限制的装置,包括:A device for implementing bandwidth limitation of an access point, comprising:
    设置模块,设置为为多个网关用户面GwU模块建立共享接入点聚合最大比特率APN-AMBR统计表;Setting a module, configured to establish a shared access point aggregation maximum bit rate APN-AMBR statistical table for multiple gateway user plane GwU modules;
    带宽控制模块,设置为GwU模块在接收到数据包时,访问该数据包对应的用户设备在当前接入点下的共享APN-AMBR统计表,根据当前数据包的测量信息以及访问所述共享APN-AMBR统计表获得的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,根据统计结果进行基于APN-AMBR的带宽控制。The bandwidth control module is configured to: when the GwU module receives the data packet, access the shared APN-AMBR statistics table of the user equipment corresponding to the data packet at the current access point, according to the measurement information of the current data packet, and access the shared APN. The APN-AMBR value obtained by the -AMBR statistic is used to collect statistics on the APN-AMBR of the user equipment at the current access point, and the bandwidth control based on the APN-AMBR is performed according to the statistical result.
  8. 如权利要求7所述的装置,其中:The apparatus of claim 7 wherein:
    设置模块,设置为:Set the module to be set to:
    在独立的GwU实例中建立所述共享APN-AMBR统计表,或者在多个GwU实例的共享内存中建立所述共享APN-AMBR统计表。The shared APN-AMBR statistics table is established in an independent GwU instance, or the shared APN-AMBR statistics table is established in a shared memory of multiple GwU instances.
  9. 如权利要求7所述的装置,其中:The apparatus of claim 7 wherein:
    GwU模块之间采用锁互斥机制访问或修改所述共享APN-AMBR统计表,同一时刻只有一个GwU模块有权限访问或修改所述共享APN-AMBR统计表。The shared APN-AMBR statistics table is accessed or modified by the GwU module. Only one GwU module has the right to access or modify the shared APN-AMBR statistics table at the same time.
  10. 如权利要求7所述的装置,其中:The apparatus of claim 7 wherein:
    GwU模块中存在一个或多个GwU实例,每一个GwU实例处理多个用户设备的业务数据,多个GwU实例共享APN-AMBR统计表;一个网关控制面GwC模块下存在一个或多个GwU模块。One or more GwU instances exist in the GwU module. Each GwU instance processes service data of multiple user devices. Multiple GwU instances share the APN-AMBR statistics table. One GwU module exists under one GwC module.
  11. 如权利要求8所述的装置,其中:The apparatus of claim 8 wherein:
    带宽控制模块,设置为:Bandwidth control module, set to:
    GwU业务实例在接收到数据包时向独立的GwU共享数据表实例发送访问共享APN-AMBR统计表的请求,其中携带要访问的共享APN-AMBR统计表的标识,以及当前数据包的测量信息; When receiving the data packet, the GwU service instance sends a request for accessing the shared APN-AMBR statistics table to the independent GwU shared data table instance, where the identifier of the shared APN-AMBR statistics table to be accessed, and the measurement information of the current data packet are carried;
    所述GwU共享数据表实例接收到所述访问共享APN-AMBR统计表的请求后,根据当前数据包的测量信息以及所述共享APN-AMBR统计表中记录的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,如统计后的APN-AMBR值小于或等于该用户设备的签约值,则决策允许转发数据包,如统计后的APN-AMBR值大于该用户设备的签约值,则决策丢弃数据包,向所述GwU业务实例返回响应消息,其中携带决策指示信息;After receiving the request for accessing the shared APN-AMBR statistics table, the GwU shared data table instance is in the user equipment according to the measurement information of the current data packet and the APN-AMBR value recorded in the shared APN-AMBR statistics table. The APN-AMBR of the current access point performs statistics. If the APN-AMBR value is less than or equal to the subscription value of the user equipment, the decision is made to allow the data packet to be forwarded. For example, the APN-AMBR value after the statistics is greater than the user equipment. The contract value is used to decide to discard the data packet, and return a response message to the GwU service instance, where the decision indication information is carried;
    所述GwU业务实例接收到所述GwU共享数据表实例返回的响应消息后,根据所述响应消息中携带的决策指示信息对数据包进行转发或丢弃;After receiving the response message returned by the GwU shared data table instance, the GwU service instance forwards or discards the data packet according to the decision indication information carried in the response message;
    其中,所述共享APN-AMBR统计表中记录每一个用户设备在接入点下的APN-AMBR值。The shared APN-AMBR statistics table records the APN-AMBR value of each user equipment under the access point.
  12. 如权利要求8所述的装置,其中:The apparatus of claim 8 wherein:
    带宽控制模块,:Bandwidth control module,
    GwU业务实例访问共享内存中保存的共享APN-AMBR统计表,根据当前数据包的测量信息以及所述共享APN-AMBR统计表中记录的APN-AMBR值对该用户设备在当前接入点下的APN-AMBR进行统计,如统计后的APN-AMBR值小于或等于该用户设备的签约值,则转发数据包,如统计后的APN-AMBR值大于该用户设备的签约值,则丢弃数据包;The GwU service instance accesses the shared APN-AMBR statistics table stored in the shared memory, and the user equipment is under the current access point according to the measurement information of the current data packet and the APN-AMBR value recorded in the shared APN-AMBR statistics table. The APN-AMBR performs statistics. If the APN-AMBR value is less than or equal to the subscription value of the user equipment, the data packet is forwarded. If the APN-AMBR value is greater than the subscription value of the user equipment, the data packet is discarded.
    其中,所述共享APN-AMBR统计表中记录每一个用户设备在接入点下的APN-AMBR值。 The shared APN-AMBR statistics table records the APN-AMBR value of each user equipment under the access point.
PCT/CN2017/073358 2016-02-22 2017-02-13 Method and device for throttling bandwidth of access point WO2017143915A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610097438.5A CN107105457B (en) 2016-02-22 2016-02-22 Method and device for realizing access point bandwidth limitation
CN201610097438.5 2016-02-22

Publications (1)

Publication Number Publication Date
WO2017143915A1 true WO2017143915A1 (en) 2017-08-31

Family

ID=59658361

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/073358 WO2017143915A1 (en) 2016-02-22 2017-02-13 Method and device for throttling bandwidth of access point

Country Status (2)

Country Link
CN (1) CN107105457B (en)
WO (1) WO2017143915A1 (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021108334A1 (en) * 2019-11-26 2021-06-03 Oracle International Corporation Methods, systems, and computer readable media for policing access point name-aggregate maximum bit rate (apn-ambr) across packet data network gateway data plane (p-gw dp) worker instances
US11082393B2 (en) 2019-08-29 2021-08-03 Oracle International Corporation Methods, systems, and computer readable media for actively discovering and tracking addresses associated with 5G and non-5G service endpoints
US11159359B2 (en) 2019-06-26 2021-10-26 Oracle International Corporation Methods, systems, and computer readable media for diameter-peer-wide egress rate limiting at diameter relay agent (DRA)
CN113647062A (en) * 2019-06-26 2021-11-12 甲骨文国际公司 Methods, systems, and computer readable media for producer Network Function (NF) service instance-wide egress rate limiting at a Service Communication Proxy (SCP)
US11224009B2 (en) 2019-12-30 2022-01-11 Oracle International Corporation Methods, systems, and computer readable media for enabling transport quality of service (QoS) in 5G networks
US11252093B2 (en) 2019-06-26 2022-02-15 Oracle International Corporation Methods, systems, and computer readable media for policing access point name-aggregate maximum bit rate (APN-AMBR) across packet data network gateway data plane (P-GW DP) worker instances
US11271846B2 (en) 2018-10-22 2022-03-08 Oracle International Corporation Methods, systems, and computer readable media for locality-based selection and routing of traffic to producer network functions (NFs)
US11290549B2 (en) 2020-08-24 2022-03-29 Oracle International Corporation Methods, systems, and computer readable media for optimized network function (NF) discovery and routing using service communications proxy (SCP) and NF repository function (NRF)
US11323413B2 (en) 2019-08-29 2022-05-03 Oracle International Corporation Methods, systems, and computer readable media for actively discovering and tracking addresses associated with 4G service endpoints
US11470544B2 (en) 2021-01-22 2022-10-11 Oracle International Corporation Methods, systems, and computer readable media for optimized routing of messages relating to existing network function (NF) subscriptions using an intermediate forwarding NF repository function (NRF)
US11483694B2 (en) 2020-09-01 2022-10-25 Oracle International Corporation Methods, systems, and computer readable media for service communications proxy (SCP)-specific prioritized network function (NF) discovery and routing
US11496954B2 (en) 2021-03-13 2022-11-08 Oracle International Corporation Methods, systems, and computer readable media for supporting multiple preferred localities for network function (NF) discovery and selection procedures
US11528334B2 (en) 2020-07-31 2022-12-13 Oracle International Corporation Methods, systems, and computer readable media for preferred network function (NF) location routing using service communications proxy (SCP)
US11570262B2 (en) 2020-10-28 2023-01-31 Oracle International Corporation Methods, systems, and computer readable media for rank processing for network function selection
US11849506B2 (en) 2021-10-08 2023-12-19 Oracle International Corporation Methods, systems, and computer readable media for routing inter-public land mobile network (inter-PLMN) messages related to existing subscriptions with network function (NF) repository function (NRF) using security edge protection proxy (SEPP)
US11895080B2 (en) 2021-06-23 2024-02-06 Oracle International Corporation Methods, systems, and computer readable media for resolution of inter-network domain names

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7443571B2 (en) * 2020-06-01 2024-03-05 中興通訊股▲ふん▼有限公司 Network slice specific aggregate maximum bit rate (AMBR) configuration

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594285A (en) * 2008-05-26 2009-12-02 华为技术有限公司 A kind of method, Apparatus and system that uses aggregate maximum bit rate
CN101795472A (en) * 2009-02-03 2010-08-04 华为技术有限公司 Parameter acquisition method as well as rate control method and control device
CN102026421A (en) * 2009-09-22 2011-04-20 中兴通讯股份有限公司 Storage method and device for aggregation maximum bit rate (AMBR)
CN102685816A (en) * 2011-03-09 2012-09-19 中兴通讯股份有限公司 User plane configuration parameter processing method and device
EP2582175A1 (en) * 2011-01-12 2013-04-17 Huawei Technologies Co., Ltd. Method, device and system for setting maximum bandwidth
CN103582028A (en) * 2013-11-15 2014-02-12 大唐移动通信设备有限公司 Core network side user resource management method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917339A (en) * 2010-08-17 2010-12-15 建汉科技股份有限公司 Network bandwidth upper limit counting and adjusting method of network equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594285A (en) * 2008-05-26 2009-12-02 华为技术有限公司 A kind of method, Apparatus and system that uses aggregate maximum bit rate
CN101795472A (en) * 2009-02-03 2010-08-04 华为技术有限公司 Parameter acquisition method as well as rate control method and control device
CN102026421A (en) * 2009-09-22 2011-04-20 中兴通讯股份有限公司 Storage method and device for aggregation maximum bit rate (AMBR)
EP2582175A1 (en) * 2011-01-12 2013-04-17 Huawei Technologies Co., Ltd. Method, device and system for setting maximum bandwidth
CN102685816A (en) * 2011-03-09 2012-09-19 中兴通讯股份有限公司 User plane configuration parameter processing method and device
CN103582028A (en) * 2013-11-15 2014-02-12 大唐移动通信设备有限公司 Core network side user resource management method and device

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11271846B2 (en) 2018-10-22 2022-03-08 Oracle International Corporation Methods, systems, and computer readable media for locality-based selection and routing of traffic to producer network functions (NFs)
US11159359B2 (en) 2019-06-26 2021-10-26 Oracle International Corporation Methods, systems, and computer readable media for diameter-peer-wide egress rate limiting at diameter relay agent (DRA)
CN113647062A (en) * 2019-06-26 2021-11-12 甲骨文国际公司 Methods, systems, and computer readable media for producer Network Function (NF) service instance-wide egress rate limiting at a Service Communication Proxy (SCP)
US11252093B2 (en) 2019-06-26 2022-02-15 Oracle International Corporation Methods, systems, and computer readable media for policing access point name-aggregate maximum bit rate (APN-AMBR) across packet data network gateway data plane (P-GW DP) worker instances
US11323413B2 (en) 2019-08-29 2022-05-03 Oracle International Corporation Methods, systems, and computer readable media for actively discovering and tracking addresses associated with 4G service endpoints
US11082393B2 (en) 2019-08-29 2021-08-03 Oracle International Corporation Methods, systems, and computer readable media for actively discovering and tracking addresses associated with 5G and non-5G service endpoints
WO2021108334A1 (en) * 2019-11-26 2021-06-03 Oracle International Corporation Methods, systems, and computer readable media for policing access point name-aggregate maximum bit rate (apn-ambr) across packet data network gateway data plane (p-gw dp) worker instances
US11224009B2 (en) 2019-12-30 2022-01-11 Oracle International Corporation Methods, systems, and computer readable media for enabling transport quality of service (QoS) in 5G networks
US11528334B2 (en) 2020-07-31 2022-12-13 Oracle International Corporation Methods, systems, and computer readable media for preferred network function (NF) location routing using service communications proxy (SCP)
US11290549B2 (en) 2020-08-24 2022-03-29 Oracle International Corporation Methods, systems, and computer readable media for optimized network function (NF) discovery and routing using service communications proxy (SCP) and NF repository function (NRF)
US11483694B2 (en) 2020-09-01 2022-10-25 Oracle International Corporation Methods, systems, and computer readable media for service communications proxy (SCP)-specific prioritized network function (NF) discovery and routing
US11570262B2 (en) 2020-10-28 2023-01-31 Oracle International Corporation Methods, systems, and computer readable media for rank processing for network function selection
US11470544B2 (en) 2021-01-22 2022-10-11 Oracle International Corporation Methods, systems, and computer readable media for optimized routing of messages relating to existing network function (NF) subscriptions using an intermediate forwarding NF repository function (NRF)
US11496954B2 (en) 2021-03-13 2022-11-08 Oracle International Corporation Methods, systems, and computer readable media for supporting multiple preferred localities for network function (NF) discovery and selection procedures
US11895080B2 (en) 2021-06-23 2024-02-06 Oracle International Corporation Methods, systems, and computer readable media for resolution of inter-network domain names
US11849506B2 (en) 2021-10-08 2023-12-19 Oracle International Corporation Methods, systems, and computer readable media for routing inter-public land mobile network (inter-PLMN) messages related to existing subscriptions with network function (NF) repository function (NRF) using security edge protection proxy (SEPP)

Also Published As

Publication number Publication date
CN107105457B (en) 2020-05-15
CN107105457A (en) 2017-08-29

Similar Documents

Publication Publication Date Title
WO2017143915A1 (en) Method and device for throttling bandwidth of access point
US11588656B2 (en) Selecting a user plane function based on a device type received by a session management function
US11924680B2 (en) User-plane congestion management
US10856184B2 (en) Monitoring and reporting service performance in roaming scenario
US9838904B1 (en) Policy and charging control rule programming and lookup in connectivity access networks
EP2611234B1 (en) System and method for managing quality of service
JP5675354B2 (en) Packet filtering / classification and / or policy control support from both visited and home networks
CN106255152B (en) Assisting mobility management entity overload control functions with traffic load reduction indicators
US20140198637A1 (en) Handling User Plane Congestion
US10917812B2 (en) QOS guarantee method and gateway
WO2020199896A1 (en) Service flow routing control method, apparatus and system
US9642032B2 (en) Third party interface for provisioning bearers according to a quality of service subscription
US9661529B2 (en) Congestion mitigation for roamers
US9544832B2 (en) Method, apparatus and system for policy control
CN106921585B (en) Data message sending method, device and system
US9877258B2 (en) Method and device for transferring data traffic
US20160302101A1 (en) Bandwidth limitation of non-gbr bearers
WO2018045834A1 (en) Volte service processing method and apparatus
US10645230B1 (en) Roaming cellular traffic policy and charging negotiation and enforcement entity
WO2015048992A1 (en) Handling overload of a network node
WO2016037513A1 (en) Method and device for achieving flow migration
WO2017193303A1 (en) Communication billing method

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17755744

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17755744

Country of ref document: EP

Kind code of ref document: A1