[go: up one dir, main page]

WO2010025659A1 - Method, apparatus and system for admittance of label switching path - Google Patents

Method, apparatus and system for admittance of label switching path Download PDF

Info

Publication number
WO2010025659A1
WO2010025659A1 PCT/CN2009/073645 CN2009073645W WO2010025659A1 WO 2010025659 A1 WO2010025659 A1 WO 2010025659A1 CN 2009073645 W CN2009073645 W CN 2009073645W WO 2010025659 A1 WO2010025659 A1 WO 2010025659A1
Authority
WO
WIPO (PCT)
Prior art keywords
access
bandwidth
service type
reserved
access service
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2009/073645
Other languages
French (fr)
Chinese (zh)
Inventor
黄铁英
刘小飞
刘春�
文远癸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2010025659A1 publication Critical patent/WO2010025659A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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/82Miscellaneous aspects
    • H04L47/822Collecting or measuring resource availability data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • H04L45/502Frame based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • 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/806Broadcast or multicast traffic

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, device, and system for accessing a label switched path.
  • the router determines a path based on the source and destination ports of the packet. Packets with the same source and destination ports can be forwarded on this path to form a data stream. Traffic Engineer (TE) selects the path for traffic based on current network resource usage or special placement requirements for certain traffic.
  • TE Traffic Engineer
  • Mul t i-Protocol Label Swi tching refers to the existence of several nodes on the data transmission path. Each node stores an input/output tag mapping table. When the data stream flows into the node, the node is data. The stream is labeled with the next hop; and the Label Swi tched Path (LSP) is the label sequence of each node on the path from the source to the terminal. It can be said that the data transmission occurs on the LSP.
  • LSP Label Swi tched Path
  • MPLS TE combines MPLS technology with traffic engineering. If the source end wants to transmit voice services, first determine the load of each link in the current network, and the congestion node; then bypass the congestion node, select the link with less load, and establish an LSP from the source to the terminal. A part of the bandwidth resource is allocated to the LSP as a reserved bandwidth resource of the voice service. Similarly, bandwidth resources can be reserved for image services.
  • DiffServ is a common service model for ensuring Quality of Service (Qos). Voice, image and other services are divided into different service levels, and network resources are allocated hierarchically.
  • DiffServ-Aware TE combines MPLS TE and DiffServ.
  • DiffServ- Aware TE will Service traffic such as voice and image is divided into 8 service types (Class Type, CT); from CT0 to CT7, each CT is limited to the dedicated bandwidth that can be allocated; that is, different bandwidth constraints are imposed on different CTs (Bandwidth) Constraint, BC).
  • Each CT is divided into eight priority levels by service level, from 0 (indicated by P0) to 7 (indicated by P7), with P0 having the highest priority and P7 having the lowest priority.
  • the CT type is CTc and the priority is Pk, it is expressed as TE-Class (CTc, Pk).
  • DiffServ-Aware TE determines the bandwidth constraint range of the CTO ⁇ CT7;
  • the traffic with the highest priority of the CT can preempt the bandwidth resources occupied by the lower priority traffic.
  • RFC 3564 defines the "bandwidth constraint model" to represent the relationship between CT and BC.
  • bandwidth constraint models There are three types of bandwidth constraint models proposed by the industry: Maximum Allocation Bandwidth Constraints Model (MAM), Russian Dolls Bandwidth Constraints Model (RDM), and Max Allocation with Reservation Bandwidth Constraints Model. , MAR).
  • the MAR model combines the advantages of the MAM and RDM models: When other CTs have no service access, a CT can occupy dedicated bandwidth allocated to other CTs, allowing bandwidth to be shared between CTs in the uncongested state of the link, thereby increasing bandwidth. Utilization: When other CTs have service access, the CT reclaims the dedicated bandwidth allocated to other CTs, and prohibits occupying the dedicated bandwidth of other CTs across the CT in the link congestion state, thereby ensuring the isolation of bandwidth between CTs.
  • the shared bandwidth of the MAR model that is, the bandwidth shared by each CT that is not allocated to any CT.
  • each CT occupies the shared bandwidth by priority, and the high priority can preempt the bandwidth occupied by the traffic with lower priority.
  • a single CT LSP that is, an LSP can only transmit traffic of one CT.
  • Multi-CT LSP that is, one LSP can transmit traffic of multiple CTs, and each CT in multiple CT LSPs has the same priority.
  • the internal gateway protocol broadcasts the link without bandwidth information (TE-Class Unreserved BW Sub-TLV, TE information). It is based on the single CT LSP technology.
  • the TE information currently broadcast by the IGP contains the unreserved bandwidth information of each TE_Class (CT, Priority).
  • the method for performing the admission calculation of the single CT LSP in the MAR model is as follows: H.
  • the single CT LSP transmits a TE_Class (CT, Priority) traffic, and the TE-Class (CT, Priority) is obtained from the TE information broadcast by the IGP.
  • the unreserved bandwidth information when the unreserved bandwidth of the TE-Class (CT, Priority) satisfies the bandwidth requirement of the TE-Class (CT, Priority) of the CT LSP, the single CT LSP is allowed to access.
  • the multi-CT LSP transmits the traffic of TE-Class (CTm, Pi) and TE-Class (CTn, Pi).
  • the TE-Class (CTm, Pi) bandwidth requirement is 5 OM; the TE-Class (CTn, Pi) bandwidth requirement is 40M.
  • the unreserved bandwidth of the TE-Class (CTm, Pi) is 50M, and the unreserved bandwidth of the TE-Class (CTn, Pi) is 40M.
  • the unreserved bandwidth of the TE-Class (CTm, Pi) satisfies the bandwidth requirement of the TE-Class (CTm, Pi) of the multi-CTLSP; the unreserved bandwidth of the TE-Class (CTn, Pi) satisfies the TE_Class of the multi-CT LSP.
  • the bandwidth requirement of (CTn, Pi), the multi-CT LSP is allowed to access.
  • the unreserved bandwidth of the link is actually 60M, which is smaller than the sum of the bandwidth requirements of the TE_Class (CTm, Pi) and TE-Class (CTn, Pi) of the multi-CT LSP, that is, the TE-Class (CTm, Pi)
  • CTm, Pi TE-Class
  • CTn, Pi TE-Class
  • the unreserved bandwidth overlaps with the unreserved bandwidth of the TE-Class (CTn, Pi).
  • the result of the admission calculation using this method is theoretically to satisfy the bandwidth requirement of the multi-CT LSP, but the bandwidth is actually implemented. It failed when reserved.
  • the inventors have found that at least the following problems exist in the prior art: At present, the TE information of the IGP broadcast is insufficient. When the multi-CT LSP is connected to the link of the MAR model, the TE information according to the current broadcast cannot be performed. Accurate access calculations. Summary of the invention
  • the embodiments of the present invention provide a method, a device, and a system for permitting label switching paths, so that when multiple CT LSPs are connected to the link of the MAR model, accurate admission calculation can be performed.
  • a method for accessing a label switched path including:
  • a node for admission of a label switched path comprising: An access request receiving unit, configured to receive an access request of a label switching path that carries a service flow of at least two service types;
  • a service type obtaining unit configured to acquire a service type of a service flow carried by the label switching path in the access request, as an access service type
  • a priority acquiring unit configured to acquire a priority of a service flow carried by the label switching path in the access request, as an access priority
  • a bandwidth information acquiring unit configured to acquire a request access bandwidth of each service type in the access request, and obtain the reserved bandwidth information on the link that is requested to be accessed in the local traffic engineering database, and the link is maximum Reserve bandwidth, bandwidth constraints for each service type;
  • a total bandwidth obtaining unit configured to acquire a sum of reserved bandwidths of each access service type, not lower than an access priority; and summing the reserved bandwidths, plus the access service type Requesting access bandwidth, and obtaining the result as the total access bandwidth of the access service type;
  • the access unit is configured to allow the link to access the label switching path when the total access bandwidth of each access service type is not greater than the bandwidth constraint of the access service type.
  • An access system for a label switched path including a node along the path and an access node;
  • the path node is configured to add reserved bandwidth information of each defined service type and priority combination to the internal gateway protocol message; send the internal gateway protocol message to the access node; And an access request for receiving a label switching path of a service flow carrying at least two service types; acquiring a service type of the service flow carried by the label switching path in the access request, as an access service type; The priority of the service flow carried by the label switching path in the access request as the access priority; obtaining the requested access bandwidth of each access service type in the access request; and acquiring the local traffic engineering database
  • the bandwidth information, the maximum reservable bandwidth of the link, and the bandwidth constraint of each service type are reserved on the link requesting access; the reserved bandwidth is obtained when each access service type is not lower than the access priority.
  • the sum of the reserved bandwidth, plus the request access bandwidth of the access service type, and the obtained result is used as the access type access Total bandwidth; the total access bandwidth of each access service type is not greater than the access service type The bandwidth is allowed to allow the link to access the label switched path.
  • the node along the way adds the reserved bandwidth information to the internal gateway protocol packet; the access node may calculate according to the reserved bandwidth information provided by the packet and the requested bandwidth information of the label switched path requested to be accessed. If the bandwidth of the access service type is required to be reserved after accessing the label switching path, it is determined whether the bandwidth required for each access service type after accessing the label switching path is not greater than Bandwidth constraints for the respective service type; if yes, access to the label switched path is allowed. In the process of calculation and judgment, the problem that the shared bandwidth is repeatedly occupied is avoided, and the effect of accurately performing the admission calculation of the bearer label switching path is achieved.
  • FIG. 1 is a schematic diagram of a method for extending link bandwidth information according to an embodiment of the present invention
  • FIG. 2 is a structural diagram of an extended TLV according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a method for acquiring link bandwidth information according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an admission method of a label switching path according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of another method for admission of a label switching path according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a node for admission of a label switching path according to an embodiment of the present invention
  • FIG. 7 is a structural diagram of an admission system of a label switching path according to an embodiment of the present invention.
  • a method for extending link bandwidth information includes:
  • the TLV includes a Type field, a Length field, and a value (Va lue) field (the newly added TLV format is as shown in FIG. 2);
  • the Length field is filled with the length of the Va lue field in bytes.
  • the reserved bandwidth information is added to the Va lue field in the order of TE-Clas s O, TE-Clas s TE-Clas s 2 TE-Clas s 7.
  • the method for extending the bandwidth information of the link provided by the embodiment of the present invention adds the reserved bandwidth information of each defined service type and its priority to the internal gateway protocol packet, and broadcasts the packet in the specified network. . Therefore, the link bandwidth information of the internal gateway protocol packet is expanded, so that the access node can accurately calculate the access based on the reserved bandwidth information provided by the internal gateway protocol packet.
  • a method for obtaining link bandwidth information includes:
  • link bandwidth information in the internal gateway protocol packet where the link bandwidth information includes reserved bandwidth information on the link.
  • the link bandwidth information further includes: unreserved bandwidth information, maximum reservable bandwidth of the link, and bandwidth constraint of each service type.
  • the method for obtaining link bandwidth information obtained by the embodiment of the present invention obtains link bandwidth information in the packet by receiving an internal gateway protocol packet, where the link bandwidth information includes reserved bandwidth information on the link. Add the link bandwidth information to the local traffic engineering database. Therefore, accurate admission calculation can be performed according to the reserved bandwidth information of the acquired link.
  • a method for accessing a label switching path includes:
  • the service type of the service flow carried by the label switching path in the access request is obtained as an access service type.
  • the sum of the reserved bandwidths to be obtained is added to the requested access bandwidth of the access service type, and the obtained result is used as the total access bandwidth of the access service type.
  • the method for obtaining a label switching path calculates, by accessing the label switching path, each access according to the obtained reserved bandwidth information and the requested bandwidth information of the label switching path that is requested to be accessed.
  • the bandwidth required to be reserved for the service type determining whether the bandwidth required for each access service type is not greater than the bandwidth constraint of the respective service type after accessing the label switching path; if yes, allowing the connection Enter the label switching path.
  • a method for accessing a label switching path includes:
  • CT0 and CT1 are access service types.
  • the priority of the service flow carried by the LSP is P3, and P3 is the access priority.
  • the link bandwidth information is obtained from the local traffic engineering database, including the bandwidth model, the bandwidth constraint (BC) of each service type, and the reserved bandwidth information of each TE-Class of the link.
  • Access service type CT0 not less than the sum of reserved bandwidth of access priority P3 plus access service
  • the request access bandwidth of the service type CTO is
  • the reserved bandwidth of each access service type needs to be determined, which may be:
  • the total bandwidth occupied is greater than the bandwidth constraint of the access service type, and the reserved bandwidth of the access service type is the access service type.
  • the access service type when not lower than the access priority, the total bandwidth occupied includes The access service type requests access bandwidth.
  • the total bandwidth occupied is less than the bandwidth constraint of the access service type
  • the reserved bandwidth of the access service type is the access service type
  • all priorities are Level, the total bandwidth occupied
  • the access service type at all priorities, the total bandwidth occupied includes the requested access bandwidth of the access service type.
  • the total bandwidth occupied is not greater than the bandwidth constraint of the access service type, and the total bandwidth occupied at all priorities is not If the bandwidth constraint is less than the access service type, the reserved bandwidth of the access service type is a bandwidth constraint of the access service type. For example, if the access service type CTx is not lower than the access priority P3, the total bandwidth occupied is not greater than the bandwidth constraint BCx of the access service type CTx, and the total bandwidth occupied at all priorities.
  • the reserved bandwidth of each non-access service type on the link needs to be determined, which may be: if a non-access service type is not lower than the access priority, the total occupied bandwidth is greater than the non-access The bandwidth of the access service type, the reserved bandwidth of the non-access service type is the non-access service type, and the total bandwidth occupied when the access priority is not lower than the access priority;
  • the total bandwidth occupied is less than the bandwidth constraint of the non-access service type
  • the reserved bandwidth of the non-access service type is the non-access service type.
  • the total bandwidth occupied is not greater than the bandwidth constraint of the non-access service type, and the total bandwidth occupied at all priorities
  • the bandwidth constraint of the non-access service type is not less than the bandwidth constraint of the non-access service type, and the reserved bandwidth of the non-access service type is the bandwidth constraint of the non-access service type.
  • the non-access service type CTz is not lower than the access priority P3
  • the total bandwidth occupied is not greater than the bandwidth constraint BCz of the non-access service type CTz, and is occupied at all priorities.
  • the sum of the reserved bandwidths of all access service types plus the sum of the reserved bandwidths of all non-access service types is obtained for all service types. The sum of bandwidth.
  • the sum of reserved bandwidths B of all non-access service types is ⁇ ( ⁇ 0, 1), which is obtained for all service types.
  • the sum of reserved bandwidth is ⁇ + ⁇ .
  • the link is allowed to access the LSP.
  • the link is allowed to access the LSP.
  • the link is not allowed to access the label switched path. For example, if the sum of reserved bandwidths (A+B) of all service types is greater than the maximum reservable bandwidth of the link, the link is not allowed to access the LSP.
  • the method for obtaining a label switching path calculates, by accessing the label switching path, each access according to the obtained reserved bandwidth information and the requested bandwidth information of the label switching path that is requested to be accessed.
  • the bandwidth required to be reserved for the service type determining whether the bandwidth required for each access service type is not greater than the bandwidth constraint of the respective service type after accessing the label switching path; if yes, allowing the connection Enter the label switching path.
  • the total access bandwidth of the at least one access service type is greater than the bandwidth constraint of the service type
  • the sum of the reserved bandwidths of all service types is calculated, and it is determined whether the total reserved bandwidth of all service types is not greater than the link maximum Leave the bandwidth, if yes, allow access to the label switched path, otherwise, access to the label switched path is not allowed.
  • the problem that the shared bandwidth is repeatedly occupied is avoided, so that the admission calculation of the bearer label switching path can be further accurately performed.
  • the embodiment of the present invention further provides a node for accessing a label switching path, as shown in FIG. 6, including:
  • An access request receiving unit 601 configured to receive an access request of a label switching path that carries a service flow of at least two service types
  • the service type obtaining unit 602 is configured to obtain a service type of the service flow carried by the label switching path in the access request, as an access service type.
  • the priority obtaining unit 603 is configured to obtain a priority of the service flow carried by the label switching path in the access request, as an access priority.
  • the bandwidth information obtaining unit 604 is configured to acquire the requested access bandwidth of each service type in the access request, and obtain the reserved bandwidth information on the link that is requested to be accessed in the local traffic engineering database, and the link is the largest. Bandwidth can be reserved, bandwidth constraints for each service type;
  • the total bandwidth obtaining unit 605 is configured to acquire each access service type, not lower than the access priority.
  • the sum of the reserved bandwidths; and the sum of the reserved bandwidths, plus the requested access bandwidth of the access service type, and the obtained result is used as the total access bandwidth of the access service type;
  • the access unit 606 is configured to allow the link to access the label switching path when the total access bandwidth of each access service type is not greater than the bandwidth constraint of the access service type.
  • the total bandwidth obtaining unit 605 is further configured to obtain a sum of reserved bandwidths of all service types when a total access bandwidth of the at least one access service type is greater than a bandwidth constraint of the access service type;
  • the access unit 606 is further configured to allow the link to access the label switching path when the total reserved bandwidth of all service types is not greater than a maximum reservable bandwidth of the link.
  • the node further includes:
  • An information adding unit configured to add reserved bandwidth information of a defined service type and its priority combination in an internal gateway protocol message
  • the message broadcast unit is configured to broadcast the internal gateway protocol message, so that the access node performs the access calculation and determination of the label switching path according to the reserved bandwidth information in the internal gateway protocol message.
  • the node provided by the embodiment of the present invention calculates that each access service type needs to be reserved after accessing the label switching path according to the obtained reserved bandwidth information and the requested bandwidth information of the label switched path that is requested to be accessed.
  • the bandwidth that is required to be reserved for each access service type after accessing the label switching path is not greater than the bandwidth constraint of the respective service type; if yes, the access to the label switching path is allowed. .
  • the problem that the shared bandwidth is repeatedly occupied is avoided, and the effect of accurately performing the admission calculation of the bearer label switching path is achieved.
  • the total access bandwidth of the at least one access service type is greater than the bandwidth constraint of the service type
  • the sum of the reserved bandwidths of all service types is calculated, and it is determined whether the total reserved bandwidth of all service types is not greater than the link maximum Leave the bandwidth, if yes, allow access to the label switched path, otherwise, access to the label switched path is not allowed.
  • the problem that the shared bandwidth is repeatedly occupied is avoided, so that the bearer label can be further accurately performed. Change the access calculation of the path.
  • An embodiment of the present invention further provides a label switching path admission system, as shown in FIG. 7, including a path node 701 and an access node 702;
  • the path node 701 is configured to add reserved bandwidth information of each defined service type and priority combination to the internal gateway protocol message; and send the message to the access node 702;
  • the access node 702 is configured to receive an access request of a label switching path that carries a service flow of at least two service types, and obtain a service type of the service flow carried by the label switching path in the access request, as an access a service type; obtaining a priority of a service flow carried by the label switching path in the access request, as an access priority; acquiring a request access bandwidth of each access service type in the access request; and acquiring The bandwidth information of the link that is requested to be accessed in the local traffic engineering database, the maximum reservable bandwidth of the link, and the bandwidth constraint of each service type; obtaining the access service type is not lower than the access priority
  • the sum of the reserved bandwidths, the sum of the reserved bandwidths, plus the requested access bandwidth of the access service type, and the obtained result is used as the total access bandwidth of the access service type; When the total access bandwidth of the access service type is not greater than the bandwidth constraint of the access service type, the link is allowed to access the label switching path.
  • the access node 702 is further configured to acquire a sum of reserved bandwidths of all service types when the total access bandwidth of the at least one access service type is greater than the bandwidth constraint of the access service type; When the sum of reserved bandwidths of the type is not greater than the maximum reservable bandwidth of the link, the link is allowed to access the label switched path.
  • the access node 702 is further configured to add the reserved bandwidth information of the defined service type and its priority in the internal gateway protocol packet, and broadcast the internal gateway protocol packet to facilitate the access node. And performing admission calculation and determination of the label switching path according to the reserved bandwidth information in the internal gateway protocol packet.
  • the access control system of the label switching path adds the reserved bandwidth information to the internal gateway protocol packet by the node along the path; the reserved bandwidth information and link provided by the access node according to the packet Maximum reservable bandwidth, bandwidth constraints for each service type on the link, and requests
  • the requested bandwidth information of the accessed label switching path is used for the calculation and judgment of the label switching path.
  • the problem that the shared bandwidth is repeatedly occupied can be avoided, and the effect of accurately performing the admission calculation of the bearer label switching path is achieved.
  • the storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random Acces s Memory (RAM).

