WO2015024158A1 - Access control method and apparatus - Google Patents

Access control method and apparatus Download PDF

Info

Publication number
WO2015024158A1
WO2015024158A1 PCT/CN2013/081750 CN2013081750W WO2015024158A1 WO 2015024158 A1 WO2015024158 A1 WO 2015024158A1 CN 2013081750 W CN2013081750 W CN 2013081750W WO 2015024158 A1 WO2015024158 A1 WO 2015024158A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
accessed
user
real
port
Prior art date
Application number
PCT/CN2013/081750
Other languages
French (fr)
Chinese (zh)
Inventor
邹成钢
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2013/081750 priority Critical patent/WO2015024158A1/en
Priority to CN201380000980.9A priority patent/CN103797841B/en
Publication of WO2015024158A1 publication Critical patent/WO2015024158A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware

Definitions

  • the present invention relates to the field of communication technologies, and more particularly to an admission control method and apparatus. Background technique
  • IP Internet Protocol
  • IP IP.
  • TDM Time Division Multiplexing
  • the IP device and the bearer network device are IP-based, due to IP packet grouping
  • the transmission link is shared bandwidth and statistical multiplexing, in order to avoid network transmission overload, access control of access services is required.
  • QoS quality of service
  • transmission bandwidth access control based on reserved bandwidth is generally used, as follows:
  • the device uses multi-level admission control, such as logical port level, physical port level, and Internet Protocol (IP) path level.
  • Each level has a corresponding reserved bandwidth.
  • IP Internet Protocol
  • Each level has a corresponding reserved bandwidth.
  • the reserved bandwidth is changed at each level.
  • the reserved bandwidth occupied by each level changes, it needs to be compared with the corresponding bandwidth threshold configured for each level.
  • the admission control scheme based on the reserved bandwidth, that is, the estimation of the transmission bandwidth occupation is completed by the predicted reserved bandwidth, and the reserved bandwidth for the user service can accurately reflect the actual usage of the user service bandwidth. Since the reserved bandwidth of real-time services, for example, Circuit Service (CS), and non-real-time services, such as Packet Switch (PS) services, is difficult to predict, the following problems exist: 1.
  • the transmission bandwidth utilization is low in the reserved bandwidth mode.
  • the admission control plane considers that the transmission resource bandwidth is exhausted and rejects new service access, resulting in a low success rate of user call access.
  • the embodiment of the present invention provides an admission control method and apparatus, which are used to solve the problem of inaccurate user service access and low bandwidth utilization in the existing admission control method.
  • an admission control method including:
  • the network device determines the congestion level of the port according to the total actual bandwidth and the congestion threshold of the user service of all service types that the port is currently connected to, and the service type includes a real-time service type and a non-real-time service type.
  • the port includes a logical port or a physical port;
  • the network device performs admission control on the user service to be accessed according to the congestion level of the port, the controlled service type, and the service type of the user service to be accessed.
  • the total actual bandwidth occupied by user services is:
  • the network device is obtained according to the data traffic received and sent by the user service of all service types currently accessed by the port in a set period. of;
  • the total actual bandwidth occupied by the user service of any service type that the port is currently connected to is:
  • the network device is obtained according to data traffic received and sent by each user service of any service type currently accessed by the port in a set period.
  • the second possible implementation of the first aspect Determining the controlled service type according to the total actual bandwidth occupied by the user service of the current service type of the port and the total bandwidth requested by the user service access of the service type, including:
  • the controlled service type is determined to be the service type
  • the controlled service type is different from the service type. Another type of business.
  • a third possible implementation manner of the first aspect is provided, in combination with the first aspect, the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, In a third possible implementation manner of the first aspect, the congestion level of the port includes light congestion and heavy congestion;
  • the preset congestion threshold includes a light congestion threshold and a heavy congestion threshold, where the light congestion threshold is less than the heavy congestion threshold;
  • Determining the congestion level of the port according to the total actual bandwidth and the preset congestion threshold of the user service of all service types that the port is currently connected to including:
  • the congestion level of the port is heavy congestion.
  • a fourth possible implementation manner of the first aspect is provided.
  • the The congestion level of the port, the type of the controlled service, and the service type of the user service to be accessed, and the admission control of the user service to be accessed including:
  • the congestion level is lightly congested, and the user service to be accessed is a real-time service
  • the service type of the controlled user service is a real-time service, according to the user service to be accessed Admit control at the minimum available rate; or,
  • the connection is performed according to the Admission control is performed at the minimum available rate of incoming user traffic.
  • a fifth possible implementation manner of the first aspect is provided.
  • the The service type of the incoming user service is circuit business.
  • the admission control according to the minimum available rate of the user service to be accessed includes: admitting the user service to be accessed by using a half rate coding or a low speed adaptive multiple rate coding (AMR) control.
  • AMR adaptive multiple rate coding
  • the service type of the incoming user service is a packet service.
  • the admission control according to the minimum available rate of the user service to be accessed includes: performing admission control on the user service to be accessed according to a minimum commitment rate, where the minimum commitment rate is the basic when the service is applied for admission. Guarantee the encoding rate corresponding to the bandwidth.
  • the seventh aspect of the first aspect is provided A possible implementation manner, in a seventh possible implementation manner of the first aspect, the foregoing, according to a congestion level of the port, the controlled service type, and a service type of a user service to be accessed, Performing admission control on the user service to be accessed, including:
  • the congestion level is heavy congestion, and the user service to be accessed is a real-time service
  • the controlled service type is a real-time service
  • the congestion level is heavy congestion, and the user service to be accessed is a real-time service
  • the controlled service type is a non-real-time service
  • the user service to be accessed is allowed to be coded according to the application. Rate access; or,
  • the congestion level is heavy congestion, and the user service to be accessed is a non-real-time service
  • the service type of the controlled user service is a real-time service
  • the user service to be accessed is controlled to be preempted.
  • a real-time service in which the service priority of the currently accessed port is lower than the service priority of the user service to be accessed; or
  • the congestion level is heavy congestion, and the user service to be accessed is a non-real-time service
  • the service type of the controlled user service is a non-real-time service
  • the user service to be accessed is controlled.
  • the non-real-time service with the priority of the service that is currently accessed in the port is lower than the service priority of the user service to be accessed.
  • the eighth possible implementation of the first aspect further includes controlling, according to the congestion level of the port and the controlled service type, the currently accessed user service.
  • the ninth possible implementation manner of the first aspect is provided.
  • the Determining the congestion level of the port and the controlled service type, and controlling the currently accessed user service including:
  • the congestion level is light congestion
  • the controlled service is real-time service or non-real-time service
  • no adjustment is made to the currently accessed real-time services
  • the congestion level is light congestion
  • the controlled service is a non-real time service
  • the tenth possible implementation manner of the first aspect is provided.
  • the Determining the congestion level of the port and the controlled service type, and controlling the currently accessed user service including:
  • the full-rate coding to the half-rate conversion is triggered for the currently accessed real-time service, or the non-real-time service that is currently accessed is simultaneously reduced. Encoding rate to a minimum committed rate; or,
  • the congestion level is heavy congestion, and the controlled service is a non-real-time service
  • the current real-time service that has been accessed is not code-adjusted, and the coding rate of the currently accessed non-real-time service is reduced to the minimum.
  • the minimum committed rate is a coding rate corresponding to the basic guaranteed bandwidth when the service applies for admission.
  • the beneficial effects of the embodiments of the present invention are as follows:
  • the total actual bandwidth occupied by the port obtained by the solution in the embodiment of the present invention, and the total actual bandwidth occupied by each user service corresponding to any service type and the application service access of the service type of the service type The bandwidth can be used to accurately reflect the bandwidth usage of the port, and then accurately determine the congestion level and the controlled service type of the port according to the information, and accurately according to the total actual bandwidth, congestion level, and controlled service type of the port.
  • Admission control is performed on the user services to be accessed, which improves the utilization of network bandwidth.
  • an admission control apparatus including:
  • a first processing unit configured to determine a congestion level of the port according to a total actual bandwidth and a congestion threshold occupied by user services of all service types that the port of the network device currently accesses
  • a second processing unit configured to determine, according to the total actual bandwidth occupied by user services of any service type that the port is currently accessed, and the total bandwidth requested by the user service access of the service type, business type;
  • a first control unit configured to: according to the congestion level of the port determined by the first processing unit, the controlled service type determined by the second processing unit, and a service type of a user service to be accessed,
  • the user service to be accessed is subjected to admission control.
  • the total actual bandwidth occupied by user services is:
  • the total actual bandwidth occupied by the user service of any service type that the port is currently connected to is:
  • the second possible implementation of the second aspect is provided, and the second possible implementation manner of the second aspect
  • the second processing unit is specifically configured to:
  • the controlled service type is determined to be the service type
  • a third possible implementation manner of the second aspect is provided, in combination with the second aspect, the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, In a third possible implementation manner of the second aspect, the congestion level of the port includes light congestion and heavy congestion;
  • the preset congestion threshold includes a light congestion threshold and a heavy congestion threshold, where the light congestion threshold is less than the heavy congestion threshold;
  • the first processing unit is specifically configured to:
  • Congestion level is mild congestion
  • the congestion level of the port is heavy congestion.
  • the control unit is specifically used to:
  • the congestion level determined by the first processing unit is light congestion
  • the user service to be accessed is a real-time service
  • the second processing unit determines the service of the controlled user service If the type is a real-time service, the access control is performed according to the minimum available rate of the user service to be accessed; or
  • the congestion level determined by the first processing unit is light congestion, and the user service to be accessed is a non-real time service, if the second processing unit determines the controlled user service If the service type is a real-time service or a non-real-time service, the access control is performed according to the minimum available rate of the user service to be accessed.
  • a fifth possible implementation manner of the second aspect is provided.
  • the The service type of the incoming user service is a circuit service
  • the first control unit is in accordance with the user to be accessed.
  • Admission control for the minimum available rate of the business including:
  • the first control unit performs admission control on the user service to be accessed by using a half rate coding or a low speed adaptive multiple rate coding (AMR).
  • AMR adaptive multiple rate coding
  • the service type of the incoming user service is a packet service
  • the first control unit performs admission control according to a minimum available rate of the user service to be accessed, including:
  • the first control unit performs admission control on the user service to be accessed according to a minimum commitment rate, where the minimum commitment rate is a coding rate corresponding to the basic guaranteed bandwidth when the service applies for admission.
  • the seventh possible implementation manner of the second aspect is provided.
  • the first The control unit is specifically used to:
  • the congestion level determined by the first processing unit is heavy congestion
  • the user service to be accessed is a real-time service
  • the controlled service type determined by the second processing unit is a real-time service And controlling the user service to be accessed to preempt the real-time service whose service priority in the port is lower than that of the user service to be accessed;
  • the congestion level determined by the first processing unit is heavy congestion
  • the user service to be accessed is a real-time service
  • the controlled service type determined by the second processing unit is non-real-time The service allows the user service to be accessed to be admitted according to the coding rate of the application; or
  • the congestion level determined by the first processing unit is heavy congestion, and the user service to be accessed is a non-real time service, if the second processing unit determines the service of the controlled user service If the type is a real-time service, the user service that is to be accessed is controlled to preempt the real-time service whose service priority in the port is lower than that of the user service to be accessed; or
  • the congestion level determined by the first processing unit is heavy congestion, and the user service to be accessed is a non-real time service, if the controlled user service determined by the second processing unit If the service type is a non-real-time service, the user service that is to be accessed is controlled to preempt the non-real-time service whose service priority in the port is lower than that of the user service to be accessed.
  • the admission control apparatus further includes a second control unit, configured to determine, according to the first processing unit, a congestion level of the port and the second processing The controlled service type determined by the unit controls the user service of any one of the currently accessed service types.
  • the ninth possible implementation manner of the second aspect is provided.
  • the second The control unit is specifically used to:
  • the congestion level determined by the first processing unit is light congestion
  • the controlled service determined by the second processing unit is a real-time service or a non-real-time service
  • the real-time service that is currently accessed is No coding adjustment
  • the congestion level determined by the first processing unit is light congestion
  • the controlled service determined by the second processing unit is a real-time service
  • no coding adjustment is performed on the currently accessed non-real-time service
  • the congestion level is a slight congestion
  • the controlled service is a non-real-time service, triggering to reduce a coding rate of the currently accessed non-real-time service.
  • the tenth possible implementation manner of the second aspect is provided.
  • the second The control unit is specifically used to:
  • the congestion level determined by the first processing unit is heavy congestion
  • the controlled service determined by the second processing unit is a real-time service
  • the congestion level determined by the first processing unit is heavy congestion
  • the second processing When the controlled service determined by the unit is a non-real-time service, the current real-time service that has been accessed is not code-adjusted, and the coding rate of the currently accessed non-real-time service is reduced to the minimum committed rate;
  • the rate is the coding rate corresponding to the basic guaranteed bandwidth when the service applies for admission.
  • the network device is a base station, or a base station controller, or a radio network controller, or an evolved base station, or a core network.
  • the beneficial effects of the embodiments of the present invention are as follows:
  • the bandwidth can be used to accurately reflect the bandwidth usage of the port, and then accurately determine the congestion level and the controlled service type of the port according to the information, and accurately according to the total actual bandwidth, congestion level, and controlled service type of the port.
  • Admission control is performed on the user services to be accessed, which improves the utilization of network bandwidth.
  • FIG. 1 is a flowchart of an admission control method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another admission control method according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an admission control apparatus according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of another admission control apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a functional entity of an admission control apparatus according to an embodiment of the present invention. detailed description
  • the embodiments of the present invention provide an admission control method and apparatus, which are used to implement accurate service admission control and adjustment of current services, thereby improving network bandwidth utilization.
  • the method and apparatus of the embodiments of the present invention may be applied to various network devices, for example, a base station, a base station controller, a radio network controller, an evolved base station, a core network, and the like.
  • an embodiment of the present invention provides an admission control method, including:
  • the network device determines a congestion level of the port according to a total actual bandwidth occupied by user services of all service types that the port currently accesses and a preset congestion threshold.
  • the total actual bandwidth may be the bandwidth of the physical layer or the link layer bandwidth.
  • the user service can be divided into a real-time service and a non-real-time service according to the service type, and the total actual bandwidth occupied by the user service of all the service types that the port currently accesses at least includes the real-time service that the port currently accesses.
  • the total actual bandwidth and the total actual bandwidth occupied by the non-real-time services that the port is currently connected to; the port here may be the logical port of the network device or the physical port of the network device.
  • the logical port is a virtual port on the physical port. The logical port is used to monitor the bottleneck bandwidth and traffic shaping on the end-to-end path to avoid bottleneck bandwidth congestion.
  • Real-time service can be voice service, video call service Or signaling services, non-real-time services can be data services, interactive services, background services, and so on.
  • CS Circuit Service
  • PS Packet Switch
  • the reserved bandwidth method based on the multi-level admission control in the prior art is, for example, the actual bandwidth of the port occupied by the user service is different from the reserved bandwidth allocated when the user service is applied for admission.
  • the actual bandwidth occupied by the user service A is 1 Mbps
  • the reserved bandwidth allocated when applying for admission is 1.5 Mbps.
  • the port of the port occupied by multiple user services is currently
  • the total actual bandwidth (total actual bandwidth) occupied by user services of all service types that have been accessed is 5 Mbps, and the total reserved bandwidth is 7 Mbps. If the bottleneck bandwidth of the port is 8 Mbps and the congestion threshold is 85%, It is determined that the port is already congested.
  • the port also has a bandwidth of 3 Mbps, which can be used for accessing or allocating the user service to be accessed to the current user service, which may result in under-permission, and the access is allowed. On the contrary, it will not be repeated here.
  • the total actual bandwidth can truly reflect the current real bandwidth occupancy of the port.
  • the total actual bandwidth occupied by the currently accessed user service of the port can be obtained by obtaining the data traffic scheduled by all queues of the port.
  • the method of obtaining the information may be the periodic acquisition, or the user service in the priority queues is actively reported.
  • the total actual bandwidth occupied by the currently accessed user service of the port can also be obtained based on the statistics of data traffic received and sent by each service type of the port. It should be noted that the description herein is merely illustrative, and the present invention is not limited thereto.
  • the congestion level and the conditions for judgment can be set according to actual conditions.
  • the congestion level is set to Level 1, Level 2, Level 3, and Level 4.
  • Each level of congestion is set to a congestion threshold. The total actual bandwidth and congestion occupied by the user services of all service types that the port is currently connected to. The threshold is compared to determine that the congestion level is one of the above-mentioned first, second, third, and fourth levels; if the port is not congested, there is no congestion level.
  • the congestion level of a port includes two levels of light congestion and heavy congestion, and a light congestion threshold and a heavy congestion threshold are preset, and a light congestion threshold is less than or equal to the heavy congestion threshold, then: if the port is currently connected to all If the total actual bandwidth occupied by the user service of the service type is greater than or equal to the bandwidth determined by the light congestion threshold and less than the bandwidth determined by the heavy congestion threshold, it is determined that the congestion level of the port is light congestion;
  • the total actual bandwidth occupied by user services of all service types that the port is currently connected to is greater than Or equal to the bandwidth determined by the heavy congestion threshold, it is determined that the congestion level of the port is heavy congestion.
  • the congestion threshold may be bandwidth or a percentage of the port bandwidth. For example, the congestion threshold for setting the congestion is 70%, and the congestion threshold for the heavy congestion is 90%.
  • the total actual bandwidth occupied by the user services of all service types that the port is currently accessing accounts for the maximum bandwidth of the port.
  • the congestion level of the port is lightly congested; if the total actual bandwidth occupied by user services of all service types currently accessed by the port accounts for the maximum of the port If the percentage of the defined bandwidth is greater than or equal to 90%, then the congestion level of the port is determined to be heavily congested.
  • the maximum limited bandwidth is the maximum bandwidth that the port itself can provide.
  • the network device determines the controlled service type according to the total actual bandwidth occupied by the user service of any service type that the port is currently connected to, and the total bandwidth requested when the user service access of the service type is accessed.
  • the service traffic of the service type of the service type is obtained according to the data traffic scheduled by the priority queue corresponding to each service type in the port.
  • the actual bandwidth occupied by the user service of the service type is obtained according to the data traffic received and sent by the user service of the service type of the service type.
  • the method of obtaining the service may be the periodic acquisition, or may be the active reporting of the user service in the priority queue corresponding to each service type.
  • a port When a port is congested, for example, when the congestion level of a port is light congestion or heavy congestion, it is necessary to determine the service type of the controlled user service.
  • the network device obtains the total actual bandwidth of the real-time service as an example: if the total real bandwidth occupied by each user service of the acquired real-time service is large
  • the bandwidth applied for the service access of each user in the real-time service determines that the service type of the controlled user service is a real-time service, that is, when the port is congested, the total actual bandwidth occupied by the real-time service needs to be adjusted, otherwise
  • the service type of the controlled user service is non-real-time service.
  • the total actual bandwidth occupied by the non-real-time service needs to be adjusted.
  • the service type includes the real-time service and the non-real-time service, and the total actual bandwidth of the non-real-time service is obtained by the network device as an example: if the total actual bandwidth occupied by the non-real-time service is greater than the bandwidth requested when the non-real-time service is accessed, the The service type of the controlled user service is non-real-time service. Otherwise, the service type that causes the controlled user service is determined to be non-real-time service.
  • the service type includes the real-time service and the non-real-time service
  • the total actual bandwidth of the non-real-time service is obtained by the network device as an example: if the total actual bandwidth occupied by the non-real-time service is less than or equal to the bandwidth requested when the non-real-time service is accessed, Determine the type of business being controlled as real-time business.
  • the network device performs the quasi-access user service according to the congestion level determined in step 101 and the service type of the controlled user service determined in step 102 and the service type of the user service to be accessed. Into control.
  • the admission control of the user service to be accessed may be performed according to the congestion level determined in step 101 and the service type of the controlled user service determined by step 102 and the service type of the user service to be accessed. Variety of ways. For example, when the congestion level is lightly congested, and the user service to be accessed is a real-time service: if the determined service type of the controlled user service is a real-time service, the minimum available service according to the user service to be accessed may be used. The rate is controlled by admission. Taking the service type of the user service to be accessed as an example of the circuit service, the user service to be accessed may be preferentially authenticated by a half-rate coding or a low-speed adaptive multiple rate (AMR). If the service type of the controlled user service is a non-real-time service, the admission control may be performed according to the application rate of the user service to be accessed.
  • AMR adaptive multiple rate
  • Admission control may be performed according to the minimum available rate of the user service to be accessed.
  • the service type of the user service to be accessed is a group service, and the user service to be accessed may be controlled according to a minimum commitment rate, where the minimum commitment rate is when the service is applied for admission.
  • the basic guaranteed bandwidth corresponds to the encoding rate.
  • the congestion level is heavy congestion
  • the user service to be accessed is a real-time service: if the determined service type of the controlled user service is a real-time service, the user service to be accessed may be authenticated. In the control process, controlling the bandwidth of the real-time service whose service priority of the user service to be accessed is lower than that of the user service to be accessed, and the preemption is successful.
  • the service access of the user to be accessed is successful, if the preemption fails, the service access of the user to be accessed fails; or if the service type of the controlled user service is determined to be non-real-time service, The application rate of the user service is controlled by the access control, and the priority of the user service to be accessed is higher than the priority of the non-real time service currently accessed in the port.
  • the congestion level is heavy congestion
  • the user service to be accessed is the non-real time service: if the determined service type of the controlled user service is a real-time service, the user to be accessed may be The service performs the admission control process, and controls the bandwidth of the real-time service whose service priority of the user service to be accessed is lower than that of the user service to be accessed.
  • the user service that is to be accessed is a non-real-time service, and can be admitted according to the minimum available rate.
  • the non-real-time service is used as an example of the PS service, and can be admitted at a minimum commitment rate.
  • the user service preempts the bandwidth of the non-real-time service with the lowest priority of the currently accessed service in the port. If the preemption succeeds, the to-be-accessed Access business success, the failure to seize the service to be accessed user access failure.
  • the total actual bandwidth occupied by the obtained port by the embodiment of the present invention, and any service class The total actual bandwidth occupied by each user service and the bandwidth requested by the user service of the service type can truly reflect the bandwidth usage of the port, and thus accurately determine the congestion level and the controlled service type of the port. Thereby, accurate control of newly accessed user services is realized, and utilization of network bandwidth is improved.
  • the network device controls the currently accessed user service in the port, as follows:
  • the network device controls the user service of any type of service currently accessed according to the congestion level determined in step 101 and the controlled service type determined in step 102.
  • the congestion level is light congestion
  • the controlled service is a real-time service or a non-real-time service
  • no coding adjustment is performed on the currently accessed real-time service
  • the congestion level is lightly congested, and the controlled service is a real-time service
  • the current non-real-time service that has been accessed is not code-adjusted, or the congestion level is lightly congested, and the controlled service is When it is a non-real-time service, the triggering reduces the coding rate of the currently accessed non-real-time service.
  • the full-rate coding to the half-rate conversion is triggered for the currently accessed real-time service, or the currently accessed non-transmission is simultaneously reduced.
  • the encoding rate of the real-time service to the minimum committed rate; or,
  • the congestion level is heavy congestion, and the controlled service is a non-real-time service
  • the current accessed real-time service is not code-adjusted, and the currently accessed non-real-time service is reduced to the minimum committed rate
  • the minimum commitment rate is a coding rate corresponding to the basic guaranteed bandwidth when the service applies for admission.
  • the beneficial effects of the present implementation are as follows: The total actual bandwidth occupied by the port obtained by the solution in the embodiment of the present invention, and the total actual bandwidth occupied by each user service corresponding to any service type and the bandwidth requested by the user service of the service type.
  • the port bandwidth occupation situation can be truly reflected, and the congestion level and the controlled service type of the port are accurately determined according to the information, and the port is accurately processed according to the total actual bandwidth, the congestion level, and the controlled service type of the port.
  • the incoming user service is subject to admission control, which improves the utilization of network bandwidth. Referring to FIG.
  • an embodiment of the present invention provides an admission control apparatus 200, including: a first processing unit 201, configured to use a total actual bandwidth occupied by user services of all service types currently accessed by a network device port, and The congestion threshold is preset to determine the congestion level of the port.
  • the total actual bandwidth may be the bandwidth of the physical layer or the link layer bandwidth.
  • the user service can be divided into a real-time service and a non-real-time service according to the service type, and the total actual bandwidth occupied by the user service of all the service types that the port currently accesses at least includes the real-time service that the port currently accesses.
  • the total actual bandwidth and the total actual bandwidth occupied by the non-real-time services currently accessed by the port; the ports here include logical ports and physical ports.
  • a logical port is a virtual port on a physical port. The logical port is used to monitor the bottleneck bandwidth and traffic shaping on the end-to-end path to avoid bottleneck bandwidth congestion.
  • the physical port including the PPP port, the MLPPP port, the Ethernet port, or the link aggregation port;
  • the real-time service may be a voice service, a video call service, or a signaling service
  • the non-real-time service may be a data service, an interactive service, a background service, or the like.
  • the real-time service is a CS service
  • the non-real-time service is a PS service. It should be noted that the above is merely an example, and the present invention is not limited thereto.
  • the total actual bandwidth occupied by user services of all service types that are currently accessed by the port can be obtained by the following methods:
  • the total actual bandwidth occupied by the currently accessed user service of the port is obtained by obtaining the data traffic of all the queues of the port; or, according to the data traffic received and sent by the user service of each service type of the port.
  • the user can be actively reported in the priority queue or in each service type.
  • the congestion level and the conditions for judgment can be set according to actual conditions.
  • the congestion level is set to one level, two levels, three levels, and four levels.
  • Each level of congestion is set to a congestion threshold, and the total actual bandwidth occupied by user services of all service types currently accessed by the port is Congestion threshold comparison, thereby determining that the congestion level is one of the above-mentioned first, second, third, and fourth levels; if the port is not congested, then There is a level of congestion.
  • the congestion level of the port includes two levels of light congestion and heavy congestion, and the light congestion threshold and the heavy congestion threshold are preset, and the light congestion threshold is less than or equal to the heavy congestion threshold. If the total actual bandwidth occupied by the user service of the service type is greater than or equal to the bandwidth determined by the light congestion threshold and less than the bandwidth determined by the heavy congestion threshold, the first processing unit 201 determines that the congestion level of the port is light congestion. ;
  • the first processing unit 201 determines that the congestion level of the port is heavy congestion.
  • the congestion threshold may be bandwidth or a percentage of the port bandwidth.
  • the congestion threshold for setting a light congestion is 70%
  • the congestion threshold for a heavy congestion is 90%. If the current total bandwidth occupied by the user service of the current service type of the port accounts for the maximum limit of the port, If the percentage of the bandwidth is greater than or equal to 70% and less than 90%, the first processing unit 201 determines that the congestion level of the port is light congestion; if the port is currently occupied by the user service of any service type The first processing unit 201 determines that the congestion level of the port is heavily congested, and the percentage of the total actual bandwidth to the maximum limited bandwidth of the port is greater than or equal to 90%.
  • the maximum defined bandwidth is the maximum bandwidth that the port itself can provide.
  • the second processing unit 202 is configured to determine a controlled service type according to the total actual bandwidth occupied by the user service of the current service type of the network device port and the total bandwidth requested by the user service when the service type is accessed;
  • the different service types have corresponding priority queues on the ports. Therefore, the total actual bandwidth occupied by the user services of the service type can be obtained according to the data traffic scheduled by the priority queue corresponding to each service type in the port. Or, according to the data traffic received and sent by the user service of the service type of the service type that is currently accessed by the port, the total actual bandwidth occupied by the user service of the service type is obtained.
  • the method of obtaining may be periodic acquisition, or may be active on the user service in the priority queue corresponding to each service type.
  • the total actual bandwidth occupied by the service type may be, for example, only refer to the total actual bandwidth occupied by each user service of the real-time service, or only the total actual bandwidth occupied by each user service of the non-real-time service.
  • a port When a port is congested, for example, when the congestion level of a port is light congestion or heavy congestion, it is necessary to determine the service type of the controlled user service.
  • the total actual bandwidth of the real-time service is obtained by the service type including the real-time service and the non-real-time service. For example, if the total actual bandwidth occupied by each user service of the real-time service is greater than the bandwidth applied for each user service of the real-time service, The second processing unit 202 determines that the service type of the controlled user service is a real-time service, that is, when the port is congested, the total actual bandwidth occupied by the real-time service needs to be adjusted, otherwise the second processing unit 202 determines that the second processing unit 202 determines The service type of the controlled user service is non-real-time service. Correspondingly, when the port is congested, the total actual bandwidth occupied by the non-real-time service needs to be adjusted.
  • the total actual bandwidth of the non-real-time service is obtained by using the real-time service and the non-real-time service as an example: if the total actual bandwidth occupied by the non-real-time service is greater than the bandwidth applied for the non-real-time service access, the second The processing unit 202 may determine that the service type of the controlled user service is a non-real time service, otherwise determine that the service type causing the controlled user service is a non-real time service. It is to be noted that the description herein is merely illustrative, and the present invention is not limited thereto.
  • the first control unit 203 is configured to: according to the congestion level of the port determined by the first processing unit 201, the controlled service type determined by the second processing unit 202, and the service of the user service to be accessed Type, performing admission control on the user service to be accessed.
  • the user to be accessed according to the congestion level determined by the first processing unit 201 and the service type of the controlled user service determined by the second processing unit 202 and the service type of the user service to be accessed There are many ways to control the access of a business.
  • the congestion level determined by the first processing unit 201 is light congestion
  • the user service to be accessed is a real-time service: if the second processing unit 202 determines the service of the controlled user service
  • the type is a real-time service
  • the first control unit 203 may perform admission control on the user service to be accessed according to a minimum available rate of the user service to be accessed.
  • AMR adaptive multi-rate coding
  • the congestion level determined by the first processing unit 201 is light congestion
  • the user service to be accessed is the non-real time service: if the second processing unit 202 determines the controlled
  • the service type of the user service is a real-time service or a non-real-time service
  • the first control unit 203 may perform admission control on the user service to be accessed according to the minimum available rate of the user service to be accessed.
  • the service type of the user service to be accessed is a group service, and the user service to be accessed may be controlled according to a minimum commitment rate, where the minimum commitment rate is when the service is applied for admission.
  • the basic guaranteed bandwidth corresponds to the encoding rate.
  • the congestion level determined by the first processing unit 201 is heavy congestion
  • the user service to be accessed is real-time service
  • the first control unit 203 may control the performing the admission control process of the user service to be accessed.
  • the user service to be accessed is the bandwidth of the real-time service whose access priority is lower than that of the user to be accessed. If the preemption is successful, the service access of the user to be accessed is successful, and the preemption fails. If the service type of the user service to be accessed is not the real-time service, the first control unit 203 may wait for the service to be accessed.
  • the application rate of the accessed user service is controlled by the access control, and the priority of the user service to be accessed is higher than the priority of the non-real-time service currently accessed in the port.
  • the congestion level determined by the first processing unit 201 is heavy congestion
  • the user service to be accessed is the non-real time service: if the second processing unit 202 determines the controlled user service
  • the service type is a real-time service
  • the first control unit 203 may control the service priority of the currently accessed service in the user service preemption port to be accessed during the admission control process of the user service to be accessed.
  • the bandwidth of the real-time service is lower than that of the user to be accessed. Since the user service to be accessed is a non-real-time service, the access can be performed according to the minimum available rate.
  • the non-real-time service is the PS service
  • the minimum commitment rate is the coding rate corresponding to the basic guaranteed bandwidth when the service is applied for admission; or, if the second processing unit 202 determines
  • the service type of the controlled user service is a non-real-time service
  • the first control unit 203 may control the user service preemption port to be accessed in the process of performing admission control on the user service to be accessed.
  • the bandwidth of the currently accessed service is lower than the bandwidth of the non-real-time service that is lower than the user service to be accessed. If the preemption is successful, the service to be accessed is successfully accessed. If the preemption fails, the user to be accessed is the user to be accessed. Business access failed.
  • the second control unit 204 may be further configured to: according to the determined congestion level and the determined type of the controlled service, User services of any type of service that have been accessed are controlled.
  • the congestion level determined by the first processing unit 201 is light congestion
  • the controlled service determined by the second processing unit 202 is a real-time service or a non-real-time service
  • the second control The unit 204 does not perform coding adjustment on the currently accessed real-time service
  • the second control unit 204 When the congestion level determined by the first processing unit 201 is light congestion, and the controlled service determined by the second processing unit 202 is a real-time service, the second control unit 204 is currently connected.
  • the incoming non-real-time service is not coded, or the congestion level determined by the first processing unit 201 is lightly congested, and the controlled service determined by the second processing unit 202 is a non-real-time service.
  • the second control unit 204 triggers a decrease in the encoding rate of the currently accessed non-real time service.
  • the second control unit 204 is for the current
  • the accessed real-time service triggers full-rate encoding to half-rate conversion, or simultaneously reduces the encoding rate of the currently accessed non-real-time service to a minimum committed rate; or
  • the second control unit 204 When the congestion level determined by the first processing unit 201 is heavy congestion, and the controlled service determined by the second processing unit 202 is a non-real time service, the second control unit 204 The current real-time service that has been accessed is not code-adjusted, and the currently-accessed non-real-time service is reduced to the minimum committed rate; the minimum committed rate is the coding rate corresponding to the basic guaranteed bandwidth when the service is applied for admission.
  • the second control unit 204 accurately controls user services of any type of service currently accessed according to the determined congestion level and the determined type of the controlled service, thereby avoiding admission. Under-acceptance or over-admission in the control process.
  • the beneficial effects of the present implementation are as follows: The total actual bandwidth occupied by the port obtained by the solution in the embodiment of the present invention, and the total actual bandwidth occupied by each user service corresponding to any service type and the bandwidth requested by the user service of the service type.
  • the first processing unit 201 can accurately determine the congestion level of the port according to the information, and the second processing unit 202 can accurately determine the controlled service type according to the information.
  • the first control unit 203 increases the utilization of the network bandwidth according to the total actual bandwidth of the port obtained above.
  • an embodiment of the present invention further provides an admission control apparatus 300, which may be disposed at a base station and a base station controller.
  • the admission control device 300 includes a memory 301 and a processor 302.
  • the processor 302 is connected to the memory 301.
  • the memory 301 stores a set of program codes, and the memory 301 may include non-easy Loss of memory.
  • Processor 302 can be a CPU, or an ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
  • the processor 302 is configured to call the program code stored in the memory 301 for execution:
  • the bandwidth and the total bandwidth requested when the user service of the service type is accessed, and the controlled service type is determined;
  • processor 302 is optionally executed on the basis of performing the foregoing processing Processing:
  • the device in this embodiment can be used to implement the functions of the steps in the foregoing method embodiments.
  • the implementation principle and the technical effect are similar.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the application can be in the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
  • the application can be in the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which computer usable program code is embodied.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in a block or blocks of a flow or a flow and/or a block diagram of a flowchart Step.

