WO2017113967A1 - 数据报文发送方法、装置和系统 - Google Patents
数据报文发送方法、装置和系统 Download PDFInfo
- Publication number
- WO2017113967A1 WO2017113967A1 PCT/CN2016/103612 CN2016103612W WO2017113967A1 WO 2017113967 A1 WO2017113967 A1 WO 2017113967A1 CN 2016103612 W CN2016103612 W CN 2016103612W WO 2017113967 A1 WO2017113967 A1 WO 2017113967A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- gwu
- data packet
- apn
- information
- processing policy
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/20—Traffic policing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/78—Architectures of resource allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/18—Negotiating wireless communication parameters
- H04W28/20—Negotiating bandwidth
Definitions
- the present invention relates to the field of communications, and in particular, to a data message sending method, apparatus and system.
- an EGPP Evolved Packet System, EPS for short
- E-UTRAN Access Network
- MME Mobility Management Entity
- S-GW Serving Gateway
- PDN GW Packet Data Network Gateway
- HSS Home Subscriber Server
- 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 E-UTRAN and P- The data is forwarded between the GWs and used to buffer 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 based on service data flow, quality of service control and charging rules to the GW, and executing the policies and charging rules formulated by the PCRF on the bearer plane.
- the GW When the bearer is established, the GW performs quality of service (QoS) authorization and gating control according to the rules sent by the PCRF. According to the charging rule sent by the PCRF, the corresponding service data flow charging operation is performed, and the charging may be online charging or offline charging. If it is online charging, it needs to carry out credit management together with the Online Charging System (OCS).
- OCS Online Charging System
- the offline charging is exchanged with the offline charging system (Offcast Charging System, referred to as OFCS).
- the interface between the GW and the PCRF is a Gx interface
- the interface between the OC and the OCS is a Gy interface
- the interface between the OFCS and the OFCS is a Gz interface.
- the EPS gateway has the following problems: Firstly, the user data stream processing is concentrated on the PDN egress gateway, which causes the gateway device to have complicated functions and poor scalability; secondly, 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; Again, the frequency of the forwarding surface expansion is higher than that of the control plane.
- the tight coupling causes the control plane to be forwarded synchronously, and the device update period is short, which leads to an increase in the composite cost.
- the network layer data forwarding is difficult to identify users and service features, and can only be transmitted according to the upper layer.
- the QoS forwarding leads to inefficient use of network resources, and it is difficult to finely control the data flow according to user and service characteristics.
- a large number of strategies require manual configuration, resulting in increased management complexity and high operating costs. Therefore, the control functions in the packet domain gateway need to be separated from the forwarding function to meet the needs of network development and market applications.
- FIG. 2 is a schematic structural diagram of separating a GW control plane and a user plane in a non-roaming scenario according to the related art.
- the architecture splits the S/PGW in the original EPS architecture into a gateway control plane (Gateway).
- GwC Controller
- GwU Gateway User
- GwC is responsible for S/PGW control Surface functions, including load sharing, GwU selection, IP address and tunnel identification assignment, policy and charging control.
- GwU is responsible for the user plane related functions of S/PGW, including data stream identification and deep packet parsing, QoS processing and bearer binding, and buffering of downlink paging data.
- the UE establishes a PDN connection of an IP Connectivity Access Network (IP-CAN) session for accessing a Packet Data Network (PDN).
- IP-CAN IP Connectivity Access Network
- the PDN connection is composed of bearers, and the bearers are composed of service data streams.
- the network provides the network resources required for data transmission for its service data flow according to the corresponding authorized QoS.
- 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 Bit Rate (GBR), and Maximum Bit Rate (MBR), and QoS parameters UE-AMBR and APN-AMBR related to multiple EPS bearers.
- QCI QoS Class Identifier
- ARP Resource Allocation and Retention Priority
- GRR Guaranteed Bit Rate
- MRR 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 is only for non-GBR bearers and does not include GBR bearers.
- the PGW 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 a UE need to be on the same PGW.
- the PGW is divided into multiple GwC instances and multiple GwU instances. Due to the problem of multiple sessions and multiple bearers, the distribution of data streams on the GwU cannot guarantee that all PDN connections under the same APN of the same user are distributed to the same GwU instance (for example, some UEs use static addresses if the part The IP segment has been bound to the corresponding GPRS Tunneling Protocol User Plane (GTPU) node, that is, the IP segment of the part corresponds to the corresponding GwU instance. However, the GTP and PMIP of the part of the UE are Inter-switching, the UE may select two GwU instances before and after, so APN-AMBR cannot perform bandwidth statistics and restrictions on the same GwU (PGW).
- GTP and PMIP of the part of the UE are Inter-switching, the UE may select two GwU instances before and after, so APN-AMBR cannot perform bandwidth statistics and restrictions on the same GwU (PGW).
- the present invention provides a method, an apparatus, and a system for transmitting data packets, so as to at least solve the problem that the APN-AMBR bandwidth control in the GW control plane and the user plane separation architecture cannot be performed in the related art.
- a data packet sending method including: a first GwU receiving a data packet, wherein the data packet carries measurement information and a location of a bit rate of the data packet The APN-AMBR identification information of the data packet; the first GwU collects the cumulative bit rate of the non-guaranteed bandwidth bearer of the APN corresponding to the APN-AMBR identification information according to the measurement information and the APN-AMBR identification information.
- the cumulative bit rate is a bit rate of all data packets carrying the APN-AMBR identification information; if the accumulated bit rate is less than or equal to a preset bit rate, the first GwU forwarding The data message is sent to the next node.
- the first GwU according to the measurement information and the APN-AMBR identification information, the statistics of the accumulated bit rate, including: the first GwU querying, according to the APN-AMBR identification information, the APN corresponding to the APN The APN-AMBR measurement statistics table; the first GwU statistics the measurement information into the APN-AMBR measurement statistics table to obtain the accumulated bit rate.
- the method further includes: when the accumulated bit rate is greater than a preset bit rate. In case, the first GwU determines to discard the data packet.
- the method further includes: the first GwU setting a discard identifier in the data packet; the first GwU sending the data The message is sent to the second GwU.
- the data packet includes: a GTPU data packet.
- a data packet sending method including: a second GwU receiving a data packet; the second GwU measuring bit rate information of the data packet, to obtain the datagram The measurement information of the text; the second GwU processes the data packet; the second GwU sends the processed data packet to the first GwU, where the processed data packet is processed
- the APN-AMBR identification information carrying the measurement information and the data packet, where the measurement information and the APN-AMBR identification information are used by the first GwU to collect the APN corresponding to the APN-AMBR identification information.
- the cumulative bit rate which is the bit rate of all data messages carrying the APN-AMBR identification information.
- the method further includes: the second GwU querying the traffic corresponding to the data packet according to the quintuple information of the data packet. a statistical table and a processing policy, where the quintuple information includes: a source address, a source port, a destination address, a destination port, and a transport layer protocol; in the case of querying the traffic statistics table and the processing policy, The second GwU performs charging and/or usage statistics on the data packet according to the processing policy to obtain a statistical result. The second GwU updates the traffic statistics table according to the statistical result.
- the method further includes: the second GwU establishing the traffic statistics table of the data packet.
- the method further includes: the second GwU requesting the processing policy from the GwC and/or the third GwU.
- the requesting, by the second GwU, the processing policy to the GwC and/or the third GwU includes: querying in the second GwU
- the second GwU determines, according to the predetermined identifier in the traffic statistics table, whether to request the processing policy from the third GwU; if the determination result is yes, The second GwU sends the first request information to the third GwU, where the third GwU is configured to query the application identifier information of the data packet according to the first request information; the second GwU is configured according to the second GwU
- the application identifier information is used to query the processing policy of the data packet.
- the requesting, by the second GwU, the processing policy to the GwC and/or the third GwU includes: if the second GwU does not query the traffic statistics table and the processing policy And after the second GwU establishes the traffic statistics table, or in a case that the second GwU cannot query the processing policy according to the application identifier information, the second GwU sends the request for the request
- the second request information of the processing policy is sent to the GwC, where the GwC is used to query the processing policy in the local policy database of the GwC according to the second request information, or according to the second request information.
- the policy decision entity requests the processing policy; the second GwU receives the processing policy sent by the GwC.
- requesting, by the second GwU, the processing policy to the GwC and/or the third GwU includes: in the second GwU After the traffic statistics table and the processing policy are queried, and after the second GwU establishes the traffic statistics table, the second GwU sends third request information to the third GwU, where the The third GwU is configured to query the application identifier information of the data packet according to the third request information, and the second GwU queries the processing policy of the data packet according to the application identifier information.
- the requesting, by the second GwU, the processing policy to the GwC and/or the third GwU further includes: when the second GwU cannot query the processing policy according to the application identifier information
- the second GwU sends a fourth request information for requesting the processing policy to the GwC, where the GwC is used to query the local policy database of the GwC according to the fourth request information. Processing the policy, or requesting the processing policy from the policy decision entity according to the fourth request information; the second GwU receiving the processing policy sent by the GwC.
- the data packet includes: a GTPU data packet.
- a data packet sending apparatus is further applied to the first GwU, including: a first receiving module, configured to receive a data packet, where the data packet carries a The measurement information of the bit rate of the data packet and the APN-AMBR identification information of the data packet; the first statistic module is configured to collect the APN-AMBR according to the measurement information and the APN-AMBR identification information.
- the cumulative bit rate of the non-guaranteed bandwidth bearer of the APN corresponding to the identifier information wherein the accumulated bit rate is a bit rate of all data packets carrying the APN-AMBR identification information; and the forwarding module is set to be in the accumulation When the bit rate is less than or equal to the preset bit rate, the data message is forwarded to the next node.
- the statistic module includes: a first querying unit, configured to query an APN-AMBR measurement statistics table corresponding to the APN according to the APN-AMBR identification information; and a statistical unit configured to collect the measurement information to Said In the APN-AMBR measurement statistics table, the cumulative bit rate is obtained.
- the apparatus further includes: a determining module, configured to determine to discard the data packet if the accumulated bit rate is greater than a preset bit rate.
- the device further includes: a setting module, configured to set a discarding identifier in the data packet; and a first sending module, configured to send the data packet to the second GwU.
- a setting module configured to set a discarding identifier in the data packet
- a first sending module configured to send the data packet to the second GwU.
- the data packet includes: a GTPU data packet.
- a data message sending apparatus is further provided, which is applied to the second GwU, and includes: a second receiving module configured to receive a data message; and a measuring module configured to measure the data message The bit rate information, the measurement information of the data packet is obtained; the processing module is configured to process the data message; and the second sending module is configured to send the processed data message to the first GwU
- the processed data packet carries the measurement information and APN-AMBR identification information of the data packet, where the measurement information and the APN-AMBR identification information are used by the first GwU
- the cumulative bit rate of the APN corresponding to the APN-AMBR identification information is calculated, and the accumulated bit rate is a bit rate of all data packets carrying the APN-AMBR identification information.
- the device further includes: a querying module, configured to query, according to the quintuple information of the data packet, a traffic statistics table and a processing policy corresponding to the data packet, where the quintuple information
- the method includes: a source address, a source port, a destination address, a destination port, and a transport layer protocol; and a second statistic module, configured to: when the traffic statistics table and the processing policy are queried, according to the processing policy
- the data packet is subjected to billing and/or usage statistics to obtain a statistical result; and the update module is configured to update the traffic statistics table according to the statistical result.
- the device further includes: an establishing module, configured to establish the traffic statistics table of the data packet if the traffic statistics table is not queried.
- the apparatus further includes: a requesting module, configured to request the processing policy from the GwC and/or the third GwU without querying the processing policy.
- a requesting module configured to request the processing policy from the GwC and/or the third GwU without querying the processing policy.
- the requesting module includes: a determining unit, configured to: when the data packet is a downlink data packet, if the traffic statistics table is queried, according to the traffic statistics table a predetermined identifier, determining whether to request the processing policy from the third GwU; the first sending unit is configured to send the first request information to the third GwU if the determination result is yes, where the The third GwU is configured to query the application identifier information of the data packet according to the first request information, and the second query unit is configured to query the processing policy of the data packet according to the application identifier information.
- the requesting module includes: a second sending unit, configured to: after the traffic statistics table and the processing policy are not queried, and after the traffic statistics table is established, or according to the If the application identifier information cannot be queried, the second request information for requesting the processing policy is sent to the GwC, where the GwC is used according to the second request information in the GwC.
- the local policy database queries the processing policy, or requests the processing policy from the policy decision entity according to the second request information.
- the first receiving unit is configured to receive the processing policy sent by the GwC.
- the requesting module includes: a third sending unit, configured to: when the data packet is an uplink data packet, in a case where the traffic statistics table and the processing policy are not queried, and After the second GwU establishes the traffic statistics table, the third request information is sent to the third GwU, where the third GwU is configured to query the application of the data packet according to the third request information.
- the third query unit is configured to query the processing policy of the data packet according to the application identifier information.
- the requesting module further includes: a fourth sending unit, configured to send the fourth request information for requesting the processing policy to the case that the processing policy cannot be queried according to the application identification information
- the GwC where the GwC is configured to query the processing policy in the GwC local policy database according to the fourth request information, or request the processing policy from the policy decision entity according to the fourth request information;
- the second receiving unit is configured to receive the processing policy sent by the GwC.
- the data packet includes: a GTPU data packet.
- a data message sending system comprising: the first GwU and the second GwU described above.
- Another embodiment of the present invention provides a computer storage medium storing execution instructions for performing the method in the above embodiments.
- the first GwU receives the data message from the second GwU, where the data message carries the measurement information of the bit rate of the data message and the APN-AMBR identification information of the data message; the first GwU is measured according to the measurement.
- the first GwU forwards the data packet to the next node, and the data packet received by each GwU is processed and sent to the first GwU, and the first GwU is
- the APN-AMBR statistics and restrictions are implemented on the non-guaranteed bandwidth bearers of the same APN, which solves the problem that the APN-AMBR bandwidth control in the GW control plane and the user plane separation architecture cannot be implemented in the related technologies, and the GW
- FIG. 1 is a schematic structural diagram of a 3GPP evolved packet system according to the related art
- FIG. 2 is a schematic structural diagram of separating a GW control plane and a user plane in a non-roaming scenario according to the related art
- FIG. 3 is a flowchart 1 of a method for transmitting a data packet according to an embodiment of the present invention
- FIG. 4 is a second flowchart of a data packet sending method according to an embodiment of the present invention.
- FIG. 5 is a structural block diagram 1 of a data message sending apparatus according to an embodiment of the present invention.
- FIG. 6 is a block diagram 1 of an optional structure of a data message transmitting apparatus according to an embodiment of the present invention.
- FIG. 7 is a block diagram 2 of an optional structure of a data message sending apparatus according to an embodiment of the present invention.
- FIG. 8 is a block diagram 3 of an optional structure of a data message sending apparatus according to an embodiment of the present invention.
- FIG. 9 is a structural block diagram 2 of a data message sending apparatus according to an embodiment of the present invention.
- FIG. 10 is a block diagram 4 of an optional structure of a data message sending apparatus according to an embodiment of the present invention.
- FIG. 11 is a block diagram 5 of an optional structure of a data message transmitting apparatus according to an embodiment of the present invention.
- FIG. 12 is a block diagram 6 of an optional structure of a data message transmitting apparatus according to an embodiment of the present invention.
- FIG. 13 is a block diagram 7 of an optional structure of a data message transmitting apparatus according to an embodiment of the present invention.
- FIG. 14 is a block diagram 8 of an optional structure of a data message transmitting apparatus according to an embodiment of the present invention.
- FIG. 15 is a block diagram IX of an optional structure of a data message transmitting apparatus according to an embodiment of the present invention.
- FIG. 16 is a block diagram showing an optional structure of a data message transmitting apparatus according to an embodiment of the present invention.
- 17 is a structural block diagram of a data message transmitting system according to an embodiment of the present invention.
- FIG. 18 is a schematic flowchart of an APN-AMBR processing method for a non-GBR bearer data message of a GwU uplink to a UE according to an alternative embodiment of the present invention
- FIG. 19 is a schematic flowchart of a GwU processing method for a downlink non-GBR bearer data message APN-AMBR according to an alternative embodiment of the present invention.
- FIG. 3 is a flowchart 1 of a data packet sending method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
- step S302 the first GwU receives the data packet, where the data packet carries the measurement information of the bit rate of the data packet and the APN-AMBR identification information of the data packet.
- step S304 the first GwU collects the cumulative bit rate of the non-guaranteed bandwidth bearer of the APN corresponding to the APN-AMBR identification information according to the measurement information and the APN-AMBR identification information, where the accumulated bit rate carries the APN-AMBR flag.
- Step S306 in the case that the accumulated bit rate is less than or equal to the preset bit rate, the first GwU forwards the data message to the next node.
- the first GwU receives the data packet carrying the measurement information of the bit rate of the data packet and the APN-AMBR identification information of the data packet, first.
- the GwU can perform APN-AMBR statistics and restrictions on the cumulative bit rate of the non-guaranteed bandwidth bearers on the same APN according to the APN-AMBR identification information of the corresponding APN carried in the data packet, and then meet the APN-AMBR subscription requirement (ie, the above).
- the data message of the preset bit rate is forwarded.
- GwU4 Set a GwU instance as the sending instance of the data packet (equivalent to the first GwU, for example, GwU4 as the data sending instance).
- GwU2 carries the measurement information in the description of the sent data packet, and the GwU sends the instance (ie, GwU4) to the non-standard on the APN corresponding to the data packet according to the measurement information carried in the data packet sent by each GwU instance. Guarantee bandwidth bearers to achieve uniform bit rate statistics.
- the GwU sending instance sends the data packet; otherwise, the data packet needs to be discarded, and the GwU sends the instance (that is, GwU4).
- the discarding identifier for the packet and return it to the original GwU instance (that is, GwU2).
- the original GwU instance discards the data packet and deducts the traffic.
- a plurality of GwU service instances (equivalent to the second GwU, for example, GwU2) in the GwUs of the GwC may be used to process each UE or service data, and the data packets received by the GwU service instance (for example, GwU2) are sent by the GwU.
- the instance (for example, GwU4) makes the judgment of APN-AMBR.
- the first GwU may query the APN-AMBR measurement statistics table corresponding to the APN according to the APN-AMBR identification information, and then measure the information.
- the statistics are summarized in the APN-AMBR measurement statistics table to obtain the cumulative bit rate.
- the foregoing APN-AMBR measurement statistics table may be deployed in the first GwU, or may be deployed in the GwC to which the first GwU belongs, and then requested by the first GwU to the GwC.
- the first GwU determines to discard the data packet, where the data message may be discarded by the first GwU, or may be A GwU notifies the second GwU to discard the data packet.
- the first GwU sets a discarding identifier in the data packet, and then sends the data packet to the second GwU, and the second GwU discards the data packet; the second GwU receives the data packet.
- the billing and usage statistics of the current data can be reduced, and the traffic statistics table corresponding to the data packet is updated.
- the foregoing data packet may include: a GTPU data packet.
- FIG. 4 is a second flowchart of a data packet sending method according to an embodiment of the present invention. As shown in FIG. 4, the process includes the following steps:
- Step S402 the second GwU receives the data packet.
- Step S404 the second GwU measures bit rate information of the data packet, and obtains measurement information of the data packet;
- Step S406 the second GwU processes the data packet.
- Step S408 The second GwU sends the processed data packet to the first GwU, where the processed data packet carries the APN-AMBR identification information, the measurement information, and the APN-AMBR identifier of the measurement information and the data packet.
- the information is used by the first GwU to calculate the cumulative bit rate of the APN corresponding to the APN-AMBR identification information, and the cumulative bit rate is the bit rate of all data packets carrying the APN-AMBR identification information.
- the second GwU performs bit rate information measurement on the received data packet, obtains measurement information of the data packet, and processes the data packet to obtain an APN-AMBR carrying the measurement information and the data packet.
- the data packet of the identification information is sent to the first GwU, and the first GwU can accumulate the non-guaranteed bandwidth bearer of the same APN according to the measurement information in the data packet and the APN-AMBR identification information.
- the rate is counted, and the bandwidth limit of the APN-AMBR is performed on the data packet according to the statistics.
- the second GwU in order to obtain the measurement information of the data packet, the second GwU needs to query the traffic statistics table and the processing policy corresponding to the data packet, and the second GwU may be based on the quintuple information of the data packet.
- the traffic statistics table and the processing policy corresponding to the data packet are queried. If the traffic statistics table and the processing policy corresponding to the data packet are queried, the data packet can be charged and/or used, and the statistics are updated.
- the second GwU can obtain the measurement information of the data packet according to the information in the traffic statistics table.
- the second GwU can query the traffic statistics table and the processing policy corresponding to the data packet according to the quintuple information of the data packet, where the quintuple information includes: source address, source port, destination address, destination port, and transmission.
- the layer protocol and then, when the traffic statistics table and the processing policy are queried, the data packet is charged and/or used according to the processing policy to obtain a statistical result, and then the traffic statistics table is updated according to the statistical result.
- the second GwU may establish a new traffic statistics table for the data packet, and then perform statistics on the bit rate information of the data packet.
- the second GwU may request a processing policy from the GwC and/or the third GwU.
- the second GwU may determine whether to go to the third GwU according to the predetermined identifier in the traffic statistics table. Requesting a processing policy, if it is determined that a processing policy needs to be requested to the third GwU, the second GwU may send the first request information to the third GwU, and the third GwU queries the application identifier information of the data packet according to the first request information, and the second GwU can receive the response message of the first request information that is sent by the third GwU and carries the application identifier information of the data packet. The second GwU can query the processing strategy of the data packet according to the application identifier information.
- the second GwU may send the first time after the second GwU does not query the traffic statistics table and the processing policy, and after the traffic statistics table is established in the second GwU.
- the third request information is sent to the third GwU, and the third GwU queries the application identifier information of the data packet according to the third request information, and then returns the application identifier information of the data packet to the second GwU, and the second GwU can be based on the application identifier.
- Information query the processing strategy of data packets.
- the second GwU may send the fourth request information for requesting the processing policy to the GwC, and the local policy of the GwC according to the fourth request information in the GwC
- the library queries the processing policy, or requests the processing policy from the policy decision entity according to the fourth request information, and then returns the processing policy of the data packet to the second GwU, and the second GwU can receive the processing policy sent by the GwC.
- the data packet may include: a GTPU data packet.
- the data packet referred to in the embodiment of the present invention refers to a data packet carried by a non-GBR.
- the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
- the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
- the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
- a data packet sending apparatus is further provided, which is applied to the first GwU, and the apparatus is used to implement the foregoing embodiments and optional implementation manners, and details are not described herein.
- the term "module” may implement a combination of software and/or hardware of a predetermined function.
- the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- FIG. 5 is a block diagram showing the structure of a data packet transmitting apparatus according to an embodiment of the present invention.
- the apparatus includes: a first receiving module 52, a first statistic module 54, and a forwarding module 56, wherein the first receiving The module 52 is configured to receive the data packet, where the data packet carries the measurement information of the bit rate of the data packet and the APN-AMBR identifier information of the data packet.
- the first statistic module 54 is coupled to the first receiving module. 52. Set, according to the measurement information and the APN-AMBR identifier information, the cumulative bit of the non-guaranteed bandwidth bearer of the APN corresponding to the APN-AMBR identifier information.
- the forwarding module 56 is coupled to the first statistic module 54 and configured to set the accumulated bit rate to be less than or equal to the preset bit rate. In this case, the data message is forwarded to the next node.
- FIG. 6 is a block diagram of an optional structure of a data packet sending apparatus according to an embodiment of the present invention.
- the first statistic module 54 includes: a first query unit 62 and a statistic unit 64, where The first query unit 62 is configured to query the APN-AMBR measurement statistics table corresponding to the APN according to the APN-AMBR identification information; the statistics unit 64 is coupled to the first query unit 62, and is configured to collect the measurement information into the APN-AMBR measurement statistics table. In the middle, the cumulative bit rate is obtained.
- FIG. 7 is a block diagram of an optional structure of a data packet transmitting apparatus according to an embodiment of the present invention.
- the apparatus further includes: a determining module 72 coupled to the first statistic module 54 and configured to be configured as In the case where the accumulated bit rate is greater than the preset bit rate, it is determined to discard the data message.
- FIG. 8 is a block diagram 3 of an optional structure of a data packet sending apparatus according to an embodiment of the present invention. As shown in FIG. 8, the apparatus further includes: a setting module 82 and a first sending module 84, wherein the setting module The first sending module 84 is coupled to the setting module 82 and configured to send the data message to the second GwU.
- the foregoing data packet includes: a GTPU data packet.
- a data packet sending apparatus is further provided, which is applied to the second GwU, and the apparatus is used to implement the foregoing embodiment and the optional implementation manner, and the description has been omitted.
- the term "module” may implement a combination of software and/or hardware of a predetermined function.
- the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- FIG. 9 is a block diagram showing the structure of a data message transmitting apparatus according to an embodiment of the present invention.
- the apparatus includes: a second receiving module 92, a measuring module 94, a processing module 96, and a second sending module 98, wherein The second receiving module 92 is configured to receive the data packet.
- the measuring module 94 is coupled to the second receiving module 92, configured to measure the bit rate information of the data packet, and obtain measurement information of the data packet.
- the processing module 96 is coupled.
- the measurement module 94 is configured to process the data message; the second sending module 98 is coupled to the processing module 96, and configured to send the processed data message to the first GwU, where the processed data message is
- the APN-AMBR identification information carrying the measurement information and the data packet, the measurement information and the APN-AMBR identification information are used for the cumulative bit rate of the APN corresponding to the APN-AMBR identification information of the first GwU, and the accumulated bit rate carries the APN- The bit rate of all data packets of the AMBR identification information.
- FIG. 10 is a block diagram of an optional structure of a data packet sending apparatus according to an embodiment of the present invention.
- the apparatus further includes: a query module 102, a second statistic module 104, and an update module 106.
- the query module 102 is coupled to the second receiving module 92, and configured to query the traffic statistics table and the processing policy corresponding to the data packet according to the quintuple information of the data packet, where the quintuple information includes: a source address, The source port, the destination address, the destination port, and the transport layer protocol;
- the second statistic module 104 is coupled to the query module 102, and configured to charge the data packet according to the processing policy when the traffic statistics table and the processing policy are queried. And/or the usage statistics, the statistical result is obtained;
- the update module 106 is coupled to the second statistics module 104, and is configured to update the traffic statistics table according to the statistical result.
- FIG. 11 is a block diagram 5 of an optional structure of a data packet sending apparatus according to an embodiment of the present invention. As shown in FIG. 11, the apparatus further includes: an establishing module 112 coupled to the query module 102 and the second statistic module. 104: Set the traffic statistics table of data packets when the traffic statistics table is not queried.
- FIG. 12 is a block diagram of an optional structure of a data message transmitting apparatus according to an embodiment of the present invention.
- the apparatus further includes: a requesting module 122 coupled to the query module 102 and the second statistic module. Between 104, it is set to request a processing policy from the GwC and/or the third GwU without querying the processing policy.
- FIG. 13 is a block diagram showing an optional structure of a data packet transmitting apparatus according to an embodiment of the present invention.
- the requesting module 122 includes: a determining unit 132, a first sending unit 134, and a second query.
- the unit 136 wherein the determining unit 132 is configured to determine whether to request the third GwU according to the predetermined identifier in the traffic statistics table when the data packet is the downlink data packet, if the traffic statistics table is queried.
- the first sending unit 134 is coupled to the determining unit 132, and configured to send the first request information to the third GwU if the determination result is yes, wherein the third GwU is configured to query according to the first request information.
- the application identifier information of the data packet; the second query unit 136 is configured to query the processing strategy of the data packet according to the application identifier information.
- FIG. 14 is a block diagram of an optional structure of a data message transmitting apparatus according to an embodiment of the present invention.
- the requesting module 122 includes: a second sending unit 142 and a first receiving unit 144, where The second sending unit 142 is configured to send the request for the request if the traffic statistics table and the processing policy are not queried and after the traffic statistics table is established, or if the processing policy cannot be queried according to the application identification information.
- the GwC is configured to query the processing policy in the local policy database of the GwC according to the second request information, or request the processing policy from the policy decision entity according to the second request information; the first receiving unit 144, Set to receive the processing policy sent by GwC.
- FIG. 15 is a block diagram showing an optional structure of a data packet transmitting apparatus according to an embodiment of the present invention.
- the requesting module 122 includes: a third sending unit 152 and a third query unit 154, where The third sending unit 152 is configured to send the third request information after the datagram is an uplink data packet, if the traffic statistics table and the processing policy are not queried, and after the traffic statistics table is established in the second GwU.
- the third GwU is configured to query the application identifier information of the data packet according to the third request information
- the third query unit 154 is configured to query the processing strategy of the data packet according to the application identifier information.
- FIG. 16 is a block diagram showing an optional structure of a data message transmitting apparatus according to an embodiment of the present invention.
- the requesting module 122 includes: a fourth sending unit 162 and a second receiving unit 164, where The fourth sending unit 162 is coupled to the third query unit 154, and configured to send the fourth request information for requesting the processing policy to the GwC if the processing policy cannot be queried according to the application identification information, where GwC is used.
- the processing policy is queried in the local policy database of the GwC according to the fourth request information, or the processing policy is requested from the policy decision entity according to the fourth request information.
- the second receiving unit 164 is coupled to the fourth sending unit 162 and configured to receive the processing of the GwC transmission. Strategy.
- the foregoing data packet includes: a GTPU data packet.
- FIG. 17 is a structural block diagram of a data packet sending system according to an embodiment of the present invention. As shown in FIG. 17, the system includes: the first GwU 172 described above. And the second GwU described above 174, wherein the first GwU 172 is connected to the second GwU 174.
- each of the above modules may be implemented by software or hardware.
- the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
- Embodiments of the present invention also provide a software for performing the technical solutions described in the foregoing embodiments and optional embodiments.
- Embodiments of the present invention also provide a storage medium.
- the above storage medium may be configured to store program code for performing the following steps:
- step S302 the first GwU receives the data packet, where the data packet carries the measurement information of the bit rate of the data packet and the APN-AMBR identification information of the data packet.
- step S304 the first GwU collects the cumulative bit rate of the non-guaranteed bandwidth bearer of the APN corresponding to the APN-AMBR identification information according to the measurement information and the APN-AMBR identification information, where the accumulated bit rate is all the information carrying the APN-AMBR identification information.
- the bit rate of the data message
- Step S306 in the case that the accumulated bit rate is less than or equal to the preset bit rate, the first GwU forwards the data message to the next node.
- the storage medium is further arranged to store program code for performing the following steps:
- Step S402 the second GwU receives the data packet.
- Step S404 the second GwU measures bit rate information of the data packet, and obtains measurement information of the data packet;
- Step S406 the second GwU processes the data packet.
- Step S408 The second GwU sends the processed data packet to the first GwU, where the processed data packet carries the APN-AMBR identification information, the measurement information, and the APN-AMBR identifier of the measurement information and the data packet.
- the information is used by the first GwU to calculate the cumulative bit rate of the APN corresponding to the APN-AMBR identification information, and the cumulative bit rate is the bit rate of all data packets carrying the APN-AMBR identification information.
- the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
- ROM Read-Only Memory
- RAM Random Access Memory
- An alternative embodiment of the present invention describes and describes the execution of the APN-AMBR by taking a non-roaming scenario as an example.
- the architecture of the roaming scenario can be divided into local access (GWC and GWU in the visited place) and home access (S-GWC and S-GWU in the visited place, P-GWC and P-GWU in the attribution place)
- GWC and GWU local access
- S-GWC and S-GWU home access
- P-GWC and P-GWU in the attribution place
- the optional embodiment of the present invention may also be applied to the roaming scenario.
- the optional embodiment of the present invention can be used in a quality of service (QoS) control technology in a wireless communication system.
- QoS quality of service
- the optional embodiment of the present invention provides an Evolved Packet System (EPS).
- EPS Evolved Packet System
- the method for accurately performing the APN-AMBR bandwidth control in the GW control plane and the user plane separation architecture can ensure that the network can perform accurate bandwidth limitation and data flow gate on the APN according to the APN-AMBR subscribed by the user. Control restrictions.
- FIG. 18 is a schematic flowchart of a method for processing an APN-AMBR for a non-GBR bearer data message of an uplink of a UE according to an alternative embodiment of the present invention. As shown in FIG. 18, the method includes the following steps:
- Step S1801 The GwU receiving instance receives the uplink data packet, and identifies the uplink data packet as the user plane data GTPU packet, and the forwarding table finds the GwU service instance corresponding to the user service (corresponding to the second GwU).
- Step S1802 The GwU receiving instance forwards the data packet to the corresponding GwU service instance that is found.
- Step S1803 The GwU service instance matches the data packet according to the Tunnel Endpoint Identifier of the User plane (TEIDU), and performs internal quintuple matching after decapsulating the data packet.
- the flow table corresponding to the data packet (corresponding to the traffic statistics table) and the policy (corresponding to the processing policy described above) execute step S1811.
- Step S1804 If the current flow table and the policy are not matched, a new flow table is created for the data packet, and the data packet is forwarded to the GwU DPI instance (equivalent to the third GwU) to apply the data flow. (corresponding to the above application identification information) identification.
- Step S1805 After the GwU DPI instance matches the related service information of the data packet according to the local signature database, the GwU DPI instance returns the data packet and the corresponding application identifier information to the GwU service instance.
- Step S1806 The GwU service instance performs a traffic flow template (Traffic Flow Template, TFT for short) matching according to the received application identifier. If the flow table and the policy corresponding to the data packet are matched, step S1811 is performed.
- a traffic flow template Traffic Flow Template, TFT for short
- Step S1807 If the application identifier cannot be identified by the GwU service instance, or the GwU service instance fails to match the corresponding flow table and policy, or the application identifier information changes, the data packet is cached, and step S1808 is performed. , get the processing strategy.
- Step S1808 The GwU service instance sends the TEIDU, the quintuple information, and the application identifier information of the data packet to the GwC, and obtains corresponding QoS policy and charging information.
- Step S1809 The application identifier information carried by the GwC according to the request message (corresponding to the fourth request information mentioned above) and five Information such as tuple information, obtaining a local policy, or requesting policy rule information from an external (for example, PCRF).
- five Information such as tuple information, obtaining a local policy, or requesting policy rule information from an external (for example, PCRF).
- Step S1810 The GwC returns the information including the QoS and the charging and the routing and forwarding policies provided by the external policy decision entity, such as the local policy or the PCRF, to the GwU service instance, and the GwU service instance performs the policy execution.
- the external policy decision entity such as the local policy or the PCRF
- Step S1811 The GwU service instance performs a QoS policy such as uplink gating on the data packet according to the current policy (the local policy or the policy provided by the GwC), and performs meter statistics of the charging and usage of the uplink data, and updates the traffic to the flow table. .
- the information to be carried such as the binding bearer information and the route forwarding information, is added to the outgoing data packet header, and the data packet is encapsulated by the data outgoing packet.
- Step S1812 After performing the bearer-related policy, accounting, and usage statistics, the GwU service instance forwards the re-encapsulated outgoing data packet to the GwU sending instance (equivalent to the first GwU), and the GwU service instance sends the message. It carries measurement information and APN-AMBR identification information.
- Step S1813 The GwU sending instance receives the data packet carrying the measurement information and the APN-AMBR identification information in the data packet description sent by the GwU service instance. According to the measurement information carried in the data packet description, perform unified bit rate statistics, compare the current APN-AMBR subscription information of the APN corresponding to the data packet (carrying the preset bit rate described above), and the local APN-AMBR. The measurement statistics table is sent to the external PDN network if the maximum bit rate of all non-GBR bearers under the APN is less than or equal to the subscribed APN-AMBR. Otherwise, step S1815 is performed.
- Step S1814 Confirming that the GwU sending instance sends the data packet to the next routing node or the external PDN network node according to the routing forwarding policy of the data packet, in the range of the APN-AMBR allowed by the subscription.
- Step S1815 After the GwU sends the instance execution statistics, if the maximum bit rate of all non-GBR bearers in the APN is greater than the signed APN-AMBR, the data packet needs to be discarded, and the GwU sending instance sets the discarding identifier for the data packet. And return to the GwU service instance that originally sent the data packet.
- Step S1816 The GwU service instance receives the data packet carrying the discarding identifier from the GwU sending instance, and reduces the meter statistics of the current uplink data charging and usage, and updates the flow table.
- the GwU when the GwU sends an uplink data packet, the GwU sends the instance as an anchor point to implement unified statistics and monitoring of the APN-AMBR.
- the GwU instance in the optional embodiment of the present invention may be a logical functional entity actually deployed in the network element, or may be an independent actual deployed network element; or may be a virtualized functional device, or A processor in a functional device, or a network slice or microservice that is virtualized.
- FIG. 19 is a schematic flowchart of a method for processing a downlink non-GBR bearer data packet APN-AMBR according to an alternative embodiment of the present invention. As shown in FIG. 19, the method includes the following steps:
- Step S1901 The GwU receiving instance receives the downlink data packet.
- Step S1902 The GwU accepts the instance to identify the data packet as a downlink data packet, and finds a GwU service instance (corresponding to the second GwU) corresponding to the user service according to the IP address check forwarding table carried in the data packet.
- Step S1903 The GwU accepts the data packet to be forwarded to the GwU service instance corresponding to the forwarding table.
- Step S1904 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 (corresponding to the traffic statistics table), it is determined according to the flag in the flow table (corresponding to the predetermined identifier) whether to send to the GwU DPI instance (corresponding to the third GwU) for analysis. . If it is necessary to send to the GwU DPI instance for analysis, step S1905 is performed. If the corresponding flow table and policy are matched (corresponding to the above processing policy), and the GwU DPI instance does not need to be sent for analysis, step S1911 is performed. If the corresponding flow table is not matched, a new flow table is created for the data packet, and the data packet is cached. Step S1908 is executed to acquire a policy from the GwC.
- Step S1905 If the current flow table is matched, but according to the flag in the flow table, the GwU DPI instance is required for analysis.
- the data packet is buffered, and the key information of the data packet is sent to the GwU DPI instance to identify the application identifier of the data packet.
- Step S1906 After the GwU DPI instance matches the related service information of the data packet according to the local signature database, the GwU DPI instance returns information such as the data packet and the corresponding application identifier to the GwU service instance.
- Step S1907 The GwU service instance performs TFT matching such as quintuple according to the received application identification information. If the corresponding flow table and policy are matched, step S1911 is performed. If the application identifier information is unrecognized or changed, the data packet is cached, and step S1908 is executed to send a request message to the GwC to obtain a processing policy. If the application identifier can match the bearer acquisition processing policy of the flow table, step S1911 is performed.
- Step S1908 The GwU service instance sends an acquisition processing policy request message (corresponding to the second request information) to the GwC, and the TEIDU, the quintuple information, and the application identifier of the request message carry the corresponding QoS policy and Billing rules, routing policies and other information.
- Step S1909 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 (for example, the PCRF).
- Step S1910 The GwC sends a local processing policy or a processing policy provided by an external policy decision entity such as a PCRF, where the information of the processing policy, including the QoS policy, the charging policy, and the routing and forwarding, is returned to the GwU service instance for policy execution.
- an external policy decision entity such as a PCRF
- Step S1911 The GwU service instance performs a QoS policy such as a downlink gating on the data packet according to the current policy (the local policy or the policy provided by the GwC), and performs metering of the accounting and usage of the downlink data packet to update the traffic to the flow.
- a QoS policy such as a downlink gating on the data packet according to the current policy (the local policy or the policy provided by the GwC)
- the information to be carried such as the bearer bearer information matched by the data flow template, and the route forwarding information, are added to the outgoing data packet header, and the data packet is encapsulated.
- Step S1912 After performing the bearer-related policy, charging, and usage statistics, the GwU service instance forwards the re-encapsulated downlink data packet to the GwU sending instance (corresponding to the first GwU).
- GwU business instance sent to GwU The message sent by the instance carries the measurement information and the APN-AMBR identification information.
- Step S1913 The GwU sending instance receives the downlink data packet carrying the measurement information and the APN-AMBR identification information in the data packet description sent by the GwU service instance. According to the measurement information carried in the data packet description, perform unified bit rate statistics, compare the current downlink APN-AMBR subscription information of the APN corresponding to the data packet (carrying the preset bit rate described above), and the local APN-AMBR. The measurement data table is sent, if the maximum bit rate of the downlink non-GBR bearer of the APN is less than or equal to the downlink APN-AMBR of the subscription, the data packet is sent. Otherwise, step S1914 is performed.
- Step S1914 After the GwU sends the instance execution statistics, when the maximum bit rate of the downlink non-GBR bearer of the APN is greater than the downlink APN-AMBR of the subscription, the data packet needs to be discarded, and the GwU sending instance sets the data packet to be discarded. Identifies and returns to the GwU service instance that originally sent the data packet.
- Step S1915 The GwU service instance receives the data packet carrying the discarding identifier from the GwU sending instance.
- Step S1916 The meter statistics of the billing and usage of the current downlink data are reduced, and the flow table is updated.
- the GwU when the GwU sends a downlink data packet, the GwU sends the instance as an anchor point to implement unified statistics and monitoring of the APN-AMBR.
- the GwU instance in the optional embodiment of the present invention may be a logical functional entity actually deployed in the network element, or may be an independent actual deployed network element; or may be a virtualized functional device, or A processor in a functional device, or a network slice or microservice that is virtualized.
- the data packet between the GwUs may be forwarded by direct data or by defining a new interface.
- modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
- the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
- the invention is not limited to any specific combination of hardware and software.
- the data packet sending method, apparatus, and system provided by the embodiments of the present invention have the following beneficial effects: the problem that the APN-AMBR bandwidth control in the GW control plane and the user plane separation architecture cannot be performed in the related art is solved. APN-AMBR bandwidth control in the GW control plane and user plane separation architecture is implemented.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明提供了一种数据报文发送方法、装置和系统。其中,该方法包括:第一GwU接收数据报文;第一GwU根据测量信息和APN-AMBR标识信息,统计APN-AMBR标识信息对应的APN的非保障带宽承载的累计比特率;在累计比特率小于或等于预设比特率的情况下,第一GwU转发数据报文至下一节点。通过本发明,解决了相关技术中无法执行GW控制面和用户面分离架构中的APN-AMBR带宽控制的问题,实现了GW控制面和用户面分离架构中的APN-AMBR带宽控制。
Description
本发明涉及通信领域,具体而言,涉及一种数据报文发送方法、装置和系统。
图1是根据相关技术的3GPP演进分组系统结构示意图,如图1所示,3GPP演进分组系统(Evolved Packet System,简称为EPS)由演进的通用移动通信系统陆地无线接入网(Evolved Universal Terrestrial Radio Access Network,简称为E-UTRAN)、移动管理单元(Mobility Management Entity,简称为MME)、服务网关(Serving Gateway,简称为S-GW)、分组数据网络网关(Packet Data Network Gateway,简称为PDN GW或P-GW)、归属用户服务器(Home Subscriber Server,简称为HSS)、3GPP的认证授权计费(Authentication、Authorization and Accounting,简称为AAA)服务器、策略和计费规则功能实体(Policy and Charging Rules Function,简称为PCRF)及其它支撑节点组成。
MME用于移动性管理、非接入层信令的处理和用户移动管理上下文的管理等控制面相关工作;S-GW是与E-UTRAN相连的接入网关设备,在E-UTRAN与P-GW之间转发数据,并且用于对寻呼等待数据进行缓存;P-GW则是EPS与PDN的边界网关,用于PDN的接入及在EPS与PDN间转发数据等功能。PCRF负责策略决策和计费规则的制定,提供基于业务数据流的门控、服务质量控制及计费规则给GW,在承载面执行PCRF所制定的策略和计费规则。在承载建立时,GW按照PCRF发送的规则进行服务质量(QoS)授权和门控控制。根据PCRF发送的计费规则,执行相应的业务数据流计费操作,计费既可以是在线计费,也可以是离线计费。如果是在线计费,则需要和在线计费系统(Online Charging System,简称为OCS)一起进行信用管理。离线计费则和离线计费系统(Offline Charging System,简称为OFCS)之间交换相关的计费信息。GW与PCRF之间的接口是Gx接口,与OCS之间的接口是Gy接口,与OFCS之间的接口是Gz接口。
由于EPS网关存在如下几个问题:首先,用户数据流处理集中在PDN出口网关,造成网关设备功能繁杂,可扩展性差;其次,网关的控制面与转发面高度耦合,不利于核心网平滑演进;再次,转发面扩容需求频度高于控制面,紧耦合导致控制面转发面同步扩容,设备更新周期短导致复合成本增加;以及,网络层数据转发难以识别用户、业务特征,仅能根据上层传递的QoS转发,导致网络资源利用低效,难以依据用户和业务特性对数据流进行精细控制。此外,大量策略需要手工配置,导致管理复杂度增加,运营成本居高不下。因此,需要将分组域网关中的控制功能与转发功能进行分离,以适应网络发展和市场应用的需求。
图2是根据相关技术的非漫游场景下GW控制面和用户面分离的结构示意图,如图2所示,该架构将原有的EPS架构中的S/PGW拆分成了网关控制面(Gateway Controller,简称为GwC)和网关用户面(Gateway User,简称为GwU)两类功能网元。GwC负责S/PGW的控
制面功能,包括负荷分担、GwU的选择、IP地址和隧道标识的分配、策略和计费控制等功能。GwU负责S/PGW的用户面相关功能,包括数据流识别和深度包解析、QoS处理和承载绑定,下行寻呼数据的缓存等功能。
UE为访问分组数据网络(Packet Data Network,简称为PDN)会建立一个IP连接接入网(IP Connectivity Access Network,简称为IP-CAN)会话的PDN连接。PDN连接是由承载组成,承载由业务数据流组成。网络按相应授权的QoS为其业务数据流提供数据传输需要的网络资源,在同一个承载内的业务数据流具有相同的QoS参数,即相同的承载QoS特性。相关的QoS参数包括承载级别的QoS分类标识(QoS Class Identifier,简称为QCI)、资源分配和保留优先级(Allocation and Retention Priority,简称为ARP)、保障带宽(Guaranteed Bit Rate,简称为GBR)和最大带宽(Maximum Bit Rate,简称为MBR),以及多个EPS承载汇聚相关的QoS参数UE-AMBR和APN-AMBR。
承载分为GBR承载和non-GBR承载:GBR承载包含MBR和GBR,是保障最低带宽的承载;non-GBR承载只包含MBR,是提供尽力而为带宽的承载。当UE附着到网络建立PDN连接后,会建立默认承载,对QoS要求更高的数据业务会建立专有承载。通常专有承载QoS比默认承载QoS要求高。默认承载一定是non-GBR承载。专用承载可以是GBR承载或Non-GBR承载。
APN-AMBR是存储在HSS中的每个APN的一个签约参数。该参数限制了同一个APN下,所有PDN连接的non-GBR承载的最大比特率。每个non-GBR承载都有可能占用到全部APN-AMBR带宽,例如当其他non-GBR承载没有任何数据流量时。APN-AMBR只针对non-GBR承载,不包括GBR承载在内。PGW会根据HSS中签约的APN-AMBR数值,对该APN下的所有PDN连接的non-GBR承载的上行和下行数据流执行带宽限制。一个UE相同APN上的所有同时激活的PDN连接,需要在同一个PGW上。即,即使UE支持单APN多PDN连接功能,该UE的所有同时激活的关联到相同APN下的PDN连接,也必须由同一个PGW提供。因此,当前的APN-AMBR只要在该APN对应的PGW上执行即可。
但对于GW控制面和用户面分离的架构,PGW分为了多个GwC实例和多个GwU实例。由于存在多个会话和多个承载的问题,GwU上的数据流分发无法保证将同一个用户同一APN下的所有PDN连接分发到同一个GwU实例(例如,部分UE采用静态地址,如果该部分的IP段已经捆绑到相应到通用分组无线业务隧道协议用户平面(GPRS Tunneling Protocol User Plane,简称为GTPU)节点,即该部分的IP段对应到相应的GwU实例。但该部分UE的GTP和PMIP之间切换,UE前后选择的可能是两个GwU实例),因此APN-AMBR无法在同一个GwU(PGW)上执行带宽统计和限制。
针对相关技术中无法执行GW控制面和用户面分离架构中的APN-AMBR带宽控制的问题,目前尚未提出有效的解决方案。
发明内容
本发明提供了一种数据报文发送方法、装置和系统,以至少解决相关技术中无法执行GW控制面和用户面分离架构中的APN-AMBR带宽控制的问题。
根据本发明的一个方面,提供了一种数据报文发送方法,包括:第一GwU接收数据报文,其中,所述数据报文携带有对所述数据报文的比特率的测量信息和所述数据报文的APN-AMBR标识信息;所述第一GwU根据所述测量信息和所述APN-AMBR标识信息,统计所述APN-AMBR标识信息对应的APN的非保障带宽承载的累计比特率,其中,所述累计比特率为携带有所述APN-AMBR标识信息的全部数据报文的比特率;在所述累计比特率小于或等于预设比特率的情况下,所述第一GwU转发所述数据报文至下一节点。
可选地,所述第一GwU根据所述测量信息和所述APN-AMBR标识信息,统计所述累计比特率包括:所述第一GwU根据所述APN-AMBR标识信息查询所述APN对应的APN-AMBR测量统计表;所述第一GwU将所述测量信息统计到所述APN-AMBR测量统计表中,得到所述累计比特率。
可选地,在所述第一GwU根据所述测量信息和所述APN-AMBR标识信息,统计所述累计比特率之后,所述方法还包括:在所述累计比特率大于预设比特率的情况下,所述第一GwU确定丢弃所述数据报文。
可选地,在所述第一GwU确定丢弃所述数据报文之后,所述方法还包括:所述第一GwU在所述数据报文中设置丢弃标识;所述第一GwU发送所述数据报文至第二GwU。
可选地,所述数据报文包括:GTPU数据报文。
根据本发明的另一个方面,还提供了一种数据报文发送方法,包括:第二GwU接收数据报文;所述第二GwU测量所述数据报文的比特率信息,得到所述数据报文的测量信息;所述第二GwU对所述数据报文进行处理;所述第二GwU将处理后的所述数据报文发送至第一GwU,其中,处理后的所述数据报文中携带有所述测量信息和所述数据报文的APN-AMBR标识信息,所述测量信息和所述APN-AMBR标识信息用于所述第一GwU统计所述APN-AMBR标识信息对应的APN的累计比特率,所述累计比特率为携带有所述APN-AMBR标识信息的全部数据报文的比特率。
可选地,在所述第二GwU接收所述数据报文之后,所述方法还包括:所述第二GwU根据所述数据报文的五元组信息,查询所述数据报文对应的流量统计表和处理策略,其中,所述五元组信息包括:源地址、源端口、目的地址、目的端口和传输层协议;在查询到所述流量统计表和所述处理策略的情况下,所述第二GwU根据所述处理策略对所述数据报文进行计费和/或用量统计,得到统计结果;所述第二GwU根据所述统计结果,更新所述流量统计表。
可选地,在所述第二GwU未查询到所述流量统计表的情况下,所述方法还包括:所述第二GwU建立所述数据报文的所述流量统计表。
可选地,在所述第二GwU未查询到所述处理策略的情况下,所述方法还包括:所述第二GwU向GwC和/或第三GwU请求所述处理策略。
可选地,在所述数据报文为下行数据报文的情况下,所述第二GwU向所述GwC和/或所述第三GwU请求所述处理策略包括:在所述第二GwU查询到所述流量统计表的情况下,所述第二GwU根据所述流量统计表中的预定标识,判断是否向所述第三GwU请求所述处理策略;在判断结果为是的情况下,所述第二GwU发送第一请求信息至所述第三GwU,其中,所述第三GwU用于根据所述第一请求信息,查询所述数据报文的应用标识信息;所述第二GwU根据所述应用标识信息,查询所述数据报文的所述处理策略。
可选地,所述第二GwU向所述GwC和/或所述第三GwU请求所述处理策略包括:在所述第二GwU未查询到所述流量统计表和所述处理策略的情况下且在所述第二GwU建立所述流量统计表之后,或者,在所述第二GwU根据所述应用标识信息无法查询到所述处理策略的情况下,所述第二GwU发送用于请求所述处理策略的第二请求信息至所述GwC,其中,所述GwC用于根据所述第二请求信息在所述GwC的本地策略库查询所述处理策略,或者根据所述第二请求信息向策略决策实体请求所述处理策略;所述第二GwU接收所述GwC发送的所述处理策略。
可选地,在所述数据报文为上行数据报文的情况下,所述第二GwU向所述GwC和/或所述第三GwU请求所述处理策略包括:在所述第二GwU未查询所述流量统计表和所述处理策略的情况下且在所述第二GwU建立所述流量统计表之后,所述第二GwU发送第三请求信息至所述第三GwU,其中,所述第三GwU用于根据所述第三请求信息,查询所述数据报文的应用标识信息;所述第二GwU根据所述应用标识信息,查询所述数据报文的所述处理策略。
可选地,所述第二GwU向所述GwC和/或所述第三GwU请求所述处理策略还包括:在所述第二GwU根据所述应用标识信息无法查询到所述处理策略的情况下,所述第二GwU发送用于请求所述处理策略的第四请求信息至所述GwC,其中,所述GwC用于根据所述第四请求信息在所述GwC的本地策略库查询所述处理策略,或者根据所述第四请求信息向策略决策实体请求所述处理策略;所述第二GwU接收所述GwC发送的所述处理策略。
可选地,所述数据报文包括:GTPU数据报文。
根据本发明的另一个方面,还提供了一种数据报文发送装置,应用于第一GwU,包括:第一接收模块,设置为接收数据报文,其中,所述数据报文携带有对所述数据报文的比特率的测量信息和所述数据报文的APN-AMBR标识信息;第一统计模块,设置为根据所述测量信息和所述APN-AMBR标识信息,统计所述APN-AMBR标识信息对应的APN的非保障带宽承载的累计比特率,其中,所述累计比特率为携带有所述APN-AMBR标识信息的全部数据报文的比特率;转发模块,设置为在所述累计比特率小于或等于预设比特率的情况下,转发所述数据报文至下一节点。
可选地,所述统计模块包括:第一查询单元,设置为根据所述APN-AMBR标识信息查询所述APN对应的APN-AMBR测量统计表;统计单元,设置为将所述测量信息统计到所述
APN-AMBR测量统计表中,得到所述累计比特率。
可选地,所述装置还包括:确定模块,设置为在所述累计比特率大于预设比特率的情况下,确定丢弃所述数据报文。
可选地,所述装置还包括:设置模块,设置为在所述数据报文中设置丢弃标识;第一发送模块,设置为发送所述数据报文至第二GwU。
可选地,所述数据报文包括:GTPU数据报文。
根据本发明的另一个方面,还提供了一种数据报文发送装置,应用于第二GwU,包括:第二接收模块,设置为接收数据报文;测量模块,设置为测量所述数据报文的比特率信息,得到所述数据报文的测量信息;处理模块,设置为对所述数据报文进行处理;第二发送模块,设置为将处理后的所述数据报文发送至第一GwU,其中,处理后的所述数据报文中携带有所述测量信息和所述数据报文的APN-AMBR标识信息,所述测量信息和所述APN-AMBR标识信息用于所述第一GwU统计所述APN-AMBR标识信息对应的APN的累计比特率,所述累计比特率为携带有所述APN-AMBR标识信息的全部数据报文的比特率。
可选地,所述装置还包括:查询模块,设置为根据所述数据报文的五元组信息,查询所述数据报文对应的流量统计表和处理策略,其中,所述五元组信息包括:源地址、源端口、目的地址、目的端口和传输层协议;第二统计模块,设置为在查询到所述流量统计表和所述处理策略的情况下,根据所述处理策略对所述数据报文进行计费和/或用量统计,得到统计结果;更新模块,设置为根据所述统计结果,更新所述流量统计表。
可选地,所述装置还包括:建立模块,设置为在未查询所述流量统计表的情况下,建立所述数据报文的所述流量统计表。
可选地,所述装置还包括:请求模块,设置为在未查询所述处理策略的情况下,向GwC和/或第三GwU请求所述处理策略。
可选地,所述请求模块包括:判断单元,设置为在所述数据报文为下行数据报文的情况下,在查询到所述流量统计表的情况下,根据所述流量统计表中的预定标识,判断是否向所述第三GwU请求所述处理策略;第一发送单元,设置为在判断结果为是的情况下,发送第一请求信息至所述第三GwU,其中,所述第三GwU用于根据所述第一请求信息,查询所述数据报文的应用标识信息;第二查询单元,设置为根据所述应用标识信息,查询所述数据报文的所述处理策略。
可选地,所述请求模块包括:第二发送单元,设置为在未查询到所述流量统计表和所述处理策略的情况下且在建立所述流量统计表之后,或者,在根据所述应用标识信息无法查询到所述处理策略的情况下,发送用于请求所述处理策略的第二请求信息至所述GwC,其中,所述GwC用于根据所述第二请求信息在所述GwC的本地策略库查询所述处理策略,或者根据所述第二请求信息向策略决策实体请求所述处理策略;第一接收单元,设置为接收所述GwC发送的所述处理策略。
可选地,所述请求模块包括:第三发送单元,设置为在所述数据报文为上行数据报文的情况下,在未查询所述流量统计表和所述处理策略的情况下且在所述第二GwU建立所述流量统计表之后,发送第三请求信息至所述第三GwU,其中,所述第三GwU用于根据所述第三请求信息,查询所述数据报文的应用标识信息;第三查询单元,设置为根据所述应用标识信息,查询所述数据报文的所述处理策略。
可选地,所述请求模块还包括:第四发送单元,设置为在根据所述应用标识信息无法查询到所述处理策略的情况下,发送用于请求所述处理策略的第四请求信息至所述GwC,其中,所述GwC用于根据所述第四请求信息在所述GwC的本地策略库查询所述处理策略,或者根据所述第四请求信息向策略决策实体请求所述处理策略;
第二接收单元,设置为接收所述GwC发送的所述处理策略。
可选地,所述数据报文包括:GTPU数据报文。
根据本发明的另一个方面,还提供了一种数据报文发送系统,包括:上述的第一GwU和上述的第二GwU。
本发明另一实施例提供了一种计算机存储介质,所述计算机存储介质存储有执行指令,所述执行指令用于执行上述实施例中的方法。
通过本发明,采用第一GwU从第二GwU接收数据报文,其中,数据报文携带有对数据报文的比特率的测量信息和数据报文的APN-AMBR标识信息;第一GwU根据测量信息和APN-AMBR标识信息,统计APN-AMBR标识信息对应的APN的非保障带宽承载的累计比特率,其中,累计比特率为携带有APN-AMBR标识信息的全部数据报文的比特率;在累计比特率小于或等于预设比特率的情况下,第一GwU转发数据报文至下一节点的方式,各GwU接收的数据报文经处理后统一发送给第一GwU,由第一GwU对同一APN的非保障带宽承载进行APN-AMBR的统计和限制,解决了相关技术中无法执行GW控制面和用户面分离架构中的APN-AMBR带宽控制的问题,实现了GW控制面和用户面分离架构中的APN-AMBR带宽控制。
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据相关技术的3GPP演进分组系统结构示意图;
图2是根据相关技术的非漫游场景下GW控制面和用户面分离的结构示意图;
图3是根据本发明实施例的数据报文发送方法的流程图一;
图4是根据本发明实施例的数据报文发送方法的流程图二;
图5是根据本发明实施例的数据报文发送装置的结构框图一;
图6是根据本发明实施例的数据报文发送装置的可选结构框图一;
图7是根据本发明实施例的数据报文发送装置的可选结构框图二;
图8是根据本发明实施例的数据报文发送装置的可选结构框图三;
图9是根据本发明实施例的数据报文发送装置的结构框图二;
图10是根据本发明实施例的数据报文发送装置的可选结构框图四;
图11是根据本发明实施例的数据报文发送装置的可选结构框图五;
图12是根据本发明实施例的数据报文发送装置的可选结构框图六;
图13是根据本发明实施例的数据报文发送装置的可选结构框图七;
图14是根据本发明实施例的数据报文发送装置的可选结构框图八;
图15是根据本发明实施例的数据报文发送装置的可选结构框图九;
图16是根据本发明实施例的数据报文发送装置的可选结构框图十;
图17是根据本发明实施例的数据报文发送系统的结构框图;
图18是根据本发明可选实施例的GwU对于UE上行的non-GBR承载数据报文的APN-AMBR处理方法的流程示意图;
图19是根据本发明可选实施例的GwU对于下行non-GBR承载数据报文APN-AMBR处理方法的流程示意图。
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
在本实施例中提供了一种数据报文发送方法,图3是根据本发明实施例的数据报文发送方法的流程图一,如图3所示,该流程包括如下步骤:
步骤S302,第一GwU接收数据报文,其中,数据报文携带有对数据报文的比特率的测量信息和数据报文的APN-AMBR标识信息;
步骤S304,第一GwU根据测量信息和APN-AMBR标识信息,统计APN-AMBR标识信息对应的APN的非保障带宽承载的累计比特率,其中,累计比特率为携带有APN-AMBR标
识信息的全部数据报文的比特率;
步骤S306,在累计比特率小于或等于预设比特率的情况下,第一GwU转发数据报文至下一节点。
通过上述步骤,在GW控制面和用户面分离的架构中,第一GwU接收到携带有对数据报文的比特率的测量信息和数据报文的APN-AMBR标识信息的数据报文,第一GwU就可以根据数据报文携带的相应APN的APN-AMBR标识信息,对同一APN上的非保障带宽承载的累计比特率进行APN-AMBR统计和限制,再对符合APN-AMBR签约要求(即上述的预设比特率)的数据报文进行转发。可见,采用上述步骤,解决了相关技术中无法执行GW控制面和用户面分离架构中的APN-AMBR带宽控制的问题,实现了GW控制面和用户面分离架构中的APN-AMBR带宽控制。
下面将结合一个可选实施例进行说明和描述。
设置一个GwU实例为数据报文的发送实例(相当于上述第一GwU,例如将GwU4作为数据发送实例),可以在GwU4上部署APN-AMBR测量统计表,其余GwU实例(相当于上述第二GwU,例如GwU2)在发送的数据报文的描述中携带测量信息,由GwU发送实例(即GwU4)来根据各GwU实例发送的数据报文中携带的测量信息对数据报文对应的APN上的非保障带宽承载做统一的比特率统计。如果统计后该APN下的全部non-GBR承载最大比特率小于该APN签约的APN-AMBR,则GwU发送实例发送该数据报文;否则该数据报文需要丢弃,则GwU发送实例(即GwU4)为该报文设置丢弃标识并返回给原GwU实例(即GwU2),由原GwU实例将此数据报文丢弃,并将其流量扣除。
GwC下的各GwU中存在多个GwU业务实例(相当于上述第二GwU,例如GwU2),可以用于处理各UE或业务数据,GwU业务实例(例如GwU2)收到的数据报文由GwU发送实例(例如GwU4)做APN-AMBR的判断。
可选地,在上述步骤S304中,为了获取同一APN上的非保障带宽承载的累计比特率,第一GwU可以根据APN-AMBR标识信息查询APN对应的APN-AMBR测量统计表,再将测量信息统计到APN-AMBR测量统计表中,得到累计比特率。
可选地,上述APN-AMBR测量统计表可以部署在第一GwU中,也可以部署在第一GwU所属的GwC中,再由第一GwU向GwC请求调用。
可选地,在上述步骤S304之后,如果统计得到的累计比特率大于预设比特率,第一GwU将确定丢弃数据报文,其中,可以由第一GwU丢弃该数据报文,也可以由第一GwU通知第二GwU丢弃该数据报文,例如,第一GwU在数据报文中设置丢弃标识,再发送数据报文至第二GwU,由第二GwU丢弃数据报文;第二GwU在接收到携带丢弃标识的数据报文之后,可以核减当前的数据的计费和用量统计,更新数据报文对应的流量统计表。
可选地,上述数据报文可以包括:GTPU数据报文。
在本实施例中提供了一种数据报文发送方法,图4是根据本发明实施例的数据报文发送方法的流程图二,如图4所示,该流程包括如下步骤:
步骤S402,第二GwU接收数据报文;
步骤S404,第二GwU测量数据报文的比特率信息,得到数据报文的测量信息;
步骤S406,第二GwU对数据报文进行处理;
步骤S408,第二GwU将处理后的数据报文发送至第一GwU,其中,处理后的数据报文中携带有测量信息和数据报文的APN-AMBR标识信息,测量信息和APN-AMBR标识信息用于第一GwU统计APN-AMBR标识信息对应的APN的累计比特率,累计比特率为携带有APN-AMBR标识信息的全部数据报文的比特率。
通过上述步骤,第二GwU对接收到的数据报文进行比特率信息的测量,获取数据报文的测量信息,再对数据报文进行处理,得到携带有测量信息和数据报文的APN-AMBR标识信息的数据报文,将处理后的数据报文发送给第一GwU,第一GwU就可以根据数据报文中的测量信息和APN-AMBR标识信息对同一APN的非保障带宽承载的累计比特率进行统计,再根据统计结果对数据报文执行APN-AMBR的带宽限制。可见,采用上述步骤,解决了相关技术中无法执行GW控制面和用户面分离架构中的APN-AMBR带宽控制的问题,实现了GW控制面和用户面分离架构中的APN-AMBR带宽控制。
可选地,在上述步骤S402之后,为了获取数据报文的测量信息,第二GwU需要查询到数据报文对应的流量统计表和处理策略,第二GwU可以根据数据报文的五元组信息对数据报文对应的流量统计表和处理策略进行查询,如果查询到了数据报文对应的流量统计表和处理策略,则可以对数据报文进行计费和/或用量统计,再将统计结果更新到查询到的流量统计表中,第二GwU就可以根据流量统计表中的信息获取数据报文的测量信息。
例如:第二GwU可以根据数据报文的五元组信息,查询数据报文对应的流量统计表和处理策略,其中,五元组信息包括:源地址、源端口、目的地址、目的端口和传输层协议,然后,在查询到流量统计表和处理策略的情况下,根据处理策略对数据报文进行计费和/或用量统计,得到统计结果,再根据统计结果,更新流量统计表。
可选地,如果第二GwU未查询到数据报文的流量统计表,第二GwU可以为数据报文建立新的流量统计表,再对数据报文的比特率信息进行统计。
可选地,在第二GwU未查询到处理策略的情况下,第二GwU可以向GwC和/或第三GwU请求处理策略。
下面将对第二GwU向GwC和/或第三GwU请求处理策略的四种方式进行说明和描述。
方式一,如果接收到的数据报文为下行数据报文,那么,在第二GwU查询到流量统计表的情况下,第二GwU可以根据流量统计表中的预定标识,判断是否向第三GwU请求处理策略,如果判断到需要向第三GwU请求处理策略,第二GwU可以发送第一请求信息至第三
GwU,并由第三GwU根据第一请求信息,查询数据报文的应用标识信息,第二GwU可以收到第三GwU发送的携带有数据报文的应用标识信息的第一请求信息的响应消息,第二GwU可以根据应用标识信息,查询数据报文的处理策略。
方式二,在第二GwU未查询到流量统计表和处理策略的情况下且在第二GwU建立流量统计表之后,或者,在第二GwU根据应用标识信息无法查询到处理策略的情况下,第二GwU发送用于请求处理策略的第二请求信息至GwC,然后,GwC根据第二请求信息在GwC的本地策略库查询处理策略,或者根据第二请求信息向策略决策实体请求处理策略,再将数据报文的处理策略返回给第二GwU,第二GwU可以接收到GwC发送的处理策略。
方式三,如果接收到的数据报文为上行数据报文,那么,在第二GwU未查询流量统计表和处理策略的情况下且在第二GwU建立流量统计表之后,第二GwU可以发送第三请求信息至第三GwU,由第三GwU根据第三请求信息,查询数据报文的应用标识信息,再将数据报文的应用标识信息返回给第二GwU,第二GwU就可以根据应用标识信息,查询数据报文的处理策略。
方式四,在第二GwU根据应用标识信息无法查询到处理策略的情况下,第二GwU可以发送用于请求处理策略的第四请求信息至GwC,由GwC根据第四请求信息在GwC的本地策略库查询处理策略,或者根据第四请求信息向策略决策实体请求处理策略,再将数据报文的处理策略返回给第二GwU,第二GwU可以接收到GwC发送的处理策略。
可选地,数据报文可以包括:GTPU数据报文。
本发明实施例中所指的数据报文是指non-GBR承载的数据报文。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
在本实施例中还提供了一种数据报文发送装置,应用于第一GwU,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图5是根据本发明实施例的数据报文发送装置的结构框图一,如图5所示,该装置包括:第一接收模块52、第一统计模块54和转发模块56,其中,第一接收模块52,设置为接收数据报文,其中,数据报文携带有对数据报文的比特率的测量信息和数据报文的APN-AMBR标识信息;第一统计模块54,耦合至第一接收模块52,设置为根据测量信息和APN-AMBR标识信息,统计APN-AMBR标识信息对应的APN的非保障带宽承载的累计比特
率,其中,累计比特率为携带有APN-AMBR标识信息的全部数据报文的比特率;转发模块56,耦合至第一统计模块54,设置为在累计比特率小于或等于预设比特率的情况下,转发数据报文至下一节点。
图6是根据本发明实施例的数据报文发送装置的可选结构框图一,如图6所示,可选地,第一统计模块54包括:第一查询单元62和统计单元64,其中,第一查询单元62,设置为根据APN-AMBR标识信息查询APN对应的APN-AMBR测量统计表;统计单元64,耦合至第一查询单元62,设置为将测量信息统计到APN-AMBR测量统计表中,得到累计比特率。
图7是根据本发明实施例的数据报文发送装置的可选结构框图二,如图7所示,可选地,上述装置还包括:确定模块72,耦合至第一统计模块54,设置为在累计比特率大于预设比特率的情况下,确定丢弃数据报文。
图8是根据本发明实施例的数据报文发送装置的可选结构框图三,如图8所示,可选地,上述装置还包括:设置模块82和第一发送模块84,其中,设置模块82,耦合至确定模块72,设置为在数据报文中设置丢弃标识;第一发送模块84,耦合至设置模块82,设置为发送数据报文至第二GwU。
可选地,上述数据报文包括:GTPU数据报文。
在本实施例中还提供了一种数据报文发送装置,应用于第二GwU,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图9是根据本发明实施例的数据报文发送装置的结构框图二,如图9所示,该装置包括:第二接收模块92、测量模块94、处理模块96和第二发送模块98,其中,第二接收模块92,设置为接收数据报文;测量模块94,耦合至第二接收模块92,设置为测量数据报文的比特率信息,得到数据报文的测量信息;处理模块96,耦合至测量模块94,设置为对数据报文进行处理;第二发送模块98,耦合至处理模块96,设置为将处理后的数据报文发送至第一GwU,其中,处理后的数据报文中携带有测量信息和数据报文的APN-AMBR标识信息,测量信息和APN-AMBR标识信息用于第一GwU统计APN-AMBR标识信息对应的APN的累计比特率,累计比特率为携带有APN-AMBR标识信息的全部数据报文的比特率。
图10是根据本发明实施例的数据报文发送装置的可选结构框图四,如图10所示,可选地,上述装置还包括:查询模块102、第二统计模块104和更新模块106,其中,查询模块102,耦合至第二接收模块92,设置为根据数据报文的五元组信息,查询数据报文对应的流量统计表和处理策略,其中,五元组信息包括:源地址、源端口、目的地址、目的端口和传输层协议;第二统计模块104,耦合至查询模块102,设置为在查询到流量统计表和处理策略的情况下,根据处理策略对数据报文进行计费和/或用量统计,得到统计结果;更新模块106,耦合至第二统计模块104,设置为根据统计结果,更新流量统计表。
图11是根据本发明实施例的数据报文发送装置的可选结构框图五,如图11所示,可选地,上述装置还包括:建立模块112,耦合至查询模块102和第二统计模块104之间,设置为在未查询流量统计表的情况下,建立数据报文的流量统计表。
图12是根据本发明实施例的数据报文发送装置的可选结构框图六,如图12所示,可选地,上述装置还包括:请求模块122,耦合至查询模块102和第二统计模块104之间,设置为在未查询处理策略的情况下,向GwC和/或第三GwU请求处理策略。
图13是根据本发明实施例的数据报文发送装置的可选结构框图七,如图13所示,可选地,上述请求模块122包括:判断单元132、第一发送单元134和第二查询单元136,其中,判断单元132,设置为在数据报文为下行数据报文的情况下,在查询到流量统计表的情况下,根据流量统计表中的预定标识,判断是否向第三GwU请求处理策略;第一发送单元134,耦合至判断单元132,设置为在判断结果为是的情况下,发送第一请求信息至第三GwU,其中,第三GwU用于根据第一请求信息,查询数据报文的应用标识信息;第二查询单元136,设置为根据应用标识信息,查询数据报文的处理策略。
图14是根据本发明实施例的数据报文发送装置的可选结构框图八,如图14所示,可选地,上述请求模块122包括:第二发送单元142和第一接收单元144,其中,第二发送单元142,设置为在未查询到流量统计表和处理策略的情况下且在建立流量统计表之后,或者,在根据应用标识信息无法查询到处理策略的情况下,发送用于请求处理策略的第二请求信息至GwC,其中,GwC用于根据第二请求信息在GwC的本地策略库查询处理策略,或者根据第二请求信息向策略决策实体请求处理策略;第一接收单元144,设置为接收GwC发送的处理策略。
图15是根据本发明实施例的数据报文发送装置的可选结构框图九,如图15所示,可选地,上述请求模块122包括:第三发送单元152和第三查询单元154,其中,第三发送单元152,设置为在数据报文为上行数据报文的情况下,在未查询流量统计表和处理策略的情况下且在第二GwU建立流量统计表之后,发送第三请求信息至第三GwU,其中,第三GwU用于根据第三请求信息,查询数据报文的应用标识信息;第三查询单元154,设置为根据应用标识信息,查询数据报文的处理策略。
图16是根据本发明实施例的数据报文发送装置的可选结构框图十,如图16所示,可选地,上述请求模块122包括:第四发送单元162和第二接收单元164,其中,第四发送单元162,耦合至第三查询单元154,设置为在根据应用标识信息无法查询到处理策略的情况下,发送用于请求处理策略的第四请求信息至GwC,其中,GwC用于根据第四请求信息在GwC的本地策略库查询处理策略,或者根据第四请求信息向策略决策实体请求处理策略;第二接收单元164,耦合至第四发送单元162,设置为接收GwC发送的处理策略。
可选地,上述数据报文包括:GTPU数据报文。
在本实施例中还提供了一种数据报文发送系统,图17是根据本发明实施例的数据报文发送系统的结构框图,如图17所示,该系统包括:上述的第一GwU 172和上述的第二GwU
174,其中,第一GwU 172与第二GwU 174连接。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。
本发明的实施例还提供了一种软件,该软件用于执行上述实施例及可选实施方式中描述的技术方案。
本发明的实施例还提供了一种存储介质。在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
步骤S302,第一GwU接收数据报文,其中,数据报文携带有对数据报文的比特率的测量信息和数据报文的APN-AMBR标识信息;
步骤S304,第一GwU根据测量信息和APN-AMBR标识信息,统计APN-AMBR标识信息对应的APN的非保障带宽承载的累计比特率,其中,累计比特率为携带有APN-AMBR标识信息的全部数据报文的比特率;
步骤S306,在累计比特率小于或等于预设比特率的情况下,第一GwU转发数据报文至下一节点。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:
步骤S402,第二GwU接收数据报文;
步骤S404,第二GwU测量数据报文的比特率信息,得到数据报文的测量信息;
步骤S406,第二GwU对数据报文进行处理;
步骤S408,第二GwU将处理后的数据报文发送至第一GwU,其中,处理后的数据报文中携带有测量信息和数据报文的APN-AMBR标识信息,测量信息和APN-AMBR标识信息用于第一GwU统计APN-AMBR标识信息对应的APN的累计比特率,累计比特率为携带有APN-AMBR标识信息的全部数据报文的比特率。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
下面结合附图对本发明可选实施例进行说明。
本发明可选实施例是以非漫游场景为例对APN-AMBR的执行进行说明和描述的。
需要说明的是,漫游场景的架构可以分为本地接入(GWC和GWU在拜访地)和归属地接入(S-GWC和S-GWU在拜访地,P-GWC和P-GWU在归属地)两种场景,GWC和GWU的关联关系有差异,本发明可选实施例也可以适用于漫游场景。
本发明可选实施例可以用于无线通信系统中服务质量(Quality of Service,简称为QoS)控制技术,本发明可选实施例提供了一种演进的分组系统(Evolved Packet System,简称为EPS)中接入点累计最大带宽(Access Point Node Aggregate Maximum Bit Rate,简称为APN-AMBR)的执行方法。
本发明的提供的一种可以准确执行GW控制面和用户面分离架构中的APN-AMBR带宽控制的方法,可以保证网络能够根据用户签约的APN-AMBR对APN进行准确的带宽限制和数据流门控限制。
本发明可选实施例可以应用在非漫游场景下,UE接入3GPP网络时,激活后创建了默认承载,GwU上为该用户建立了用户会话表和承载转发表,GwC上获取并保存了用户的QoS授权信息,PCC规则等处理策略。图18是根据本发明可选实施例的GwU对于UE上行的non-GBR承载数据报文的APN-AMBR处理方法的流程示意图,如图18所示,该方法包括如下步骤:
步骤S1801:GwU接收实例收到上行数据报文,识别出该上行数据报文为用户面数据GTPU报文,查转发表找到该用户业务相应的GwU业务实例(相当于上述第二GwU)。
步骤S1802:GwU接收实例将该数据报文转发到查找到的相应GwU业务实例上。
步骤S1803:GwU业务实例根据隧道终点标识(Tunnel Endpoint Identifier of the User plane,简称为TEIDU)对数据报文进行承载转发表匹配,对数据报文解封装后进行内部五元组匹配,若匹配到了该数据报文对应的流表(相当于上述流量统计表)和策略(相当于上述处理策略),则执行步骤S1811。
步骤S1804:若匹配不到当前的流表和策略,则为数据报文建立新的流表,并将数据报文转发到GwU DPI实例(相当于上述第三GwU),进行数据流的应用信息(相当于上述应用标识信息)识别。
步骤S1805:GwU DPI实例根据本地特征库匹配到数据报文的相关业务信息后,返回数据报文及对应的应用标识信息等给GwU业务实例。
步骤S1806:GwU业务实例根据收到的应用标识进行五元组等业务流模板(Traffic Flow Template,简称为TFT)匹配,若匹配到了该数据报文对应的流表和策略,则执行步骤S1811。
步骤S1807:若该应用标识无法被GwU业务实例识别,或者,GwU业务实例未能匹配到对应的流表和策略,或者,应用标识信息发生了变化,则将该数据报文缓存,执行步骤S1808,获取处理策略。
步骤S1808:GwU业务实例将该数据报文的TEIDU,五元组信息,以及应用标识信息,发送给GwC,获取相应的QoS策略和计费等信息。
步骤S1809:GwC根据请求消息(相当于上述第四请求信息)携带的应用标识信息和五
元组信息等信息,获取本地策略,或是向外部(例如PCRF)请求策略规则信息。
步骤S1810:GwC将本地的策略或者PCRF等外部策略决策实体提供的包括QoS和计费以及路由转发等策略的信息返回给GwU业务实例,由GwU业务实例进行策略执行。
步骤S1811:GwU业务实例根据当前策略(本地策略或GwC提供的策略)对数据报文执行上行门控等QoS策略,以及执行上行数据的计费和用量的meter统计,将流量更新到流表中。将需要携带的信息,例如绑定承载信息,路由转发信息,添加到外发的数据报文头中,并对数据报文进行数据外发的封装。
步骤S1812:GwU业务实例执行完承载相关的策略、计费及用量统计后,将其重新封装的外发数据报文转发给GwU发送实例(相当于上述第一GwU),GwU业务实例发送的消息中携带测量信息和APN-AMBR标识信息。
步骤S1813:GwU发送实例收到GwU业务实例发送的数据报文描述中携带测量信息和APN-AMBR标识信息的数据报文。根据数据报文描述中携带的测量信息,做统一的比特率统计,对比该数据报文对应的APN的当前的APN-AMBR签约信息(携带有上述的预设比特率)以及本地的APN-AMBR测量统计表,如果统计后该APN下的全部non-GBR承载最大比特率小于或等于签约的APN-AMBR,则发送该数据报文到外部PDN网络。否则执行步骤S1815。
步骤S1814:确认在签约允许的APN-AMBR范围内,则GwU发送实例根据数据报文的路由转发策略将该数据报文发送到下一路由节点或外部PDN网络节点。
步骤S1815:GwU发送实例执行统计后,当该APN下的全部non-GBR承载最大比特率大于签约的APN-AMBR,则确定该数据报文需要丢弃,GwU发送实例为该数据报文设置丢弃标识并返回给原发送该数据报文的GwU业务实例。
步骤S1816:GwU业务实例收到来自GwU发送实例的携带丢弃标识的数据报文,核减当前的上行数据的计费和用量的meter统计,更新流表。
通过上述步骤,GwU发送上行数据报文时,通过GwU发送实例作为锚点实现了统一执行APN-AMBR的统计和监控。
需要说明的是,本发明可选实施例中的GwU实例,既可以是实际部署在网元中的逻辑功能实体,也可以是独立的实际部署网元;还可以是虚拟化功能设备,或者是功能设备中的一个处理器,或者是虚拟化的一个网络切片或是微服务。
本发明另一个可选实施例可以应用于非漫游场景下,UE接入3GPP网络时,激活后创建了默认承载,GwU上为该用户建立了用户会话表和承载转发表,GwC上获取并保存了用户的QoS授权信息,PCC规则等策略。图19是根据本发明可选实施例的GwU对于下行non-GBR承载数据报文APN-AMBR处理方法的流程示意图,如图19所示,该方法包括如下步骤:
步骤S1901:GwU接收实例收到下行数据报文。
步骤S1902:GwU接受实例识别出该数据报文为下行数据报文,根据数据报文携带的IP地址查转发表找到该用户业务相应的GwU业务实例(相当于上述第二GwU)。
步骤S1903:GwU接受实例将该数据报文转发到转发表对应的GwU业务实例上。
步骤S1904:GwU业务实例根据IP和虚拟路由转发表VRF匹配用户会话表,并进行五元组匹配。若下行数据报文匹配到了流表(相当于上述流量统计表),则根据流表中的标志(相当于上述预定标识)决定是否要发送到GwU DPI实例(相当于上述第三GwU)进行分析。若需要发送到GwU DPI实例进行分析,则执行步骤S1905。若匹配到了对应的流表和策略(相当于上述处理策略),且不需要发送到GwU DPI实例进行分析,则执行步骤S1911。若没有匹配到对应的流表,则为数据报文建立新的流表,将数据报文缓存。执行步骤S1908向GwC获取策略。
步骤S1905:若匹配到当前流表,但根据流表中的标志,需要GwU DPI实例进行分析。则缓存数据报文,并将数据报文关键信息发送到GwU DPI实例,进行数据报文的应用标识等信息的识别。
步骤S1906:GwU DPI实例根据本地特征库匹配到数据报文的相关业务信息后,返回数据报文及对应的应用标识等信息给GwU业务实例。
步骤S1907:GwU业务实例根据收到的应用标识信息进行五元组等TFT匹配,若匹配到了对应的流表和策略,则执行步骤S1911。若该应用标识信息无法识别或者发生了变化,则将该数据报文缓存,执行步骤S1908,发送请求消息给GwC获取处理策略。若该应用标识可匹配到流表的承载获取处理策略,则执行步骤S1911。
步骤S1908:GwU业务实例发送获取处理策略请求消息(相当于上述第二请求信息)给GwC,请求消息中携带该数据报文的TEIDU,五元组信息,以及应用标识,获取相应的QoS策略和计费规则,路由策略等信息。
步骤S1909:GwC根据请求消息携带的业务标识和五元组等信息,获取本地策略,或是向外部(例如,PCRF)请求策略规则信息。
步骤S1910:GwC将本地处理策略或者PCRF等外部策略决策实体提供的处理策略,其中,处理策略包括QoS策略、计费策略,以及路由转发等策略的信息返回给GwU业务实例,进行策略执行。
步骤S1911:GwU业务实例根据当前策略(本地策略或GwC提供的策略)对数据报文执行下行门控等QoS策略,并且执行下行数据报文的计费和用量的meter统计,将流量更新到流表中,并将需要携带的信息,例如数据流模板匹配的绑定承载信息,路由转发信息,添加到外发的数据报文头中,并进行数据报文外发的封装。
步骤S1912:GwU业务实例执行完承载相关的策略、计费及用量统计后,将其重新封装的下行数据报文转发给GwU发送实例(相当于上述第一GwU)。GwU业务实例向GwU发
送实例发送的消息中携带测量信息和APN-AMBR标识信息。
步骤S1913:GwU发送实例收到GwU业务实例发送的数据报文描述中携带测量信息和APN-AMBR标识信息的下行数据报文。根据数据报文描述中携带的测量信息,做统一的比特率统计,对比该数据报文对应的APN的当前的下行APN-AMBR签约信息(携带上述的预设比特率)以及本地的APN-AMBR测量统计表,如果统计后该APN的全部下行non-GBR承载最大比特率小于或等于签约的下行APN-AMBR,则下发该数据报文。否则执行步骤S1914。
步骤S1914:GwU发送实例执行统计后,当该APN的全部下行non-GBR承载最大比特率大于签约的下行APN-AMBR,则确定该数据报文需要丢弃,GwU发送实例为该数据报文设置丢弃标识并返回给原发送该数据报文的GwU业务实例。
步骤S1915:GwU业务实例收到来自GwU发送实例的携带丢弃标识的数据报文。
步骤S1916:核减当前的下行数据的计费和用量的meter统计,更新流表。
通过上述步骤,GwU发送下行数据报文时,通过GwU发送实例作为锚点实现了统一执行APN-AMBR的统计和监控。
需要说明的是,本发明可选实施例中的GwU实例,既可以是实际部署在网元中的逻辑功能实体,也可以是独立的实际部署网元;还可以是虚拟化功能设备,或者是功能设备中的一个处理器,或者是虚拟化的一个网络切片或是微服务。在本发明实施例和可选实施例中,GwU之间的数据报文可通过直接数据转发,或通过定义新接口转发。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的可选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
如上所述,本发明实施例提供的一种数据报文发送方法、装置和系统具有以下有益效果:解决了相关技术中无法执行GW控制面和用户面分离架构中的APN-AMBR带宽控制的问题,实现了GW控制面和用户面分离架构中的APN-AMBR带宽控制。
Claims (29)
- 一种数据报文发送方法,包括:第一网关用户面GwU接收数据报文,其中,所述数据报文携带有对所述数据报文的比特率的测量信息和所述数据报文的APN-AMBR标识信息;所述第一GwU根据所述测量信息和所述APN-AMBR标识信息,统计所述APN-AMBR标识信息对应的APN的非保障带宽承载的累计比特率,其中,所述累计比特率为携带有所述APN-AMBR标识信息的全部数据报文的比特率;在所述累计比特率小于或等于预设比特率的情况下,所述第一GwU转发所述数据报文至下一节点。
- 根据权利要求1所述的方法,其中,所述第一GwU根据所述测量信息和所述APN-AMBR标识信息,统计所述累计比特率包括:所述第一GwU根据所述APN-AMBR标识信息查询所述APN对应的APN-AMBR测量统计表;所述第一GwU将所述测量信息统计到所述APN-AMBR测量统计表中,得到所述累计比特率。
- 根据权利要求1所述的方法,其中,在所述第一GwU根据所述测量信息和所述APN-AMBR标识信息,统计所述累计比特率之后,所述方法还包括:在所述累计比特率大于预设比特率的情况下,所述第一GwU确定丢弃所述数据报文。
- 根据权利要求3所述的方法,其中,在所述第一GwU确定丢弃所述数据报文之后,所述方法还包括:所述第一GwU在所述数据报文中设置丢弃标识;所述第一GwU发送所述数据报文至第二GwU。
- 根据权利要求1至4中任一项所述的方法,其中,所述数据报文包括:通用分组无线业务隧道协议用户平面GTPU数据报文。
- 一种数据报文发送方法,包括:第二GwU接收数据报文;所述第二GwU测量所述数据报文的比特率信息,得到所述数据报文的测量信息;所述第二GwU对所述数据报文进行处理;所述第二GwU将处理后的所述数据报文发送至第一GwU,其中,处理后的所述数据报文中携带有所述测量信息和所述数据报文的APN-AMBR标识信息,所述测量信息和 所述APN-AMBR标识信息用于所述第一GwU统计所述APN-AMBR标识信息对应的APN的累计比特率,所述累计比特率为携带有所述APN-AMBR标识信息的全部数据报文的比特率。
- 根据权利要求6所述的方法,其中,在所述第二GwU接收所述数据报文之后,所述方法还包括:所述第二GwU根据所述数据报文的五元组信息,查询所述数据报文对应的流量统计表和处理策略,其中,所述五元组信息包括:源地址、源端口、目的地址、目的端口和传输层协议;在查询到所述流量统计表和所述处理策略的情况下,所述第二GwU根据所述处理策略对所述数据报文进行计费和/或用量统计,得到统计结果;所述第二GwU根据所述统计结果,更新所述流量统计表。
- 根据权利要求7所述的方法,其中,在所述第二GwU未查询到所述流量统计表的情况下,所述方法还包括:所述第二GwU建立所述数据报文的所述流量统计表。
- 根据权利要求7所述的方法,其中,在所述第二GwU未查询到所述处理策略的情况下,所述方法还包括:所述第二GwU向GwC和/或第三GwU请求所述处理策略。
- 根据权利要求9所述的方法,其中,在所述数据报文为下行数据报文的情况下,所述第二GwU向所述GwC和/或所述第三GwU请求所述处理策略包括:在所述第二GwU查询到所述流量统计表的情况下,所述第二GwU根据所述流量统计表中的预定标识,判断是否向所述第三GwU请求所述处理策略;在判断结果为是的情况下,所述第二GwU发送第一请求信息至所述第三GwU,其中,所述第三GwU用于根据所述第一请求信息,查询所述数据报文的应用标识信息;所述第二GwU根据所述应用标识信息,查询所述数据报文的所述处理策略。
- 根据权利要求9或10所述的方法,其中,所述第二GwU向所述GwC和/或所述第三GwU请求所述处理策略包括:在所述第二GwU未查询到所述流量统计表和所述处理策略的情况下且在所述第二GwU建立所述流量统计表之后,或者,在所述第二GwU根据所述应用标识信息无法查询到所述处理策略的情况下,所述第二GwU发送用于请求所述处理策略的第二请求信息至所述GwC,其中,所述GwC用于根据所述第二请求信息在所述GwC的本地策略库查询所述处理策略,或者 根据所述第二请求信息向策略决策实体请求所述处理策略;所述第二GwU接收所述GwC发送的所述处理策略。
- 根据权利要求9所述的方法,其中,在所述数据报文为上行数据报文的情况下,所述第二GwU向所述GwC和/或所述第三GwU请求所述处理策略包括:在所述第二GwU未查询所述流量统计表和所述处理策略的情况下且在所述第二GwU建立所述流量统计表之后,所述第二GwU发送第三请求信息至所述第三GwU,其中,所述第三GwU用于根据所述第三请求信息,查询所述数据报文的应用标识信息;所述第二GwU根据所述应用标识信息,查询所述数据报文的所述处理策略。
- 根据权利要求12所述的方法,其中,所述第二GwU向所述GwC和/或所述第三GwU请求所述处理策略还包括:在所述第二GwU根据所述应用标识信息无法查询到所述处理策略的情况下,所述第二GwU发送用于请求所述处理策略的第四请求信息至所述GwC,其中,所述GwC用于根据所述第四请求信息在所述GwC的本地策略库查询所述处理策略,或者根据所述第四请求信息向策略决策实体请求所述处理策略;所述第二GwU接收所述GwC发送的所述处理策略。
- 根据权利要求6至13中任一项所述的方法,其中,所述数据报文包括:通用分组无线业务隧道协议用户平面GTPU数据报文。
- 一种数据报文发送装置,应用于第一GwU,包括:第一接收模块,设置为接收数据报文,其中,所述数据报文携带有对所述数据报文的比特率的测量信息和所述数据报文的APN-AMBR标识信息;第一统计模块,设置为根据所述测量信息和所述APN-AMBR标识信息,统计所述APN-AMBR标识信息对应的APN的非保障带宽承载的累计比特率,其中,所述累计比特率为携带有所述APN-AMBR标识信息的全部数据报文的比特率;转发模块,设置为在所述累计比特率小于或等于预设比特率的情况下,转发所述数据报文至下一节点。
- 根据权利要求15所述的装置,其中,所述第一统计模块包括:第一查询单元,设置为根据所述APN-AMBR标识信息查询所述APN对应的APN-AMBR测量统计表;统计单元,设置为将所述测量信息统计到所述APN-AMBR测量统计表中,得到所述累计比特率。
- 根据权利要求15所述的装置,其中,所述装置还包括:确定模块,设置为在所述累计比特率大于预设比特率的情况下,确定丢弃所述数据报文。
- 根据权利要求17所述的装置,其中,所述装置还包括:设置模块,设置为在所述数据报文中设置丢弃标识;第一发送模块,设置为发送所述数据报文至第二GwU。
- 根据权利要求15至18中任一项所述的装置,其中,所述数据报文包括:通用分组无线业务隧道协议用户平面GTPU数据报文。
- 一种数据报文发送装置,应用于第二GwU,包括:第二接收模块,设置为接收数据报文;测量模块,设置为测量所述数据报文的比特率信息,得到所述数据报文的测量信息;处理模块,设置为对所述数据报文进行处理;第二发送模块,设置为将处理后的所述数据报文发送至第一GwU,其中,处理后的所述数据报文中携带有所述测量信息和所述数据报文的APN-AMBR标识信息,所述测量信息和所述APN-AMBR标识信息用于所述第一GwU统计所述APN-AMBR标识信息对应的APN的累计比特率,所述累计比特率为携带有所述APN-AMBR标识信息的全部数据报文的比特率。
- 根据权利要求20所述的装置,其中,所述装置还包括:查询模块,设置为根据所述数据报文的五元组信息,查询所述数据报文对应的流量统计表和处理策略,其中,所述五元组信息包括:源地址、源端口、目的地址、目的端口和传输层协议;第二统计模块,设置为在查询到所述流量统计表和所述处理策略的情况下,根据所述处理策略对所述数据报文进行计费和/或用量统计,得到统计结果;更新模块,设置为根据所述统计结果,更新所述流量统计表。
- 根据权利要求21所述的装置,其中,所述装置还包括:建立模块,设置为在未查询所述流量统计表的情况下,建立所述数据报文的所述流量统计表。
- 根据权利要求21所述的装置,其中,所述装置还包括:请求模块,设置为在未查询所述处理策略的情况下,向GwC和/或第三GwU请求所述处理策略。
- 根据权利要求23所述的装置,其中,所述请求模块包括:判断单元,设置为在所述数据报文为下行数据报文的情况下,在查询到所述流量统计表的情况下,根据所述流量统计表中的预定标识,判断是否向所述第三GwU请求所述处理策略;第一发送单元,设置为在判断结果为是的情况下,发送第一请求信息至所述第三GwU,其中,所述第三GwU用于根据所述第一请求信息,查询所述数据报文的应用标识信息;第二查询单元,设置为根据所述应用标识信息,查询所述数据报文的所述处理策略。
- 根据权利要求23或24所述的装置,其中,所述请求模块包括:第二发送单元,设置为在未查询到所述流量统计表和所述处理策略的情况下且在建立所述流量统计表之后,或者,在根据所述应用标识信息无法查询到所述处理策略的情况下,发送用于请求所述处理策略的第二请求信息至所述GwC,其中,所述GwC用于根据所述第二请求信息在所述GwC的本地策略库查询所述处理策略,或者根据所述第二请求信息向策略决策实体请求所述处理策略;第一接收单元,设置为接收所述GwC发送的所述处理策略。
- 根据权利要求23所述的装置,其中,所述请求模块包括:第三发送单元,设置为在所述数据报文为上行数据报文的情况下,在未查询所述流量统计表和所述处理策略的情况下且在所述第二GwU建立所述流量统计表之后,发送第三请求信息至所述第三GwU,其中,所述第三GwU用于根据所述第三请求信息,查询所述数据报文的应用标识信息;第三查询单元,设置为根据所述应用标识信息,查询所述数据报文的所述处理策略。
- 根据权利要求26所述的装置,其中,所述请求模块还包括:第四发送单元,设置为在根据所述应用标识信息无法查询到所述处理策略的情况下,发送用于请求所述处理策略的第四请求信息至所述GwC,其中,所述GwC用于根据所述第四请求信息在所述GwC的本地策略库查询所述处理策略,或者根据所述第四请求信息向策略决策实体请求所述处理策略;第二接收单元,设置为接收所述GwC发送的所述处理策略。
- 根据权利要求20至27中任一项所述的装置,其中,所述数据报文包括:通用分组无线业务隧道协议用户平面GTPU数据报文。
- 一种数据报文发送系统,包括:权利要求15至19中任一项所述的第一GwU,和权利要求20至28中任一项所述的第二GwU。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510999507.7 | 2015-12-28 | ||
CN201510999507.7A CN106921585B (zh) | 2015-12-28 | 2015-12-28 | 数据报文发送方法、装置和系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017113967A1 true WO2017113967A1 (zh) | 2017-07-06 |
Family
ID=59224500
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/103612 WO2017113967A1 (zh) | 2015-12-28 | 2016-10-27 | 数据报文发送方法、装置和系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106921585B (zh) |
WO (1) | WO2017113967A1 (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114257464A (zh) * | 2020-09-23 | 2022-03-29 | 中国移动通信有限公司研究院 | 计费方法、装置、通信设备及可读存储介质 |
CN114697160A (zh) * | 2020-12-28 | 2022-07-01 | 国家计算机网络与信息安全管理中心 | 一种隧道报文的处理方法和装置 |
CN114760166A (zh) * | 2020-12-28 | 2022-07-15 | 国家计算机网络与信息安全管理中心 | 一种隧道报文的处理方法和装置 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109842634A (zh) | 2017-09-26 | 2019-06-04 | 华为技术有限公司 | 通信方法、网络设备和终端 |
US10951717B2 (en) * | 2018-10-10 | 2021-03-16 | Cisco Technology, Inc. | Differentiated services within a service mesh |
CN113746750A (zh) * | 2020-05-30 | 2021-12-03 | 华为技术有限公司 | 转发数据报文的方法、网络节点、系统及存储介质 |
CN117859299A (zh) * | 2022-08-09 | 2024-04-09 | 北京小米移动软件有限公司 | 信息处理方法、系统及装置、通信设备及存储介质 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103648088A (zh) * | 2013-11-18 | 2014-03-19 | 上海华为技术有限公司 | 一种网络资源控制方法和装置 |
CN103959882A (zh) * | 2011-10-04 | 2014-07-30 | 瑞典爱立信有限公司 | 移动网络的基站中的拥塞处置 |
WO2014138395A1 (en) * | 2013-03-08 | 2014-09-12 | Blackberry Limited | Sending data rate information to a wireless access network node |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101594285B (zh) * | 2008-05-26 | 2012-09-05 | 华为技术有限公司 | 一种使用聚合最大比特率的方法、装置及系统 |
CN104902520B (zh) * | 2014-03-07 | 2018-07-20 | 电信科学技术研究院 | 一种apn-ambr的控制方法和装置 |
-
2015
- 2015-12-28 CN CN201510999507.7A patent/CN106921585B/zh active Active
-
2016
- 2016-10-27 WO PCT/CN2016/103612 patent/WO2017113967A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103959882A (zh) * | 2011-10-04 | 2014-07-30 | 瑞典爱立信有限公司 | 移动网络的基站中的拥塞处置 |
WO2014138395A1 (en) * | 2013-03-08 | 2014-09-12 | Blackberry Limited | Sending data rate information to a wireless access network node |
CN103648088A (zh) * | 2013-11-18 | 2014-03-19 | 上海华为技术有限公司 | 一种网络资源控制方法和装置 |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114257464A (zh) * | 2020-09-23 | 2022-03-29 | 中国移动通信有限公司研究院 | 计费方法、装置、通信设备及可读存储介质 |
CN114257464B (zh) * | 2020-09-23 | 2022-12-27 | 中国移动通信有限公司研究院 | 计费方法、装置、通信设备及可读存储介质 |
CN114697160A (zh) * | 2020-12-28 | 2022-07-01 | 国家计算机网络与信息安全管理中心 | 一种隧道报文的处理方法和装置 |
CN114760166A (zh) * | 2020-12-28 | 2022-07-15 | 国家计算机网络与信息安全管理中心 | 一种隧道报文的处理方法和装置 |
CN114760166B (zh) * | 2020-12-28 | 2023-05-26 | 国家计算机网络与信息安全管理中心 | 一种隧道报文的处理方法和装置 |
CN114697160B (zh) * | 2020-12-28 | 2023-05-26 | 国家计算机网络与信息安全管理中心 | 一种隧道报文的处理方法和装置 |
Also Published As
Publication number | Publication date |
---|---|
CN106921585A (zh) | 2017-07-04 |
CN106921585B (zh) | 2020-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11432202B2 (en) | Monitoring and reporting service performance in roaming scenario | |
WO2017113967A1 (zh) | 数据报文发送方法、装置和系统 | |
US11083033B2 (en) | Small data usage enablement in 3GPP networks | |
WO2021018021A1 (zh) | 计费方法、计费系统和通信装置 | |
US20230388914A1 (en) | Mobility Management Function Determination for Allowed Network Slices of Wireless Device | |
CN107105457B (zh) | 一种实现接入点带宽限制的方法和装置 | |
CN107295575B (zh) | 一种服务质量的控制方法和装置 | |
US8644337B2 (en) | Authorizing QoS per QCI | |
US9642032B2 (en) | Third party interface for provisioning bearers according to a quality of service subscription | |
WO2011060673A1 (zh) | 公用承载建立的方法、数据传输方法和核心网络侧设备 | |
WO2015033580A1 (ja) | 通信装置、制御装置、通信方法、制御方法およびプログラム | |
US20160073328A1 (en) | Method and apparatus for determining pcrf | |
WO2015143856A1 (zh) | 一种漫游场景下的应用检测控制方法及v-pcrf | |
CN103428731B (zh) | 路由优化方法及系统、服务网关 | |
CN111131506B (zh) | 报文处理方法及装置 | |
US10645230B1 (en) | Roaming cellular traffic policy and charging negotiation and enforcement entity | |
CN102131240B (zh) | 一种实现服务质量控制的方法及系统 | |
WO2017054199A1 (zh) | 一种策略的确定方法及装置 | |
JP2016537853A (ja) | データ接続のためのオンデマンドQoS | |
WO2018120246A1 (zh) | 一种数据传输方法及相关网元 | |
WO2011134321A1 (zh) | 机器类通信的策略下发方法及系统 | |
CN101378522B (zh) | 分发策略的方法、系统和策略分发实体 | |
US9319273B2 (en) | Policy coordination between policy enforcement points | |
US8843128B2 (en) | Roaming session termination triggered by roaming agreement/partner deletion |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16880758 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16880758 Country of ref document: EP Kind code of ref document: A1 |