WO2014075359A1 - Bandwidth adjustment method, device and system - Google Patents

Bandwidth adjustment method, device and system Download PDF

Info

Publication number
WO2014075359A1
WO2014075359A1 PCT/CN2012/085594 CN2012085594W WO2014075359A1 WO 2014075359 A1 WO2014075359 A1 WO 2014075359A1 CN 2012085594 W CN2012085594 W CN 2012085594W WO 2014075359 A1 WO2014075359 A1 WO 2014075359A1
Authority
WO
WIPO (PCT)
Prior art keywords
bandwidth
current
service
user
parameter
Prior art date
Application number
PCT/CN2012/085594
Other languages
French (fr)
Chinese (zh)
Inventor
秦宇津
朱新林
沈文学
王宏舟
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2014075359A1 publication Critical patent/WO2014075359A1/en

Links

Classifications

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

Definitions

  • the present invention relates to the field of communications, and in particular, to a bandwidth adjustment method, device, and system. Background technique
  • WIFI Wireless Fidelity
  • WLAN wireless local area network
  • AP access point
  • GRR Guaranteed Bit Rate
  • MRR Maximum Bit Rate
  • the access control node controls the same Service Set Identifier (SSID) or all users of the same AP use the same bandwidth.
  • the bandwidth information is stored in the authentication, authorization, and accounting.
  • Authorization, Accounting, AAA Authorization, Accounting, AAA Server
  • the AAA server delivers the same QoS guarantee to all users of the same SSID or AP through the access accept message (for example: Access -Accpet) when the user signs the right.
  • the embodiment of the invention provides a bandwidth adjustment method, device and system, which can be implemented differently Bandwidth restrictions and QoS guarantees for users and different services.
  • a first aspect of the present invention provides a bandwidth adjustment method, including:
  • the bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
  • a second aspect of the present invention provides a bandwidth adjustment method, including: identifying a service type of a current service; adjusting a bandwidth currently used by the current service according to a service type of the current service, to ensure a QoS of the current service;
  • the bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
  • a third aspect of the present invention provides an access device, including: a first receiving unit and a first adjusting unit, where:
  • the first receiving unit is configured to receive service type information of a current service sent by the gateway device, where the current service is a service of the current user;
  • the first adjusting unit is configured to adjust, according to the service type information, a bandwidth currently used by the current service, to ensure QoS of the current service;
  • the bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
  • a fourth aspect of the present invention provides a gateway device, including: an identification unit, a first adjustment unit, and a first sending unit, where:
  • the identifying unit is configured to identify a service type of a current service
  • a first adjusting unit configured to adjust, according to the service type of the current service, a bandwidth currently used by the current service, to ensure QoS of the current service
  • a first sending unit configured to send, to the access control node, service type information of the current service, so that the access control node adjusts, according to the service type information, a current used band of the current service Width to guarantee the QoS of the current service;
  • the bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
  • a fifth aspect of the present invention provides a system for adjusting bandwidth, including: an access device and a gateway device, where:
  • the access device is configured to receive service type information of a current service sent by the gateway device, and adjust a bandwidth currently used by the current service according to the service type information, to ensure QoS of the current service;
  • the gateway device is configured to identify a service type of the current service, adjust a bandwidth currently used by the current service according to the service type of the current service, to ensure QoS of the current service, and send the QoS to the access control node. Describe the service type information of the current service;
  • the bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
  • the service type information of the current service sent by the gateway device is received; the bandwidth currently used by the current service is adjusted according to the service type information, to ensure the QoS of the current service; wherein, the current service is currently
  • the bandwidth used is the bandwidth indicated by the bandwidth parameter configured by the current user according to the obtained bandwidth parameter of the current user; the current user is a user who uses the current service.
  • FIG. 1 is a schematic flowchart of a bandwidth adjustment method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another bandwidth adjustment method according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of another bandwidth adjustment method according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of another bandwidth adjustment method according to an embodiment of the present disclosure
  • FIG. 6 is a schematic flowchart of another bandwidth adjustment method according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of an access device according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of another access device according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of another access device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a gateway device according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of another gateway device according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of another gateway device according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of a system for adjusting bandwidth according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of another access device according to an embodiment of the present disclosure.
  • FIG. 15 is a schematic structural diagram of another access device according to an embodiment of the present disclosure.
  • FIG. 16 is a schematic structural diagram of another access device according to an embodiment of the present disclosure.
  • FIG. 17 is a schematic structural diagram of a gateway device according to an embodiment of the present disclosure.
  • FIG. 18 is a schematic structural diagram of another gateway device according to an embodiment of the present disclosure.
  • FIG. 19 is a schematic structural diagram of another gateway device according to an embodiment of the present disclosure.
  • FIG. 20 is a schematic structural diagram of another system for adjusting bandwidth according to an embodiment of the present invention. detailed description
  • FIG. 1 is a schematic flowchart of a bandwidth adjustment method according to an embodiment of the present invention. As shown in FIG. 1, the method includes:
  • the bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
  • the current user may be configured with the bandwidth indicated by the bandwidth parameter, the current user.
  • the current bandwidth of the current service is used according to the current service type to ensure the QoS of the current service. In this way, different bandwidths can be configured for different users, and at the same time, different bandwidths can be configured according to services of different service types.
  • the AC or the AP device can implement the foregoing method, and the AC can also send the adjusted bandwidth information to the AP, and the AP completes the adjustment of the current service bandwidth.
  • the service type information of the current service sent by the gateway device is received; the bandwidth currently used by the current service is adjusted according to the service type information, to ensure the QoS of the current service; wherein, the current service is currently
  • the bandwidth used is the bandwidth indicated by the bandwidth parameter configured by the current user according to the acquired bandwidth parameter of the current user.
  • different bandwidths can be configured for different users, and the bandwidth can be adjusted according to the service type currently used by the user to ensure the QoS of the current service.
  • This enables bandwidth throttling and QoS guarantees for different users and different services.
  • 2 is a schematic flowchart of another bandwidth adjustment method according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
  • step 201 may include:
  • the server may be an AAA server
  • the foregoing message may be an access response message (for example, an Access-Response message) in a Radius (a protocol name in the communication field, no specific Chinese meaning) protocol, that is, in the The access response message extends the bandwidth parameters of the current user.
  • an access response message for example, an Access-Response message
  • a Radius a protocol name in the communication field, no specific Chinese meaning
  • the bandwidth parameter may include:
  • MRR-UL Maximum Bit Rate For Uplink
  • MRR-DL Maximum Bit Rate For Downlink
  • GRR-UL Guaranteed Bit Rate For Uplink
  • GRR-DL Guaranteed Bit Rate For Downlink
  • the bandwidth indicated by the bandwidth parameter may include:
  • the uplink bandwidth indicated by the MBR-UL, and the downlink bandwidth indicated by the MBR-DL When the network resource status does not reach the preset threshold, the uplink bandwidth indicated by the MBR-UL, and the downlink bandwidth indicated by the MBR-DL; or The uplink bandwidth indicated by the GBR-UL and the downlink bandwidth indicated by the GBR-DL when the network resource state reaches a preset threshold.
  • the foregoing network resource status may be a network resource usage rate, where the preset value is 80%, and when the network resource status is less than 80%, the bandwidth indicated by the bandwidth parameter may include: the MBR. - Upstream bandwidth indicated by UL, downlink bandwidth indicated by the MBR-DL. When the network resource status is greater than 80%, the bandwidth indicated by the bandwidth parameter may include: an uplink bandwidth indicated by the GBR-UL, and a downlink bandwidth indicated by the GBR-DL.
  • the foregoing bandwidth parameter may be defined by using a Radius protocol in the form of a type, a length, and a value (for example, a type of character, a length of 8, and a value of abcdefgh).
  • a Radius protocol in the form of a type, a length, and a value (for example, a type of character, a length of 8, and a value of abcdefgh).
  • Four bytes are defined, where 1 byte is a type value, the other 1 byte is a length value, and the other 2 bytes are bandwidth values.
  • step 202 may further include:
  • the uplink bandwidth indicated by the MBR-UL, the downlink bandwidth indicated by the MBR-DL, or the network resource status is configured for the current user according to the obtained bandwidth parameter.
  • the preset threshold is reached, the uplink bandwidth indicated by the GBR-UL and the downlink bandwidth indicated by the GBR-DL are configured for the current user according to the obtained bandwidth parameter.
  • the bandwidth configured for the user includes: the bandwidth configured by the access node (eg, AP or AC) for the user and the bandwidth configured by the gateway device for the user.
  • the bandwidth configured by the access node eg, AP or AC
  • the bandwidth configured by the gateway device for the user can be the same. That is, when the user and the access node perform service transmission, the bandwidth configured by the access node for the user is used, and when the user transmits the service with the gateway device, the bandwidth configured by the gateway device for the user is used.
  • the using the bandwidth when the gateway device performs service transmission with the current user may include:
  • the gateway device configures, according to the obtained bandwidth parameter, a bandwidth indicated by the bandwidth parameter for the current user.
  • step 203 may include: Sending a report request message carrying the bandwidth parameter to the gateway device; or sending a report request message carrying the bandwidth parameter to the gateway device by using a server.
  • the above server may be an AAA server.
  • the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
  • step 204 may include:
  • the IP packet header sent by the gateway device carries an IP packet with a service type identifier, where the service type identifier is used to identify a service type of the current service.
  • the IP packet header may be in the Differentiated Service Code Point (DSCP) field to indicate the service type identifier;
  • DSCP Differentiated Service Code Point
  • the IP packet header may be in the Traffic Class (field name in the IPv6 packet header, no specific Chinese meaning) field to indicate the service type identifier.
  • the IP packet carrying the service type identifier carries the current network status information, for example, whether the current network is congested.
  • the service type identifier and the network status information may be carried by the IP packet header, and the service type identifier and the network status information may also be represented by the same field of the IP packet header.
  • the DSCP field and the Traffic Class field indicate that the DSCP field and the Traffic Class field are both composed of 8 bytes, so that the DSCP field and the Traffic Class field can be used to represent the service type identifier.
  • the other 2 bytes represent the current network status information.
  • the current service type and the current network status may be used to adjust the current bandwidth used by the current service.
  • the foregoing service identifier and the current network status may be identified by numbers or letters, but the numbers and letters may be pre-negotiated between the device and the gateway device in this embodiment, for example, the identifier is used to identify The service type 1, the 222 identifier is used to identify the service type 2, the letter A identifier is used to identify the current network state congestion, and the letter B identifier is used to identify that the current network state is not congested.
  • the correspondence between the service type and the bandwidth required for the QoS of the service is obtained, that is, the QoS required to satisfy the service of each service type is obtained in advance.
  • Bandwidth information For example, the bandwidth that satisfies the QoS of the service type 1 is 1M, and the bandwidth that satisfies the QoS of the service type 2 is 2M or the like.
  • the bandwidth currently used by the current service may be adjusted according to the service type information to ensure the QoS of the current service.
  • the service type of the current service is service type 1
  • step 205 can adjust the current bandwidth used by the current service to 1M.
  • the device that performs the steps of the embodiment analyzes the service type information, and analyzes and obtains the service that satisfies each service type. Information about the bandwidth required for QoS.
  • FIG. 3 is a schematic flowchart of another bandwidth adjustment method according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
  • the bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
  • the foregoing implementation manner of the bandwidth indicated by the bandwidth parameter configured by the current user may refer to the second embodiment.
  • the gateway device sends the location information of the current user and the user information of the current user to the gateway device, so that the gateway device adjusts, according to the location information, a network resource that is currently used by the current user as a current location.
  • the matched bandwidth, the current location being the location indicated by the location information.
  • the location information of the current user may include at least one of the following: SSID, Access Point Identifier (APID), area identifier (for example: Domain ID), and Calling-Domain ID (calling-Domain ID);
  • the foregoing location information may be sent by using a number.
  • the number may be pre-negotiated by the device implementing the embodiment and the gateway device.
  • step 303 may include:
  • the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
  • the method further includes:
  • the information sent by the step 303 may be sent to the gateway device together with the foregoing bandwidth parameter, for example, the report request message (for example, an Accounting Request message) in the Radius protocol carries the user location information, the user information, and the bandwidth parameter to the gateway. device.
  • the report request message for example, an Accounting Request message
  • the Radius protocol carries the user location information, the user information, and the bandwidth parameter to the gateway. device.
  • the bandwidth matched by the network resource of the current location may be the bandwidth of the network resource suitable for the current location. If the network resources of the current location are relatively rich, the bandwidth of the network resources at the location is relatively large. When the network resources of the current location are relatively small, the bandwidth of the network resources at the location is relatively small.
  • the bandwidth matched by the network resource of the current location may also be the bandwidth of the network resource user using the current location, that is, the bandwidth of the network resource of the current location when the number of network resource users using the current location is large (for example, the downtown area). Small, when the number of users using the current location network resources is small (for example, a suburb), the network resources of the current location match the bandwidth.
  • step 303, step 304, step 305 and step 301, step The step 302 is not limited.
  • Step 303, step 304 and step 305 may be performed after step 301 and step 302, or may be performed before step 301 and step 302.
  • the bandwidth currently used by the current user in the step 303, the step 304, and the step 305 is the bandwidth currently used by the current service adjusted in step 302; 303.
  • Step 304 and step 305 are performed before step 301 and step 302.
  • the current bandwidth used by the current user in step 303, step 304, and step 305 is configured according to the obtained bandwidth parameter of the current user in advance.
  • the bandwidth indicated by the bandwidth parameter, and the bandwidth currently used by the current service in step 302 is the bandwidth currently used by the current user adjusted in step 305.
  • FIG. 4 is a schematic flowchart of another bandwidth adjustment method according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
  • the bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
  • the bandwidth indicated by the bandwidth parameter may be configured in advance for the current user.
  • the current service currently uses the bandwidth according to the current service type to ensure the QoS of the current service. This allows different users to be configured with different bandwidths. At the same time, different bandwidths can be configured for services of different service types.
  • the embodiment may implement the foregoing method by using a gateway device.
  • the service type of the current service is identified; the bandwidth currently used by the current service is adjusted according to the service type of the current service, to ensure the QoS of the current service; and the current service is sent to the access control node.
  • Service type information so that the access control node is based on the industry
  • the traffic type information is used to adjust the bandwidth currently used by the current service to ensure the QoS of the current service.
  • the bandwidth currently used by the current service is configured according to the current user bandwidth parameter of the current user. The bandwidth indicated by the bandwidth parameter.
  • FIG. 5 is a schematic flowchart of another bandwidth adjustment method according to an embodiment of the present invention. As shown in FIG. 5, the method includes:
  • step 501 Receive a message that is sent by the access control node and carries a bandwidth parameter of the current user.
  • step 501 may include:
  • the above server can be an AAA server.
  • the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
  • the bandwidth parameter may include:
  • MB -UL Maximum Bit Rate For Uplink, MBR-UL
  • MBR-DL Maximum Bit Rate For Downlink, MBR-DL
  • GB -UL Guaranteed Bit Rate For Uplink, GB -UL
  • GBR-DL Guaranteed Bit Rate For Downlink, GB -DL
  • the bandwidth indicated by the bandwidth parameter may include:
  • the uplink bandwidth indicated by the MBR-UL When the network resource status does not reach the preset threshold, the uplink bandwidth indicated by the MBR-UL, and the downlink bandwidth indicated by the MBR-DL; or
  • the foregoing bandwidth parameter may be defined by using a Radius protocol in a TLV format.
  • the foregoing bandwidth parameters are defined by 4 bytes, where 1 byte is a type value, another 1 byte is a length value, and the other 2 The byte is the bandwidth value.
  • the bandwidth configured for the user includes: an access node (for example:
  • the bandwidth configured for the user and the bandwidth configured by the gateway device for the user can be the same. That is, when the user and the access node perform service transmission, the bandwidth configured by the access node for the user is used, and when the user transmits the service with the gateway device, the bandwidth configured by the gateway device for the user is used.
  • step 502 may further include:
  • the uplink bandwidth indicated by the MBR-UL, the downlink bandwidth indicated by the MBR-DL is configured for the current user, or the network resource status is reached.
  • the threshold is preset, the uplink bandwidth indicated by the GBR-UL and the downlink bandwidth indicated by the GBR-DL are configured for the current user according to the obtained bandwidth parameter.
  • the relationship between the service type and the bandwidth required for the QoS of the guaranteed service may be obtained, that is, the QoS required to satisfy the service of each service type may be acquired in advance.
  • Bandwidth information For example, the bandwidth that satisfies the QoS of the service type 1 is 1M, and the bandwidth that satisfies the QoS of the service type 2 is 2M or the like.
  • the bandwidth currently used by the current service may be adjusted according to the service type information to ensure the QoS of the current service.
  • the service type of the current service is service type 1
  • step 504 can adjust the current bandwidth used by the current service to be 1M.
  • the device that performs the steps of the embodiment analyzes the service type information, and analyzes and obtains the service that satisfies each service type. Information about the bandwidth required for QoS.
  • step 505 may include:
  • the IP packet header may be The DSCP field indicates the above service type identifier.
  • the IP packet header may be in the Traffic Class field to indicate the service type identifier.
  • the IP packet carrying the service type identifier carries the current network status information, for example, whether the current network is congested.
  • the service type identifier and the network status information may be carried by the IP packet header, and the service type identifier and the network status information may also be represented by the same field of the IP packet header.
  • the DSCP field and the Traffic Class field indicate that the DSCP field and the Traffic Class field are both composed of 8 bytes, so that the DSCP field and the Traffic Class field can be used to represent the service type identifier.
  • the other 2 bytes represent the current network status information.
  • step 504 can include:
  • the integrated service type and the current network state adjust the bandwidth currently used by the current service to ensure the QoS of the current service.
  • the foregoing service identifier and the current network status may be identified by numbers or letters, but the numbers and letters may be pre-negotiated between the device and the gateway device in this embodiment, for example, the identifier is used to identify The service type 1, the 222 identifier is used to identify the service type 2, the letter A identifier is used to identify the current network state congestion, and the letter B identifier is used to identify that the current network state is not congested.
  • FIG. 6 is a schematic flowchart of another bandwidth adjustment method according to an embodiment of the present invention. As shown in FIG. 6, the method includes:
  • the bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
  • the foregoing implementation manner of the bandwidth indicated by the bandwidth parameter configured by the current user may refer to the foregoing embodiment.
  • the location information of the current user may include at least one of the following items:
  • SSID for example: Domain ID
  • APID for example: APID
  • territory identifier for example: Domain ID
  • Calling Domain ID calling-Domain ID
  • the foregoing location information may be sent by using a number.
  • the number may be pre-negotiated by the device implementing the embodiment and the gateway device.
  • step 604 may include:
  • the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
  • the method further includes:
  • the information received by the step 604 may be sent by the access control node together with the foregoing bandwidth parameter, such as receiving a report request message (for example, an Accounting Request message) of the Radius protocol, where the request message carries the user location information, and the user Information and bandwidth parameters.
  • a report request message for example, an Accounting Request message
  • the request message carries the user location information, and the user Information and bandwidth parameters.
  • a bandwidth that is currently used by the current user to be a network resource matching bandwidth of the current location, where the current location is a location indicated by the location information.
  • the access control node sends, to the access control node, an indication parameter that is used to indicate that the network resource of the current location matches, so that the access control node adjusts a network resource that is currently used by the current user to be a current location.
  • Bandwidth the bandwidth matched by the network resource of the current location may be the bandwidth of the network resource that is suitable for the current location. If the network resources of the current location are relatively rich, the bandwidth of the network resources in the location is relatively large. When the network resources of the current location are relatively small, the bandwidth of the network resources matching the location is relatively small.
  • the bandwidth matched by the network resource of the current location may also be the bandwidth of the network resource user using the current location, that is, the bandwidth of the network resource of the current location when the number of network resource users using the current location is large (for example, the downtown area). Small, when the number of users using the current location network resources is small (for example, a suburb), the network resources of the current location match the bandwidth.
  • step 604, step 605, and step 606 is not limited to step 601, step 602, and step 603.
  • step 604, step 605, and step 606 may be performed after step 601, step 602, and step 603. It may be performed before step 601, step 602, and step 603.
  • the bandwidth currently used by the current user in the step 604, the step 605, and the step 606 is the bandwidth currently used by the current service adjusted in step 603.
  • the bandwidth currently used by the current user in the step 604, the step 605, and the step 606 is the bandwidth of the current user obtained in advance.
  • the parameter is the bandwidth indicated by the bandwidth parameter configured by the current user, and the bandwidth currently used by the current service in step 603 is the bandwidth currently used by the current user adjusted in step 305.
  • FIG. 7 is a schematic structural diagram of an access device according to an embodiment of the present invention. As shown in FIG. 7, the method includes: a first receiving unit 11 and a first adjusting unit 12, where:
  • the first receiving unit 11 is configured to receive service type information of a current service sent by the gateway device, where the current service is a service of the current user;
  • a first adjusting unit 12 configured to adjust, according to the service type information, current usage of the current service Bandwidth to guarantee the QoS of the current service;
  • the bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
  • the bandwidth indicated by the bandwidth parameter may be configured in advance for the current user.
  • the current service currently uses the bandwidth according to the current service type to ensure the QoS of the current service. This allows different users to be configured with different bandwidths. At the same time, different bandwidths can be configured for services of different service types.
  • the device may be an AC or an AP device.
  • FIG. 8 is a schematic structural diagram of another access device according to an embodiment of the present invention. As shown in FIG. 8, the method includes: an obtaining unit 21, a configuration unit 22, a first sending unit 23, a first receiving unit 24, and a first adjustment. Unit 25,
  • the obtaining unit 21 is configured to acquire a message that carries the bandwidth parameter of the current user.
  • the obtaining unit 21 may be further configured to obtain an access response message that is sent by the server and carries a bandwidth parameter of the current user.
  • the server may be an AAA server
  • the foregoing message may be an access response message (for example, an Access-Response message) in a Radius (a protocol name in the communication field, no specific Chinese meaning) protocol, that is, in the The access response message extends the bandwidth parameters of the current user.
  • an access response message for example, an Access-Response message
  • a Radius a protocol name in the communication field, no specific Chinese meaning
  • the bandwidth parameter may include:
  • MBR-UL MBR-DL.
  • GBR-UL and GBR-DL;
  • the bandwidth indicated by the bandwidth parameter may include:
  • the uplink bandwidth indicated by the MBR-UL, and the downlink bandwidth indicated by the MBR-DL When the network resource status does not reach the preset threshold, the uplink bandwidth indicated by the MBR-UL, and the downlink bandwidth indicated by the MBR-DL; or The uplink bandwidth indicated by the GBR-UL and the downlink bandwidth indicated by the GBR-DL when the network resource state reaches a preset threshold.
  • the bandwidth parameter can be defined by using the Radius protocol in the form of a TLV (in the form of a message in the Radius protocol, without specific Chinese meaning).
  • the above bandwidth parameters are defined by 4 bytes, where 1 The byte is a type value, the other 1 byte is the length value, and the other 2 bytes are the bandwidth value.
  • the configuration unit 22 is configured to configure, according to the obtained bandwidth parameter, a bandwidth indicated by the bandwidth parameter for the current user.
  • the configuration unit 22 may be further configured to: when the network resource status does not reach the preset threshold, configure the uplink bandwidth indicated by the MBR-UL for the current user according to the acquiring the bandwidth parameter, The downlink bandwidth indicated by the MBR-DL; or
  • the upstream bandwidth indicated by the GBR-UL and the downlink bandwidth indicated by the GBR-DL are configured for the current user according to the obtained bandwidth parameter.
  • the first sending unit 23 is configured to send a message carrying the bandwidth parameter to the gateway device, so that the bandwidth is used by the gateway device to perform service transmission with the current user.
  • the bandwidth configured for the user includes: the bandwidth configured by the access node (eg, AP or AC) for the user and the bandwidth configured by the gateway device for the user.
  • the bandwidth configured by the access node eg, AP or AC
  • the bandwidth configured by the gateway device for the user can be the same. That is, when the user and the access node perform service transmission, the bandwidth configured by the access node for the user is used, and when the user transmits the service with the gateway device, the bandwidth configured by the gateway device for the user is used.
  • the using the bandwidth when the gateway device performs service transmission with the current user may include:
  • the gateway device configures, according to the obtained bandwidth parameter, a bandwidth indicated by the bandwidth parameter for the current user.
  • the first sending unit 23 may be further configured to send a report request message that carries the bandwidth parameter to the gateway device;
  • the first sending unit 23 is further configured to send, by using a server, the advertisement request message carrying the bandwidth parameter to the gateway device.
  • the above server can be an AAA server.
  • the foregoing report request message may be a report request message of the Radius protocol (for example: Accounting Request message).
  • the first receiving unit 24 is configured to receive service type information of a current service sent by the gateway device, where the current service is a service of the current user.
  • the first receiving unit 24 may be further configured to receive an IP packet that is sent by the gateway device, where the IP packet header carries the service type identifier, where the service type identifier is used to identify the current Business type of business.
  • the IP packet header may be in the Differentiated Service Code Point (DSCP) field to indicate the service type identifier; wherein, the IP packet header It is well known and will not be described in detail here.
  • DSCP Differentiated Service Code Point
  • the IP packet header may be in the Traffic Class (field name in the IPv6 packet header, no specific Chinese meaning) field to indicate the service type identifier.
  • the IP packet carrying the service type identifier carries the current network status information, for example, whether the current network is congested.
  • the service type identifier and the network status information may be carried by the IP packet header, and the service type identifier and the network status information may also be represented by the same field of the IP packet header.
  • the DSCP field and the Traffic Class field indicate that the DSCP field and the Traffic Class field are both composed of 8 bytes, so that the DSCP field and the Traffic Class field can be used to represent the service type identifier.
  • the other 2 bytes represent the current network status information.
  • the current service type and the current network status may be used to adjust the current bandwidth used by the current service.
  • the foregoing service identifier and the current network status may be identified by numbers or letters, but the numbers and letters may be pre-negotiated between the device and the gateway device in this embodiment, for example, the identifier is used to identify The service type 1, the 222 identifier is used to identify the service type 2, the letter A identifier is used to identify the current network state congestion, and the letter B identifier is used to identify that the current network state is not congested.
  • the first adjusting unit 25 is configured to adjust, according to the service type information, a bandwidth currently used by the current service to ensure QoS of the current service.
  • the device may obtain the service type and the guarantee before the first adjustment unit adjusts the bandwidth currently used by the current service according to the service type information.
  • the correspondence information of the bandwidth required for the QoS of the service that is, the information of the bandwidth required for the QoS of the service satisfying each service type can be acquired in advance.
  • the bandwidth that satisfies the QoS of the service type 1 is 1 M
  • the bandwidth that satisfies the QoS of the service type 2 is 2 M or the like.
  • the bandwidth currently used by the current service may be adjusted according to the service type information to ensure the QoS of the current service.
  • the service type of the current service is the service type 1
  • the first adjustment unit 25 can adjust the current bandwidth used by the current service to be 1M.
  • step 205 can also be implemented.
  • the device that performs the steps of the embodiment can analyze the service type information, and analyze and obtain the service that satisfies each service type. Information about the bandwidth required for QoS.
  • FIG. 9 is a schematic structural diagram of another access device according to an embodiment of the present invention. As shown in FIG. 9, the method includes: a first receiving unit 31, a first adjusting unit 32, a second sending unit 33, and a second receiving unit 34. And a second adjustment unit 35, wherein:
  • the first receiving unit 31 is configured to receive service type information of a current service sent by the gateway device, where the current service is a service of the current user;
  • the first adjusting unit 32 is configured to adjust, according to the service type information, a bandwidth currently used by the current service, to ensure QoS of the current service;
  • the bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
  • a second sending unit 33 configured to send location information of the current user and user information of the current user to the gateway device, so that the gateway device adjusts a bandwidth currently used by the current user according to the location information.
  • the bandwidth that matches the network resource of the current location, the current location being the location indicated by the location information.
  • the location information of the current user may include at least one of the following items:
  • the foregoing location information may be sent by using a number.
  • the number may be pre-negotiated by the device implementing the embodiment and the gateway device.
  • the second sending unit 33 is further configured to send, to the gateway device, a report request message that carries location information of the current user and user information of the current user.
  • the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
  • the second receiving unit 34 is configured to receive, by the gateway device, an indication parameter that is used to indicate a bandwidth of the network resource matching of the current location.
  • the second adjusting unit 35 is configured to adjust a bandwidth that the bandwidth currently used by the current user is a network resource matching of the current location.
  • the bandwidth matched by the network resource of the current location may be the bandwidth of the network resource suitable for the current location. If the network resources of the current location are relatively rich, the bandwidth of the network resources at the location is relatively large. When the network resources of the current location are relatively small, the bandwidth of the network resources at the location is relatively small.
  • the bandwidth matched by the network resource of the current location may also be the bandwidth of the network resource user using the current location, that is, the bandwidth of the network resource of the current location when the number of network resource users using the current location is large (for example, the downtown area). Small, when the number of users using the current location network resources is small (for example, a suburb), the network resources of the current location match the bandwidth.
  • FIG. 10 is a schematic structural diagram of a gateway device according to an embodiment of the present invention. As shown in FIG. 10, the method includes: an identifying unit 41, a first adjusting unit 42, and a first sending unit 43, where:
  • the identifying unit 41 is configured to identify a service type of the current service
  • the first adjusting unit 42 is configured to adjust, according to the service type of the current service, a bandwidth currently used by the current service, to ensure QoS of the current service;
  • the first sending unit 43 is configured to send the service type information of the current service to the access control node, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information, to ensure the QoS of the current service;
  • the bandwidth currently used by the current service includes:
  • the bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
  • the bandwidth indicated by the bandwidth parameter may be configured in advance for the current user.
  • the current service currently uses the bandwidth according to the current service type to ensure the QoS of the current service. This allows different users to be configured with different bandwidths. At the same time, different bandwidths can be configured for services of different service types.
  • the embodiment may implement the foregoing method by using a gateway device.
  • the service type of the current service is identified; the bandwidth currently used by the current service is adjusted according to the service type of the current service, to ensure the QoS of the current service; and the current service is sent to the access control node.
  • the service type information so that the access control node adjusts the bandwidth currently used by the current service according to the service type information, to ensure the QoS of the current service, where the bandwidth currently used by the current service is obtained according to the
  • the bandwidth parameter of the current user is the bandwidth indicated by the bandwidth parameter configured by the current user.
  • FIG. 11 is a schematic structural diagram of another gateway device according to an embodiment of the present invention. As shown in FIG. 11, the method includes: a first receiving unit 51, a configuration unit 52, an identifying unit 53, a first adjusting unit 54, and a first sending unit. 55 , where:
  • the first receiving unit 51 is configured to receive a message that is sent by the access control node and that carries the bandwidth parameter of the current user.
  • the first receiving unit 51 may be further configured to receive a report request message that is sent by the access control node and that carries the bandwidth parameter;
  • the first receiving unit 51 is further configured to receive a report request message that is sent by the access control node by using a server and that carries the bandwidth parameter.
  • the above server can be an AAA server.
  • the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
  • the bandwidth parameter may include: MBR-UL (Maximum Bit Rate For Uplink, MBR-UL), MBR-DL (Maximum Bit Rate For Downlink, MBR-DL), GBR-UL ( Guaranteed Bit Rate For Uplink, GBR-UL) and GBR-DL ( Guaranteed Bit Rate For Downlink, GBR-DL );
  • the bandwidth indicated by the bandwidth parameter may include:
  • the uplink bandwidth indicated by the MBR-UL When the network resource status does not reach the preset threshold, the uplink bandwidth indicated by the MBR-UL, and the downlink bandwidth indicated by the MBR-DL; or
  • the configuration unit 52 is configured to use, according to the bandwidth parameter information, a bandwidth indicated by the bandwidth parameter configured by the current user.
  • the configuration unit 52 is further configured to: when the network resource status does not reach the preset threshold, configure the uplink bandwidth indicated by the MBR-UL for the current user according to the acquiring the bandwidth parameter, The downlink bandwidth indicated by the MBR-DL; or
  • the configuration unit 52 is further configured to: when the network resource status reaches a preset threshold, configure the uplink bandwidth indicated by the GBR-UL for the current user according to the obtained bandwidth parameter, and the downlink bandwidth indicated by the GBR-DL.
  • the identifying unit 53 is configured to identify a service type of the current service
  • the first adjusting unit 54 is configured to adjust the current bandwidth used by the current service according to the service type of the current service, to ensure the QoS of the current service.
  • the first sending unit 55 is configured to send the service type information of the current service to the access control node, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information, to ensure the The QoS of the current service.
  • the first sending unit 55 may be further configured to send, to the access control node, an IP packet carrying an IP packet identifier, where the service type identifier is used to identify the current service. Type of business.
  • the IP packet header may be in the DSCP field to indicate the service type identifier.
  • the IP packet header may be in the Traffic Class field to indicate the service type identifier.
  • the IP packet carrying the service type identifier may carry the current network status information, for example, whether the current network is congested.
  • the service type identifier and the network status information may be carried by the IP packet header, and the service type identifier and the network status information may also be represented by the same field of the IP packet header.
  • the DSCP field and the Traffic Class field indicate that the DSCP field and the Traffic Class field are both composed of 8 bytes, so that the DSCP field and the Traffic Class field can be used to represent the service type identifier.
  • the other 2 bytes represent the current network status information.
  • the access control node when the foregoing information carries the current network status information, when the access control node subsequently adjusts the current bandwidth used by the current service, the current service type and the current network status may be used to adjust the bandwidth currently used by the current service.
  • the foregoing service identifier and the current network status may be identified by numbers or letters, but the numbers and letters may be pre-negotiated between the device and the gateway device in this embodiment, for example, the identifier is used to identify The service type 1, the 222 identifier is used to identify the service type 2, the letter A identifier is used to identify the current network state congestion, and the letter B identifier is used to identify that the current network state is not congested.
  • FIG. 12 is a schematic structural diagram of another gateway device according to an embodiment of the present invention. As shown in FIG. 12, the method includes: an identification unit 61, a first adjustment unit 62, a first sending unit 63, a second receiving unit 64, and a second The adjusting unit 65 and the second transmitting unit 66, wherein:
  • the identifying unit 61 is configured to identify a service type of the current service
  • the first adjusting unit 62 is configured to adjust, according to the service type of the current service, a bandwidth currently used by the current service, to ensure QoS of the current service;
  • the first sending unit 63 is configured to send the service type information of the current service to the access control node, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information, to ensure the QoS of the current service;
  • the bandwidth currently used by the current service includes:
  • the bandwidth currently used by the current service is the bandwidth indicated by the bandwidth parameter configured by the current user according to the acquired bandwidth parameter of the current user.
  • the second receiving unit 64 is configured to receive location information of the current user and user information of the current user that are sent by the access control node.
  • the location information of the current user may include at least one of the following items:
  • SSID for example: Domain ID
  • APID for example: APID
  • territory identifier for example: Domain ID
  • Calling Domain ID calling-Domain ID
  • the foregoing location information may be sent by using a number.
  • the number may be pre-negotiated by the device implementing the embodiment and the gateway device.
  • the second receiving unit 64 is further configured to receive a report request message that is sent by the access control node and carries the location information of the current user and the user information of the current user.
  • the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
  • the second adjusting unit 65 is configured to adjust, according to the location information, a bandwidth of a network resource that is currently used by the current user and whose bandwidth is a current location, where the current location is a location indicated by the location information.
  • the second sending unit 66 is configured to send, by the access control node, an indication parameter for indicating a bandwidth of the network resource of the current location, so that the access control node adjusts a bandwidth currently used by the current user to be The bandwidth of the network resource at the current location.
  • the bandwidth matched by the network resource of the current location may be the bandwidth of the network resource suitable for the current location. If the network resources of the current location are relatively rich, the bandwidth of the network resources at the location is relatively large. When the network resources of the current location are relatively small, the bandwidth of the network resources matching the location is relatively small.
  • the bandwidth matched by the network resource of the current location may also be the bandwidth of the network resource user using the current location, that is, the bandwidth of the network resource of the current location when the number of network resource users using the current location is large (for example, the downtown area). Small, when the number of users using the current location network resources is small (for example, a suburb), the network resources of the current location match the bandwidth.
  • FIG. 13 is a schematic structural diagram of a system for adjusting bandwidth according to an embodiment of the present invention. As shown in FIG. 13, the method includes: an access device 71 and a gateway device 72, where:
  • the access device 71 is configured to receive the service type information of the current service sent by the gateway device, and adjust the current bandwidth used by the current service according to the service type information to ensure the QoS of the current service.
  • the gateway device 72 is configured to identify a service type of the current service, adjust a bandwidth currently used by the current service according to the service type of the current service, to ensure QoS of the current service, and send the current to the access control node.
  • Business type information of the business
  • the bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
  • the access device 71 can be an access device in any of the embodiments shown in FIG. 7, FIG. 8 and FIG.
  • the gateway device 72 can be the gateway device of any of the embodiments shown in FIG. 10, FIG. 11 and FIG.
  • the access device receives the service type information of the current service sent by the gateway device, and adjusts the current bandwidth used by the current service according to the service type information to ensure the QoS of the current service; Identifying the service type of the current service; adjusting the bandwidth currently used by the current service according to the service type of the current service, to ensure the QoS of the current service, and sending the service type information of the current service to the access control node.
  • This enables bandwidth limitation and QoS guarantee for different users and different services.
  • FIG. 14 is a schematic structural diagram of another access device according to an embodiment of the present invention. As shown in FIG. 14, the method includes: a receiver 81 and a processor 82, where:
  • the receiver 81 is configured to receive service type information of a current service sent by the gateway device.
  • the processor 82 is configured to perform the following steps:
  • the bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
  • the current user may be configured with the bandwidth indicated by the bandwidth parameter, the current user.
  • the current bandwidth of the current service is used according to the current service type to ensure the QoS of the current service. In this way, different bandwidths can be configured for different users, and at the same time, different bandwidths can be configured according to services of different service types.
  • the foregoing method may be implemented by the AC or the AP, and the adjusted bandwidth information of the AC processor 82 may be sent to the AP, and the AP may complete the adjustment of the bandwidth of the current service.
  • FIG. 15 is a schematic structural diagram of another access device according to an embodiment of the present invention. As shown in FIG. 15, the device includes: a receiver 91, a processor 92, and a transmitter 93, where:
  • a receiver 91 configured to acquire a message carrying a bandwidth parameter of the current user
  • the processor 92 is configured to perform the following steps:
  • the receiver 91 is further configured to receive the service type information of the current service sent by the gateway device.
  • the processor 92 is further configured to perform the following steps:
  • the receiver 91 may be further configured to obtain an access response message sent by the server and carrying a bandwidth parameter of the current user.
  • the server may be an AAA server
  • the foregoing message may be an access response message (for example, an Access-Response message) in a Radius (a protocol name in the communication field, no specific Chinese meaning) protocol, that is, in the The access response message extends the bandwidth parameters of the current user.
  • the bandwidth parameter may include:
  • the bandwidth indicated by the bandwidth parameter may include:
  • the uplink bandwidth indicated by the MBR-UL When the network resource status does not reach the preset threshold, the uplink bandwidth indicated by the MBR-UL, and the downlink bandwidth indicated by the MBR-DL; or
  • the foregoing network resource status may refer to a network resource usage rate, where the preset threshold is 80%, and when the network resource status is less than 80%, the bandwidth indicated by the bandwidth parameter may include: the MBR- The uplink bandwidth indicated by the UL, and the downlink bandwidth indicated by the MBR-DL.
  • the bandwidth indicated by the bandwidth parameter may include: an uplink bandwidth indicated by the GBR-UL, and a downlink bandwidth indicated by the GBR-DL.
  • the foregoing bandwidth parameter may be defined by using a Radius protocol in a TLV format (for example, the type is a character type, the length is 8, and the value is abcdefgh), and the foregoing bandwidth parameters are defined by 4 bytes, where 1 word The section is a type value, the other 1 byte is the length value, and the other 2 bytes are the bandwidth value.
  • a Radius protocol in a TLV format
  • the foregoing bandwidth parameters are defined by 4 bytes, where 1 word The section is a type value, the other 1 byte is the length value, and the other 2 bytes are the bandwidth value.
  • the step performed by the processor 92 to configure the bandwidth indicated by the bandwidth parameter for the current user according to the obtaining the bandwidth parameter may include:
  • the uplink bandwidth indicated by the MBR-UL, the downlink bandwidth indicated by the MBR-DL is configured for the current user, or the network resource status is reached.
  • the threshold is preset, the uplink bandwidth indicated by the GBR-UL and the downlink bandwidth indicated by the GBR-DL are configured for the current user according to the obtained bandwidth parameter.
  • the bandwidth configured for the user includes: the bandwidth configured by the access node (eg, AP or AC) for the user and the bandwidth configured by the gateway device for the user.
  • the bandwidth configured by the access node eg, AP or AC
  • the bandwidth configured by the gateway device for the user can be the same. That is, when the user and the access node perform service transmission, the bandwidth configured by the access node for the user is used, and when the user transmits the service with the gateway device, the bandwidth configured by the gateway device for the user is used.
  • the using the bandwidth when the gateway device performs service transmission with the current user may include:
  • the gateway device configures, according to the obtained bandwidth parameter, the bandwidth indicated by the bandwidth parameter for the current user.
  • the transmitter 93 may be further configured to send a report request message that carries the bandwidth parameter to the gateway device; or
  • the transmitter 93 can also be configured to send a report request message carrying the bandwidth parameter to the gateway device through a server.
  • the above server can be an AAA server.
  • the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
  • the receiver 91 is further configured to receive, by the gateway device, an IP4 ⁇ message carrying an identifier of the service type, where the service type identifier is used to identify the current Business type of business.
  • the IP packet header may be in the Differentiated Service Code Point (DSCP) field to indicate the service type identifier;
  • DSCP Differentiated Service Code Point
  • the IP packet header may be in the Traffic Class (field name in the IPv6 packet header, no specific Chinese meaning) field to indicate the service type identifier.
  • the IP packet carrying the service type identifier carries the current network status information, for example, whether the current network is congested.
  • the service type identifier and the network status information may be carried by the IP packet header, and the service type identifier and the network status information may also be represented by the same field of the IP packet header.
  • the DSCP field and the Traffic Class field indicate that the DSCP field and the Traffic Class field are both composed of 8 bytes, so that the DSCP field and the Traffic Class field can be used to represent the service type identifier.
  • the other 2 bytes represent the current network status information.
  • the current service type and the current network status may be used to adjust the current bandwidth used by the current service.
  • the foregoing service identifier and the current network status may be identified by numbers or letters, but the numbers and letters may be pre-negotiated between the device and the gateway device in this embodiment, for example, the identifier is used to identify The service type 1, the 222 identifier is used to identify the service type 2, the letter A identifier is used to identify the current network state congestion, and the letter B identifier is used to identify that the current network state is not congested.
  • the device may acquire the bandwidth required for the service type and the QoS of the guaranteed service.
  • the correspondence information that is, the information of the bandwidth required for the QoS of the service satisfying each service type can be acquired in advance.
  • the bandwidth that satisfies the QoS of the service type 1 is 1 M
  • the bandwidth that satisfies the QoS of the service type 2 is 2 M or the like.
  • the bandwidth currently used by the current service may be adjusted according to the service type information to ensure the QoS of the current service.
  • the service type of the current service is service type 1
  • step 205 can adjust the current bandwidth used by the current service to 1M.
  • the device that performs the steps of the embodiment analyzes the service type information, and analyzes and obtains the service that satisfies each service type. Information about the bandwidth required for QoS.
  • the device may further include:
  • the memory 94 is configured to store a program executed by the processor 92.
  • FIG. 16 is a schematic structural diagram of another access device according to an embodiment of the present invention. As shown in FIG. 16, the method includes: a receiver 101, a processor 102, and a transmitter 103, where:
  • the receiver 101 is configured to receive service type information of a current service sent by the gateway device, where the processor 92 is configured to perform the following steps:
  • the bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
  • the transmitter 93 is configured to send the location information of the current user and the user information of the current user to the gateway device, so that the gateway device adjusts, according to the location information, a bandwidth currently used by the current user as a current The bandwidth of the network resource of the location, the current location being the location indicated by the location information.
  • the receiver 91 is further configured to receive, by the gateway device, a network resource that is used to indicate the current location. The indication of the matching bandwidth.
  • the processor 92 is also configured to perform the following steps:
  • the location information of the current user may include at least one of the following items:
  • SSID Access Point Identifier
  • APIID Access Point Identifier
  • geographical indication for example: Domain ID
  • the foregoing location information may be sent by using a number.
  • the number may be pre-negotiated by the device implementing the embodiment and the gateway device.
  • the transmitter 93 may be further configured to send a message request message carrying the location information of the current user and the user information of the current user to the gateway device.
  • the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
  • the bandwidth matched by the network resource of the current location may be the bandwidth of the network resource suitable for the current location. If the network resources of the current location are relatively rich, the bandwidth of the network resources at the location is relatively large. When the network resources of the current location are relatively small, the bandwidth of the network resources at the location is relatively small.
  • the bandwidth matched by the network resource of the current location may also be the bandwidth of the network resource user using the current location, that is, the bandwidth of the network resource of the current location when the number of network resource users using the current location is large (for example, the downtown area). Small, when the number of users using the current location network resources is small (for example, a suburb), the network resources of the current location match the bandwidth.
  • FIG. 17 is a schematic structural diagram of another gateway device according to an embodiment of the present invention. As shown in FIG. 17, the method includes: a processor 111 and a transmitter 112, where:
  • the processor 111 is configured to perform the following steps:
  • the transmitter 112 is configured to send the service type information of the current service to the access control node, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information, to ensure the current service.
  • the bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
  • the bandwidth indicated by the bandwidth parameter may be configured in advance for the current user.
  • the current service currently uses the bandwidth according to the current service type to ensure the QoS of the current service. This allows different users to be configured with different bandwidths. At the same time, different bandwidths can be configured for services of different service types.
  • the service type of the current service is identified; the bandwidth currently used by the current service is adjusted according to the service type of the current service, to ensure the QoS of the current service; and the current service is sent to the access control node.
  • the service type information so that the access control node adjusts the bandwidth currently used by the current service according to the service type information to ensure the QoS of the current service; where the bandwidth currently used by the current service is obtained according to the
  • the current user's bandwidth parameter is the bandwidth indicated by the bandwidth parameter configured by the current user.
  • FIG. 18 is a schematic structural diagram of another gateway device according to an embodiment of the present invention. As shown in FIG. 18, the device includes: a receiver 121, a processor 122, and a transmitter 123, where:
  • the receiver 121 is configured to receive a message that is sent by the access control node and carries a bandwidth parameter of the current user.
  • the processor 122 is configured to perform the following steps:
  • the transmitter 123 is configured to send the service type information of the current service to the access control node, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information, to ensure the current service.
  • the receiver 121 may be further configured to receive a report request message that is sent by the access control node and that carries the bandwidth parameter; or
  • the receiver 121 is further configured to receive a report request message that is sent by the access control node and sent by the server to carry the bandwidth parameter.
  • the above server can be an AAA server.
  • the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
  • the bandwidth parameter may include:
  • MBR-UL Maximum Bit Rate For Uplink, MB-UL
  • MBR-DL Maximum Bit Rate For Downlink, MBR-DL
  • GBR-UL Guaranteed Bit Rate For Uplink, GBR-UL
  • GBR-DL Guaranteed Bit Rate For Downlink, GBR-DL
  • the bandwidth indicated by the bandwidth parameter may include:
  • the uplink bandwidth indicated by the MBR-UL When the network resource status does not reach the preset threshold, the uplink bandwidth indicated by the MBR-UL, and the downlink bandwidth indicated by the MBR-DL; or
  • the foregoing bandwidth parameter may be defined by using a Radius protocol in a TLV format.
  • the foregoing bandwidth parameters are defined by 4 bytes, where 1 byte is a type value, another 1 byte is a length value, and the other 2 The byte is the bandwidth value.
  • the step of the processor 122 performing the bandwidth indicated by the bandwidth parameter for the current user according to the bandwidth parameter information may include:
  • the uplink bandwidth indicated by the MBR-UL, the downlink bandwidth indicated by the MBR-DL is configured for the current user, or the network resource status is reached.
  • the threshold is preset, the uplink bandwidth indicated by the GBR-UL and the downlink bandwidth indicated by the GBR-DL are configured for the current user according to the obtained bandwidth parameter.
  • the service type and the bandwidth required for the QoS of the guaranteed service may be acquired.
  • the correspondence information that is, the information of the bandwidth required for the QoS of the service satisfying each service type can be acquired in advance.
  • the bandwidth that satisfies the QoS of service type 1 is 1M.
  • the bandwidth satisfying the QoS of the service type 2 is information such as 2M.
  • the bandwidth currently used by the current service may be adjusted according to the service type information to ensure the QoS of the current service.
  • the processor 122 can adjust the current bandwidth used by the current service to be 1M.
  • the processor 122 can also be implemented.
  • the device that performs the steps of the embodiment can analyze the service type information, and analyze and obtain the service that satisfies each service type. Information about the bandwidth required for QoS.
  • the transmitter 123 may be configured to send, to the access control node, an IP packet carrying an IP packet identifier, where the service type identifier is used to identify the service of the current service. Types of.
  • the IP packet header may be in the DSCP field to indicate the service type identifier.
  • the IP packet header may be in the Traffic Class field to indicate the service type identifier.
  • the IP packet carrying the service type identifier carries the current network status information, for example, whether the current network is congested.
  • the service type identifier and the network status information may be carried by the IP packet header, and the service type identifier and the network status information may also be represented by the same field of the IP packet header.
  • the DSCP field and the Traffic Class field indicate that the DSCP field and the Traffic Class field are both composed of 8 bytes, so that the DSCP field and the Traffic Class field can be used to represent the service type identifier.
  • the other 2 bytes represent the current network status information.
  • the access control node when the foregoing information carries the current network status information, when the access control node subsequently adjusts the current bandwidth used by the current service, the current service type and the current network status may be used to adjust the bandwidth currently used by the current service.
  • the step of the processor 122 performing the adjustment of the bandwidth currently used by the current service according to the service type of the current service may include:
  • the integrated service type and the current network state adjust the bandwidth currently used by the current service to ensure the QoS of the current service.
  • the foregoing service identifier and the current network status may be identified by numbers or letters, but the numbers and letters may be pre-negotiated between the device and the gateway device in this embodiment, for example, the identifier is used to identify Service type 1, 222 identifier is used to identify service type 2, and letter A identifier is used for Identifies the current network status congestion. The letter B identifier is used to identify that the current network status is not congested.
  • the device may further include:
  • the memory 124 is configured to store a program executed by the processor 122.
  • FIG. 19 is a schematic structural diagram of another gateway device according to an embodiment of the present invention. As shown in FIG. 19, the method includes: a processor 131, a transmitter 132, and a receiver 133, where:
  • the processor 131 is configured to perform the following steps:
  • the transmitter 132 is configured to send the service type information of the current service to the access control node, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information, to ensure the current service.
  • the bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
  • the receiver 133 is configured to receive location information of the current user sent by the access control node, and user information of the current user.
  • the processor 132 is further configured to perform the following steps:
  • a bandwidth that is currently used by the current user to be a network resource matching bandwidth of the current location, where the current location is a location indicated by the location information.
  • the transmitter 132 is further configured to send, by the access control node, an indication parameter for indicating a bandwidth of the network resource of the current location, so that the access control node adjusts a bandwidth currently used by the current user to a current location.
  • the network resource matches the bandwidth.
  • the location information of the current user may include at least one of the following items:
  • the foregoing location information may be sent by using a number.
  • the number may be pre-negotiated by the device implementing the embodiment and the gateway device.
  • the receiver 133 may be further configured to receive, by the access control node, a report request message that carries location information of the current user and user information of the current user.
  • the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
  • the bandwidth matched by the network resource of the current location may be the bandwidth of the network resource suitable for the current location. If the network resources of the current location are relatively rich, the bandwidth of the network resources at the location is relatively large. When the network resources of the current location are relatively small, the bandwidth of the network resources at the location is relatively small.
  • the bandwidth matched by the network resource of the current location may also be the bandwidth of the network resource user using the current location, that is, the bandwidth of the network resource of the current location when the number of network resource users using the current location is large (for example, the downtown area). Small, when the number of users using the current location network resources is small (for example, a suburb), the network resources of the current location match the bandwidth.
  • FIG. 20 is a schematic structural diagram of another system for adjusting bandwidth according to an embodiment of the present invention. As shown in FIG. 20, the method includes: an access device 141 and a gateway device 142, where:
  • the access device 141 includes: a receiver and a processor, wherein:
  • a receiver configured to receive service type information of a current service sent by the gateway device
  • the processor is used to perform the following steps:
  • the bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
  • the gateway device 142 includes: The processor is configured to perform the following steps:
  • a transmitter configured to send the service type information of the current service to the access control node, so that the access control node adjusts a bandwidth currently used by the current service according to the service type information, to ensure that the current service is QoS.
  • the access device 141 may be an access device in any of the embodiments shown in FIG. 14, FIG. 15, and FIG.
  • the gateway device 142 may be the gateway device of any of the embodiments shown in FIG. 17, FIG. 18, and FIG.
  • the access device receives the service type information of the current service sent by the gateway device, and adjusts the current bandwidth used by the current service according to the service type information to ensure the QoS of the current service; Identifying the service type of the current service; adjusting the bandwidth currently used by the current service according to the service type of the current service, to ensure the QoS of the current service, and sending the service type information of the current service to the access control node.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (AM).

Landscapes

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

Abstract

Disclosed is a bandwidth adjustment method. The method comprises: (101) receiving service type information sent by a gateway device, of a current service; and (102) adjusting the bandwidth currently used by the current service according to the service type information, so as to ensure the quality of service (QoS) of the current service, the bandwidth currently used by the current service being the bandwidth indicated by a bandwidth parameter configured for the current user according to an obtained bandwidth parameter of the current user. By means of the present invention, the bandwidth can be limited and QoS can be ensured for different users and different services.

Description

一种带宽调整方法、 设备及系统  Bandwidth adjustment method, device and system
本申请要求于 2012 年 11 月 15 日提交中国专利局、 申请号为 201210460303.2 、 发明名称为 "一种带宽调整方法、 设备及系统" 的中国专利 申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域  This application claims priority to Chinese Patent Application No. 201210460303.2, entitled "Bandwidth Adjustment Method, Equipment and System", filed on November 15, 2012, the entire contents of which are incorporated herein by reference. In the application. Technical field
本发明涉及通信领域, 尤其涉及一种带宽调整方法、 设备及系统。 背景技术  The present invention relates to the field of communications, and in particular, to a bandwidth adjustment method, device, and system. Background technique
随着智能终端和智能终端应用的大量拥现, 宏网络越来不能满足应用带宽 需求, 同时, 无线保真(Wireless Fidelity, WIFI )正在成为智能终端的必备功 能。 这样基于 WIFI的无线局域网 (Wireless Local Area Networks, WLAN )普 遍被国内外的运营商作为宏网络的卸载(例如: OFFLOAD )用于提升用户体验, 这样分流蜂窝网大有成为运营商的第四代网络的趋势。 在 WLAN网络中由于接 入节点 (Access Point , AP ) 侧缺少类似宏网络基于用户级的保证比特率 ( Guaranteed Bit Rate GBR )或最大比特率( Maximum Bit Rate MBR )、 独立承 载的服务质量( Quality of Service QoS )保障, 因此无法 4艮好的保障用户的业务 体验。  With the proliferation of smart terminals and smart terminal applications, the macro network is unable to meet the application bandwidth requirements. At the same time, Wireless Fidelity (WIFI) is becoming an essential function of smart terminals. Such wireless local area network (WLAN) based on WIFI is generally used by domestic and foreign operators as a macro network to be unloaded (for example: OFFLOAD) to enhance the user experience, so that the split cellular network has become the fourth generation of operators. The trend of the network. In the WLAN network, the access point (AP) side lacks the macro-network-based Guaranteed Bit Rate (GBR) or Maximum Bit Rate (MBR), and the quality of the independent bearer. Of Service QoS is guaranteed, so it is impossible to guarantee the user's business experience.
目前解决上述问题, 主要是接入控制节点( Access Control AC )控制同一服 务集标识 ( Service Set Identifier, SSID )或者同一 AP的所有用户使用同一带 宽,带宽信息存储于验证、授权和记账( Authentication, Authorization, Accounting, AAA )服务器, AAA服务器在用户签权时通过接入接受消息 (例如: Access -Accpet ) 下发至 AC , AC控制同一 SSID或 AP的所有用户使用相同的 QoS保 障。  Currently, the above problem is solved. The access control node (Access Control AC) controls the same Service Set Identifier (SSID) or all users of the same AP use the same bandwidth. The bandwidth information is stored in the authentication, authorization, and accounting. , Authorization, Accounting, AAA) Server, the AAA server delivers the same QoS guarantee to all users of the same SSID or AP through the access accept message (for example: Access -Accpet) when the user signs the right.
由于上述技术中同一 SSID或 AP的所有用户都使用同一带宽、同一 QoS保 障, 而同一 SSID或 AP下存在不同级别、 使用不同的业务的用户。 这样上述技 术就无法实现针对不同用户和不同业务进行带宽限制和 QoS保障。 发明内容  Because all users of the same SSID or AP in the above technology use the same bandwidth and the same QoS guarantee, users with different levels and different services under the same SSID or AP exist. In this way, the above technology cannot achieve bandwidth limitation and QoS guarantee for different users and different services. Summary of the invention
本发明实施例提供了一种带宽调整方法、 设备及系统, 可以实现针对不同 用户和不同业务进行带宽限制和 QoS保障。 The embodiment of the invention provides a bandwidth adjustment method, device and system, which can be implemented differently Bandwidth restrictions and QoS guarantees for users and different services.
本发明第一方面提供一种带宽调整方法, 包括:  A first aspect of the present invention provides a bandwidth adjustment method, including:
接收网关设备发送的当前业务的业务类型信息;  Receiving service type information of a current service sent by the gateway device;
根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述当 前业务的 QoS;  Adjusting, according to the service type information, a bandwidth currently used by the current service, to ensure QoS of the current service;
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。  The bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
本发明第二方面提供一种带宽调整方法, 包括: 识别当前业务的业务类型; 根据所述当前业务的业务类型调整所述当前业务当前使用的带宽, 以保证 所述当前业务的 QoS;  A second aspect of the present invention provides a bandwidth adjustment method, including: identifying a service type of a current service; adjusting a bandwidth currently used by the current service according to a service type of the current service, to ensure a QoS of the current service;
给接入控制节点发送所述当前业务的业务类型信息, 以便所述接入控制节 点根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述当前 业务的 QoS;  Sending, to the access control node, the service type information of the current service, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information, to ensure the QoS of the current service;
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。  The bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
本发明第三方面提供一种接入设备, 包括: 第一接收单元和第一调整单元, 其中:  A third aspect of the present invention provides an access device, including: a first receiving unit and a first adjusting unit, where:
所述第一接收单元, 用于接收网关设备发送的当前业务的业务类型信息; 所述当前业务为所述当前用户的业务;  The first receiving unit is configured to receive service type information of a current service sent by the gateway device, where the current service is a service of the current user;
所述第一调整单元, 用于根据所述业务类型信息调整所述当前业务当前使 用的带宽, 以保证所述当前业务的 QoS ;  The first adjusting unit is configured to adjust, according to the service type information, a bandwidth currently used by the current service, to ensure QoS of the current service;
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。  The bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
本发明第四方面提供一种网关设备, 包括: 识别单元、 第一调整单元和第 一发送单元, 其中:  A fourth aspect of the present invention provides a gateway device, including: an identification unit, a first adjustment unit, and a first sending unit, where:
所述识别单元, 用于识别当前业务的业务类型;  The identifying unit is configured to identify a service type of a current service;
第一调整单元, 用于根据所述当前业务的业务类型调整所述当前业务当前 使用的带宽, 以保证所述当前业务的 QoS;  a first adjusting unit, configured to adjust, according to the service type of the current service, a bandwidth currently used by the current service, to ensure QoS of the current service;
第一发送单元, 用于给接入控制节点发送所述当前业务的业务类型信息, 以便所述接入控制节点根据所述业务类型信息调整所述当前业务当前使用的带 宽, 以保证所述当前业务的 QoS; a first sending unit, configured to send, to the access control node, service type information of the current service, so that the access control node adjusts, according to the service type information, a current used band of the current service Width to guarantee the QoS of the current service;
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。  The bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
本发明第五方面提供一种调整带宽的系统, 包括: 接入设备和网关设备, 其中:  A fifth aspect of the present invention provides a system for adjusting bandwidth, including: an access device and a gateway device, where:
所述接入设备, 用于接收所述网关设备发送的当前业务的业务类型信息, 并根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述当前 业务的 QoS;  The access device is configured to receive service type information of a current service sent by the gateway device, and adjust a bandwidth currently used by the current service according to the service type information, to ensure QoS of the current service;
所述网关设备, 用于识別当前业务的业务类型; 根据所述当前业务的业务 类型调整所述当前业务当前使用的带宽, 以保证所述当前业务的 QoS , 并给接 入控制节点发送所述当前业务的业务类型信息;  The gateway device is configured to identify a service type of the current service, adjust a bandwidth currently used by the current service according to the service type of the current service, to ensure QoS of the current service, and send the QoS to the access control node. Describe the service type information of the current service;
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。  The bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
上述技术方案中, 通过接收网关设备发送的当前业务的业务类型信息; 根 据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述当前业务 的 QoS; 其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参 数为所述当前用户配置的所述带宽参数所指示的带宽; 所述当前用户为使用所 述当前业务的用户。 这样可以实现为不同用户配置不同的带宽, 且可以根据用 户当前使用的业务类型调整带宽, 以保证所述当前业务的 QoS。 从而实现针对 不同用户和不同业务进行带宽限制和 QoS保障。 附图说明  In the foregoing technical solution, the service type information of the current service sent by the gateway device is received; the bandwidth currently used by the current service is adjusted according to the service type information, to ensure the QoS of the current service; wherein, the current service is currently The bandwidth used is the bandwidth indicated by the bandwidth parameter configured by the current user according to the obtained bandwidth parameter of the current user; the current user is a user who uses the current service. In this way, different bandwidths can be configured for different users, and the bandwidth can be adjusted according to the service type currently used by the user to ensure the QoS of the current service. This enables bandwidth limitation and QoS guarantee for different users and different services. 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是本发明实施例提供的一种带宽调整方法的流程示意图;  1 is a schematic flowchart of a bandwidth adjustment method according to an embodiment of the present invention;
图 2是本发明实施例提供的另一种带宽调整方法的流程示意图; 图 3是本发明实施例提供的另一种带宽调整方法的流程示意图; 图 4是本发明实施例提供的另一种带宽调整方法的流程示意图; 图 5是本发明实施例提供的另一种带宽调整方法的流程示意图 2 is a schematic flowchart of another bandwidth adjustment method according to an embodiment of the present invention; FIG. 3 is a schematic flowchart of another bandwidth adjustment method according to an embodiment of the present invention; Schematic diagram of the bandwidth adjustment method; FIG. 5 is a schematic flowchart of another bandwidth adjustment method according to an embodiment of the present disclosure;
图 6是本发明实施例提供的另一种带宽调整方法的流程示意图  6 is a schematic flowchart of another bandwidth adjustment method according to an embodiment of the present invention.
图 7是本发明实施例提供的一种接入设备的结构示意图;  FIG. 7 is a schematic structural diagram of an access device according to an embodiment of the present disclosure;
图 8是本发明实施例提供的另一种接入设备的结构示意图;  FIG. 8 is a schematic structural diagram of another access device according to an embodiment of the present disclosure;
图 9是本发明实施例提供的另一种接入设备的结构示意图;  FIG. 9 is a schematic structural diagram of another access device according to an embodiment of the present disclosure;
图 10是本发明实施例提供的一种网关设备的结构示意图;  FIG. 10 is a schematic structural diagram of a gateway device according to an embodiment of the present disclosure;
图 11是本发明实施例提供的另一种网关设备的结构示意图  FIG. 11 is a schematic structural diagram of another gateway device according to an embodiment of the present disclosure;
图 12是本发明实施例提供的另一种网关设备的结构示意图  FIG. 12 is a schematic structural diagram of another gateway device according to an embodiment of the present disclosure;
图 13是本发明实施例提供的一种调整带宽的系统的结构示意图  FIG. 13 is a schematic structural diagram of a system for adjusting bandwidth according to an embodiment of the present disclosure;
图 14是本发明实施例提供的另一种接入设备的结构示意图  FIG. 14 is a schematic structural diagram of another access device according to an embodiment of the present disclosure;
图 15是本发明实施例提供的另一种接入设备的结构示意图  FIG. 15 is a schematic structural diagram of another access device according to an embodiment of the present disclosure;
图 16是本发明实施例提供的另一种接入设备的结构示意图  FIG. 16 is a schematic structural diagram of another access device according to an embodiment of the present disclosure;
图 17是本发明实施例提供的一种网关设备的结构示意图;  FIG. 17 is a schematic structural diagram of a gateway device according to an embodiment of the present disclosure;
图 18是本发明实施例提供的另一种网关设备的结构示意图;  FIG. 18 is a schematic structural diagram of another gateway device according to an embodiment of the present disclosure;
图 19是本发明实施例提供的另一种网关设备的结构示意图;  FIG. 19 is a schematic structural diagram of another gateway device according to an embodiment of the present disclosure;
图 20是本发明实施例提供的另一种调整带宽的系统的结构示意图。 具体实施方式  FIG. 20 is a schematic structural diagram of another system for adjusting bandwidth according to an embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention will be described in detail with reference to the accompanying drawings. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative work are within the scope of the present invention.
图 1是本发明实施例提供的一种带宽调整方法的流程示意图, 如图 1所示, 包括:  1 is a schematic flowchart of a bandwidth adjustment method according to an embodiment of the present invention. As shown in FIG. 1, the method includes:
101、 接收网关设备发送的当前业务的业务类型信息;  101. Receive service type information of a current service sent by the gateway device.
102、 根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所 述当前业务的 QoS;  102. Adjust, according to the service type information, a bandwidth currently used by the current service, to ensure QoS of the current service.
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。  The bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
可选的, 可以预先为当前用户配置所述带宽参数所指示的带宽, 当前用户 使用上述当前业务时, 再根据当前业务的类型当前业务当前使用的带宽, 以保 证所述当前业务的 QoS。 这样可以实现为不同用户配置不同的带宽, 同时, 还 可以才艮据为不同业务类型的业务配置不同的带宽。 Optionally, the current user may be configured with the bandwidth indicated by the bandwidth parameter, the current user. When the current service is used, the current bandwidth of the current service is used according to the current service type to ensure the QoS of the current service. In this way, different bandwidths can be configured for different users, and at the same time, different bandwidths can be configured according to services of different service types.
作为一种可选的实施方式,本实施例可以由于 AC或 AP设备来实现上述方 法, 还可以 AC将步骤 102调整后的带宽信息发送至 AP, 由 AP完成调整当前 业务的带宽。  As an optional implementation, in this embodiment, the AC or the AP device can implement the foregoing method, and the AC can also send the adjusted bandwidth information to the AP, and the AP completes the adjustment of the current service bandwidth.
上述技术方案中, 通过接收网关设备发送的当前业务的业务类型信息; 根 据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述当前业务 的 QoS; 其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参 数为所述当前用户配置的所述带宽参数所指示的带宽。 这样可以实现为不同用 户配置不同的带宽, 且可以根据用户当前使用的业务类型调整带宽, 以保证所 述当前业务的 QoS。 从而实现针对不同用户和不同业务进行带宽限制和 QoS保 障。 图 2是本发明实施例提供的另一种带宽调整方法的流程示意图, 如图 2所 示, 包括:  In the foregoing technical solution, the service type information of the current service sent by the gateway device is received; the bandwidth currently used by the current service is adjusted according to the service type information, to ensure the QoS of the current service; wherein, the current service is currently The bandwidth used is the bandwidth indicated by the bandwidth parameter configured by the current user according to the acquired bandwidth parameter of the current user. In this way, different bandwidths can be configured for different users, and the bandwidth can be adjusted according to the service type currently used by the user to ensure the QoS of the current service. This enables bandwidth throttling and QoS guarantees for different users and different services. 2 is a schematic flowchart of another bandwidth adjustment method according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
201、 获取携带所述当前用户的带宽参数的消息。  201. Acquire a message carrying a bandwidth parameter of the current user.
作为一种可选的实施方式, 步骤 201可以包括:  As an optional implementation manner, step 201 may include:
获取服务器发送的携带当前用户的带宽参数的接入响应消息。  Obtain an access response message sent by the server that carries the bandwidth parameter of the current user.
可选的, 该服务器可以是 AAA服务器, 获取上述消息可以是在 Radius (通 信领域中一个协议名称, 无具体的中文意思) 协议的接入响应消息 (例如: Access-Response消息), 即在该接入响应消息扩展上述当前用户的带宽参数。  Optionally, the server may be an AAA server, and the foregoing message may be an access response message (for example, an Access-Response message) in a Radius (a protocol name in the communication field, no specific Chinese meaning) protocol, that is, in the The access response message extends the bandwidth parameters of the current user.
作为一种可选的实施方式, 所述带宽参数可以包括:  As an optional implementation manner, the bandwidth parameter may include:
用户最大上行带宽参数 ( Maximum Bit Rate For Uplink, MBR-UL )、 用户最 大下行带宽参数 ( Maximum Bit Rate For Downlink, MBR-DL )、 用户保障上行 带宽参数( Guaranteed Bit Rate For Uplink, GBR-UL )和用户保障下行带宽参数 ( Guaranteed Bit Rate For Downlink, GBR-DL );  Maximum Bit Rate For Uplink (MBR-UL), Maximum Bit Rate For Downlink (MBR-DL), and Guaranteed Bit Rate For Uplink (GBR-UL) Guaranteed Bit Rate For Downlink (GBR-DL);
所述带宽参数所指示的带宽可以包括:  The bandwidth indicated by the bandwidth parameter may include:
在网络资源状态未达到预设阔值时, 所述 MBR-UL指示的上行带宽, 所述 MBR-DL指示的下行带宽; 或者 在网络资源状态达到预设阈值时, 所述 GBR-UL 指示的上行带宽, 所述 GBR-DL指示的下行带宽。 When the network resource status does not reach the preset threshold, the uplink bandwidth indicated by the MBR-UL, and the downlink bandwidth indicated by the MBR-DL; or The uplink bandwidth indicated by the GBR-UL and the downlink bandwidth indicated by the GBR-DL when the network resource state reaches a preset threshold.
可选的, 上述网络资源状态可以是指网络资源使用率, 如上述预设阐值为 80%, 那么当网络资源状态小于 80%时, 所述带宽参数所指示的带宽可以包括: 所述 MBR-UL指示的上行带宽, 所述 MBR-DL指示的下行带宽。 当那么当网络 资源状态大小于 80%时, 所述带宽参数所指示的带宽可以包括: 所述 GBR-UL 指示的上行带宽, 所述 GBR-DL指示的下行带宽。  Optionally, the foregoing network resource status may be a network resource usage rate, where the preset value is 80%, and when the network resource status is less than 80%, the bandwidth indicated by the bandwidth parameter may include: the MBR. - Upstream bandwidth indicated by UL, downlink bandwidth indicated by the MBR-DL. When the network resource status is greater than 80%, the bandwidth indicated by the bandwidth parameter may include: an uplink bandwidth indicated by the GBR-UL, and a downlink bandwidth indicated by the GBR-DL.
可选的, 上述带宽参数可以采用 Radius协议采用类型、 长度和值(即 Type Length Value, TLV )的形式定义(例如:类型为字符型、长度为 8,值为 abcdefgh ), 上述带宽参数都以 4个字节进行定义, 其中, 1个字节为类型值, 另 1个字节为 长度值, 另外 2个字节为带宽值。  Optionally, the foregoing bandwidth parameter may be defined by using a Radius protocol in the form of a type, a length, and a value (for example, a type of character, a length of 8, and a value of abcdefgh). Four bytes are defined, where 1 byte is a type value, the other 1 byte is a length value, and the other 2 bytes are bandwidth values.
202、 根据获取所述带宽参数, 为所述当前用户配置所述带宽参数所指示的 带宽。  202. Configure, according to the obtaining the bandwidth parameter, a bandwidth indicated by the bandwidth parameter for the current user.
作为一种可选的实施方式, 步骤 202还可以包括:  As an optional implementation manner, step 202 may further include:
在网络资源状态未达到预设阐值时, 根据获取所述带宽参数, 为所述当前 用户配置所述 MBR-UL指示的上行带宽, 所述 MBR-DL指示的下行带宽; 或者 在网络资源状态达到预设阈值时, 根据获取所述带宽参数, 为所述当前用 户配置所述 GBR-UL指示的上行带宽, 所述 GBR-DL指示的下行带宽。  When the network resource status does not reach the preset value, the uplink bandwidth indicated by the MBR-UL, the downlink bandwidth indicated by the MBR-DL, or the network resource status is configured for the current user according to the obtained bandwidth parameter. When the preset threshold is reached, the uplink bandwidth indicated by the GBR-UL and the downlink bandwidth indicated by the GBR-DL are configured for the current user according to the obtained bandwidth parameter.
这样可以实现在网络资源为不同状态时, 为用户配置不同的带宽。  This allows users to configure different bandwidths when the network resources are in different states.
203、 将携带所述带宽参数的消息发送给网关设备, 以便所述网关设备与所 述当前用户进行业务传输时使用所述带宽。  203. Send a message carrying the bandwidth parameter to a gateway device, so that the bandwidth is used by the gateway device to perform service transmission with the current user.
需要说明的是, 在本发明中, 为用户配置的带宽包括: 接入节点 (例如: AP或 AC )为用户配置的带宽和网关设备为用户配置的带宽。 当然这两个带宽 可以是相同的。 即用户与接入节点进行业务传输时, 使用接入节点为用户配置 的带宽, 当用户与网关设备进行业务传输时, 使用网关设备为用户配置的带宽。  It should be noted that, in the present invention, the bandwidth configured for the user includes: the bandwidth configured by the access node (eg, AP or AC) for the user and the bandwidth configured by the gateway device for the user. Of course these two bandwidths can be the same. That is, when the user and the access node perform service transmission, the bandwidth configured by the access node for the user is used, and when the user transmits the service with the gateway device, the bandwidth configured by the gateway device for the user is used.
可选的, 以便所述网关设备与所述当前用户进行业务传输时使用所述带宽 可以包括:  Optionally, the using the bandwidth when the gateway device performs service transmission with the current user may include:
网关设备根据获取所述带宽参数, 为所述当前用户配置所述带宽参数所指 示的带宽。  The gateway device configures, according to the obtained bandwidth parameter, a bandwidth indicated by the bandwidth parameter for the current user.
作为一种可选的实施方式, 步骤 203可以包括: 将携带所述带宽参数的报告请求消息发送给网关设备; 或者 将携带所述带宽参数的报告请求消息通过服务器发送至所述网关设备。 上述服务器可以是 AAA服务器。 As an optional implementation manner, step 203 may include: Sending a report request message carrying the bandwidth parameter to the gateway device; or sending a report request message carrying the bandwidth parameter to the gateway device by using a server. The above server may be an AAA server.
可选的, 上述报告请求消息可以是 Radius 协议的报告请求消息 (例如: Accounting Request消息 )。  Optionally, the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
204、 接收网关设备发送的当前业务的业务类型信息。  204. Receive service type information of a current service sent by the gateway device.
作为一种可选的实施方式, 步骤 204可以包括:  As an optional implementation manner, step 204 may include:
接收所述网关设备发送的 IP报文头携带有业务类型标识的 IP报文,所述业 务类型标识用于标识所述当前业务的业务类型。  The IP packet header sent by the gateway device carries an IP packet with a service type identifier, where the service type identifier is used to identify a service type of the current service.
可选的, 若当前业务为 IPv4报文对应的业务时,上述 IP报文头就可以是在 差分服务编码点( Differentiated Service Code Point, DSCP )字段表示上述业务 类型标识; 其中, IP 4艮文头为公知的, 此处不作详细说明。  Optionally, if the current service is a service corresponding to the IPv4 packet, the IP packet header may be in the Differentiated Service Code Point (DSCP) field to indicate the service type identifier; The head is well known and will not be described in detail here.
可选的, 若当前业务为 IPv6报文对应的业务时,上述 IP报文头就可以是在 Traffic Class (为 IPv6报文头中字段名称, 无具体的中文意思)字段表示上述业 务类型标识。  Optionally, if the current service is a service corresponding to the IPv6 packet, the IP packet header may be in the Traffic Class (field name in the IPv6 packet header, no specific Chinese meaning) field to indicate the service type identifier.
可选的, 上述 IP报文头携带有业务类型标识的 IP报文中,还可以携带当前 网络状态信息, 例如: 当前网络是否拥塞。 上述业务类型标识和网络状态信息 都是可以是由 IP报文头携带, 且上述业务类型标识和网络状态信息还可以采用 IP报文头的同一字段为表示。 例如: 上述 DSCP字段和 Traffic Class字段表示, 上述 DSCP字段和 Traffic Class字段都是由 8个字节組成,这样就可以用于上述 DSCP字段和 Traffic Class字段其中的 6个字节表示上述业务类型标识, 另 2个 字节表示当前网络状态信息。  Optionally, the IP packet carrying the service type identifier carries the current network status information, for example, whether the current network is congested. The service type identifier and the network status information may be carried by the IP packet header, and the service type identifier and the network status information may also be represented by the same field of the IP packet header. For example: the DSCP field and the Traffic Class field indicate that the DSCP field and the Traffic Class field are both composed of 8 bytes, so that the DSCP field and the Traffic Class field can be used to represent the service type identifier. The other 2 bytes represent the current network status information.
可选的, 当上述消息携带有上述当前网络状态信息时, 在后续调整当前业 务当前使用的带宽时, 就可以综合业务类型和当前网络状态调整当前业务当前 使用的带宽。  Optionally, when the foregoing information carries the current network status information, when the bandwidth currently used by the current service is subsequently adjusted, the current service type and the current network status may be used to adjust the current bandwidth used by the current service.
可选的, 上述业务标识和当前网络状态都可以是以数字或字母进行标识的, 但这些数字和字母都可以是实现本实施例的设备与网关设备预先协商好的, 如 111标识用于标识业务类型 1, 222标识用于标识业务类型 2, 字母 A标识用于 标识当前网络状态拥塞, 字母 B标识用于标识当前网络状态不拥塞。  Optionally, the foregoing service identifier and the current network status may be identified by numbers or letters, but the numbers and letters may be pre-negotiated between the device and the gateway device in this embodiment, for example, the identifier is used to identify The service type 1, the 222 identifier is used to identify the service type 2, the letter A identifier is used to identify the current network state congestion, and the letter B identifier is used to identify that the current network state is not congested.
205、 根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所 述当前业务的 QoS。 205. Adjust, according to the service type information, a bandwidth currently used by the current service, to ensure that the current service is used. Describe the QoS of the current service.
作为一种可选的实施方式, 在执行步骤 205之前, 就可以获取到业务类型 与保证业务的 QoS需要的带宽的对应关系信息, 即预先可以获取到满足每个业 务类型的业务的 QoS所需要带宽的信息。 例如, 满足业务类型 1的 QoS的带宽 为 1M, 满足业务类型 2的 QoS的带宽为 2M等信息。  As an optional implementation, before the step 205 is performed, the correspondence between the service type and the bandwidth required for the QoS of the service is obtained, that is, the QoS required to satisfy the service of each service type is obtained in advance. Bandwidth information. For example, the bandwidth that satisfies the QoS of the service type 1 is 1M, and the bandwidth that satisfies the QoS of the service type 2 is 2M or the like.
这样当获取到当前业务的业务类型信息时, 就可以根据所述业务类型信息 调整所述当前业务当前使用的带宽, 以保证所述当前业务的 QoS。 例如, 当前 业务的业务类型为业务类型 1 ,步骤 205就可以调整当前业务当前使用的带宽为 1M。 当然在本发明中, 当预先没有获取上述对应关系信息时, 步骤 205同样可 以实现, 如可以通过执行本实施例的步骤的设备对业务类型信息进行分析, 分 析得到满足每个业务类型的业务的 QoS所需要带宽的信息。  When the service type information of the current service is obtained, the bandwidth currently used by the current service may be adjusted according to the service type information to ensure the QoS of the current service. For example, if the service type of the current service is service type 1, step 205 can adjust the current bandwidth used by the current service to 1M. Of course, in the present invention, when the corresponding relationship information is not obtained in advance, the step 205 is also implemented. For example, the device that performs the steps of the embodiment analyzes the service type information, and analyzes and obtains the service that satisfies each service type. Information about the bandwidth required for QoS.
上述技术方案中, 在上面实施例的基础上增加了, 详细介绍为用户配置带 宽的实现方式, 同时,还可以实现针对不同用户和不同业务进行带宽限制和 QoS 保障。 图 3是本发明实施例提供的另一种带宽调整方法的流程示意图, 如图 3所 示, 包括:  In the foregoing technical solution, the foregoing embodiment is added, and the implementation manner of configuring the bandwidth for the user is introduced in detail, and at the same time, bandwidth limitation and QoS guarantee for different users and different services can be implemented. FIG. 3 is a schematic flowchart of another bandwidth adjustment method according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
301、 接收网关设备发送的当前业务的业务类型信息;  301. Receive service type information of a current service sent by the gateway device.
302、 根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所 述当前业务的 QoS;  302. Adjust, according to the service type information, a bandwidth currently used by the current service, to ensure QoS of the current service.
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。  The bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
可选的, 上述为所述当前用户配置的所述带宽参数所指示的带宽的实现方 式可以参考第二个实施例。  Optionally, the foregoing implementation manner of the bandwidth indicated by the bandwidth parameter configured by the current user may refer to the second embodiment.
303、 将所述当前用户的位置信息以及所述当前用户的用户信息发送至所述 网关设备, 以便所述网关设备根据所述位置信息调整所述当前用户当前使用的 带宽为当前位置的网络资源匹配的带宽, 所述当前位置是所述位置信息指示的 位置。  303. Send the location information of the current user and the user information of the current user to the gateway device, so that the gateway device adjusts, according to the location information, a network resource that is currently used by the current user as a current location. The matched bandwidth, the current location being the location indicated by the location information.
作为一种可选的实施方式, 上述当前用户的位置信息可以包括如下至少一 项: SSID、 接入节点标识( Access Point Identifier, APID )、 地域标识 (例如: Domain ID )和呼叫地域标识( Calling- Domain ID ) 等; As an optional implementation manner, the location information of the current user may include at least one of the following: SSID, Access Point Identifier (APID), area identifier (for example: Domain ID), and Calling-Domain ID (calling-Domain ID);
可选的, 上述位置信息都可以是由编号的形式进行发送, 当然该编号可以 是由实现本实施例的设备与网关设备预先协商好的。  Optionally, the foregoing location information may be sent by using a number. The number may be pre-negotiated by the device implementing the embodiment and the gateway device.
作为一种可选的实施方式, 步骤 303可以包括:  As an optional implementation manner, step 303 may include:
将携带有所述当前用户的位置信息以及所述当前用户的用户信息的 ·ί艮告请 求消息发送至所述网关设备。  Sending a message request message carrying the current user's location information and the current user's user information to the gateway device.
可选的, 上述报告请求消息可以是 Radius 协议的报告请求消息 (例如: Accounting Request消息 )。  Optionally, the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
可选的, 当所述方法还可以包括:  Optionally, when the method further includes:
获取携带所述当前用户的带宽参数的消息;  Obtaining a message carrying a bandwidth parameter of the current user;
根据获取所述带宽参数, 为所述当前用户配置所述带宽参数所指示的带宽; 将携带所述带宽参数的消息发送给网关设备, 以便所述网关设备与所述当 前用户进行业务传输时使用所述带宽。  And configuring a bandwidth indicated by the bandwidth parameter for the current user according to the obtained bandwidth parameter; sending a message carrying the bandwidth parameter to a gateway device, so that the gateway device uses the service when the service is transmitted by the current user The bandwidth.
其中, 上述步骤都可以参考实施例二, 此处不作详细说明。  For the above steps, reference may be made to the second embodiment, which is not described in detail herein.
可选的, 步驟 303发送的信息可以是同上述带宽参数一起发送给网关设备, 如在 Radius协议的报告请求消息(例如: Accounting Request消息)携带上述用 户位置信息、 用户信息和带宽参数发送给网关设备。  Optionally, the information sent by the step 303 may be sent to the gateway device together with the foregoing bandwidth parameter, for example, the report request message (for example, an Accounting Request message) in the Radius protocol carries the user location information, the user information, and the bandwidth parameter to the gateway. device.
304、 接收所述网关设备发送用于指示所述当前位置的网络资源匹配的带宽 的指示参数。  304. Receive an indication parameter that is sent by the gateway device to indicate a bandwidth that the network resource of the current location matches.
305、 调整所述当前用户当前使用的带宽为当前位置的网络资源匹配的带 宽。  305. Adjust a bandwidth that is currently used by the current user to match a bandwidth of a network resource of the current location.
可选的, 上述当前位置的网络资源匹配的带宽可以是指适合当前位置的网 络资源的带宽。 如当前位置的网络资源比较丰富时, 该位置的网络资源匹配的 带宽就比较大, 当前位置的网络资源比较少时, 该位置的网络资源匹配的带宽 就比较小。 当前位置的网络资源匹配的带宽还可以是使用当前位置的网络资源 用户数量成反正的带宽, 即使用当前位置的网络资源用户数量多 (例如, 市中 心) 时, 当前位置的网络资源匹配的带宽就小, 使用当前位置的网络资源用户 数量少 (例如: 郊区) 时, 当前位置的网络资源匹配的带宽就大。  Optionally, the bandwidth matched by the network resource of the current location may be the bandwidth of the network resource suitable for the current location. If the network resources of the current location are relatively rich, the bandwidth of the network resources at the location is relatively large. When the network resources of the current location are relatively small, the bandwidth of the network resources at the location is relatively small. The bandwidth matched by the network resource of the current location may also be the bandwidth of the network resource user using the current location, that is, the bandwidth of the network resource of the current location when the number of network resource users using the current location is large (for example, the downtown area). Small, when the number of users using the current location network resources is small (for example, a suburb), the network resources of the current location match the bandwidth.
需要说明的是, 步骤 303、 步骤 304、 步骤 305的执行时间与步骤 301、 步 骤 302没有限定, 步骤 303、 步驟 304和步骤 305可以在步骤 301和步骤 302之 后执行, 也可以是在步骤 301和步骤 302之前执行。 当步骤 303、 步骤 304和步 骤 305在步骤 301和步骤 302之后执行时, 步骤 303、 步骤 304和步骤 305中的 当前用户当前使用的带宽就是步骤 302调整后的当前业务当前使用的带宽; 当 步骤 303、 步骤 304和步骤 305在步骤 301和步骤 302之前执行时, 步骤 303、 步骤 304和步骤 305中的当前用户当前使用的带宽就是预先根据获取的当前用 户的带宽参数, 为所述当前用户配置的所述带宽参数所指示的带宽,且步骤 302 中当前业务当前使用的带宽就为步骤 305调整后的当前用户当前使用的带宽。 It should be noted that the execution time of step 303, step 304, step 305 and step 301, step The step 302 is not limited. Step 303, step 304 and step 305 may be performed after step 301 and step 302, or may be performed before step 301 and step 302. When the step 303, the step 304, and the step 305 are performed after the step 301 and the step 302, the bandwidth currently used by the current user in the step 303, the step 304, and the step 305 is the bandwidth currently used by the current service adjusted in step 302; 303. Step 304 and step 305 are performed before step 301 and step 302. The current bandwidth used by the current user in step 303, step 304, and step 305 is configured according to the obtained bandwidth parameter of the current user in advance. The bandwidth indicated by the bandwidth parameter, and the bandwidth currently used by the current service in step 302 is the bandwidth currently used by the current user adjusted in step 305.
上述技术方案中, 在上面实施例的基础上增加了, 根据用户的位置信息调 整带宽的实施方式, 同时, 还可以实现针对不同用户和不同业务进行带宽限制 和 QoS保障。 图 4是本发明实施例提供的另一种带宽调整方法的流程示意图, 如图 4所 示, 包括:  In the foregoing technical solution, the implementation manner of adjusting the bandwidth according to the location information of the user is added on the basis of the foregoing embodiments, and at the same time, bandwidth limitation and QoS guarantee for different users and different services can be implemented. FIG. 4 is a schematic flowchart of another bandwidth adjustment method according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
401、 识别当前业务的业务类型;  401. Identify a service type of the current service.
402、 根据所述当前业务的业务类型调整所述当前业务当前使用的带宽, 以 保证所述当前业务的 QoS;  402. Adjust, according to the service type of the current service, a bandwidth currently used by the current service, to ensure QoS of the current service.
403、 给接入控制节点发送所述当前业务的业务类型信息, 以便所述接入控 制节点根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述 当前业务的 QoS;  403. Send the service type information of the current service to the access control node, so that the access control node adjusts the current bandwidth used by the current service according to the service type information to ensure the QoS of the current service.
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。  The bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
可选的, 可以预先为当前用户配置所述带宽参数所指示的带宽, 当前用户 使用上述当前业务时, 再根据当前业务的类型当前业务当前使用的带宽, 以保 证所述当前业务的 QoS。 这样可以实现为不同用户配置不同的带宽, 同时, 还 可以根据为不同业务类型的业务配置不同的带宽。  Optionally, the bandwidth indicated by the bandwidth parameter may be configured in advance for the current user. When the current user uses the current service, the current service currently uses the bandwidth according to the current service type to ensure the QoS of the current service. This allows different users to be configured with different bandwidths. At the same time, different bandwidths can be configured for services of different service types.
作为一种可选的实施方式本实施例可以由于网关设备来实现上述方法。 上述技术方案中, 识别当前业务的业务类型; 根据所述当前业务的业务类 型调整所述当前业务当前使用的带宽, 以保证所述当前业务的 QoS; 给接入控 制节点发送所述当前业务的业务类型信息, 以便所述接入控制节点根据所述业 务类型信息调整所述当前业务当前使用的带宽, 以保证所述当前业务的 QoS; 其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为所述 当前用户配置的所述带宽参数所指示的带宽。 这样可以实现为不同用户配置不 同的带宽, 且可以根据用户当前使用的业务类型调整带宽, 以保证所述当前业 务的 QoS。 从而实现针对不同用户和不同业务进行带宽限制和 QoS保障。 图 5是本发明实施例提供的另一种带宽调整方法的流程示意图, 如图 5所 示, 包括: As an optional implementation manner, the embodiment may implement the foregoing method by using a gateway device. In the foregoing technical solution, the service type of the current service is identified; the bandwidth currently used by the current service is adjusted according to the service type of the current service, to ensure the QoS of the current service; and the current service is sent to the access control node. Service type information, so that the access control node is based on the industry The traffic type information is used to adjust the bandwidth currently used by the current service to ensure the QoS of the current service. The bandwidth currently used by the current service is configured according to the current user bandwidth parameter of the current user. The bandwidth indicated by the bandwidth parameter. In this way, different bandwidths can be configured for different users, and the bandwidth can be adjusted according to the service type currently used by the user to ensure the QoS of the current service. Thereby achieving bandwidth limitation and QoS guarantee for different users and different services. FIG. 5 is a schematic flowchart of another bandwidth adjustment method according to an embodiment of the present invention. As shown in FIG. 5, the method includes:
501、 接收所述接入控制节点发送的携带所述当前用户的带宽参数的消息。 作为一种可选的实施方式, 步骤 501可以包括:  501. Receive a message that is sent by the access control node and carries a bandwidth parameter of the current user. As an optional implementation manner, step 501 may include:
接收所述接入控制节点发送的携带所述带宽参数的报告请求消息; 或者 接收所述接入控制节点通过服务器发送的携带所述带宽参数的报告请求消 息。  Receiving a report request message that is sent by the access control node and carrying the bandwidth parameter; or receiving a report request message that is sent by the access control node and sent by the server to carry the bandwidth parameter.
上述服务器可以是 AAA服务器。  The above server can be an AAA server.
可选的, 上述报告请求消息可以是 Radius 协议的报告请求消息 (例如: Accounting Request消息 )。  Optionally, the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
作为一种可选的实施方式, 所述带宽参数可以包括:  As an optional implementation manner, the bandwidth parameter may include:
MB -UL ( Maximum Bit Rate For Uplink, MBR-UL )、 MBR-DL ( Maximum Bit Rate For Downlink, MBR-DL )、 GB -UL ( Guaranteed Bit Rate For Uplink, GB -UL )和 GBR-DL ( Guaranteed Bit Rate For Downlink, GB -DL );  MB -UL (Maximum Bit Rate For Uplink, MBR-UL), MBR-DL (Maximum Bit Rate For Downlink, MBR-DL), GB -UL ( Guaranteed Bit Rate For Uplink, GB -UL ) and GBR-DL ( Guaranteed Bit Rate For Downlink, GB -DL );
所述带宽参数所指示的带宽可以包括:  The bandwidth indicated by the bandwidth parameter may include:
在网络资源状态未达到预设阈值时, 所述 MBR-UL指示的上行带宽, 所述 MBR-DL指示的下行带宽; 或者  When the network resource status does not reach the preset threshold, the uplink bandwidth indicated by the MBR-UL, and the downlink bandwidth indicated by the MBR-DL; or
在网络资源状态达到预设阈值时, 所述 GBR-UL 指示的上行带宽, 所述 GBR-DL指示的下行带宽。  The uplink bandwidth indicated by the GBR-UL and the downlink bandwidth indicated by the GBR-DL when the network resource state reaches a preset threshold.
可选的, 上述带宽参数可以采用 Radius协议采用 TLV形式定义, 上述带宽 参数都以 4个字节进行定义, 其中, 1个字节为类型值, 另 1个字节为长度值, 另外 2个字节为带宽值。  Optionally, the foregoing bandwidth parameter may be defined by using a Radius protocol in a TLV format. The foregoing bandwidth parameters are defined by 4 bytes, where 1 byte is a type value, another 1 byte is a length value, and the other 2 The byte is the bandwidth value.
502、 根据所述带宽参数信息为所述当前用户配置所述带宽参数所指示的带 宽。 需要说明的是, 在本发明中, 为用户配置的带宽包括: 接入节点 (例如:502. Configure, according to the bandwidth parameter information, a bandwidth indicated by the bandwidth parameter for the current user. It should be noted that, in the present invention, the bandwidth configured for the user includes: an access node (for example:
AP或 AC )为用户配置的带宽和网关设备为用户配置的带宽。 当然这两个带宽 可以是相同的。 即用户与接入节点进行业务传输时, 使用接入节点为用户配置 的带宽, 当用户与网关设备进行业务传输时, 使用网关设备为用户配置的带宽。 AP or AC) The bandwidth configured for the user and the bandwidth configured by the gateway device for the user. Of course these two bandwidths can be the same. That is, when the user and the access node perform service transmission, the bandwidth configured by the access node for the user is used, and when the user transmits the service with the gateway device, the bandwidth configured by the gateway device for the user is used.
作为一种可选的实施方式, 步骤 502还可以包括:  As an optional implementation manner, step 502 may further include:
在网络资源状态未达到预设阈值时, 根据获取所述带宽参数, 为所述当前 用户配置所述 MBR-UL指示的上行带宽, 所述 MBR-DL指示的下行带宽; 或者 在网络资源状态达到预设阈值时, 根据获取所述带宽参数, 为所述当前用 户配置所述 GBR-UL指示的上行带宽, 所述 GBR-DL指示的下行带宽。  When the network resource status does not reach the preset threshold, the uplink bandwidth indicated by the MBR-UL, the downlink bandwidth indicated by the MBR-DL is configured for the current user, or the network resource status is reached. When the threshold is preset, the uplink bandwidth indicated by the GBR-UL and the downlink bandwidth indicated by the GBR-DL are configured for the current user according to the obtained bandwidth parameter.
这样可以实现在网络资源为不同状态时, 为用户配置不同的带宽。  This allows users to configure different bandwidths when the network resources are in different states.
503、 识别当前业务的业务类型。  503. Identify a service type of the current service.
504、 根据所述当前业务的业务类型调整所述当前业务当前使用的带宽, 以 保证所述当前业务的 QoS。  504. Adjust, according to the service type of the current service, a bandwidth currently used by the current service, to ensure QoS of the current service.
作为一种可选的实施方式, 在执行步骤 504之前, 就可以获取到业务类型 与保证业务的 QoS需要的带宽的对应关系信息, 即预先可以获取到满足每个业 务类型的业务的 QoS所需要带宽的信息。 例如, 满足业务类型 1的 QoS的带宽 为 1M, 满足业务类型 2的 QoS的带宽为 2M等信息。  As an optional implementation manner, before performing step 504, the relationship between the service type and the bandwidth required for the QoS of the guaranteed service may be obtained, that is, the QoS required to satisfy the service of each service type may be acquired in advance. Bandwidth information. For example, the bandwidth that satisfies the QoS of the service type 1 is 1M, and the bandwidth that satisfies the QoS of the service type 2 is 2M or the like.
这样当获取到当前业务的业务类型信息时, 就可以根据所述业务类型信息 调整所述当前业务当前使用的带宽, 以保证所述当前业务的 QoS。 例如, 当前 业务的业务类型为业务类型 1 ,步骤 504就可以调整当前业务当前使用的带宽为 1M。 当然在本发明中, 当预先没有获取上述对应关系信息时, 步骤 504同样可 以实现, 如可以通过执行本实施例的步骤的设备对业务类型信息进行分析, 分 析得到满足每个业务类型的业务的 QoS所需要带宽的信息。  When the service type information of the current service is obtained, the bandwidth currently used by the current service may be adjusted according to the service type information to ensure the QoS of the current service. For example, if the service type of the current service is service type 1, step 504 can adjust the current bandwidth used by the current service to be 1M. Of course, in the present invention, when the corresponding relationship information is not obtained in advance, the step 504 is also implemented. For example, the device that performs the steps of the embodiment analyzes the service type information, and analyzes and obtains the service that satisfies each service type. Information about the bandwidth required for QoS.
505、 给接入控制节点发送所述当前业务的业务类型信息, 以便所述接入控 制节点根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述 当前业务的 QoS。  505. Send the service type information of the current service to the access control node, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information to ensure the QoS of the current service.
作为一种可选的实施方式, 步骤 505可以包括:  As an optional implementation manner, step 505 may include:
给接入控制节点发送 IP报文头携带有业务类型标识的 IP报文,所述业务类 型标识用于标识所述当前业务的业务类型。  And sending, by the access control node, an IP packet carrying an IP packet with a service type identifier, where the service type identifier is used to identify a service type of the current service.
可选的, 若当前业务为 IPv4报文对应的业务时,上述 IP报文头就可以是在 DSCP字段表示上述业务类型标识。 Optionally, if the current service is a service corresponding to the IPv4 packet, the IP packet header may be The DSCP field indicates the above service type identifier.
可选的, 若当前业务为 IPv6报文对应的业务时,上述 IP报文头就可以是在 Traffic Class字段表示上述业务类型标识。  Optionally, if the current service is a service corresponding to the IPv6 packet, the IP packet header may be in the Traffic Class field to indicate the service type identifier.
可选的, 上述 IP报文头携带有业务类型标识的 IP报文中,还可以携带当前 网络状态信息, 例如: 当前网络是否拥塞。 上述业务类型标识和网络状态信息 都是可以是由 IP报文头携带, 且上述业务类型标识和网络状态信息还可以采用 IP报文头的同一字段为表示。 例如: 上述 DSCP字段和 Traffic Class字段表示, 上述 DSCP字段和 Traffic Class字段都是由 8个字节组成,这样就可以用于上述 DSCP字段和 Traffic Class字段其中的 6个字节表示上述业务类型标识, 另 2个 字节表示当前网络状态信息。  Optionally, the IP packet carrying the service type identifier carries the current network status information, for example, whether the current network is congested. The service type identifier and the network status information may be carried by the IP packet header, and the service type identifier and the network status information may also be represented by the same field of the IP packet header. For example: the DSCP field and the Traffic Class field indicate that the DSCP field and the Traffic Class field are both composed of 8 bytes, so that the DSCP field and the Traffic Class field can be used to represent the service type identifier. The other 2 bytes represent the current network status information.
可选的, 当上述消息携带有上述当前网络状态信息时, 在接入控制节点后 续调整当前业务当前使用的带宽时, 就可以综合业务类型和当前网络状态调整 当前业务当前使用的带宽。 当然, 步骤 504可以包括:  Optionally, when the foregoing information carries the current network status information, when the access control node subsequently adjusts the current bandwidth used by the current service, the current service type and the current network status may be used to adjust the bandwidth currently used by the current service. Of course, step 504 can include:
综合业务类型和当前网络状态调整当前业务当前使用的带宽, 以保证所述 当前业务的 QoS。  The integrated service type and the current network state adjust the bandwidth currently used by the current service to ensure the QoS of the current service.
可选的, 上述业务标识和当前网络状态都可以是以数字或字母进行标识的, 但这些数字和字母都可以是实现本实施例的设备与网关设备预先协商好的, 如 111标识用于标识业务类型 1, 222标识用于标识业务类型 2, 字母 A标识用于 标识当前网络状态拥塞, 字母 B标识用于标识当前网络状态不拥塞。  Optionally, the foregoing service identifier and the current network status may be identified by numbers or letters, but the numbers and letters may be pre-negotiated between the device and the gateway device in this embodiment, for example, the identifier is used to identify The service type 1, the 222 identifier is used to identify the service type 2, the letter A identifier is used to identify the current network state congestion, and the letter B identifier is used to identify that the current network state is not congested.
上述技术方案中, 在上面实施例的基础上增加了, 详细介绍为用户配置带 宽的实现方式, 同时,还可以实现针对不同用户和不同业务进行带宽限制和 QoS 保障。 图 6是本发明实施例提供的另一种带宽调整方法的流程示意图, 如图 6所 示, 包括:  In the foregoing technical solution, the foregoing embodiment is added, and the implementation manner of configuring the bandwidth for the user is introduced in detail, and at the same time, bandwidth limitation and QoS guarantee for different users and different services can be implemented. FIG. 6 is a schematic flowchart of another bandwidth adjustment method according to an embodiment of the present invention. As shown in FIG. 6, the method includes:
601、 识别当前业务的业务类型;  601. Identify a service type of the current service.
602、 根据所述当前业务的业务类型调整所述当前业务当前使用的带宽, 以 保证所述当前业务的 QoS;  602. Adjust, according to the service type of the current service, a bandwidth currently used by the current service, to ensure QoS of the current service.
603、 给接入控制节点发送所述当前业务的业务类型信息, 以便所述接入控 制节点根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述 当前业务的 QoS; 603. Send the service type information of the current service to the access control node, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information, to ensure that the QoS of the current service;
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。  The bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
可选的, 上述为所述当前用户配置的所述带宽参数所指示的带宽的实现方 式可以参考上面的实施例。  Optionally, the foregoing implementation manner of the bandwidth indicated by the bandwidth parameter configured by the current user may refer to the foregoing embodiment.
604、 接收所述接入控制节点发送的所述当前用户的位置信息以及所述当前 用户的用户信息。  604. Receive location information of the current user sent by the access control node, and user information of the current user.
作为一种可选的实施方式, 上述当前用户的位置信息可以包括如下至少一 项:  As an optional implementation manner, the location information of the current user may include at least one of the following items:
SSID、 APID、地域标识(例如: Domain ID )和呼叫地域标识( Calling- Domain ID )等;  SSID, APID, territory identifier (for example: Domain ID) and Calling Domain ID (calling-Domain ID);
可选的, 上述位置信息都可以是由编号的形式进行发送, 当然该编号可以 是由实现本实施例的设备与网关设备预先协商好的。  Optionally, the foregoing location information may be sent by using a number. The number may be pre-negotiated by the device implementing the embodiment and the gateway device.
作为一种可选的实施方式, 步骤 604可以包括:  As an optional implementation manner, step 604 may include:
接收接入控制节点发送的携带有所述当前用户的位置信息以及所述当前用 户的用户信息的报告请求消息。  And receiving a report request message that is sent by the access control node and carries the location information of the current user and the user information of the current user.
可选的, 上述报告请求消息可以是 Radius 协议的报告请求消息 (例如: Accounting Request消息 )。  Optionally, the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
可选的, 当所述方法还可以包括:  Optionally, when the method further includes:
接收所述接入控制节点发送的携带所述当前用户的带宽参数的消息; 根据所述带宽参数信息为所述当前用户配置所述带宽参数所指示的带宽。 其中, 上述步骤都可以参考实施例三, 此处不作详细说明。  Receiving, by the access control node, a message carrying a bandwidth parameter of the current user; and configuring, according to the bandwidth parameter information, a bandwidth indicated by the bandwidth parameter for the current user. For the above steps, reference may be made to Embodiment 3, which is not described in detail herein.
可选的, 步骤 604接收的信息可以是同上述带宽参数一起由接入控制节点 发送的, 如接收 Radius协议的报告请求消息(例如: Accounting Request消息), 该请求消息携带上述用户位置信息、 用户信息和带宽参数。  Optionally, the information received by the step 604 may be sent by the access control node together with the foregoing bandwidth parameter, such as receiving a report request message (for example, an Accounting Request message) of the Radius protocol, where the request message carries the user location information, and the user Information and bandwidth parameters.
605、 根据所述位置信息调整所述当前用户当前使用的带宽为当前位置的网 络资源匹配的带宽, 所述当前位置是所述位置信息指示的位置。  605. Adjust, according to the location information, a bandwidth that is currently used by the current user to be a network resource matching bandwidth of the current location, where the current location is a location indicated by the location information.
606、 给所述接入控制节点发送用于指示所述当前位置的网络资源匹配的带 宽的指示参数, 以便所述接入控制节点调整所述当前用户当前使用的带宽为当 前位置的网络资源匹配的带宽。 可选的, 上述当前位置的网络资源匹配的带宽可以是指适合当前位置的网 络资源的带宽。 如当前位置的网络资源比较丰富时, 该位置的网络资源匹配的 带宽就比较大, 当前位置的网络资源比较少时, 该位置的网络资源匹配的带宽 就比较小。 当前位置的网络资源匹配的带宽还可以是使用当前位置的网络资源 用户数量成反正的带宽, 即使用当前位置的网络资源用户数量多 (例如, 市中 心) 时, 当前位置的网络资源匹配的带宽就小, 使用当前位置的网络资源用户 数量少 (例如: 郊区) 时, 当前位置的网絡资源匹配的带宽就大。 606. Send, to the access control node, an indication parameter that is used to indicate that the network resource of the current location matches, so that the access control node adjusts a network resource that is currently used by the current user to be a current location. Bandwidth. Optionally, the bandwidth matched by the network resource of the current location may be the bandwidth of the network resource that is suitable for the current location. If the network resources of the current location are relatively rich, the bandwidth of the network resources in the location is relatively large. When the network resources of the current location are relatively small, the bandwidth of the network resources matching the location is relatively small. The bandwidth matched by the network resource of the current location may also be the bandwidth of the network resource user using the current location, that is, the bandwidth of the network resource of the current location when the number of network resource users using the current location is large (for example, the downtown area). Small, when the number of users using the current location network resources is small (for example, a suburb), the network resources of the current location match the bandwidth.
需要说明的是, 步骤 604、 步骤 605、 步骤 606的执行时间与步驟 601、 步 骤 602和步骤 603没有限定, 步骤 604、 步骤 605、 步骤 606可以在步骤 601、 步骤 602和步骤 603之后执行,也可以是在步骤 601、 步骤 602和步骤 603之前 执行。 当步骤 604、 步骤 605、 步骤 606在步骤 601、 步骤 602和步骤 603之后 执行时, 步骤 604、 步骤 605、 步骤 606中的当前用户当前使用的带宽就是步骤 603调整后的当前业务当前使用的带宽; 当步骤 604、 步骤 605、 步骤 606在步 骤 601、 步骤 602和步骤 603之前执行时, 步骤 604、 步骤 605、 步骤 606中的 当前用户当前使用的带宽就是预先 4艮据获取的当前用户的带宽参数, 为所述当 前用户配置的所述带宽参数所指示的带宽, 且步骤 603 中当前业务当前使用的 带宽就为步骤 305调整后的当前用户当前使用的带宽。  It should be noted that the execution time of step 604, step 605, and step 606 is not limited to step 601, step 602, and step 603. Step 604, step 605, and step 606 may be performed after step 601, step 602, and step 603. It may be performed before step 601, step 602, and step 603. When the step 604, the step 605, and the step 606 are performed after the step 601, the step 602, and the step 603, the bandwidth currently used by the current user in the step 604, the step 605, and the step 606 is the bandwidth currently used by the current service adjusted in step 603. When the step 604, the step 605, and the step 606 are performed before the step 601, the step 602, and the step 603, the bandwidth currently used by the current user in the step 604, the step 605, and the step 606 is the bandwidth of the current user obtained in advance. The parameter is the bandwidth indicated by the bandwidth parameter configured by the current user, and the bandwidth currently used by the current service in step 603 is the bandwidth currently used by the current user adjusted in step 305.
上述技术方案中, 在上面实施例的基础上增加了, 根据用户的位置信息调 整带宽的实施方式, 同时, 还可以实现针对不同用户和不同业务进行带宽限制 和 QoS保障。 下面为本发明装置实施例, 本发明装置实施例用于执行本发明方法实施例 一至二实现的方法, 为了便于说明, 仅示出了与本发明实施例相关的部分, 具 体技术细节未揭示的, 请参照本发明实施例一和实施例二。 图 7是本发明实施例提供的一种接入设备的结构示意图, 如图 7所示, 包 括: 第一接收单元 11和第一调整单元 12, 其中:  In the foregoing technical solution, the implementation manner of adjusting the bandwidth according to the location information of the user is added on the basis of the foregoing embodiments, and at the same time, bandwidth limitation and QoS guarantee for different users and different services can be implemented. The following is a device embodiment of the present invention. The device embodiment of the present invention is used to perform the method for implementing the first to second embodiments of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown, and the specific technical details are not disclosed. Please refer to Embodiment 1 and Embodiment 2 of the present invention. FIG. 7 is a schematic structural diagram of an access device according to an embodiment of the present invention. As shown in FIG. 7, the method includes: a first receiving unit 11 and a first adjusting unit 12, where:
第一接收单元 11, 用于接收网关设备发送的当前业务的业务类型信息; 所 述当前业务为所述当前用户的业务;  The first receiving unit 11 is configured to receive service type information of a current service sent by the gateway device, where the current service is a service of the current user;
第一调整单元 12, 用于根据所述业务类型信息调整所述当前业务当前使用 的带宽, 以保证所述当前业务的 QoS; a first adjusting unit 12, configured to adjust, according to the service type information, current usage of the current service Bandwidth to guarantee the QoS of the current service;
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。  The bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
可选的, 可以预先为当前用户配置所述带宽参数所指示的带宽, 当前用户 使用上述当前业务时, 再根据当前业务的类型当前业务当前使用的带宽, 以保 证所述当前业务的 QoS。 这样可以实现为不同用户配置不同的带宽, 同时, 还 可以 艮据为不同业务类型的业务配置不同的带宽。  Optionally, the bandwidth indicated by the bandwidth parameter may be configured in advance for the current user. When the current user uses the current service, the current service currently uses the bandwidth according to the current service type to ensure the QoS of the current service. This allows different users to be configured with different bandwidths. At the same time, different bandwidths can be configured for services of different service types.
作为一种可选的实施方式, 所述设备可以是 AC或 AP设备。  As an optional implementation manner, the device may be an AC or an AP device.
上述技术方案中, 通过接收网关设备发送的当前业务的业务类型信息; 根 据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述当前业务 的 QoS; 其中, 所述当前业务当前使用的带宽为根据荻取的当前用户的带宽参 数为所述当前用户配置的所述带宽参数所指示的带宽。 这样可以实现为不同用 户配置不同的带宽, 且可以根据用户当前使用的业务类型调整带宽, 以保证所 述当前业务的 QoS。 从而实现针对不同用户和不同业务进行带宽限制和 QoS保 障。 图 8是本发明实施例提供的另一种接入设备的结构示意图, 如图 8所示, 包括: 获取单元 21、 配置单元 22、 第一发送单元 23、 第一接收单元 24和第一 调整单元 25,  In the foregoing technical solution, the service type information of the current service sent by the gateway device is received; the bandwidth currently used by the current service is adjusted according to the service type information, to ensure the QoS of the current service; wherein, the current service is currently The bandwidth used is the bandwidth indicated by the bandwidth parameter configured by the current user according to the bandwidth parameter of the current user that is captured. In this way, different bandwidths can be configured for different users, and the bandwidth can be adjusted according to the service type currently used by the user to ensure the QoS of the current service. This enables bandwidth throttling and QoS guarantees for different users and different services. FIG. 8 is a schematic structural diagram of another access device according to an embodiment of the present invention. As shown in FIG. 8, the method includes: an obtaining unit 21, a configuration unit 22, a first sending unit 23, a first receiving unit 24, and a first adjustment. Unit 25,
获取单元 21 , 用于获取携带所述当前用户的带宽参数的消息。  The obtaining unit 21 is configured to acquire a message that carries the bandwidth parameter of the current user.
作为一种可选的实施方式, 获取单元 21还可以用于获取服务器发送的携带 当前用户的带宽参数的接入响应消息。  As an optional implementation manner, the obtaining unit 21 may be further configured to obtain an access response message that is sent by the server and carries a bandwidth parameter of the current user.
可选的, 该服务器可以是 AAA服务器, 获取上述消息可以是在 Radius (通 信领域中一个协议名称, 无具体的中文意思) 协议的接入响应消息 (例如: Access-Response消息) , 即在该接入响应消息扩展上述当前用户的带宽参数。  Optionally, the server may be an AAA server, and the foregoing message may be an access response message (for example, an Access-Response message) in a Radius (a protocol name in the communication field, no specific Chinese meaning) protocol, that is, in the The access response message extends the bandwidth parameters of the current user.
作为一种可选的实施方式, 所述带宽参数可以包括:  As an optional implementation manner, the bandwidth parameter may include:
MBR-UL, MBR-DL. GBR-UL和 GBR-DL;  MBR-UL, MBR-DL. GBR-UL and GBR-DL;
所述带宽参数所指示的带宽可以包括:  The bandwidth indicated by the bandwidth parameter may include:
在网络资源状态未达到预设阔值时, 所述 MBR-UL指示的上行带宽, 所述 MBR-DL指示的下行带宽; 或者 在网络资源状态达到预设阈值时, 所述 GBR-UL 指示的上行带宽, 所述 GBR-DL指示的下行带宽。 When the network resource status does not reach the preset threshold, the uplink bandwidth indicated by the MBR-UL, and the downlink bandwidth indicated by the MBR-DL; or The uplink bandwidth indicated by the GBR-UL and the downlink bandwidth indicated by the GBR-DL when the network resource state reaches a preset threshold.
可选的, 上迷带宽参数可以采用 Radius协议采用 TLV (为 Radius协议中消 息的定义形式, 没有具体的中文意思) 的形式定义, 上述带宽参数都以 4个字 节进行定义, 其中, 1个字节为类型值, 另 1个字节为长度值, 另外 2个字节为 带宽值。  Optionally, the bandwidth parameter can be defined by using the Radius protocol in the form of a TLV (in the form of a message in the Radius protocol, without specific Chinese meaning). The above bandwidth parameters are defined by 4 bytes, where 1 The byte is a type value, the other 1 byte is the length value, and the other 2 bytes are the bandwidth value.
配置单元 22, 用于根据获取所述带宽参数, 为所述当前用户配置所述带宽 参数所指示的带宽。  The configuration unit 22 is configured to configure, according to the obtained bandwidth parameter, a bandwidth indicated by the bandwidth parameter for the current user.
作为一种可选的实施方式, 配置单元 22还可以用于在网络资源状态未达到 预设阈值时, 根据获取所述带宽参数, 为所述当前用户配置所述 MBR-UL指示 的上行带宽, 所述 MBR-DL指示的下行带宽; 或者  As an optional implementation manner, the configuration unit 22 may be further configured to: when the network resource status does not reach the preset threshold, configure the uplink bandwidth indicated by the MBR-UL for the current user according to the acquiring the bandwidth parameter, The downlink bandwidth indicated by the MBR-DL; or
在网络资源状态达到预设阁值时, 根据获取所述带宽参数, 为所述当前用 户配置所述 GBR-UL指示的上行带宽, 所述 GBR-DL指示的下行带宽。  When the network resource status reaches a preset value, the upstream bandwidth indicated by the GBR-UL and the downlink bandwidth indicated by the GBR-DL are configured for the current user according to the obtained bandwidth parameter.
这样可以实现在网络资源为不同状态时, 为用户配置不同的带宽。  This allows users to configure different bandwidths when the network resources are in different states.
第一发送单元 23, 用于将携带所述带宽参数的消息发送给网关设备, 以便 所述网关设备与所述当前用户进行业务传输时使用所述带宽。  The first sending unit 23 is configured to send a message carrying the bandwidth parameter to the gateway device, so that the bandwidth is used by the gateway device to perform service transmission with the current user.
需要说明的是, 在本发明中, 为用户配置的带宽包括: 接入节点 (例如: AP或 AC )为用户配置的带宽和网关设备为用户配置的带宽。 当然这两个带宽 可以是相同的。 即用户与接入节点进行业务传输时, 使用接入节点为用户配置 的带宽, 当用户与网关设备进行业务传输时, 使用网关设备为用户配置的带宽。  It should be noted that, in the present invention, the bandwidth configured for the user includes: the bandwidth configured by the access node (eg, AP or AC) for the user and the bandwidth configured by the gateway device for the user. Of course these two bandwidths can be the same. That is, when the user and the access node perform service transmission, the bandwidth configured by the access node for the user is used, and when the user transmits the service with the gateway device, the bandwidth configured by the gateway device for the user is used.
可选的, 以便所述网关设备与所述当前用户进行业务传输时使用所述带宽 可以包括:  Optionally, the using the bandwidth when the gateway device performs service transmission with the current user may include:
网关设备根据获取所述带宽参数, 为所述当前用户配置所述带宽参数所指 示的带宽。  The gateway device configures, according to the obtained bandwidth parameter, a bandwidth indicated by the bandwidth parameter for the current user.
作为一种可选的实施方式, 第一发送单元 23还可以用于将携带所述带宽参 数的报告请求消息发送给网关设备; 或者  As an optional implementation manner, the first sending unit 23 may be further configured to send a report request message that carries the bandwidth parameter to the gateway device; or
第一发送单元 23还可以用于将携带所述带宽参数的 4艮告请求消息通过服务 器发送至所述网关设备。  The first sending unit 23 is further configured to send, by using a server, the advertisement request message carrying the bandwidth parameter to the gateway device.
上述服务器可以是 AAA服务器。  The above server can be an AAA server.
可选的, 上述报告请求消息可以是 Radius 协议的报告请求消息 (例如: Accounting Request消息 )。 Optionally, the foregoing report request message may be a report request message of the Radius protocol (for example: Accounting Request message).
第一接收单元 24, 用于接收网关设备发送的当前业务的业务类型信息; 所 述当前业务为所述当前用户的业务。  The first receiving unit 24 is configured to receive service type information of a current service sent by the gateway device, where the current service is a service of the current user.
作为一种可选的实施方式, 第一接收单元 24还可以用于接收所述网关设备 发送的 IP报文头携带有业务类型标识的 IP报文,所述业务类型标识用于标识所 述当前业务的业务类型。  As an optional implementation manner, the first receiving unit 24 may be further configured to receive an IP packet that is sent by the gateway device, where the IP packet header carries the service type identifier, where the service type identifier is used to identify the current Business type of business.
可选的, 若当前业务为 IPv4报文对应的业务时,上述 IP报文头就可以是在 差分服务编码点( Differentiated Service Code Point, DSCP )字段表示上述业务 类型标识; 其中, IP 艮文头为公知的, 此处不作详细说明。  Optionally, if the current service is a service corresponding to the IPv4 packet, the IP packet header may be in the Differentiated Service Code Point (DSCP) field to indicate the service type identifier; wherein, the IP packet header It is well known and will not be described in detail here.
可选的, 若当前业务为 IPv6报文对应的业务时,上述 IP报文头就可以是在 Traffic Class (为 IPv6报文头中字段名称, 无具体的中文意思)字段表示上述业 务类型标识。  Optionally, if the current service is a service corresponding to the IPv6 packet, the IP packet header may be in the Traffic Class (field name in the IPv6 packet header, no specific Chinese meaning) field to indicate the service type identifier.
可选的, 上述 IP报文头携带有业务类型标识的 IP报文中,还可以携带当前 网络状态信息, 例如: 当前网络是否拥塞。 上述业务类型标识和网络状态信息 都是可以是由 IP报文头携带, 且上述业务类型标识和网络状态信息还可以采用 IP报文头的同一字段为表示。 例如: 上述 DSCP字段和 Traffic Class字段表示, 上述 DSCP字段和 Traffic Class字段都是由 8个字节组成,这样就可以用于上述 DSCP字段和 Traffic Class字段其中的 6个字节表示上述业务类型标识, 另 2个 字节表示当前网络状态信息。  Optionally, the IP packet carrying the service type identifier carries the current network status information, for example, whether the current network is congested. The service type identifier and the network status information may be carried by the IP packet header, and the service type identifier and the network status information may also be represented by the same field of the IP packet header. For example: the DSCP field and the Traffic Class field indicate that the DSCP field and the Traffic Class field are both composed of 8 bytes, so that the DSCP field and the Traffic Class field can be used to represent the service type identifier. The other 2 bytes represent the current network status information.
可选的, 当上述消息携带有上述当前网络状态信息时, 在后续调整当前业 务当前使用的带宽时, 就可以综合业务类型和当前网络状态调整当前业务当前 使用的带宽。  Optionally, when the foregoing information carries the current network status information, when the bandwidth currently used by the current service is subsequently adjusted, the current service type and the current network status may be used to adjust the current bandwidth used by the current service.
可选的, 上述业务标识和当前网络状态都可以是以数字或字母进行标识的, 但这些数字和字母都可以是实现本实施例的设备与网关设备预先协商好的, 如 111标识用于标识业务类型 1, 222标识用于标识业务类型 2, 字母 A标识用于 标识当前网络状态拥塞, 字母 B标识用于标识当前网络状态不拥塞。  Optionally, the foregoing service identifier and the current network status may be identified by numbers or letters, but the numbers and letters may be pre-negotiated between the device and the gateway device in this embodiment, for example, the identifier is used to identify The service type 1, the 222 identifier is used to identify the service type 2, the letter A identifier is used to identify the current network state congestion, and the letter B identifier is used to identify that the current network state is not congested.
第一调整单元 25, 用于根据所述业务类型信息调整所述当前业务当前使用 的带宽, 以保证所述当前业务的 QoS。  The first adjusting unit 25 is configured to adjust, according to the service type information, a bandwidth currently used by the current service to ensure QoS of the current service.
作为一种可选的实施方式, 在执行第一调整单元根据所述业务类型信息调 整所述当前业务当前使用的带宽之前, 所述设备就可以获取到业务类型与保证 业务的 QoS需要的带宽的对应关系信息, 即预先可以获取到满足每个业务类型 的业务的 QoS所需要带宽的信息。 例如, 满足业务类型 1的 QoS的带宽为 1M, 满足业务类型 2的 QoS的带宽为 2M等信息。 As an optional implementation manner, the device may obtain the service type and the guarantee before the first adjustment unit adjusts the bandwidth currently used by the current service according to the service type information. The correspondence information of the bandwidth required for the QoS of the service, that is, the information of the bandwidth required for the QoS of the service satisfying each service type can be acquired in advance. For example, the bandwidth that satisfies the QoS of the service type 1 is 1 M, and the bandwidth that satisfies the QoS of the service type 2 is 2 M or the like.
这样当获取到当前业务的业务类型信息时, 就可以根据所述业务类型信息 调整所述当前业务当前使用的带宽, 以保证所述当前业务的 QoS。 例如, 当前 业务的业务类型为业务类型 1, 第一调整单元 25就可以调整当前业务当前使用 的带宽为 1M。当然在本发明中,当预先没有获取上述对应关系信息时,步骤 205 同样可以实现, 如可以通过执行本实施例的步骤的设备对业务类型信息进行分 析, 分析得到满足每个业务类型的业务的 QoS所需要带宽的信息。  When the service type information of the current service is obtained, the bandwidth currently used by the current service may be adjusted according to the service type information to ensure the QoS of the current service. For example, if the service type of the current service is the service type 1, the first adjustment unit 25 can adjust the current bandwidth used by the current service to be 1M. Of course, in the present invention, when the corresponding relationship information is not obtained in advance, step 205 can also be implemented. For example, the device that performs the steps of the embodiment can analyze the service type information, and analyze and obtain the service that satisfies each service type. Information about the bandwidth required for QoS.
上述技术方案中, 在上面实施例的基础上增加了, 详细介绍为用户配置带 宽的实现方式, 同时,还可以实现针对不同用户和不同业务进行带宽限制和 QoS 保障。 图 9是本发明实施例提供的另一种接入设备的结构示意图, 如图 9所示, 包括: 第一接收单元 31、 第一调整单元 32、 第二发送单元 33、 第二接收单元 34和第二调整单元 35 , 其中:  In the foregoing technical solution, the foregoing embodiment is added, and the implementation manner of configuring the bandwidth for the user is introduced in detail, and at the same time, bandwidth limitation and QoS guarantee for different users and different services can be implemented. FIG. 9 is a schematic structural diagram of another access device according to an embodiment of the present invention. As shown in FIG. 9, the method includes: a first receiving unit 31, a first adjusting unit 32, a second sending unit 33, and a second receiving unit 34. And a second adjustment unit 35, wherein:
第一接收单元 31 , 用于接收网关设备发送的当前业务的业务类型信息; 所 述当前业务为所述当前用户的业务;  The first receiving unit 31 is configured to receive service type information of a current service sent by the gateway device, where the current service is a service of the current user;
第一调整单元 32, 用于根据所述业务类型信息调整所述当前业务当前使用 的带宽, 以保证所述当前业务的 QoS;  The first adjusting unit 32 is configured to adjust, according to the service type information, a bandwidth currently used by the current service, to ensure QoS of the current service;
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。  The bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
第二发送单元 33 , 用于将所述当前用户的位置信息以及所述当前用户的用 户信息发送至所述网关设备, 以便所述网关设备根据所述位置信息调整所述当 前用户当前使用的带宽为当前位置的网络资源匹配的带宽, 所述当前位置是所 述位置信息指示的位置。  a second sending unit 33, configured to send location information of the current user and user information of the current user to the gateway device, so that the gateway device adjusts a bandwidth currently used by the current user according to the location information. The bandwidth that matches the network resource of the current location, the current location being the location indicated by the location information.
作为一种可选的实施方式, 上述当前用户的位置信息可以包括如下至少一 项:  As an optional implementation manner, the location information of the current user may include at least one of the following items:
SSID、 接入节点标识( Access Point Identifier, APID )、 地域标识 (例如: Domain ID )和呼叫地域标识( Calling- Domain ID ) 等; 可选的, 上述位置信息都可以是由编号的形式进行发送, 当然该编号可以 是由实现本实施例的设备与网关设备预先协商好的。 SSID, Access Point Identifier (APID), area identifier (for example: Domain ID), and Calling-Domain ID (calling-Domain ID); Optionally, the foregoing location information may be sent by using a number. The number may be pre-negotiated by the device implementing the embodiment and the gateway device.
作为一种可选的实施方式, 第二发送单元 33还可以用于将携带有所述当前 用户的位置信息以及所述当前用户的用户信息的报告请求消息发送至所述网关 设备。  As an optional implementation manner, the second sending unit 33 is further configured to send, to the gateway device, a report request message that carries location information of the current user and user information of the current user.
可选的, 上述报告请求消息可以是 Radius 协议的报告请求消息 (例如: Accounting Request消息 )。  Optionally, the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
第二接收单元 34, 用于接收所述网关设备发送用于指示所述当前位置的网 络资源匹配的带宽的指示参数。  The second receiving unit 34 is configured to receive, by the gateway device, an indication parameter that is used to indicate a bandwidth of the network resource matching of the current location.
第二调整单元 35, 用于调整所述当前用户当前使用的带宽为当前位置的网 络资源匹配的带宽。  The second adjusting unit 35 is configured to adjust a bandwidth that the bandwidth currently used by the current user is a network resource matching of the current location.
可选的, 上述当前位置的网络资源匹配的带宽可以是指适合当前位置的网 络资源的带宽。 如当前位置的网络资源比较丰富时, 该位置的网络资源匹配的 带宽就比较大, 当前位置的网络资源比较少时, 该位置的网络资源匹配的带宽 就比较小。 当前位置的网络资源匹配的带宽还可以是使用当前位置的网络资源 用户数量成反正的带宽, 即使用当前位置的网络资源用户数量多 (例如, 市中 心) 时, 当前位置的网络资源匹配的带宽就小, 使用当前位置的网络资源用户 数量少 (例如: 郊区) 时, 当前位置的网络资源匹配的带宽就大。  Optionally, the bandwidth matched by the network resource of the current location may be the bandwidth of the network resource suitable for the current location. If the network resources of the current location are relatively rich, the bandwidth of the network resources at the location is relatively large. When the network resources of the current location are relatively small, the bandwidth of the network resources at the location is relatively small. The bandwidth matched by the network resource of the current location may also be the bandwidth of the network resource user using the current location, that is, the bandwidth of the network resource of the current location when the number of network resource users using the current location is large (for example, the downtown area). Small, when the number of users using the current location network resources is small (for example, a suburb), the network resources of the current location match the bandwidth.
上述技术方案中, 在上面实施例的基础上增加了, 根据用户的位置信息调 整带宽的实施方式, 同时, 还可以实现针对不同用户和不同业务进行带宽限制 和 QoS保障。 图 10是本发明实施例提供的一种网关设备的结构示意图, 如图 10所示, 包括: 识別单元 41、 第一调整单元 42和第一发送单元 43 , 其中:  In the foregoing technical solution, the implementation manner of adjusting the bandwidth according to the location information of the user is added on the basis of the foregoing embodiments, and at the same time, bandwidth limitation and QoS guarantee for different users and different services can be implemented. FIG. 10 is a schematic structural diagram of a gateway device according to an embodiment of the present invention. As shown in FIG. 10, the method includes: an identifying unit 41, a first adjusting unit 42, and a first sending unit 43, where:
识别单元 41 , 用于识别当前业务的业务类型;  The identifying unit 41 is configured to identify a service type of the current service;
第一调整单元 42, 用于根据所述当前业务的业务类型调整所述当前业务当 前使用的带宽, 以保证所述当前业务的 QoS;  The first adjusting unit 42 is configured to adjust, according to the service type of the current service, a bandwidth currently used by the current service, to ensure QoS of the current service;
第一发送单元 43,用于给接入控制节点发送所述当前业务的业务类型信息, 以便所述接入控制节点根据所述业务类型信息调整所述当前业务当前使用的带 宽, 以保证所述当前业务的 QoS; 其中, 所述所述当前业务当前使用的带宽包括: The first sending unit 43 is configured to send the service type information of the current service to the access control node, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information, to ensure the QoS of the current service; The bandwidth currently used by the current service includes:
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。  The bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
可选的, 可以预先为当前用户配置所述带宽参数所指示的带宽, 当前用户 使用上述当前业务时, 再根据当前业务的类型当前业务当前使用的带宽, 以保 证所述当前业务的 QoS。 这样可以实现为不同用户配置不同的带宽, 同时, 还 可以 艮据为不同业务类型的业务配置不同的带宽。  Optionally, the bandwidth indicated by the bandwidth parameter may be configured in advance for the current user. When the current user uses the current service, the current service currently uses the bandwidth according to the current service type to ensure the QoS of the current service. This allows different users to be configured with different bandwidths. At the same time, different bandwidths can be configured for services of different service types.
作为一种可选的实施方式本实施例可以由于网关设备来实现上述方法。 上述技术方案中, 识別当前业务的业务类型; 根据所述当前业务的业务类 型调整所述当前业务当前使用的带宽, 以保证所述当前业务的 QoS; 给接入控 制节点发送所述当前业务的业务类型信息, 以便所述接入控制节点根据所述业 务类型信息调整所述当前业务当前使用的带宽, 以保证所述当前业务的 QoS; 其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为所述 当前用户配置的所述带宽参数所指示的带宽。 这样可以实现为不同用户配置不 同的带宽, 且可以根据用户当前使用的业务类型调整带宽, 以保证所述当前业 务的 QoS。 从而实现针对不同用户和不同业务进行带宽限制和 QoS保障。 图 11是本发明实施例提供的另一种网关设备的结构示意图, 如图 11所示, 包括: 第一接收单元 51、 配置单元 52、 识别单元 53、 第一调整单元 54和第一 发送单元 55 , 其中:  As an optional implementation manner, the embodiment may implement the foregoing method by using a gateway device. In the foregoing technical solution, the service type of the current service is identified; the bandwidth currently used by the current service is adjusted according to the service type of the current service, to ensure the QoS of the current service; and the current service is sent to the access control node. The service type information, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information, to ensure the QoS of the current service, where the bandwidth currently used by the current service is obtained according to the The bandwidth parameter of the current user is the bandwidth indicated by the bandwidth parameter configured by the current user. In this way, different bandwidths can be configured for different users, and the bandwidth can be adjusted according to the service type currently used by the user to ensure the QoS of the current service. Thereby achieving bandwidth limitation and QoS guarantee for different users and different services. FIG. 11 is a schematic structural diagram of another gateway device according to an embodiment of the present invention. As shown in FIG. 11, the method includes: a first receiving unit 51, a configuration unit 52, an identifying unit 53, a first adjusting unit 54, and a first sending unit. 55 , where:
第一接收单元 51, 用于接收所述接入控制节点发送的携带所述当前用户的 带宽参数的消息。  The first receiving unit 51 is configured to receive a message that is sent by the access control node and that carries the bandwidth parameter of the current user.
作为一种可选的实施方式, 第一接收单元 51还可以用于接收所述接入控制 节点发送的携带所述带宽参数的报告请求消息; 或者  As an optional implementation manner, the first receiving unit 51 may be further configured to receive a report request message that is sent by the access control node and that carries the bandwidth parameter; or
第一接收单元 51还可以用于接收所述接入控制节点通过服务器发送的携带 所述带宽参数的报告请求消息。  The first receiving unit 51 is further configured to receive a report request message that is sent by the access control node by using a server and that carries the bandwidth parameter.
上述服务器可以是 AAA服务器。  The above server can be an AAA server.
可选的, 上述报告请求消息可以是 Radius 协议的报告请求消息 (例如: Accounting Request消息 )。  Optionally, the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
作为一种可选的实施方式, 所述带宽参数可以包括: MBR-UL ( Maximum Bit Rate For Uplink, MBR-UL )、 MBR-DL ( Maximum Bit Rate For Downlink, MBR-DL )、 GBR-UL ( Guaranteed Bit Rate For Uplink, GBR-UL )和 GBR-DL ( Guaranteed Bit Rate For Downlink, GBR-DL ); As an optional implementation manner, the bandwidth parameter may include: MBR-UL (Maximum Bit Rate For Uplink, MBR-UL), MBR-DL (Maximum Bit Rate For Downlink, MBR-DL), GBR-UL ( Guaranteed Bit Rate For Uplink, GBR-UL) and GBR-DL ( Guaranteed Bit Rate For Downlink, GBR-DL );
所述带宽参数所指示的带宽可以包括:  The bandwidth indicated by the bandwidth parameter may include:
在网络资源状态未达到预设阈值时, 所述 MBR-UL指示的上行带宽, 所述 MBR-DL指示的下行带宽; 或者  When the network resource status does not reach the preset threshold, the uplink bandwidth indicated by the MBR-UL, and the downlink bandwidth indicated by the MBR-DL; or
在网络资源状态达到预设阈值时, 所述 GBR-UL 指示的上行带宽, 所述 GBR-DL指示的下行带宽。  The uplink bandwidth indicated by the GBR-UL and the downlink bandwidth indicated by the GBR-DL when the network resource state reaches a preset threshold.
配置单元 52, 用于根据所述带宽参数信息为所述当前用户配置的所述带宽 参数所指示的带宽。  The configuration unit 52 is configured to use, according to the bandwidth parameter information, a bandwidth indicated by the bandwidth parameter configured by the current user.
作为一种可选的实施方式, 配置单元 52还可以用于在网络资源状态未达到 预设阈值时, 根据获取所述带宽参数, 为所述当前用户配置所述 MBR-UL指示 的上行带宽, 所述 MBR-DL指示的下行带宽; 或者  As an optional implementation manner, the configuration unit 52 is further configured to: when the network resource status does not reach the preset threshold, configure the uplink bandwidth indicated by the MBR-UL for the current user according to the acquiring the bandwidth parameter, The downlink bandwidth indicated by the MBR-DL; or
配置单元 52还可以用于在网络资源状态达到预设阈值时, 根据获取所述带 宽参数, 为所述当前用户配置所述 GBR-UL指示的上行带宽, 所述 GBR-DL指 示的下行带宽。  The configuration unit 52 is further configured to: when the network resource status reaches a preset threshold, configure the uplink bandwidth indicated by the GBR-UL for the current user according to the obtained bandwidth parameter, and the downlink bandwidth indicated by the GBR-DL.
这样可以实现在网络资源为不同状态时, 为用户配置不同的带宽。  This allows users to configure different bandwidths when the network resources are in different states.
识别单元 53, 用于识别当前业务的业务类型;  The identifying unit 53 is configured to identify a service type of the current service;
第一调整单元 54, 用于才艮据所述当前业务的业务类型调整所述当前业务当 前使用的带宽, 以保证所述当前业务的 QoS。  The first adjusting unit 54 is configured to adjust the current bandwidth used by the current service according to the service type of the current service, to ensure the QoS of the current service.
第一发送单元 55,用于给接入控制节点发送所述当前业务的业务类型信息, 以便所述接入控制节点根据所述业务类型信息调整所述当前业务当前使用的带 宽, 以保证所述当前业务的 QoS。  The first sending unit 55 is configured to send the service type information of the current service to the access control node, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information, to ensure the The QoS of the current service.
作为一种可选的实施方式, 第一发送单元 55还可以用于给接入控制节点发 送 IP报文头携带有业务类型标识的 IP报文,所述业务类型标识用于标识所述当 前业务的业务类型。  As an optional implementation manner, the first sending unit 55 may be further configured to send, to the access control node, an IP packet carrying an IP packet identifier, where the service type identifier is used to identify the current service. Type of business.
可选的, 若当前业务为 IPv4报文对应的业务时,上述 IP报文头就可以是在 DSCP字段表示上述业务类型标识。  Optionally, if the current service is a service corresponding to the IPv4 packet, the IP packet header may be in the DSCP field to indicate the service type identifier.
可选的, 若当前业务为 IPv6报文对应的业务时,上述 IP报文头就可以是在 Traffic Class字段表示上述业务类型标识。 可选的, 上述 IP报文头携带有业务类型标识的 IP报文中,还可以携带当前 网络状态信息, 例如: 当前网络是否拥塞。 上述业务类型标识和网络状态信息 都是可以是由 IP报文头携带, 且上述业务类型标识和网络状态信息还可以采用 IP报文头的同一字段为表示。 例如: 上述 DSCP字段和 Traffic Class字段表示, 上述 DSCP字段和 Traffic Class字段都是由 8个字节組成,这样就可以用于上述 DSCP字段和 Traffic Class字段其中的 6个字节表示上述业务类型标识, 另 2个 字节表示当前网络状态信息。 Optionally, if the current service is a service corresponding to the IPv6 packet, the IP packet header may be in the Traffic Class field to indicate the service type identifier. Optionally, the IP packet carrying the service type identifier may carry the current network status information, for example, whether the current network is congested. The service type identifier and the network status information may be carried by the IP packet header, and the service type identifier and the network status information may also be represented by the same field of the IP packet header. For example: the DSCP field and the Traffic Class field indicate that the DSCP field and the Traffic Class field are both composed of 8 bytes, so that the DSCP field and the Traffic Class field can be used to represent the service type identifier. The other 2 bytes represent the current network status information.
可选的, 当上述消息携带有上述当前网络状态信息时, 在接入控制节点后 续调整当前业务当前使用的带宽时, 就可以综合业务类型和当前网络状态调整 当前业务当前使用的带宽。  Optionally, when the foregoing information carries the current network status information, when the access control node subsequently adjusts the current bandwidth used by the current service, the current service type and the current network status may be used to adjust the bandwidth currently used by the current service.
可选的, 上述业务标识和当前网絡状态都可以是以数字或字母进行标识的, 但这些数字和字母都可以是实现本实施例的设备与网关设备预先协商好的, 如 111标识用于标识业务类型 1, 222标识用于标识业务类型 2, 字母 A标识用于 标识当前网络状态拥塞, 字母 B标识用于标识当前网络状态不拥塞。  Optionally, the foregoing service identifier and the current network status may be identified by numbers or letters, but the numbers and letters may be pre-negotiated between the device and the gateway device in this embodiment, for example, the identifier is used to identify The service type 1, the 222 identifier is used to identify the service type 2, the letter A identifier is used to identify the current network state congestion, and the letter B identifier is used to identify that the current network state is not congested.
上述技术方案中, 在上面实施例的基础上增加了, 详细介绍为用户配置带 宽的实现方式, 同时,还可以实现针对不同用户和不同业务进行带宽限制和 QoS 保障。 图 12是本发明实施例提供的另一种网关设备的结构示意图, 如图 12所示, 包括: 识别单元 61、 第一调整单元 62、 第一发送单元 63、 第二接收单元 64、 第二调整单元 65和第二发送单元 66, 其中:  In the foregoing technical solution, the foregoing embodiment is added, and the implementation manner of configuring the bandwidth for the user is introduced in detail, and at the same time, bandwidth limitation and QoS guarantee for different users and different services can be implemented. FIG. 12 is a schematic structural diagram of another gateway device according to an embodiment of the present invention. As shown in FIG. 12, the method includes: an identification unit 61, a first adjustment unit 62, a first sending unit 63, a second receiving unit 64, and a second The adjusting unit 65 and the second transmitting unit 66, wherein:
识别单元 61 , 用于识别当前业务的业务类型;  The identifying unit 61 is configured to identify a service type of the current service;
第一调整单元 62, 用于才艮据所述当前业务的业务类型调整所述当前业务当 前使用的带宽, 以保证所述当前业务的 QoS;  The first adjusting unit 62 is configured to adjust, according to the service type of the current service, a bandwidth currently used by the current service, to ensure QoS of the current service;
第一发送单元 63 ,用于给接入控制节点发送所述当前业务的业务类型信息, 以便所述接入控制节点根据所述业务类型信息调整所述当前业务当前使用的带 宽, 以保证所述当前业务的 QoS;  The first sending unit 63 is configured to send the service type information of the current service to the access control node, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information, to ensure the QoS of the current service;
其中, 所述所述当前业务当前使用的带宽包括:  The bandwidth currently used by the current service includes:
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。 第二接收单元 64, 用于接收所述接入控制节点发送的所述当前用户的位置 信息以及所述当前用户的用户信息。 The bandwidth currently used by the current service is the bandwidth indicated by the bandwidth parameter configured by the current user according to the acquired bandwidth parameter of the current user. The second receiving unit 64 is configured to receive location information of the current user and user information of the current user that are sent by the access control node.
作为一种可选的实施方式, 上述当前用户的位置信息可以包括如下至少一 项:  As an optional implementation manner, the location information of the current user may include at least one of the following items:
SSID、 APID、地域标识(例如: Domain ID )和呼叫地域标识( Calling- Domain ID )等;  SSID, APID, territory identifier (for example: Domain ID) and Calling Domain ID (calling-Domain ID);
可选的, 上述位置信息都可以是由编号的形式进行发送, 当然该编号可以 是由实现本实施例的设备与网关设备预先协商好的。  Optionally, the foregoing location information may be sent by using a number. The number may be pre-negotiated by the device implementing the embodiment and the gateway device.
作为一种可选的实施方式, 第二接收单元 64还可以用于接收接入控制节点 发送的携带有所述当前用户的位置信息以及所述当前用户的用户信息的报告请 求消息。  As an optional implementation manner, the second receiving unit 64 is further configured to receive a report request message that is sent by the access control node and carries the location information of the current user and the user information of the current user.
可选的, 上述报告请求消息可以是 Radius 协议的报告请求消息 (例如: Accounting Request消息 )。  Optionally, the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
第二调整单元 65, 用于根据所述位置信息调整所述当前用户当前使用的带 宽为当前位置的网络资源匹配的带宽, 所述当前位置是所述位置信息指示的位 置。  The second adjusting unit 65 is configured to adjust, according to the location information, a bandwidth of a network resource that is currently used by the current user and whose bandwidth is a current location, where the current location is a location indicated by the location information.
第二发送单元 66 , 用于给所述接入控制节点发送用于指示所述当前位置的 网络资源匹配的带宽的指示参数, 以便所述接入控制节点调整所述当前用户当 前使用的带宽为当前位置的网絡资源匹配的带宽。  The second sending unit 66 is configured to send, by the access control node, an indication parameter for indicating a bandwidth of the network resource of the current location, so that the access control node adjusts a bandwidth currently used by the current user to be The bandwidth of the network resource at the current location.
可选的, 上述当前位置的网络资源匹配的带宽可以是指适合当前位置的网 络资源的带宽。 如当前位置的网络资源比较丰富时, 该位置的网络资源匹配的 带宽就比较大, 当前位置的网絡资源比较少时, 该位置的网络资源匹配的带宽 就比较小。 当前位置的网络资源匹配的带宽还可以是使用当前位置的网络资源 用户数量成反正的带宽, 即使用当前位置的网络资源用户数量多 (例如, 市中 心) 时, 当前位置的网络资源匹配的带宽就小, 使用当前位置的网络资源用户 数量少 (例如: 郊区) 时, 当前位置的网络资源匹配的带宽就大。  Optionally, the bandwidth matched by the network resource of the current location may be the bandwidth of the network resource suitable for the current location. If the network resources of the current location are relatively rich, the bandwidth of the network resources at the location is relatively large. When the network resources of the current location are relatively small, the bandwidth of the network resources matching the location is relatively small. The bandwidth matched by the network resource of the current location may also be the bandwidth of the network resource user using the current location, that is, the bandwidth of the network resource of the current location when the number of network resource users using the current location is large (for example, the downtown area). Small, when the number of users using the current location network resources is small (for example, a suburb), the network resources of the current location match the bandwidth.
上述技术方案中, 在上面实施例的基础上增加了, 根据用户的位置信息调 整带宽的实施方式, 同时, 还可以实现针对不同用户和不同业务进行带宽限制 和 QoS保障。 图 13 是本发明实施例提供的一种调整带宽的系统的结构示意图, 如图 13 所示, 包括: 接入设备 71和网关设备 72 , 其中: In the above technical solution, the implementation manner of adjusting the bandwidth according to the location information of the user is added on the basis of the foregoing embodiments, and at the same time, bandwidth limitation and QoS guarantee for different users and different services can be implemented. FIG. 13 is a schematic structural diagram of a system for adjusting bandwidth according to an embodiment of the present invention. As shown in FIG. 13, the method includes: an access device 71 and a gateway device 72, where:
接入设备 71 , 用于接收所述网关设备发送的当前业务的业务类型信息, 并 根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述当前业 务的 QoS;  The access device 71 is configured to receive the service type information of the current service sent by the gateway device, and adjust the current bandwidth used by the current service according to the service type information to ensure the QoS of the current service.
网关设备 72, 用于识别当前业务的业务类型; 根据所述当前业务的业务类 型调整所述当前业务当前使用的带宽, 以保证所述当前业务的 QoS, 并给接入 控制节点发送所述当前业务的业务类型信息;  The gateway device 72 is configured to identify a service type of the current service, adjust a bandwidth currently used by the current service according to the service type of the current service, to ensure QoS of the current service, and send the current to the access control node. Business type information of the business;
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。  The bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
作为一种可选的实施方式, 接入设备 71可以图 7、 图 8和图 9所示的实施 例中任一实施方式的接入设备。  As an optional implementation manner, the access device 71 can be an access device in any of the embodiments shown in FIG. 7, FIG. 8 and FIG.
作为一种可选的实施方式, 网关设备 72可以图 10、 图 11和图 12所示的实 施例中任一实施方式的网关设备。  As an alternative embodiment, the gateway device 72 can be the gateway device of any of the embodiments shown in FIG. 10, FIG. 11 and FIG.
上述技术方案中, 接入设备接收所述网关设备发送的当前业务的业务类型 信息, 并根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所 述当前业务的 QoS; 网关设备识别当前业务的业务类型; 根据所述当前业务的 业务类型调整所述当前业务当前使用的带宽, 以保证所述当前业务的 QoS, 并 给接入控制节点发送所述当前业务的业务类型信息。 从而实现针对不同用户和 不同业务进行带宽限制和 QoS保障。 图 14是本发明实施例提供的另一种接入设备的结构示意图, 如图 14所示, 包括: 接收器 81和处理器 82, 其中:  In the foregoing technical solution, the access device receives the service type information of the current service sent by the gateway device, and adjusts the current bandwidth used by the current service according to the service type information to ensure the QoS of the current service; Identifying the service type of the current service; adjusting the bandwidth currently used by the current service according to the service type of the current service, to ensure the QoS of the current service, and sending the service type information of the current service to the access control node. This enables bandwidth limitation and QoS guarantee for different users and different services. FIG. 14 is a schematic structural diagram of another access device according to an embodiment of the present invention. As shown in FIG. 14, the method includes: a receiver 81 and a processor 82, where:
接收器 81 , 用于接收网关设备发送的当前业务的业务类型信息;  The receiver 81 is configured to receive service type information of a current service sent by the gateway device.
处理器 82用于执行如下步骤:  The processor 82 is configured to perform the following steps:
根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述当 前业务的 QoS;  Adjusting, according to the service type information, a bandwidth currently used by the current service, to ensure QoS of the current service;
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。  The bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
可选的, 可以预先为当前用户配置所述带宽参数所指示的带宽, 当前用户 使用上述当前业务时, 再根据当前业务的类型当前业务当前使用的带宽, 以保 证所述当前业务的 QoS。 这样可以实现为不同用户配置不同的带宽, 同时, 还 可以才艮据为不同业务类型的业务配置不同的带宽。 Optionally, the current user may be configured with the bandwidth indicated by the bandwidth parameter, the current user. When the current service is used, the current bandwidth of the current service is used according to the current service type to ensure the QoS of the current service. In this way, different bandwidths can be configured for different users, and at the same time, different bandwidths can be configured according to services of different service types.
作为一种可选的实施方式,本实施例可以由于 AC或 AP设备来实现上述方 法, 还可以 AC处理器 82调整后的带宽信息发送至 AP, 由 AP完成调整当前业 务的带宽。  As an optional implementation, in this embodiment, the foregoing method may be implemented by the AC or the AP, and the adjusted bandwidth information of the AC processor 82 may be sent to the AP, and the AP may complete the adjustment of the bandwidth of the current service.
上述技术方案中, 通过接收网关设备发送的当前业务的业务类型信息; 根 据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述当前业务 的 QoS; 其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参 数为所述当前用户配置的所述带宽参数所指示的带宽。 这样可以实现为不同用 户配置不同的带宽, 且可以根据用户当前使用的业务类型调整带宽, 以保证所 述当前业务的 QoS。 从而实现针对不同用户和不同业务进行带宽限制和 QoS保 障。 图 15是本发明实施例提供的另一种接入设备的结构示意图, 如图 15所示, 包括: 接收器 91、 处理器 92和发射器 93 , 其中:  In the foregoing technical solution, the service type information of the current service sent by the gateway device is received; the bandwidth currently used by the current service is adjusted according to the service type information, to ensure the QoS of the current service; wherein, the current service is currently The bandwidth used is the bandwidth indicated by the bandwidth parameter configured by the current user according to the acquired bandwidth parameter of the current user. In this way, different bandwidths can be configured for different users, and the bandwidth can be adjusted according to the service type currently used by the user to ensure the QoS of the current service. This enables bandwidth throttling and QoS guarantees for different users and different services. FIG. 15 is a schematic structural diagram of another access device according to an embodiment of the present invention. As shown in FIG. 15, the device includes: a receiver 91, a processor 92, and a transmitter 93, where:
接收器 91, 用于获取携带所述当前用户的带宽参数的消息;  a receiver 91, configured to acquire a message carrying a bandwidth parameter of the current user;
处理器 92用于执行如下步骤:  The processor 92 is configured to perform the following steps:
根据获取所述带宽参数, 为所述当前用户配置所述带宽参数所指示的带宽; 发射器 93 , 用于将携带所述带宽参数的消息发送给网关设备, 以便所述网 关设备与所述当前用户进行业务传输时使用所述带宽;  And configuring, by the current user, the bandwidth indicated by the bandwidth parameter, where the transmitter 93 is configured to send a message carrying the bandwidth parameter to the gateway device, so that the gateway device and the current The bandwidth is used when the user performs service transmission;
接收器 91还用于接收网关设备发送的当前业务的业务类型信息; 处理器 92还用于执行如下步骤:  The receiver 91 is further configured to receive the service type information of the current service sent by the gateway device. The processor 92 is further configured to perform the following steps:
根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述当 前业务的 QoS。  Adjusting, according to the service type information, a bandwidth currently used by the current service to ensure QoS of the current service.
作为一种可选的实施方式, 接收器 91还可以用于获取服务器发送的携带当 前用户的带宽参数的接入响应消息。  As an optional implementation manner, the receiver 91 may be further configured to obtain an access response message sent by the server and carrying a bandwidth parameter of the current user.
可选的, 该服务器可以是 AAA服务器, 获取上述消息可以是在 Radius (通 信领域中一个协议名称, 无具体的中文意思) 协议的接入响应消息 (例如: Access-Response消息), 即在该接入响应消息扩展上述当前用户的带宽参数。 作为一种可选的实施方式, 所述带宽参数可以包括: Optionally, the server may be an AAA server, and the foregoing message may be an access response message (for example, an Access-Response message) in a Radius (a protocol name in the communication field, no specific Chinese meaning) protocol, that is, in the The access response message extends the bandwidth parameters of the current user. As an optional implementation manner, the bandwidth parameter may include:
MBR-UL, MBR-DL、 GBR-UL和 GBR-DL;  MBR-UL, MBR-DL, GBR-UL and GBR-DL;
所述带宽参数所指示的带宽可以包括:  The bandwidth indicated by the bandwidth parameter may include:
在网络资源状态未达到预设阈值时, 所述 MBR-UL指示的上行带宽, 所述 MBR-DL指示的下行带宽; 或者  When the network resource status does not reach the preset threshold, the uplink bandwidth indicated by the MBR-UL, and the downlink bandwidth indicated by the MBR-DL; or
在网络资源状态达到预设阈值时, 所述 GBR-UL 指示的上行带宽, 所述 GBR-DL指示的下行带宽。  The uplink bandwidth indicated by the GBR-UL and the downlink bandwidth indicated by the GBR-DL when the network resource state reaches a preset threshold.
可选的, 上述网络资源状态可以是指网络资源使用率, 如上述预设阈值为 80%, 那么当网络资源状态小于 80%时, 所述带宽参数所指示的带宽可以包括: 所述 MBR-UL指示的上行带宽, 所述 MBR-DL指示的下行带宽。 当那么当网络 资源状态大小于 80%时, 所述带宽参数所指示的带宽可以包括: 所述 GBR-UL 指示的上行带宽, 所述 GBR-DL指示的下行带宽。  Optionally, the foregoing network resource status may refer to a network resource usage rate, where the preset threshold is 80%, and when the network resource status is less than 80%, the bandwidth indicated by the bandwidth parameter may include: the MBR- The uplink bandwidth indicated by the UL, and the downlink bandwidth indicated by the MBR-DL. When the network resource status is greater than 80%, the bandwidth indicated by the bandwidth parameter may include: an uplink bandwidth indicated by the GBR-UL, and a downlink bandwidth indicated by the GBR-DL.
可选的, 上述带宽参数可以采用 Radius协议采用 TLV的形式定义(例如: 类型为字符型、 长度为 8, 值为 abcdefgh ), 上述带宽参数都以 4个字节进行定 义, 其中, 1个字节为类型值, 另 1个字节为长度值, 另外 2个字节为带宽值。  Optionally, the foregoing bandwidth parameter may be defined by using a Radius protocol in a TLV format (for example, the type is a character type, the length is 8, and the value is abcdefgh), and the foregoing bandwidth parameters are defined by 4 bytes, where 1 word The section is a type value, the other 1 byte is the length value, and the other 2 bytes are the bandwidth value.
作为一种可选的实施方式, 处理器 92执行的根据获取所述带宽参数, 为所 述当前用户配置所述带宽参数所指示的带宽的步骤可以包括:  As an optional implementation, the step performed by the processor 92 to configure the bandwidth indicated by the bandwidth parameter for the current user according to the obtaining the bandwidth parameter may include:
在网络资源状态未达到预设阈值时, 根据获取所述带宽参数, 为所述当前 用户配置所述 MBR-UL指示的上行带宽, 所述 MBR-DL指示的下行带宽; 或者 在网络资源状态达到预设阈值时, 根据获取所述带宽参数, 为所述当前用 户配置所述 GBR-UL指示的上行带宽, 所述 GBR-DL指示的下行带宽。  When the network resource status does not reach the preset threshold, the uplink bandwidth indicated by the MBR-UL, the downlink bandwidth indicated by the MBR-DL is configured for the current user, or the network resource status is reached. When the threshold is preset, the uplink bandwidth indicated by the GBR-UL and the downlink bandwidth indicated by the GBR-DL are configured for the current user according to the obtained bandwidth parameter.
这样可以实现在网络资源为不同状态时, 为用户配置不同的带宽。  This allows users to configure different bandwidths when the network resources are in different states.
需要说明的是, 在本发明中, 为用户配置的带宽包括: 接入节点 (例如: AP或 AC )为用户配置的带宽和网关设备为用户配置的带宽。 当然这两个带宽 可以是相同的。 即用户与接入节点进行业务传输时, 使用接入节点为用户配置 的带宽, 当用户与网关设备进行业务传输时, 使用网关设备为用户配置的带宽。  It should be noted that, in the present invention, the bandwidth configured for the user includes: the bandwidth configured by the access node (eg, AP or AC) for the user and the bandwidth configured by the gateway device for the user. Of course these two bandwidths can be the same. That is, when the user and the access node perform service transmission, the bandwidth configured by the access node for the user is used, and when the user transmits the service with the gateway device, the bandwidth configured by the gateway device for the user is used.
可选的, 以便所述网关设备与所述当前用户进行业务传输时使用所述带宽 可以包括:  Optionally, the using the bandwidth when the gateway device performs service transmission with the current user may include:
网关设备根据获取所述带宽参数, 为所述当前用户配置所述带宽参数所指 示的带宽。 作为一种可选的实施方式, 发射器 93还可以用于将携带所述带宽参数的报 告请求消息发送给网关设备; 或者 The gateway device configures, according to the obtained bandwidth parameter, the bandwidth indicated by the bandwidth parameter for the current user. As an optional implementation manner, the transmitter 93 may be further configured to send a report request message that carries the bandwidth parameter to the gateway device; or
发射器 93还可以用于将携带所述带宽参数的报告请求消息通过服务器发送 至所述网关设备。  The transmitter 93 can also be configured to send a report request message carrying the bandwidth parameter to the gateway device through a server.
上述服务器可以是 AAA服务器。  The above server can be an AAA server.
可选的, 上述报告请求消息可以是 Radius 协议的报告请求消息 (例如: Accounting Request消息 )。  Optionally, the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
作为一种可选的实施方式, 接收器 91还可以用于接收所述网关设备发送的 IP 4艮文头携带有业务类型标识的 IP 4艮文, 所述业务类型标识用于标识所述当前 业务的业务类型。  As an optional implementation manner, the receiver 91 is further configured to receive, by the gateway device, an IP4艮 message carrying an identifier of the service type, where the service type identifier is used to identify the current Business type of business.
可选的, 若当前业务为 IPv4报文对应的业务时,上述 IP报文头就可以是在 差分服务编码点( Differentiated Service Code Point, DSCP )字段表示上述业务 类型标识; 其中, IP 4艮文头为公知的, 此处不作详细说明。  Optionally, if the current service is a service corresponding to the IPv4 packet, the IP packet header may be in the Differentiated Service Code Point (DSCP) field to indicate the service type identifier; The head is well known and will not be described in detail here.
可选的, 若当前业务为 IPv6报文对应的业务时,上述 IP报文头就可以是在 Traffic Class (为 IPv6报文头中字段名称, 无具体的中文意思)字段表示上述业 务类型标识。  Optionally, if the current service is a service corresponding to the IPv6 packet, the IP packet header may be in the Traffic Class (field name in the IPv6 packet header, no specific Chinese meaning) field to indicate the service type identifier.
可选的, 上述 IP报文头携带有业务类型标识的 IP报文中,还可以携带当前 网络状态信息, 例如: 当前网络是否拥塞。 上述业务类型标识和网络状态信息 都是可以是由 IP报文头携带, 且上述业务类型标识和网絡状态信息还可以采用 IP报文头的同一字段为表示。 例如: 上述 DSCP字段和 Traffic Class字段表示, 上述 DSCP字段和 Traffic Class字段都是由 8个字节组成,这样就可以用于上述 DSCP字段和 Traffic Class字段其中的 6个字节表示上述业务类型标识, 另 2个 字节表示当前网络状态信息。  Optionally, the IP packet carrying the service type identifier carries the current network status information, for example, whether the current network is congested. The service type identifier and the network status information may be carried by the IP packet header, and the service type identifier and the network status information may also be represented by the same field of the IP packet header. For example: the DSCP field and the Traffic Class field indicate that the DSCP field and the Traffic Class field are both composed of 8 bytes, so that the DSCP field and the Traffic Class field can be used to represent the service type identifier. The other 2 bytes represent the current network status information.
可选的, 当上述消息携带有上述当前网络状态信息时, 在后续调整当前业 务当前使用的带宽时, 就可以综合业务类型和当前网络状态调整当前业务当前 使用的带宽。  Optionally, when the foregoing information carries the current network status information, when the bandwidth currently used by the current service is subsequently adjusted, the current service type and the current network status may be used to adjust the current bandwidth used by the current service.
可选的, 上述业务标识和当前网络状态都可以是以数字或字母进行标识的, 但这些数字和字母都可以是实现本实施例的设备与网关设备预先协商好的, 如 111标识用于标识业务类型 1, 222标识用于标识业务类型 2, 字母 A标识用于 标识当前网络状态拥塞, 字母 B标识用于标识当前网络状态不拥塞。 作为一种可选的实施方式, 在处理器执行根据所述业务类型信息调整所述 当前业务当前使用的带宽的步骤之前, 所述设备就可以获取到业务类型与保证 业务的 QoS需要的带宽的对应关系信息, 即预先可以获取到满足每个业务类型 的业务的 QoS所需要带宽的信息。 例如, 满足业务类型 1的 QoS的带宽为 1M, 满足业务类型 2的 QoS的带宽为 2M等信息。 Optionally, the foregoing service identifier and the current network status may be identified by numbers or letters, but the numbers and letters may be pre-negotiated between the device and the gateway device in this embodiment, for example, the identifier is used to identify The service type 1, the 222 identifier is used to identify the service type 2, the letter A identifier is used to identify the current network state congestion, and the letter B identifier is used to identify that the current network state is not congested. As an optional implementation manner, before the processor performs the step of adjusting the bandwidth currently used by the current service according to the service type information, the device may acquire the bandwidth required for the service type and the QoS of the guaranteed service. The correspondence information, that is, the information of the bandwidth required for the QoS of the service satisfying each service type can be acquired in advance. For example, the bandwidth that satisfies the QoS of the service type 1 is 1 M, and the bandwidth that satisfies the QoS of the service type 2 is 2 M or the like.
这样当获取到当前业务的业务类型信息时, 就可以根据所述业务类型信息 调整所述当前业务当前使用的带宽, 以保证所述当前业务的 QoS。 例如, 当前 业务的业务类型为业务类型 1 ,步骤 205就可以调整当前业务当前使用的带宽为 1M。 当然在本发明中, 当预先没有获取上述对应关系信息时, 步骤 205同样可 以实现, 如可以通过执行本实施例的步骤的设备对业务类型信息进行分析, 分 析得到满足每个业务类型的业务的 QoS所需要带宽的信息。  When the service type information of the current service is obtained, the bandwidth currently used by the current service may be adjusted according to the service type information to ensure the QoS of the current service. For example, if the service type of the current service is service type 1, step 205 can adjust the current bandwidth used by the current service to 1M. Of course, in the present invention, when the corresponding relationship information is not obtained in advance, the step 205 is also implemented. For example, the device that performs the steps of the embodiment analyzes the service type information, and analyzes and obtains the service that satisfies each service type. Information about the bandwidth required for QoS.
作为一种可选的实施方式, 所述设备还可以包括:  As an optional implementation manner, the device may further include:
存储器 94, 用于存储处理器 92所执行的程序。  The memory 94 is configured to store a program executed by the processor 92.
上述技术方案中, 在上面实施例的基础上增加了, 详细介绍为用户配置带 宽的实现方式, 同时,还可以实现针对不同用户和不同业务进行带宽限制和 QoS 保障。 图 16是本发明实施例提供的另一种接入设备的结构示意图, 如图 16所示, 包括: 接收器 101、 处理器 102和发射器 103, 其中:  In the foregoing technical solution, the foregoing embodiment is added, and the implementation manner of configuring the bandwidth for the user is introduced in detail, and at the same time, bandwidth limitation and QoS guarantee for different users and different services can be implemented. FIG. 16 is a schematic structural diagram of another access device according to an embodiment of the present invention. As shown in FIG. 16, the method includes: a receiver 101, a processor 102, and a transmitter 103, where:
接收器 101 , 用于接收网关设备发送的当前业务的业务类型信息; 处理器 92用于执行如下步驟:  The receiver 101 is configured to receive service type information of a current service sent by the gateway device, where the processor 92 is configured to perform the following steps:
根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述当 前业务的 QoS;  Adjusting, according to the service type information, a bandwidth currently used by the current service, to ensure QoS of the current service;
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。  The bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
发射器 93, 用于将所述当前用户的位置信息以及所述当前用户的用户信息 发送至所述网关设备, 以便所述网关设备根据所述位置信息调整所述当前用户 当前使用的带宽为当前位置的网络资源匹配的带宽, 所述当前位置是所述位置 信息指示的位置。  The transmitter 93 is configured to send the location information of the current user and the user information of the current user to the gateway device, so that the gateway device adjusts, according to the location information, a bandwidth currently used by the current user as a current The bandwidth of the network resource of the location, the current location being the location indicated by the location information.
接收器 91还用于接收所述网关设备发送用于指示所述当前位置的网络资源 匹配的带宽的指示 ^丈。 The receiver 91 is further configured to receive, by the gateway device, a network resource that is used to indicate the current location. The indication of the matching bandwidth.
处理器 92还用于执行如下步骤:  The processor 92 is also configured to perform the following steps:
调整所述当前用户当前使用的带宽为当前位置的网络资源匹配的带宽。 作为一种可选的实施方式, 上述当前用户的位置信息可以包括如下至少一 项:  Adjusting the bandwidth currently used by the current user to match the bandwidth of the network resource of the current location. As an optional implementation manner, the location information of the current user may include at least one of the following items:
SSID、 接入节点标识 ( Access Point Identifier, APID )、 地域标识 (例如: Domain ID ) 和呼叫地域标识 ( Calling- Domain ID ) 等;  SSID, Access Point Identifier (APID), geographical indication (for example: Domain ID), and Calling-Domain ID;
可选的, 上述位置信息都可以是由编号的形式进行发送, 当然该编号可以 是由实现本实施例的设备与网关设备预先协商好的。  Optionally, the foregoing location information may be sent by using a number. The number may be pre-negotiated by the device implementing the embodiment and the gateway device.
作为一种可选的实施方式, 发射器 93还可以用于将携带有所述当前用户的 位置信息以及所述当前用户的用户信息的>¾告请求消息发送至所述网关设备。  As an optional implementation manner, the transmitter 93 may be further configured to send a message request message carrying the location information of the current user and the user information of the current user to the gateway device.
可选的, 上述报告请求消息可以是 Radius 协议的报告请求消息 (例如: Accounting Request消息 )。  Optionally, the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
可选的, 上述当前位置的网络资源匹配的带宽可以是指适合当前位置的网 络资源的带宽。 如当前位置的网络资源比较丰富时, 该位置的网络资源匹配的 带宽就比较大, 当前位置的网络资源比较少时, 该位置的网络资源匹配的带宽 就比较小。 当前位置的网络资源匹配的带宽还可以是使用当前位置的网络资源 用户数量成反正的带宽, 即使用当前位置的网络资源用户数量多 (例如, 市中 心) 时, 当前位置的网络资源匹配的带宽就小, 使用当前位置的网络资源用户 数量少 (例如: 郊区) 时, 当前位置的网络资源匹配的带宽就大。  Optionally, the bandwidth matched by the network resource of the current location may be the bandwidth of the network resource suitable for the current location. If the network resources of the current location are relatively rich, the bandwidth of the network resources at the location is relatively large. When the network resources of the current location are relatively small, the bandwidth of the network resources at the location is relatively small. The bandwidth matched by the network resource of the current location may also be the bandwidth of the network resource user using the current location, that is, the bandwidth of the network resource of the current location when the number of network resource users using the current location is large (for example, the downtown area). Small, when the number of users using the current location network resources is small (for example, a suburb), the network resources of the current location match the bandwidth.
上述技术方案中, 在上面实施例的基础上增加了, 根据用户的位置信息调 整带宽的实施方式, 同时, 还可以实现针对不同用户和不同业务进行带宽限制 和 QoS保障。 图 17是本发明实施例提供的另一种网关设备的结构示意图, 如图 17所示, 包括: 处理器 111和发射器 112 , 其中:  In the foregoing technical solution, the implementation manner of adjusting the bandwidth according to the location information of the user is added on the basis of the foregoing embodiments, and at the same time, bandwidth limitation and QoS guarantee for different users and different services can be implemented. FIG. 17 is a schematic structural diagram of another gateway device according to an embodiment of the present invention. As shown in FIG. 17, the method includes: a processor 111 and a transmitter 112, where:
处理器 111用于执行如下步骤:  The processor 111 is configured to perform the following steps:
识别当前业务的业务类型;  Identify the type of business for the current business;
根据所述当前业务的业务类型调整所述当前业务当前使用的带宽, 以保证 所述当前业务的 QoS。 发射器 112 , 用于给接入控制节点发送所述当前业务的业务类型信息, 以便 所述接入控制节点根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述当前业务的 QoS; Adjusting, according to the service type of the current service, a bandwidth currently used by the current service, to ensure QoS of the current service. The transmitter 112 is configured to send the service type information of the current service to the access control node, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information, to ensure the current service. QoS
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。  The bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
可选的, 可以预先为当前用户配置所述带宽参数所指示的带宽, 当前用户 使用上述当前业务时, 再根据当前业务的类型当前业务当前使用的带宽, 以保 证所述当前业务的 QoS。 这样可以实现为不同用户配置不同的带宽, 同时, 还 可以根据为不同业务类型的业务配置不同的带宽。  Optionally, the bandwidth indicated by the bandwidth parameter may be configured in advance for the current user. When the current user uses the current service, the current service currently uses the bandwidth according to the current service type to ensure the QoS of the current service. This allows different users to be configured with different bandwidths. At the same time, different bandwidths can be configured for services of different service types.
上述技术方案中, 识别当前业务的业务类型; 根据所述当前业务的业务类 型调整所述当前业务当前使用的带宽, 以保证所述当前业务的 QoS; 给接入控 制节点发送所述当前业务的业务类型信息, 以便所述接入控制节点根据所述业 务类型信息调整所述当前业务当前使用的带宽, 以保证所述当前业务的 QoS; 其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为所述 当前用户配置的所述带宽参数所指示的带宽。 这样可以实现为不同用户配置不 同的带宽, 且可以根据用户当前使用的业务类型调整带宽, 以保证所述当前业 务的 QoS。 从而实现针对不同用户和不同业务进行带宽限制和 QoS保障。 图 18是本发明实施例提供的另一种网关设备的结构示意图, 如图 18所示, 包括: 接收器 121、 处理器 122和发射器 123 , 其中:  In the foregoing technical solution, the service type of the current service is identified; the bandwidth currently used by the current service is adjusted according to the service type of the current service, to ensure the QoS of the current service; and the current service is sent to the access control node. The service type information, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information to ensure the QoS of the current service; where the bandwidth currently used by the current service is obtained according to the The current user's bandwidth parameter is the bandwidth indicated by the bandwidth parameter configured by the current user. In this way, different bandwidths can be configured for different users, and the bandwidth can be adjusted according to the service type currently used by the user to ensure the QoS of the current service. Thereby achieving bandwidth limitation and QoS guarantee for different users and different services. FIG. 18 is a schematic structural diagram of another gateway device according to an embodiment of the present invention. As shown in FIG. 18, the device includes: a receiver 121, a processor 122, and a transmitter 123, where:
接收器 121 ,用于接收所述接入控制节点发送的携带所述当前用户的带宽参 数的消息。  The receiver 121 is configured to receive a message that is sent by the access control node and carries a bandwidth parameter of the current user.
处理器 122用于执行如下步骤:  The processor 122 is configured to perform the following steps:
根据所述带宽参数信息为所述当前用户配置所述带宽参数所指示的带宽; 识别当前业务的业务类型。  And configuring, according to the bandwidth parameter information, a bandwidth indicated by the bandwidth parameter for the current user; and identifying a service type of the current service.
根据所述当前业务的业务类型调整所述当前业务当前使用的带宽, 以保证 所述当前业务的 QoS。  And adjusting, according to the service type of the current service, a bandwidth currently used by the current service, to ensure QoS of the current service.
发射器 123, 用于给接入控制节点发送所述当前业务的业务类型信息, 以便 所述接入控制节点根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述当前业务的 Q0S。 作为一种可选的实施方式, 接收器 121 还可以用于接收所述接入控制节点 发送的携带所述带宽参数的报告请求消息; 或者 The transmitter 123 is configured to send the service type information of the current service to the access control node, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information, to ensure the current service. Q 0 S. As an optional implementation manner, the receiver 121 may be further configured to receive a report request message that is sent by the access control node and that carries the bandwidth parameter; or
接收器 121 还可以用于接收所述接入控制节点通过服务器发送的携带所述 带宽参数的报告请求消息。  The receiver 121 is further configured to receive a report request message that is sent by the access control node and sent by the server to carry the bandwidth parameter.
上述服务器可以是 AAA服务器。  The above server can be an AAA server.
可选的, 上述报告请求消息可以是 Radius 协议的报告请求消息 (例如: Accounting Request消息 )。  Optionally, the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
作为一种可选的实施方式, 所述带宽参数可以包括:  As an optional implementation manner, the bandwidth parameter may include:
MBR-UL ( Maximum Bit Rate For Uplink, MB -UL ), MBR-DL ( Maximum Bit Rate For Downlink, MBR-DL )、 GBR-UL ( Guaranteed Bit Rate For Uplink, GBR-UL ) 和 GBR-DL ( Guaranteed Bit Rate For Downlink, GBR-DL );  MBR-UL (Maximum Bit Rate For Uplink, MB-UL), MBR-DL (Maximum Bit Rate For Downlink, MBR-DL), GBR-UL ( Guaranteed Bit Rate For Uplink, GBR-UL) and GBR-DL ( Guaranteed Bit Rate For Downlink, GBR-DL );
所述带宽参数所指示的带宽可以包括:  The bandwidth indicated by the bandwidth parameter may include:
在网络资源状态未达到预设阈值时, 所述 MBR-UL指示的上行带宽, 所述 MBR-DL指示的下行带宽; 或者  When the network resource status does not reach the preset threshold, the uplink bandwidth indicated by the MBR-UL, and the downlink bandwidth indicated by the MBR-DL; or
在网络资源状态达到预设阈值时, 所述 GBR-UL 指示的上行带宽, 所述 GBR-DL指示的下行带宽。  The uplink bandwidth indicated by the GBR-UL and the downlink bandwidth indicated by the GBR-DL when the network resource state reaches a preset threshold.
可选的, 上述带宽参数可以采用 Radius协议采用 TLV形式定义, 上述带宽 参数都以 4个字节进行定义, 其中, 1个字节为类型值, 另 1个字节为长度值, 另外 2个字节为带宽值。  Optionally, the foregoing bandwidth parameter may be defined by using a Radius protocol in a TLV format. The foregoing bandwidth parameters are defined by 4 bytes, where 1 byte is a type value, another 1 byte is a length value, and the other 2 The byte is the bandwidth value.
作为一种可选的实施方式, 处理器 122执行的根据所述带宽参数信息为所 述当前用户配置所述带宽参数所指示的带宽的步骤可以包括:  As an optional implementation, the step of the processor 122 performing the bandwidth indicated by the bandwidth parameter for the current user according to the bandwidth parameter information may include:
在网络资源状态未达到预设阈值时, 根据获取所述带宽参数, 为所述当前 用户配置所述 MBR-UL指示的上行带宽, 所述 MBR-DL指示的下行带宽; 或者 在网络资源状态达到预设阈值时, 根据获取所述带宽参数, 为所述当前用 户配置所述 GBR-UL指示的上行带宽, 所述 GBR-DL指示的下行带宽。  When the network resource status does not reach the preset threshold, the uplink bandwidth indicated by the MBR-UL, the downlink bandwidth indicated by the MBR-DL is configured for the current user, or the network resource status is reached. When the threshold is preset, the uplink bandwidth indicated by the GBR-UL and the downlink bandwidth indicated by the GBR-DL are configured for the current user according to the obtained bandwidth parameter.
这样可以实现在网络资源为不同状态时, 为用户配置不同的带宽。  This allows users to configure different bandwidths when the network resources are in different states.
作为一种可选的实施方式, 在处理器 122执行根据所述当前业务的业务类 型调整所述当前业务当前使用的带宽的步骤之前, 就可以获取到业务类型与保 证业务的 QoS需要的带宽的对应关系信息, 即预先可以获取到满足每个业务类 型的业务的 QoS所需要带宽的信息。例如,满足业务类型 1的 QoS的带宽为 1M, 满足业务类型 2的 QoS的带宽为 2M等信息。 As an optional implementation manner, before the processor 122 performs the step of adjusting the bandwidth currently used by the current service according to the service type of the current service, the service type and the bandwidth required for the QoS of the guaranteed service may be acquired. The correspondence information, that is, the information of the bandwidth required for the QoS of the service satisfying each service type can be acquired in advance. For example, the bandwidth that satisfies the QoS of service type 1 is 1M. The bandwidth satisfying the QoS of the service type 2 is information such as 2M.
这样当获取到当前业务的业务类型信息时, 就可以根据所述业务类型信息 调整所述当前业务当前使用的带宽, 以保证所述当前业务的 QoS。 例如, 当前 业务的业务类型为业务类型 1 ,处理器 122就可以调整当前业务当前使用的带宽 为 1M。 当然在本发明中, 当预先没有获取上述对应关系信息时, 处理器 122同 样可以实现, 如可以通过执行本实施例的步骤的设备对业务类型信息进行分析, 分析得到满足每个业务类型的业务的 QoS所需要带宽的信息。  When the service type information of the current service is obtained, the bandwidth currently used by the current service may be adjusted according to the service type information to ensure the QoS of the current service. For example, if the service type of the current service is service type 1, the processor 122 can adjust the current bandwidth used by the current service to be 1M. Of course, in the present invention, when the corresponding relationship information is not obtained in advance, the processor 122 can also be implemented. For example, the device that performs the steps of the embodiment can analyze the service type information, and analyze and obtain the service that satisfies each service type. Information about the bandwidth required for QoS.
作为一种可选的实施方式, 发射器 123还可以用于给接入控制节点发送 IP 报文头携带有业务类型标识的 IP报文, 所述业务类型标识用于标识所述当前业 务的业务类型。  As an optional implementation, the transmitter 123 may be configured to send, to the access control node, an IP packet carrying an IP packet identifier, where the service type identifier is used to identify the service of the current service. Types of.
可选的, 若当前业务为 IPv4报文对应的业务时,上述 IP报文头就可以是在 DSCP字段表示上述业务类型标识。  Optionally, if the current service is a service corresponding to the IPv4 packet, the IP packet header may be in the DSCP field to indicate the service type identifier.
可选的, 若当前业务为 IPv6报文对应的业务时,上述 IP报文头就可以是在 Traffic Class字段表示上述业务类型标识。  Optionally, if the current service is a service corresponding to the IPv6 packet, the IP packet header may be in the Traffic Class field to indicate the service type identifier.
可选的, 上述 IP报文头携带有业务类型标识的 IP报文中,还可以携带当前 网络状态信息, 例如: 当前网络是否拥塞。 上述业务类型标识和网络状态信息 都是可以是由 IP报文头携带, 且上述业务类型标识和网络状态信息还可以采用 IP报文头的同一字段为表示。 例如: 上述 DSCP字段和 Traffic Class字段表示, 上述 DSCP字段和 Traffic Class字段都是由 8个字节组成,这样就可以用于上述 DSCP字段和 Traffic Class字段其中的 6个字节表示上述业务类型标识, 另 2个 字节表示当前网络状态信息。  Optionally, the IP packet carrying the service type identifier carries the current network status information, for example, whether the current network is congested. The service type identifier and the network status information may be carried by the IP packet header, and the service type identifier and the network status information may also be represented by the same field of the IP packet header. For example: the DSCP field and the Traffic Class field indicate that the DSCP field and the Traffic Class field are both composed of 8 bytes, so that the DSCP field and the Traffic Class field can be used to represent the service type identifier. The other 2 bytes represent the current network status information.
可选的, 当上述消息携带有上述当前网络状态信息时, 在接入控制节点后 续调整当前业务当前使用的带宽时, 就可以综合业务类型和当前网络状态调整 当前业务当前使用的带宽。 当然, 处理器 122执行的艮据所述当前业务的业务 类型调整所述当前业务当前使用的带宽的步骤可以包括:  Optionally, when the foregoing information carries the current network status information, when the access control node subsequently adjusts the current bandwidth used by the current service, the current service type and the current network status may be used to adjust the bandwidth currently used by the current service. Of course, the step of the processor 122 performing the adjustment of the bandwidth currently used by the current service according to the service type of the current service may include:
综合业务类型和当前网络状态调整当前业务当前使用的带宽, 以保证所述 当前业务的 QoS。  The integrated service type and the current network state adjust the bandwidth currently used by the current service to ensure the QoS of the current service.
可选的, 上述业务标识和当前网络状态都可以是以数字或字母进行标识的, 但这些数字和字母都可以是实现本实施例的设备与网关设备预先协商好的, 如 111标识用于标识业务类型 1, 222标识用于标识业务类型 2, 字母 A标识用于 标识当前网络状态拥塞, 字母 B标识用于标识当前网络状态不拥塞。 Optionally, the foregoing service identifier and the current network status may be identified by numbers or letters, but the numbers and letters may be pre-negotiated between the device and the gateway device in this embodiment, for example, the identifier is used to identify Service type 1, 222 identifier is used to identify service type 2, and letter A identifier is used for Identifies the current network status congestion. The letter B identifier is used to identify that the current network status is not congested.
作为一种可选的实施方式, 所述设备还可以包括:  As an optional implementation manner, the device may further include:
存储器 124, 用于存储处理器 122执行的程序。  The memory 124 is configured to store a program executed by the processor 122.
上述技术方案中, 在上面实施例的基础上增加了, 详细介绍为用户配置带 宽的实现方式, 同时,还可以实现针对不同用户和不同业务进行带宽限制和 QoS 保障。 图 19是本发明实施例提供的另一种网关设备的结构示意图, 如图 19所示, 包括: 处理器 131、 发射器 132和接收器 133 , 其中:  In the foregoing technical solution, the foregoing embodiment is added, and the implementation manner of configuring the bandwidth for the user is introduced in detail, and at the same time, bandwidth limitation and QoS guarantee for different users and different services can be implemented. FIG. 19 is a schematic structural diagram of another gateway device according to an embodiment of the present invention. As shown in FIG. 19, the method includes: a processor 131, a transmitter 132, and a receiver 133, where:
处理器 131用于执行如下步骤:  The processor 131 is configured to perform the following steps:
识別当前业务的业务类型;  Identify the type of business for the current business;
根据所述当前业务的业务类型调整所述当前业务当前使用的带宽, 以保证 所述当前业务的 QoS。  And adjusting, according to the service type of the current service, a bandwidth currently used by the current service, to ensure QoS of the current service.
发射器 132, 用于给接入控制节点发送所述当前业务的业务类型信息, 以便 所述接入控制节点根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述当前业务的 QoS;  The transmitter 132 is configured to send the service type information of the current service to the access control node, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information, to ensure the current service. QoS
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。  The bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
接收器 133 ,用于接收所述接入控制节点发送的所述当前用户的位置信息以 及所述当前用户的用户信息。  The receiver 133 is configured to receive location information of the current user sent by the access control node, and user information of the current user.
处理器 132还用于执行如下步骤:  The processor 132 is further configured to perform the following steps:
根据所述位置信息调整所述当前用户当前使用的带宽为当前位置的网络资 源匹配的带宽, 所述当前位置是所述位置信息指示的位置。  And adjusting, according to the location information, a bandwidth that is currently used by the current user to be a network resource matching bandwidth of the current location, where the current location is a location indicated by the location information.
发射器 132还用于给所述接入控制节点发送用于指示所述当前位置的网络 资源匹配的带宽的指示参数, 以便所述接入控制节点调整所述当前用户当前使 用的带宽为当前位置的网络资源匹配的带宽。  The transmitter 132 is further configured to send, by the access control node, an indication parameter for indicating a bandwidth of the network resource of the current location, so that the access control node adjusts a bandwidth currently used by the current user to a current location. The network resource matches the bandwidth.
作为一种可选的实施方式, 上述当前用户的位置信息可以包括如下至少一 项:  As an optional implementation manner, the location information of the current user may include at least one of the following items:
SSID、 APID、地域标识(例如: Domain ID )和呼叫地域标识( Calling- Domain ID )等; 可选的, 上述位置信息都可以是由编号的形式进行发送, 当然该编号可以 是由实现本实施例的设备与网关设备预先协商好的。 SSID, APID, territory identifier (for example: Domain ID) and Calling Domain ID (calling-Domain ID); Optionally, the foregoing location information may be sent by using a number. The number may be pre-negotiated by the device implementing the embodiment and the gateway device.
作为一种可选的实施方式, 接收器 133 还可以用于接收接入控制节点发送 的携带有所述当前用户的位置信息以及所述当前用户的用户信息的报告请求消 息。  As an optional implementation manner, the receiver 133 may be further configured to receive, by the access control node, a report request message that carries location information of the current user and user information of the current user.
可选的, 上述报告请求消息可以是 Radius 协议的报告请求消息 (例如: Accounting Request消息 )。  Optionally, the foregoing report request message may be a report request message of the Radius protocol (for example, an Accounting Request message).
可选的, 上述当前位置的网络资源匹配的带宽可以是指适合当前位置的网 络资源的带宽。 如当前位置的网络资源比较丰富时, 该位置的网络资源匹配的 带宽就比较大, 当前位置的网络资源比较少时, 该位置的网络资源匹配的带宽 就比较小。 当前位置的网络资源匹配的带宽还可以是使用当前位置的网络资源 用户数量成反正的带宽, 即使用当前位置的网络资源用户数量多 (例如, 市中 心) 时, 当前位置的网络资源匹配的带宽就小, 使用当前位置的网络资源用户 数量少 (例如: 郊区) 时, 当前位置的网络资源匹配的带宽就大。  Optionally, the bandwidth matched by the network resource of the current location may be the bandwidth of the network resource suitable for the current location. If the network resources of the current location are relatively rich, the bandwidth of the network resources at the location is relatively large. When the network resources of the current location are relatively small, the bandwidth of the network resources at the location is relatively small. The bandwidth matched by the network resource of the current location may also be the bandwidth of the network resource user using the current location, that is, the bandwidth of the network resource of the current location when the number of network resource users using the current location is large (for example, the downtown area). Small, when the number of users using the current location network resources is small (for example, a suburb), the network resources of the current location match the bandwidth.
上述技术方案中, 在上面实施例的基础上增加了, 根据用户的位置信息调 整带宽的实施方式, 同时, 还可以实现针对不同用户和不同业务进行带宽限制 和 QoS保障。 图 20是本发明实施例提供的另一种调整带宽的系统的结构示意图,如图 20 所示, 包括: 接入设备 141和网关设备 142, 其中:  In the foregoing technical solution, the implementation manner of adjusting the bandwidth according to the location information of the user is added on the basis of the foregoing embodiments, and at the same time, bandwidth limitation and QoS guarantee for different users and different services can be implemented. FIG. 20 is a schematic structural diagram of another system for adjusting bandwidth according to an embodiment of the present invention. As shown in FIG. 20, the method includes: an access device 141 and a gateway device 142, where:
接入设备 141包括: 接收器和处理器, 其中:  The access device 141 includes: a receiver and a processor, wherein:
接收器, 用于接收网关设备发送的当前业务的业务类型信息;  a receiver, configured to receive service type information of a current service sent by the gateway device;
处理器用于执行如下步骤:  The processor is used to perform the following steps:
根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述当 前业务的 QoS;  Adjusting, according to the service type information, a bandwidth currently used by the current service, to ensure QoS of the current service;
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。  The bandwidth currently used by the current service is a bandwidth indicated by the bandwidth parameter of the current user according to the acquired bandwidth parameter of the current user.
网关设备 142包括: 处理器用于执行如下步骤:  The gateway device 142 includes: The processor is configured to perform the following steps:
识别当前业务的业务类型;  Identify the type of business for the current business;
根据所述当前业务的业务类型调整所述当前业务当前使用的带宽, 以保证 所述当前业务的 QoS。 Adjusting, according to the service type of the current service, the bandwidth currently used by the current service, to ensure The QoS of the current service.
发射器, 用于给接入控制节点发送所述当前业务的业务类型信息, 以便所 述接入控制节点根据所述业务类型信息调整所迷当前业务当前使用的带宽, 以 保证所述当前业务的 QoS。  a transmitter, configured to send the service type information of the current service to the access control node, so that the access control node adjusts a bandwidth currently used by the current service according to the service type information, to ensure that the current service is QoS.
作为一种可选的实施方式, 接入设备 141可以图 14、 图 15和图 16所示的 实施例中任一实施方式的接入设备。  As an optional implementation manner, the access device 141 may be an access device in any of the embodiments shown in FIG. 14, FIG. 15, and FIG.
作为一种可选的实施方式, 网关设备 142可以图 17、 图 18和图 19所示的 实施例中任一实施方式的网关设备。  As an optional implementation manner, the gateway device 142 may be the gateway device of any of the embodiments shown in FIG. 17, FIG. 18, and FIG.
上述技术方案中, 接入设备接收所述网关设备发送的当前业务的业务类型 信息, 并根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所 述当前业务的 QoS; 网关设备识别当前业务的业务类型; 根据所述当前业务的 业务类型调整所述当前业务当前使用的带宽, 以保证所述当前业务的 QoS, 并 给接入控制节点发送所述当前业务的业务类型信息。 从而实现针对不同用户和 不同业务进行带宽限制和 QoS保障。  In the foregoing technical solution, the access device receives the service type information of the current service sent by the gateway device, and adjusts the current bandwidth used by the current service according to the service type information to ensure the QoS of the current service; Identifying the service type of the current service; adjusting the bandwidth currently used by the current service according to the service type of the current service, to ensure the QoS of the current service, and sending the service type information of the current service to the access control node. This enables bandwidth limitation and QoS guarantee for different users and different services.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于一计算 机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施例的流程。 其中, 所述的存储介质可为磁碟、 光盘、 只读存储记忆体(Read-Only Memory, ROM )或随机存取存储器( Random Access Memory, 简称 AM )等。  A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. In execution, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (AM).
以上所揭露的仅为本发明较佳实施例而已, 当然不能以此来限定本发明之 权利范围, 因此依本发明权利要求所作的等同变化, 仍属本发明所涵盖的范围。  The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, and the equivalent changes made by the claims of the present invention are still within the scope of the present invention.