Abstract

Disclosed in the present invention are an access control method and apparatus, aiming at realizing accurate control for to-be-accessed user services and currently-accessed user services so as to improve the utilization rate of network bandwidth. The method comprises: according to a total actual bandwidth occupied by currently-accessed user services of all service types in a port and a congestion threshold, determining, by network equipment, a congestion level of the port, wherein the service types comprise a real-time service type and a non-real-time service type, and the port comprises a logical port or a physical port; according to the total actual bandwidth occupied by the currently-accessed user service of any service type in the port as well as a total bandwidth applied when the user service of this service type is accessed, determining, by the network equipment, a controlled service type; and according to the congestion level of the port, the controlled service type, and the service type of a to-be-accessed user service, performing, by the network equipment, access control on the to-be-accessed user service.

Description

一种准入控制方法和装置 技术领域  Admission control method and device
本发明涉及通信技术领域, 尤指一种准入控制方法和装置。 背景技术  The present invention relates to the field of communication technologies, and more particularly to an admission control method and apparatus. Background technique
互联网协议(Internet Protocol, IP )技术以其简单、灵活和低成本的特性, 使得无线网络 IP化已成为一种电信网络必然趋势被广泛应用。  Internet Protocol (IP) technology, with its simple, flexible and low-cost features, makes wireless network IP has become a trend of telecommunications networks.
IP化。 相比时分复用 ( Time Division Multiplexing , TDM ) 方式下的传输链 路的固定分配(时分独享, 自己不用别人也无法使用), 网元设备和承载网设 备 IP化之后, 由于 IP报文分组和复用的特点,传输链路是共享带宽和统计复 用, 为了避免网络传输过载, 需要进行接入业务的准入控制。 例如, 在无线 通信系统中, 由于空口无线资源以及承载业务的传输链路资源均可能存在瓶 颈, 为了保证用户的服务质量(Quality of Service , QoS )体验, 需要对所有 接入的业务进行资源准入管理。 现有技术中通常釆用基于预留带宽的传输资 源准入控制, 具体如下: IP. Compared with the fixed allocation of the transmission link in Time Division Multiplexing (TDM) mode (time-division exclusive, you can not use it without others), after the IP device and the bearer network device are IP-based, due to IP packet grouping And the characteristics of multiplexing, the transmission link is shared bandwidth and statistical multiplexing, in order to avoid network transmission overload, access control of access services is required. For example, in a wireless communication system, there may be a bottleneck in the air interface radio resource and the transmission link resource of the bearer service. To ensure the quality of service (QoS) experience of the user, it is necessary to conduct resource quasi-standard for all accessed services. Into management. In the prior art, transmission bandwidth access control based on reserved bandwidth is generally used, as follows:
设备釆用多级准入控制,如逻辑端口级、物理端口级和网际协议( Internet Protocol , IP )路径级。 每一级都存在相应的预留带宽, 当待接入的用户业务 接入或者当前的用户业务释放时, 每一级都进行预留带宽的变更。 当每一级 已占用的预留带宽有变化时, 都需要与相应的每一级配置的带宽门限进行比 较。 基于预留带宽的准入控制方案, 即通过预测的预留带宽来完成传输带宽 占有情况的评估, 要求针对用户业务的预留带宽能准确反映该用户业务带宽 的实际使用情况。 由于实时业务, 例如, 电路业务(Circuit Service, CS ), 和 非实时业务, 如分组(Packet Switch, PS )业务的预留带宽很难预测, 因此存 在问题如下: 1、 预留带宽方式下传输带宽利用率低。 The device uses multi-level admission control, such as logical port level, physical port level, and Internet Protocol (IP) path level. Each level has a corresponding reserved bandwidth. When the user service to be accessed or the current user service is released, the reserved bandwidth is changed at each level. When the reserved bandwidth occupied by each level changes, it needs to be compared with the corresponding bandwidth threshold configured for each level. The admission control scheme based on the reserved bandwidth, that is, the estimation of the transmission bandwidth occupation is completed by the predicted reserved bandwidth, and the reserved bandwidth for the user service can accurately reflect the actual usage of the user service bandwidth. Since the reserved bandwidth of real-time services, for example, Circuit Service (CS), and non-real-time services, such as Packet Switch (PS) services, is difficult to predict, the following problems exist: 1. The transmission bandwidth utilization is low in the reserved bandwidth mode.
2、 对用户业务的准入控制不准确, 体现在如下方面:  2. Inaccurate access control to user services is reflected in the following aspects:
a、 存在欠准入问题, 即传输资源带宽实际还有充足的带宽, 但是准入控 制面却认为传输资源带宽耗尽并拒绝新业务接入, 导致用户呼叫接入成功率 低。  a. There is an under-admission problem, that is, the transmission resource bandwidth actually has sufficient bandwidth. However, the admission control plane considers that the transmission resource bandwidth is exhausted and rejects new service access, resulting in a low success rate of user call access.
b、 存在过准入问题, 即传输资源带宽实际已经耗尽, 但是准入控制面却 认为传输资源带宽尚充裕并不断接入新业务, 导致网络拥塞不断加剧, 所有 用户随机丟包, 用户体验非常差。 发明内容  b. There is an admission problem, that is, the transmission resource bandwidth is actually exhausted, but the admission control plane believes that the transmission resource bandwidth is sufficient and continuously accesses new services, resulting in increasing network congestion, random loss of all users, and user experience. very bad. Summary of the invention
本发明实施例提供一种准入控制方法和装置, 用以解决现有准入控制方 法中对用户业务准入不准确的问题和带宽利用率低的问题。  The embodiment of the present invention provides an admission control method and apparatus, which are used to solve the problem of inaccurate user service access and low bandwidth utilization in the existing admission control method.
第一方面, 提供一种准入控制方法, 包括:  In a first aspect, an admission control method is provided, including:
网络设备根据端口当前已接入的所有业务类型的用户业务所占用的总实 际带宽和拥塞门限, 确定所述端口的拥塞等级, 其中, 所述业务类型包括实 时业务类型和非实时业务类型, 所述端口包括逻辑端口或物理端口;  The network device determines the congestion level of the port according to the total actual bandwidth and the congestion threshold of the user service of all service types that the port is currently connected to, and the service type includes a real-time service type and a non-real-time service type. The port includes a logical port or a physical port;
所述网络设备根据所述端口当前已接入的任一种业务类型的用户业务所 占用的总实际带宽和该业务类型的用户业务接入时所申请的总带宽, 确定受 控的业务类型;  Determining, by the network device, the controlled service type according to the total actual bandwidth occupied by the user service of the service type that the port is currently accessed, and the total bandwidth requested by the service service of the service type;
所述网络设备根据所述端口的拥塞等级、 所述受控的业务类型以及待接 入的用户业务的业务类型, 对所述待接入的用户业务进行准入控制。  The network device performs admission control on the user service to be accessed according to the congestion level of the port, the controlled service type, and the service type of the user service to be accessed.
结合所述第一方面, 提供所述第一方面的第一种可能的实现方式, 在所 述第一方面的第一种可能的实现方式中, 所述端口当前已接入的所有业务类 型的用户业务所占用的总实际带宽, 是:  With the first aspect, the first possible implementation manner of the first aspect is provided. In the first possible implementation manner of the first aspect, The total actual bandwidth occupied by user services is:
所述网络设备根据所述端口所有队列调度的数据流量得到的; 或者, 所述网络设备根据所述端口当前已接入的所有业务类型的用户业务在设 定周期内接收和发送的数据流量得到的; 所述端口当前已接入的任一种业务类型的用户业务所占用的总实际带 覔 , 是: Obtaining, according to the data traffic scheduled by all the queues of the port, the network device is obtained according to the data traffic received and sent by the user service of all service types currently accessed by the port in a set period. of; The total actual bandwidth occupied by the user service of any service type that the port is currently connected to is:
所述网络设备根据所述端口当前已接入的任一种业务类型所对应的优先 级队列调度的数据流量得到的; 或者,  Obtaining, by the network device, data traffic scheduled according to a priority queue corresponding to any service type that the port is currently accessing; or
所述网络设备根据所述端口当前已接入的任一种业务类型的各个用户业 务在设定周期内接收和发送的数据流量得到的。  The network device is obtained according to data traffic received and sent by each user service of any service type currently accessed by the port in a set period.
结合所述第一方面或所述第一方面的第一种可能的实现方式, 提供所述 第一方面的第二种可能的实现方式, 在所述第一方面的第二种可能的实现方 式中, 所述根据所述端口当前任一种业务类型的用户业务所占用的总实际带 宽和该业务类型的用户业务接入时所申请的总带宽, 确定受控的业务类型, 包括:  In conjunction with the first aspect or the first possible implementation of the first aspect, the second possible implementation of the first aspect is provided, and the second possible implementation manner of the first aspect Determining the controlled service type according to the total actual bandwidth occupied by the user service of the current service type of the port and the total bandwidth requested by the user service access of the service type, including:
若所述端口当前任一种业务类型的用户业务所占用的总实际带宽大于该 业务类型的用户业务接入时所申请的总带宽, 则确定受控的业务类型为该业 务类型; 或者  If the total actual bandwidth occupied by the user service of the current service type of the port is greater than the total bandwidth requested by the user service of the service type, the controlled service type is determined to be the service type; or
若所述端口当前任一种业务类型的用户业务所占用的总实际带宽小于或 者等于该业务类型的用户业务接入时所申请的总带宽, 则确定受控的业务类 型为与该业务类型不同的另一业务类型。  If the total actual bandwidth occupied by the user service of the current service type of the port is less than or equal to the total bandwidth requested by the user service of the service type, it is determined that the controlled service type is different from the service type. Another type of business.
结合所述第一方面、 所述第一方面的第一种可能的实现方式或所述第一 方面的第二种可能的实现方式, 提供所述第一方面的第三种可能的实现方式, 在所述第一方面的第三种可能的实现方式中, 所述端口的拥塞等级包括轻度 拥塞和重度拥塞;  A third possible implementation manner of the first aspect is provided, in combination with the first aspect, the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, In a third possible implementation manner of the first aspect, the congestion level of the port includes light congestion and heavy congestion;
所述预设拥塞门限包括轻度拥塞门限和重度拥塞门限, 其中, 所述轻度 拥塞门限小于所述重度拥塞门限;  The preset congestion threshold includes a light congestion threshold and a heavy congestion threshold, where the light congestion threshold is less than the heavy congestion threshold;
所述根据所述端口当前已接入的所有业务类型的用户业务所占用的总实 际带宽和预设拥塞门限, 确定所述端口的拥塞等级, 包括:  Determining the congestion level of the port according to the total actual bandwidth and the preset congestion threshold of the user service of all service types that the port is currently connected to, including:
若所述端口当前已接入的所有业务类型的用户业务所占用的总实际带宽 大于或等于所述轻度拥塞门限确定的带宽, 且小于所述重度拥塞门限确定的 带宽, 则确定所述端口的拥塞等级为轻度拥塞; 或者, If the total actual bandwidth occupied by the user service of all service types that the port is currently connected to is greater than or equal to the bandwidth determined by the light congestion threshold, and is less than the threshold of the heavy congestion threshold. Bandwidth, determining that the congestion level of the port is light congestion; or
若所述端口当前已接入的所有业务类型的用户业务所占用的总实际带宽 大于或等于所述重度拥塞门限确定的带宽, 则确定所述端口的拥塞等级为重 度拥塞。  If the total actual bandwidth occupied by the user service of all service types that the port is currently connected to is greater than or equal to the bandwidth determined by the heavy congestion threshold, it is determined that the congestion level of the port is heavy congestion.
结合所述第一方面的第三种可能的实现方式, 提供所述第一方面的第四 种可能的实现方式, 在所述第一方面的第四种可能的实现方式中, 所述根据 所述端口的拥塞等级、 所述受控的业务类型以及待接入的用户业务的业务类 型, 对所述待接入的用户业务进行准入控制, 包括:  With the third possible implementation of the first aspect, a fourth possible implementation manner of the first aspect is provided. In a fourth possible implementation manner of the first aspect, the The congestion level of the port, the type of the controlled service, and the service type of the user service to be accessed, and the admission control of the user service to be accessed, including:
当所述拥塞等级为轻度拥塞, 且所述待接入的用户业务为实时业务时, 若所述受控的用户业务的业务类型为实时业务, 则按照所述待接入的用户业 务的最小可用速率进行准入控制; 或者,  When the congestion level is lightly congested, and the user service to be accessed is a real-time service, if the service type of the controlled user service is a real-time service, according to the user service to be accessed Admit control at the minimum available rate; or,
当所述拥塞等级为轻度拥塞, 且所述待接入的用户业务为非实时业务时, 若所述受控的用户业务的业务类型为实时业务或非实时业务, 则按照所述待 接入的用户业务的最小可用速率进行准入控制。  When the congestion level is lightly congested, and the user service to be accessed is a non-real-time service, if the service type of the controlled user service is a real-time service or a non-real-time service, the connection is performed according to the Admission control is performed at the minimum available rate of incoming user traffic.
结合所述第一方面的第四种可能的实现方式, 提供所述第一方面的第五 种可能的实现方式, 在所述第一方面的第五种可能的实现方式中, 所述待接 入的用户业务的业务类型为电路业务,  With the fourth possible implementation of the first aspect, a fifth possible implementation manner of the first aspect is provided. In a fifth possible implementation manner of the first aspect, the The service type of the incoming user service is circuit business.
所述按照待接入的用户业务的最小可用速率进行准入控制包括: 以半速率编码或者低速的自适应多速率编码 ( AMR , Adaptive Multiple Rate )对所述待接入的用户业务进行准入控制。  The admission control according to the minimum available rate of the user service to be accessed includes: admitting the user service to be accessed by using a half rate coding or a low speed adaptive multiple rate coding (AMR) control.
结合所述第一方面的第四种可能的实现方式, 提供所述第一方面的第六 种可能的实现方式, 在所述第一方面的第六种可能的实现方式中, 所述待接 入的用户业务的业务类型为分组业务,  With the fourth possible implementation of the first aspect, a sixth possible implementation manner of the foregoing first aspect is provided. In a sixth possible implementation manner of the first aspect, The service type of the incoming user service is a packet service.
所述按照待接入的用户业务的最小可用速率进行准入控制包括: 按照最小承诺速率对所述待接入的用户业务进行准入控制, 所述最小承 诺速率为业务申请准入时的基本保证带宽对应的编码速率。  The admission control according to the minimum available rate of the user service to be accessed includes: performing admission control on the user service to be accessed according to a minimum commitment rate, where the minimum commitment rate is the basic when the service is applied for admission. Guarantee the encoding rate corresponding to the bandwidth.
结合所述第一方面的第三种可能的实现方式, 提供所述第一方面的第七 种可能的实现方式, 在所述第一方面的第七种可能的实现方式中, 所述根据 所述端口的拥塞等级、 所述受控的业务类型以及待接入的用户业务的业务类 型, 对所述待接入的用户业务进行准入控制, 包括: In conjunction with the third possible implementation of the first aspect, the seventh aspect of the first aspect is provided A possible implementation manner, in a seventh possible implementation manner of the first aspect, the foregoing, according to a congestion level of the port, the controlled service type, and a service type of a user service to be accessed, Performing admission control on the user service to be accessed, including:
当所述拥塞等级为重度拥塞, 且所述待接入的用户业务为实时业务时, 若所述受控的业务类型为实时业务, 则控制所述待接入的用户业务抢占所述 端口中当前已接入的业务优先级比所述待接入的用户业务的业务优先级低的 实时业务; 或者,  When the congestion level is heavy congestion, and the user service to be accessed is a real-time service, if the controlled service type is a real-time service, control the user service to be accessed to preempt the port. a real-time service whose service priority is lower than that of the user service to be accessed; or
当所述拥塞等级为重度拥塞, 且所述待接入的用户业务为实时业务时, 若所述受控的业务类型为非实时业务, 则允许所述待接入的用户业务根据申 请的编码速率进行准入; 或者,  When the congestion level is heavy congestion, and the user service to be accessed is a real-time service, if the controlled service type is a non-real-time service, the user service to be accessed is allowed to be coded according to the application. Rate access; or,
当所述拥塞等级为重度拥塞, 且所述待接入的用户业务为非实时业务时, 若所述受控的用户业务的业务类型为实时业务, 则控制所述待接入的用户业 务抢占所述端口中当前已接入的业务优先级比所述待接入的用户业务的业务 优先级低的实时业务; 或者,  When the congestion level is heavy congestion, and the user service to be accessed is a non-real-time service, if the service type of the controlled user service is a real-time service, the user service to be accessed is controlled to be preempted. a real-time service in which the service priority of the currently accessed port is lower than the service priority of the user service to be accessed; or
当所述拥塞等级为重度拥塞, 且所述待接入的用户业务为非实时业务时, 若所述受控的用户业务的业务类型为非实时业务, 则控制所述待接入的用户 业务抢占所述端口中当前已接入的业务优先级比所述待接入的用户业务的业 务优先级低的非实时业务。  When the congestion level is heavy congestion, and the user service to be accessed is a non-real-time service, if the service type of the controlled user service is a non-real-time service, the user service to be accessed is controlled. The non-real-time service with the priority of the service that is currently accessed in the port is lower than the service priority of the user service to be accessed.
结合所述第一方面或所述第一方面的第一至第七种可能的实现方式中的 任一种可能的实现方式, 提供所述第一方面的第八种可能的实现方式, 在所 述第一方面的第八种可能的实现方式中, 还包括根据所述端口的拥塞等级和 所述受控的业务类型, 对所述当前已接入的用户业务进行控制。  In combination with the first aspect or any one of the first to the seventh possible implementations of the first aspect, the eighth possible implementation of the first aspect is provided. The eighth possible implementation manner of the first aspect, further includes controlling, according to the congestion level of the port and the controlled service type, the currently accessed user service.
结合所述第一方面的第八种可能的实现方式, 提供所述第一方面的第九 种可能的实现方式, 在所述第一方面的第九种可能的实现方式中, 所述根据 所述端口的拥塞等级和所述受控的业务类型, 对所述当前已接入的用户业务 进行控制, 包括:  In conjunction with the eighth possible implementation of the first aspect, the ninth possible implementation manner of the first aspect is provided. In the ninth possible implementation manner of the first aspect, the Determining the congestion level of the port and the controlled service type, and controlling the currently accessed user service, including:
当所述拥塞等级为轻度拥塞, 且所述受控业务为实时业务或者非实时业 务时, 对当前已接入的实时业务均不作编码调整; 或者, When the congestion level is light congestion, and the controlled service is real-time service or non-real-time service During the service, no adjustment is made to the currently accessed real-time services; or
当所述拥塞等级为轻度拥塞, 且所述受控业务为实时业务时, 对当前已 接入的非实时业务不作编码调整, 或者,  When the congestion level is lightly congested, and the controlled service is a real-time service, no coding adjustment is performed on the currently accessed non-real-time service, or
当所述拥塞等级为轻度拥塞, 且所述受控业务为非实时业务时, 触发降 低所述当前已接入的非实时业务的编码速率。  When the congestion level is light congestion, and the controlled service is a non-real time service, triggering to reduce the coding rate of the currently accessed non-real time service.
结合所述第一方面的第八种可能的实现方式, 提供所述第一方面的第十 种可能的实现方式, 在所述第一方面的第十种可能的实现方式中, 所述根据 所述端口的拥塞等级和所述受控的业务类型, 对所述当前已接入的用户业务 进行控制, 包括:  With the eighth possible implementation of the first aspect, the tenth possible implementation manner of the first aspect is provided. In the tenth possible implementation manner of the first aspect, the Determining the congestion level of the port and the controlled service type, and controlling the currently accessed user service, including:
当所述拥塞等级为重度拥塞, 且所述受控业务为实时业务时, 对于当前 已经接入的实时业务触发全速率编码到半速率的转换, 或者同时降低当前已 经接入的非实时业务的编码速率至最小承诺速率; 或者,  When the congestion level is heavy congestion, and the controlled service is a real-time service, the full-rate coding to the half-rate conversion is triggered for the currently accessed real-time service, or the non-real-time service that is currently accessed is simultaneously reduced. Encoding rate to a minimum committed rate; or,
当所述拥塞等级为重度拥塞, 且所述受控业务为非实时业务时, 对当前 已经接入的实时业务不作编码调整, 对当前已接入的非实时业务的编码速率 降低至所述最小承诺速率;  When the congestion level is heavy congestion, and the controlled service is a non-real-time service, the current real-time service that has been accessed is not code-adjusted, and the coding rate of the currently accessed non-real-time service is reduced to the minimum. Commitment rate
其中, 所述最小承诺速率为业务申请准入时的基本保证带宽对应的编码 速率。  The minimum committed rate is a coding rate corresponding to the basic guaranteed bandwidth when the service applies for admission.
本发明实施例有益效果如下: 本发明实施例方案所获取的端口被占用的 总实际带宽, 以及任一种业务类型对应的各用户业务占用的总实际带宽和该 业务类型的用户业务申请接入的带宽, 可以真实反应所述端口带宽占用情况, 进而根据这些信息准确确定所述端口的拥塞等级和受控的业务类型, 并根据 端口总的实际带宽、 拥塞等级以及受控的业务类型准确地对待接入的用户业 务进行准入控制, 提高了网络带宽的利用率。 第二方面, 提供一种准入控制装置, 包括:  The beneficial effects of the embodiments of the present invention are as follows: The total actual bandwidth occupied by the port obtained by the solution in the embodiment of the present invention, and the total actual bandwidth occupied by each user service corresponding to any service type and the application service access of the service type of the service type The bandwidth can be used to accurately reflect the bandwidth usage of the port, and then accurately determine the congestion level and the controlled service type of the port according to the information, and accurately according to the total actual bandwidth, congestion level, and controlled service type of the port. Admission control is performed on the user services to be accessed, which improves the utilization of network bandwidth. In a second aspect, an admission control apparatus is provided, including:
第一处理单元, 用于根据网络设备的端口当前已接入的所有业务类型的 用户业务所占用的总实际带宽和拥塞门限, 确定所述端口的拥塞等级; 第二处理单元, 用于根据所述端口当前已接入的任一种业务类型的用户 业务所占用的总实际带宽和该业务类型的用户业务接入时所申请的总带宽, 确定受控的业务类型; a first processing unit, configured to determine a congestion level of the port according to a total actual bandwidth and a congestion threshold occupied by user services of all service types that the port of the network device currently accesses; a second processing unit, configured to determine, according to the total actual bandwidth occupied by user services of any service type that the port is currently accessed, and the total bandwidth requested by the user service access of the service type, business type;
第一控制单元, 用于根据所述第一处理单元确定的所述端口的拥塞等级、 所述第二处理单元确定的所述受控的业务类型以及待接入的用户业务的业务 类型, 对所述待接入的用户业务进行准入控制。  a first control unit, configured to: according to the congestion level of the port determined by the first processing unit, the controlled service type determined by the second processing unit, and a service type of a user service to be accessed, The user service to be accessed is subjected to admission control.
结合所述第二方面, 提供所述第二方面的第一种可能的实现方式, 在所 述第二方面的第一种可能的实现方式中, 所述端口当前已接入的所有业务类 型的用户业务所占用的总实际带宽, 是:  With the second aspect, the first possible implementation manner of the second aspect is provided. In the first possible implementation manner of the second aspect, The total actual bandwidth occupied by user services is:
根据所述端口所有队列调度的数据流量得到的; 或者,  Obtained according to data traffic scheduled by all queues of the port; or
根据所述端口当前已接入的所有业务类型的用户业务在设定周期内接收 和发送的数据流量得到的;  Obtaining data traffic received and sent in a set period according to user services of all service types currently accessed by the port;
所述端口当前已接入的任一种业务类型的用户业务所占用的总实际带 覔 , 是:  The total actual bandwidth occupied by the user service of any service type that the port is currently connected to is:
根据所述端口当前已接入的任一种业务类型所对应的优先级队列调度的 数据流量得到的; 或者,  Obtained according to the data traffic scheduled by the priority queue corresponding to any service type that the port is currently connected to; or
根据所述端口当前已接入的任一种业务类型的各个用户业务在设定周期 内接收和发送的数据流量得到的。  According to the data traffic received and sent by each user service of any service type currently accessed by the port in a set period.
结合所述第二方面或所述第二方面的第一种可能的实现方式, 提供所述 第二方面的第二种可能的实现方式, 在所述第二方面的第二种可能的实现方 式中, 所述第二处理单元, 具体用于:  In conjunction with the second aspect or the first possible implementation of the second aspect, the second possible implementation of the second aspect is provided, and the second possible implementation manner of the second aspect The second processing unit is specifically configured to:
若所述端口当前任一种业务类型的用户业务所述占用的总实际带宽大于 该业务类型的用户业务接入时申请的总带宽, 则确定受控的业务类型为该业 务类型; 或者  If the total actual bandwidth occupied by the user service of the current service type of the port is greater than the total bandwidth requested by the user service of the service type, the controlled service type is determined to be the service type; or
若所述端口当前任一种业务类型的用户业务所占用的总实际带宽小于或 者等于该业务类型的用户业务接入时所申请的总带宽, 则确定受控的业务类 型为与该业务类型不同的另一业务类型。 结合所述第二方面、 所述第二方面的第一种可能的实现方式或所述第二 方面的第二种可能的实现方式, 提供所述第二方面的第三种可能的实现方式, 在所述第二方面的第三种可能的实现方式中, 所述端口的拥塞等级包括轻度 拥塞和重度拥塞; If the total actual bandwidth occupied by the user service of the current service type of the port is less than or equal to the total bandwidth requested by the user service of the service type, it is determined that the controlled service type is different from the service type. Another type of business. A third possible implementation manner of the second aspect is provided, in combination with the second aspect, the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, In a third possible implementation manner of the second aspect, the congestion level of the port includes light congestion and heavy congestion;
所述预设拥塞门限包括轻度拥塞门限和重度拥塞门限, 其中, 所述轻度 拥塞门限小于所述重度拥塞门限;  The preset congestion threshold includes a light congestion threshold and a heavy congestion threshold, where the light congestion threshold is less than the heavy congestion threshold;
所述第一处理单元, 具体用于:  The first processing unit is specifically configured to:
若所述端口当前已接入的所有业务类型的用户业务所占用的总实际带宽 大于或等于所述轻度拥塞门限确定的带宽, 且小于所述重度拥塞门限确定的 带宽, 则确定所述端口的拥塞等级为轻度拥塞; 或者,  Determining the port if the total actual bandwidth occupied by the user service of all the service types that the port is currently accessing is greater than or equal to the bandwidth determined by the light congestion threshold and smaller than the bandwidth determined by the heavy congestion threshold. Congestion level is mild congestion; or,
若所述端口当前已接入的所有业务类型的用户业务所占用的总实际带宽 大于或等于所述重度拥塞门限确定的带宽, 则确定所述端口的拥塞等级为重 度拥塞。  If the total actual bandwidth occupied by the user service of all service types that the port is currently connected to is greater than or equal to the bandwidth determined by the heavy congestion threshold, it is determined that the congestion level of the port is heavy congestion.
结合所述第二方面的第三种可能的实现方式, 提供所述第二方面的第四 种可能的实现方式, 在所述第二方面的第四种可能的实现方式中, 所述第一 控制单元具体用于:  With the third possible implementation of the second aspect, a fourth possible implementation manner of the second aspect is provided. In a fourth possible implementation manner of the second aspect, the first The control unit is specifically used to:
当所述第一处理单元确定的所述拥塞等级为轻度拥塞, 且所述待接入的 用户业务为实时业务时, 若所述第二处理单元确定的所述受控的用户业务的 业务类型为实时业务, 则按照所述待接入的用户业务的最小可用速率进行准 入控制; 或者,  When the congestion level determined by the first processing unit is light congestion, and the user service to be accessed is a real-time service, if the second processing unit determines the service of the controlled user service If the type is a real-time service, the access control is performed according to the minimum available rate of the user service to be accessed; or
当所述第一处理单元确定的所述拥塞等级为轻度拥塞, 且所述待接入的 用户业务为非实时业务时, 若所述第二处理单元确定的所述受控的用户业务 的业务类型为实时业务或非实时业务, 则按照所述待接入的用户业务的最小 可用速率进行准入控制。  When the congestion level determined by the first processing unit is light congestion, and the user service to be accessed is a non-real time service, if the second processing unit determines the controlled user service If the service type is a real-time service or a non-real-time service, the access control is performed according to the minimum available rate of the user service to be accessed.
结合所述第二方面的第四种可能的实现方式, 提供所述第二方面的第五 种可能的实现方式, 在所述第二方面的第五种可能的实现方式中, 所述待接 入的用户业务的业务类型为电路业务, 所述第一控制单元按照待接入的用户 业务的最小可用速率进行准入控制, 包括: With the fourth possible implementation of the second aspect, a fifth possible implementation manner of the second aspect is provided. In a fifth possible implementation manner of the second aspect, the The service type of the incoming user service is a circuit service, and the first control unit is in accordance with the user to be accessed. Admission control for the minimum available rate of the business, including:
所述第一控制单元以半速率编码或者低速的自适应多速率编码( AMR, Adaptive Multiple Rate )对所述待接入的用户业务进行准入控制。  The first control unit performs admission control on the user service to be accessed by using a half rate coding or a low speed adaptive multiple rate coding (AMR).
结合所述第二方面的第四种可能的实现方式, 提供所述第二方面的第六 种可能的实现方式, 在所述第二方面的第六种可能的实现方式中, 所述待接 入的用户业务的业务类型为分组业务, 所述第一控制单元按照待接入的用户 业务的最小可用速率进行准入控制, 包括:  With the fourth possible implementation of the second aspect, a sixth possible implementation manner of the foregoing second aspect is provided. In a sixth possible implementation manner of the second aspect, The service type of the incoming user service is a packet service, and the first control unit performs admission control according to a minimum available rate of the user service to be accessed, including:
所述第一控制单元按照最小承诺速率对所述待接入的用户业务进行准入 控制, 所述最小承诺速率为业务申请准入时的基本保证带宽对应的编码速率。  The first control unit performs admission control on the user service to be accessed according to a minimum commitment rate, where the minimum commitment rate is a coding rate corresponding to the basic guaranteed bandwidth when the service applies for admission.
结合所述第二方面的第三种可能的实现方式, 提供所述第二方面的第七 种可能的实现方式, 在所述第二方面的第七种可能的实现方式中, 所述第一 控制单元具体用于:  In conjunction with the third possible implementation of the second aspect, the seventh possible implementation manner of the second aspect is provided. In the seventh possible implementation manner of the second aspect, the first The control unit is specifically used to:
当所述第一处理单元确定的所述拥塞等级为重度拥塞, 且所述待接入的 用户业务为实时业务时, 若所述第二处理单元确定的所述受控的业务类型为 实时业务, 则控制所述待接入的用户业务抢占所述端口中当前已接入的业务 优先级比所述待接入的用户业务的业务优先级低的实时业务; 或者,  When the congestion level determined by the first processing unit is heavy congestion, and the user service to be accessed is a real-time service, if the controlled service type determined by the second processing unit is a real-time service And controlling the user service to be accessed to preempt the real-time service whose service priority in the port is lower than that of the user service to be accessed; or
当所述第一处理单元确定的所述拥塞等级为重度拥塞, 且所述待接入的 用户业务为实时业务时, 若所述第二处理单元确定的所述受控的业务类型为 非实时业务, 则允许所述待接入的用户业务根据申请的编码速率进行准入; 或者,  When the congestion level determined by the first processing unit is heavy congestion, and the user service to be accessed is a real-time service, if the controlled service type determined by the second processing unit is non-real-time The service allows the user service to be accessed to be admitted according to the coding rate of the application; or
当所述第一处理单元确定的所述拥塞等级为重度拥塞, 且所述待接入的 用户业务为非实时业务时, 若所述第二处理单元确定的所述受控的用户业务 的业务类型为实时业务, 则控制所述待接入的用户业务抢占所述端口中当前 已接入的业务优先级比所述待接入的用户业务的业务优先级低的实时业务; 或者,  When the congestion level determined by the first processing unit is heavy congestion, and the user service to be accessed is a non-real time service, if the second processing unit determines the service of the controlled user service If the type is a real-time service, the user service that is to be accessed is controlled to preempt the real-time service whose service priority in the port is lower than that of the user service to be accessed; or
当所述第一处理单元确定的所述拥塞等级为重度拥塞, 且所述待接入的 用户业务为非实时业务时, 若所述第二处理单元确定的所述受控的用户业务 的业务类型为非实时业务, 则控制所述待接入的用户业务抢占所述端口中当 前已接入的业务优先级比所述待接入的用户业务的业务优先级低的非实时业 务。 When the congestion level determined by the first processing unit is heavy congestion, and the user service to be accessed is a non-real time service, if the controlled user service determined by the second processing unit If the service type is a non-real-time service, the user service that is to be accessed is controlled to preempt the non-real-time service whose service priority in the port is lower than that of the user service to be accessed.
结合所述第二方面或所述第二方面的第一至第七种可能的实现方式中的 任一种可能的实现方式, 提供所述第二方面的第八种可能的实现方式, 在所 述第二方面的第八种可能的实现方式中, 所述准入控制装置还包括第二控制 单元, 用于根据所述第一处理单元确定的所述端口的拥塞等级和所述第二处 理单元确定的所述受控的业务类型, 对所述当前已接入的任一种业务类型的 用户业务进行控制。  In combination with the second aspect or any one of the first to the seventh possible implementation manners of the second aspect, the eighth possible implementation manner of the second aspect is provided. In an eighth possible implementation manner of the second aspect, the admission control apparatus further includes a second control unit, configured to determine, according to the first processing unit, a congestion level of the port and the second processing The controlled service type determined by the unit controls the user service of any one of the currently accessed service types.
结合所述第二方面的第八种可能的实现方式, 提供所述第二方面的第九 种可能的实现方式, 在所述第二方面的第九种可能的实现方式中, 所述第二 控制单元具体用于:  In conjunction with the eighth possible implementation of the second aspect, the ninth possible implementation manner of the second aspect is provided. In the ninth possible implementation manner of the second aspect, the second The control unit is specifically used to:
当所述第一处理单元确定的所述拥塞等级为轻度拥塞, 且所述第二处理 单元确定的所述受控业务为实时业务或者非实时业务时, 对当前已接入的实 时业务均不作编码调整; 或者,  When the congestion level determined by the first processing unit is light congestion, and the controlled service determined by the second processing unit is a real-time service or a non-real-time service, the real-time service that is currently accessed is No coding adjustment; or,
当所述第一处理单元确定的所述拥塞等级为轻度拥塞, 且所述第二处理 单元确定的所述受控业务为实时业务时, 对当前已接入的非实时业务不作编 码调整, 或者所述拥塞等级为轻度拥塞, 且所述受控业务为非实时业务时, 触发降低所述当前已接入的非实时业务的编码速率。  When the congestion level determined by the first processing unit is light congestion, and the controlled service determined by the second processing unit is a real-time service, no coding adjustment is performed on the currently accessed non-real-time service, Or when the congestion level is a slight congestion, and the controlled service is a non-real-time service, triggering to reduce a coding rate of the currently accessed non-real-time service.
结合所述第二方面的第八种可能的实现方式, 提供所述第二方面的第十 种可能的实现方式, 在所述第二方面的第十种可能的实现方式中, 所述第二 控制单元具体用于:  With the eighth possible implementation of the second aspect, the tenth possible implementation manner of the second aspect is provided. In the tenth possible implementation manner of the second aspect, the second The control unit is specifically used to:
当所述第一处理单元确定的所述拥塞等级为重度拥塞, 且所述第二处理 单元确定的所述受控业务为实时业务时, 对于当前已接入的实时业务触发全 速率编码到半速率的转换, 或者同时降低当前已接入的非实时业务的编码速 率至最小承诺速率; 或者,  When the congestion level determined by the first processing unit is heavy congestion, and the controlled service determined by the second processing unit is a real-time service, triggering full rate coding to the currently accessed real-time service to half Rate conversion, or simultaneously reduce the coding rate of the currently accessed non-real-time service to a minimum committed rate; or
当所述第一处理单元确定的所述拥塞等级为重度拥塞, 且所述第二处理 单元确定的所述受控业务为非实时业务时, 对当前已接入的实时业务不作编 码调整, 对当前已接入的非实时业务的编码速率降低至所述最小承诺速率; 所述最小承诺速率为业务申请准入时的基本保证带宽对应的编码速率。 结合所述第二方面、 或所述第二方面的第一至第十种可能实现方式中的 任一种可能的实现方式, 提供所述第二方面的第十一种可能的实现方式, 在 所述第二方面的第十一种可能的实现方式中, 所述装置位于网络设备中。 When the congestion level determined by the first processing unit is heavy congestion, and the second processing When the controlled service determined by the unit is a non-real-time service, the current real-time service that has been accessed is not code-adjusted, and the coding rate of the currently accessed non-real-time service is reduced to the minimum committed rate; The rate is the coding rate corresponding to the basic guaranteed bandwidth when the service applies for admission. In conjunction with the second aspect, or any one of the first to tenth possible implementation manners of the second aspect, the eleventh possible implementation manner of the second aspect is provided, In an eleventh possible implementation manner of the second aspect, the device is located in a network device.
结合所述第二方面的第十一种可能的实现方式, 提供所述第二方面的第 十二种可能的实现方式, 在所述第二方面的第十二种可能的实现方式中, 所 述网络设备为基站, 或者, 基站控制器, 或者, 无线网络控制器, 或者, 演 进型基站, 或者, 核心网。  In conjunction with the eleventh possible implementation of the second aspect, a twelfth possible implementation manner of the second aspect is provided, in a twelfth possible implementation manner of the second aspect, The network device is a base station, or a base station controller, or a radio network controller, or an evolved base station, or a core network.
本发明实施例有益效果如下: 本发明实施例方案所获取的端口被占用的 总实际带宽, 以及任一种业务类型对应的各用户业务占用的总实际带宽和该 业务类型的用户业务申请接入的带宽, 可以真实反应所述端口带宽占用情况, 进而根据这些信息准确确定所述端口的拥塞等级和受控的业务类型, 并根据 端口总的实际带宽、 拥塞等级以及受控的业务类型准确地对待接入的用户业 务进行准入控制, 提高了网络带宽的利用率。 附图说明  The beneficial effects of the embodiments of the present invention are as follows: The total actual bandwidth occupied by the port obtained by the solution in the embodiment of the present invention, and the total actual bandwidth occupied by each user service corresponding to any service type and the application service access of the service type of the service type The bandwidth can be used to accurately reflect the bandwidth usage of the port, and then accurately determine the congestion level and the controlled service type of the port according to the information, and accurately according to the total actual bandwidth, congestion level, and controlled service type of the port. Admission control is performed on the user services to be accessed, which improves the utilization of network bandwidth. DRAWINGS
图 1为本发明实施例提供的一种准入控制方法的流程图;  FIG. 1 is a flowchart of an admission control method according to an embodiment of the present invention;
图 2为本发明实施例提供的另一种准入控制方法的流程图;  2 is a flowchart of another admission control method according to an embodiment of the present invention;
图 3为本发明实施例提供的一种准入控制装置的示意图;  3 is a schematic diagram of an admission control apparatus according to an embodiment of the present invention;
图 4为本发明实施例提供的另一种准入控制装置的示意图;  4 is a schematic diagram of another admission control apparatus according to an embodiment of the present invention;
图 5为本发明实施例提供的一种准入控制装置的功能实体的示意图。 具体实施方式  FIG. 5 is a schematic diagram of a functional entity of an admission control apparatus according to an embodiment of the present invention. detailed description
本发明实施例提供一种准入控制方法和装置, 用以实现准确的业务准入 控制和对当前业务的调整, 从而提高网络带宽的利用率。 为了更好的理解本 发明的技术方案, 下面结合说明书附图, 对本发明实施例的方案进行详细说 明。 The embodiments of the present invention provide an admission control method and apparatus, which are used to implement accurate service admission control and adjustment of current services, thereby improving network bandwidth utilization. For a better understanding of this DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
应当明确, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的 实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性劳 动前提下所获得的所有其它实施例, 都属于本发明保护的范围。  It should be understood that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例的方法和装置可以应用于各种网络设备中, 例如, 基站、 基站控制器、 无线网络控制器、 演进型基站、 核心网等。  The method and apparatus of the embodiments of the present invention may be applied to various network devices, for example, a base station, a base station controller, a radio network controller, an evolved base station, a core network, and the like.
参见图 1 , 本发明实施例提供一种准入控制方法, 包括:  Referring to FIG. 1, an embodiment of the present invention provides an admission control method, including:
101、 网络设备根据端口当前已接入的所有业务类型的用户业务所占用的 总实际带宽和预设拥塞门限, 确定所述端口的拥塞等级。  101. The network device determines a congestion level of the port according to a total actual bandwidth occupied by user services of all service types that the port currently accesses and a preset congestion threshold.
需要指出的是, 所述总实际带宽可以是物理层的带宽, 也可以是链路层 带宽。  It should be noted that the total actual bandwidth may be the bandwidth of the physical layer or the link layer bandwidth.
可以将用户业务按照业务类型至少划分为实时业务和非实时业务, 则所 述端口当前已接入的所有业务类型的用户业务所占用的总实际带宽至少包括 端口当前已接入的实时业务所占用的总实际带宽和端口当前已接入的非实时 业务所占用的总实际带宽; 这里的端口可以是网络设备的逻辑端口, 也可以 是网络设备的物理端口。 其中, 逻辑端口是一个在物理端口上虚拟端口, 逻 辑端口用于对端到端路径上瓶颈带宽的监测和流量整型, 避免瓶颈带宽拥塞 时无法感知。 物理端口, 包括点对点协议( Point to Point Protocol, PPP )端口、 多链路点对点(Multilink Point to Point Protocol , MLPPP )端口、 以太网端口 或链路聚合端口; 实时业务可以是语音业务、 视频通话业务或信令业务, 非 实时业务可以是数据业务、 交互业务、 背景业务等。 当然, 也可以较简单的 进行如下划分: 实时业务为电路(Circuit Service, CS )业务, 非实时业务为 分组(Packet Switch , PS ) 业务。 需要说明的是, 上述只是举例, 本发明不 限于此。  The user service can be divided into a real-time service and a non-real-time service according to the service type, and the total actual bandwidth occupied by the user service of all the service types that the port currently accesses at least includes the real-time service that the port currently accesses. The total actual bandwidth and the total actual bandwidth occupied by the non-real-time services that the port is currently connected to; the port here may be the logical port of the network device or the physical port of the network device. The logical port is a virtual port on the physical port. The logical port is used to monitor the bottleneck bandwidth and traffic shaping on the end-to-end path to avoid bottleneck bandwidth congestion. Physical port, including Point to Point Protocol (PPP) port, Multilink Point to Point Protocol (MLPPP) port, Ethernet port or link aggregation port; Real-time service can be voice service, video call service Or signaling services, non-real-time services can be data services, interactive services, background services, and so on. Of course, the following can be divided into simple: the real-time service is a Circuit Service (CS) service, and the non-real-time service is a Packet Switch (PS) service. It should be noted that the above is merely an example, and the present invention is not limited thereto.
由于各用户业务占用所述端口的实际带宽与各用户业务申请准入时分配 的预留带宽并不相同, 基于现有技术中多级准入控制的预留带宽方法, 例如, 用户业务 A 占用的实际带宽为 1Mbps , 申请准入时分配的预留带宽为 1.5Mbps, 又例如, 当所述端口有多个用户业务时, 则多个用户业务占用的所 述端口的端口当前已接入的所有业务类型的用户业务所占用的总实际带宽 (总的实际带宽)为 5Mbps, 总的预留带宽为 7Mbps, 如果端口的瓶颈带宽 为 8 Mbps, 拥塞门限为 85%, 则会判断端口已经拥塞, 实际上所述端口还具 有 3 Mbps的带宽可用于待接入的用户业务的接入或分配给所述当前的用户业 务, 此时会造成欠准入, 而过准入则与之相反, 在此不再赘述。 与现有技术 不同的, 在本实施例中, 总实际带宽能够真实反应所述端口的当前真实的带 宽占用情况。 The reserved bandwidth method based on the multi-level admission control in the prior art is, for example, the actual bandwidth of the port occupied by the user service is different from the reserved bandwidth allocated when the user service is applied for admission. The actual bandwidth occupied by the user service A is 1 Mbps, and the reserved bandwidth allocated when applying for admission is 1.5 Mbps. For example, when the port has multiple user services, the port of the port occupied by multiple user services is currently The total actual bandwidth (total actual bandwidth) occupied by user services of all service types that have been accessed is 5 Mbps, and the total reserved bandwidth is 7 Mbps. If the bottleneck bandwidth of the port is 8 Mbps and the congestion threshold is 85%, It is determined that the port is already congested. In fact, the port also has a bandwidth of 3 Mbps, which can be used for accessing or allocating the user service to be accessed to the current user service, which may result in under-permission, and the access is allowed. On the contrary, it will not be repeated here. Different from the prior art, in this embodiment, the total actual bandwidth can truly reflect the current real bandwidth occupancy of the port.
由于不同的业务类型在同一端口对应不同的优先级队列, 端口的当前已 接入的用户业务所占用的总实际带宽可以通过获取端口的所有队列调度的数 据流量得到。 获取的方式可以是周期获取, 也可以是各优先级队列中的用户 业务主动上报。  The total actual bandwidth occupied by the currently accessed user service of the port can be obtained by obtaining the data traffic scheduled by all queues of the port. The method of obtaining the information may be the periodic acquisition, or the user service in the priority queues is actively reported.
端口的当前已接入的用户业务所占用的总实际带宽也可以根据端口各个 业务类型接收和发送的数据流量统计得到。 需要说明的是, 这里只是举例说 明, 本发明不限于此。  The total actual bandwidth occupied by the currently accessed user service of the port can also be obtained based on the statistics of data traffic received and sent by each service type of the port. It should be noted that the description herein is merely illustrative, and the present invention is not limited thereto.
可以根据实际情况设定拥塞等级及判断的条件。 例如, 设定拥塞等级为 一级、 二级、 三级和四级, 每一级拥塞均设置一个拥塞门限, 根据端口当前 已接入的所有业务类型的用户业务所占用的总实际带宽与拥塞门限比较, 从 而确定拥塞等级为上述一级、 二级、 三级和四级中的一种; 端口不拥塞则没 有拥塞等级。  The congestion level and the conditions for judgment can be set according to actual conditions. For example, the congestion level is set to Level 1, Level 2, Level 3, and Level 4. Each level of congestion is set to a congestion threshold. The total actual bandwidth and congestion occupied by the user services of all service types that the port is currently connected to. The threshold is compared to determine that the congestion level is one of the above-mentioned first, second, third, and fourth levels; if the port is not congested, there is no congestion level.
例如, 端口的拥塞等级包括轻度拥塞和重度拥塞两级, 预先设置轻度拥 塞门限和重度拥塞门限, 轻度拥塞门限小于或等于所述重度拥塞门限, 则: 若端口当前已接入的所有业务类型的用户业务所占用的总实际带宽大于 或等于轻度拥塞门限确定的带宽且小于重度拥塞门限确定的带宽, 则确定所 述端口的拥塞等级为轻度拥塞;  For example, the congestion level of a port includes two levels of light congestion and heavy congestion, and a light congestion threshold and a heavy congestion threshold are preset, and a light congestion threshold is less than or equal to the heavy congestion threshold, then: if the port is currently connected to all If the total actual bandwidth occupied by the user service of the service type is greater than or equal to the bandwidth determined by the light congestion threshold and less than the bandwidth determined by the heavy congestion threshold, it is determined that the congestion level of the port is light congestion;
若端口当前已接入的所有业务类型的用户业务所占用的总实际带宽大于 或等于重度拥塞门限确定的带宽, 则确定所述端口的拥塞等级为重度拥塞。 需要说明的是, 拥塞门限可以是带宽, 也可以是端口带宽的百分比。 例 如: 设定轻度拥塞的拥塞门限为 70%, 重度拥塞的拥塞门限为 90%, 若端口 当前已接入的所有业务类型的用户业务所占用的总实际带宽占所述端口的最 大限定带宽的百分比大于或等于 70%且小于 90%, 则确定所述端口的拥塞等 级为轻度拥塞; 若端口当前已接入的所有业务类型的用户业务所占用的总实 际带宽占所述端口的最大限定带宽的百分比大于或等于 90%, 则确定所述端 口的拥塞等级为重度拥塞。 其中最大限定带宽是所述端口本身所能提供的最 大带宽。 The total actual bandwidth occupied by user services of all service types that the port is currently connected to is greater than Or equal to the bandwidth determined by the heavy congestion threshold, it is determined that the congestion level of the port is heavy congestion. It should be noted that the congestion threshold may be bandwidth or a percentage of the port bandwidth. For example, the congestion threshold for setting the congestion is 70%, and the congestion threshold for the heavy congestion is 90%. The total actual bandwidth occupied by the user services of all service types that the port is currently accessing accounts for the maximum bandwidth of the port. If the percentage is greater than or equal to 70% and less than 90%, it is determined that the congestion level of the port is lightly congested; if the total actual bandwidth occupied by user services of all service types currently accessed by the port accounts for the maximum of the port If the percentage of the defined bandwidth is greater than or equal to 90%, then the congestion level of the port is determined to be heavily congested. The maximum limited bandwidth is the maximum bandwidth that the port itself can provide.
102、 网络设备根据端口当前已接入的任一种业务类型的用户业务所占用 的总实际带宽和该业务类型的用户业务接入时申请的总带宽, 确定受控的业 务类型。  102. The network device determines the controlled service type according to the total actual bandwidth occupied by the user service of any service type that the port is currently connected to, and the total bandwidth requested when the user service access of the service type is accessed.
由于不同的业务类型在网络设备的端口有各自对应的优先级队列, 因此 可以根据所述端口中各业务类型所对应的优先级队列调度的数据流量, 得到 该业务类型的用户业务所占用的总实际带宽; 或者, 根据所述端口当前已接 入的任一种业务类型的各个用户业务在设定周期内接收和发送的数据流量, 得到该业务类型的用户业务所占用的总实际带宽。 获取的方式可以是周期获 取, 也可以是各业务类型所对应的优先级队列中的用户业务主动上报。  The service traffic of the service type of the service type is obtained according to the data traffic scheduled by the priority queue corresponding to each service type in the port. The actual bandwidth occupied by the user service of the service type is obtained according to the data traffic received and sent by the user service of the service type of the service type. The method of obtaining the service may be the periodic acquisition, or may be the active reporting of the user service in the priority queue corresponding to each service type.
通常情况下, 后续确定造成端口拥塞的业务类型时, 只参考其中一种业 务类型所占用的总实际带宽即可, 因此, 可以仅获取其中一种业务类型所占 用的总实际带宽, 以使获取过程简化。 例如, 仅获取实时业务的各用户业务 所占用的总实际带宽, 或者仅获取非实时业务的各用户业务所占用的总实际 带宽。  Generally, when you identify the service type that causes the port to be congested, you can refer to the total actual bandwidth occupied by one of the service types. Therefore, you can obtain only the total actual bandwidth occupied by one of the service types. Process simplification. For example, the total actual bandwidth occupied by each user service of the real-time service is obtained, or only the total actual bandwidth occupied by each user service of the non-real-time service is obtained.
当端口拥塞时, 例如端口的拥塞等级为轻度拥塞或者重度拥塞时, 需要 确定受控的用户业务的业务类型。  When a port is congested, for example, when the congestion level of a port is light congestion or heavy congestion, it is necessary to determine the service type of the controlled user service.
例如, 以业务类型包括实时业务和非实时业务, 网络设备获取实时业务 的总实际带宽为例: 若获取的实时业务的各用户业务所占用的总实际带宽大 于实时业务的各用户业务接入时申请的带宽, 则确定受控的用户业务的业务 类型为实时业务, 也就是, 在端口拥塞时, 需要调整实时业务所占用的总实 际带宽, 否则确定受控的用户业务的业务类型为非实时业务, 相应地, 在端 口拥塞时, 需要调整非实时业务所占用的总实际带宽。 For example, if the service type includes the real-time service and the non-real-time service, the network device obtains the total actual bandwidth of the real-time service as an example: if the total real bandwidth occupied by each user service of the acquired real-time service is large The bandwidth applied for the service access of each user in the real-time service determines that the service type of the controlled user service is a real-time service, that is, when the port is congested, the total actual bandwidth occupied by the real-time service needs to be adjusted, otherwise The service type of the controlled user service is non-real-time service. Correspondingly, when the port is congested, the total actual bandwidth occupied by the non-real-time service needs to be adjusted.
再例如, 以业务类型包括实时业务和非实时业务, 网络设备获取非实时 业务的总实际带宽为例: 若非实时业务所占用的总实际带宽大于非实时业务 接入时申请的带宽, 则可确定受控的用户业务的业务类型为非实时业务, 否 则确定造成受控的用户业务的业务类型为非实时业务。  For example, the service type includes the real-time service and the non-real-time service, and the total actual bandwidth of the non-real-time service is obtained by the network device as an example: if the total actual bandwidth occupied by the non-real-time service is greater than the bandwidth requested when the non-real-time service is accessed, the The service type of the controlled user service is non-real-time service. Otherwise, the service type that causes the controlled user service is determined to be non-real-time service.
再例如, 以业务类型包括实时业务和非实时业务, 网络设备获取非实时 业务的总实际带宽为例: 若非实时业务所占用的总实际带宽小于或等于非实 时业务接入时申请的带宽, 则确定受控的业务类型为实时业务。  For example, the service type includes the real-time service and the non-real-time service, and the total actual bandwidth of the non-real-time service is obtained by the network device as an example: if the total actual bandwidth occupied by the non-real-time service is less than or equal to the bandwidth requested when the non-real-time service is accessed, Determine the type of business being controlled as real-time business.
需要说明的是, 上述确定受控的业务类型的实施例只是举例说明, 本发 明不限于此。  It should be noted that the foregoing embodiments for determining the type of service to be controlled are merely illustrative, and the present invention is not limited thereto.
103、 网络设备才艮据步骤 101确定的所述拥塞等级和步骤 102确定的受控 的用户业务的业务类型以及待接入的用户业务的业务类型, 对所述待接入的 用户业务进行准入控制。  The network device performs the quasi-access user service according to the congestion level determined in step 101 and the service type of the controlled user service determined in step 102 and the service type of the user service to be accessed. Into control.
才艮据步骤 101确定的所述拥塞等级和步骤 102确定的受控的用户业务的 业务类型以及待接入的用户业务的业务类型对所述待接入的用户业务的准入 控制, 可以有多种方式。 例如, 当拥塞等级为轻度拥塞, 且所述待接入的用 户业务为实时业务时: 若确定的受控的用户业务的业务类型为实时业务, 可 以按照待接入的用户业务的最小可用速率进行准入控制。 以所述待接入的用 户业务的业务类型为电路业务为例, 可以优先以半速率编码或者低速的自适 应多速率编码 ( daptive Multiple Rate, AMR )对所述待接入的用户业务进行 准入控制; 或者, 若确定的受控的用户业务的业务类型为非实时业务, 则可 以按照所述待接入的用户业务的申请速率进行准入控制。  The admission control of the user service to be accessed may be performed according to the congestion level determined in step 101 and the service type of the controlled user service determined by step 102 and the service type of the user service to be accessed. Variety of ways. For example, when the congestion level is lightly congested, and the user service to be accessed is a real-time service: if the determined service type of the controlled user service is a real-time service, the minimum available service according to the user service to be accessed may be used. The rate is controlled by admission. Taking the service type of the user service to be accessed as an example of the circuit service, the user service to be accessed may be preferentially authenticated by a half-rate coding or a low-speed adaptive multiple rate (AMR). If the service type of the controlled user service is a non-real-time service, the admission control may be performed according to the application rate of the user service to be accessed.
又例如, 当拥塞等级为轻度拥塞, 且所述待接入的用户业务为所述非实 时业务时: 若确定的受控的用户业务的业务类型为实时业务或非实时业务, 可以按照所述待接入的用户业务的最小可用速率进行准入控制。 以所述待接 入的用户业务的业务类型为分组业务为例, 可以按照最小承诺速率对所述待 接入的用户业务进行准入控制, 其中, 所述最小承诺速率为业务申请准入时 的基本保证带宽对应的编码速率。 For another example, when the congestion level is light congestion, and the user service to be accessed is the non-real time service: if the determined service type of the controlled user service is real-time service or non-real-time service, Admission control may be performed according to the minimum available rate of the user service to be accessed. For example, the service type of the user service to be accessed is a group service, and the user service to be accessed may be controlled according to a minimum commitment rate, where the minimum commitment rate is when the service is applied for admission. The basic guaranteed bandwidth corresponds to the encoding rate.
又例如, 当拥塞等级为重度拥塞, 且待接入的用户业务为实时业务时: 若确定的受控的用户业务的业务类型为实时业务, 可以在对所述待接入 的用户业务进行准入控制过程中, 控制所述待接入的用户业务抢占端口中当 前已接入的业务优先级比所述待接入的用户业务的业务优先级低的实时业务 的带宽, 抢占成功则所述待接入的用户业务准入成功, 抢占失败则所述待接 入的用户业务准入失败; 或者, 若确定受控的用户业务的业务类型为非实时 业务, 可以按照所述待接入的用户业务的申请速率进行准入控制, 并通过优 先级调度使所述待接入的用户业务的优先级高于端口中当前已接入的非实时 业务的优先级。  For example, when the congestion level is heavy congestion, and the user service to be accessed is a real-time service: if the determined service type of the controlled user service is a real-time service, the user service to be accessed may be authenticated. In the control process, controlling the bandwidth of the real-time service whose service priority of the user service to be accessed is lower than that of the user service to be accessed, and the preemption is successful. If the service access of the user to be accessed is successful, if the preemption fails, the service access of the user to be accessed fails; or if the service type of the controlled user service is determined to be non-real-time service, The application rate of the user service is controlled by the access control, and the priority of the user service to be accessed is higher than the priority of the non-real time service currently accessed in the port.
又例如, 当拥塞等级为重度拥塞, 且待接入的用户业务为所述非实时业 务时: 若确定的受控的用户业务的业务类型为实时业务, 可以在对所述待接 入的用户业务进行准入控制过程中, 控制所述待接入的用户业务抢占端口中 当前已接入的业务优先级比所述待接入的用户业务的业务优先级低的实时业 务的带宽, 由于所述待接入的用户业务为非实时业务, 可以按照最小可用速 率进行准入, 以非实时业务为 PS业务为例, 可以按最小承诺速率准入, 所述 最小承诺速率为业务申请准入时的基本保证带宽对应的编码速率; 或者, 若 确定受控的用户业务的业务类型为非实时业务, 可以在对所述待接入的用户 业务进行准入控制过程中, 控制所述待接入的用户业务抢占端口中当前已接 入的业务优先级低的非实时业务的带宽, 抢占成功则所述待接入的用户业务 准入成功, 抢占失败则所述待接入的用户业务准入失败。  For example, when the congestion level is heavy congestion, and the user service to be accessed is the non-real time service: if the determined service type of the controlled user service is a real-time service, the user to be accessed may be The service performs the admission control process, and controls the bandwidth of the real-time service whose service priority of the user service to be accessed is lower than that of the user service to be accessed. The user service that is to be accessed is a non-real-time service, and can be admitted according to the minimum available rate. The non-real-time service is used as an example of the PS service, and can be admitted at a minimum commitment rate. The basic guaranteed bandwidth corresponding to the coding rate; or, if it is determined that the service type of the controlled user service is a non-real-time service, the access control may be controlled during the admission control process of the user service to be accessed. The user service preempts the bandwidth of the non-real-time service with the lowest priority of the currently accessed service in the port. If the preemption succeeds, the to-be-accessed Access business success, the failure to seize the service to be accessed user access failure.
本领域普通技术人员可以理解, 上述实施例中用户业务的抢占处理与现 有技术中一致, 本发明在此不做详细介绍。  A person skilled in the art can understand that the preemption processing of the user service in the foregoing embodiment is consistent with the prior art, and the present invention is not described in detail herein.
本发明实施例通过获取的端口被占用的总实际带宽, 以及任一种业务类 型对应的各用户业务占用的总实际带宽和该业务类型的用户业务申请接入的 带宽, 可以真实反应所述端口带宽占用情况, 进而准确确定所述端口的拥塞 等级和受控的业务类型, 从而实现对新接入的用户业务的准确控制, 提高网 络带宽的利用率。 The total actual bandwidth occupied by the obtained port by the embodiment of the present invention, and any service class The total actual bandwidth occupied by each user service and the bandwidth requested by the user service of the service type can truly reflect the bandwidth usage of the port, and thus accurately determine the congestion level and the controlled service type of the port. Thereby, accurate control of newly accessed user services is realized, and utilization of network bandwidth is improved.
可选的,参见图 2,在上述步骤 103的基础上,还可以包括以下可选步骤, 网络设备对端口中当前已接入的用户业务的进行控制, 如下:  Optionally, referring to FIG. 2, on the basis of the foregoing step 103, the following optional steps may be further included, where the network device controls the currently accessed user service in the port, as follows:
104: 网络设备才艮据步骤 101确定的所述拥塞等级和步骤 102确定的所述 受控的业务类型, 对当前已接入的任一种业务类型的用户业务进行控制。  104: The network device controls the user service of any type of service currently accessed according to the congestion level determined in step 101 and the controlled service type determined in step 102.
例如, 当所述拥塞等级为轻度拥塞, 且所述受控业务为实时业务或者非 实时业务时, 对当前已接入的实时业务均不作编码调整; 或者,  For example, when the congestion level is light congestion, and the controlled service is a real-time service or a non-real-time service, no coding adjustment is performed on the currently accessed real-time service; or
当所述拥塞等级为轻度拥塞, 且所述受控业务为实时业务时, 对当前已 接入的非实时业务不作编码调整, 或者所述拥塞等级为轻度拥塞, 且所述受 控业务为非实时业务时, 触发降低所述当前已接入的非实时业务的编码速率。  When the congestion level is lightly congested, and the controlled service is a real-time service, the current non-real-time service that has been accessed is not code-adjusted, or the congestion level is lightly congested, and the controlled service is When it is a non-real-time service, the triggering reduces the coding rate of the currently accessed non-real-time service.
又例如, 当所述拥塞等级为重度拥塞, 且所述受控业务为实时业务时, 对于当前已接入的实时业务触发全速率编码到半速率的转换, 或者同时降低 当前已接入的非实时业务的编码速率至最小承诺速率; 或者,  For another example, when the congestion level is heavy congestion, and the controlled service is a real-time service, the full-rate coding to the half-rate conversion is triggered for the currently accessed real-time service, or the currently accessed non-transmission is simultaneously reduced. The encoding rate of the real-time service to the minimum committed rate; or,
当所述拥塞等级为重度拥塞, 且所述受控业务为非实时业务时, 对当前 已接入的实时业务不作编码调整, 对当前已接入的非实时业务降低至所述最 小承诺速率;  When the congestion level is heavy congestion, and the controlled service is a non-real-time service, the current accessed real-time service is not code-adjusted, and the currently accessed non-real-time service is reduced to the minimum committed rate;
所述最小承诺速率为业务申请准入时的基本保证带宽对应的编码速率。 通过对当前已接入的用户业务的控制, 避免过准入或欠准入的现象。 本实施有益效果如下: 本发明实施例方案所获取的端口被占用的总实际 带宽, 以及任一种业务类型对应的各用户业务占用的总实际带宽和该业务类 型的用户业务申请接入的带宽, 可以真实反应所述端口带宽占用情况, 进而 根据这些信息准确确定所述端口的拥塞等级和受控的业务类型, 并根据端口 总的实际带宽、 拥塞等级以及受控的业务类型准确地对待接入的用户业务进 行准入控制, 提高了网络带宽的利用率。 参见图 2, 本发明实施例提供一种准入控制装置 200, 包括: 第一处理单元 201 ,用于根据网络设备端口当前已接入的所有业务类型的 用户业务所占用的总实际带宽、 以及预设拥塞门限, 确定所述端口的拥塞等 级。 The minimum commitment rate is a coding rate corresponding to the basic guaranteed bandwidth when the service applies for admission. By controlling the currently accessed user services, the phenomenon of excessive access or under-access is avoided. The beneficial effects of the present implementation are as follows: The total actual bandwidth occupied by the port obtained by the solution in the embodiment of the present invention, and the total actual bandwidth occupied by each user service corresponding to any service type and the bandwidth requested by the user service of the service type. The port bandwidth occupation situation can be truly reflected, and the congestion level and the controlled service type of the port are accurately determined according to the information, and the port is accurately processed according to the total actual bandwidth, the congestion level, and the controlled service type of the port. The incoming user service is subject to admission control, which improves the utilization of network bandwidth. Referring to FIG. 2, an embodiment of the present invention provides an admission control apparatus 200, including: a first processing unit 201, configured to use a total actual bandwidth occupied by user services of all service types currently accessed by a network device port, and The congestion threshold is preset to determine the congestion level of the port.
所述总实际带宽可以是物理层的带宽, 也可以是链路层带宽。 可以将用 户业务按照业务类型至少划分为实时业务和非实时业务, 则所述端口当前已 接入的所有业务类型的用户业务所占用的总实际带宽至少包括端口当前已接 入的实时业务所占用的总实际带宽和端口当前已接入的非实时业务所占用的 总实际带宽; 这里的端口包括逻辑端口和物理端口。 逻辑端口是一个在物理 端口上虚拟端口, 逻辑端口用于对端到端路径上瓶颈带宽的监测和流量整型, 避免瓶颈带宽拥塞时无法感知。 物理端口, 包括 PPP端口、 MLPPP端口、 以 太网端口或链路聚合端口; 实时业务可以是语音业务、 视频通话业务或信令 业务, 非实时业务可以是数据业务、 交互业务、 背景业务等。 当然, 也可以 较简单的进行如下划分: 实时业务为 CS业务, 非实时业务为 PS业务。 需要 说明的是, 上述只是举例, 本发明不限于此。  The total actual bandwidth may be the bandwidth of the physical layer or the link layer bandwidth. The user service can be divided into a real-time service and a non-real-time service according to the service type, and the total actual bandwidth occupied by the user service of all the service types that the port currently accesses at least includes the real-time service that the port currently accesses. The total actual bandwidth and the total actual bandwidth occupied by the non-real-time services currently accessed by the port; the ports here include logical ports and physical ports. A logical port is a virtual port on a physical port. The logical port is used to monitor the bottleneck bandwidth and traffic shaping on the end-to-end path to avoid bottleneck bandwidth congestion. The physical port, including the PPP port, the MLPPP port, the Ethernet port, or the link aggregation port; the real-time service may be a voice service, a video call service, or a signaling service, and the non-real-time service may be a data service, an interactive service, a background service, or the like. Of course, the following divisions can be made relatively simple: the real-time service is a CS service, and the non-real-time service is a PS service. It should be noted that the above is merely an example, and the present invention is not limited thereto.
由于不同的业务类型在同一端口对应不同的优先级队列, 所述端口当前 已接入的所有业务类型的用户业务所占用的总实际带宽可以通过如下方法获 付:  The total actual bandwidth occupied by user services of all service types that are currently accessed by the port can be obtained by the following methods:
通过获取端口的所有队列调度的数据流量得到端口的当前已接入的用户 业务所占用的总实际带宽; 或者, 根据端口各个业务类型的用户业务接收和 发送的数据流量统计得到。  The total actual bandwidth occupied by the currently accessed user service of the port is obtained by obtaining the data traffic of all the queues of the port; or, according to the data traffic received and sent by the user service of each service type of the port.
可以是周期获取, 也可以是各优先级队列中或各个业务类型中的用户业 务主动上报。  The user can be actively reported in the priority queue or in each service type.
可以根据实际情况设定拥塞等级及判断的条件。 例如, 设定拥塞等级为 一级、 二级、 三级和四级, 每一级拥塞均设置一个拥塞门限, 所述端口当前 已接入的所有业务类型的用户业务所占用的总实际带宽与拥塞门限比较, 从 而确定拥塞等级为上述一级、 二级、 三级和四级中的一种; 端口不拥塞则没 有拥塞等级。 The congestion level and the conditions for judgment can be set according to actual conditions. For example, the congestion level is set to one level, two levels, three levels, and four levels. Each level of congestion is set to a congestion threshold, and the total actual bandwidth occupied by user services of all service types currently accessed by the port is Congestion threshold comparison, thereby determining that the congestion level is one of the above-mentioned first, second, third, and fourth levels; if the port is not congested, then There is a level of congestion.
例如, 端口的拥塞等级包括轻度拥塞和重度拥塞两级, 预先设置轻度拥 塞门限和重度拥塞门限, 轻度拥塞门限小于或等于所述重度拥塞门限, 则: 若所述端口当前任一种业务类型的用户业务所述占用的总实际带宽大于 或等于轻度拥塞门限确定的带宽且小于重度拥塞门限确定的带宽, 则所述第 一处理单元 201确定所述端口的拥塞等级为轻度拥塞;  For example, the congestion level of the port includes two levels of light congestion and heavy congestion, and the light congestion threshold and the heavy congestion threshold are preset, and the light congestion threshold is less than or equal to the heavy congestion threshold. If the total actual bandwidth occupied by the user service of the service type is greater than or equal to the bandwidth determined by the light congestion threshold and less than the bandwidth determined by the heavy congestion threshold, the first processing unit 201 determines that the congestion level of the port is light congestion. ;
若所述端口当前任一种业务类型的用户业务所述占用的总实际带宽大于 或等于重度拥塞门限确定的带宽, 则所述第一处理单元 201 确定所述端口的 拥塞等级为重度拥塞。  If the total actual bandwidth occupied by the user service of the current service type of the port is greater than or equal to the bandwidth determined by the heavy congestion threshold, the first processing unit 201 determines that the congestion level of the port is heavy congestion.
需要说明的是, 拥塞门限可以是带宽, 也可以是端口带宽的百分比。 例 如: 设定轻度拥塞的拥塞门限为 70%, 重度拥塞的拥塞门限为 90%, 若所述 端口当前任一种业务类型的用户业务所述占用的总实际带宽占所述端口的最 大限定带宽的百分比大于或等于 70%且小于 90%, 则所述第一处理单元 201 确定所述端口的拥塞等级为轻度拥塞; 若所述端口当前任一种业务类型的用 户业务所述占用的总实际带宽占所述端口的最大限定带宽的百分比大于或等 于 90%, 则所述第一处理单元 201确定所述端口的拥塞等级为重度拥塞。 其 中最大限定带宽是所述端口本身所能提供的最大带宽。  It should be noted that the congestion threshold may be bandwidth or a percentage of the port bandwidth. For example, the congestion threshold for setting a light congestion is 70%, and the congestion threshold for a heavy congestion is 90%. If the current total bandwidth occupied by the user service of the current service type of the port accounts for the maximum limit of the port, If the percentage of the bandwidth is greater than or equal to 70% and less than 90%, the first processing unit 201 determines that the congestion level of the port is light congestion; if the port is currently occupied by the user service of any service type The first processing unit 201 determines that the congestion level of the port is heavily congested, and the percentage of the total actual bandwidth to the maximum limited bandwidth of the port is greater than or equal to 90%. The maximum defined bandwidth is the maximum bandwidth that the port itself can provide.
第二处理单元 202,用于根据网络设备端口当前任一种业务类型的用户业 务所占用的总实际带宽和该业务类型的用户业务接入时申请的总带宽, 确定 受控的业务类型;  The second processing unit 202 is configured to determine a controlled service type according to the total actual bandwidth occupied by the user service of the current service type of the network device port and the total bandwidth requested by the user service when the service type is accessed;
由于不同的业务类型在端口有各自对应的优先级队列, 因此可以根据所 述端口中各业务类型所对应的优先级队列调度的数据流量, 得到该业务类型 的用户业务所占用的总实际带宽; 或者, 根据所述端口当前已接入的任一种 业务类型的各个用户业务在设定周期内接收和发送的数据流量, 得到该业务 类型的用户业务所占用的总实际带宽。 获取的方式可以是周期获取, 也可以 是各业务类型所对应的优先级队列中的用户业务主动上 ·¾。  The different service types have corresponding priority queues on the ports. Therefore, the total actual bandwidth occupied by the user services of the service type can be obtained according to the data traffic scheduled by the priority queue corresponding to each service type in the port. Or, according to the data traffic received and sent by the user service of the service type of the service type that is currently accessed by the port, the total actual bandwidth occupied by the user service of the service type is obtained. The method of obtaining may be periodic acquisition, or may be active on the user service in the priority queue corresponding to each service type.
通常情况下, 后续确定造成端口拥塞的业务类型时, 只参考其中一种业 务类型所占用的总实际带宽即可, 例如, 仅参考实时业务的各用户业务所占 用的总实际带宽, 或者仅参考非实时业务的各用户业务所占用的总实际带宽。 Generally, when you identify the service type that causes port congestion, you can refer to only one of them. The total actual bandwidth occupied by the service type may be, for example, only refer to the total actual bandwidth occupied by each user service of the real-time service, or only the total actual bandwidth occupied by each user service of the non-real-time service.
当端口拥塞时, 例如端口的拥塞等级为轻度拥塞或者重度拥塞时, 需要 确定受控的用户业务的业务类型。  When a port is congested, for example, when the congestion level of a port is light congestion or heavy congestion, it is necessary to determine the service type of the controlled user service.
例如, 以业务类型包括实时业务和非实时业务, 获取实时业务的总实际 带宽为例: 若实时业务的各用户业务所占用的总实际带宽大于实时业务的各 用户业务接入时申请的带宽, 则所述第二处理单元 202确定受控的用户业务 的业务类型为实时业务, 也就是, 在端口拥塞时, 需要调整实时业务所占用 的总实际带宽, 否则所述第二处理单元 202确定受控的用户业务的业务类型 为非实时业务, 相应地, 在端口拥塞时, 需要调整非实时业务所占用的总实 际带宽。  For example, the total actual bandwidth of the real-time service is obtained by the service type including the real-time service and the non-real-time service. For example, if the total actual bandwidth occupied by each user service of the real-time service is greater than the bandwidth applied for each user service of the real-time service, The second processing unit 202 determines that the service type of the controlled user service is a real-time service, that is, when the port is congested, the total actual bandwidth occupied by the real-time service needs to be adjusted, otherwise the second processing unit 202 determines that the second processing unit 202 determines The service type of the controlled user service is non-real-time service. Correspondingly, when the port is congested, the total actual bandwidth occupied by the non-real-time service needs to be adjusted.
再例如, 以业务类型包括实时业务和非实时业务, 获取非实时业务的总 实际带宽为例: 若非实时业务所占用的总实际带宽大于非实时业务接入时申 请的带宽, 则所述第二处理单元 202可确定受控的用户业务的业务类型为非 实时业务, 否则确定造成受控的用户业务的业务类型为非实时业务。 需要说 明的是, 这里只是举例说明, 本发明不限于此。  For example, the total actual bandwidth of the non-real-time service is obtained by using the real-time service and the non-real-time service as an example: if the total actual bandwidth occupied by the non-real-time service is greater than the bandwidth applied for the non-real-time service access, the second The processing unit 202 may determine that the service type of the controlled user service is a non-real time service, otherwise determine that the service type causing the controlled user service is a non-real time service. It is to be noted that the description herein is merely illustrative, and the present invention is not limited thereto.
第一控制单元 203 ,用于根据所述第一处理单元 201确定的所述端口的拥 塞等级、 所述第二处理单元 202确定的所述受控的业务类型以及待接入的用 户业务的业务类型, 对所述待接入的用户业务进行准入控制。  The first control unit 203 is configured to: according to the congestion level of the port determined by the first processing unit 201, the controlled service type determined by the second processing unit 202, and the service of the user service to be accessed Type, performing admission control on the user service to be accessed.
根据所述第一处理单元 201确定的所述拥塞等级和所述第二处理单元 202 确定的受控的用户业务的业务类型以及待接入的用户业务的业务类型对所述 待接入的用户业务的准入控制, 可以有多种方式。 例如, 当所述第一处理单 元 201确定的拥塞等级为轻度拥塞, 且所述待接入的用户业务为实时业务时: 若所述第二处理单元 202确定的受控的用户业务的业务类型为实时业务, 所 述第一控制单元 203 可以按照待接入的用户业务的最小可用速率, 对所述待 接入的用户业务进行准入控制。 以所述待接入的用户业务的业务类型为电路 业务为例, 可以优先以半速率编码或者低速的自适应多速率编码 (daptive Multiple Rate, AMR )对所述待接入的用户业务进行准入控制; 或者, 若所述 第二处理单元 202确定的受控的用户业务的业务类型为非实时业务, 则可以 按照所述待接入的用户业务的申请速率进行准入控制。 The user to be accessed according to the congestion level determined by the first processing unit 201 and the service type of the controlled user service determined by the second processing unit 202 and the service type of the user service to be accessed There are many ways to control the access of a business. For example, when the congestion level determined by the first processing unit 201 is light congestion, and the user service to be accessed is a real-time service: if the second processing unit 202 determines the service of the controlled user service The type is a real-time service, and the first control unit 203 may perform admission control on the user service to be accessed according to a minimum available rate of the user service to be accessed. Taking the service type of the user service to be accessed as an example of circuit service, it is preferred to use half rate coding or low speed adaptive multi-rate coding (daptive). Multiple rate (AMR), the admission control of the user service to be accessed; or, if the service type of the controlled user service determined by the second processing unit 202 is a non-real time service, The application rate of the accessed user service is controlled by admission.
又例如, 当所述第一处理单元 201 确定的拥塞等级为轻度拥塞, 且所述 待接入的用户业务为所述非实时业务时: 若所述第二处理单元 202确定的受 控的用户业务的业务类型为实时业务或非实时业务, 所述第一控制单元 203 可以按照所述待接入的用户业务的最小可用速率对所述待接入的用户业务进 行准入控制。 以所述待接入的用户业务的业务类型为分组业务为例, 可以按 照最小承诺速率对所述待接入的用户业务进行准入控制, 其中, 所述最小承 诺速率为业务申请准入时的基本保证带宽对应的编码速率。  For another example, when the congestion level determined by the first processing unit 201 is light congestion, and the user service to be accessed is the non-real time service: if the second processing unit 202 determines the controlled The service type of the user service is a real-time service or a non-real-time service, and the first control unit 203 may perform admission control on the user service to be accessed according to the minimum available rate of the user service to be accessed. For example, the service type of the user service to be accessed is a group service, and the user service to be accessed may be controlled according to a minimum commitment rate, where the minimum commitment rate is when the service is applied for admission. The basic guaranteed bandwidth corresponds to the encoding rate.
又例如, 当所述第一处理单元 201 确定的拥塞等级为重度拥塞, 且待接 入的用户业务为实时业务时:  For another example, when the congestion level determined by the first processing unit 201 is heavy congestion, and the user service to be accessed is real-time service:
若所述第二处理单元 202确定的受控的用户业务的业务类型为实时业务, 所述第一控制单元 203可以在对所述待接入的用户业务进行准入控制过程中, 控制所述待接入的用户业务抢占端口中当前已接入的业务优先级比所述待接 入的用户业务低的实时业务的带宽, 抢占成功则所述待接入的用户业务准入 成功, 抢占失败则所述待接入的用户业务准入失败; 或者, 若所述第二处理 单元 202确定的受控的用户业务的业务类型为非实时业务, 所述第一控制单 元 203 可以按照所述待接入的用户业务的申请速率进行准入控制, 并通过优 先级调度使所述待接入的用户业务的优先级高于端口中当前已接入的非实时 业务的优先级。  If the service type of the controlled user service determined by the second processing unit 202 is a real-time service, the first control unit 203 may control the performing the admission control process of the user service to be accessed. The user service to be accessed is the bandwidth of the real-time service whose access priority is lower than that of the user to be accessed. If the preemption is successful, the service access of the user to be accessed is successful, and the preemption fails. If the service type of the user service to be accessed is not the real-time service, the first control unit 203 may wait for the service to be accessed. The application rate of the accessed user service is controlled by the access control, and the priority of the user service to be accessed is higher than the priority of the non-real-time service currently accessed in the port.
又例如, 当所述第一处理单元 201 确定的拥塞等级为重度拥塞, 且待接 入的用户业务为所述非实时业务时: 若所述第二处理单元 202确定的受控的 用户业务的业务类型为实时业务, 所述第一控制单元 203 可以在对所述待接 入的用户业务进行准入控制过程中, 控制所述待接入的用户业务抢占端口中 当前已接入的业务优先级比所述待接入的用户业务低的实时业务的带宽, 由 于所述待接入的用户业务为非实时业务, 可以按照最小可用速率进行准入, 以非实时业务为 PS业务为例, 可以按最小承诺速率准入, 所述最小承诺速率 为业务申请准入时的基本保证带宽对应的编码速率; 或者, 若所述第二处理 单元 202确定的受控的用户业务的业务类型为非实时业务, 所述第一控制单 元 203 可以在对所述待接入的用户业务进行准入控制过程中, 控制所述待接 入的用户业务抢占端口中当前已接入的业务优先级比所述待接入的用户业务 低的非实时业务的带宽, 抢占成功则所述待接入的用户业务准入成功, 抢占 失败则所述待接入的用户业务准入失败。 For another example, when the congestion level determined by the first processing unit 201 is heavy congestion, and the user service to be accessed is the non-real time service: if the second processing unit 202 determines the controlled user service The service type is a real-time service, and the first control unit 203 may control the service priority of the currently accessed service in the user service preemption port to be accessed during the admission control process of the user service to be accessed. The bandwidth of the real-time service is lower than that of the user to be accessed. Since the user service to be accessed is a non-real-time service, the access can be performed according to the minimum available rate. For example, the non-real-time service is the PS service, and the minimum commitment rate is the coding rate corresponding to the basic guaranteed bandwidth when the service is applied for admission; or, if the second processing unit 202 determines The service type of the controlled user service is a non-real-time service, and the first control unit 203 may control the user service preemption port to be accessed in the process of performing admission control on the user service to be accessed. The bandwidth of the currently accessed service is lower than the bandwidth of the non-real-time service that is lower than the user service to be accessed. If the preemption is successful, the service to be accessed is successfully accessed. If the preemption fails, the user to be accessed is the user to be accessed. Business access failed.
本领域普通技术人员可以理解, 上述实施例中用户业务的抢占处理与现 有技术中一致, 本发明在此不做详细介绍。  A person skilled in the art can understand that the preemption processing of the user service in the foregoing embodiment is consistent with the prior art, and the present invention is not described in detail herein.
可选的, 参见图 4 , 在图 3所示准入控制装置的基础上, 还可以包括第二 控制单元 204 , 用于根据确定的拥塞等级和确定的所述受控的业务类型,对当 前已接入的任一种业务类型的用户业务进行控制。  Optionally, referring to FIG. 4, on the basis of the admission control apparatus shown in FIG. 3, the second control unit 204 may be further configured to: according to the determined congestion level and the determined type of the controlled service, User services of any type of service that have been accessed are controlled.
例如, 当所述第一处理单元 201 确定的所述拥塞等级为轻度拥塞, 且所 述第二处理单元 202确定的所述受控业务为实时业务或者非实时业务时, 所 述第二控制单元 204对当前已接入的实时业务均不作编码调整; 或者,  For example, when the congestion level determined by the first processing unit 201 is light congestion, and the controlled service determined by the second processing unit 202 is a real-time service or a non-real-time service, the second control The unit 204 does not perform coding adjustment on the currently accessed real-time service; or
当所述第一处理单元 201 确定的所述拥塞等级为轻度拥塞, 且所述第二 处理单元 202确定的所述受控业务为实时业务时, 所述第二控制单元 204对 当前已接入的非实时业务不作编码调整, 或者所述第一处理单元 201 确定的 所述拥塞等级为轻度拥塞, 且所述第二处理单元 202确定的所述受控业务为 非实时业务时, 所述第二控制单元 204触发降低所述当前已接入的非实时业 务的编码速率。  When the congestion level determined by the first processing unit 201 is light congestion, and the controlled service determined by the second processing unit 202 is a real-time service, the second control unit 204 is currently connected. The incoming non-real-time service is not coded, or the congestion level determined by the first processing unit 201 is lightly congested, and the controlled service determined by the second processing unit 202 is a non-real-time service. The second control unit 204 triggers a decrease in the encoding rate of the currently accessed non-real time service.
又例如, 当所述第一处理单元 201 确定的所述拥塞等级为重度拥塞, 且 所述第二处理单元 202确定的所述受控业务为实时业务时, 所述第二控制单 元 204对于当前已接入的实时业务触发全速率编码到半速率的转换, 或者同 时降低当前已接入的非实时业务的编码速率至最小承诺速率; 或者,  For another example, when the congestion level determined by the first processing unit 201 is heavy congestion, and the controlled service determined by the second processing unit 202 is a real-time service, the second control unit 204 is for the current The accessed real-time service triggers full-rate encoding to half-rate conversion, or simultaneously reduces the encoding rate of the currently accessed non-real-time service to a minimum committed rate; or
当所述第一处理单元 201 确定的所述拥塞等级为重度拥塞, 且所述第二 处理单元 202确定的所述受控业务为非实时业务时, 所述第二控制单元 204 对当前已接入的实时业务不作编码调整, 对当前已接入的非实时业务降低至 所述最小承诺速率; 所述最小承诺速率为业务申请准入时的基本保证带宽对 应的编码速率。 When the congestion level determined by the first processing unit 201 is heavy congestion, and the controlled service determined by the second processing unit 202 is a non-real time service, the second control unit 204 The current real-time service that has been accessed is not code-adjusted, and the currently-accessed non-real-time service is reduced to the minimum committed rate; the minimum committed rate is the coding rate corresponding to the basic guaranteed bandwidth when the service is applied for admission.
本实施例中, 所述第二控制单元 204根据确定的拥塞等级和确定的所述 受控的业务类型, 对当前已接入的任一种业务类型的用户业务进行准确控制, 从而避免准入控制过程中的欠准入或过准入。  In this embodiment, the second control unit 204 accurately controls user services of any type of service currently accessed according to the determined congestion level and the determined type of the controlled service, thereby avoiding admission. Under-acceptance or over-admission in the control process.
本实施有益效果如下: 本发明实施例方案所获取的端口被占用的总实际 带宽, 以及任一种业务类型对应的各用户业务占用的总实际带宽和该业务类 型的用户业务申请接入的带宽, 可以真实反应所述端口带宽占用情况, 所述 第一处理单元 201 根据这些信息可以准确确定所述端口的拥塞等级、 所述第 二处理单元 202根据这些信息可以准确确定受控的业务类型, 第一控制单元 203根据上述得到的端口总的实际带宽, 提高网络带宽的利用率。  The beneficial effects of the present implementation are as follows: The total actual bandwidth occupied by the port obtained by the solution in the embodiment of the present invention, and the total actual bandwidth occupied by each user service corresponding to any service type and the bandwidth requested by the user service of the service type. The first processing unit 201 can accurately determine the congestion level of the port according to the information, and the second processing unit 202 can accurately determine the controlled service type according to the information. The first control unit 203 increases the utilization of the network bandwidth according to the total actual bandwidth of the port obtained above.
参见图 5 , 出于与本发明实施例提供的准入控制方法相同的发明构思, 本 发明实施例还提供一种准入控制装置 300,该准入控制装置 300可以设置于基 站、 基站控制器、 无线网络控制器等网络设备上, 该准入控制装置 300 包括 存储器 301和处理器 302 , 处理器 302与存储器 301相连接, 其中, 存储器 301中存储一组程序代码, 存储器 301可以包括非易失性存储器。 处理器 302 可以是一个 CPU, 或者是 ASIC, 或者是被配置成实施本发明实施例的一个或 多个集成电路。 处理器 302用于调用存储器 301 中存储的程序代码, 用于执 行:  Referring to FIG. 5, for the same inventive concept as the admission control method provided by the embodiment of the present invention, an embodiment of the present invention further provides an admission control apparatus 300, which may be disposed at a base station and a base station controller. On the network device, such as a radio network controller, the admission control device 300 includes a memory 301 and a processor 302. The processor 302 is connected to the memory 301. The memory 301 stores a set of program codes, and the memory 301 may include non-easy Loss of memory. Processor 302 can be a CPU, or an ASIC, or one or more integrated circuits configured to implement embodiments of the present invention. The processor 302 is configured to call the program code stored in the memory 301 for execution:
根据端口当前已接入的所有业务类型的用户业务所占用的总实际带宽和 预设的拥塞门限, 确定所述端口的拥塞等级; 根据端口当前任一种业务类型 的用户业务所占用的总实际带宽和该业务类型的用户业务接入时申请的总带 宽, 确定受控的业务类型;  Determining the congestion level of the port according to the total actual bandwidth occupied by the user service of the service type that is currently connected to the port and the preset congestion threshold; and the total actual occupation of the user service according to the current service type of the port. The bandwidth and the total bandwidth requested when the user service of the service type is accessed, and the controlled service type is determined;
根据所述端口的拥塞等级、 所述受控的业务类型以及待接入的用户业务 的业务类型, 对所述待接入的用户业务进行准入控制。  And performing admission control on the user service to be accessed according to the congestion level of the port, the controlled service type, and the service type of the user service to be accessed.
进一步地, 处理器 302在执行上述处理过程的基础上, 可选地, 执行以 下处理: Further, the processor 302 is optionally executed on the basis of performing the foregoing processing Processing:
根据所述端口的拥塞等级和所述受控的业务类型, 对所述当前已接入的 用户业务进行控制。  And controlling the currently accessed user service according to the congestion level of the port and the controlled service type.
本实施例的装置, 可以用于实现前述方法实施例中的方法的各步骤的功 能, 其实现原理和技术效果类似, 详细可以参见前述方法实施例中的相关记 载, 此处不再赘述。  The device in this embodiment can be used to implement the functions of the steps in the foregoing method embodiments. The implementation principle and the technical effect are similar. For details, refer to related records in the foregoing method embodiments, and details are not described herein again.
本领域内的技术人员应明白, 本申请的实施例可提供为方法、 系统、 或 计算机程序产品。 因此, 本申请可釆用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实施例的形式。 而且, 本申请可釆用在一个或多个 其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器、 CD-ROM、 光学存储器等)上实施的计算机程序产品的形式。  Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the application can be in the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the application can be in the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which computer usable program code is embodied.
本申请是参照根据本申请实施例的方法、 设备(系统)、 和计算机程序产 品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图 和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中的流程 和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得通 过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流 程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。  The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowcharts and/or block diagrams, and combinations of flow and/or blocks in the flowcharts and/or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设 备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存储器 中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个流程或 多个流程和 /或方框图一个方框或多个方框中指定的功能。  The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的 处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图 一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的步 骤。 These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in a block or blocks of a flow or a flow and/or a block diagram of a flowchart Step.
尽管已描述了本申请的优选实施例, 但本领域内的技术人员一旦得知了 基本创造性概念, 则可对这些实施例作出另外的变更和修改。 所以, 所附权 利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。  Although the preferred embodiment of the present application has been described, those skilled in the art can make additional changes and modifications to the embodiments once they are aware of the basic inventive concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all modifications and
显然, 本领域的技术人员可以对本申请实施例进行各种改动和变型而不 脱离本申请实施例的精神和范围。 这样, 倘若本申请实施例的这些修改和变 型属于本申请权利要求及其等同技术的范围之内, 则本申请也意图包含这些 改动和变型在内。  It is apparent that those skilled in the art can make various modifications and variations to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Therefore, it is intended that the present invention cover the modifications and variations of the present invention.