Landscapes

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

Abstract

A method, an apparatus and a system for admittance of a Label Switching Path(LSP) are disclosed by the embodiments. Way nodes add the reserved bandwidth information in a message. Access nodes compute and judge whether the following access conditions are satisfied according to the link bandwidth information issued by the way nodes: if the sum of the reserved bandwidth of each service type being not lower than the access priority and corresponding to the access LSP in the link adds  new access bandwidth request of the service type, and the results are all not larger than respective bandwidth restriction, then the LSP is allowed to be accessed; otherwise, the reserved bandwidth sum of each service type in the link is computed and added with the bandwidth sum which is newly accessed in the LSP, if the result is not larger than the largest reserved bandwidth of the link, then the LSP is allowed to be accessed. The invention can be applied to access the LSP burdening service flows of a plurality of service types through the link in the largest reserved distribution model.

Description

标签交换路径的准入方法、 装置及系统 本申请要求于 2008 年 9 月 2 日提交中国专利局、 申请号为 200810146548. 发明名称为 "标签交换路径的准入方法及系统" 的中国专 利申请的优先权, 其全部内容通过引用结合在本申请中。  The present invention claims to be filed on September 2, 2008, to the Chinese Patent Office, Application No. 200810146548. The Chinese patent application entitled "Admission Method and System for Label Switching Paths" Priority is hereby incorporated by reference in its entirety.

技术领域 Technical field

本发明涉及通信领域, 尤其涉及一种标签交换路径的准入方法、 装置及 系统。  The present invention relates to the field of communications, and in particular, to a method, device, and system for accessing a label switched path.

背景技术 Background technique

在数据通信过程中, 路由器根据数据包的源端口和目的端口, 确定一条 路径。 具有相同源端口和目的端口的数据包可以在该路径上转发, 形成数据 流。 而流量工程(Traff ic Engineer ing , TE )则才艮据当前网络资源占用情况 或某些流量的特殊放置要求, 为流量选择路径。  During data communication, the router determines a path based on the source and destination ports of the packet. Packets with the same source and destination ports can be forwarded on this path to form a data stream. Traffic Engineer (TE) selects the path for traffic based on current network resource usage or special placement requirements for certain traffic.

多协议标签交换 ( Mul t i-Protocol Label Swi tching , MPLS )是指在数 据传输路径上存在若干节点, 每个节点存储有输入 /输出标签映射表; 当数据 流流入节点时, 该节点为数据流打上下一跳的标签; 而标签交换路径(Label Swi tched Path, LSP )就是每一个从源端到终端的路径上的节点的标签序列, 可以说, 数据传输发生在 LSP上。  Mul t i-Protocol Label Swi tching (MPLS) refers to the existence of several nodes on the data transmission path. Each node stores an input/output tag mapping table. When the data stream flows into the node, the node is data. The stream is labeled with the next hop; and the Label Swi tched Path (LSP) is the label sequence of each node on the path from the source to the terminal. It can be said that the data transmission occurs on the LSP.

MPLS TE结合了 MPLS技术与流量工程。 源端如果要传输语音业务; 首先 确定当前网络中各链路的负荷量, 和拥塞节点; 然后绕开拥塞节点, 选择负 荷较小的链路, 建立从源端到终端的 LSP。 为该 LSP划分出一部分带宽资源, 作为该语音业务的预留带宽资源。 同理, 可以为图像业务预留带宽资源。  MPLS TE combines MPLS technology with traffic engineering. If the source end wants to transmit voice services, first determine the load of each link in the current network, and the congestion node; then bypass the congestion node, select the link with less load, and establish an LSP from the source to the terminal. A part of the bandwidth resource is allocated to the LSP as a reserved bandwidth resource of the voice service. Similarly, bandwidth resources can be reserved for image services.

区分服务(DiffServ )是保证服务质量(Qua l i ty of Service, Qos ) 的 一种常用服务模型, 语音、 图像等业务被分成不同的服务等级, 并被按等级 分配网络资源。  DiffServ is a common service model for ensuring Quality of Service (Qos). Voice, image and other services are divided into different service levels, and network resources are allocated hierarchically.

DiffServ- Aware TE结合了 MPLS TE与 DiffServ。 DiffServ- Aware TE将 语音、图像等业务流量划分成 8个服务类型(Class Type, CT );从 CT0到 CT7, 为每个 CT限定所能分配到的专用带宽; 即, 对不同的 CT进行不同的带宽约 束 ( Bandwidth Constraint, BC )。 DiffServ-Aware TE combines MPLS TE and DiffServ. DiffServ- Aware TE will Service traffic such as voice and image is divided into 8 service types (Class Type, CT); from CT0 to CT7, each CT is limited to the dedicated bandwidth that can be allocated; that is, different bandwidth constraints are imposed on different CTs (Bandwidth) Constraint, BC).

每个 CT按服务等级划分成 8个优先级, 从 0 (用 P0表示)到 7 (用 P7 表示), P0优先级最高, P7优先级最低。 假设 CT类型为 CTc, 且优先级为 Pk, 则表示成 TE- Class (CTc, Pk )。  Each CT is divided into eight priority levels by service level, from 0 (indicated by P0) to 7 (indicated by P7), with P0 having the highest priority and P7 having the lowest priority. Assuming that the CT type is CTc and the priority is Pk, it is expressed as TE-Class (CTc, Pk).