Claims

权 利 要 求 Rights request
1、 一种带宽调整方法, 其特征在于, 包括: 1. A bandwidth adjustment method, characterized by including:
接收网关设备发送的当前业务的业务类型信息; Receive the service type information of the current service sent by the gateway device;
根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述当 前业务的服务质量; Adjust the bandwidth currently used by the current service according to the service type information to ensure the service quality of the current service;
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。 Wherein, the bandwidth currently used by the current service is the bandwidth indicated by the bandwidth parameter configured for the current user according to the acquired bandwidth parameter of the current user.
2、 如权利要求 1所述的方法, 其特征在于, 所述接收所述网关发送的当前 业务的业务类型信息之前, 所述方法还包括: 2. The method of claim 1, wherein before receiving the service type information of the current service sent by the gateway, the method further includes:
获取携带所述当前用户的带宽参数的消息; Obtain a message carrying the bandwidth parameters of the current user;
根据获取所述带宽参数, 为所述当前用户配置所述带宽参数所指示的带宽; 将携带所述带宽参数的消息发送给网关设备, 以便所述网关设备与所述当 前用户进行业务传输时使用所述带宽。 According to obtaining the bandwidth parameter, configure the bandwidth indicated by the bandwidth parameter for the current user; send a message carrying the bandwidth parameter to a gateway device so that the gateway device can use it when transmitting services with the current user. the bandwidth.
3、 如权利要求 2所述的方法, 其特征在于, 所述获取携带当前用户的带宽 参数的消息包括: 3. The method of claim 2, wherein the obtaining the message carrying the bandwidth parameter of the current user includes:
获取服务器发送的携带当前用户的带宽参数的接入响应消息。 Obtain the access response message sent by the server carrying the bandwidth parameters of the current user.
4、如权利要求 1-3中任一项所述的方法, 其特征在于, 所述带宽参数包括: 用户最大上行带宽参数、 用户最大下行带宽参数、 用户保障上行带宽参数 和用户保障下行带宽参数; 4. The method according to any one of claims 1 to 3, characterized in that, the bandwidth parameters include: user maximum uplink bandwidth parameter, user maximum downlink bandwidth parameter, user guaranteed uplink bandwidth parameter and user guaranteed downlink bandwidth parameter ;
所述带宽参数所指示的带宽包括: The bandwidth indicated by the bandwidth parameter includes:
在网络资源状态未达到预设阈值时, 所述用户最大上行带宽参数指示的上 行带宽, 所述用户最大下行带宽参数指示的下行带宽; 或者 When the network resource status does not reach the preset threshold, the uplink bandwidth indicated by the user's maximum uplink bandwidth parameter, the downlink bandwidth indicated by the user's maximum downlink bandwidth parameter; or
在网络资源状态达到预设阈值时, 所述用户保障上行带宽参数指示的上行 带宽, 所述用户保障下行带宽参数指示的下行带宽。 When the network resource status reaches the preset threshold, the user guarantees the uplink bandwidth indicated by the uplink bandwidth parameter, and the user guarantees the downlink bandwidth indicated by the downlink bandwidth parameter.
5、 如权利要求 2或 3所述的方法, 其特征在于, 所述将携带所述带宽参数 的消息发送给网关设备包括: 5. The method according to claim 2 or 3, characterized in that: the bandwidth parameter will be carried The messages sent to the gateway device include:
将携带所述带宽参数的报告请求消息发送给网关设备; 或者 Send a report request message carrying the bandwidth parameter to the gateway device; or
将携带所述带宽参数的报告请求消息通过服务器发送至所述网关设备。 A report request message carrying the bandwidth parameter is sent to the gateway device through the server.
6、 如权利要求 1-3中任一项所述的方法, 其特征在于, 所述接收网关设备 发送的所述当前业务的业务类型信息包括: 6. The method according to any one of claims 1-3, characterized in that the service type information of the current service sent by the receiving gateway device includes:
接收所述网关设备发送的 IP报文头携带有业务类型标识的 IP报文,所述业 务类型标识用于标识所述当前业务的业务类型。 Receive the IP message sent by the gateway device and carry a service type identifier in the IP message header, where the service type identifier is used to identify the service type of the current service.
7、 如权利要求 1-3中任一项所述的方法, 其特征在于, 所述方法还包括: 将所述当前用户的位置信息以及所述当前用户的用户信息发送至所述网关 设备, 以便所述网关设备根据所述位置信息调整所述当前用户当前使用的带宽 为当前位置的网络资源匹配的带宽, 所述当前位置是所述位置信息指示的位置; 接收所述网关设备发送用于指示所述当前位置的网络资源匹配的带宽的指 示参数; 7. The method according to any one of claims 1 to 3, characterized in that, the method further includes: sending the location information of the current user and the user information of the current user to the gateway device, So that the gateway device adjusts the bandwidth currently used by the current user to a bandwidth matching the network resources of the current location according to the location information, and the current location is the location indicated by the location information; receiving the message sent by the gateway device. An indication parameter indicating the bandwidth matched by the network resources at the current location;
调整所述当前用户当前使用的带宽为当前位置的网络资源匹配的带宽。 Adjust the bandwidth currently used by the current user to a bandwidth that matches the network resources at the current location.
8、 一种带宽调整方法, 其特征在于, 包括: 8. A bandwidth adjustment method, characterized by including:
识别当前业务的业务类型; Identify the business type of the current business;
根据所述当前业务的业务类型调整所述当前业务当前使用的带宽, 以保证 所述当前业务的服务质量; Adjust the bandwidth currently used by the current service according to the service type of the current service to ensure the service quality of the current service;
给接入控制节点发送所述当前业务的业务类型信息, 以便所述接入控制节 点根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述当前 业务的服务质量; Send the service type information of the current service to the access control node, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information to ensure the service quality of the current service;
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。 Wherein, the bandwidth currently used by the current service is the bandwidth indicated by the bandwidth parameter configured for the current user according to the acquired bandwidth parameter of the current user.
9、 如权利要求 8所述的方法, 其特征在于, 所述调整所述当前业务当前使 用的带宽之前, 所述方法还包括: 9. The method of claim 8, wherein before adjusting the bandwidth currently used by the current service, the method further includes:
接收所述接入控制节点发送的携带所述当前用户的带宽参数的消息; 根据所述带宽参数信息为所述当前用户配置所述带宽参数所指示的带宽。 Receive a message sent by the access control node carrying the bandwidth parameter of the current user; Configure the bandwidth indicated by the bandwidth parameter for the current user according to the bandwidth parameter information.
10、 如权利要求 8或 9所述的方法, 其特征在于, 所述所述带宽参数包括: 用户最大上行带宽参数、 用户最大下行带宽参数、 用户保障上行带宽参数 和用户保障下行带宽参数; 10. The method according to claim 8 or 9, characterized in that the bandwidth parameters include: user maximum uplink bandwidth parameters, user maximum downlink bandwidth parameters, user guaranteed uplink bandwidth parameters and user guaranteed downlink bandwidth parameters;
所述带宽参数所指示的带宽包括: The bandwidth indicated by the bandwidth parameter includes:
在网络资源状态未达到预设阁值时, 所述用户最大上行带宽参数指示的上 行带宽, 所述用户最大下行带宽参数指示的下行带宽; 或者 When the network resource status does not reach the preset threshold value, the uplink bandwidth indicated by the user's maximum uplink bandwidth parameter, the downlink bandwidth indicated by the user's maximum downlink bandwidth parameter; or
在网络资源状态达到预设阈值时, 所述用户保障上行带宽参数指示的上行 带宽, 所述用户保障下行带宽参数指示的下行带宽。 When the network resource status reaches the preset threshold, the user guarantees the uplink bandwidth indicated by the uplink bandwidth parameter, and the user guarantees the downlink bandwidth indicated by the downlink bandwidth parameter.
11、 如权利要求 8或 9所述的方法, 其特征在于, 所述接收所述接入控制 节点发送的携带所述当前用户的带宽参数的消息包括: 11. The method according to claim 8 or 9, wherein the receiving the message sent by the access control node carrying the bandwidth parameter of the current user includes:
接收所述接入控制节点发送的携带所述带宽参数的报告请求消息; 或者 接收所述接入控制节点通过服务器发送的携带所述带宽参数的报告请求消 息。 Receive a report request message carrying the bandwidth parameter sent by the access control node; or receive a report request message carrying the bandwidth parameter sent by the access control node through a server.
12、 如权利要求 7-9中任一项的方法, 其特征在于, 所述给接入控制节点发 送所述当前业务的业务类型信息包括: 12. The method according to any one of claims 7-9, wherein said sending the service type information of the current service to the access control node includes:
给接入控制节点发送 IP报文头携带有业务类型标识的 IP报文,所述业务类 型标识用于标识所述当前业务的业务类型。 Send an IP message carrying a service type identifier in the IP message header to the access control node, where the service type identifier is used to identify the service type of the current service.
13、 如权利要求 7-9中任一项的方法, 其特征在于, 所述方法还包括: 接收所述接入控制节点发送的所述当前用户的位置信息以及所述当前用户 的用户信息; 13. The method according to any one of claims 7 to 9, characterized in that, the method further includes: receiving the location information of the current user and the user information of the current user sent by the access control node;
根据所述位置信息调整所述当前用户当前使用的带宽为当前位置的网络资 源匹配的带宽, 所述当前位置是所述位置信息指示的位置; Adjust the bandwidth currently used by the current user according to the location information to a bandwidth matching the network resources of the current location, which is the location indicated by the location information;
给所述接入控制节点发送用于指示所述当前位置的网络资源匹配的带宽的 指示参数, 以便所述接入控制节点调整所述当前用户当前使用的带宽为当前位 置的网络资源匹配的带宽。 Send to the access control node an indication parameter indicating the bandwidth matching the network resources at the current location, so that the access control node adjusts the bandwidth currently used by the current user to the bandwidth matching the network resources at the current location. .
14. 一种接入设备, 其特征在于, 包括: 第一接收单元和第一调整单元, 其中: 14. An access device, characterized in that it includes: a first receiving unit and a first adjusting unit, wherein:
所述第一接收单元, 用于接收网关设备发送的当前业务的业务类型信息; 所述当前业务为所述当前用户的业务; The first receiving unit is configured to receive the service type information of the current service sent by the gateway device; the current service is the service of the current user;
所述第一调整单元, 用于根据所述业务类型信息调整所述当前业务当前使 用的带宽, 以保证所述当前业务的服务质量; The first adjustment unit is configured to adjust the bandwidth currently used by the current service according to the service type information to ensure the service quality of the current service;
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。 Wherein, the bandwidth currently used by the current service is the bandwidth indicated by the bandwidth parameter configured for the current user according to the acquired bandwidth parameter of the current user.
15、 如权利要求 14所述的设备, 其特征在于, 所述设备还包括: 获取单元, 用于获取携带所述当前用户的带宽参数的消息; 15. The device according to claim 14, characterized in that, the device further includes: an obtaining unit, configured to obtain a message carrying the bandwidth parameters of the current user;
配置单元, 用于根据获取所述带宽参数, 为所述当前用户配置所述带宽参 数所指示的带宽; A configuration unit configured to configure the bandwidth indicated by the bandwidth parameter for the current user based on obtaining the bandwidth parameter;
第一发送单元, 用于将携带所述带宽参数的消息发送给网关设备, 以便所 述网关设备与所述当前用户进行业务传输时使用所述带宽。 The first sending unit is configured to send a message carrying the bandwidth parameter to the gateway device, so that the gateway device can use the bandwidth when transmitting services with the current user.
16、 如权利要求 14或 15所述的设备, 其特征在于, 所述带宽参数包括: 用户最大上行带宽参数、 用户最大下行带宽参数、 用户保障上行带宽参数 和用户保障下行带宽参数; 16. The device according to claim 14 or 15, wherein the bandwidth parameters include: user maximum uplink bandwidth parameter, user maximum downlink bandwidth parameter, user guaranteed uplink bandwidth parameter and user guaranteed downlink bandwidth parameter;
所述带宽参数所指示的带宽包括: The bandwidth indicated by the bandwidth parameter includes:
在网络资源状态未达到预设阈值时, 所述用户最大上行带宽参数指示的上 行带宽, 所述用户最大下行带宽参数指示的下行带宽; 或者 When the network resource status does not reach the preset threshold, the uplink bandwidth indicated by the user's maximum uplink bandwidth parameter, the downlink bandwidth indicated by the user's maximum downlink bandwidth parameter; or
在网络资源状态达到预设阈值时, 所述用户保障上行带宽参数指示的上行 带宽, 所述用户保障下行带宽参数指示的下行带宽。 When the network resource status reaches the preset threshold, the user guarantees the uplink bandwidth indicated by the uplink bandwidth parameter, and the user guarantees the downlink bandwidth indicated by the downlink bandwidth parameter.
17、 如权利要求 15所述的设备, 其特征在于, 所述第一发送单元还用于将 携带所述带宽参数的 告请求消息发送给网关设备; 或者 17. The device according to claim 15, wherein the first sending unit is further configured to send a report request message carrying the bandwidth parameter to the gateway device; or
所述第一发送单元还用于将携带所述带宽参数的报告请求消息通过服务器 发送至所述网关设备。 The first sending unit is also configured to send a report request message carrying the bandwidth parameter to the gateway device through the server.
18、 如权利要求 14或 15所述的设备, 其特征在于, 所述设备还包括: 第二发送单元, 用于将所述当前用户的位置信息以及所述当前用户的用户 信息发送至所述网关设备, 以便所述网关设备根据所述位置信息调整所述当前 用户当前使用的带宽为当前位置的网络资源匹配的带宽, 所述当前位置是所述 位置信息指示的位置; 18. The device according to claim 14 or 15, characterized in that, the device further includes: a second sending unit, configured to send the location information of the current user and the user information of the current user to the A gateway device, so that the gateway device adjusts the bandwidth currently used by the current user to a bandwidth matching the network resources of the current location according to the location information, and the current location is the location indicated by the location information;
第二接收单元, 用于接收所述网关设备发送用于指示所述当前位置的网络 资源匹配的带宽的指示参数; The second receiving unit is configured to receive an indication parameter sent by the gateway device to indicate the bandwidth matched by the network resource at the current location;
第二调整单元, 用于调整所述当前用户当前使用的带宽为当前位置的网络 资源匹配的带宽。 The second adjustment unit is used to adjust the bandwidth currently used by the current user to a bandwidth that matches the network resources at the current location.
19、 一种网关设备, 其特征在于, 包括: 识別单元、 第一调整单元和第一 发送单元, 其中: 19. A gateway device, characterized in that it includes: an identification unit, a first adjustment unit and a first sending unit, wherein:
所述识别单元, 用于识别当前业务的业务类型; The identification unit is used to identify the service type of the current service;
所述第一调整单元, 用于根据所述当前业务的业务类型调整所述当前业务 当前使用的带宽, 以保证所述当前业务的服务质量; The first adjustment unit is configured to adjust the bandwidth currently used by the current service according to the service type of the current service to ensure the service quality of the current service;
所述第一发送单元, 用于给接入控制节点发送所述当前业务的业务类型信 息, 以便所述接入控制节点根据所述业务类型信息调整所述当前业务当前使用 的带宽, 以保证所述当前业务的服务质量; The first sending unit is configured to send the service type information of the current service to the access control node, so that the access control node adjusts the bandwidth currently used by the current service according to the service type information to ensure that the Describe the service quality of the current business;
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。 Wherein, the bandwidth currently used by the current service is the bandwidth indicated by the bandwidth parameter configured for the current user according to the acquired bandwidth parameter of the current user.
20、 如权利要求 19所述的设备, 其特征在于, 所述设备还包括: 第一接收单元, 用于接收所述接入控制节点发送的携带所述当前用户的带 宽参数的消息; 20. The device according to claim 19, wherein the device further includes: a first receiving unit, configured to receive a message sent by the access control node carrying the bandwidth parameter of the current user;
配置单元, 用于根据所述带宽参数信息为所述当前用户配置的所述带宽参 数所指示的带宽。 A configuration unit configured to configure the bandwidth indicated by the bandwidth parameter for the current user according to the bandwidth parameter information.
21、 如权利要求 19或 20所述的设备, 其特征在于, 所述带宽参数包括: 用户最大上行带宽参数、 用户最大下行带宽参数、 用户保障上行带宽参数 和用户保障下行带宽参数; 21. The device according to claim 19 or 20, wherein the bandwidth parameters include: user maximum uplink bandwidth parameter, user maximum downlink bandwidth parameter, user guaranteed uplink bandwidth parameter Guarantee downlink bandwidth parameters with users;
所述带宽参数所指示的带宽包括: The bandwidth indicated by the bandwidth parameter includes:
在网络资源状态未达到预设阐值时, 所述用户最大上行带宽参数指示的上 行带宽, 所述用户最大下行带宽参数指示的下行带宽; 或者 When the network resource status does not reach the preset value, the uplink bandwidth indicated by the user's maximum uplink bandwidth parameter, the downlink bandwidth indicated by the user's maximum downlink bandwidth parameter; or
在网络资源状态达到预设阈值时, 所述用户保障上行带宽参数指示的上行 带宽, 所述用户保障下行带宽参数指示的下行带宽。 When the network resource status reaches the preset threshold, the user guarantees the uplink bandwidth indicated by the uplink bandwidth parameter, and the user guarantees the downlink bandwidth indicated by the downlink bandwidth parameter.
22、 如权利要求 19或 20所述的设备, 其特征在于, 所述第一接收单元还 用于接收所述接入控制节点发送的携带所述带宽参数的报告请求消息; 或者 所述第一接收单元还用于接收所述接入控制节点通过服务器发送的携带所 述带宽参数的报告请求消息。 22. The device according to claim 19 or 20, wherein the first receiving unit is further configured to receive a report request message carrying the bandwidth parameter sent by the access control node; or the first The receiving unit is also configured to receive a report request message carrying the bandwidth parameter sent by the access control node through the server.
23、 如权利要求 19或 20所述的设备, 其特征在于, 所述设备还包括: 第二接收单元, 用于接收所述接入控制节点发送的所述当前用户的位置信 息以及所述当前用户的用户信息; 23. The device according to claim 19 or 20, characterized in that the device further includes: a second receiving unit, configured to receive the location information of the current user and the current user's location information sent by the access control node. User information of users;
第二调整单元, 用于根据所述位置信息调整所述当前用户当前使用的带宽 为当前位置的网络资源匹配的带宽, 所述当前位置是所述位置信息指示的位置; 第二发送单元, 用于给所述接入控制节点发送用于指示所述当前位置的网 络资源匹配的带宽的指示参数, 以便所述接入控制节点调整所述当前用户当前 使用的带宽为当前位置的网络资源匹配的带宽。 The second adjustment unit is configured to adjust the bandwidth currently used by the current user to a bandwidth that matches the network resources of the current location according to the location information, and the current location is the location indicated by the location information; the second sending unit is configured to use To send to the access control node an indication parameter indicating a bandwidth matching the network resources at the current location, so that the access control node adjusts the bandwidth currently used by the current user to a bandwidth matching the network resources at the current location. bandwidth.
24、 一种调整带宽的系统, 其特征在于, 包括: 接入设备和网关设备, 其 中: 24. A system for adjusting bandwidth, characterized by including: access equipment and gateway equipment, wherein:
所述接入设备, 用于接收所述网关设备发送的当前业务的业务类型信息, 并根据所述业务类型信息调整所述当前业务当前使用的带宽, 以保证所述当前 业务的服务质量; The access device is configured to receive the service type information of the current service sent by the gateway device, and adjust the bandwidth currently used by the current service according to the service type information to ensure the service quality of the current service;
所述网关设备, 用于识别当前业务的业务类型; 根据所述当前业务的业务 类型调整所述当前业务当前使用的带宽, 以保证所述当前业务的服务质量, 并 给接入控制节点发送所述当前业务的业务类型信息; The gateway device is used to identify the service type of the current service; adjust the bandwidth currently used by the current service according to the service type of the current service to ensure the service quality of the current service, and send the requested bandwidth to the access control node. Describe the business type information of the current business;
其中, 所述当前业务当前使用的带宽为根据获取的当前用户的带宽参数为 所述当前用户配置的所述带宽参数所指示的带宽。 Wherein, the bandwidth currently used by the current service is based on the acquired bandwidth parameter of the current user: The bandwidth indicated by the bandwidth parameter configured by the current user.
PCT/CN2012/085594 2012-11-15 2012-11-30 Bandwidth adjustment method, device and system WO2014075359A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210460303.2A CN103813392B (en) 2012-11-15 2012-11-15 A kind of bandwidth adjusting method, equipment and system
CN201210460303.2 2012-11-15

