WO2012061980A1 - Method and apparatus for transmitting data packets - Google Patents

Method and apparatus for transmitting data packets Download PDF

Info

Publication number
WO2012061980A1
WO2012061980A1 PCT/CN2010/078567 CN2010078567W WO2012061980A1 WO 2012061980 A1 WO2012061980 A1 WO 2012061980A1 CN 2010078567 W CN2010078567 W CN 2010078567W WO 2012061980 A1 WO2012061980 A1 WO 2012061980A1
Authority
WO
WIPO (PCT)
Prior art keywords
traffic
data
data packet
traffic credit
credit
Prior art date
Application number
PCT/CN2010/078567
Other languages
French (fr)
Chinese (zh)
Inventor
银宇
蔡慧
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201080003292.4A priority Critical patent/CN102656848B/en
Priority to PCT/CN2010/078567 priority patent/WO2012061980A1/en
Publication of WO2012061980A1 publication Critical patent/WO2012061980A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/39Credit based

Definitions

  • the embodiments of the present invention relate to communication technologies, and in particular, to a data packet transmission method and apparatus. Background technique
  • the Fair Usage Policy (FUP) method is a fair flow control method that records and accumulates the cumulative usage traffic of the terminal during the current control period (for example: this month) during the transmission of the data stream of the terminal. And update the rate control policy when the cumulative usage traffic exceeds the quota, for example: Reduce the maximum allowed transmission rate, thereby preventing a small number of terminals from occupying too much network resources.
  • the FUP method is a large-scale flow control method.
  • a larger maximum transmission rate can be obtained, and Since the end user knows that the accumulated usage traffic at this time is still far from the quota, it is more convenient to use various services (for example, file download, video, etc.), so it may still be serious at the beginning of each control cycle.
  • Network congestion affects the normal operation of the service; at the end of each control cycle (for example, at the end of each month), since the cumulative usage traffic of some terminals has exceeded the quota, only a small maximum transmission can be obtained.
  • the embodiment of the present invention provides a method and a device for transmitting a data packet, which are used to prevent a small number of terminals from occupying excessive network resources, and to prevent the normal operation of the service caused by network congestion at the beginning of the control period in the FUP method. At the end of the control cycle, due to network load The waste of network resources caused by the foot, improve the business success rate and utilization of network resources.
  • An embodiment of the present invention provides a data packet transmission method, including:
  • An embodiment of the present invention further provides a data packet transmission apparatus, including:
  • a traffic credit increasing module configured to increase a traffic flow of the data flow according to an increase rate of the traffic credit
  • a traffic credit obtaining module configured to receive a data packet of the data stream, and obtain a traffic credit of the data stream
  • control information obtaining module configured to acquire, according to a correspondence between the traffic credit of the data stream and the control information of the data flow, control information of the data flow corresponding to the traffic credit of the data flow;
  • a transmission rate control module configured to: according to the control information of the data stream, transmit the data packet, and consume a traffic credit corresponding to the data packet.
  • the embodiment of the present invention obtains the traffic credit corresponding to the traffic credit of the data stream according to the correspondence between the traffic credit of the data flow and the control information of the data flow by acquiring the traffic credit of the data flow to which the data packet belongs.
  • the control information enables the transmission of the data packet according to the control information of the data stream, and consumes the traffic credit corresponding to the data packet, thereby realizing the control of the transmission rate of the data stream, and suppressing a small number of terminals occupying too many networks.
  • Resources while avoiding the failure of the FUP method due to network congestion caused by network congestion at the beginning of the control period, and the waste of network resources due to insufficient network load at the end of the control period, thereby improving the service success rate. And utilization of network resources.
  • FIG. 1 is a schematic flowchart of a data packet transmission method according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic flowchart of a data packet transmission method according to Embodiment 2 of the present invention
  • FIG. 4 is a schematic structural diagram of a data packet transmission apparatus according to Embodiment 4 of the present invention
  • FIG. 5 is another schematic structural diagram of a data packet transmission apparatus according to Embodiment 4 of the present invention.
  • FIG. 1 is a schematic flowchart of a method for transmitting a data packet according to Embodiment 1 of the present invention. As shown in FIG. 1, the data packet transmission method in this embodiment may include the following steps:
  • Step 101 Receive a data packet, and obtain a traffic credit of the data flow to which the data packet belongs.
  • the traffic credit may be understood as a certificate that the service session (data flow) has, which can transmit the data packet with a higher priority. For example: higher control rate, higher scheduling weight, higher priority transmission priority identifier, etc.
  • the unit is the same as the unit of traffic (bytes, kilobytes, etc.), and can save data in the context of the data stream. Flow traffic credit.
  • the new traffic credit is continuously increased at the rate of increase of the preset traffic credit; when the data packet of the data stream is transmitted, the traffic credit of the data stream is consumed (deducted or not deducted) The traffic credit corresponding to the data packet; when there is no data packet transmission or the data stream transmission rate is lower, lower than
  • the traffic credit of the data stream can be continuously increased, but the traffic credit of the data flow has an upper limit value, that is, the maximum traffic credit, and the accumulated traffic credit reaches the upper limit value, and the traffic credit does not increase any more. .
  • the step of acquiring the transmission control parameter may be further included, and the network element may be sent from another network element (which may be referred to as a parameter sending network element in the embodiment of the present invention), for example, the interface and the charging rule A network element such as a Policy and Charging Rules Function (PCRF) or a Mobility Management Entity (MME) is obtained, or can be obtained from operation and maintenance or its own configuration information.
  • PCRF Policy and Charging Rules Function
  • MME Mobility Management Entity
  • the foregoing transmission control parameters may include, but are not limited to, the following parameters: a correspondence between the traffic credit and the control rate and an increase rate of the traffic credit.
  • the foregoing transmission control parameter may further include a maximum traffic credit and/or an initial traffic credit, and when the context of the data flow is initialized, a certain amount of initial traffic credits (eg, 5M Bytes) may be set (allocated) for the data flow, and Traffic credits continue to increase at an increasing rate of traffic credits. If the traffic credit of the data stream exceeds the maximum traffic credit of the data stream (for example: 20M Bytes), the traffic credit does not continue to increase. That is to say, the traffic credit of a data stream has an upper limit value, that is, a maximum traffic credit.
  • a certain amount of initial traffic credits eg, 5M Bytes
  • the granularity of the data flow controlled by different execution entities performing this step may be different, and the granularity may be larger than one terminal or less than one terminal.
  • the granularity may be larger than one terminal or less than one terminal.
  • Traffic aggregation for several terminals for example: belonging to a subnet
  • Traffic aggregation of a packet of a terminal that meets certain matching conditions, for example: traffic aggregation carried by all non-guaranteed bit rates (Non-GBR) of a terminal;
  • Non-GBR non-guaranteed bit rates
  • PDN Public Data Network
  • Traffic aggregation of a packet in a PDN connection of a terminal that meets certain matching conditions, for example: traffic aggregation of a Non-GBR bearer in a PDN connection of a terminal;
  • Traffic aggregation of a specified one or more service data flows of a terminal Traffic aggregation of a non-specific service data stream of a terminal other than the specified one or more service data streams;
  • Traffic aggregation of one or more service data flows specified in a PDN connection of a terminal; traffic aggregation of a non-specific service data flow other than the specified one or more service data flows in a PDN connection of one terminal;
  • this step may specifically obtain the traffic credit of the data flow from the context of the data flow.
  • Step 102 Obtain control information of the data flow corresponding to the traffic credit of the data flow according to the correspondence between the traffic credit of the data flow and the control information of the data flow;
  • the control information of the data stream may include, but is not limited to, at least one of the following information: a control rate of the data stream, a scheduling weight of the data stream, and a transmission priority identifier of the data stream, for example: a differentiated service code point (Differentiated Services Code) Point, referred to as DSCP).
  • DSCP differentiated service code point
  • the control information of the above data stream may also be other related parameters of other technical means capable of differentially controlling the transmission rate of the data stream.
  • the correspondence between the traffic credit of the data stream and the control rate of the data flow may be established according to a control policy, for example, the higher the traffic credit of the data flow, the higher the control rate of the data flow, and vice versa, the more the traffic credit of the data flow The lower the control rate of the data stream is.
  • the similarity between the traffic credit of the data stream and the scheduling weight of the data stream can be established according to the control policy. For example, the higher the traffic credit of the data stream, the more the scheduling weight of the data stream is.
  • the correspondence between the traffic credit of the data stream and the transmission priority identifier of the data stream can be established according to the control policy, for example: data flow
  • the control policy for example: data flow
  • Step 103 Transmit the data packet according to the control information of the data stream, and consume the traffic credit corresponding to the data packet.
  • the transmission rate of the data stream does not exceed the control rate of the data stream.
  • deduct the traffic credit corresponding to the data packet from the traffic credit of the data stream, for example: deduct the traffic credit corresponding to the length of the data packet (if the traffic credit of the data flow is insufficient to deduct Generally, the data packet is not allowed to pass and does not consume the corresponding traffic credit. However, in the specific implementation, it is also considered to allow the credit credit to be owed, that is, in the case of insufficient traffic credit, the data packet is allowed to pass as long as the control rate of the data flow is not exceeded.
  • the above data packet may not be allowed to pass, and the traffic credit corresponding to the data packet is not deducted from the traffic credit of the data stream, thereby realizing that the transmission rate of the data stream can be controlled to be less than or equal to (ie, not Exceeding the control rate of the above data stream.
  • DSCP Differentiated Services Code Point
  • the step may further transmit the received data packet according to a scheduling weight of the data flow corresponding to the traffic credit of the data flow, and deduct the traffic credit corresponding to the data packet from the traffic credit of the data flow; or
  • the data packet may also be transmitted, and the data packet is marked with a transmission priority identifier corresponding to the traffic credit of the data stream, and the traffic credit corresponding to the data packet is deducted from the traffic credit of the data stream.
  • the data stream can only be transmitted at a lower transmission rate. Transmission, to avoid such services continue to occupy excessive bandwidth; and for short-lived services such as web browsing, e-mail, instant messaging, etc., because their traffic credits are always maintained at a high level, in such services
  • the data stream can be transmitted at a higher rate, so that the end user obtains a better experience.
  • the average rate of transmission of both types of services is limited by the speed at which traffic credits increase, thus embodying fairness.
  • controlling the transmission rate according to the traffic credit of the data stream does not only limit the current bandwidth consumption of its terminal.
  • the setting of the rate of increase of credit is generally set according to the traffic model and network capability of the terminal, and the average rate of data stream transmission is limited by the rate of increase of the traffic credit, so the transmission rate of the traffic is controlled according to the traffic credit of the data stream.
  • the effect is also that it can control the terminal to use the traffic of its package more reasonably, avoiding the traffic usage at the beginning of the control cycle is too fast, and the traffic at the end of the control cycle exceeds the quota.
  • the control information of the data flow corresponding to the traffic credit of the data flow is obtained according to the correspondence between the traffic credit of the data flow and the control information of the data flow, so that the control information of the data flow corresponding to the traffic credit of the data flow is obtained.
  • the data packet transmission method in this embodiment can be applied to various networks, for example, a Universal Mobile Telecommunication System (UMTS) network, an Evolved Packet System (EPS) network, and global microwave access.
  • UMTS Universal Mobile Telecommunication System
  • EPS Evolved Packet System
  • WiMAX Interoperability for Microwave Access
  • CDMA Code Division Multiple Access
  • ADSL Asymmetric Digital Subscriber Line
  • fiber access network IP backbone network
  • IP backbone network IP backbone network
  • LAN etc.
  • the executor of the embodiment may be a base station (NodeB), a radio network controller (RNC), and a general packet radio service (GPRS) support node in the UMTS network (Serving)
  • the GPRS Supporting Node (SGSN), the Gateway General Packet Radio Service (GPRS) Supporting Node (GGSN), etc. may also be an evolved NodeB (Evolved NodeB) in the EPS network.
  • eNB Serving Gateway
  • P-GW Packet Data Network Gateway
  • BS base station
  • the Access Service Network Gateway (ASN-GW) and the Home Agent (HA) may also be Packet Data Serving Nodes (PDSNs) and HAs in the CDMA network. It can also be a Broadband Remote Access Server (BRAS) in an ADSL network, an IP backbone network, a router in a local area network, or a wired terminal or mobile terminal in various communication networks.
  • PDSNs Packet Data Serving Nodes
  • BRAS Broadband Remote Access Server
  • the access point (AP) is not limited in this embodiment of the present invention.
  • a network element is used as a generality of a rate control execution subject, and a network element can save a traffic credit of a data stream in the context of a data stream.
  • the network element may allocate a certain amount of initial traffic credits (for example, 5 M Bytes) to the data stream, and at the same time, the network element may increase the traffic credit of the foregoing data stream according to the rate of increase of the traffic credit. If the traffic credit of the data stream exceeds the maximum traffic credit of the data stream (for example: 20M Bytes), the traffic credit no longer continues to increase. That is to say, the traffic credit of a data stream has an upper limit value, that is, the maximum traffic credit.
  • different transmission control parameters may be separately set for the uplink and downlink directions.
  • the same control parameters may be set for the uplink and downlink.
  • PDN packet data network
  • APN Access Point Name
  • the correspondence between the traffic credit of the data stream and the control rate of the data flow may be set according to the current traffic credit of the data flow, for example:
  • the control rate of the data flow (that is, the maximum transmission rate of the allowed data stream) is 512 Kbps;
  • the control rate of the data stream (that is, the maximum transmission rate of the allowed data stream) is 80 Kbps.
  • the correspondence between the traffic credit of the data stream and the scheduling weight of the data stream can be set according to the current traffic credit of the data flow, for example:
  • the scheduling weight of the data flow is 6;
  • the scheduling weight of the data flow is 3;
  • the scheduling weight of the data flow is 1.
  • the correspondence between the traffic credit of the above data stream and the transmission priority identifier of the data stream It can be set according to the current traffic credit of the data stream, for example:
  • the data packet DSCP is marked as AF21 (ie, ensure forwarding 21);
  • the data packet DSCP is marked as AF11 (ie, forwarding is guaranteed 11);
  • the data packet DSCP is marked as BE (ie, try to forward).
  • the control rate of the data stream (that is, the maximum transmission rate of the allowed data stream) is 512 Kbps;
  • the control rate of the data stream (that is, the maximum transmission rate of the allowed data stream) is 256Kbps;
  • the control rate of the data stream (that is, the maximum transmission rate of the allowed data stream) is 80Kbps.
  • the correspondence between the traffic credit and the control information of the data stream embodies a control idea of hierarchical control: that is, as the consumption of traffic credit decreases, the control rate, scheduling weight, or transmission priority identifier of the data stream corresponds to The transmission priority gradually gradually and gradually decreases, and as the traffic credit recovery increases, the transmission priority, the scheduling weight, or the transmission priority corresponding to the transmission priority of the data stream gradually rises gradually.
  • the terminal in addition to enabling a service such as web browsing, e-mail, and instant messaging to obtain a high peak bandwidth, the terminal can also control the bandwidth of the terminal according to the actual bandwidth capability of the network.
  • the rate that the terminal can reach is about tens of Kbps, and the latest asymmetric digital subscriber line (Asymmetric Digital Subscriber Line, ADSL for short), optical fiber, high-speed packet access (HSPA), WiMAX, LTE and other access technologies provide transmission rates of several Mbps or higher, and basic packet services are not available. Big changes, such as: web browsing, email, file downloading, etc.
  • asymmetric digital subscriber line Asymmetric Digital Subscriber Line, ADSL for short
  • optical fiber high-speed packet access
  • HSPA high-speed packet access
  • WiMAX WiMAX
  • LTE Long Term Evolution
  • Big changes such as: web browsing, email, file downloading, etc.
  • the transmission rate increases, the service experience of the end user becomes more and more smooth. In other words, as the transmission rate decreases while the network is congested, although the service experience of the end user is reduced, as long as the bandwidth obtained by the terminal is higher than With a certain threshold, basic packet services can be performed, thus ensuring a basic service experience.
  • the higher the transmission rate obtained by the terminal the more the end user can browse more web pages per unit time, or download more files, that is, the more traffic the end user uses in a unit time; otherwise, the terminal Users can browse fewer web pages per unit of time, or download fewer files, ie less traffic that end users use per unit of time.
  • the end user inserts more "waiting time" when enjoying the service, for example: waiting for the webpage transmission to be completed, waiting for the file to be downloaded, etc.; waiting for the original service
  • the end user When the request is completed, the end user generally initiates a new service request less, that is, the extension of the waiting time may cause the terminal user to unconsciously reduce the frequency of the initiation of the new service request, so the existence of the waiting time actually reduces the unit time.
  • Traffic used by end users As the transmission rate decreases to a certain extent, the traffic used by the end user in a unit time is reduced, but the user's service experience (ie, satisfaction) can still be basically accepted. We call the "elasticity" of the packet service bandwidth requirement.
  • the traffic credit and the data flow control information of the hierarchical data stream are reasonably set.
  • the corresponding relationship can make the service waiting time of the end user gradually prolong, and the frequency of the new user starting the new service is appropriately reduced (equivalent to the user voluntarily giving up the initiation of a part of the service in exchange for the smoothness of the currently ongoing service), and finally obtained by the terminal.
  • the bandwidth can meet the requirements of the ongoing service of the end user relatively well, so as to achieve the dynamic balance between the service experience of the end user and the traffic used, avoiding the traditional flow control method or not controlling the rate or according to the maximum rate. Control, either at a small rate
  • the deficiencies of punitive slowdowns eg, the FUP approach
  • the foregoing transmission control parameters may be fixed during the transmission of the data stream, or may be dynamically changed.
  • the transmission control parameter may be dynamically adjusted by some event triggering, for example: adjusting the transmission control parameter according to the change of the network load (reducing the rate of increase of the traffic credit of the terminal when the network is under heavy load); The change of the segment, adjusting the transmission control parameter (reducing the rate of increase of the traffic credit of the terminal when the network is in a busy period; increasing the rate of increase of the traffic credit of the terminal when the network is in the idle period); or
  • the service dynamically adjusts the transmission control parameters, for example: After detecting that the terminal clicks on a paid song, it adds 5M Bytes of traffic credit to the terminal's data stream to speed up the terminal downloading the song; and detects that the terminal has started peer-to-peer (Peer-to- Peer, referred to as P2P), when downloading, reduce the traffic credit to 0 to avoid excessive bandwidth consumed by P2P download traffic.
  • P2P peer-
  • transmission control parameter may be statically configured on a network element that performs rate control, or may also be implemented by a policy decision entity, for example, a Policy and Charging Rule Function (PCRF)
  • PCRF Policy and Charging Rule Function
  • FIG. 2 is a schematic flowchart of a method for transmitting a data packet according to Embodiment 2 of the present invention.
  • the data packet transmission method in this embodiment may include the following steps:
  • Step 201 In the attach procedure or the PDN connection process initiated by the user equipment (UE), the UE initiates a default bearer activation process, and the S-GW sends a create session request message to the P-GW to establish a PDN connection.
  • the UE In the attach procedure or the PDN connection process initiated by the user equipment (UE), the UE initiates a default bearer activation process, and the S-GW sends a create session request message to the P-GW to establish a PDN connection.
  • Step 202 The P-GW interacts with the PCRF to establish a Gx interface session.
  • Step 203 The PCRF sends a session-related control parameter to the P-GW, where the session-related control parameter includes a transmission control parameter.
  • the transmission control parameter may include, but is not limited to, the following parameters: a correspondence between the traffic credit and the control rate, an initial traffic credit, an increase rate of the traffic credit, and a maximum traffic credit.
  • a correspondence between the traffic credit and the control rate an initial traffic credit
  • an increase rate of the traffic credit a maximum traffic credit.
  • the PCRF may set the transmission control parameter according to at least one of the subscription information of the terminal, the status information of the terminal, the location information of the terminal, the status information of the network, and the time information, and simultaneously set the transmission control parameter by using the parameter control policy, and
  • the GW delivers the set transmission control parameters. If the PCRF does not send the transmission control parameters, or only part of the transmission control parameters are issued, the P-GW can use the default transmission control parameters to control the transmission rate of the data stream.
  • the transmission control parameter may further include a controlled service data flow or characteristic information of multiple service data flows, for example: source IP address, destination IP address, protocol type, source port number, destination port number, Type of Service (ToS) / Differentiated Services Code Point (DSCP).
  • a controlled service data flow or characteristic information of multiple service data flows for example: source IP address, destination IP address, protocol type, source port number, destination port number, Type of Service (ToS) / Differentiated Services Code Point (DSCP).
  • the setting of the foregoing transmission control parameter may further be adjusted according to the accumulated usage flow rate of the terminal in the current control period. Specifically, as the accumulated usage traffic of the current control period increases, if the PCRF determines that the terminal has a tendency to consume the traffic quota too fast, the terminal sets a smaller maximum traffic credit, or less initial traffic credit, or lower. The rate of increase of traffic credit, or the same traffic credit allows for a lower control rate, the purpose of which is to help the terminal use the bandwidth more uniformly during the control period, avoiding the occurrence of accumulated traffic during the end of the control period. A situation in which traffic quotas are punitively slowed down.
  • Step 204 The P-GW returns a create session response message to the S-GW.
  • Step 205 The P-GW receives the data packet of the data stream in the PDN connection by using the established PDN connection, and controls the data stream transmission rate not to exceed the control rate of the data stream corresponding to the current traffic credit of the data stream.
  • the P-GW may use a control method such as a token bucket or a leaky bucket to control the transmission rate of the data stream to be less than or equal to (ie, not exceed) the control rate of the data stream.
  • a control method using a token bucket or a leaky bucket allows a short-term burst, that is, a case where the transmission rate of the data stream exceeds the control rate of the data stream in a short period of time, which is in the embodiment of the present invention. Medium is allowed.
  • the P-GW may discard the data packet that is determined not to pass the control rate, or may also mark the IP header of the data packet with a special DSCP, after the data packet arrives at the eNodeB.
  • the eNodeB can forward these data packets with special DSCP markings only when there is free bandwidth according to the current radio resource status, that is, apply a lower forwarding priority to these data packets.
  • the P-GW can also control the data by marking the data packet with a DSCP corresponding to different priorities.
  • the transmission rate of the stream may be: according to the transmission priority identifier of the data stream corresponding to the current traffic credit of the data flow, marking the DSCP corresponding to different priorities for the data packet, and deducting the traffic credit corresponding to the data packet from the current traffic credit of the data flow. . Packets marked as low-priority DSCP will have a greater probability of being dropped if they become congested during transmission. The upper layer protocol feedback effect caused by packet loss will reduce the rate of data stream.
  • Step 206 After the service is completed, the UE initiates a bearer deactivation process, and the S-GW sends a delete session request message to the P-GW.
  • Step 207 The P-GW interacts with the PCRF to delete the Gx interface session.
  • the P-GW may report the remaining traffic credits in the current data flow context to the PCRF, so as to send the transmission control to the P-GW next time.
  • Reference information of the parameter for example: If the remaining traffic credit is less when the terminal initiates the bearer deactivation process, and the UE quickly initiates the bearer activation process again, the PCRF can be based on the remaining P-GW reported last time.
  • the traffic credit value is issued to the P-GW with less initial traffic credit to avoid the UE obtaining from repeated activation and deactivation. More initial traffic credits are improperly benefited.
  • Step 208 The P-GW returns a delete session response message to the S-GW.
  • the P-GW obtains the traffic credit of the data flow to which the data packet belongs, and obtains the traffic credit corresponding to the data flow according to the correspondence between the traffic credit of the data flow and the control rate/transmission priority identifier of the data flow.
  • the control rate/transmission priority identifier of the data stream enables the P-GW to transmit the data packet according to the control rate/scheduling weight of the data stream, and consumes the traffic credit corresponding to the data packet, thereby realizing the transmission of the data stream.
  • the rate is controlled, which can prevent a small number of terminals from occupying too many network resources, and avoids the failure of the service in the FUP method due to network congestion at the beginning of the control period, and the network load is insufficient at the end of the control period.
  • the resulting network resources are wasted, thereby improving the service success rate and the utilization of network resources.
  • FIG. 3 is a schematic flowchart of a method for transmitting a data packet according to Embodiment 3 of the present invention. As shown in FIG. 3, the data packet transmission method in this embodiment may include the following steps:
  • Step 301 A user equipment (UE) in an idle state sends a service request (Service Request) message to the MME through the eNodeB, and is used to request to restore a radio access bearer (RAB).
  • Service Request service request
  • RAB radio access bearer
  • Step 302 The MME sends an Initial Context Setup Request message to the eNodeB, where the initialization context setup request message includes a transmission control parameter. Because the eNodeB does not save the UE context when the UE is in an idle state, in this embodiment, the transmission control parameters required for the eNodeB to implement rate control by transmitting data packets are delivered by other network elements, such as the core network element (MME).
  • the transmission control parameters may include, but are not limited to, the following parameters: a correspondence between the traffic credit and the control rate, an initial traffic credit, an increase rate of the traffic credit, and a maximum traffic credit. For a specific description of the transmission control parameters in this embodiment, refer to the related content in the first embodiment of the present invention, and details are not described herein again.
  • the MME may be based on the subscription information of the terminal, the status information of the terminal, and the location of the terminal. At least one of information, network status information, time information, and cumulative usage traffic, and the transmission control parameters are set using a parameter control strategy.
  • the granularity of the rate controlled data stream may include, but is not limited to, the following methods:
  • the MME will control the feature data of the service data stream, for example, the Quality of Service Class Identifier (QCI), the APN, the EPS bearer identifier (ID), and the source.
  • QCI Quality of Service Class Identifier
  • the IP address, the destination IP address, the protocol type, the source port number, the destination port number, the service type (Type of Service, ToS), and the Differentiated Services Code Point (DSCP) are sent to the eNodeB.
  • the eNodeB can apply the default control parameter for rate control.
  • Step 303 The eNodeB interacts with the UE to restore the RAB between the UE and the eNodeB.
  • Step 305 The MME sends a Modify Bearer Request message to the S-GW to notify the establishment of the downlink RAB information to the eNodeB.
  • Step 306 The S-GW returns a Modify Bearer Response message to the MME.
  • Step 307 The eNodeB receives the data packet of the data stream in the RAB by using the established RAB, and controls that the data stream transmission rate does not exceed the control rate of the data stream corresponding to the current traffic credit of the data stream.
  • the eNodeB does not have to discard the data packets that are determined not to be allowed to pass. Rather, it can be marked as low priority. After the packets of all terminals within the control rate range are preferentially guaranteed to pass, if there are still free bandwidth, these low priority packets can be transmitted to avoid the rate control. Waste network resources.
  • the radio access network has a richer means of packet scheduling than the core network, in addition to controlling the absolute transmission rate of the data stream according to the traffic credit, the relative scheduling weight of the data stream can be controlled according to the traffic credit.
  • another implementation manner of this step is described in detail in the manner of scheduling weights. That is, the method for the eNodeB to obtain the control rate of the data stream corresponding to the current traffic credit of the data stream may be further replaced by the eNodeB to obtain the data stream.
  • the scheduling weight of the data flow corresponding to the current traffic credit for example: the data flow of the terminal with the same two parameters (for example: QCI), the default eNodeB uses the ratio of 1: 1 in the data flow of the two terminals
  • the scheduling is performed, and after the traffic credit-based rate control method is introduced, different scheduling weights can be obtained according to the current traffic credit of the data stream of the terminal, for example: the current traffic credit is greater than or equal to 50% of the maximum traffic credit.
  • the terminal may have a scheduling weight of 6. For a terminal whose current traffic credit quantity is greater than or equal to 10% of the maximum traffic credit and less than 50% of the maximum traffic credit, the scheduling weight may be 2, and the current traffic credit is less than 10 of the maximum traffic credit.
  • the scheduling weight can be 1, that is, the scheduling rights in the above three cases
  • the weight ratio is 6: 2: 1 , and the data stream of the terminal with high scheduling weight will get a higher transmission rate under the same conditions. It should be noted that when the transmission rate of the data stream is controlled by the method of scheduling weights, the data packet of the transmission data stream also consumes the traffic credit corresponding to the data packet from the traffic credit of the data stream.
  • Step 308 After the service is completed, the eNodeB detects that the UE does not transmit the data stream within a period of time, and sends a UE context release request message to the MME.
  • Step 309 The MME sends a Modify Bearer Request message to the S-GW to notify the downlink RAB information that is released to the eNdoeB.
  • Step 31 The CK S-GW returns a Modify Bearer Response message to the MME.
  • Step 311 The MME sends a UE context release command to the eNodeB (S1 UE Context). Release Command) message, the notification releases the UE context;
  • Step 312 The eNodeB interacts with the UE to translate the RAB between the UE and the network side.
  • the eNodeB may report the remaining traffic information in the context of the current data flow to the MME as the reference information for the MME to deliver the transmission control parameter when the UE is switched to the connected state again.
  • the eNodeB acquires the traffic credit corresponding to the traffic credit of the data stream according to the traffic credit of the data flow to which the data packet belongs, and according to the correspondence between the traffic credit of the data flow and the control rate/scheduling weight of the data flow.
  • the rate/scheduling weight enables the eNodeB to transmit the data packet according to the control rate/scheduling weight of the data stream, and consumes the traffic credit corresponding to the data packet, thereby implementing the control of the transmission rate of the data stream, and suppressing a small number of terminals.
  • the service program manages the bandwidth usage of the upper application in units of processes or process groups, such as a web browser process.
  • the P2P download process and the E-Mail client process respectively perform rate control based on traffic credit. Since the data transmission process of the web browsing process and the email process is intermittent transmission, that is, transmission is performed for a period of time, and then the transmission is stopped for a period of time, so the transmission starts. Generally, more credits are accumulated, and a higher transmission rate can be obtained to improve the terminal experience of these foreground programs. In the background P2P download program, since the continuous transmission credit has been exhausted, the rate is controlled to be low.
  • IP Perform rate control based on traffic credits to prevent congestion of wireless LANs due to a small number of terminals starting P2P downloads, videos, and the like. You can specify that this control is not enabled for certain IP addresses, or that more loose or stricter control parameters are enabled.
  • FIG. 4 is a schematic structural diagram of a data packet transmission apparatus according to Embodiment 4 of the present invention, as shown in FIG.
  • the transmission device of the data packet of this embodiment may include a traffic credit adding module 41, a traffic credit acquiring module 42, a control information acquiring module 43, and a transmission rate control module 44.
  • the traffic credit adding module 41 increases the traffic credit of the data stream according to the rate of increase of the traffic credit
  • the traffic credit obtaining module 42 receives the data packet of the data stream, and obtains the traffic credit of the data stream, and the control information acquiring module 43 according to the data stream.
  • the transmission rate control module 44 transmits the data packet received by the traffic credit acquisition module 42 according to the control information of the data stream acquired by the control information acquisition module 43, and consumes the traffic credit corresponding to the data packet.
  • the control information of the data stream may include, but is not limited to, one of the following information: a control rate of the data stream, a scheduling weight of the data stream, and a transmission priority identifier.
  • the functions of the foregoing method in the first embodiment of the present invention, the P-GW in the second embodiment of the present invention, and the eNodeB in the third embodiment of the present invention can be implemented by the data packet transmission apparatus provided in this embodiment.
  • control information acquired by the control information acquiring module 43 is a control rate.
  • the transmission rate control module 44 in this embodiment may specifically control the transmission rate of the data stream if the transmission rate of the data stream is less than or equal to the control rate of the data stream.
  • the module 44 allows the above data packet to pass, and deducts the traffic credit corresponding to the data packet from the traffic credit of the data stream. Otherwise, the transmission rate control module 44 does not allow the data packet to pass, and does not flow from the data flow.
  • the credit credit corresponding to the data packet is deducted from the credit, thereby realizing the control rate for controlling the transmission rate of the data stream to be less than or equal to the data flow.
  • control information acquired by the control information acquiring module 43 is a scheduling weight.
  • the transmission rate control module 44 in this embodiment may be specifically configured to transmit the data packet according to the scheduling weight of the data stream, and from the data stream.
  • the traffic credit is deducted from the traffic credit corresponding to the data packet.
  • control information acquired by the control information acquiring module 43 is a transmission priority identifier
  • the transmission rate control module 44 in this embodiment may specifically transmit the data packet, and mark the transmission priority identifier in the data packet, and Deducting the traffic credit corresponding to the data packet from the traffic credit of the above data stream
  • the traffic credit acquisition module acquires the traffic credit of the data flow to which the data packet belongs
  • the control information acquisition module acquires the obtained relationship with the traffic credit acquisition module according to the correspondence between the traffic credit of the data flow and the control information of the data flow.
  • Control information of the data flow corresponding to the traffic credit of the data stream so that the transmission rate control module can obtain the data according to the control information acquiring module
  • the control information of the data stream is transmitted, and the data packet received by the traffic credit obtaining module is transmitted, and the traffic credit corresponding to the data packet is consumed, which can suppress a small number of terminals from occupying excessive network resources, and avoid the control period in the FUP method.
  • the service caused by network congestion cannot be performed normally, and the network resources are wasted due to insufficient network load at the end of the control period, thereby improving the service success rate and the utilization of network resources.
  • the data packet transmission apparatus of this embodiment may further include a control parameter obtaining module 51, configured to acquire transmission control parameters, where the foregoing transmission control parameters may include but are not limited to the following parameters: Control the correspondence of rates and the rate of increase of traffic credits. Further, the above transmission control parameters may further include a maximum traffic credit and/or an initial traffic credit. Further, the foregoing transmission control parameter may further include feature information of at least one service data flow.
  • control parameter obtaining module 51 may obtain the transmission control parameter from the network element (for example, a network element such as a PCRF or an MME). Further, the transmission rate control module 44 may also send the traffic credit of the data stream to the network element after the data packet is transmitted, so that the parameter sending network element sets a new transmission control parameter.
  • the network element for example, a network element such as a PCRF or an MME.
  • the transmission rate control module 44 may also send the traffic credit of the data stream to the network element after the data packet is transmitted, so that the parameter sending network element sets a new transmission control parameter.
  • the foregoing storage device includes the following steps:
  • the foregoing storage medium includes: a ROM, a RAM, a magnetic disk, or an optical disk, and the like, which can store various sequential codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiments of the present invention relate to a method and an apparatus for transmitting data packets. The method includes: receiving a data packet and obtaining the flow credit of the data flow to which the data packet belongs, wherein the flow credit increases according to the increase rate of the flow credit; according to the correspondence between the flow credit of the data flow and the control information of the data flow, obtaining the control information of the data flow corresponding to the flow credit of the data flow; transmitting the data packet according to the control information of the data flow, and consuming the flow credit corresponding to the data packet.

Description

数据包的传输方法及装置 技术领域  Data packet transmission method and device
本发明实施例涉及通信技术, 特别涉及一种数据包的传输方法及装置。 背景技术  The embodiments of the present invention relate to communication technologies, and in particular, to a data packet transmission method and apparatus. Background technique
公平使用策略( Fair Usage Policy, 简称 FUP ) 方法是一种基于公平的 流量控制方法,即在终端的数据流的传输过程中记录并累加当前控制周期(例 如: 本月) 内终端的累计使用流量, 并在累计使用流量超过配额时更新速率 控制策略, 例如: 降低允许的最大传输速率, 从而能够抑制少量终端占用过 多的网络资源。  The Fair Usage Policy (FUP) method is a fair flow control method that records and accumulates the cumulative usage traffic of the terminal during the current control period (for example: this month) during the transmission of the data stream of the terminal. And update the rate control policy when the cumulative usage traffic exceeds the quota, for example: Reduce the maximum allowed transmission rate, thereby preventing a small number of terminals from occupying too much network resources.
FUP方法是一种大尺度的流量控制方法, 在每个控制周期开始阶段(例 如: 在每个月的月初), 由于终端的累积使用流量都小于配额, 可以获得较大 的最大传输速率, 而且由于终端用户知道此时的累计使用流量还远远达不到 配额, 可以比较随意地使用各种业务(例如: 文件下载、 视频等业务), 因此 在每个控制周期开始阶段仍然可能出现比较严重的网络拥塞, 影响了业务的 正常进行; 而在每个控制周期结束阶段(例如: 在每个月的月末), 由于部分 终端的累计使用流量已经超过了配额, 只能获得较小的最大传输速率, 而且 那些即使还未超过配额的终端用户也由于配额的压力而自觉地限制使用各种 业务, 因此每个控制周期结束阶段可能出现网络负荷不足, 导致了网络资源 无法得到有效利用。 发明内容  The FUP method is a large-scale flow control method. At the beginning of each control cycle (for example, at the beginning of each month), since the cumulative usage traffic of the terminal is less than the quota, a larger maximum transmission rate can be obtained, and Since the end user knows that the accumulated usage traffic at this time is still far from the quota, it is more convenient to use various services (for example, file download, video, etc.), so it may still be serious at the beginning of each control cycle. Network congestion affects the normal operation of the service; at the end of each control cycle (for example, at the end of each month), since the cumulative usage traffic of some terminals has exceeded the quota, only a small maximum transmission can be obtained. The rate, and those end users who have not exceeded the quota, consciously restrict the use of various services due to the pressure of quotas. Therefore, the network load may be insufficient at the end of each control cycle, resulting in the network resources being unable to be effectively utilized. Summary of the invention
本发明实施例提供一种数据包的传输方法及装置, 用以抑制少量终端占 用过多的网络资源,避免 FUP方法中在控制周期开始阶段由于出现网络拥塞 所导致的业务的无法正常进行, 而在控制周期结束阶段由于出现网络负荷不 足所导致的网络资源浪费, 提高业务成功率和网络资源的利用率。 本发明实施例提供了一种数据包的传输方法, 包括: The embodiment of the present invention provides a method and a device for transmitting a data packet, which are used to prevent a small number of terminals from occupying excessive network resources, and to prevent the normal operation of the service caused by network congestion at the beginning of the control period in the FUP method. At the end of the control cycle, due to network load The waste of network resources caused by the foot, improve the business success rate and utilization of network resources. An embodiment of the present invention provides a data packet transmission method, including:
接收数据包, 获取所述数据包所属数据流的流量信用, 所述数据流的流 量信用是根据流量信用的增加速率增加的;  Receiving a data packet, obtaining a traffic credit of the data flow to which the data packet belongs, and the traffic credit of the data flow is increased according to an increase rate of the traffic credit;
根据数据流的流量信用与数据流的控制信息的对应关系, 获取与所述数 据流的流量信用对应的数据流的控制信息;  Obtaining control information of the data flow corresponding to the traffic credit of the data flow according to the correspondence between the traffic credit of the data stream and the control information of the data flow;
根据所述数据流的控制信息, 传输所述数据包, 并消耗所述数据包对应 的流量信用。  And transmitting, according to the control information of the data stream, the data packet, and consuming the traffic credit corresponding to the data packet.
本发明实施例还提供了一种数据包的传输装置, 包括:  An embodiment of the present invention further provides a data packet transmission apparatus, including:
流量信用增加模块, 用于根据流量信用的增加速率增加数据流的流量信 用;  a traffic credit increasing module, configured to increase a traffic flow of the data flow according to an increase rate of the traffic credit;
流量信用获取模块, 用于接收所述数据流的数据包, 获取所述数据流的 流量信用;  a traffic credit obtaining module, configured to receive a data packet of the data stream, and obtain a traffic credit of the data stream;
控制信息获取模块, 用于根据数据流的流量信用与数据流的控制信息的 对应关系, 获取与所述数据流的流量信用对应的数据流的控制信息;  a control information obtaining module, configured to acquire, according to a correspondence between the traffic credit of the data stream and the control information of the data flow, control information of the data flow corresponding to the traffic credit of the data flow;
传输速率控制模块, 用于根据所述数据流的控制信息, 传输所述数据包, 并消耗所述数据包对应的流量信用。  And a transmission rate control module, configured to: according to the control information of the data stream, transmit the data packet, and consume a traffic credit corresponding to the data packet.
由上述技术方案可知, 本发明实施例通过获取数据包所属数据流的流量 信用, 根据数据流的流量信用与数据流的控制信息的对应关系, 获取与上述 数据流的流量信用对应的数据流的控制信息, 使得能够根据上述数据流的控 制信息, 传输上述数据包, 并消耗该数据包对应的流量信用, 从而实现了对 上述数据流的传输速率进行控制, 能够抑制少量终端占用过多的网络资源, 同时避免了 FUP 方法中在控制周期开始阶段由于出现网络拥塞所导致的业 务的无法正常进行, 而在控制周期结束阶段由于出现网络负荷不足所导致的 网络资源浪费, 从而提高了业务成功率和网络资源的利用率。 附图说明 According to the foregoing technical solution, the embodiment of the present invention obtains the traffic credit corresponding to the traffic credit of the data stream according to the correspondence between the traffic credit of the data flow and the control information of the data flow by acquiring the traffic credit of the data flow to which the data packet belongs. The control information enables the transmission of the data packet according to the control information of the data stream, and consumes the traffic credit corresponding to the data packet, thereby realizing the control of the transmission rate of the data stream, and suppressing a small number of terminals occupying too many networks. Resources, while avoiding the failure of the FUP method due to network congestion caused by network congestion at the beginning of the control period, and the waste of network resources due to insufficient network load at the end of the control period, thereby improving the service success rate. And utilization of network resources. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图 1为本发明实施例一提供的数据包的传输方法的流程示意图; 图 2为本发明实施例二提供的数据包的传输方法的流程示意图; 图 3为本发明实施例三提供的数据包的传输方法的流程示意图; 图 4为本发明实施例四提供的数据包的传输装置的一个结构示意图; 图 5为本发明实施例四提供的数据包的传输装置的另一个结构示意图。 具体实施方式  1 is a schematic flowchart of a data packet transmission method according to Embodiment 1 of the present invention; FIG. 2 is a schematic flowchart of a data packet transmission method according to Embodiment 2 of the present invention; FIG. 4 is a schematic structural diagram of a data packet transmission apparatus according to Embodiment 4 of the present invention; FIG. 5 is another schematic structural diagram of a data packet transmission apparatus according to Embodiment 4 of the present invention. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图 1为本发明实施例一提供的数据包的传输方法的流程示意图, 如图 1所 示, 本实施例的数据包的传输方法可以包括以下步骤:  FIG. 1 is a schematic flowchart of a method for transmitting a data packet according to Embodiment 1 of the present invention. As shown in FIG. 1, the data packet transmission method in this embodiment may include the following steps:
步骤 101、 接收数据包, 获取上述数据包所属数据流的流量信用; 其中, 上述流量信用可以理解为业务会话(数据流)所拥有的可以以较 高的优先级传输数据包的一种凭证, 例如: 较高的控制速率、 较高的调度权 重、 较高优先级的传输优先级标识等, 单位与流量的单位相同 (字节、 千字 节等), 可以在数据流的上下文中保存数据流的流量信用。 当终端的业务会话 建立后, 以预先设置的流量信用的增加速率持续增加新的流量信用; 当传输 数据流的数据包时, 从上述数据流的流量信用中消耗(扣减或不扣减)该数 据包对应的流量信用; 当没有数据包传输或者数据流的传输速率较低, 低于 上述流量信用的增加速率时, 数据流的流量信用就可以不断增长, 但数据流 的流量信用有一个上限值即最大流量信用 , 积累的流量信用达到该上限值之 后流量信用则不再增加。 具体地, 本步骤之前可以进一步包括获取传输控制 参数的步骤, 具体可以从其他网元(本发明实施例中可以称之为参数下发网 元), 例 ¾口: 策格和计费规贝1 J功能( Policy and Charging Rules Function, 简 称 PCRF )、 移动性管理网元(Mobility Management Entity, 简称 MME )等 网元, 获取, 或者还可以从操作维护或自身的配置信息中获取。 其中, 上述 传输控制参数可以包括但不限于以下参数: 流量信用与控制速率的对应关系 和流量信用的增加速率。 进一步地, 上述传输控制参数还可以包括最大流量 信用和 /或初始流量信用,在数据流的上下文初始化时,可以为数据流设置(分 配)一定数量的初始流量信用 (例如: 5M Bytes ), 同时, 流量信用以流量信 用的增加速率不断增加, 如果数据流的流量信用超过数据流的最大流量信用 (例如: 20M Bytes ), 则流量信用不再继续增加。 也就是说一个数据流的流 量信用有一个上限值即最大流量信用。 Step 101: Receive a data packet, and obtain a traffic credit of the data flow to which the data packet belongs. The traffic credit may be understood as a certificate that the service session (data flow) has, which can transmit the data packet with a higher priority. For example: higher control rate, higher scheduling weight, higher priority transmission priority identifier, etc. The unit is the same as the unit of traffic (bytes, kilobytes, etc.), and can save data in the context of the data stream. Flow traffic credit. After the service session of the terminal is established, the new traffic credit is continuously increased at the rate of increase of the preset traffic credit; when the data packet of the data stream is transmitted, the traffic credit of the data stream is consumed (deducted or not deducted) The traffic credit corresponding to the data packet; when there is no data packet transmission or the data stream transmission rate is lower, lower than When the rate of increase of the traffic credit is increased, the traffic credit of the data stream can be continuously increased, but the traffic credit of the data flow has an upper limit value, that is, the maximum traffic credit, and the accumulated traffic credit reaches the upper limit value, and the traffic credit does not increase any more. . Specifically, before the step, the step of acquiring the transmission control parameter may be further included, and the network element may be sent from another network element (which may be referred to as a parameter sending network element in the embodiment of the present invention), for example, the interface and the charging rule A network element such as a Policy and Charging Rules Function (PCRF) or a Mobility Management Entity (MME) is obtained, or can be obtained from operation and maintenance or its own configuration information. The foregoing transmission control parameters may include, but are not limited to, the following parameters: a correspondence between the traffic credit and the control rate and an increase rate of the traffic credit. Further, the foregoing transmission control parameter may further include a maximum traffic credit and/or an initial traffic credit, and when the context of the data flow is initialized, a certain amount of initial traffic credits (eg, 5M Bytes) may be set (allocated) for the data flow, and Traffic credits continue to increase at an increasing rate of traffic credits. If the traffic credit of the data stream exceeds the maximum traffic credit of the data stream (for example: 20M Bytes), the traffic credit does not continue to increase. That is to say, the traffic credit of a data stream has an upper limit value, that is, a maximum traffic credit.
具体地, 执行本步骤的不同执行主体所控制的数据流的粒度可能有所不 同, 其粒度可能大于一个终端, 也可能小于一个终端。 例如:  Specifically, the granularity of the data flow controlled by different execution entities performing this step may be different, and the granularity may be larger than one terminal or less than one terminal. E.g:
若干个终端 (例如: 属于一个子网) 的流量聚合;  Traffic aggregation for several terminals (for example: belonging to a subnet);
一个终端的流量聚合;  Traffic aggregation of a terminal;
一个终端的符合某种匹配条件的数据包的流量聚合, 例如: 一个终端的 所有非保证比特率(Non-Guaranteed Bit Rate, 简称 Non-GBR )承载的流 量聚合;  Traffic aggregation of a packet of a terminal that meets certain matching conditions, for example: traffic aggregation carried by all non-guaranteed bit rates (Non-GBR) of a terminal;
一个终端的一个公用数据网 (Public Data Network, 简称 PDN )连接 ( Connection ) 的流量聚合;  Traffic aggregation of a Public Data Network (PDN) connection of a terminal;
一个终端的一个 PDN连接中符合某种匹配条件的数据包的流量聚合,例 如: 一个终端的一个 PDN连接中 Non-GBR承载的流量聚合;  Traffic aggregation of a packet in a PDN connection of a terminal that meets certain matching conditions, for example: traffic aggregation of a Non-GBR bearer in a PDN connection of a terminal;
一个终端的指定的一个或多个业务数据流的流量聚合; 一个终端的除了指定的一个或多个业务数据流以外的其它非特定业务数 据流的流量聚合; Traffic aggregation of a specified one or more service data flows of a terminal; Traffic aggregation of a non-specific service data stream of a terminal other than the specified one or more service data streams;
一个终端的一个 PDN连接中指定的一个或多个业务数据流的流量聚合; 一个终端的一个 PDN 连接中除了指定的一个或多个业务数据流以外的 其它非特定业务数据流的流量聚合;  Traffic aggregation of one or more service data flows specified in a PDN connection of a terminal; traffic aggregation of a non-specific service data flow other than the specified one or more service data flows in a PDN connection of one terminal;
一个终端的属于同一个接入点名称(Access Point Name, 简称 APN ) 的所有 PDN连接的流量聚合。  Traffic aggregation of all PDN connections belonging to the same Access Point Name (APN) of a terminal.
具体地,本步骤具体可以从数据流的上下文中获取该数据流的流量信用。 步骤 102、 根据数据流的流量信用与数据流的控制信息的对应关系, 获 取与上述数据流的流量信用对应的数据流的控制信息;  Specifically, this step may specifically obtain the traffic credit of the data flow from the context of the data flow. Step 102: Obtain control information of the data flow corresponding to the traffic credit of the data flow according to the correspondence between the traffic credit of the data flow and the control information of the data flow;
其中,上述数据流的控制信息至少可以包括但不限于以下信息中的一项: 数据流的控制速率、 数据流的调度权重、 数据流的传输优先级标识例如: 差 分服务代码点 (Differentiated Services Code Point, 简称 DSCP )。 可以理 解的是: 上述数据流的控制信息还可以是其他的能够对数据流的传输速率进 行差别化控制的其他技术手段的相关参数。  The control information of the data stream may include, but is not limited to, at least one of the following information: a control rate of the data stream, a scheduling weight of the data stream, and a transmission priority identifier of the data stream, for example: a differentiated service code point (Differentiated Services Code) Point, referred to as DSCP). It can be understood that: the control information of the above data stream may also be other related parameters of other technical means capable of differentially controlling the transmission rate of the data stream.
具体地, 上述数据流的流量信用与数据流的控制速率的对应关系可以根 据控制策略建立, 例如: 数据流的流量信用越高, 数据流的控制速率越高, 反之, 数据流的流量信用越低, 数据流的控制速率越低; 类似地, 上述数据 流的流量信用与数据流的调度权重的对应关系可以根据控制策略建立,例如: 数据流的流量信用越高, 数据流的调度权重越大, 反之, 数据流的流量信用 越低, 数据流的调度权重越小; 类似地, 上述数据流的流量信用与数据流的 传输优先级标识的对应关系可以根据控制策略建立, 例如: 数据流的流量信 用越高, 数据流的数据包的传输优先级标识对应的优先级越高。  Specifically, the correspondence between the traffic credit of the data stream and the control rate of the data flow may be established according to a control policy, for example, the higher the traffic credit of the data flow, the higher the control rate of the data flow, and vice versa, the more the traffic credit of the data flow The lower the control rate of the data stream is. The similarity between the traffic credit of the data stream and the scheduling weight of the data stream can be established according to the control policy. For example, the higher the traffic credit of the data stream, the more the scheduling weight of the data stream is. Large, conversely, the lower the traffic credit of the data stream, the smaller the scheduling weight of the data stream; similarly, the correspondence between the traffic credit of the data stream and the transmission priority identifier of the data stream can be established according to the control policy, for example: data flow The higher the traffic credit, the higher the priority of the transmission priority identifier of the data packet.
步骤 103、 根据上述数据流的控制信息, 传输上述数据包, 并消耗上述 数据包对应的流量信用。  Step 103: Transmit the data packet according to the control information of the data stream, and consume the traffic credit corresponding to the data packet.
具体地, 若上述数据流的传输速率未超过上述数据流的控制速率, 则可 以允许上述数据包通过, 同时从上述数据流的流量信用中扣减上述数据包对 应的流量信用, 例如: 扣减上述数据包的长度对应的流量信用 (如果数据流 的流量信用不足以扣减,一般不允许数据包通过并且不消耗对应的流量信用, 但在具体实现中, 也可以考虑允许赊欠流量信用, 即在流量信用不足的情况, 只要不超过数据流的控制速率也允许数据包通过); 反之, 则可以不允许上述 数据包通过, 并且不从上述数据流的流量信用中扣减上述数据包对应的流量 信用, 从而实现了能够控制上述数据流的传输速率小于或等于 (即不超过) 上述数据流的控制速率。 几种方式: 对不允许通过的数据包直接丟弃; 对不允许通过的数据包进行緩 存处理;对不允许通过的数据包进行差分服务代码点( Differentiated Services Code Point, 简称 DSCP ) 降级标记处理。 Specifically, if the transmission rate of the data stream does not exceed the control rate of the data stream, To allow the above data packets to pass, and deduct the traffic credit corresponding to the data packet from the traffic credit of the data stream, for example: deduct the traffic credit corresponding to the length of the data packet (if the traffic credit of the data flow is insufficient to deduct Generally, the data packet is not allowed to pass and does not consume the corresponding traffic credit. However, in the specific implementation, it is also considered to allow the credit credit to be owed, that is, in the case of insufficient traffic credit, the data packet is allowed to pass as long as the control rate of the data flow is not exceeded. On the contrary, the above data packet may not be allowed to pass, and the traffic credit corresponding to the data packet is not deducted from the traffic credit of the data stream, thereby realizing that the transmission rate of the data stream can be controlled to be less than or equal to (ie, not Exceeding the control rate of the above data stream. There are several ways: directly discarding data packets that are not allowed to pass; caching processing of data packets that are not allowed to pass; performing Differentiated Services Code Point (DSCP) degraded token processing on data packets that are not allowed to pass. .
可选地, 本步骤还可以根据上述数据流的流量信用对应的数据流的调度 权重, 传输接收的上述数据包, 并从上述数据流的流量信用中扣减上述数据 包对应的流量信用; 或者还可以传输上述数据包, 该数据包标记有数据流的 流量信用对应的传输优先级标识, 并从上述数据流的流量信用中扣减上述数 据包对应的流量信用。  Optionally, the step may further transmit the received data packet according to a scheduling weight of the data flow corresponding to the traffic credit of the data flow, and deduct the traffic credit corresponding to the data packet from the traffic credit of the data flow; or The data packet may also be transmitted, and the data packet is marked with a transmission priority identifier corresponding to the traffic credit of the data stream, and the traffic credit corresponding to the data packet is deducted from the traffic credit of the data stream.
本实施例中, 对于文件下载、 视频等传输持续时间较长的业务, 由于其 以较高的传输速率很快将积累的流量信用消耗完, 之后只能够以较低的传输 速率进行数据流的传输, 避免了这类业务持续占用过多的带宽; 而对于网页 浏览、 电子邮件、 即时通信等传输持续时间较短的业务, 由于其流量信用始 终维持在较高的水平, 因此在这类业务的数据传输发生时, 能够以较高的速 率进行数据流的传输, 使得终端用户获得了更好的体验。 但从较长时间来衡 量, 两类业务传输的平均速率都受限于流量信用增加的速度, 因而体现了公 平性。 对文件下载、 视频等业务的速率限制, 根据数据流的流量信用控制其 传输速率的效果并不仅仅是限制其终端当前对带宽的占用。 此外, 由于流量 信用的增加速率的设定一般是根据终端的话务模型和网络能力而设置的, 而 数据流传输的平均速率受限于流量信用的增加速率, 因此根据数据流的流量 信用控制其传输速率的效果还在于可以控制终端更加合理的使用其套餐的流 量, 避免控制周期开始阶段的流量使用过快, 控制周期结束阶段的流量超过 配额的情况。 In this embodiment, for a service with a long transmission duration such as file downloading and video, since the accumulated traffic credit is quickly consumed at a higher transmission rate, the data stream can only be transmitted at a lower transmission rate. Transmission, to avoid such services continue to occupy excessive bandwidth; and for short-lived services such as web browsing, e-mail, instant messaging, etc., because their traffic credits are always maintained at a high level, in such services When the data transmission occurs, the data stream can be transmitted at a higher rate, so that the end user obtains a better experience. However, from a longer period of time, the average rate of transmission of both types of services is limited by the speed at which traffic credits increase, thus embodying fairness. For the rate limitation of services such as file downloading and video, controlling the transmission rate according to the traffic credit of the data stream does not only limit the current bandwidth consumption of its terminal. In addition, due to traffic The setting of the rate of increase of credit is generally set according to the traffic model and network capability of the terminal, and the average rate of data stream transmission is limited by the rate of increase of the traffic credit, so the transmission rate of the traffic is controlled according to the traffic credit of the data stream. The effect is also that it can control the terminal to use the traffic of its package more reasonably, avoiding the traffic usage at the beginning of the control cycle is too fast, and the traffic at the end of the control cycle exceeds the quota.
本实施例中, 通过获取数据包所属数据流的流量信用, 根据数据流的流 量信用与数据流的控制信息的对应关系, 获取与上述数据流的流量信用对应 的数据流的控制信息, 使得能够根据上述数据流的控制信息, 传输上述数据 包, 并消耗该数据包对应的流量信用, 从而实现了对上述数据流的传输速率 进行控制, 能够抑制少量终端占用过多的网络资源, 同时避免了 FUP方法中 在控制周期开始阶段由于出现网络拥塞所导致的业务的无法正常进行, 而在 控制周期结束阶段由于出现网络负荷不足所导致的网络资源浪费, 从而提高 了业务成功率和网络资源的利用率。  In this embodiment, by acquiring the traffic credit of the data flow to which the data packet belongs, the control information of the data flow corresponding to the traffic credit of the data flow is obtained according to the correspondence between the traffic credit of the data flow and the control information of the data flow, so that the control information of the data flow corresponding to the traffic credit of the data flow is obtained. Transmitting the data packet according to the control information of the data stream, and consuming the traffic credit corresponding to the data packet, thereby controlling the transmission rate of the data stream, and suppressing a small number of terminals from occupying excessive network resources, and avoiding In the FUP method, the service caused by network congestion at the beginning of the control period cannot be performed normally, and the network resources are wasted due to insufficient network load at the end of the control period, thereby improving the service success rate and the utilization of network resources. rate.
本实施例的数据包的传输方法可以适用于多种网络, 例如: 全球移动通 信系统( Universal Mobile Telecommunication System, 简称 UMTS ) 网络、 演进分组系统(Evolved Packet System, 简称 EPS ) 网络、 全球微波接入 互操作性 ( World Interoperability for Microwave Access, 简称 WiMAX ) 网 络、 码分多址(Code Division Multiple Access, 简称 CDMA ) 网络、 非对称 数字用户线(Asymmetric Digital Subscriber Line, 简称 ADSL ) 网络、 光纤 接入网络、 IP骨干网络、 局域网等。  The data packet transmission method in this embodiment can be applied to various networks, for example, a Universal Mobile Telecommunication System (UMTS) network, an Evolved Packet System (EPS) network, and global microwave access. Interoperability for Microwave Access (WiMAX) network, Code Division Multiple Access (CDMA) network, Asymmetric Digital Subscriber Line (ADSL) network, fiber access network , IP backbone network, LAN, etc.
其中, 本实施例的执行主体可以为 UMTS 网络中的基站(NodeB )、 无 线网络控制器(Radio Network Controller, 简称 RNC )、 服务通用分组无线 服务( General Packet Radio Service,简称 GPRS )支持节点( Serving GPRS Supporting Node, 简称 SGSN ) 、 网关通用分组无线服务( General Packet Radio Service, 简称 GPRS )支持节点( Gateway GPRS Supporting Node, 简称 GGSN )等, 还可以为 EPS网络中的演进型 NodeB ( Evolved NodeB, 简称 eNB )、 服务网关(Serving Gateway, 简称 S-GW )、 分组数据网络网 关( Packet Data Network Gateway, 简称 P-GW )等, 还可以为 WiMAX网 络中的基站( Base Station ,简称 BS )、接入服务网络的网关( Access Service Network Gateway, 简称 ASN-GW )、 家乡代理( Home Agent, 简称 HA ), 还可以为 CDMA网络中的分组数据服务节点 ( Packet Data Serving Node, 简称 PDSN )、HA,还可以为 ADSL网络中的宽带远程接入服务器( Broadband Remote Access Server, 简称 BRAS ), 还可以为 IP骨干网络、 局域网中的 路由器, 还可以为各种通信网络中的有线终端或移动终端、 接入点 (Access Point, 简称 AP ), 本发明实施例对此不做限制。 The executor of the embodiment may be a base station (NodeB), a radio network controller (RNC), and a general packet radio service (GPRS) support node in the UMTS network (Serving) The GPRS Supporting Node (SGSN), the Gateway General Packet Radio Service (GPRS) Supporting Node (GGSN), etc., may also be an evolved NodeB (Evolved NodeB) in the EPS network. Referred to as eNB), Serving Gateway (S-GW), Packet Data Network Gateway (P-GW), etc., it can also be a base station (BS) in the WiMAX network. The Access Service Network Gateway (ASN-GW) and the Home Agent (HA) may also be Packet Data Serving Nodes (PDSNs) and HAs in the CDMA network. It can also be a Broadband Remote Access Server (BRAS) in an ADSL network, an IP backbone network, a router in a local area network, or a wired terminal or mobile terminal in various communication networks. The access point (AP) is not limited in this embodiment of the present invention.
为了方便描述, 下述本发明实施例中以网元作为速率控制执行主体的统 称, 网元可以在数据流的上下文中保存数据流的流量信用。 具体地, 在数据 流的上下文初始化时, 网元可以为数据流分配一定数量的初始流量信用 (例 如: 5M Bytes ), 同时, 网元可以根据流量信用的增加速率, 增加上述数据流 的流量信用,如果数据流的流量信用超过数据流的最大流量信用(例如: 20M Bytes ), 则流量信用不再继续增加。 也就是说一个数据流的流量信用有一个 上限值即最大流量信用。  For convenience of description, in the following embodiments of the present invention, a network element is used as a generality of a rate control execution subject, and a network element can save a traffic credit of a data stream in the context of a data stream. Specifically, when the context of the data stream is initialized, the network element may allocate a certain amount of initial traffic credits (for example, 5 M Bytes) to the data stream, and at the same time, the network element may increase the traffic credit of the foregoing data stream according to the rate of increase of the traffic credit. If the traffic credit of the data stream exceeds the maximum traffic credit of the data stream (for example: 20M Bytes), the traffic credit no longer continues to increase. That is to say, the traffic credit of a data stream has an upper limit value, that is, the maximum traffic credit.
可以理解的是: 本发明实施例中, 具体可以针对上行和下行两个方向分 别设置不同的传输控制参数, 当然, 也可以对上行和下行设置相同的控制参 数。 一般来说, 最大流量信用越大, 或初始流量信用越多, 或流量信用的增 加速率越快, 相同流量信用情况下允许的控制速率越高 (特别是在流量信用 耗尽的情况下的控制速率越高), 则终端用户的业务体验越好。 因此可以根据 不同的情况, 设置不同的传输控制参数, 例如:  It can be understood that, in the embodiment of the present invention, different transmission control parameters may be separately set for the uplink and downlink directions. Of course, the same control parameters may be set for the uplink and downlink. In general, the greater the maximum traffic credit, or the more initial traffic credits, or the faster the rate of increase in traffic credits, the higher the control rate allowed for the same traffic credits (especially in the case of traffic credit exhaustion) The higher the rate, the better the end user's business experience. Therefore, different transmission control parameters can be set according to different situations, for example:
A、根据签约数据中的终端用户类型的不同,为金牌终端用户设置较大的 最大流量信用, 或较多的初始流量信用, 或较快的流量信用的增加速率, 或 相同的流量信用情况下允许较高的控制速率, 或较大的调度权重, 或对应更 高优先级的传输优先级标识; B、 根据接入点名称(Access Point Name, 简称 APN )所标识的终端接 入的分组数据网络(PDN ) 的不同, 为运营商自己控制的业务设置较大的最 大流量信用, 或较多的初始流量信用, 或较快的流量信用的增加速率, 或相 同的流量信用情况下允许较高的控制速率, 或较大的调度权重, 或对应更高 优先级的传输优先级标识; A. According to the type of end user in the contract data, set a large maximum traffic credit for the gold terminal user, or more initial traffic credit, or a faster rate of increase of traffic credit, or the same traffic credit situation. Allowing a higher control rate, or a larger scheduling weight, or a higher priority transmission priority identifier; B. According to the packet data network (PDN) accessed by the terminal identified by the Access Point Name (APN), a larger maximum traffic credit is set for the service controlled by the operator, or more The initial traffic credit, or the rate of increase of the faster traffic credit, or the same traffic credit allows a higher control rate, or a larger scheduling weight, or a higher priority transmission priority identifier;
c、 根据网络的时段的不同, 在网络的空闲时段, 为终端设置较大的最 大流量信用, 或较多的初始流量信用, 或较快的流量信用的增加速率, 或相 同的流量信用情况下允许较高的控制速率, 或较大的调度权重, 或对应更高 优先级的传输优先级标识。  c. Depending on the time period of the network, during the idle period of the network, set a larger maximum traffic credit for the terminal, or more initial traffic credits, or a faster rate of increase of traffic credits, or the same traffic credit situation. Allows a higher control rate, or a larger scheduling weight, or a higher priority transmission priority identifier.
具体地, 上述数据流的流量信用与数据流的控制速率的对应关系可以根 据数据流当前的流量信用进行设置, 例如:  Specifically, the correspondence between the traffic credit of the data stream and the control rate of the data flow may be set according to the current traffic credit of the data flow, for example:
A、 当前流量信用大于或等于最大流量信用的 50%时, 数据流的控制速 率 (即允许的数据流的最大传输速率)为 512Kbps;  A. When the current traffic credit is greater than or equal to 50% of the maximum traffic credit, the control rate of the data flow (that is, the maximum transmission rate of the allowed data stream) is 512 Kbps;
B、 当前流量信用大于或等于最大流量信用的 10%, 且小于最大流量信 用的 50%时, 数据流的控制速率 (即允许的数据流的最大传输速率) 为 B. When the current traffic credit is greater than or equal to 10% of the maximum traffic credit and less than 50% of the maximum traffic credit, the control rate of the data flow (that is, the maximum transmission rate of the allowed data flow) is
256Kbps; 256Kbps;
C、 当前流量信用小于最大流量信用的 10%时, 数据流的控制速率(即 允许的数据流的最大传输速率)为 80Kbps。  C. When the current traffic credit is less than 10% of the maximum traffic credit, the control rate of the data stream (that is, the maximum transmission rate of the allowed data stream) is 80 Kbps.
类似地, 上述数据流的流量信用与数据流的调度权重的对应关系可以根 据数据流当前的流量信用进行设置, 例如:  Similarly, the correspondence between the traffic credit of the data stream and the scheduling weight of the data stream can be set according to the current traffic credit of the data flow, for example:
A、 当前流量信用大于或等于最大流量信用的 50%时, 数据流的调度权 重为 6;  A. When the current traffic credit is greater than or equal to 50% of the maximum traffic credit, the scheduling weight of the data flow is 6;
B、 当前流量信用大于或等于最大流量信用的 10%, 且小于最大流量信 用的 50%时, 数据流的调度权重为 3;  B. When the current traffic credit is greater than or equal to 10% of the maximum traffic credit and less than 50% of the maximum traffic credit, the scheduling weight of the data flow is 3;
C、 当前流量信用小于最大流量信用的 10%时, 数据流的调度权重为 1。 类似地, 上述数据流的流量信用与数据流的传输优先级标识的对应关系 可以根据数据流当前的流量信用进行设置, 例如: C. When the current traffic credit is less than 10% of the maximum traffic credit, the scheduling weight of the data flow is 1. Similarly, the correspondence between the traffic credit of the above data stream and the transmission priority identifier of the data stream It can be set according to the current traffic credit of the data stream, for example:
A、 当前流量信用大于或等于最大流量信用的 50%时, 数据流的数据包 DSCP标记为 AF21 (即确保转发 21 );  A. When the current traffic credit is greater than or equal to 50% of the maximum traffic credit, the data packet DSCP is marked as AF21 (ie, ensure forwarding 21);
B、 当前流量信用大于或等于最大流量信用的 10%, 且小于最大流量信 用的 50%时, 数据流的数据包 DSCP标记为 AF11 (即确保转发 11 );  B. When the current traffic credit is greater than or equal to 10% of the maximum traffic credit and less than 50% of the maximum traffic credit, the data packet DSCP is marked as AF11 (ie, forwarding is guaranteed 11);
C、 当前流量信用小于最大流量信用的 10%时, 数据流的数据包 DSCP 标记为 BE (即尽力转发)。  C. When the current traffic credit is less than 10% of the maximum traffic credit, the data packet DSCP is marked as BE (ie, try to forward).
需要说明的是: 本实施例上述说明釆用的是相对比例的方式来描述数据 流的流量信用与数据流的控制速率 /调度权重 /传输优先级标识的对应关系,可 选地, 本实施例还可以釆用绝对数值或其它等效的方式来描述, 本发明对此 不做限制, 例如:  It should be noted that, in the foregoing description of the embodiment, the corresponding relationship between the traffic credit of the data flow and the control rate/scheduling weight/transmission priority identifier of the data flow is described in a relative proportion manner. It can also be described by using absolute values or other equivalent means, and the invention does not limit this, for example:
A、 当前流量信用大于或等于 10M Bytes时, 数据流的控制速率(即允 许的数据流的最大传输速率)为 512Kbps;  A. When the current traffic credit is greater than or equal to 10M Bytes, the control rate of the data stream (that is, the maximum transmission rate of the allowed data stream) is 512 Kbps;
B、 当前流量信用大于或等于 2M Bytes, 且小于 10M Bytes时, 数据流 的控制速率 (即允许的数据流的最大传输速率)为 256Kbps;  B. When the current traffic credit is greater than or equal to 2M Bytes and less than 10M Bytes, the control rate of the data stream (that is, the maximum transmission rate of the allowed data stream) is 256Kbps;
C、 当前流量信用小于 2M Bytes时, 数据流的控制速率(即允许的数据 流的最大传输速率)为 80Kbps。  C. When the current traffic credit is less than 2M Bytes, the control rate of the data stream (that is, the maximum transmission rate of the allowed data stream) is 80Kbps.
本实施例中, 上述数据流的流量信用与控制信息的对应关系体现了一种 分级控制的控制思想: 即随着流量信用的消耗减少, 数据流的控制速率、 调 度权重或传输优先级标识对应的传输优先级逐渐分级平滑下降, 而随着流量 信用的恢复增加, 数据流的控制速率、 调度权重或传输优先级标识对应的传 输优先级逐渐分级平滑上升。 本实施例中的上述对应关系, 除了使得网页浏 览、 电子邮件和即时通信等业务能够获得较高的峰值带宽之外, 还可以控制 终端根据网络的实际带宽能力合理的使用带宽。  In this embodiment, the correspondence between the traffic credit and the control information of the data stream embodies a control idea of hierarchical control: that is, as the consumption of traffic credit decreases, the control rate, scheduling weight, or transmission priority identifier of the data stream corresponds to The transmission priority gradually gradually and gradually decreases, and as the traffic credit recovery increases, the transmission priority, the scheduling weight, or the transmission priority corresponding to the transmission priority of the data stream gradually rises gradually. In the above-mentioned correspondence relationship in the embodiment, in addition to enabling a service such as web browsing, e-mail, and instant messaging to obtain a high peak bandwidth, the terminal can also control the bandwidth of the terminal according to the actual bandwidth capability of the network.
从早期通过调制解调器、 GPRS等技术访问网络时, 终端能达到的速率 大概在几十 Kbps 不等的传输速率, 到现在最新的非对称数字用户线路 ( Asymmetric Digital Subscriber Line, 简称 ADSL )、 光纤、 高速分组接入 ( High. Speed Packet Access, 简称 HSPA )、 WiMAX、 LTE等接入技术提 供几 Mbps甚至更高的传输速率, 基本的分组业务并没有大的变化, 例如: 网页浏览, 电子邮件、 文件下载等。 随着传输速率的增加, 终端用户的业务 体验越来越流畅, 换句话说, 在网络拥塞时随着传输速率的降低, 尽管终端 用户的业务体验会降低, 但只要终端所得到的带宽高于某个门限, 就能够进 行基本的分组业务, 从而也就可以保证基本的业务体验。 From the early access to the network through modems, GPRS and other technologies, the rate that the terminal can reach is about tens of Kbps, and the latest asymmetric digital subscriber line (Asymmetric Digital Subscriber Line, ADSL for short), optical fiber, high-speed packet access (HSPA), WiMAX, LTE and other access technologies provide transmission rates of several Mbps or higher, and basic packet services are not available. Big changes, such as: web browsing, email, file downloading, etc. As the transmission rate increases, the service experience of the end user becomes more and more smooth. In other words, as the transmission rate decreases while the network is congested, although the service experience of the end user is reduced, as long as the bandwidth obtained by the terminal is higher than With a certain threshold, basic packet services can be performed, thus ensuring a basic service experience.
可以理解的是: 终端获得的传输速率越高, 终端用户可以在单位时间内 浏览更多的网页, 或者下载更多的文件, 即终端用户在单位时间内使用的流 量越多; 反之, 则终端用户可以在单位时间内浏览更少的网页, 或者下载更 少的文件, 即终端用户在单位时间内使用的流量越少。 也就是说, 随着数据 流的传输速率的降低, 终端用户在享受业务时插入了更多的 "等待时间", 例 如: 等待网页传输加载完成、 等待文件下载完成等; 在等待原有的业务请求 完成的时候, 终端用户一般较少发起新的业务请求, 即等待时间的延长会使 得终端用户不自觉地降低新业务请求发起的频度, 因此等待时间的存在, 实 际上降低了单位时间内终端用户使用的流量。 这种随着传输速率一定程度的 下降, 终端用户在单位时间内使用的流量减少但用户的业务体验 (即满意度 ) 仍可以基本接受的特点我们称为分组业务带宽需求的 "弹性 "。  It can be understood that: the higher the transmission rate obtained by the terminal, the more the end user can browse more web pages per unit time, or download more files, that is, the more traffic the end user uses in a unit time; otherwise, the terminal Users can browse fewer web pages per unit of time, or download fewer files, ie less traffic that end users use per unit of time. That is to say, as the transmission rate of the data stream decreases, the end user inserts more "waiting time" when enjoying the service, for example: waiting for the webpage transmission to be completed, waiting for the file to be downloaded, etc.; waiting for the original service When the request is completed, the end user generally initiates a new service request less, that is, the extension of the waiting time may cause the terminal user to unconsciously reduce the frequency of the initiation of the new service request, so the existence of the waiting time actually reduces the unit time. Traffic used by end users. As the transmission rate decreases to a certain extent, the traffic used by the end user in a unit time is reduced, but the user's service experience (ie, satisfaction) can still be basically accepted. We call the "elasticity" of the packet service bandwidth requirement.
本发明实施例中, 除了通过流量信用的增加速率这一参数控制数据流能 达到的平均速率上限以外, 根据网络能力等因素, 通过合理设置分级的数据 流的流量信用与数据流的控制信息的对应关系 , 能够使得终端用户的业务等 待时间逐渐延长, 终端用户发起新业务的频度适当降低(相当于用户主动放 弃了一部分业务的发起换取当前正在进行的业务的流畅),最终终端所获得的 带宽能够相对较好的满足终端用户当前正在进行的业务的需求, 从而达到终 端用户的业务体验与所使用的流量之间的动态平衡, 避免了传统的流量控制 方法要么不控制速率或者按照最大速率进行控制, 要么按照很小的速率进行 惩罚性降速(例如: FUP方法) 的不足, 从而在相同的带宽条件下可以为终 端用户提供更好的业务体验。 In the embodiment of the present invention, in addition to controlling the average rate upper limit that the data stream can reach by the parameter of the rate of increase of the traffic credit, according to the network capability and the like, the traffic credit and the data flow control information of the hierarchical data stream are reasonably set. The corresponding relationship can make the service waiting time of the end user gradually prolong, and the frequency of the new user starting the new service is appropriately reduced (equivalent to the user voluntarily giving up the initiation of a part of the service in exchange for the smoothness of the currently ongoing service), and finally obtained by the terminal. The bandwidth can meet the requirements of the ongoing service of the end user relatively well, so as to achieve the dynamic balance between the service experience of the end user and the traffic used, avoiding the traditional flow control method or not controlling the rate or according to the maximum rate. Control, either at a small rate The deficiencies of punitive slowdowns (eg, the FUP approach) provide a better service experience for end users under the same bandwidth conditions.
需要说明的是: 上述传输控制参数在数据流的传输过程中可以是固定不 变的, 还可以是动态变化的。 具体地, 可以通过某些事件触发来动态调整传 输控制参数, 例如: 根据网络负荷的变化, 调整传输控制参数(检测到网络 处于重负荷时, 降低终端的流量信用的增加速率); 根据网络时间段的变化, 调整传输控制参数(检测到网络处于繁忙时段时, 降低终端的流量信用的增 加速率; 检测到网络处于空闲时段时, 增加终端的流量信用的增加速率); 或 者还可以根据终端当前的业务动态调整传输控制参数, 例如: 在检测到终端 点播一首付费歌曲后,为终端的数据流增加 5M Bytes的流量信用以加快终端 下载歌曲; 在检测到终端启动了点对点(Peer-to-Peer, 简称 P2P )下载时, 将流量信用降为 0以避免 P2P下载的流量占用过多带宽。  It should be noted that: the foregoing transmission control parameters may be fixed during the transmission of the data stream, or may be dynamically changed. Specifically, the transmission control parameter may be dynamically adjusted by some event triggering, for example: adjusting the transmission control parameter according to the change of the network load (reducing the rate of increase of the traffic credit of the terminal when the network is under heavy load); The change of the segment, adjusting the transmission control parameter (reducing the rate of increase of the traffic credit of the terminal when the network is in a busy period; increasing the rate of increase of the traffic credit of the terminal when the network is in the idle period); or The service dynamically adjusts the transmission control parameters, for example: After detecting that the terminal clicks on a paid song, it adds 5M Bytes of traffic credit to the terminal's data stream to speed up the terminal downloading the song; and detects that the terminal has started peer-to-peer (Peer-to- Peer, referred to as P2P), when downloading, reduce the traffic credit to 0 to avoid excessive bandwidth consumed by P2P download traffic.
进一步地, 上述传输控制参数可以静态配置在执行速率控制的网元上, 或者还可以通过策略决策实体, 例如: 策略和计费规则功能实体(Policy and Charging Rule Function, 简称 PCRF ), 向执行速率控制的网元下发。  Further, the foregoing transmission control parameter may be statically configured on a network element that performs rate control, or may also be implemented by a policy decision entity, for example, a Policy and Charging Rule Function (PCRF) The controlled network element is delivered.
下面以 EPS网络中的 P-GW为例, 对本发明的技术方案进行详细说明。 图 2为本发明实施例二提供的数据包的传输方法的流程示意图, 如图 2所示, 本实施例的数据包的传输方法可以包括以下步骤:  The technical solution of the present invention will be described in detail below by taking the P-GW in the EPS network as an example. 2 is a schematic flowchart of a method for transmitting a data packet according to Embodiment 2 of the present invention. As shown in FIG. 2, the data packet transmission method in this embodiment may include the following steps:
步骤 201、在终端( User Equipment, 简称 UE )发起的附着流程或 PDN 连接流程中, UE发起缺省承载激活流程, S-GW向 P-GW发送创建会话请 求消息, 用以建立一个 PDN连接;  Step 201: In the attach procedure or the PDN connection process initiated by the user equipment (UE), the UE initiates a default bearer activation process, and the S-GW sends a create session request message to the P-GW to establish a PDN connection.
步骤 202、 P-GW与 PCRF进行交互, 建立 Gx接口会话;  Step 202: The P-GW interacts with the PCRF to establish a Gx interface session.
步骤 203、 PCRF向 P-GW下发会话相关控制参数, 上述会话相关控制 参数包括传输控制参数;  Step 203: The PCRF sends a session-related control parameter to the P-GW, where the session-related control parameter includes a transmission control parameter.
其中, 传输控制参数可以包括但不限于以下参数: 流量信用与控制速率 的对应关系、 初始流量信用、 流量信用的增加速率、 最大流量信用。 具体地, 本实施例中的传输控制参数的具体描述可以参见本发明实施例一中的相关内 容, 此处不再赘述。 The transmission control parameter may include, but is not limited to, the following parameters: a correspondence between the traffic credit and the control rate, an initial traffic credit, an increase rate of the traffic credit, and a maximum traffic credit. specifically, For a detailed description of the transmission control parameters in this embodiment, refer to the related content in the first embodiment of the present invention, and details are not described herein again.
具体地, PCRF 可以根据终端的签约信息、 终端的状态信息、 终端的位 置信息、 网络的状态信息、 时间信息中的至少一项, 同时利用参数控制策略 对传输控制参数进行设置,并向 P-GW下发所设置的传输控制参数。若 PCRF 没有下发传输控制参数, 或者只下发了部分传输控制参数, 则 P-GW可以应 用缺省的传输控制参数, 对数据流的传输速率进行控制。 进一步地, 如果速 率控制施加在该 PDN连接中的部分业务数据流上,则传输控制参数还可以包 括受控制的一个业务数据流或多个业务数据流的特征信息,例如:源 IP地址、 目的 IP地址、协议类型、源端口号、 目的端口号、服务类型(Type of Service, 简称 ToS ) /差分服务代码点 ( Differentiated Services Code Point, 简称 DSCP )等。  Specifically, the PCRF may set the transmission control parameter according to at least one of the subscription information of the terminal, the status information of the terminal, the location information of the terminal, the status information of the network, and the time information, and simultaneously set the transmission control parameter by using the parameter control policy, and The GW delivers the set transmission control parameters. If the PCRF does not send the transmission control parameters, or only part of the transmission control parameters are issued, the P-GW can use the default transmission control parameters to control the transmission rate of the data stream. Further, if the rate control is applied to a part of the service data flow in the PDN connection, the transmission control parameter may further include a controlled service data flow or characteristic information of multiple service data flows, for example: source IP address, destination IP address, protocol type, source port number, destination port number, Type of Service (ToS) / Differentiated Services Code Point (DSCP).
进一步地, 上述传输控制参数的设置还可以进一步根据终端在当前控制 周期的累计使用流量来进行调整。 具体地, 随着当前控制周期的累计使用流 量的增加, 如果 PCRF判断终端有过快消耗流量配额的趋势, 则为终端设置 较小的最大流量信用, 或较少的初始流量信用, 或较低的流量信用的增加速 率, 或相同的流量信用情况下允许较低的控制速率, 其目的是为了帮助终端 更均匀的在控制周期内使用带宽, 避免出现在控制周期结束阶段出现由于累 计使用流量超过流量配额而被惩罚性降速的情况。  Further, the setting of the foregoing transmission control parameter may further be adjusted according to the accumulated usage flow rate of the terminal in the current control period. Specifically, as the accumulated usage traffic of the current control period increases, if the PCRF determines that the terminal has a tendency to consume the traffic quota too fast, the terminal sets a smaller maximum traffic credit, or less initial traffic credit, or lower. The rate of increase of traffic credit, or the same traffic credit allows for a lower control rate, the purpose of which is to help the terminal use the bandwidth more uniformly during the control period, avoiding the occurrence of accumulated traffic during the end of the control period. A situation in which traffic quotas are punitively slowed down.
步骤 204、 P-GW向 S-GW返回创建会话响应消息;  Step 204: The P-GW returns a create session response message to the S-GW.
至此, PDN连接建立完毕。  At this point, the PDN connection is established.
步骤 205、 P-GW通过建立的上述 PDN连接, 接收上述 PDN连接中数 据流的数据包, 并控制数据流的传输速率不超过数据流当前的流量信用对应 的数据流的控制速率。  Step 205: The P-GW receives the data packet of the data stream in the PDN connection by using the established PDN connection, and controls the data stream transmission rate not to exceed the control rate of the data stream corresponding to the current traffic credit of the data stream.
具体地, 当数据包到达 P-GW时, 通过判断数据流当前的传输速率是否 将超过数据流当前的流量信用对应的数据流的控制速率, 如果未超过, 则允 许该数据包通过, 同时从数据流当前的流量信用中消耗该数据包对应的流量 信用, 否则, 则不允许该数据包通过, 不消耗流量信用。 具体地, P-GW可 以釆用令牌桶、漏桶等控制方法,控制上述数据流的传输速率小于或等于(即 不超过)上述数据流的控制速率。 需要说明的是: 使用令牌桶、 漏桶等控制 方法允许短时突发, 即可能出现在 4艮短时间内数据流的传输速率超过数据流 的控制速率的情况, 这在本发明实施例中是允许的。 Specifically, when the data packet arrives at the P-GW, it is determined whether the current transmission rate of the data flow will exceed the control rate of the data flow corresponding to the current traffic credit of the data flow, and if not, The data packet is passed, and the traffic credit corresponding to the data packet is consumed from the current traffic credit of the data stream. Otherwise, the data packet is not allowed to pass, and the traffic credit is not consumed. Specifically, the P-GW may use a control method such as a token bucket or a leaky bucket to control the transmission rate of the data stream to be less than or equal to (ie, not exceed) the control rate of the data stream. It should be noted that: a control method using a token bucket or a leaky bucket allows a short-term burst, that is, a case where the transmission rate of the data stream exceeds the control rate of the data stream in a short period of time, which is in the embodiment of the present invention. Medium is allowed.
特别地, 对超过控制速率而判定为不通过的数据包, P-GW 可以丟弃该 数据包, 或者还可以釆用特殊的 DSCP在数据包的 IP头部进行标记, 当数 据包到达 eNodeB之后, eNodeB可以根据当前的无线资源状况, 只有在有 空闲带宽的情况下才转发这些带特殊 DSCP标记的数据包, 也就是说, 对这 些数据包应用较低的转发优先级。  In particular, the P-GW may discard the data packet that is determined not to pass the control rate, or may also mark the IP header of the data packet with a special DSCP, after the data packet arrives at the eNodeB. The eNodeB can forward these data packets with special DSCP markings only when there is free bandwidth according to the current radio resource status, that is, apply a lower forwarding priority to these data packets.
下面以传输优先级标识的方式详细说明本步骤的另一种实现方式, 当数 据包到达 P-GW 时, P-GW 还可以釆用对数据包标记对应不同优先级的 DSCP 的方法来控制数据流的传输速率。 具体可以为: 根据数据流当前的流 量信用对应的数据流的传输优先级标识, 为数据包标记对应不同优先级的 DSCP, 同时从数据流当前的流量信用中扣减该数据包对应的流量信用。 标 记为低优先级 DSCP的数据包在传输过程中一旦发生拥塞, 将有更大的概率 被丟弃, 丟包产生的上层协议反馈效应将使得数据流的速率降低。  In the following, another implementation manner of this step is described in detail by means of the transmission priority identifier. When the data packet arrives at the P-GW, the P-GW can also control the data by marking the data packet with a DSCP corresponding to different priorities. The transmission rate of the stream. Specifically, it may be: according to the transmission priority identifier of the data stream corresponding to the current traffic credit of the data flow, marking the DSCP corresponding to different priorities for the data packet, and deducting the traffic credit corresponding to the data packet from the current traffic credit of the data flow. . Packets marked as low-priority DSCP will have a greater probability of being dropped if they become congested during transmission. The upper layer protocol feedback effect caused by packet loss will reduce the rate of data stream.
步骤 206、 业务进行完毕, UE发起承载去激活流程, S-GW向 P-GW发 送删除会话请求消息;  Step 206: After the service is completed, the UE initiates a bearer deactivation process, and the S-GW sends a delete session request message to the P-GW.
步骤 207、 P-GW与 PCRF进行交互, 删除上述 Gx接口会话; 可选地, P-GW可以向 PCRF上报当前数据流上下文中剩余的流量信用, 以作为下次向 P-GW下发传输控制参数的参考信息, 例如: 如果终端前一次 发起承载去激活流程时剩余的流量信用较少, 而 UE 又很快再次发起承载激 活流程, 那么, PCRF就可以根据上次 P-GW上报的剩余的流量信用值, 向 P-GW下发较少的初始流量信用, 以避免 UE从反复的激活和去激活中获得 较多的初始流量信用而不当的获益。 Step 207: The P-GW interacts with the PCRF to delete the Gx interface session. Optionally, the P-GW may report the remaining traffic credits in the current data flow context to the PCRF, so as to send the transmission control to the P-GW next time. Reference information of the parameter, for example: If the remaining traffic credit is less when the terminal initiates the bearer deactivation process, and the UE quickly initiates the bearer activation process again, the PCRF can be based on the remaining P-GW reported last time. The traffic credit value is issued to the P-GW with less initial traffic credit to avoid the UE obtaining from repeated activation and deactivation. More initial traffic credits are improperly benefited.
步骤 208、 P-GW向 S-GW返回删除会话响应消息。  Step 208: The P-GW returns a delete session response message to the S-GW.
本实施例中, P-GW通过获取数据包所属数据流的流量信用, 根据数据 流的流量信用与数据流的控制速率 /传输优先级标识的对应关系, 获取与上述 数据流的流量信用对应的数据流的控制速率 /传输优先级标识,使得 P-GW能 够根据数据流的控制速率 /调度权重, 传输上述数据包, 并消耗该数据包对应 的流量信用, 从而实现了对上述数据流的传输速率进行控制, 能够抑制少量 终端占用过多的网络资源,避免了 FUP方法中在控制周期开始阶段由于出现 网络拥塞所导致的业务的无法正常进行, 而在控制周期结束阶段由于出现网 络负荷不足所导致的网络资源浪费, 从而提高了业务成功率和网络资源的利 用率。  In this embodiment, the P-GW obtains the traffic credit of the data flow to which the data packet belongs, and obtains the traffic credit corresponding to the data flow according to the correspondence between the traffic credit of the data flow and the control rate/transmission priority identifier of the data flow. The control rate/transmission priority identifier of the data stream enables the P-GW to transmit the data packet according to the control rate/scheduling weight of the data stream, and consumes the traffic credit corresponding to the data packet, thereby realizing the transmission of the data stream. The rate is controlled, which can prevent a small number of terminals from occupying too many network resources, and avoids the failure of the service in the FUP method due to network congestion at the beginning of the control period, and the network load is insufficient at the end of the control period. The resulting network resources are wasted, thereby improving the service success rate and the utilization of network resources.
下面以 EPS网络中的 eNodeB为例,对本发明的技术方案进行详细说明。 图 3为本发明实施例三提供的数据包的传输方法的流程示意图, 如图 3所示, 本实施例的数据包的传输方法可以包括以下步骤:  The technical solution of the present invention is described in detail below by taking an eNodeB in an EPS network as an example. FIG. 3 is a schematic flowchart of a method for transmitting a data packet according to Embodiment 3 of the present invention. As shown in FIG. 3, the data packet transmission method in this embodiment may include the following steps:
步骤 301、 空闲状态的终端(User Equipment, 简称 UE )通过 eNodeB 向 MME发送服务请求(Service Request ) 消息, 用以请求恢复用户面无线 接入承载 ( Radio Access Bearer, 简称 RAB );  Step 301: A user equipment (UE) in an idle state sends a service request (Service Request) message to the MME through the eNodeB, and is used to request to restore a radio access bearer (RAB).
步骤 302、 MME向 eNodeB发送初始化上下文建立请求( Initial Context Setup Request )消息,上述初始化上下文建立请求消息中包含传输控制参数; 由于 eNodeB在 UE处于空闲状态时不保存 UE上下文, 因此在该实施 例中, eNodeB 通过传输数据包实现速率控制所需要的传输控制参数由其它 网元, 例如: 核心网网元(MME ), 下发。 其中, 传输控制参数可以包括但 不限于以下参数: 流量信用与控制速率的对应关系、 初始流量信用、 流量信 用的增加速率、 最大流量信用。 具体地, 本实施例中的传输控制参数的具体 描述可以参见本发明实施例一中的相关内容, 此处不再赘述。  Step 302: The MME sends an Initial Context Setup Request message to the eNodeB, where the initialization context setup request message includes a transmission control parameter. Because the eNodeB does not save the UE context when the UE is in an idle state, in this embodiment, The transmission control parameters required for the eNodeB to implement rate control by transmitting data packets are delivered by other network elements, such as the core network element (MME). The transmission control parameters may include, but are not limited to, the following parameters: a correspondence between the traffic credit and the control rate, an initial traffic credit, an increase rate of the traffic credit, and a maximum traffic credit. For a specific description of the transmission control parameters in this embodiment, refer to the related content in the first embodiment of the present invention, and details are not described herein again.
类似的, MME可以根据终端的签约信息、 终端的状态信息、 终端的位置 信息、 网络的状态信息、 时间信息、 累计使用流量中的至少一项, 同时利用 参数控制策略对传输控制参数进行设置。 Similarly, the MME may be based on the subscription information of the terminal, the status information of the terminal, and the location of the terminal. At least one of information, network status information, time information, and cumulative usage traffic, and the transmission control parameters are set using a parameter control strategy.
本实施例中,速率控制的数据流的粒度可以包括但不限于以下几种方式: In this embodiment, the granularity of the rate controlled data stream may include, but is not limited to, the following methods:
UE的所有流量聚合; UE的一个 APN; UE的一个 PDN连接的流量聚合; UE的一个 RAB; UE的指定的一个或多个业务数据流的流量聚合, 例如: 对 UE的所有 QCI对应 Non-GBR类型的承载中的业务数据流的流量聚合。 当 对 UE的部分业务数据流进行控制时, MME将要控制的业务数据流的特征信 息,例如:服务质量类别标识(Quality of Service Class Identifier,简称 QCI )、 APN、 EPS承载标识(ID )、 源 IP地址、 目的 IP地址、协议类型、 源端口号、 目的端口号、 服务类型 (Type of Service , 简称 ToS ) /差分服务代码点 ( Differentiated Services Code Point, 简称 DSCP )等, 下发给 eNodeB。 All traffic aggregation of the UE; one APN of the UE; traffic aggregation of one PDN connection of the UE; one RAB of the UE; traffic aggregation of the specified one or more service data flows of the UE, for example: All QCIs for the UE correspond to Non- Traffic aggregation of service data flows in a GBR type bearer. When the part of the service data stream of the UE is controlled, the MME will control the feature data of the service data stream, for example, the Quality of Service Class Identifier (QCI), the APN, the EPS bearer identifier (ID), and the source. The IP address, the destination IP address, the protocol type, the source port number, the destination port number, the service type (Type of Service, ToS), and the Differentiated Services Code Point (DSCP) are sent to the eNodeB.
具体地, 如果本步骤中, MME没有向 eNodeB下发传输控制参数, 或者 只下发了部分控制参数,则 eNodeB可以应用缺省的控制参数进行速率控制。  Specifically, if the MME does not send the transmission control parameter to the eNodeB, or only part of the control parameter is sent, the eNodeB can apply the default control parameter for rate control.
步骤 303、 eNodeB与 UE进行交互, 恢复 UE与 eNodeB之间的 RAB; 步骤 304、 eNodeB向 MME返回初始化上下文建立完成( Initial Context Step 303: The eNodeB interacts with the UE to restore the RAB between the UE and the eNodeB. Step 304: The eNodeB returns an initialization context establishment to the MME (Initial Context)
Setup Complete ) 消息; Setup Complete ) message;
步骤 305、 MME向 S-GW发送修改承载请求( Modify Bearer Request ) 消息, 用以通知建立到 eNodeB的下行 RAB信息;  Step 305: The MME sends a Modify Bearer Request message to the S-GW to notify the establishment of the downlink RAB information to the eNodeB.
步骤 306、 S-GW向 MME返回修改承载响应( Modify Bearer Response ) 消息;  Step 306: The S-GW returns a Modify Bearer Response message to the MME.
至此, UE与网络侧之间的 RAB恢复完毕。  At this point, the RAB between the UE and the network side is restored.
步骤 307、 eNodeB通过建立的上述 RAB,接收上述 RAB中数据流的数 据包, 并控制数据流的传输速率不超过数据流当前的流量信用对应的数据流 的控制速率;  Step 307: The eNodeB receives the data packet of the data stream in the RAB by using the established RAB, and controls that the data stream transmission rate does not exceed the control rate of the data stream corresponding to the current traffic credit of the data stream.
具体的控制方法可以参见本发明实施例一中的相关描述,此处不再赘述。 进一步地, eNodeB对于那些判定为不允许通过的数据包, 不一定要丟弃, 而是可以标记为低优先级, 在优先保证所有终端的在控制速率范围内的数据 包通过以后, 如果仍然有空闲的带宽, 则可以传输这些低优先级的数据包, 以避免由于速率控制而浪费网络资源。 For a specific control method, refer to the related description in Embodiment 1 of the present invention, and details are not described herein again. Further, the eNodeB does not have to discard the data packets that are determined not to be allowed to pass. Rather, it can be marked as low priority. After the packets of all terminals within the control rate range are preferentially guaranteed to pass, if there are still free bandwidth, these low priority packets can be transmitted to avoid the rate control. Waste network resources.
由于无线接入网相比核心网在数据包调度上有更丰富的手段, 所以除了 根据流量信用控制数据流的绝对传输速率以外, 还可以根据流量信用控制数 据流的相对调度权重。 下面以调度权重的方式详细说明本步骤的另一种实现 方式, 也就是说, 本步骤中 eNodeB获取数据流当前的流量信用对应的数据 流的控制速率的方法还可以进一步替换成 eNodeB获取数据流当前的流量信 用对应的数据流的调度权重, 例如: 对两个其它参数(例如: QCI )都相同 的终端的数据流, 缺省 eNodeB釆用 1 : 1 的比例在两个终端的数据流之间 进行调度, 而在引入基于流量信用的速率控制方法后, 根据终端的数据流当 前的流量信用, 可以获取到不同的调度权重, 例如: 对当前流量信用大于或 等于最大流量信用的 50%的终端, 调度权重可以为 6, 对于当前流量信用数 量大于或等于最大流量信用的 10%, 且小于最大流量信用的 50%的终端, 调 度权重可以为 2, 而当前流量信用小于最大流量信用的 10%的终端, 调度权 重可以为 1 , 即上述三种情况下调度权重之比为 6: 2: 1 , 调度权重高的终 端的数据流在同等情况下将得到更高的传输速率。 需要说明的是: 在釆用调 度权重的方法控制数据流的传输速率时, 传输数据流的数据包也会从上述数 据流的流量信用中消耗上述数据包对应的流量信用。  Since the radio access network has a richer means of packet scheduling than the core network, in addition to controlling the absolute transmission rate of the data stream according to the traffic credit, the relative scheduling weight of the data stream can be controlled according to the traffic credit. In the following, another implementation manner of this step is described in detail in the manner of scheduling weights. That is, the method for the eNodeB to obtain the control rate of the data stream corresponding to the current traffic credit of the data stream may be further replaced by the eNodeB to obtain the data stream. The scheduling weight of the data flow corresponding to the current traffic credit, for example: the data flow of the terminal with the same two parameters (for example: QCI), the default eNodeB uses the ratio of 1: 1 in the data flow of the two terminals The scheduling is performed, and after the traffic credit-based rate control method is introduced, different scheduling weights can be obtained according to the current traffic credit of the data stream of the terminal, for example: the current traffic credit is greater than or equal to 50% of the maximum traffic credit. The terminal may have a scheduling weight of 6. For a terminal whose current traffic credit quantity is greater than or equal to 10% of the maximum traffic credit and less than 50% of the maximum traffic credit, the scheduling weight may be 2, and the current traffic credit is less than 10 of the maximum traffic credit. % terminal, the scheduling weight can be 1, that is, the scheduling rights in the above three cases The weight ratio is 6: 2: 1 , and the data stream of the terminal with high scheduling weight will get a higher transmission rate under the same conditions. It should be noted that when the transmission rate of the data stream is controlled by the method of scheduling weights, the data packet of the transmission data stream also consumes the traffic credit corresponding to the data packet from the traffic credit of the data stream.
步骤 308、业务进行完毕, eNodeB监测到一段时间内 UE没有数据流的 传输, 则向 MME发送 UE上下文译放请求消息;  Step 308: After the service is completed, the eNodeB detects that the UE does not transmit the data stream within a period of time, and sends a UE context release request message to the MME.
步骤 309、 MME 向 S-GW 发送修改承载请求消息 (Modify Bearer Request ) 消息, 用以通知释放到 eNdoeB的下行 RAB信息;  Step 309: The MME sends a Modify Bearer Request message to the S-GW to notify the downlink RAB information that is released to the eNdoeB.
步骤 31 CK S-GW向 MME返回修改承载响应( Modify Bearer Response ) 消息;  Step 31: The CK S-GW returns a Modify Bearer Response message to the MME.
步骤 311、 MME向 eNodeB发送 UE上下文译放命令 ( S1 UE Context Release Command ) 消息, 通知释放 UE上下文; Step 311: The MME sends a UE context release command to the eNodeB (S1 UE Context). Release Command) message, the notification releases the UE context;
步骤 312、 eNodeB与 UE进行交互, 译放 UE与网络侧之间的 RAB; 步骤 313、 eNodeB向 MME返回 UE上下文译放完成(S1 UE Context Release Complete ) 消息。  Step 312: The eNodeB interacts with the UE to translate the RAB between the UE and the network side. Step 313: The eNodeB returns a S1 UE Context Release Complete message to the MME.
类似的, eNodeB可以向 MME上报当前数据流上下文中剩余的流量信 用, 以作为下次 UE再次转为连接状态时 MME下发传输控制参数的参考信 息。  Similarly, the eNodeB may report the remaining traffic information in the context of the current data flow to the MME as the reference information for the MME to deliver the transmission control parameter when the UE is switched to the connected state again.
本实施例中, eNodeB 通过获取数据包所属数据流的流量信用, 根据数 据流的流量信用与数据流的控制速率 /调度权重的对应关系, 获取与上述数据 流的流量信用对应的数据流的控制速率 /调度权重,使得 eNodeB能够根据数 据流的控制速率 /调度权重, 传输上述数据包, 并消耗该数据包对应的流量信 用, 从而实现了对上述数据流的传输速率进行控制, 能够抑制少量终端占用 过多的网络资源,避免了 FUP方法中在控制周期开始阶段由于出现网络拥塞 所导致的业务的无法正常进行, 而在控制周期结束阶段由于出现网络负荷不 足所导致的网络资源浪费, 从而提高了业务成功率和网络资源的利用率。  In this embodiment, the eNodeB acquires the traffic credit corresponding to the traffic credit of the data stream according to the traffic credit of the data flow to which the data packet belongs, and according to the correspondence between the traffic credit of the data flow and the control rate/scheduling weight of the data flow. The rate/scheduling weight enables the eNodeB to transmit the data packet according to the control rate/scheduling weight of the data stream, and consumes the traffic credit corresponding to the data packet, thereby implementing the control of the transmission rate of the data stream, and suppressing a small number of terminals. Occupying too much network resources, avoiding the inability of the service due to network congestion at the beginning of the control cycle in the FUP method, and the waste of network resources due to insufficient network load at the end of the control cycle, thereby improving Business success rate and utilization of network resources.
下面将介绍几种上述本发明实施例提供的数据包的传输方法所适用的几 种应用场景:  Several application scenarios applicable to the data packet transmission method provided by the foregoing embodiments of the present invention are described below:
1、 在主机(例如一台 PC或者一台移动终端上)安装一个带宽管理服务 程序, 该服务程序以进程, 或者进程组为单位对上层应用程序的带宽使用情 况进行管理, 例如 Web浏览器进程、 P2P下载进程、 E-Mail客户端进程分 别进行基于流量信用的速率控制,由于 Web浏览进程和 Email流程数据传输 的特点是间歇传输, 即传输一段时间, 再停止传输一段时间, 因此在传输开 始时一般累计了较多的信用 , 可以获得较高的传输速率从而提升这些前台程 序的终端体验,而在后台的 P2P下载程序,由于持续传输信用已经消耗殆尽, 因此速率被控制在较低的水平, 避免了占用前台程序的带宽资源。 同样, 被 判定为不通过的数据包, 不一定要丟弃, 而是可以标记为低优先级, 在优先 保证所有进程的在控制速率范围内的数据包通过以后, 如果仍然有空闲的带 宽, 则可以传输这些低优先级的数据包, 以避免因为流控而浪费网络资源。 1. Install a bandwidth management service program on the host (for example, a PC or a mobile terminal). The service program manages the bandwidth usage of the upper application in units of processes or process groups, such as a web browser process. The P2P download process and the E-Mail client process respectively perform rate control based on traffic credit. Since the data transmission process of the web browsing process and the email process is intermittent transmission, that is, transmission is performed for a period of time, and then the transmission is stopped for a period of time, so the transmission starts. Generally, more credits are accumulated, and a higher transmission rate can be obtained to improve the terminal experience of these foreground programs. In the background P2P download program, since the continuous transmission credit has been exhausted, the rate is controlled to be low. Level, avoiding the bandwidth resources of the foreground program. Similarly, packets that are determined not to pass do not have to be discarded, but can be marked as low priority, given priority. After ensuring that all processes have passed the packets within the control rate range, if there is still free bandwidth, these low priority packets can be transmitted to avoid wasting network resources due to flow control.
2、在 WiFi路由器中对每一个连接的终端进行基于流量信用的速率控制, 避免少数终端由于启动 P2P下载、 视频等程序使得无线局域网出现拥塞。  2. Perform rate-based traffic rate control on each connected terminal in the WiFi router to prevent congestion of the wireless LAN due to a small number of terminals starting P2P download, video, and the like.
3、 在局域网的出口路由器上, 对局域网内每一台主机(对应每一个内网 3. On the egress router of the LAN, for each host in the LAN (corresponding to each intranet)
IP )进行基于流量信用的速率控制, 避免少数终端由于启动 P2P下载、 视频 等程序使得无线局域网出现拥塞。 可以指定对某些 IP地址不启动该控制, 或 者启用更宽松或更严格的控制参数。 IP) Perform rate control based on traffic credits to prevent congestion of wireless LANs due to a small number of terminals starting P2P downloads, videos, and the like. You can specify that this control is not enabled for certain IP addresses, or that more loose or stricter control parameters are enabled.
4、 在汇聚路由器上, 对来自每个 IP子网的数据流(可能对应公司的一 个部门、 一栋建筑、 或者一个住宅小区等)进行基于流量信用的速率控制, 避免由于少数子网内终端过量占用带宽而影响整个网络内其它子网的网络速 度。  4. On the aggregation router, perform traffic rate-based rate control on the data flow from each IP subnet (perhaps corresponding to a department, a building, or a residential cell of the company), avoiding terminals in a few subnets. Excessive bandwidth usage affects the network speed of other subnets throughout the network.
需要说明的是: 对于前述的各方法实施例, 为了简单描述, 故将其都表 述为一系列的动作组合, 但是本领域技术人员应该知悉, 本发明并不受所描 述的动作顺序的限制, 因为依据本发明, 某些步骤可以釆用其他顺序或者同 时进行。 其次, 本领域技术人员也应该知悉, 说明书中所描述的实施例均属 于优选实施例, 所涉及的动作和模块并不一定是本发明所必须的。  It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because in accordance with the present invention, certain steps may be performed in other sequences or concurrently. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没有 详述的部分, 可以参见其他实施例的相关描述。  In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
图 4为本发明实施例四提供的数据包的传输装置的一个结构示意图, 如图 4 is a schematic structural diagram of a data packet transmission apparatus according to Embodiment 4 of the present invention, as shown in FIG.
4所示, 本实施例的数据包的传输装置可以包括流量信用增加模块 41、 流量 信用获取模块 42、 控制信息获取模块 43和传输速率控制模块 44。 其中, 流 量信用增加模块 41根据流量信用的增加速率增加数据流的流量信用 ,流量信 用获取模块 42接收上述数据流的数据包,获取上述数据流的流量信用,控制 信息获取模块 43根据数据流的流量信用与数据流的控制信息的对应关系 ,获 取与流量信用获取模块 42 所获取的上述数据流的流量信用对应的数据流的 控制信息, 传输速率控制模块 44根据控制信息获取模块 43所获取的上述数 据流的控制信息,传输流量信用获取模块 42所接收的上述数据包, 并消耗上 述数据包对应的流量信用。 其中, 上述数据流的控制信息至少可以包括但不 限于以下信息中的一项: 数据流的控制速率、 数据流的调度权重、 传输优先 级标识。 As shown in FIG. 4, the transmission device of the data packet of this embodiment may include a traffic credit adding module 41, a traffic credit acquiring module 42, a control information acquiring module 43, and a transmission rate control module 44. The traffic credit adding module 41 increases the traffic credit of the data stream according to the rate of increase of the traffic credit, and the traffic credit obtaining module 42 receives the data packet of the data stream, and obtains the traffic credit of the data stream, and the control information acquiring module 43 according to the data stream. Corresponding relationship between the traffic credit and the control information of the data flow, and acquiring the data flow corresponding to the traffic credit of the data flow acquired by the traffic credit acquisition module 42 The control information, the transmission rate control module 44 transmits the data packet received by the traffic credit acquisition module 42 according to the control information of the data stream acquired by the control information acquisition module 43, and consumes the traffic credit corresponding to the data packet. The control information of the data stream may include, but is not limited to, one of the following information: a control rate of the data stream, a scheduling weight of the data stream, and a transmission priority identifier.
上述本发明实施例一中方法、 本发明实施例二中 P-GW和本发明实施例 三中 eNodeB的功能均可以由本实施例提供的数据包的传输装置实现。  The functions of the foregoing method in the first embodiment of the present invention, the P-GW in the second embodiment of the present invention, and the eNodeB in the third embodiment of the present invention can be implemented by the data packet transmission apparatus provided in this embodiment.
进一步地,控制信息获取模块 43所获取的上述控制信息为控制速率, 本 实施例中的传输速率控制模块 44 具体可以若上述数据流的传输速率小于或 等于上述数据流的控制速率, 传输速率控制模块 44则允许上述数据包通过, 并从上述数据流的流量信用中扣减上述数据包对应的流量信用, 反之, 传输 速率控制模块 44则不允许上述数据包通过,不从上述数据流的流量信用中扣 减上述数据包对应的流量信用, 从而实现了控制上述数据流的传输速率小于 或等于上述数据流的控制速率。  Further, the control information acquired by the control information acquiring module 43 is a control rate. The transmission rate control module 44 in this embodiment may specifically control the transmission rate of the data stream if the transmission rate of the data stream is less than or equal to the control rate of the data stream. The module 44 allows the above data packet to pass, and deducts the traffic credit corresponding to the data packet from the traffic credit of the data stream. Otherwise, the transmission rate control module 44 does not allow the data packet to pass, and does not flow from the data flow. The credit credit corresponding to the data packet is deducted from the credit, thereby realizing the control rate for controlling the transmission rate of the data stream to be less than or equal to the data flow.
进一步地,控制信息获取模块 43所获取的上述控制信息为调度权重, 本 实施例中的传输速率控制模块 44具体可以用于根据上述数据流的调度权重, 传输上述数据包, 并从上述数据流的流量信用中扣减该数据包对应的流量信 用。  Further, the control information acquired by the control information acquiring module 43 is a scheduling weight. The transmission rate control module 44 in this embodiment may be specifically configured to transmit the data packet according to the scheduling weight of the data stream, and from the data stream. The traffic credit is deducted from the traffic credit corresponding to the data packet.
进一步地,控制信息获取模块 43所获取的上述控制信息为传输优先级标 识, 本实施例中的传输速率控制模块 44具体可以传输上述数据包,在该数据 包中标记上述传输优先级标识, 并从上述数据流的流量信用中扣减该数据包 对应的流量信用  Further, the control information acquired by the control information acquiring module 43 is a transmission priority identifier, and the transmission rate control module 44 in this embodiment may specifically transmit the data packet, and mark the transmission priority identifier in the data packet, and Deducting the traffic credit corresponding to the data packet from the traffic credit of the above data stream
本实施例中,通过流量信用获取模块获取数据包所属数据流的流量信用 , 控制信息获取模块根据数据流的流量信用与数据流的控制信息的对应关系, 获取与上述流量信用获取模块所获取的上述数据流的流量信用对应的数据流 的控制信息, 使得传输速率控制模块能够根据上述控制信息获取模块所获取 的上述数据流的控制信息, 传输上述流量信用获取模块所接收的数据包, 并 消耗该数据包对应的流量信用, 能够抑制少量终端占用过多的网络资源, 同 时避免了 FUP 方法中在控制周期开始阶段由于出现网络拥塞所导致的业务 的无法正常进行, 而在控制周期结束阶段由于出现网络负荷不足所导致的网 络资源浪费, 从而提高了业务成功率和网络资源的利用率。 In this embodiment, the traffic credit acquisition module acquires the traffic credit of the data flow to which the data packet belongs, and the control information acquisition module acquires the obtained relationship with the traffic credit acquisition module according to the correspondence between the traffic credit of the data flow and the control information of the data flow. Control information of the data flow corresponding to the traffic credit of the data stream, so that the transmission rate control module can obtain the data according to the control information acquiring module The control information of the data stream is transmitted, and the data packet received by the traffic credit obtaining module is transmitted, and the traffic credit corresponding to the data packet is consumed, which can suppress a small number of terminals from occupying excessive network resources, and avoid the control period in the FUP method. In the initial stage, the service caused by network congestion cannot be performed normally, and the network resources are wasted due to insufficient network load at the end of the control period, thereby improving the service success rate and the utilization of network resources.
进一步地,如图 5所示, 本实施例的数据包的传输装置还可以进一步包括 控制参数获取模块 51 , 用于获取传输控制参数, 上述传输控制参数可以包括 但不限于以下参数: 流量信用与控制速率的对应关系和流量信用的增加速率。 进一步地, 上述传输控制参数还可以包括最大流量信用和 /或初始流量信用。 进一步地, 上述传输控制参数还可以包括至少一个业务数据流的特征信息。  Further, as shown in FIG. 5, the data packet transmission apparatus of this embodiment may further include a control parameter obtaining module 51, configured to acquire transmission control parameters, where the foregoing transmission control parameters may include but are not limited to the following parameters: Control the correspondence of rates and the rate of increase of traffic credits. Further, the above transmission control parameters may further include a maximum traffic credit and/or an initial traffic credit. Further, the foregoing transmission control parameter may further include feature information of at least one service data flow.
具体地,控制参数获取模块 51具体可以从参数下发网元(例如: PCRF、 MME等网元)获取传输控制参数。 进一步地, 传输速率控制模块 44还可以 在传输完上述数据包之后, 向上述参数下发网元上报数据流的流量信用, 以 供该参数下发网元设置新的传输控制参数。  Specifically, the control parameter obtaining module 51 may obtain the transmission control parameter from the network element (for example, a network element such as a PCRF or an MME). Further, the transmission rate control module 44 may also send the traffic credit of the data stream to the network element after the data packet is transmitted, so that the parameter sending network element sets a new transmission control parameter.
可以理解的是: 在实际实施控制时, 小于某特定速率, 与小于或等于某 特定速率, 在控制效果上是基本等效的, 本发明中不严格区分术语 "小于" 与 "小于或等于", 以及 "大于" 与 "大于或等于" 的区别  It can be understood that: when the control is actually implemented, less than a certain rate, and less than or equal to a certain rate, is basically equivalent in control effect, and the terms "less than" and "less than or equal to" are not strictly distinguished in the present invention. , and the difference between "greater than" and "greater than or equal to"
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: ROM、 RAM,磁碟或者光盘等各种可以存^^呈序代码的介质。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing storage device includes the following steps: The foregoing storage medium includes: a ROM, a RAM, a magnetic disk, or an optical disk, and the like, which can store various sequential codes.
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的精神和范围。  It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权 利 要求 Rights request
1、 一种数据包的传输方法, 其特征在于, 包括:  A method for transmitting a data packet, comprising:
接收数据包, 获取所述数据包所属数据流的流量信用, 所述数据流的流 量信用是根据流量信用的增加速率增加的;  Receiving a data packet, obtaining a traffic credit of the data flow to which the data packet belongs, and the traffic credit of the data flow is increased according to an increase rate of the traffic credit;
根据数据流的流量信用与数据流的控制信息的对应关系, 获取与所述数 据流的流量信用对应的数据流的控制信息;  Obtaining control information of the data flow corresponding to the traffic credit of the data flow according to the correspondence between the traffic credit of the data stream and the control information of the data flow;
根据所述数据流的控制信息, 传输所述数据包, 并消耗所述数据包对应 的流量信用。  And transmitting, according to the control information of the data stream, the data packet, and consuming the traffic credit corresponding to the data packet.
2、根据权利要求 1所述的方法,其特征在于,所述控制信息为控制速率, 所述根据所述数据流的控制信息, 传输所述数据包, 并消耗所述数据包对应 的流量信用包括:  The method according to claim 1, wherein the control information is a control rate, and the data packet is transmitted according to control information of the data stream, and the traffic credit corresponding to the data packet is consumed. Includes:
若所述数据流的传输速率小于或等于所述数据流的控制速率, 允许所述 数据包通过,并从所述数据流的流量信用中扣减所述数据包对应的流量信用 , 反之, 不允许所述数据包通过, 不从所述数据流的流量信用中扣减所述数据 包对应的流量信用。  If the transmission rate of the data stream is less than or equal to the control rate of the data stream, allowing the data packet to pass, and deducting the traffic credit corresponding to the data packet from the traffic credit of the data flow, and vice versa The data packet is allowed to pass, and the traffic credit corresponding to the data packet is not deducted from the traffic credit of the data flow.
3、根据权利要求 1所述的方法,其特征在于,所述控制信息为调度权重, 所述根据所述数据流的控制信息, 传输所述数据包, 并消耗所述数据包对应 的流量信用包括:  The method according to claim 1, wherein the control information is a scheduling weight, and the data packet is transmitted according to control information of the data stream, and the traffic credit corresponding to the data packet is consumed. Includes:
根据所述数据流的调度权重, 传输所述数据包, 并从所述数据流的流量 信用中扣减所述数据包对应的流量信用。  And transmitting, according to the scheduling weight of the data stream, the data packet, and deducting the traffic credit corresponding to the data packet from the traffic credit of the data flow.
4、 根据权利要求 1所述的方法, 其特征在于, 所述控制信息为传输优先 级标识, 所述根据所述数据流的控制信息, 传输所述数据包, 并消耗所述数 据包对应的流量信用包括:  The method according to claim 1, wherein the control information is a transmission priority identifier, and the data packet is transmitted according to control information of the data stream, and the data packet is consumed. Traffic credits include:
传输所述数据包, 在所述数据包中标记所述传输优先级标识, 并从所述 数据流的流量信用中扣减所述数据包对应的流量信用。  Transmitting the data packet, marking the transmission priority identifier in the data packet, and deducting the traffic credit corresponding to the data packet from the traffic credit of the data flow.
5、 根据权利要求 4所述的方法, 其特征在于, 所述方法还包括: 当发生拥塞时, 根据所述数据包中的所述传输优先级标识, 丟弃对应较 低优先级的传输优先级标识所属的数据包。 The method according to claim 4, wherein the method further comprises: When congestion occurs, the data packet corresponding to the lower priority transmission priority identifier is discarded according to the transmission priority identifier in the data packet.
6、根据权利要求 1至 5任一权利要求所述的方法, 其特征在于, 所述方 法还包括:  The method according to any one of claims 1 to 5, wherein the method further comprises:
获取传输控制参数, 所述传输控制参数包括流量信用与控制信息的对应 关系和流量信用的增加速率。  Obtaining a transmission control parameter, where the transmission control parameter includes a correspondence between the traffic credit and the control information and an increase rate of the traffic credit.
7、 根据权利要求 6所述的方法, 其特征在于, 所述传输控制参数还包括 最大流量信用和 /或初始流量信用和 /或至少一个业务数据流的特征信息,所述 方法还包括:  The method according to claim 6, wherein the transmission control parameter further comprises: a maximum traffic credit and/or an initial traffic credit and/or characteristic information of the at least one service data flow, the method further comprising:
为所述数据流设置初始流量信用, 所述数据流的流量信用是根据流量信 用的增加速率从所述初始流量信用开始增加的; 和 /或  And setting an initial traffic credit for the data flow, the traffic credit of the data flow is increased from the initial traffic credit according to an increase rate of the traffic credit; and/or
以所述最大流量信用作为所述数据流的流量信用增加的上限值; 和 /或 根据所述至少一个业务数据流的特征信息, 识别出对应的业务数据流, 以使接收所述业务数据流的数据包。  Using the maximum traffic credit as an upper limit value of the traffic credit increase of the data flow; and/or identifying a corresponding service data flow according to the feature information of the at least one service data flow, so that the service data is received Streaming packets.
8、 根据权利要求 6所述的方法, 其特征在于, 所述获取传输控制参数包 括: 从参数下发网元获取传输控制参数, 所述从参数下发网元获取传输控制 参数之前还包括:  The method of claim 6, wherein the obtaining the transmission control parameter comprises: obtaining a transmission control parameter from the parameter sending network element, and the obtaining, before the obtaining the transmission control parameter by the parameter sending network element, the method further comprises:
所述参数下发网元根据终端的签约信息、 终端的状态信息、 终端的位置 信息、 网络的状态信息、 时间信息、 累计使用流量中的至少一项, 设置所述 获取传输控制参数。  The parameter sending network element sets the acquiring transmission control parameter according to at least one of the subscription information of the terminal, the status information of the terminal, the location information of the terminal, the status information of the network, the time information, and the accumulated usage flow.
9、 根据权利要求 8所述的方法, 其特征在于, 所述根据所述数据流的控 制信息, 传输所述数据包, 并消耗所述数据包对应的流量信用之后还包括: 向所述参数下发网元上报数据流的流量信用, 以供所述参数下发网元设 置新的传输控制参数。  The method according to claim 8, wherein the transmitting, according to the control information of the data stream, the data packet, and consuming the traffic credit corresponding to the data packet, further comprising: The network element sends the traffic credit of the data flow, so that the parameter sends the network element to set a new transmission control parameter.
10、 一种数据包的传输装置, 其特征在于, 包括:  10. A data packet transmission apparatus, comprising:
流量信用增加模块, 用于根据流量信用的增加速率增加数据流的流量信 用; a traffic credit increase module, configured to increase a traffic flow of the data flow according to an increase rate of the traffic credit use;
流量信用获取模块, 用于接收所述数据流的数据包, 获取所述数据流的 流量信用;  a traffic credit obtaining module, configured to receive a data packet of the data stream, and obtain a traffic credit of the data stream;
控制信息获取模块, 用于根据数据流的流量信用与数据流的控制信息的 对应关系, 获取与所述数据流的流量信用对应的数据流的控制信息;  a control information obtaining module, configured to acquire, according to a correspondence between the traffic credit of the data stream and the control information of the data flow, control information of the data flow corresponding to the traffic credit of the data flow;
传输速率控制模块, 用于根据所述数据流的控制信息, 传输所述数据包, 并消耗所述数据包对应的流量信用。  And a transmission rate control module, configured to: according to the control information of the data stream, transmit the data packet, and consume a traffic credit corresponding to the data packet.
11、根据权利要求 10所述的装置, 其特征在于, 所述控制信息为控制速 率, 所述传输速率控制模块具体用于  The device according to claim 10, wherein the control information is a control rate, and the transmission rate control module is specifically configured to:
若所述数据流的传输速率小于或等于所述数据流的控制速率, 允许所述 数据包通过,并从所述数据流的流量信用中扣减所述数据包对应的流量信用 , 反之, 不允许所述数据包通过, 不从所述数据流的流量信用中扣减所述数据 包对应的流量信用。  If the transmission rate of the data stream is less than or equal to the control rate of the data stream, allowing the data packet to pass, and deducting the traffic credit corresponding to the data packet from the traffic credit of the data flow, and vice versa The data packet is allowed to pass, and the traffic credit corresponding to the data packet is not deducted from the traffic credit of the data flow.
12、 根据权利要求 10 所述的装置, 其特征在于, 所述控制信息为调度 权重, 所述传输速率控制模块具体用于  The device according to claim 10, wherein the control information is a scheduling weight, and the transmission rate control module is specifically configured to:
根据所述数据流的调度权重, 传输所述数据包, 并从所述数据流的流量 信用中扣减所述数据包对应的流量信用。  And transmitting, according to the scheduling weight of the data stream, the data packet, and deducting the traffic credit corresponding to the data packet from the traffic credit of the data flow.
13、 根据权利要求 10 所述的装置, 其特征在于, 所述控制信息为传输 优先级标识, 所述传输速率控制模块具体用于  The device according to claim 10, wherein the control information is a transmission priority identifier, and the transmission rate control module is specifically configured to:
传输所述数据包, 在所述数据包中标记所述传输优先级标识, 并从所述 数据流的流量信用中扣减所述数据包对应的流量信用。  Transmitting the data packet, marking the transmission priority identifier in the data packet, and deducting the traffic credit corresponding to the data packet from the traffic credit of the data flow.
14、 根据权利要求 10至 13任一权利要求所述的装置, 其特征在于, 所 述装置还包括:  The device according to any one of claims 10 to 13, wherein the device further comprises:
控制参数获取模块, 用于获取传输控制参数, 所述传输控制参数包括流 量信用与控制信息的对应关系和流量信用的增加速率。  And a control parameter obtaining module, configured to acquire a transmission control parameter, where the transmission control parameter includes a correspondence between the traffic credit and the control information and an increase rate of the traffic credit.
15、 根据权利要求 14 所述的装置, 其特征在于, 所述控制参数获取模 块具体用于从参数下发网元获取传输控制参数, 所述传输速率控制模块还用 15. The apparatus according to claim 14, wherein the control parameter acquisition mode The block is specifically configured to obtain a transmission control parameter from a parameter sending network element, where the transmission rate control module further uses
PCT/CN2010/078567 2010-11-09 2010-11-09 Method and apparatus for transmitting data packets WO2012061980A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201080003292.4A CN102656848B (en) 2010-11-09 2010-11-09 Method and apparatus for transmitting data packets
PCT/CN2010/078567 WO2012061980A1 (en) 2010-11-09 2010-11-09 Method and apparatus for transmitting data packets

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2010/078567 WO2012061980A1 (en) 2010-11-09 2010-11-09 Method and apparatus for transmitting data packets