DiffServ-Aware TE为某 LSP的 TE_Class (CTc, Pk)分配预留资源的过 程为:  The process of allocating reserved resources for the TE_Class (CTc, Pk) of an LSP by the DiffServ-Aware TE is:

DiffServ-Aware TE确定所述 CTO ~ CT7的带宽约束范围;  DiffServ-Aware TE determines the bandwidth constraint range of the CTO ~ CT7;

确定 TE-Class (CTc, Pk ) 的服务类型; 该服务类型所对应的带宽约束; 在该带宽约束范围内选择满足带宽要求的链路, 建立从源端到达终端的 LSP; 为该 LSP划分出一部分带宽资源, 作为该 TE-Class (CTc, Pk)业务的 预留带宽资源。  Determining the service type of the TE-Class (CTc, Pk); the bandwidth constraint corresponding to the service type; selecting the link that meets the bandwidth requirement within the bandwidth constraint, establishing an LSP from the source to the terminal; A part of the bandwidth resource serves as the reserved bandwidth resource of the TE-Class (CTc, Pk) service.

当某个 CT可用带宽资源紧张的情况下, 该 CT优先级高的流量可抢占优 先级低的流量所占带宽资源。  When the available bandwidth of a CT is tight, the traffic with the highest priority of the CT can preempt the bandwidth resources occupied by the lower priority traffic.

RFC3564定义了 "带宽约束模型" 来表示 CT与 BC之间的关系。 当前业界 提出的带宽约束模型有三种: 最大分配模型 ( Maximum Al location Bandwidth Constraints Model , MAM)、 俄罗斯木偶模型 (Russian Dolls Bandwidth Constraints Model , RDM ) 和最大预留分配模型 (Max Allocation with Reservation Bandwidth Constraints Model , MAR )。  RFC 3564 defines the "bandwidth constraint model" to represent the relationship between CT and BC. There are three types of bandwidth constraint models proposed by the industry: Maximum Allocation Bandwidth Constraints Model (MAM), Russian Dolls Bandwidth Constraints Model (RDM), and Max Allocation with Reservation Bandwidth Constraints Model. , MAR).

MAR模型综合了 MAM和 RDM模型的优点: 当其它 CT没有业务接入时, 某 CT可以占用分配给其它 CT的专用带宽, 允许在链路未拥塞状态下 CT间共享 带宽, 从而提高了带宽的利用率; 当其它 CT有业务接入时, 该 CT归还占用 的分配给其它 CT的专用带宽, 禁止在链路拥塞状态下跨 CT占用其它 CT的专 用带宽, 从而保证了 CT间带宽的隔离。  The MAR model combines the advantages of the MAM and RDM models: When other CTs have no service access, a CT can occupy dedicated bandwidth allocated to other CTs, allowing bandwidth to be shared between CTs in the uncongested state of the link, thereby increasing bandwidth. Utilization: When other CTs have service access, the CT reclaims the dedicated bandwidth allocated to other CTs, and prohibits occupying the dedicated bandwidth of other CTs across the CT in the link congestion state, thereby ensuring the isolation of bandwidth between CTs.

MAR模型的共享带宽, 即未分配给任何 CT专用, 由各 CT共享的带宽。 在 带宽资源紧张的情况下, 各 CT凭优先级占用共享带宽, 优先级高的可以抢占 优先级低的流量所占的带宽。 The shared bandwidth of the MAR model, that is, the bandwidth shared by each CT that is not allocated to any CT. In When the bandwidth resources are tight, each CT occupies the shared bandwidth by priority, and the high priority can preempt the bandwidth occupied by the traffic with lower priority.

单 CT LSP, 即一个 LSP只能传送一个 CT的流量。 多 CT LSP, 即一个 LSP 可以传送多个 CT的流量, 且多 CT LSP内的各 CT的优先级相同。  A single CT LSP, that is, an LSP can only transmit traffic of one CT. Multi-CT LSP, that is, one LSP can transmit traffic of multiple CTs, and each CT in multiple CT LSPs has the same priority.

各种带宽约束模型协议提出时, 还没有多 CT LSP技术, 因此, 内部网关 协议 ( Interior Gateway Protocols , IGP ) 广播的链路未预留带宽信息 (TE-Class Unreserved BW Sub-TLV , TE信息)是以单 CT LSP技术为基础 构造的。 目前 IGP广播的 TE信息, 包含各 TE_Class (CT, Priority )的未预 留带宽信息。  When the various bandwidth constraint model protocols are proposed, there is no multi-CT LSP technology. Therefore, the internal gateway protocol (IGP) broadcasts the link without bandwidth information (TE-Class Unreserved BW Sub-TLV, TE information). It is based on the single CT LSP technology. The TE information currently broadcast by the IGP contains the unreserved bandwidth information of each TE_Class (CT, Priority).

进行单 CT LSP在 MAR模型下的准入计算的方法如下: H没该单 CT LSP 传送一个 TE_Class (CT, Priority ) 的流量, 从 IGP广播的 TE信息中获取 到该 TE-Class (CT, Priority) 的未预留带宽信息, 当该 TE-Class (CT, Priority) 的未预留带宽满足该 CT LSP的 TE-Class (CT, Priority) 的带宽 要求时, 该单 CT LSP被允许接入。  The method for performing the admission calculation of the single CT LSP in the MAR model is as follows: H. The single CT LSP transmits a TE_Class (CT, Priority) traffic, and the TE-Class (CT, Priority) is obtained from the TE information broadcast by the IGP. The unreserved bandwidth information, when the unreserved bandwidth of the TE-Class (CT, Priority) satisfies the bandwidth requirement of the TE-Class (CT, Priority) of the CT LSP, the single CT LSP is allowed to access.

如果按上述方法进行多 CT LSP在 MAR模型下的准入计算:假设该多 CTLSP 传送 TE- Class (CTm, Pi )和 TE- Class (CTn, Pi ) 的流量。 TE- Class ( CTm, Pi ) 的带宽要求是 5 OM; TE-Class (CTn, Pi ) 的带宽要求是 40M。 从 IGP广 播的 TE信息中得到: TE-Class (CTm, Pi ) 的未预留带宽是 50M, TE-Class (CTn, Pi )的未预留带宽是 40M。 TE-Class (CTm, Pi )的未预留带宽满足该 多 CTLSP的 TE- Class (CTm, Pi ) 的带宽要求; TE- Class ( CTn, Pi ) 的未预 留带宽满足该多 CT LSP的 TE_Class (CTn, Pi ) 的带宽要求, 该多 CT LSP被 允许接入。  If the multi-CT LSP is used for the admission calculation under the MAR model as described above: It is assumed that the multi-CTLSP transmits the traffic of TE-Class (CTm, Pi) and TE-Class (CTn, Pi). The TE-Class (CTm, Pi) bandwidth requirement is 5 OM; the TE-Class (CTn, Pi) bandwidth requirement is 40M. Obtained from the TE information of the IGP broadcast: The unreserved bandwidth of the TE-Class (CTm, Pi) is 50M, and the unreserved bandwidth of the TE-Class (CTn, Pi) is 40M. The unreserved bandwidth of the TE-Class (CTm, Pi) satisfies the bandwidth requirement of the TE-Class (CTm, Pi) of the multi-CTLSP; the unreserved bandwidth of the TE-Class (CTn, Pi) satisfies the TE_Class of the multi-CT LSP. The bandwidth requirement of (CTn, Pi), the multi-CT LSP is allowed to access.

但实际上链路的未预留带宽是 60M, 小于该多 CT LSP的 TE_Class (CTm, Pi )和 TE- Class (CTn, Pi ) 的带宽要求之和, 即 TE- Class (CTm, Pi )的未 预留带宽与 TE-Class (CTn, Pi )的未预留带宽有重叠。 用该方法进行准入计 算的结果, 理论上是满足该多 CT LSP的带宽要求的, 但是在实际中进行带宽 预留时却失败了。 However, the unreserved bandwidth of the link is actually 60M, which is smaller than the sum of the bandwidth requirements of the TE_Class (CTm, Pi) and TE-Class (CTn, Pi) of the multi-CT LSP, that is, the TE-Class (CTm, Pi) The unreserved bandwidth overlaps with the unreserved bandwidth of the TE-Class (CTn, Pi). The result of the admission calculation using this method is theoretically to satisfy the bandwidth requirement of the multi-CT LSP, but the bandwidth is actually implemented. It failed when reserved.

因此, 只有知道各 TE_Clas s ( CT, Pr ior i ty )的具体的可以跨 CT的共享 带宽值, 才能避免共享带宽部分被重复使用, 成功的为多 CT LSP进行带宽预 留。  Therefore, only knowing the specific shared bandwidth value of each TE_Clas s (CT, Pr iority) across the CT can avoid the shared bandwidth part being reused and successfully preserving the bandwidth for the multi-CT LSP.

在实现本发明过程中, 发明人发现现有技术中至少存在如下问题: 目前 IGP广播的 TE信息不足, 当多 CT LSP被接入 MAR模型的链路时, 根据当前广 播的 TE信息, 无法进行准确的准入计算。 发明内容  In the process of implementing the present invention, the inventors have found that at least the following problems exist in the prior art: At present, the TE information of the IGP broadcast is insufficient. When the multi-CT LSP is connected to the link of the MAR model, the TE information according to the current broadcast cannot be performed. Accurate access calculations. Summary of the invention

本发明实施例提供一种标签交换路径的准入方法、 装置及系统, 使多 CT LSP被接入 MAR模型的链路时, 能够进行准确的准入计算。  The embodiments of the present invention provide a method, a device, and a system for permitting label switching paths, so that when multiple CT LSPs are connected to the link of the MAR model, accurate admission calculation can be performed.

为达到上述目的, 本发明的实施例釆用如下技术方案:  In order to achieve the above object, embodiments of the present invention use the following technical solutions:

一种标签交换路径的准入方法, 包括:  A method for accessing a label switched path, including:

接收承载至少两个服务类型的业务流的标签交换路径的接入请求; 获取所述接入请求中的标签交换路径承载的业务流的服务类型, 作为接 入服务类型;  Receiving an access request of a label switching path that carries a service flow of at least two service types; acquiring a service type of the service flow carried by the label switching path in the access request, as an access service type;

获取所述接入请求中的标签交换路径承载的业务流的优先级, 作为接入 优先级;  Obtaining a priority of the service flow carried by the label switching path in the access request, as an access priority;

获取所述接入请求中的每个接入服务类型的请求接入带宽;  Obtaining a request access bandwidth of each access service type in the access request;

获取本地流量工程数据库中被请求接入的链路上已预留带宽信息、 链路 最大可预留带宽、 每个服务类型的带宽约束;  Obtaining reserved bandwidth information on the link requested to be accessed in the local traffic engineering database, the maximum reservable bandwidth of the link, and the bandwidth constraint of each service type;

获取每个接入服务类型在不低于接入优先级时的已预留带宽总和, 将所 述已预留带宽总和, 加上所述接入服务类型的请求接入带宽, 得到的结果作 为所述接入服务类型的接入总带宽;  Obtaining the sum of the reserved bandwidths of each access service type not lower than the access priority, and adding the sum of the reserved bandwidths to the requested access bandwidth of the access service type, and obtaining the result The total access bandwidth of the access service type;

判断每个接入服务类型的接入总带宽是否都不大于所述接入服务类型的 带宽约束, 若是, 则允许所述链路接入所述标签交换路径。  Determining whether the total access bandwidth of each access service type is not greater than the bandwidth constraint of the access service type, and if so, allowing the link to access the label switching path.

一种用于标签交换路径的准入的节点, 包括: 接入请求接收单元, 用于接收承载至少两个服务类型的业务流的标签交 换路径的接入请求; A node for admission of a label switched path, comprising: An access request receiving unit, configured to receive an access request of a label switching path that carries a service flow of at least two service types;

服务类型获取单元, 用于获取所述接入请求中的标签交换路径承载的业 务流的服务类型, 作为接入服务类型;  a service type obtaining unit, configured to acquire a service type of a service flow carried by the label switching path in the access request, as an access service type;

优先级获取单元, 用于获取所述接入请求中的标签交换路径承载的业务 流的优先级, 作为接入优先级;  a priority acquiring unit, configured to acquire a priority of a service flow carried by the label switching path in the access request, as an access priority;

带宽信息获取单元, 用于获取所述接入请求中的每个服务类型的请求接 入带宽; 并获取本地流量工程数据库中被请求接入的链路上已预留带宽信息、 链路最大可预留带宽、 每个服务类型的带宽约束;  a bandwidth information acquiring unit, configured to acquire a request access bandwidth of each service type in the access request, and obtain the reserved bandwidth information on the link that is requested to be accessed in the local traffic engineering database, and the link is maximum Reserve bandwidth, bandwidth constraints for each service type;