Claims

权 利 要 求 Rights request
1、 一种准入控制方法, 其特征在于, 包括: 1. An access control method, characterized by including:
网络设备根据端口当前已接入的所有业务类型的用户业务所占用的总实 际带宽和拥塞门限, 确定所述端口的拥塞等级, 其中, 所述业务类型包括实 时业务类型和非实时业务类型, 所述端口包括逻辑端口或物理端口; The network device determines the congestion level of the port based on the total actual bandwidth occupied by user services of all service types currently accessed by the port and the congestion threshold, where the service type includes a real-time service type and a non-real-time service type, so The ports include logical ports or physical ports;
所述网络设备根据所述端口当前已接入的任一种业务类型的用户业务所 占用的总实际带宽和该业务类型的用户业务接入时所申请的总带宽, 确定受 控的业务类型; The network device determines the controlled service type based on the total actual bandwidth occupied by user services of any service type currently accessed by the port and the total bandwidth applied for when user services of this service type are accessed;
所述网络设备根据所述端口的拥塞等级、 所述受控的业务类型以及待接 入的用户业务的业务类型, 对所述待接入的用户业务进行准入控制。 The network device performs admission control on the user service to be accessed based on the congestion level of the port, the controlled service type, and the service type of the user service to be accessed.
2、 根据权利要求 1所述的方法, 其特征在于, 所述端口当前已接入的所 有业务类型的用户业务所占用的总实际带宽, 是: 2. The method according to claim 1, characterized in that the total actual bandwidth occupied by user services of all service types currently accessed by the port is:
所述网络设备根据所述端口所有队列调度的数据流量得到的; 或者, 所述网络设备根据所述端口当前已接入的所有业务类型的用户业务在设 定周期内接收和发送的数据流量得到的; The network device obtains it based on the data traffic scheduled by all queues of the port; or, the network device obtains it based on the data traffic received and sent within the set period of user services of all service types currently accessed by the port. of;
所述端口当前已接入的任一种业务类型的用户业务所占用的总实际带 覔 , 是: The total actual bandwidth occupied by user services of any service type currently connected to the port is:
所述网络设备根据所述端口当前已接入的任一种业务类型所对应的优先 级队列调度的数据流量得到的; 或者, The network device obtains it based on the data flow scheduled by the priority queue corresponding to any service type currently accessed by the port; or,
所述网络设备根据所述端口当前已接入的任一种业务类型的各个用户业 务在设定周期内接收和发送的数据流量得到的。 The network device obtains the data traffic received and sent within the set period by each user service of any service type currently accessed by the port.
3、 根据权利要求 1或者 2所述的方法, 其特征在于, 所述根据所述端口 当前任一种业务类型的用户业务所占用的总实际带宽和该业务类型的用户业 务接入时所申请的总带宽, 确定受控的业务类型, 包括: 3. The method according to claim 1 or 2, characterized in that, the total actual bandwidth currently occupied by user services of any service type on the port and the application time for user services of this service type are accessed. The total bandwidth determines the controlled service type, including:
若所述端口当前任一种业务类型的用户业务所占用的总实际带宽大于该 业务类型的用户业务接入时所申请的总带宽, 则确定受控的业务类型为该业 务类型; 或者 若所述端口当前任一种业务类型的用户业务所占用的总实际带宽小于或 者等于该业务类型的用户业务接入时所申请的总带宽, 则确定受控的业务类 型为与该业务类型不同的另一业务类型。 If the total actual bandwidth currently occupied by user services of any service type on the port is greater than the total bandwidth applied for when user services of this service type are accessed, then the controlled service type is determined to be the service type; or If the total actual bandwidth currently occupied by user services of any service type on the port is less than or equal to the total bandwidth applied for when user services of this service type are accessed, then the controlled service type is determined to be different from this service type. another type of business.
4、 根据权利要求 1至 3任一项所述的方法, 其特征在于, 所述端口的拥 塞等级包括轻度拥塞和重度拥塞; 4. The method according to any one of claims 1 to 3, characterized in that the congestion level of the port includes mild congestion and severe congestion;
所述预设拥塞门限包括轻度拥塞门限和重度拥塞门限, 其中, 所述轻度 拥塞门限小于所述重度拥塞门限; The preset congestion threshold includes a mild congestion threshold and a severe congestion threshold, wherein the mild congestion threshold is smaller than the severe congestion threshold;
所述根据所述端口当前已接入的所有业务类型的用户业务所占用的总实 际带宽和预设拥塞门限, 确定所述端口的拥塞等级, 包括: Determining the congestion level of the port based on the total actual bandwidth occupied by user services of all service types currently accessed by the port and the preset congestion threshold includes:
若所述端口当前已接入的所有业务类型的用户业务所占用的总实际带宽 大于或等于所述轻度拥塞门限确定的带宽, 且小于所述重度拥塞门限确定的 带宽, 则确定所述端口的拥塞等级为轻度拥塞; 或者, If the total actual bandwidth occupied by user services of all service types currently accessed by the port is greater than or equal to the bandwidth determined by the mild congestion threshold and less than the bandwidth determined by the severe congestion threshold, then determine that the port 's congestion level is mild congestion; or,
若所述端口当前已接入的所有业务类型的用户业务所占用的总实际带宽 大于或等于所述重度拥塞门限确定的带宽, 则确定所述端口的拥塞等级为重 度拥塞。 If the total actual bandwidth occupied by user services of all service types currently accessed by the port is greater than or equal to the bandwidth determined by the severe congestion threshold, the congestion level of the port is determined to be severe congestion.
5、 根据权利要求 4所述的方法, 其特征在于, 所述根据所述端口的拥塞 等级、 所述受控的业务类型以及待接入的用户业务的业务类型, 对所述待接 入的用户业务进行准入控制, 包括: 5. The method according to claim 4, characterized in that, according to the congestion level of the port, the controlled service type and the service type of the user service to be accessed, the user service to be accessed is Access control for user services, including:
当所述拥塞等级为轻度拥塞, 且所述待接入的用户业务为实时业务时, 若所述受控的用户业务的业务类型为实时业务, 则按照所述待接入的用户业 务的最小可用速率进行准入控制; 或者, When the congestion level is mild congestion and the user service to be accessed is a real-time service, if the service type of the controlled user service is a real-time service, then according to the user service to be accessed, minimum available rate for admission control; or,
当所述拥塞等级为轻度拥塞, 且所述待接入的用户业务为非实时业务时, 若所述受控的用户业务的业务类型为实时业务或非实时业务, 则按照所述待 接入的用户业务的最小可用速率进行准入控制。 When the congestion level is mild congestion and the user service to be accessed is a non-real-time service, if the service type of the controlled user service is a real-time service or a non-real-time service, then the to-be-accessed service is Admission control is performed based on the minimum available rate of incoming user services.
6、 根据权利要求 5所述的方法, 其特征在于, 所述待接入的用户业务的 业务类型为电路业务, 6. The method according to claim 5, characterized in that the service type of the user service to be accessed is circuit service,
所述按照待接入的用户业务的最小可用速率进行准入控制包括: 以半速率编码或者低速的自适应多速率编码 ( AMR , Adaptive Multiple Rate )对所述待接入的用户业务进行准入控制。 The admission control based on the minimum available rate of user services to be accessed includes: Admission control is performed on the user service to be accessed using half-rate coding or low-speed Adaptive Multiple Rate coding (AMR, Adaptive Multiple Rate).
7、 根据权利要求 5所述的方法, 其特征在于, 所述待接入的用户业务的 业务类型为分组业务, 7. The method according to claim 5, characterized in that the service type of the user service to be accessed is a packet service,
所述按照待接入的用户业务的最小可用速率进行准入控制包括: 按照最小承诺速率对所述待接入的用户业务进行准入控制, 所述最小承 诺速率为业务申请准入时的基本保证带宽对应的编码速率。 The admission control based on the minimum available rate of the user service to be accessed includes: performing admission control on the user service to be accessed according to the minimum committed rate, where the minimum committed rate is the basic rate when the service applies for admission. Guarantee the encoding rate corresponding to the bandwidth.
8、 根据权利要求 5所述的方法, 其特征在于, 所述根据所述端口的拥塞 等级、 所述受控的业务类型以及待接入的用户业务的业务类型, 对所述待接 入的用户业务进行准入控制, 包括: 8. The method according to claim 5, characterized in that, according to the congestion level of the port, the controlled service type and the service type of the user service to be accessed, the user service to be accessed is Access control for user services, including:
当所述拥塞等级为重度拥塞, 且所述待接入的用户业务为实时业务时, 若所述受控的业务类型为实时业务, 则控制所述待接入的用户业务抢占所述 端口中当前已接入的业务优先级比所述待接入的用户业务的业务优先级低的 实时业务; 或者, When the congestion level is severe congestion and the user service to be accessed is a real-time service, if the controlled service type is a real-time service, the user service to be accessed is controlled to seize the port. The currently accessed service has a lower priority than the real-time service of the user service to be accessed; or,
当所述拥塞等级为重度拥塞, 且所述待接入的用户业务为实时业务时, 若所述受控的业务类型为非实时业务, 则允许所述待接入的用户业务根据申 请的编码速率进行准入; 或者, When the congestion level is severe congestion and the user service to be accessed is a real-time service, and if the controlled service type is a non-real-time service, the user service to be accessed is allowed according to the applied coding rate; or,
当所述拥塞等级为重度拥塞, 且所述待接入的用户业务为非实时业务时, 若所述受控的用户业务的业务类型为实时业务, 则控制所述待接入的用户业 务抢占所述端口中当前已接入的业务优先级比所述待接入的用户业务的业务 优先级低的实时业务; 或者, When the congestion level is severe congestion and the user service to be accessed is a non-real-time service, if the service type of the controlled user service is a real-time service, the preemption of the user service to be accessed is controlled. The real-time service that is currently accessed in the port has a lower priority than the user service to be accessed; or,
当所述拥塞等级为重度拥塞, 且所述待接入的用户业务为非实时业务时, 若所述受控的用户业务的业务类型为非实时业务, 则控制所述待接入的用户 业务抢占所述端口中当前已接入的业务优先级比所述待接入的用户业务的业 务优先级低的非实时业务。 When the congestion level is severe congestion and the user service to be accessed is a non-real-time service, if the service type of the controlled user service is a non-real-time service, then the user service to be accessed is controlled. Preempt non-real-time services whose priority is lower than the priority of the currently accessed service in the port than the service priority of the user service to be accessed.
9、 根据权利要求 1至 8任一项所述的方法, 其特征在于, 还包括根据所 述端口的拥塞等级和所述受控的业务类型, 对所述当前已接入的用户业务进 行控制。 9. The method according to any one of claims 1 to 8, further comprising: performing processing on the currently accessed user services according to the congestion level of the port and the controlled service type. line control.
10、 根据权利要求 9所述的方法, 其特征在于, 所述根据所述端口的拥 塞等级和所述受控的业务类型, 对所述当前已接入的用户业务进行控制, 包 括: 10. The method according to claim 9, characterized in that, controlling the currently accessed user service according to the congestion level of the port and the controlled service type includes:
当所述拥塞等级为轻度拥塞, 且所述受控业务为实时业务或者非实时业 务时, 对当前已接入的实时业务均不作编码调整; 或者, When the congestion level is mild congestion and the controlled service is a real-time service or a non-real-time service, no coding adjustment is made for the currently accessed real-time service; or,
当所述拥塞等级为轻度拥塞, 且所述受控业务为实时业务时, 对当前已 接入的非实时业务不作编码调整, 或者, When the congestion level is mild congestion and the controlled service is a real-time service, no coding adjustment is made to the currently accessed non-real-time service, or,
当所述拥塞等级为轻度拥塞, 且所述受控业务为非实时业务时, 触发降 低所述当前已接入的非实时业务的编码速率。 When the congestion level is mild congestion and the controlled service is a non-real-time service, a reduction in the coding rate of the currently accessed non-real-time service is triggered.
11、 根据权利要求 9 所述的方法, 其特征在于, 所述根据所述端口的拥 塞等级和所述受控的业务类型, 对所述当前已接入的用户业务进行控制, 包 括: 11. The method according to claim 9, characterized in that, controlling the currently accessed user service according to the congestion level of the port and the controlled service type includes:
当所述拥塞等级为重度拥塞, 且所述受控业务为实时业务时, 对于当前 已经接入的实时业务触发全速率编码到半速率的转换, 或者同时降低当前已 经接入的非实时业务的编码速率至最小承诺速率; 或者, When the congestion level is severe congestion and the controlled service is a real-time service, the conversion from full-rate coding to half-rate is triggered for the currently accessed real-time service, or at the same time, the rate of the currently accessed non-real-time service is reduced. Encode rate to the minimum committed rate; or,
当所述拥塞等级为重度拥塞, 且所述受控业务为非实时业务时, 对当前 已经接入的实时业务不作编码调整, 对当前已接入的非实时业务的编码速率 降低至所述最小承诺速率; When the congestion level is severe congestion and the controlled service is a non-real-time service, no coding adjustment is made to the currently accessed real-time service, and the coding rate of the currently accessed non-real-time service is reduced to the minimum Commitment rate;
其中, 所述最小承诺速率为业务申请准入时的基本保证带宽对应的编码 速率。 Wherein, the minimum committed rate is the coding rate corresponding to the basic guaranteed bandwidth when the service applies for admission.
12、 一种准入控制装置, 其特征在于, 包括: 12. An access control device, characterized by including:
第一处理单元, 用于根据网络设备的端口当前已接入的所有业务类型的 用户业务所占用的总实际带宽和拥塞门限, 确定所述端口的拥塞等级; The first processing unit is configured to determine the congestion level of the port based on the total actual bandwidth occupied by user services of all service types currently accessed by the port of the network device and the congestion threshold;
第二处理单元, 用于根据所述端口当前已接入的任一种业务类型的用户 业务所占用的总实际带宽和该业务类型的用户业务接入时所申请的总带宽, 确定受控的业务类型; 第一控制单元, 用于根据所述第一处理单元确定的所述端口的拥塞等级、 所述第二处理单元确定的所述受控的业务类型以及待接入的用户业务的业务 类型, 对所述待接入的用户业务进行准入控制。 The second processing unit is configured to determine the controlled bandwidth based on the total actual bandwidth occupied by user services of any service type currently accessed by the port and the total bandwidth applied for when user services of this service type are accessed. business type; The first control unit is configured to control the congestion level of the port determined by the first processing unit, the controlled service type determined by the second processing unit, and the service type of the user service to be accessed, The user services to be accessed are subject to admission control.
13、 根据权利要求 12所述的装置, 其特征在于, 所述端口当前已接入的 所有业务类型的用户业务所占用的总实际带宽, 是: 13. The device according to claim 12, characterized in that the total actual bandwidth occupied by user services of all service types currently accessed by the port is:
根据所述端口所有队列调度的数据流量得到的; 或者, Obtained based on the data traffic scheduled by all queues of the port; or,
根据所述端口当前已接入的所有业务类型的用户业务在设定周期内接收 和发送的数据流量得到的; Obtained based on the data traffic received and sent within the set period by user services of all service types currently accessed by the port;
所述端口当前已接入的任一种业务类型的用户业务所占用的总实际带 覔 , 是: The total actual bandwidth occupied by user services of any service type currently connected to the port is:
根据所述端口当前已接入的任一种业务类型所对应的优先级队列调度的 数据流量得到的; 或者, Obtained according to the data traffic scheduled by the priority queue corresponding to any service type currently accessed by the port; or,
根据所述端口当前已接入的任一种业务类型的各个用户业务在设定周期 内接收和发送的数据流量得到的。 It is obtained based on the data traffic received and sent by each user service of any service type currently connected to the port within the set period.
14、 根据权利要求 12或者 13所述的装置, 其特征在于, 所述第二处理 单元, 具体用于: 14. The device according to claim 12 or 13, characterized in that the second processing unit is specifically used for:
若所述端口当前任一种业务类型的用户业务所述占用的总实际带宽大于 该业务类型的用户业务接入时申请的总带宽, 则确定受控的业务类型为该业 务类型; 或者 If the total actual bandwidth currently occupied by user services of any service type on the port is greater than the total bandwidth applied for when user services of this service type are accessed, then the controlled service type is determined to be the service type; or
若所述端口当前任一种业务类型的用户业务所占用的总实际带宽小于或 者等于该业务类型的用户业务接入时所申请的总带宽, 则确定受控的业务类 型为与该业务类型不同的另一业务类型。 If the total actual bandwidth currently occupied by user services of any service type on the port is less than or equal to the total bandwidth applied for when user services of this service type are accessed, then the controlled service type is determined to be different from this service type. another type of business.
15、 根据权利要求 12至 14任一项所述的装置, 其特征在于, 所述端口 的拥塞等级包括轻度拥塞和重度拥塞; 15. The device according to any one of claims 12 to 14, characterized in that the congestion level of the port includes mild congestion and severe congestion;
所述预设拥塞门限包括轻度拥塞门限和重度拥塞门限, 其中, 所述轻度 拥塞门限小于所述重度拥塞门限; The preset congestion threshold includes a mild congestion threshold and a severe congestion threshold, wherein the mild congestion threshold is smaller than the severe congestion threshold;
所述第一处理单元, 具体用于: 若所述端口当前已接入的所有业务类型的用户业务所占用的总实际带宽 大于或等于所述轻度拥塞门限确定的带宽, 且小于所述重度拥塞门限确定的 带宽, 则确定所述端口的拥塞等级为轻度拥塞; 或者, The first processing unit is specifically used for: If the total actual bandwidth occupied by user services of all service types currently accessed by the port is greater than or equal to the bandwidth determined by the mild congestion threshold and less than the bandwidth determined by the severe congestion threshold, then determine that the port 's congestion level is mild congestion; or,
若所述端口当前已接入的所有业务类型的用户业务所占用的总实际带宽 大于或等于所述重度拥塞门限确定的带宽, 则确定所述端口的拥塞等级为重 度拥塞。 If the total actual bandwidth occupied by user services of all service types currently accessed by the port is greater than or equal to the bandwidth determined by the severe congestion threshold, the congestion level of the port is determined to be severe congestion.
16、 根据权利要求 15所述的装置, 其特征在于, 所述第一控制单元具体 用于: 16. The device according to claim 15, characterized in that the first control unit is specifically used for:
当所述第一处理单元确定的所述拥塞等级为轻度拥塞, 且所述待接入的 用户业务为实时业务时, 若所述第二处理单元确定的所述受控的用户业务的 业务类型为实时业务, 则按照所述待接入的用户业务的最小可用速率进行准 入控制; 或者, When the congestion level determined by the first processing unit is mild congestion and the user service to be accessed is a real-time service, if the controlled user service determined by the second processing unit If the type is real-time service, then admission control is performed according to the minimum available rate of the user service to be accessed; or,
当所述第一处理单元确定的所述拥塞等级为轻度拥塞, 且所述待接入的 用户业务为非实时业务时, 若所述第二处理单元确定的所述受控的用户业务 的业务类型为实时业务或非实时业务, 则按照所述待接入的用户业务的最小 可用速率进行准入控制。 When the congestion level determined by the first processing unit is mild congestion and the user service to be accessed is a non-real-time service, if the controlled user service determined by the second processing unit If the service type is real-time service or non-real-time service, admission control is performed according to the minimum available rate of the user service to be accessed.
17、 根据权利要求 16所述的装置, 其特征在于, 所述待接入的用户业务 的业务类型为电路业务, 所述第一控制单元按照待接入的用户业务的最小可 用速率进行准入控制, 包括: 17. The device according to claim 16, wherein the service type of the user service to be accessed is circuit service, and the first control unit performs admission according to the minimum available rate of the user service to be accessed. Control, including:
所述第一控制单元以半速率编码或者低速的自适应多速率编码( AMR, Adaptive Multiple Rate )对所述待接入的用户业务进行准入控制。 The first control unit performs admission control on the user service to be accessed using half-rate coding or low-speed Adaptive Multiple Rate coding (AMR, Adaptive Multiple Rate).
18、 根据权利要求 16所述的装置, 其特征在于, 所述待接入的用户业务 的业务类型为分组业务, 所述第一控制单元按照待接入的用户业务的最小可 用速率进行准入控制, 包括: 18. The device according to claim 16, wherein the service type of the user service to be accessed is a packet service, and the first control unit performs admission according to the minimum available rate of the user service to be accessed. Control, including:
所述第一控制单元按照最小承诺速率对所述待接入的用户业务进行准入 控制, 所述最小承诺速率为业务申请准入时的基本保证带宽对应的编码速率。 The first control unit performs access control on the user service to be accessed according to a minimum committed rate, where the minimum committed rate is the coding rate corresponding to the basic guaranteed bandwidth when the service applies for admission.
19、 根据权利要求 15所述的装置, 其特征在于, 所述第一控制单元具体 用于: 19. The device according to claim 15, characterized in that the first control unit specifically Used for:
当所述第一处理单元确定的所述拥塞等级为重度拥塞, 且所述待接入的 用户业务为实时业务时, 若所述第二处理单元确定的所述受控的业务类型为 实时业务, 则控制所述待接入的用户业务抢占所述端口中当前已接入的业务 优先级比所述待接入的用户业务的业务优先级低的实时业务; 或者, When the congestion level determined by the first processing unit is severe congestion and the user service to be accessed is a real-time service, if the controlled service type determined by the second processing unit is a real-time service , then control the user service to be accessed to seize the real-time service with a lower priority of the currently accessed service in the port than the user service to be accessed; or,
当所述第一处理单元确定的所述拥塞等级为重度拥塞, 且所述待接入的 用户业务为实时业务时, 若所述第二处理单元确定的所述受控的业务类型为 非实时业务, 则允许所述待接入的用户业务根据申请的编码速率进行准入; 或者, When the congestion level determined by the first processing unit is severe congestion and the user service to be accessed is a real-time service, if the controlled service type determined by the second processing unit is non-real-time service, the user service to be accessed is allowed to be admitted according to the applied coding rate; or,
当所述第一处理单元确定的所述拥塞等级为重度拥塞, 且所述待接入的 用户业务为非实时业务时, 若所述第二处理单元确定的所述受控的用户业务 的业务类型为实时业务, 则控制所述待接入的用户业务抢占所述端口中当前 已接入的业务优先级比所述待接入的用户业务的业务优先级低的实时业务; 或者, When the congestion level determined by the first processing unit is severe congestion and the user service to be accessed is a non-real-time service, if the controlled user service determined by the second processing unit If the type is real-time service, control the user service to be accessed to preempt the real-time service with a lower priority than the currently accessed service in the port than the user service to be accessed; or,
当所述第一处理单元确定的所述拥塞等级为重度拥塞, 且所述待接入的 用户业务为非实时业务时, 若所述第二处理单元确定的所述受控的用户业务 的业务类型为非实时业务, 则控制所述待接入的用户业务抢占所述端口中当 前已接入的业务优先级比所述待接入的用户业务的业务优先级低的非实时业 务。 When the congestion level determined by the first processing unit is severe congestion and the user service to be accessed is a non-real-time service, if the controlled user service determined by the second processing unit If the type is non-real-time service, the user service to be accessed is controlled to preempt the non-real-time service with a lower priority than the currently accessed service in the port than the user service to be accessed.
20、 根据权利要求 12至 19任一项所述的装置, 其特征在于, 还包括第 二控制单元, 用于根据所述第一处理单元确定的所述端口的拥塞等级和所述 第二处理单元确定的所述受控的业务类型, 对所述当前已接入的任一种业务 类型的用户业务进行控制。 20. The device according to any one of claims 12 to 19, further comprising a second control unit configured to perform the second processing according to the congestion level of the port determined by the first processing unit. The controlled service type determined by the unit controls user services of any currently accessed service type.
21、 根据权利要求 20所述的装置, 其特征在于, 所述第二控制单元具体 用于: 21. The device according to claim 20, characterized in that the second control unit is specifically used for:
当所述第一处理单元确定的所述拥塞等级为轻度拥塞, 且所述第二处理 单元确定的所述受控业务为实时业务或者非实时业务时, 对当前已接入的实 时业务均不作编码调整; 或者, When the congestion level determined by the first processing unit is mild congestion, and the controlled service determined by the second processing unit is a real-time service or a non-real-time service, the currently accessed real-time service is No coding adjustments will be made to the business; or,
当所述第一处理单元确定的所述拥塞等级为轻度拥塞, 且所述第二处理 单元确定的所述受控业务为实时业务时, 对当前已接入的非实时业务不作编 码调整, 或者所述拥塞等级为轻度拥塞, 且所述受控业务为非实时业务时, 触发降低所述当前已接入的非实时业务的编码速率。 When the congestion level determined by the first processing unit is mild congestion, and the controlled service determined by the second processing unit is a real-time service, no coding adjustment is made to the currently accessed non-real-time service, Or when the congestion level is mild congestion and the controlled service is a non-real-time service, a reduction in the coding rate of the currently accessed non-real-time service is triggered.
22、 根据权利要求 20所述的装置, 其特征在于, 所述第二控制单元具体 用于: 22. The device according to claim 20, characterized in that the second control unit is specifically used for:
当所述第一处理单元确定的所述拥塞等级为重度拥塞, 且所述第二处理 单元确定的所述受控业务为实时业务时, 对于当前已接入的实时业务触发全 速率编码到半速率的转换, 或者同时降低当前已接入的非实时业务的编码速 率至最小承诺速率; 或者, When the congestion level determined by the first processing unit is severe congestion, and the controlled service determined by the second processing unit is a real-time service, full rate encoding to half rate is triggered for the currently accessed real-time service. rate conversion, or simultaneously reduce the coding rate of the currently accessed non-real-time service to the minimum committed rate; or,
当所述第一处理单元确定的所述拥塞等级为重度拥塞, 且所述第二处理 单元确定的所述受控业务为非实时业务时, 对当前已接入的实时业务不作编 码调整, 对当前已接入的非实时业务的编码速率降低至所述最小承诺速率; 所述最小承诺速率为业务申请准入时的基本保证带宽对应的编码速率。 When the congestion level determined by the first processing unit is severe congestion, and the controlled service determined by the second processing unit is a non-real-time service, no coding adjustment is made to the currently accessed real-time service, and The coding rate of the currently accessed non-real-time service is reduced to the minimum committed rate; the minimum committed rate is the coding rate corresponding to the basic guaranteed bandwidth when the service applies for admission.
23 根据权利要求 12至 22任一项所述的装置, 其特征在于, 所述装置位 于网络设备中。 23. The device according to any one of claims 12 to 22, characterized in that the device is located in a network device.
24. 根据权利要求 23所述的装置, 其特征在于, 所述网络设备为基站, 或者, 基站控制器, 或者, 无线网络控制器, 或者, 演进型基站, 或者, 核 心网。 24. The apparatus according to claim 23, wherein the network device is a base station, or a base station controller, or a wireless network controller, or an evolved base station, or a core network.
PCT/CN2013/081750 2013-08-19 2013-08-19 Access control method and apparatus WO2015024158A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2013/081750 WO2015024158A1 (en) 2013-08-19 2013-08-19 Access control method and apparatus
CN201380000980.9A CN103797841B (en) 2013-08-19 2013-08-19 A kind of admittance control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/081750 WO2015024158A1 (en) 2013-08-19 2013-08-19 Access control method and apparatus