Publications (1)

Publication Number Publication Date
WO2012061980A1 true WO2012061980A1 (en) 2012-05-18

Family

ID=46050308

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/078567 WO2012061980A1 (en) 2010-11-09 2010-11-09 Method and apparatus for transmitting data packets

Country Status (2)

Country Link
CN (1) CN102656848B (en)
WO (1) WO2012061980A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430705A (en) * 2015-11-28 2016-03-23 广东欧珀移动通信有限公司 Network switching method and device and communication terminal
CN114916017A (en) * 2022-07-18 2022-08-16 荣耀终端有限公司 Data transmission method, electronic equipment and readable storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110677623B (en) * 2019-10-15 2021-09-10 北京百度网讯科技有限公司 Data processing method, device, equipment and storage medium
WO2021134621A1 (en) * 2019-12-31 2021-07-08 华为技术有限公司 Message scheduling method and apparatus
CN113839884B (en) * 2020-06-24 2023-08-22 华为技术有限公司 Flow control method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5737535A (en) * 1995-06-07 1998-04-07 Emc Corporation Flow control circuit for networked communications system including arrangement for reducing overhead at the beginning of a communications session by enabling message transmission before receiving flow control information
CN101286942A (en) * 2007-01-10 2008-10-15 国际商业机器公司 Transmitter, receiver and method for managing infinite band breadth communication link
CN101471866A (en) * 2007-12-28 2009-07-01 普天信息技术研究院有限公司 Flow control method of radio communication system
CN101689171A (en) * 2007-07-06 2010-03-31 惠普开发有限公司 End-to-end current control in the network
CN101828177A (en) * 2007-09-19 2010-09-08 Ati技术无限责任公司 Multipriority communication in the difference serial communication link

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100544266C (en) * 2007-09-18 2009-09-23 中兴通讯股份有限公司 A kind of service implementation method of equal user tactics
CN101729373B (en) * 2008-10-29 2012-10-17 阿尔卡特朗讯 Method and device for dispatching multipriority traffic
CN101431420B (en) * 2008-11-25 2011-07-13 中兴通讯股份有限公司 Policy and charging control method and system
CN101754161B (en) * 2008-12-18 2013-03-27 中兴通讯股份有限公司 Method for realizing policy and charging control
CN101635678A (en) * 2009-06-15 2010-01-27 中兴通讯股份有限公司 Method and system for controlling P2P terminal flow

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5737535A (en) * 1995-06-07 1998-04-07 Emc Corporation Flow control circuit for networked communications system including arrangement for reducing overhead at the beginning of a communications session by enabling message transmission before receiving flow control information
CN101286942A (en) * 2007-01-10 2008-10-15 国际商业机器公司 Transmitter, receiver and method for managing infinite band breadth communication link
CN101689171A (en) * 2007-07-06 2010-03-31 惠普开发有限公司 End-to-end current control in the network
CN101828177A (en) * 2007-09-19 2010-09-08 Ati技术无限责任公司 Multipriority communication in the difference serial communication link
CN101471866A (en) * 2007-12-28 2009-07-01 普天信息技术研究院有限公司 Flow control method of radio communication system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430705A (en) * 2015-11-28 2016-03-23 广东欧珀移动通信有限公司 Network switching method and device and communication terminal
CN105430705B (en) * 2015-11-28 2018-03-27 广东欧珀移动通信有限公司 A kind of method for switching network, device and communication terminal
CN114916017A (en) * 2022-07-18 2022-08-16 荣耀终端有限公司 Data transmission method, electronic equipment and readable storage medium
CN114916017B (en) * 2022-07-18 2022-10-04 荣耀终端有限公司 Data transmission method, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN102656848B (en) 2015-05-13
CN102656848A (en) 2012-09-05