总带宽获取单元, 用于获取每个接入服务类型, 在不低于接入优先级时 的已预留带宽总和; 并将所述已预留带宽总和, 加上所述接入服务类型的请 求接入带宽, 得到的结果作为所述接入服务类型的接入总带宽;  a total bandwidth obtaining unit, configured to acquire a sum of reserved bandwidths of each access service type, not lower than an access priority; and summing the reserved bandwidths, plus the access service type Requesting access bandwidth, and obtaining the result as the total access bandwidth of the access service type;

接入单元, 用于在每个接入服务类型的接入总带宽都不大于所述接入服 务类型的带宽约束时, 允许所述链路接入所述标签交换路径。  The access unit is configured to allow the link to access the label switching path when the total access bandwidth of each access service type is not greater than the bandwidth constraint of the access service type.

一种标签交换路径的准入系统, 包括沿途节点和接入节点;  An access system for a label switched path, including a node along the path and an access node;

所述沿途节点, 用于为内部网关协议报文添加各个已定义服务类型与优 先级组合的已预留带宽信息; 向所述接入节点发送所述内部网关协议报文; 所述接入节点, 用于接收承载至少两个服务类型的业务流的标签交换路 径的接入请求; 获取所述接入请求中的标签交换路径承载的业务流的服务类 型, 作为接入服务类型; 获取所述接入请求中的标签交换路径承载的业务流 的优先级, 作为接入优先级; 获取所述接入请求中的每个接入服务类型的请 求接入带宽; 并获取本地流量工程数据库中被请求接入的链路上已预留带宽 信息、 链路最大可预留带宽、 每个服务类型的带宽约束; 获取每个接入服务 类型在不低于接入优先级时的已预留带宽总和, 将所述已预留带宽总和, 加 上所述接入服务类型的请求接入带宽, 得到的结果作为所述接入服务类型的 接入总带宽; 在每个接入服务类型的接入总带宽都不大于所述接入服务类型 的带宽约束时, 允许所述链路接入所述标签交换路径。 The path node is configured to add reserved bandwidth information of each defined service type and priority combination to the internal gateway protocol message; send the internal gateway protocol message to the access node; And an access request for receiving a label switching path of a service flow carrying at least two service types; acquiring a service type of the service flow carried by the label switching path in the access request, as an access service type; The priority of the service flow carried by the label switching path in the access request as the access priority; obtaining the requested access bandwidth of each access service type in the access request; and acquiring the local traffic engineering database The bandwidth information, the maximum reservable bandwidth of the link, and the bandwidth constraint of each service type are reserved on the link requesting access; the reserved bandwidth is obtained when each access service type is not lower than the access priority. Sum, the sum of the reserved bandwidth, plus the request access bandwidth of the access service type, and the obtained result is used as the access type access Total bandwidth; the total access bandwidth of each access service type is not greater than the access service type The bandwidth is allowed to allow the link to access the label switched path.

本发明实施例沿途节点在内部网关协议报文中添加已预留带宽信息; 接 入节点可以根据所述报文提供的已预留带宽信息和请求接入的标签交换路径 的请求带宽信息, 计算如果接入所述标签交换路径后, 各接入服务类型所需 要预留的带宽; 判断如果接入所述标签交换路径后, 各接入服务类型的所需 要预留的带宽, 是否都不大于各自服务类型的带宽约束; 如果是, 则允许接 入所述标签交换路径。 在计算、 判断过程中, 避免了共享带宽被重复占用的 问题, 进而达到了准确的进行承载标签交换路径的准入计算的效果。  In the embodiment of the present invention, the node along the way adds the reserved bandwidth information to the internal gateway protocol packet; the access node may calculate according to the reserved bandwidth information provided by the packet and the requested bandwidth information of the label switched path requested to be accessed. If the bandwidth of the access service type is required to be reserved after accessing the label switching path, it is determined whether the bandwidth required for each access service type after accessing the label switching path is not greater than Bandwidth constraints for the respective service type; if yes, access to the label switched path is allowed. In the process of calculation and judgment, the problem that the shared bandwidth is repeatedly occupied is avoided, and the effect of accurately performing the admission calculation of the bearer label switching path is achieved.

附图说明 DRAWINGS

为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.

图 1为本发明实施例一种扩展链路带宽信息的方法示意图;  FIG. 1 is a schematic diagram of a method for extending link bandwidth information according to an embodiment of the present invention; FIG.

图 2为本发明实施例扩展 TLV的结构图;  2 is a structural diagram of an extended TLV according to an embodiment of the present invention;

图 3为本发明实施例一种获取链路带宽信息的方法示意图;  3 is a schematic diagram of a method for acquiring link bandwidth information according to an embodiment of the present invention;

图 4为本发明实施例一种标签交换路径的准入方法示意图;  4 is a schematic diagram of an admission method of a label switching path according to an embodiment of the present invention;

图 5为本发明实施例另一种标签交换路径的准入方法示意图;  FIG. 5 is a schematic diagram of another method for admission of a label switching path according to an embodiment of the present invention; FIG.

图 6为本发明实施例一种用于标签交换路径的准入的节点的构成示意图; 图 7为本发明实施例一种标签交换路径的准入系统结构图。  FIG. 6 is a schematic structural diagram of a node for admission of a label switching path according to an embodiment of the present invention; FIG. 7 is a structural diagram of an admission system of a label switching path according to an embodiment of the present invention.

具体实施方式 detailed description

下面结合附图对本发明实施例扩展链路带宽信息、 获取链路带宽信息、 标签交换路径的准入方法及系统进行详细描述。  The method and system for extending link bandwidth information, acquiring link bandwidth information, and label switching path according to an embodiment of the present invention are described in detail below with reference to the accompanying drawings.

如图 1所示, 一种扩展链路带宽信息的方法, 包括:  As shown in FIG. 1, a method for extending link bandwidth information includes:

101、 在内部网关协议报文中添加已定义服务类型与其优先级组合的已预 留带宽信息; 在所述报文中添加值字段; 在值字段中添加各个已定义服务类型与其优 先级组合的已预留带宽信息。 101. Add, in the internal gateway protocol packet, the reserved bandwidth information of the defined service type and its priority combination; Add a value field in the message; add reserved bandwidth information of each defined service type and its priority combination in the value field.

在 IGP报文中添加一个扩展 TLV, 所述 TLV中包括类型(Type )字段、 长 度(Length ) 字段及值 ( Va lue )字段(新添加的 TLV格式如图 2所示); 所述 Type字段为保留未定义字段。 所述 Length字段中填入以字节为单 位的 Va lue字段的长度。在 Va lue字段中添加各 TE-Clas s的已预留带宽信息。 按照 TE- Clas s O、 TE-Clas s TE-Clas s 2 TE- Clas s 7的顺序, 在 Va lue 字段中添加已预留带宽信息。  Adding an extended TLV to the IGP packet, where the TLV includes a Type field, a Length field, and a value (Va lue) field (the newly added TLV format is as shown in FIG. 2); To preserve undefined fields. The Length field is filled with the length of the Va lue field in bytes. Add the reserved bandwidth information of each TE-Clas s in the Va lue field. The reserved bandwidth information is added to the Va lue field in the order of TE-Clas s O, TE-Clas s TE-Clas s 2 TE-Clas s 7.

102、 广播所述内部网关协议报文, 以便于接入节点根据所述报文中的已 预留带宽信息进行标签交换路径的准入计算和判断。  102. Broadcast the internal gateway protocol packet, so that the access node performs the admission calculation and determination of the label switching path according to the reserved bandwidth information in the packet.

本发明实施例提供的扩展链路带宽信息的方法, 通过在内部网关协议报 文中添加各个已定义服务类型与其优先级组合的已预留带宽信息, 并在规定 网络内, 广播所述报文。 因此, 扩充了内部网关协议报文的链路带宽信息, 从而使接入节点可以根据所述内部网关协议报文提供的已预留带宽信息, 进 行准确地准入计算。  The method for extending the bandwidth information of the link provided by the embodiment of the present invention adds the reserved bandwidth information of each defined service type and its priority to the internal gateway protocol packet, and broadcasts the packet in the specified network. . Therefore, the link bandwidth information of the internal gateway protocol packet is expanded, so that the access node can accurately calculate the access based on the reserved bandwidth information provided by the internal gateway protocol packet.

如图 3所示, 一种获取链路带宽信息的方法, 包括:  As shown in FIG. 3, a method for obtaining link bandwidth information includes:

301、 接收内部网关协议报文;  301. Receive an internal gateway protocol packet.

302、 获取所述内部网关协议报文中的链路带宽信息; 所述链路带宽信息 包括链路上已预留带宽信息;  302. Obtain link bandwidth information in the internal gateway protocol packet, where the link bandwidth information includes reserved bandwidth information on the link.

所述链路带宽信息还包括: 未预留带宽信息, 链路最大可预留带宽、 各 服务类型的带宽约束。  The link bandwidth information further includes: unreserved bandwidth information, maximum reservable bandwidth of the link, and bandwidth constraint of each service type.

303、 将所述链路带宽信息添加到本地流量工程数据库中。  303. Add the link bandwidth information to a local traffic engineering database.

本发明实施例提供的获取链路带宽信息的方法, 通过接收内部网关协议 报文, 获取所述报文中的链路带宽信息; 所述链路带宽信息包括链路上已预 留带宽信息, 将所述链路带宽信息添加到本地流量工程数据库中。 因此, 可 以根据获取的链路的已预留带宽信息, 进行准确地准入计算。 如图 4所示, 一种标签交换路径的准入方法, 包括: The method for obtaining link bandwidth information provided by the embodiment of the present invention obtains link bandwidth information in the packet by receiving an internal gateway protocol packet, where the link bandwidth information includes reserved bandwidth information on the link. Add the link bandwidth information to the local traffic engineering database. Therefore, accurate admission calculation can be performed according to the reserved bandwidth information of the acquired link. As shown in FIG. 4, a method for accessing a label switching path includes:

401、 接收承载至少两个服务类型的业务流的标签交换路径的接入请求; 401. Receive an access request of a label switching path that carries a service flow of at least two service types.

402、 获取所述接入请求中的标签交换路径承载的业务流的服务类型, 作 为接入服务类型; The service type of the service flow carried by the label switching path in the access request is obtained as an access service type.

403、 获取所述接入请求中的标签交换路径承载的业务流的优先级, 作为 接入优先级;  403. Obtain a priority of a service flow carried by the label switching path in the access request, as an access priority.

404、 获取所述接入请求中的每个接入服务类型的请求接入带宽;  404. Obtain a request access bandwidth of each access service type in the access request.

405、 获取本地流量工程数据库中被请求接入的链路上已预留带宽信息、 链路最大可预留带宽、 每个服务类型的带宽约束;  405. Obtain reserved bandwidth information, maximum reservable bandwidth of the link, and bandwidth constraint of each service type on the link that is requested to be accessed in the local traffic engineering database.

406、获取每个接入服务类型,在不低于接入优先级时的已预留带宽总和; 406. Acquire a sum of reserved bandwidths of each access service type when not lower than the access priority;

407、 将获取的已预留带宽总和, 加上该接入服务类型的请求接入带宽, 得到的结果作为该接入服务类型的接入总带宽; 407. The sum of the reserved bandwidths to be obtained is added to the requested access bandwidth of the access service type, and the obtained result is used as the total access bandwidth of the access service type.

408、 判断每个接入服务类型的接入总带宽是否都不大于该接入服务类型 的带宽约束;  408. Determine whether the total access bandwidth of each access service type is not greater than a bandwidth constraint of the access service type.

409、 若是, 则允许该链路接入所述标签交换路径。  409. If yes, allow the link to access the label switching path.

本发明实施例提供的标签交换路径的准入方法, 通过根据获取的已预留 带宽信息和请求接入的标签交换路径的请求带宽信息, 计算如果接入所述标 签交换路径后, 各接入服务类型所需要预留的带宽; 判断如果接入所述标签 交换路径后, 各接入服务类型的所需要预留的带宽, 是否都不大于各自服务 类型的带宽约束; 如果是, 则允许接入所述标签交换路径。 在计算、 判断过 程中, 避免了共享带宽被重复占用的问题, 进而达到了准确的进行承载标签 交换路径的准入计算的效果。  The method for obtaining a label switching path according to the embodiment of the present invention calculates, by accessing the label switching path, each access according to the obtained reserved bandwidth information and the requested bandwidth information of the label switching path that is requested to be accessed. The bandwidth required to be reserved for the service type; determining whether the bandwidth required for each access service type is not greater than the bandwidth constraint of the respective service type after accessing the label switching path; if yes, allowing the connection Enter the label switching path. During the calculation and judging process, the problem that the shared bandwidth is repeatedly occupied is avoided, and the effect of accurately performing the admission calculation of the bearer label switching path is achieved.

如图 5所示, 一种标签交换路径的准入方法, 包括:  As shown in FIG. 5, a method for accessing a label switching path includes:

501、 接收承载至少两个服务类型的业务流的标签交换路径的接入请求; 例如, 接收承载两个服务类型的业务流的 LSP的接入请求。  501. Receive an access request of a label switched path carrying a service flow of at least two service types; for example, receiving an access request of an LSP carrying a service flow of two service types.

502、 获取所述接入请求中的标签交换路径承载的业务流的服务类型, 作 为接入服务类型; 502. Obtain a service type of a service flow carried by a label switching path in the access request, where For access service type;

例如,获取请求接入的 LSP承载的业务流的服务类型为 CT0、 CT1,则 CT0、 CT1为接入服务类型。  For example, if the service type of the service flow carried by the LSP that is requested to access is CT0 and CT1, CT0 and CT1 are access service types.

503、 获取所述接入请求中的标签交换路径承载的业务流的优先级, 作为 接入优先级;  503. Obtain a priority of a service flow carried by the label switching path in the access request, as an access priority.

例如, 获取所述 LSP承载的业务流的优先级为 P3, 则 P3为接入优先级。 For example, the priority of the service flow carried by the LSP is P3, and P3 is the access priority.

504、 获取所述接入请求中的每个接入服务类型的请求接入带宽; 确定所述 LSP 承载的 TE_Class<CTO , P3>的请求接入带宽为 Request [TE-Class<CTO, P3>] , 确定所述 LSP 载的 ΤΕ- Class<CTl , Ρ3>的请 求接入带宽为 Request [TE-Class<CTl, P3>]。 504. Obtain a request access bandwidth of each access service type in the access request, and determine a request access bandwidth of the TE_Class<CTO, P3> carried by the LSP as a Request [TE-Class<CTO, P3> ], determining that the request access bandwidth of the ΤΕ-Class<CT1, Ρ3> carried by the LSP is Request [TE-Class<CTl, P3>].

505、 获取本地流量工程数据库中被请求接入的链路上已预留带宽信息、 链路最大可预留带宽、 每个服务类型的带宽约束;  505. Obtain reserved bandwidth information, maximum reservable bandwidth of the link, and bandwidth constraint of each service type on the link that is requested to be accessed in the local traffic engineering database.

从本地流量工程数据库中获取链路带宽信息, 包括带宽模型、 各服务类 型的带宽约束(BC)、 链路各 TE-Class 已预留带宽信息。  The link bandwidth information is obtained from the local traffic engineering database, including the bandwidth model, the bandwidth constraint (BC) of each service type, and the reserved bandwidth information of each TE-Class of the link.

506、获取每个接入服务类型,在不低于接入优先级时的已预留带宽总和; 接入服务类型 CT0 , 不低于接入优先级 P3 的已预留带宽为 506. Acquire each of the access service types, and the sum of the reserved bandwidths when the access priority is not lower than the access priority; the access service type CT0, the reserved bandwidth that is not lower than the access priority P3.

Reserved [TE-Class<CT0, Py>] (y <= 3)。 Reserved [TE-Class<CT0, Py>] (y <= 3).

因此, 接入服务类型 CTO, 不低于接入优先级 P3 的已预留带宽总和为 ∑Reserved[TE-Class<CTO, Py>] (y <= 3)。  Therefore, for the access service type CTO, the sum of the reserved bandwidths not lower than the access priority P3 is ∑Reserved[TE-Class<CTO, Py>] (y <= 3).

接入服务类型 CT1 , 不低于接入优先级 P3 的已预留带宽为 Reserved [TE-Class<CTl, Py>] (y <= 3)。  Access service type CT1, reserved bandwidth not lower than access priority P3 is Reserved [TE-Class<CTl, Py>] (y <= 3).

因此, 接入服务类型 CT1, 不低于接入优先级 P3 的已预留带宽总和为 ∑Reserved[TE-Class<CTl,Py>] (y <= 3)。  Therefore, for the access service type CT1, the sum of the reserved bandwidths not lower than the access priority P3 is ∑Reserved[TE-Class<CTl,Py>] (y <= 3).

507、 将获取的已预留带宽总和, 加上该接入服务类型的请求接入带宽, 得到的结果作为该接入服务类型的接入总带宽;  507. The sum of the reserved bandwidths to be obtained, plus the requested access bandwidth of the access service type, and the obtained result is used as the total access bandwidth of the access service type;

接入服务类型 CT0, 不低于接入优先级 P3的已预留带宽总和加上接入服 务类型 CTO的请求接入带宽为 Access service type CT0, not less than the sum of reserved bandwidth of access priority P3 plus access service The request access bandwidth of the service type CTO is

∑Reserved[TE-Class<CTO, Py>] + Request [TE-Class<CTO, P3>] (y <= 3)。 因此, 接入服务类型 CTO的接入总带宽为  ∑Reserved[TE-Class<CTO, Py>] + Request [TE-Class<CTO, P3>] (y <= 3). Therefore, the total access bandwidth of the access service type CTO is

∑Reserved[TE-Class<CTO, Py>] + Request [TE-Class<CTO, P3>] (y <= 3)。 接入服务类型 CT1, 不低于接入优先级 P3的已预留带宽总和加上接入服 务类型 CT1的请求接入带宽为  ∑Reserved[TE-Class<CTO, Py>] + Request [TE-Class<CTO, P3>] (y <= 3). Access service type CT1, not less than the access priority P3, the sum of reserved bandwidth plus the access service type CT1 request access bandwidth is

∑ Reserved [TE-Class<CTl, Py>] + Reques t [TE-Class<CTl, P3>] (y <= 3)。 因此, 接入服务类型 CT1的接入总带宽为  ∑ Reserved [TE-Class<CTl, Py>] + Reques t [TE-Class<CTl, P3>] (y <= 3). Therefore, the total access bandwidth of the access service type CT1 is

∑ Reserved [TE-Class<CTl,Py>] + Reques t [TE-Class<CTl, P3>] (y <= 3)。 ∑ Reserved [TE-Class<CTl, Py>] + Reques t [TE-Class<CTl, P3>] (y <= 3).

508、 判断每个接入服务类型的接入总带宽是否都不大于该接入服务类型 的带宽约束; 508. Determine whether the total access bandwidth of each access service type is not greater than a bandwidth constraint of the access service type.

判断接入服务类型 CT0、 CT1的接入总带宽是否都不大于其带宽约束 BC0、 Determine whether the access bandwidth of CT0 and CT1 is not greater than its bandwidth constraint BC0.

BC1; BC1;

如果接入服务类型 CT0、CT1的接入总带宽都不大于其带宽约束 BC0、BC1, 即∑Reserved[TE— Class<CT0, Py>] + Request [TE-Class<CTO, P3>] <= BCO (y <= 3) , 并且∑Reserved[TE- Class<CTl, Py>]+ Request [TE-Class<CTl, P3>] <= BC1 (y <= 3) ,  If the total access bandwidth of the access service types CT0 and CT1 is not greater than the bandwidth constraints BC0 and BC1, that is, ∑Reserved[TE—Class<CT0, Py>] + Request [TE-Class<CTO, P3>] <= BCO (y <= 3) , and ∑Reserved[TE- Class<CTl, Py>]+ Request [TE-Class<CTl, P3>] <= BC1 (y <= 3) ,

则跳至步骤 511;  Then skip to step 511;

否则, 如果至少一个接入服务类型的接入总带宽大于该服务类型的带宽 约束, 则继续步骤 509。  Otherwise, if the total access bandwidth of the at least one access service type is greater than the bandwidth constraint of the service type, proceed to step 509.

509、 获取所有服务类型的保留带宽总和;  509. Obtain a sum of reserved bandwidths of all service types;

其中, 需要确定每个接入服务类型的保留带宽, 具体可以为:  The reserved bandwidth of each access service type needs to be determined, which may be:

如果一接入服务类型, 在不低于接入优先级时, 所占用的总带宽, 大于 该接入服务类型的带宽约束, 则该接入服务类型的保留带宽为该接入服务类 型, 在不低于接入优先级时, 所占用的总带宽;  If an access service type is not lower than the access priority, the total bandwidth occupied is greater than the bandwidth constraint of the access service type, and the reserved bandwidth of the access service type is the access service type. The total bandwidth occupied when not lower than the access priority;

其中, 该接入服务类型, 在不低于接入优先级时, 所占用的总带宽包括 该接入服务类型的请求接入带宽。 The access service type, when not lower than the access priority, the total bandwidth occupied includes The access service type requests access bandwidth.

例如, 接入服务类型 CTx (x=0、 1 ), 在不低于接入优先级 P3时, 所占 用的总带宽为∑ Reserved [TE- Class<CTx, Py>] + Request [TE-Class<CTx, P3>] (y <= 3);  For example, if the access service type CTx (x=0, 1) is not lower than the access priority P3, the total bandwidth occupied is ∑ Reserved [TE-Class<CTx, Py>] + Request [TE-Class <CTx, P3>] (y <= 3);

如果接入服务类型 CTx, 在不低于接入优先级 P3时, 所占用的总带宽, 大于接入服务类型 CTx的带宽约束 BCx, 即∑ Reserved [TE-Class<CTx,Py>] + Request [TE- Class <CTx, P3>] > BCx (y <= 3),  If the access service type CTx is not lower than the access priority P3, the total bandwidth occupied is greater than the bandwidth constraint BCx of the access service type CTx, that is, ∑ Reserved [TE-Class<CTx, Py>] + Request [TE- Class <CTx, P3>] > BCx (y <= 3),

则接入服务类型 CTx的保留带宽 Ax为∑Reserved[TE- Class<CTx, Py>] + Request [TE-Class<CTx, P3>] (y <= 3)。  Then the access service type CTx reserved bandwidth Ax is ∑Reserved[TE- Class<CTx, Py>] + Request [TE-Class<CTx, P3>] (y <= 3).

或者, 如果一接入服务类型, 在所有优先级时, 所占用的总带宽, 小于 该接入服务类型的带宽约束, 则该接入服务类型的保留带宽为该接入服务类 型, 在所有优先级时, 所占用的总带宽;  Or, if an access service type, at all priorities, the total bandwidth occupied is less than the bandwidth constraint of the access service type, the reserved bandwidth of the access service type is the access service type, and all priorities are Level, the total bandwidth occupied;

其中, 该接入服务类型, 在所有优先级时, 所占用的总带宽包括该接入 服务类型的请求接入带宽。  The access service type, at all priorities, the total bandwidth occupied includes the requested access bandwidth of the access service type.

例如, 接入服务类型 CTx (x=0、 1 ), 在所有优先级时, 所占用的总带宽 为∑Reserved[TE—Class<CTx,Pi>] + Request [TE—Class<CTx, P3>] ( 0 <= i <= 7)。  For example, if the access service type CTx (x=0, 1), at all priorities, the total bandwidth occupied is ∑Reserved[TE—Class<CTx, Pi>] + Request [TE—Class<CTx, P3> ] ( 0 <= i <= 7).