Publications (1)

Publication Number Publication Date
WO2015024158A1 true WO2015024158A1 (en) 2015-02-26

Family

ID=50671639

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/081750 WO2015024158A1 (en) 2013-08-19 2013-08-19 Access control method and apparatus

Country Status (2)

Country Link
CN (1) CN103797841B (en)
WO (1) WO2015024158A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015024158A1 (en) * 2013-08-19 2015-02-26 华为技术有限公司 Access control method and apparatus
CN105591769A (en) * 2014-10-22 2016-05-18 中兴通讯股份有限公司 Reserved bandwidth configuration method and apparatus of service port
CN104869032B (en) * 2015-04-22 2019-01-18 烽火通信科技股份有限公司 A kind of method and system carrying out CAC detection by business layer bandwidth
CN106330476B (en) * 2015-06-15 2021-02-19 中兴通讯股份有限公司 Method for obtaining guaranteed bandwidth of user side port and network monitoring system
CN107241761B (en) * 2016-03-28 2019-11-19 大唐移动通信设备有限公司 A kind of jamming control method and device of base station
CN110113222B (en) * 2018-02-01 2023-05-02 中兴通讯股份有限公司 Method and device for acquiring link bandwidth utilization rate and terminal
CN111464453A (en) * 2020-04-01 2020-07-28 中国联合网络通信集团有限公司 Message forwarding method and device
CN114567679B (en) * 2022-03-25 2024-04-02 阿里巴巴(中国)有限公司 Data transmission method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662799A (en) * 2009-08-28 2010-03-03 中兴通讯股份有限公司 Method and device for realizing admission control
US20100110887A1 (en) * 2008-10-30 2010-05-06 Motorola, Inc. Admission control for a heterogeneous communication system
CN103797841A (en) * 2013-08-19 2014-05-14 华为技术有限公司 Admission control method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE529376C3 (en) * 2004-12-30 2007-08-21 Teliasonera Ab Method and system for controlling service access in shared networks
CN101232459B (en) * 2005-03-28 2011-09-14 华为技术有限公司 Business band width dynamic control method and device
CN101965007A (en) * 2009-07-21 2011-02-02 中兴通讯股份有限公司 Congestion control method and device for base station
CN101711041B (en) * 2009-12-09 2012-10-17 华为技术有限公司 Congestion control method, operation-maintenance center equipment and base station

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100110887A1 (en) * 2008-10-30 2010-05-06 Motorola, Inc. Admission control for a heterogeneous communication system
CN101662799A (en) * 2009-08-28 2010-03-03 中兴通讯股份有限公司 Method and device for realizing admission control
CN103797841A (en) * 2013-08-19 2014-05-14 华为技术有限公司 Admission control method and device