Publications (1)

Publication Number Publication Date
WO2014075359A1 true WO2014075359A1 (en) 2014-05-22

Family

ID=50709475

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/085594 WO2014075359A1 (en) 2012-11-15 2012-11-30 Bandwidth adjustment method, device and system

Country Status (2)

Country Link
CN (1) CN103813392B (en)
WO (1) WO2014075359A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125170B (en) * 2014-07-25 2017-12-08 北京奇虎科技有限公司 Accessing user's bandwidth adjusting method, apparatus and system based on router
CN105306385B (en) * 2014-07-31 2019-09-10 腾讯科技(深圳)有限公司 The control method and device of downlink network bandwidth
CN104507126B (en) * 2014-11-21 2021-06-22 中兴通讯股份有限公司 Method and device for realizing wireless network QoS management
CN106332153B (en) * 2015-06-30 2020-02-14 华为技术有限公司 Bandwidth control method and device in WLAN
CN107360597A (en) * 2016-05-10 2017-11-17 中国移动通信有限公司研究院 A kind of rate adjusting method, Wireless Communication Equipment and terminal device
CN107086934B (en) * 2017-06-12 2019-09-10 中国联合网络通信集团有限公司 The configuration method and gateway of networking equipment
CN109982391B (en) * 2017-12-28 2023-04-11 华为技术有限公司 Data processing method and device
CN111756641B (en) * 2019-03-28 2024-07-09 华为技术有限公司 Adjustment method of transmitting equipment and communication device
CN115396316B (en) * 2022-08-22 2024-08-02 维沃移动通信有限公司 Service processing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567828A (en) * 2003-06-18 2005-01-19 中兴通讯股份有限公司 A method for performing speed limiting on data traffic by network processor
WO2006102826A1 (en) * 2005-03-28 2006-10-05 Huawei Technologies Co., Ltd. A method for realizing the backup of the data service

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100546277C (en) * 2003-03-21 2009-09-30 松下电器产业株式会社 In wireless network by signaling to optimize the method and the communication system of rate controlled scheme
CN101146124B (en) * 2007-08-30 2012-02-08 中兴通讯股份有限公司 Selection device and method of packet data protocol configuration parameters based on service quality
CN102143534B (en) * 2010-12-31 2014-03-12 华为技术有限公司 Method, equipment and system for processing bandwidth control

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567828A (en) * 2003-06-18 2005-01-19 中兴通讯股份有限公司 A method for performing speed limiting on data traffic by network processor
WO2006102826A1 (en) * 2005-03-28 2006-10-05 Huawei Technologies Co., Ltd. A method for realizing the backup of the data service