如果接入服务类型 CTx, 在所有优先级时, 所占用的总带宽, 小于接入服 务类型 CTx 的带宽约束 BCx , 即 ∑ Reserved [TE-Class<CTx, Pi>] + Request [TE- Class <CTx, P3>] < BCx ( 0 <= i <= 7),  If access service type CTx, at all priorities, the total bandwidth occupied is less than the bandwidth constraint BCx of access service type CTx, ie [ Reserved [TE-Class<CTx, Pi>] + Request [TE- Class < CTx, P3>] < BCx ( 0 <= i <= 7),

则接入服务类型 CTx的保留带宽 Ax为∑Reserved[TE_Class<CTx, Pi>] + Request [TE- Class <CTx, P3>] ( 0 <= i <= 7 )。  Then the access service type CTx reserved bandwidth Ax is ∑Reserved[TE_Class<CTx, Pi>] + Request [TE-Class <CTx, P3>] ( 0 <= i <= 7 ).

或者, 如果一接入服务类型, 在不低于接入优先级时, 所占用的总带宽, 不大于该接入服务类型的带宽约束, 且在所有优先级时, 所占用的总带宽, 不小于该接入服务类型的带宽约束, 则该接入服务类型的保留带宽为该接入 服务类型的带宽约束。 例如, 如果接入服务类型 CTx, 在不低于接入优先级 P3时, 所占用的总 带宽, 不大于接入服务类型 CTx的带宽约束 BCx, 且在所有优先级时, 所占用 的总带宽不 小于接入服务类型 CTx 的 带宽约束 BCx , 即 ∑ Reserved [TE-Class<CTx, Py>] + Request [TE- Class <CTx, P3>] <= BCx (y <= 3 ) JL∑Reserved[TE-Class<CTx,Pi>] + Request [TE-Class<CTx, P3>] > = BCx ( 0 <= i <= 7 ), 则接入服务类型 CTx的保留带宽 Ax为 BCx。 Or, if an access service type is not lower than the access priority, the total bandwidth occupied is not greater than the bandwidth constraint of the access service type, and the total bandwidth occupied at all priorities is not If the bandwidth constraint is less than the access service type, the reserved bandwidth of the access service type is a bandwidth constraint of the access service type. For example, if the access service type CTx is not lower than the access priority P3, the total bandwidth occupied is not greater than the bandwidth constraint BCx of the access service type CTx, and the total bandwidth occupied at all priorities. Not less than the bandwidth constraint BCx of the access service type CTx, ie [ Reserved [TE-Class<CTx, Py>] + Request [TE- Class <CTx, P3>] <= BCx (y <= 3 ) JL∑Reserved[ TE-Class<CTx, Pi>] + Request [TE-Class<CTx, P3>] > = BCx ( 0 <= i <= 7 ), then the reserved bandwidth Ax of the access service type CTx is BCx.

另外, 还需要确定链路上每个非接入服务类型的保留带宽, 具体可以为: 如果一非接入服务类型, 在不低于接入优先级时, 所占用的总带宽, 大 于该非接入服务类型的带宽约束, 则该非接入服务类型的保留带宽为该非接 入服务类型, 在不低于接入优先级时, 所占用的总带宽;  In addition, the reserved bandwidth of each non-access service type on the link needs to be determined, which may be: if a non-access service type is not lower than the access priority, the total occupied bandwidth is greater than the non-access The bandwidth of the access service type, the reserved bandwidth of the non-access service type is the non-access service type, and the total bandwidth occupied when the access priority is not lower than the access priority;

例如, 非接入服务类型 CTz (z≠0、 1 ), 在不低于接入优先级 P3时, 所 占用的总带宽为∑Reserved[TE- Class<CTz,Py>] ( y <= 3 );  For example, when the non-access service type CTz (z≠0, 1) is not lower than the access priority P3, the total bandwidth occupied is ∑Reserved[TE-Class<CTz, Py>] (y <= 3 );

如果非接入服务类型 CTz, 在不低于接入优先级 P3时, 所占用的总带宽, 大于非接入服务类型 CTz的带宽约束 BCz,即∑ Reserved [TE-Class<CTz,Py>] > BCz (y <= 3 ),  If the non-access service type CTz is not lower than the access priority P3, the total bandwidth occupied is greater than the bandwidth constraint BCz of the non-access service type CTz, that is, ∑ Reserved [TE-Class<CTz, Py>] > BCz (y <= 3 ),

则非接入服务类型 CTz的保留带宽 Bz为∑Reserved[TE-Class<CTz,Py>] (y <= 3)。  The non-access service type CTz's reserved bandwidth Bz is ∑Reserved[TE-Class<CTz,Py>] (y <= 3).

或者, 如果一非接入服务类型, 在所有优先级时, 所占用的总带宽, 小 于该非接入服务类型的带宽约束, 则该非接入服务类型的保留带宽为该非接 入服务类型, 在所有优先级时, 所占用的总带宽;  Or, if a non-access service type, at all priorities, the total bandwidth occupied is less than the bandwidth constraint of the non-access service type, the reserved bandwidth of the non-access service type is the non-access service type. , the total bandwidth occupied at all priorities;

例如, 非接入服务类型 CTz (z≠0、 1 ) , 在所有优先级时, 所占用的总 带宽为∑Reserved[TE- Class<CTz,Pi>] ( 0 <= i <= 7 )。  For example, the non-access service type CTz (z≠0, 1), at all priorities, the total bandwidth occupied is ∑Reserved[TE- Class<CTz, Pi>] ( 0 <= i <= 7 ).

如果非接入服务类型 CTz, 在所有优先级时, 所占用的总带宽, 小于非接 入服务类型 CTz的带宽约束 BCz, 即∑Reserved[TE- Class<CTz, Pi>] < BCz ( 0 <= i <= 7),  If the non-access service type CTz, at all priorities, the total bandwidth occupied is less than the bandwidth constraint BCz of the non-access service type CTz, ie ∑Reserved[TE- Class<CTz, Pi>] < BCz ( 0 < = i <= 7),

则非接入服务类型 CTz的保留带宽 Bz为∑Reserved[TE-Class<CTz,Pi>] ( 0 <= i <= 7)。 The reserved bandwidth Bz of the non-access service type CTz is ∑Reserved[TE-Class<CTz, Pi>] ( 0 <= i <= 7).

或者, 如果一非接入服务类型, 在不低于接入优先级时, 所占用的总带 宽, 不大于该非接入服务类型的带宽约束, 且在所有优先级时, 所占用的总 带宽, 不小于该非接入服务类型的带宽约束, 则该非接入服务类型的保留带 宽为该非接入服务类型的带宽约束。  Or, if a non-access service type is not lower than the access priority, the total bandwidth occupied is not greater than the bandwidth constraint of the non-access service type, and the total bandwidth occupied at all priorities The bandwidth constraint of the non-access service type is not less than the bandwidth constraint of the non-access service type, and the reserved bandwidth of the non-access service type is the bandwidth constraint of the non-access service type.

例如, 如果非接入服务类型 CTz, 在不低于接入优先级 P3时, 所占用的 总带宽, 不大于非接入服务类型 CTz的带宽约束 BCz, 且在所有优先级时, 所 占用的总带宽不小于非接入服务类型 CTz 带宽约束 BCz , 即∑ Reserved [TE— Class<CTz, Py>] <=BCz( y<= 3 )且∑ Reserved [TE— Class<CTz, Pi>] >= BCz ( 0 <= i <= 7), 则非接入服务类型 CTz的保留带宽 Bz为 BCz。  For example, if the non-access service type CTz is not lower than the access priority P3, the total bandwidth occupied is not greater than the bandwidth constraint BCz of the non-access service type CTz, and is occupied at all priorities. The total bandwidth is not less than the non-access service type CTz bandwidth constraint BCz, ie ∑ Reserved [TE— Class<CTz, Py>] <=BCz( y<= 3 ) and ∑ Reserved [TE— Class<CTz, Pi>] > = BCz ( 0 <= i <= 7), then the reserved bandwidth Bz of the non-access service type CTz is BCz.

确定每个接入服务类型以及每个非接入服务类型的保留带宽之后, 将所 有接入服务类型的保留带宽总和, 加上所有非接入服务类型的保留带宽总和, 得到所有服务类型的保留带宽总和。  After determining the access bandwidth of each access service type and each non-access service type, the sum of the reserved bandwidths of all access service types plus the sum of the reserved bandwidths of all non-access service types is obtained for all service types. The sum of bandwidth.

例如, 确定所有接入服务类型的保留带宽总和 A为∑Ax (x=0、 1 ), 所有 非接入服务类型的保留带宽总和 B为 ΣΒζ (ζ≠0、 1 ), 得到所有服务类型的 保留带宽总和为 Α+Β。  For example, it is determined that the sum of reserved bandwidths A of all access service types is ∑Ax (x=0, 1), and the sum of reserved bandwidths B of all non-access service types is ΣΒζ(ζ≠0, 1), which is obtained for all service types. The sum of reserved bandwidth is Α+Β.

510、 判断所有服务类型的保留带宽总和是否不大于链路最大可预留带 宽;  510. Determine whether the sum of reserved bandwidths of all service types is not greater than a maximum reservable bandwidth of the link.

例如, 判断所有服务类型的保留带宽总和(Α+Β)是否不大于链路最大可 预留带宽。  For example, determine whether the sum of reserved bandwidths (Α+Β) for all service types is not greater than the maximum reservable bandwidth of the link.

511、 若是, 则允许该链路接入所述标签交换路径;  511. If yes, allow the link to access the label switching path.

例如,如果接入服务类型 CT0、CT1的接入总带宽都不大于其带宽约束 BC0、 BC1 , 则允许该链路接入所述 LSP。  For example, if the total access bandwidth of the access service types CT0, CT1 is not greater than its bandwidth constraints BC0, BC1, the link is allowed to access the LSP.

或者, 如果所有服务类型的保留带宽总和(A+B)不大于链路最大可预留 带宽, 则允许该链路接入所述 LSP。  Alternatively, if the sum of reserved bandwidths (A+B) of all service types is not greater than the maximum reservable bandwidth of the link, the link is allowed to access the LSP.

512、 否则, 不允许该链路接入所述标签交换路径。 例如, 如果所有服务类型的保留带宽总和(A+B ) 大于链路最大可预留带 宽, 则不允许该链路接入所述 LSP。 512. Otherwise, the link is not allowed to access the label switched path. For example, if the sum of reserved bandwidths (A+B) of all service types is greater than the maximum reservable bandwidth of the link, the link is not allowed to access the LSP.

本发明实施例提供的标签交换路径的准入方法, 通过根据获取的已预留 带宽信息和请求接入的标签交换路径的请求带宽信息, 计算如果接入所述标 签交换路径后, 各接入服务类型所需要预留的带宽; 判断如果接入所述标签 交换路径后, 各接入服务类型的所需要预留的带宽, 是否都不大于各自服务 类型的带宽约束; 如果是, 则允许接入所述标签交换路径。 在计算、 判断过 程中, 避免了共享带宽被重复占用的问题, 进而达到了准确的进行承载标签 交换路径的准入计算的效果。 另外, 通过在至少一个接入服务类型的接入总 带宽大于该服务类型的带宽约束时, 计算所有服务类型的保留带宽总和, 并 判断所有服务类型的保留带宽总和是否不大于链路最大可预留带宽, 如果是, 则允许接入所述标签交换路径, 否则, 不允许接入所述标签交换路径。 在计 算、 判断过程中, 避免了共享带宽被重复占用的问题, 从而能够进一步准确 的进行承载标签交换路径的准入计算。  The method for obtaining a label switching path according to the embodiment of the present invention calculates, by accessing the label switching path, each access according to the obtained reserved bandwidth information and the requested bandwidth information of the label switching path that is requested to be accessed. The bandwidth required to be reserved for the service type; determining whether the bandwidth required for each access service type is not greater than the bandwidth constraint of the respective service type after accessing the label switching path; if yes, allowing the connection Enter the label switching path. During the calculation and judging process, the problem that the shared bandwidth is repeatedly occupied is avoided, and the effect of accurately performing the admission calculation of the bearer label switching path is achieved. In addition, when the total access bandwidth of the at least one access service type is greater than the bandwidth constraint of the service type, the sum of the reserved bandwidths of all service types is calculated, and it is determined whether the total reserved bandwidth of all service types is not greater than the link maximum Leave the bandwidth, if yes, allow access to the label switched path, otherwise, access to the label switched path is not allowed. In the process of calculation and judgment, the problem that the shared bandwidth is repeatedly occupied is avoided, so that the admission calculation of the bearer label switching path can be further accurately performed.

本发明实施例还提供了一种用于标签交换路径的准入的节点, 如图 6 所 示, 包括:  The embodiment of the present invention further provides a node for accessing a label switching path, as shown in FIG. 6, including:

接入请求接收单元 601 ,用于接收承载至少两个服务类型的业务流的标签 交换路径的接入请求;  An access request receiving unit 601, configured to receive an access request of a label switching path that carries a service flow of at least two service types;

服务类型获取单元 602 ,用于获取所述接入请求中的标签交换路径承载的 业务流的服务类型, 作为接入服务类型;  The service type obtaining unit 602 is configured to obtain a service type of the service flow carried by the label switching path in the access request, as an access service type.

优先级获取单元 603 ,用于获取所述接入请求中的标签交换路径承载的业 务流的优先级, 作为接入优先级;  The priority obtaining unit 603 is configured to obtain a priority of the service flow carried by the label switching path in the access request, as an access priority.

带宽信息获取单元 604 ,用于获取所述接入请求中的每个服务类型的请求 接入带宽; 并获取本地流量工程数据库中被请求接入的链路上已预留带宽信 息、 链路最大可预留带宽、 每个服务类型的带宽约束;  The bandwidth information obtaining unit 604 is configured to acquire the requested access bandwidth of each service type in the access request, and obtain the reserved bandwidth information on the link that is requested to be accessed in the local traffic engineering database, and the link is the largest. Bandwidth can be reserved, bandwidth constraints for each service type;

总带宽获取单元 605 , 用于获取每个接入服务类型, 在不低于接入优先级 时的已预留带宽总和; 并将所述已预留带宽总和, 加上所述接入服务类型的 请求接入带宽, 得到的结果作为所述接入服务类型的接入总带宽; The total bandwidth obtaining unit 605 is configured to acquire each access service type, not lower than the access priority. The sum of the reserved bandwidths; and the sum of the reserved bandwidths, plus the requested access bandwidth of the access service type, and the obtained result is used as the total access bandwidth of the access service type;

接入单元 606 ,用于在每个接入服务类型的接入总带宽都不大于所述接入 服务类型的带宽约束时, 允许所述链路接入所述标签交换路径。  The access unit 606 is configured to allow the link to access the label switching path when the total access bandwidth of each access service type is not greater than the bandwidth constraint of the access service type.

另外, 所述总带宽获取单元 605 , 还用于在至少一个接入服务类型的接入 总带宽大于所述接入服务类型的带宽约束时 , 获取所有服务类型的保留带宽 总和;  In addition, the total bandwidth obtaining unit 605 is further configured to obtain a sum of reserved bandwidths of all service types when a total access bandwidth of the at least one access service type is greater than a bandwidth constraint of the access service type;

所述接入单元 606 ,还用于在所述所有服务类型的保留带宽总和不大于链 路最大可预留带宽时, 允许所述链路接入所述标签交换路径。  The access unit 606 is further configured to allow the link to access the label switching path when the total reserved bandwidth of all service types is not greater than a maximum reservable bandwidth of the link.

进一步地, 所述节点还包括:  Further, the node further includes:

信息添加单元, 用于在内部网关协议报文中添加已定义服务类型与其优 先级组合的已预留带宽信息;  An information adding unit, configured to add reserved bandwidth information of a defined service type and its priority combination in an internal gateway protocol message;

报文广播单元, 用于广播所述内部网关协议报文, 以便于接入节点根据 所述内部网关协议报文中的已预留带宽信息进行标签交换路径的准入计算和 判断。  The message broadcast unit is configured to broadcast the internal gateway protocol message, so that the access node performs the access calculation and determination of the label switching path according to the reserved bandwidth information in the internal gateway protocol message.

本发明实施例提供的节点, 通过根据获取的已预留带宽信息和请求接入 的标签交换路径的请求带宽信息, 计算如果接入所述标签交换路径后, 各接 入服务类型所需要预留的带宽; 判断如果接入所述标签交换路径后, 各接入 服务类型的所需要预留的带宽, 是否都不大于各自服务类型的带宽约束; 如 果是, 则允许接入所述标签交换路径。 在计算、 判断过程中, 避免了共享带 宽被重复占用的问题, 进而达到了准确的进行承载标签交换路径的准入计算 的效果。 另外, 通过在至少一个接入服务类型的接入总带宽大于该服务类型 的带宽约束时, 计算所有服务类型的保留带宽总和, 并判断所有服务类型的 保留带宽总和是否不大于链路最大可预留带宽, 如果是, 则允许接入所述标 签交换路径, 否则, 不允许接入所述标签交换路径。 在计算、 判断过程中, 避免了共享带宽被重复占用的问题, 从而能够进一步准确的进行承载标签交 换路径的准入计算。 The node provided by the embodiment of the present invention calculates that each access service type needs to be reserved after accessing the label switching path according to the obtained reserved bandwidth information and the requested bandwidth information of the label switched path that is requested to be accessed. The bandwidth that is required to be reserved for each access service type after accessing the label switching path is not greater than the bandwidth constraint of the respective service type; if yes, the access to the label switching path is allowed. . In the process of calculation and judgment, the problem that the shared bandwidth is repeatedly occupied is avoided, and the effect of accurately performing the admission calculation of the bearer label switching path is achieved. In addition, when the total access bandwidth of the at least one access service type is greater than the bandwidth constraint of the service type, the sum of the reserved bandwidths of all service types is calculated, and it is determined whether the total reserved bandwidth of all service types is not greater than the link maximum Leave the bandwidth, if yes, allow access to the label switched path, otherwise, access to the label switched path is not allowed. In the process of calculation and judgment, the problem that the shared bandwidth is repeatedly occupied is avoided, so that the bearer label can be further accurately performed. Change the access calculation of the path.

本发明实施例还提供了一种标签交换路径的准入系统, 如图 7 所示, 包 括沿途节点 701和接入节点 702;  An embodiment of the present invention further provides a label switching path admission system, as shown in FIG. 7, including a path node 701 and an access node 702;

所述沿途节点 701 ,用于为内部网关协议报文添加各个已定义服务类型与 优先级组合的已预留带宽信息; 向所述接入节点 702发送所述报文;  The path node 701 is configured to add reserved bandwidth information of each defined service type and priority combination to the internal gateway protocol message; and send the message to the access node 702;

所述接入节点 702 ,用于接收承载至少两个服务类型的业务流的标签交换 路径的接入请求; 获取所述接入请求中的标签交换路径承载的业务流的服务 类型, 作为接入服务类型; 获取所述接入请求中的标签交换路径承载的业务 流的优先级, 作为接入优先级; 获取所述接入请求中的每个接入服务类型的 请求接入带宽; 并获取本地流量工程数据库中被请求接入的链路上已预留带 宽信息、 链路最大可预留带宽、 每个服务类型的带宽约束; 获取每个接入服 务类型在不低于接入优先级时的已预留带宽总和, 将所述已预留带宽总和, 加上所述接入服务类型的请求接入带宽, 得到的结果作为所述接入服务类型 的接入总带宽; 在每个接入服务类型的接入总带宽都不大于所述接入服务类 型的带宽约束时, 允许所述链路接入所述标签交换路径。  The access node 702 is configured to receive an access request of a label switching path that carries a service flow of at least two service types, and obtain a service type of the service flow carried by the label switching path in the access request, as an access a service type; obtaining a priority of a service flow carried by the label switching path in the access request, as an access priority; acquiring a request access bandwidth of each access service type in the access request; and acquiring The bandwidth information of the link that is requested to be accessed in the local traffic engineering database, the maximum reservable bandwidth of the link, and the bandwidth constraint of each service type; obtaining the access service type is not lower than the access priority The sum of the reserved bandwidths, the sum of the reserved bandwidths, plus the requested access bandwidth of the access service type, and the obtained result is used as the total access bandwidth of the access service type; When the total access bandwidth of the access service type is not greater than the bandwidth constraint of the access service type, the link is allowed to access the label switching path.

另外, 所述接入节点 702 , 还用于在至少一个接入服务类型的接入总带宽 大于所述接入服务类型的带宽约束时, 获取所有服务类型的保留带宽总和; 在所述所有服务类型的保留带宽总和不大于链路最大可预留带宽时, 允许所 述链路接入所述标签交换路径。  In addition, the access node 702 is further configured to acquire a sum of reserved bandwidths of all service types when the total access bandwidth of the at least one access service type is greater than the bandwidth constraint of the access service type; When the sum of reserved bandwidths of the type is not greater than the maximum reservable bandwidth of the link, the link is allowed to access the label switched path.

另外, 所述接入节点 702 , 还用于在内部网关协议报文中添加已定义服务 类型与其优先级组合的已预留带宽信息; 并广播所述内部网关协议报文, 以 便于接入节点根据所述内部网关协议报文中的已预留带宽信息进行标签交换 路径的准入计算和判断。  In addition, the access node 702 is further configured to add the reserved bandwidth information of the defined service type and its priority in the internal gateway protocol packet, and broadcast the internal gateway protocol packet to facilitate the access node. And performing admission calculation and determination of the label switching path according to the reserved bandwidth information in the internal gateway protocol packet.

本发明实施例提供的标签交换路径的准入系统, 通过沿途节点在内部网 关协议报文中添加已预留带宽信息; 接入节点可以根据所述报文提供的已预 留带宽信息、 链路最大可预留带宽、 链路上各服务类型的带宽约束以及请求 接入的标签交换路径的请求带宽信息, 进行标签交换路径的准入计算和判断。 在计算、 判断过程中, 能够避免共享带宽被重复占用的问题, 进而达到了准 确的进行承载标签交换路径的准入计算的效果。 The access control system of the label switching path provided by the embodiment of the present invention adds the reserved bandwidth information to the internal gateway protocol packet by the node along the path; the reserved bandwidth information and link provided by the access node according to the packet Maximum reservable bandwidth, bandwidth constraints for each service type on the link, and requests The requested bandwidth information of the accessed label switching path is used for the calculation and judgment of the label switching path. During the calculation and judgment process, the problem that the shared bandwidth is repeatedly occupied can be avoided, and the effect of accurately performing the admission calculation of the bearer label switching path is achieved.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流 程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于 一计算机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施 例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体( Read-Only Memory, ROM )或随机存储记忆体 ( Random Acces s Memory, RAM )等。  A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. In execution, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random Acces s Memory (RAM).

以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应以权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims

权 利 要求 书 Claim 1、 一种标签交换路径的准入方法, 其特征在于, 包括:  A method for accessing a label switching path, comprising: 接收承载至少两个服务类型的业务流的标签交换路径的接入请求; 获取所述接入请求中的标签交换路径承载的业务流的服务类型, 作为接入 服务类型;  Receiving an access request of a label switching path carrying a service flow of at least two service types; acquiring a service type of the service flow carried by the label switching path in the access request, as an access service type; 获取所述接入请求中的标签交换路径承载的业务流的优先级, 作为接入优 先级;  Obtaining a priority of the service flow carried by the label switching path in the access request, as an access priority level; 获取所述接入请求中的每个接入服务类型的请求接入带宽;  Obtaining a request access bandwidth of each access service type in the access request; 获取本地流量工程数据库中被请求接入的链路上已预留带宽信息、 链路最 大可预留带宽、 每个服务类型的带宽约束;  Obtaining reserved bandwidth information on the link requested to be accessed in the local traffic engineering database, the maximum reservable bandwidth of the link, and the bandwidth constraint of each service type; 获取每个接入服务类型在不低于接入优先级时的已预留带宽总和, 将所述 已预留带宽总和, 加上所述接入服务类型的请求接入带宽, 得到的结果作为所 述接入服务类型的接入总带宽;  Obtaining the sum of the reserved bandwidths of each access service type not lower than the access priority, and adding the sum of the reserved bandwidths to the requested access bandwidth of the access service type, and obtaining the result The total access bandwidth of the access service type; 判断每个接入服务类型的接入总带宽是否都不大于所述接入服务类型的带 宽约束, 若是, 则允许所述链路接入所述标签交换路径。  Determining whether the total access bandwidth of each access service type is not greater than the bandwidth constraint of the access service type, and if so, allowing the link to access the label switching path. 2、根据权利要求 1所述的标签交换路径的准入方法, 其特征在于,还包括: 如果至少一个接入服务类型的接入总带宽大于所述接入服务类型的带宽约 束, 则获取所有服务类型的保留带宽总和;  The method for admission of a label switched path according to claim 1, further comprising: acquiring all if a total access bandwidth of the at least one access service type is greater than a bandwidth constraint of the access service type The sum of reserved bandwidth for the service type; 判断所述所有服务类型的保留带宽总和是否不大于链路最大可预留带宽; 若是, 则允许所述链路接入所述标签交换路径。  Determining whether the sum of reserved bandwidths of all service types is not greater than a link maximum reservable bandwidth; if yes, allowing the link to access the label switching path. 3、 根据权利要求 2所述的标签交换路径的准入方法, 其特征在于, 所述获 取所有服务类型的保留带宽总和, 具体包括:  The method for obtaining a label switching path according to claim 2, wherein the sum of the reserved bandwidths of all the service types is specifically: 确定每个接入服务类型的保留带宽;  Determine the reserved bandwidth for each access service type; 确定每个非接入服务类型的保留带宽;  Determine the reserved bandwidth for each non-access service type; 将所有接入服务类型的保留带宽总和, 加上所有非接入服务类型的保留带 宽总和, 得到所有服务类型的保留带宽总和。 The sum of the reserved bandwidths of all access service types, plus the sum of the reserved bandwidths of all non-access service types, is the sum of the reserved bandwidths of all service types. 4、 根据权利要求 3所述的标签交换路径的准入方法, 其特征在于, 所述确 定每个接入服务类型的保留带宽, 具体包括: The method for granting a label switching path according to claim 3, wherein the determining the reserved bandwidth of each access service type includes: 如果一接入服务类型在不低于接入优先级时所占用的总带宽, 大于该接入 服务类型的带宽约束, 则该接入服务类型的保留带宽为该接入服务类型在不低 于接入优先级时所占用的总带宽;  If the total bandwidth occupied by an access service type is not lower than the access priority, which is greater than the bandwidth constraint of the access service type, the reserved bandwidth of the access service type is not lower than the access service type. The total bandwidth occupied when accessing the priority; 或者, 如果一接入服务类型在所有优先级时所占用的总带宽, 小于该接入 服务类型的带宽约束, 则该接入服务类型的保留带宽为该接入服务类型在所有 优先级时所占用的总带宽;  Or, if the total bandwidth occupied by an access service type at all priorities is less than the bandwidth constraint of the access service type, the reserved bandwidth of the access service type is when the access service type is at all priorities. Total bandwidth occupied; 或者, 如果一接入服务类型在不低于接入优先级时所占用的总带宽, 不大 于该接入服务类型的带宽约束, 且在所有优先级时所占用的总带宽, 不小于该 接入服务类型的带宽约束, 则该接入服务类型的保留带宽为该接入服务类型的 带宽约束。  Or, if the total bandwidth occupied by an access service type is not lower than the access priority, not greater than the bandwidth constraint of the access service type, and the total bandwidth occupied at all priorities is not less than the connection. The bandwidth constraint of the incoming service type is the bandwidth constraint of the access service type. 5、 根据权利要求 4所述的标签交换路径的准入方法, 其特征在于, 所述一 接入服务类型, 在不低于接入优先级时, 所占用的总带宽, 具体为: 所述接入 服务类型的请求接入带宽;  The method for the admission of the label switching path according to claim 4, wherein the total bandwidth occupied by the access service type is not lower than the access priority, specifically: Request access bandwidth of the access service type; 所述一接入服务类型, 在所有优先级时, 所占用的总带宽, 具体为: 所述 接入服务类型的请求接入带宽。  The total bandwidth occupied by the access service type, at all the priorities, is specifically: the requested access bandwidth of the access service type. 6、 根据权利要求 3所述的标签交换路径的准入方法, 其特征在于, 所述确 定每个非接入服务类型的保留带宽, 具体包括:  The method for granting a label switching path according to claim 3, wherein the determining the reserved bandwidth of each non-access service type includes: 如果一非接入服务类型在不低于接入优先级时所占用的总带宽, 大于该非 接入服务类型的带宽约束, 则该非接入服务类型的保留带宽为该非接入服务类 型在不低于接入优先级时所占用的总带宽;  If the total bandwidth occupied by a non-access service type is not lower than the access priority, which is greater than the bandwidth constraint of the non-access service type, the reserved bandwidth of the non-access service type is the non-access service type. The total bandwidth occupied when not less than the access priority; 或者, 如果一非接入服务类型, 在所有优先级时所占用的总带宽小于该非 接入服务类型的带宽约束, 则该非接入服务类型的保留带宽为该非接入服务类 型在所有优先级时所占用的总带宽;  Or, if a non-access service type, the total bandwidth occupied by all the priorities is smaller than the bandwidth constraint of the non-access service type, the reserved bandwidth of the non-access service type is the non-access service type at all The total bandwidth occupied by the priority; 或者, 如果一非接入服务类型在不低于接入优先级时所占用的总带宽, 不 大于该非接入服务类型的带宽约束, 且在所有优先级时所占用的总带宽, 不小 于该非接入服务类型的带宽约束, 则该非接入服务类型的保留带宽为该非接入 服务类型的带宽约束。 Or, if the non-access service type is not lower than the total bandwidth occupied by the access priority, If the bandwidth of the non-access service type is greater than the bandwidth of the non-access service type, and the total bandwidth occupied by the non-access service type is not less than the bandwidth constraint of the non-access service type, the reserved bandwidth of the non-access service type is the non-access The bandwidth constraint of the service type. 7、 根据权利要求 1-6任一所述的标签交换路径的准入方法, 其特征在于, 还包括:  The method for accessing a label switching path according to any one of claims 1-6, further comprising: 在内部网关协议报文中添加已定义服务类型与其优先级组合的已预留带宽 信息;  Adding reserved bandwidth information of the defined service type and its priority combination in the internal gateway protocol message; 广播所述内部网关协议报文, 以便于接入节点根据所述内部网关协议报文 中的已预留带宽信息进行标签交换路径的准入计算和判断。  The internal gateway protocol packet is broadcasted, so that the access node performs the admission calculation and determination of the label switching path according to the reserved bandwidth information in the internal gateway protocol packet. 8、 根据权利要求 7所述的标签交换路径的准入方法, 其特征在于, 所述在 内部网关协议报文中添加已定义服务类型与其优先级组合的已预留带宽信息, 具体包括:  The method for the admission of the label switching path according to claim 7, wherein the intra-gateway protocol packet adds the reserved bandwidth information of the defined service type and its priority, which specifically includes: 在所述内部网关协议 ^艮文中添加值字段;  Adding a value field in the internal gateway protocol; 在所述值字段中添加已定义服务类型与其优先级组合的已预留带宽信息。 The reserved bandwidth information of the defined service type combined with its priority is added to the value field. 9、 一种用于标签交换路径的准入的节点, 其特征在于, 包括: 9. A node for admission of a label switched path, comprising: 接入请求接收单元(601 ), 用于接收承载至少两个服务类型的业务流的标 签交换路径的接入请求;  An access request receiving unit (601), configured to receive an access request of a label switching path that carries a service flow of at least two service types; 服务类型获取单元( 602 ), 用于获取所述接入请求中的标签交换路径承载 的业务流的服务类型, 作为接入服务类型;  a service type obtaining unit (602), configured to acquire a service type of a service flow carried by the label switching path in the access request, as an access service type; 优先级获取单元( 603 ), 用于获取所述接入请求中的标签交换路径承载的 业务流的优先级, 作为接入优先级;  a priority obtaining unit (603), configured to acquire a priority of a service flow carried by the label switching path in the access request, as an access priority; 带宽信息获取单元 ( 604 ), 用于获取所述接入请求中的每个服务类型的请 求接入带宽; 并获取本地流量工程数据库中被请求接入的链路上已预留带宽信 息、 链路最大可预留带宽、 每个服务类型的带宽约束;  The bandwidth information obtaining unit (604) is configured to acquire a request access bandwidth of each service type in the access request, and obtain reserved bandwidth information and a link on the link that is requested to be accessed in the local traffic engineering database. The maximum reservable bandwidth of the road and the bandwidth constraint of each service type; 总带宽获取单元 ( 605 ), 用于获取每个接入服务类型, 在不低于接入优先 级时的已预留带宽总和; 并将所述已预留带宽总和, 加上所述接入服务类型的 请求接入带宽, 得到的结果作为所述接入服务类型的接入总带宽; a total bandwidth obtaining unit (605), configured to acquire a sum of reserved bandwidths of each access service type, not lower than an access priority; and add the reserved bandwidth to the access Type of service Requesting access bandwidth, and obtaining the result as the total access bandwidth of the access service type; 接入单元( 606 ), 用于在每个接入服务类型的接入总带宽都不大于所述接 入服务类型的带宽约束时, 允许所述链路接入所述标签交换路径。  The access unit (606) is configured to allow the link to access the label switching path when the total access bandwidth of each access service type is not greater than the bandwidth constraint of the access service type. 10、根据权利要求 9所述的节点,其特征在于,所述总带宽获取单元( 605 ), 还用于在至少一个接入服务类型的接入总带宽大于所述接入服务类型的带宽约 束时, 获取所有服务类型的保留带宽总和;  The node according to claim 9, wherein the total bandwidth obtaining unit (605) is further configured to: use a bandwidth constraint of the at least one access service type to be greater than a bandwidth constraint of the access service type. Get the sum of reserved bandwidth for all service types; 所述接入单元( 606 ), 还用于在所述所有服务类型的保留带宽总和不大于 链路最大可预留带宽时, 允许所述链路接入所述标签交换路径。  The access unit (606) is further configured to allow the link to access the label switching path when the total reserved bandwidth of the all service types is not greater than a maximum reservable bandwidth of the link. 11、 根据权利要求 9或 10所述的节点, 其特征在于, 还包括:  The node according to claim 9 or 10, further comprising: 信息添加单元, 用于在内部网关协议报文中添加已定义服务类型与其优先 级组合的已预留带宽信息;  An information adding unit, configured to add reserved bandwidth information of a defined service type and its priority in an internal gateway protocol message; 报文广播单元, 用于广播所述内部网关协议报文, 以便于接入节点根据所 述内部网关协议报文中的已预留带宽信息进行标签交换路径的准入计算和判 断。  And a message broadcast unit, configured to broadcast the internal gateway protocol message, so that the access node performs the admission calculation and determination of the label switching path according to the reserved bandwidth information in the internal gateway protocol message. 12、 一种标签交换路径的准入系统, 其特征在于, 包括沿途节点 (701 )和 如权利要求 9至 11任意一项所述的接入节点 ( 702 );  12. An access system for a label switched path, comprising: an edge node (701) and an access node (702) according to any one of claims 9 to 11; 所述沿途节点 (701 ), 用于为内部网关协议报文添加各个已定义服务类型 与优先级组合的已预留带宽信息; 并向所述接入节点( 702 )发送所述内部网关 协议报文。  The path node (701) is configured to add reserved bandwidth information of each defined service type and priority combination to the internal gateway protocol message; and send the internal gateway protocol report to the access node (702) Text.
PCT/CN2009/073645 2008-09-02 2009-08-31 Method, apparatus and system for admittance of label switching path Ceased WO2010025659A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2008101465481A CN101345714B (en) 2008-09-02 2008-09-02 Access method and system for label switching path
CN200810146548.1 2008-09-02

Publications (1)

Publication Number Publication Date
WO2010025659A1 true WO2010025659A1 (en) 2010-03-11

Family

ID=40247607

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/073645 Ceased WO2010025659A1 (en) 2008-09-02 2009-08-31 Method, apparatus and system for admittance of label switching path

Country Status (2)

Country Link
CN (1) CN101345714B (en)
WO (1) WO2010025659A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130329602A1 (en) * 2011-02-17 2013-12-12 Huawei Technologies Co., Ltd. Method, node device and system for establishing label switched path

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345714B (en) * 2008-09-02 2010-10-27 华为技术有限公司 Access method and system for label switching path
CN101656673A (en) 2009-09-17 2010-02-24 华为技术有限公司 Pseudo wire establishing method and node device
CN104243312B (en) * 2009-09-17 2017-11-17 华为技术有限公司 A kind of pseudo line establishing method and node apparatus
CN105812286B (en) * 2014-12-31 2019-06-11 华为技术有限公司 Method and network device for determining service bandwidth in IP network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466339A (en) * 2002-06-24 2004-01-07 ��Ϊ�������޹�˾ Multiprotocol Label Switching Flow Control Bandwidth Resource Preemption Method
US20060250961A1 (en) * 2005-05-04 2006-11-09 Jean-Philippe Vasseur Dynamic TE-LSP priority and preemption
CN101136844A (en) * 2006-08-29 2008-03-05 华为技术有限公司 Method and system for implementing differential service traffic engineering in multi-protocol label switching network
CN101345714A (en) * 2008-09-02 2009-01-14 华为技术有限公司 Access method and system for label switching path

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1466339A (en) * 2002-06-24 2004-01-07 ��Ϊ�������޹�˾ Multiprotocol Label Switching Flow Control Bandwidth Resource Preemption Method
US20060250961A1 (en) * 2005-05-04 2006-11-09 Jean-Philippe Vasseur Dynamic TE-LSP priority and preemption
CN101136844A (en) * 2006-08-29 2008-03-05 华为技术有限公司 Method and system for implementing differential service traffic engineering in multi-protocol label switching network
CN101345714A (en) * 2008-09-02 2009-01-14 华为技术有限公司 Access method and system for label switching path

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130329602A1 (en) * 2011-02-17 2013-12-12 Huawei Technologies Co., Ltd. Method, node device and system for establishing label switched path
US9258189B2 (en) * 2011-02-17 2016-02-09 Huawei Technologies Co., Ltd. Method, node device and system for establishing label switched path
US9755905B2 (en) 2011-02-17 2017-09-05 Huawei Technologies Co., Ltd. Method, node device and system for establishing label switched path
US10084655B2 (en) 2011-02-17 2018-09-25 Huawei Technologies Co., Ltd. Method, node device and system for establishing label switched path

Also Published As

Publication number Publication date
CN101345714A (en) 2009-01-14
CN101345714B (en) 2010-10-27

Similar Documents

Publication Publication Date Title
US7756056B2 (en) Apparatus and method for managing quality of service in integrated network of heterogeneous mobile network
US6973504B2 (en) Method for allocating network aggregation bandwidth and a network system using the same
US7327681B2 (en) Admission control method in internet differentiated service network
CN100426733C (en) System for realizing resource distribution in network communication and its method
JP3977331B2 (en) Method and apparatus in IP communication network
US9009333B2 (en) Method and device for transmitting network resource information data
CN109039424A (en) Network communication path determines method, apparatus and electronic equipment between Satellite
WO2008028424A1 (en) A method and system for implementing mpls network diffserv traffic engineering
CN114125924A (en) TSN service processing method and device and computer readable storage medium
CN104753823B (en) Establish the method and node of QoS reservation
WO2017124709A1 (en) Method of establishing traffic engineering tunnel and device
CN101577938B (en) Method and system for wireless mesh network congestion control and base stations
WO2010025659A1 (en) Method, apparatus and system for admittance of label switching path
JP5496353B2 (en) Network resource management method and configuration
CN101821988A (en) Processing method for resource request in ngn
US9294416B2 (en) Method of and apparatus for configuring quality of service
WO2025086619A1 (en) Service transmission path determination method, system and apparatus, and electronic device
AU2006223347B2 (en) Traffic stream admission control in a mesh network
CN100466859C (en) Service QoS guarantee method and device for wireless mesh network
WO2009103192A1 (en) A resource allocation method and a resource release method
WO2014127635A1 (en) Method and device for transmitting enhanced transmission selection standard configuration information
WO2008003207A1 (en) A method and system for allocating loss based on the traffic level
CN110892687B (en) multi-level resource reservation
CN115150341B (en) Resource reservation method, device and storage medium
KR101516081B1 (en) Method and apparatus for implementing path-based traffic stream admission control in a wireless mesh network

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

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

Country of ref document: EP

Kind code of ref document: A1