Similar Documents

Publication Publication Date Title
US10623928B2 (en) Terminal node, method, storage medium for video data transmission
KR102101206B1 (en) Method and apparatus for managing congestion in a wireless communication system
JP5841269B2 (en) Method, device and system for controlling quality of service
EP2824963B1 (en) Method and device for controlling radio access network traffic in radio communication system
US9432874B2 (en) Service-aware profiling for transport networks
WO2015070646A1 (en) Network resource control method and device
KR102023582B1 (en) Method and apparatus of chunk-based scheduling in a wireless communication system
WO2011110000A1 (en) Method and apparatus for reporting radio bearer loss message
WO2013117126A1 (en) Method, system and device for service rate control
US20170346743A9 (en) Method and apparatus for controlling traffic of radio access network in a wireless communication system
WO2011110021A1 (en) Policy control method, system and policy controller
WO2012061980A1 (en) Method and apparatus for transmitting data packets
WO2012175117A1 (en) Managing communications within a wireless communications network
WO2011095025A1 (en) Policy control method and system for local access of mobile user
WO2013159617A1 (en) Method, system and control network element for network congestion
CN103856988B (en) A kind of guarantee LTE QoS method, router and system
WO2014176987A1 (en) Policy control method and network element
WO2018006249A1 (en) Qos control method in 5g communication system and related device
CN113630778B (en) Dynamic control method and terminal for QoS (quality of service) flow
EP2847948A1 (en) Dynamic profiling for transport networks
WO2013188107A1 (en) Systems and methods for cooperative applications in communication systems
CN101932003A (en) Method and equipment for processing congestion control
Guo et al. Quality of service control
Baillargeon et al. ConEx lite for mobile networks
WO2014205744A1 (en) Mvno resource control method and device

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201080003292.4

Country of ref document: CN

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

Ref document number: 10859449

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

Country of ref document: EP

Kind code of ref document: A1