Also Published As

Publication number Publication date
CN103813392A (en) 2014-05-21
CN103813392B (en) 2018-01-23

Similar Documents

Publication Publication Date Title
TWI754244B (en) Pdu session management method and user equipment
US10966222B2 (en) Method, device, and system for processing reflective QoS characteristics
US10893434B2 (en) UE session management QoS capability negotiation and QoS control realization
WO2014075359A1 (en) Bandwidth adjustment method, device and system
EP3300415B1 (en) Method, device and system for measuring quality of service operating in terminal
US11811670B2 (en) Packet delay parameter obtaining method, system, and apparatus
US20170195239A1 (en) Service Layer Southbound Interface And Quality Of Service
WO2019062783A1 (en) Service transmission method and apparatus
CN111436081A (en) Data transmission guaranteeing method and communication equipment
US9686697B2 (en) Network data optimization
JP7477661B2 (en) Data transmission method and device
EP3108604B1 (en) Client device awareness of network context for mobile optimization
WO2013170897A1 (en) Routing of traffic in a multi-domain network
US20130343269A1 (en) Routing data over a non-3rd generation partnership project trusted network
CN107431953B (en) Method and device for traffic flow distribution
WO2017198132A1 (en) Data sending method and apparatus
WO2018060930A1 (en) Network assistance via a local breakout function-gateway in ran
EP3962157B1 (en) Mdbv determining methods and apparatuses
US20240275887A1 (en) Congestion control method and apparatus, device, medium, chip, product, and program
US20220256395A1 (en) Communication method, apparatus, and system
KR101954397B1 (en) Method for packet barring in LTE mobile communication system and, system therefor
Liebsch et al. Quality-of-Service Option for Proxy Mobile IPv6
WO2023117044A1 (en) Opposite reflective qos
CN102761909B (en) Method and equipment for generating QoS strategy information of femtocell
Kaippallimalil et al. Mapping Quality of Service (QoS) Procedures of Proxy Mobile IPv6 (PMIPv6) and WLAN

Legal Events

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

Ref document number: 12888276

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

Country of ref document: EP

Kind code of ref document: A1