Also Published As

Publication number Publication date
CN103797841B (en) 2017-11-24
CN103797841A (en) 2014-05-14

Similar Documents

Publication Publication Date Title
WO2015024158A1 (en) Access control method and apparatus
US10772081B2 (en) Airtime-based packet scheduling for wireless networks
KR102013729B1 (en) Systems and methods for application-aware admission control in a communication network
WO2017193970A1 (en) Method and system for providing guaranteed quality of service and quality of experience channel
JP5643314B2 (en) Method and apparatus for managing resource allocation in a network
Zinner et al. Dynamic application-aware resource management using software-defined networking: Implementation prospects and challenges
EP2954662B1 (en) Adaptive resource management for multi-screen video applications over cable wi-fi networks
US8165021B2 (en) Policy-based resource management
EP2561660B1 (en) Controlling data transmission over a network
US20140153392A1 (en) Application quality management in a cooperative communication system
CN107431719B (en) System and method for managing bandwidth in response to duty cycle of ABR client
RU2005131960A (en) ACCESS PERMISSION MANAGEMENT AND RESOURCE ALLOCATION IN THE COMMUNICATION SYSTEM WITH SUPPORT OF APPLICATION STREAMS WITH AVAILABILITY OF SERVICE QUALITY REQUIREMENTS
JP2010541351A (en) Method, system, and computer program product for adaptive congestion control over virtual lanes of data center ethernet architecture
WO2013166769A1 (en) Self-adaptive bandwidth distribution method and system
EP2854446A1 (en) Access control method and device
TWI392261B (en) Method of radio resource allocation and related communication apparatus
WO2013117126A1 (en) Method, system and device for service rate control
JP2013516107A5 (en)
WO2011137727A1 (en) Method and system for transmitting message
CN108881045B (en) QoS guarantee-based congestion control method in heterogeneous network
WO2010099718A1 (en) Method and equipment for controlling data tranmission, and system thereof
WO2018149228A1 (en) Packet transmission method and device
JP2021505042A (en) Real-time transport network Systems and methods for accelerating or decelerating data transport networks based on congestion conditions
CN113783785A (en) ECN (engineering-centric networking) water line value configuration method and device and network equipment
US9161376B2 (en) System and method for managing access point communication channel utilization

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

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

Country of ref document: EP

Kind code of ref document: A1