WO2009097760A1 - 资源预留的方法以及节点设备 - Google Patents

资源预留的方法以及节点设备 Download PDF

Info

Publication number
WO2009097760A1
WO2009097760A1 PCT/CN2009/070102 CN2009070102W WO2009097760A1 WO 2009097760 A1 WO2009097760 A1 WO 2009097760A1 CN 2009070102 W CN2009070102 W CN 2009070102W WO 2009097760 A1 WO2009097760 A1 WO 2009097760A1
Authority
WO
WIPO (PCT)
Prior art keywords
reserved
resource
value
unit
message
Prior art date
Application number
PCT/CN2009/070102
Other languages
English (en)
French (fr)
Inventor
Zhiguo He
Bing Wu
Nan Meng
Pei FENG
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.
Priority to EP09707920.6A priority Critical patent/EP2237599B1/en
Publication of WO2009097760A1 publication Critical patent/WO2009097760A1/zh
Priority to US12/836,018 priority patent/US8718090B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/72Admission control; Resource allocation using reservation actions during connection setup
    • H04L47/724Admission control; Resource allocation using reservation actions during connection setup at intermediate nodes, e.g. resource reservation protocol [RSVP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a method for resource reservation, a method for transmitting a message, a method for receiving a message, and a node device.
  • the Resource Reservation Protocol is a type of Multiprotocol Label Switch (MPLS).
  • RSVP includes a set of messages, objects, and related processing.
  • the RSVP protocol is reserved for a single stream request resource.
  • the upstream router requests the downstream router to reserve resources by sending a message, and the downstream router sends a message to confirm that the resource reservation is successful.
  • the upstream router requests the downstream router to reserve resources by sending a Path message, and the downstream router confirms that the resource reservation is successful by sending a Resource Reservation (Resv) message.
  • Resv Resource Reservation
  • the RSVP resource reservation request includes a flow descriptor, which is usually represented by a (flow specification, filtering rule) pair, where the flow specification indicates a quality of service (QoS) to be performed at the node.
  • Packet scheduling; filtering rules are used to classify received packets based on QoS.
  • the prior art provides a method for bandwidth reservation, which is through RSVP traffic engineering (TE,
  • the Path message of the protocol is used to create the label switched path (LSP, Label Switched Path) and the reserved bandwidth.
  • LSP Label Switched Path
  • the source node sends a Path message requesting the target node to reserve bandwidth, usually in the sender of the Path message.
  • the value of the bandwidth that needs to be reserved is set in the Description ( SENDER - TESPEC ) object.
  • the target node reserves bandwidth for the source node according to the SENDER-TESPEC object, and sets the reserved bandwidth value in the flow description (FLOWSPEC) object of the Resv message, and then sends the Resv message to the source node to indicate that the resource reservation is successful.
  • the FLOWSPEC object of the RVSP TE protocol inherits the FLOWSPEC object of the RSVP protocol, as shown in Figure 1.
  • the Token Bucket Rate field is usually used to indicate reserved resource information.
  • the unit of the field is byte (BYTE) and the type is floating point (FLOAT).
  • the data type of the reserved bandwidth in the above-mentioned prior art configuration is an integer type, and 32 bits are commonly used to indicate the reserved bandwidth.
  • the reserved bandwidth of the configuration needs to be converted into a floating point type. When the bit length is insufficient, the reserved bandwidth loss precision represented by the floating point type is lost, resulting in inaccurate bandwidth reservation of the target node.
  • an embodiment of the present invention provides a method for resource reservation, where the method includes:
  • the target node receives the request reserved resource message, where the reserved resource value and the additional precision information of the reserved resource value are recorded in the message;
  • the target node reserves a bandwidth resource for the source node according to the additional precision information and the reserved resource value.
  • An embodiment of the present invention further provides a method for sending a message, where the method includes:
  • Sending a message to the target node requests to reserve resources, and setting a reserved resource value and additional precision information of the reserved resource value in the message.
  • An embodiment of the present invention provides a method for receiving a message, where the method includes:
  • the embodiment of the invention provides a node device, where the device includes:
  • a first extension unit configured to record, in a message requesting resource reservation, a resource value that needs to be reserved and additional precision information of the reserved resource value
  • a first sending unit configured to send, to the target node device, a message that the first extension unit obtains the reserved resource request.
  • the embodiment of the invention provides a node device, where the device includes: a receiving unit, configured to receive a message requesting resource reservation, where the message carries a reserved resource value and additional precision information of the reserved resource value;
  • a reservation unit configured to determine, according to the additional precision information and the resource reservation value carried by the message, a bandwidth resource reserved by the source node device;
  • a second extension unit configured to record, in the confirmation message that the resource reservation is successful, the reserved bandwidth resource value and the additional precision information of the reserved bandwidth resource value.
  • the embodiment of the present invention sets the reserved resource value and the additional precision information of the reserved resource value in the request for resource reservation message, so that the reserved resource can be sent to the target node with high precision, and the target node is configured according to
  • the additional precision information carried by the request reservation resource message and the resource reservation value are determined as resource values reserved by the source node device, so that the target node can accurately reserve resources and avoid reserving resources under large traffic conditions (for example, The loss of accuracy caused by the loss of bandwidth).
  • the embodiment of the present invention sets the reserved resource value and the additional precision information of the reserved resource value in the request for the reserved resource message, so that the reserved resource can be sent to the target node with high precision, thereby making the target node Ability to accurately reserve the appropriate resources for the source node.
  • the embodiment of the present invention sets the resource value for determining the reserved resource value and the additional precision information of the reserved resource value in the confirmation message of the reservation success returned to the source node, so that the resource information reserved by the source node and the target node is maintained. Consistent, which in turn enables the target node to reserve resources more accurately for the source node.
  • Figure 1 is a diagram of a prior art FLOWSPEC object
  • FIG. 2 is a flowchart of a method for resource reservation according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a four-node device according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a five-node device according to an embodiment of the present invention.
  • Resv message is extended to include the following implementations:
  • the first way is to extend the FLOWSPEC object of the Resv message, and add additional precision information of the Token Bucket Rate data, for example, data type and unit information
  • additional precision information of the Token Bucket Rate data for example, data type and unit information
  • the second 4-byte reserved field of the FLOWSPEC object is used to carry the added data type and unit information, and the unit information includes the unit type and data unit of the Token Bucket Rate.
  • the second 4-byte reserved field is shown in Table 1:
  • Use the first digit to indicate the data type of the Token Bucket Rate For example, set the first digit to 0 to represent a floating point number, and set it to 1 to represent an integer.
  • the second type indicates the unit type of the Token Bucket Rate. For example, setting the second bit to 0 indicates that the unit type is byte, and setting it to 1 indicates that the unit type is bit.
  • bits 3, 4, 5, 6, and 7 are set to 00000 to represent bytes per second (Bps, Byte per second) Or bit per second (bps, bit per second), set to 00001 to represent kilobytes per second (KBps, KByte per second) or kilobits per second (Kbps, Kbit per second), set to 00010 for megabytes per Seconds (MBps, MByte per second) or megabits per second (Mbps, Mbit per second), set to 00011 for gigabytes per second (GBps, GByte per second) or gigabits per second (Gbps, Gbit per second), Set to 00100 to indicate terabytes per second (TBps, TByte per second) or terabits per second (Tbps, Tbit per second).
  • the second way is to extend the FLOWSPEC object of the Resv message, add additional precision information of the Token Bucket Rate data, such as the unit type and the data type, and use one of the second 4-byte reserved fields of the FLOWSPEC object.
  • the bit indicates the unit type. For example, setting the bit to 0 indicates that the unit type is byte, and setting it to 1 indicates that the unit type is a bit; using one bit in the reserved field indicates whether the data type is carried, for example, the bit Set to 1 to be carried in integer type. If the reserved resource is configured as a floating point type, you need to convert the floating point type to an integer type. Set to 0 to carry the original data type (for example, floating point number).
  • the third way is to extend the message of the FLOWSPEC object, add 4 bytes, and use 7 bits to represent additional precision information, such as data type and unit information.
  • the third method can be used with the first type.
  • the mode or the second way represents the additional accuracy information in the same way.
  • an object is added to the Resv message, and the reserved resource value and the additional precision information of the reserved resource value are added to the object.
  • the format of the newly added packet can be referred to. Table 2.
  • the Path message may be extended by extending the Resv message, for example, by using the reserved field of the SENDER-TESPEC object.
  • the additional precision information of the value of the resource to be reserved, the additional precision information of the reserved resource value is carried by the added SENDER-TESPEC object field, or the value of the resource to be reserved and the value of the reserved resource are carried by the newly added object. Additional precision information.
  • Embodiment 1 A method for resource reservation, which is shown in Figure 2, and specifically includes the following steps:
  • Step 201 The source node sends a message requesting the reserved resource to the target node, where the message sets the value of the resource to be reserved and the additional precision information of the resource value to be reserved.
  • the additional precision information set is the data type and/or unit information of the resource value that needs to be reserved.
  • the data type may be a floating point type or an integer type; the unit information may be bytes per second, kilobytes per second, megabytes per second, gigabytes per second, or terabytes per second, and may also For bits per second, kilobits per second, megabits per second, gigabits per second or too few bits per second.
  • Step 202 The target node determines, according to the resource value and the additional precision information that needs to be reserved, the bandwidth resource reserved for the source node, sends a confirmation message that the resource reservation succeeds to the source node, and sets a predetermined reservation in the message.
  • the bandwidth resource value and the additional precision information for determining the reserved bandwidth resource value are included in the message.
  • the step of determining, by the target node, the bandwidth resource reserved for the source node according to the required bandwidth resource value and the additional precision information is divided into the following cases:
  • the additional precision information set is data type and unit information.
  • the data type is set to an integer type, and the data unit is kbps.
  • the set bandwidth resource value to be reserved is 1024, it can be determined to be reserved for the source node.
  • the bandwidth resource is 1024 kbps.
  • the additional precision information set is the data type.
  • the data unit can be set to the default value, for example, KBps, Kbps, MBps, Mbps, GBps , Gbps, TBps or Tbps, etc.
  • the target node can determine the bandwidth resource reserved for the source node according to the combined value of the reserved bandwidth resource value and the default data unit.
  • the set attachment accuracy information is the unit type of the bandwidth resource data to be reserved. If the unit type is byte, you can set the data unit to the default value, such as KBps, MBps, GBps or TBps.
  • Accuracy information If it is an integer type, there is no need to convert the data type.
  • the target node can determine the resources that need to be reserved for the source node according to the combined value of the resource value and the default data unit.
  • the target node determines the reserved bandwidth resource for the source node according to the request resource reservation message, so that the target node can accurately reserve the bandwidth resource, and avoid the resource (such as bandwidth) precision in the case of large traffic. Loss of business losses caused by loss.
  • the resource value that is reserved and the additional precision information of the resource value that is determined to be reserved are set in the confirmation message of the reservation success returned to the source node, so that the resource reserved by the source node and the target node.
  • the information is consistent, which in turn enables the target node to reserve resources for the source node more accurately.
  • Embodiment 2 A method for sending a message, the method comprising:
  • Sending a message to the target node requests to reserve resources, and setting the resource value to be reserved and the additional precision information of the resource value to be reserved in the message.
  • additional precision information of the reserved resource value is carried by a reserved field of the SENDER_TESPEC object or an added SENDER_TESPEC object field.
  • the newly added object carries the reserved resource value and the additional precision information of the reserved resource value.
  • the requesting the reserved resource message sets the resource value that needs to be reserved and the additional precision information of the resource value that needs to be reserved, so that the resource that needs to be reserved can be sent to the target node with high precision, thereby Enables the target node to accurately reserve the corresponding resources for the source node.
  • Embodiment 3 A method for receiving a message, where the method includes:
  • additional precision information of the reserved resource value is carried by a reserved field of the FLOWSPEC object or an added FLOWSPEC object field.
  • the newly added object carries the value of the resource that needs to be reserved and the additional precision information of the reserved resource value.
  • the resource value for determining the reservation and the additional precision information for determining the reserved resource value are set in the confirmation message of the reservation success returned to the source node, so that the source node and the target node are reserved.
  • the resource information is consistent, which enables the target node to reserve resources for the source node more accurately.
  • the target node receives the request reserved resource message, where the message records the value of the resource to be reserved and the additional precision information of the resource value to be reserved;
  • the target node reserves bandwidth resources for the source node according to the additional precision information and the resource value that needs to be reserved.
  • Sending a message to the target node requests to reserve resources, and setting the resource value to be reserved and the additional precision information of the resource value to be reserved in the message.
  • the resource reservation value reserves the bandwidth resource for the source node, and sends an acknowledgment message that the resource reservation is successful to the source node, and sets a value of the reserved bandwidth resource and the determined reserved bandwidth in the acknowledgment message. Additional precision information for resource values.
  • the storage medium may be a ROM, a RAM, a magnetic disk or an optical disk, or the like.
  • Embodiment 4 A node device, referring to FIG. 3, the device includes:
  • the first extension unit 301 is configured to expand a message for requesting resource reservation, and record, in the message, a resource value that needs to be reserved and additional precision information of the resource value that needs to be reserved.
  • the first sending unit 302 And sending, by the target node device, a message requesting resource reservation obtained by the first extension unit 301.
  • the additional precision information recorded by the first extension unit 301 in the message requesting resource reservation is a data unit of the bandwidth resource that needs to be reserved.
  • the additional precision information recorded by the first extension unit 301 in the message requesting resource reservation is a data type and/or a unit type of the bandwidth resource that needs to be reserved.
  • the requesting the reserved resource message sets the resource value that needs to be reserved and the additional precision information of the resource value that needs to be reserved, so that the resource that needs to be reserved can be sent to the target node with high precision, thereby Enables the target node to accurately reserve the corresponding resources for the source node.
  • Embodiment 5 A node device, referring to FIG. 4, the device includes:
  • the receiving unit 401 is configured to receive a message requesting a reserved resource, where the message carries a resource value that needs to be reserved and additional precision information of the resource value that needs to be reserved;
  • the reservation unit 402 is configured to determine, according to the additional precision information carried by the message and the resource value that needs to be reserved, a bandwidth resource reserved by the source node device;
  • a second extension unit 405 configured to expand an acknowledgment message for successfully reserving the resource reservation, and set, in the acknowledgment message, the additional precision information that determines the reserved resource value and the determined reserved resource value;
  • the second sending unit 406 is configured to send a confirmation message that the resource reservation obtained by the second extension unit 405 is successful to the source node device.
  • the reservation unit 402 includes:
  • a first determining unit 403 configured to determine that the data type of the resource value that needs to be reserved is a floating point Type or integer type;
  • the first operation unit 404 is configured to combine the resource value that needs to be reserved and the data unit when the data type is a floating point type, and convert the combined value to obtain a reserve for the source node.
  • the reserved unit 402 includes:
  • the obtaining unit is used to obtain a default data unit
  • a second determining unit configured to determine whether the data type of the resource value to be reserved is a floating point type or an integer type
  • a second operation unit configured to: when the data type is a floating point type, combine the resource value that needs to be reserved with the default data unit, and convert the combined value to obtain a reserve for the source node.
  • the present embodiment sets the resource value for determining the reserved resource value and the additional precision information of the reserved resource value in the acknowledgment message of the reservation success returned to the source node, so that the resource reserved by the source node and the target node.
  • the information is consistent, which in turn enables the target node to reserve resources for the source node more accurately.

Landscapes

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

Description

资源预留的方法以及节点设备
本申请要求于 2008 年 1 月 30 日提交中国专利局、 申请号为 200810000294.2、 发明名称为 "资源预留的方法以及节点设备" 的中国专利申 请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明涉及网络通信技术领域, 尤其涉及资源预留的方法、发送消息的方 法、 接收消息的方法以及节点设备。
背景技术
资源预留协议 ( RSVP, Resource Reservation Protocol )是多协议标签交换 ( MPLS, Multiprotocol Label Switch ) 的一种, RSVP包括一组消息、 对象及 相关处理的集合。
RSVP协议是针对单一的流请求资源预留 , 在进行资源预留时 , 上游路由 器通过发送消息请求下游路由器预留资源,下游路由器发送消息确认资源预留 成功。 通常上游路由器通过发送路径 ( Path ) 消息请求下游路由器预留资源, 而下游路由器通过发送资源预留 (Resv ) 消息确认资源预留成功。
一般地, RSVP的资源预留请求包括流描述符, 通常用一个(流规范, 过 滤规则)对表示, 其中, 流规范指明需要满足的服务质量(QoS, Quality of Service ), 以便在节点处进行包调度; 过滤规则用于根据 QoS对收到的数据包 进行分类。
现有技术提供了一种带宽预留的方法,该方法是通过 RSVP流量工程( TE,
Traffic Engineering )协议的 Path消息来创建标签交换路径( LSP, Label Switched Path )和请求预留带宽, 具体是这样实现的: 源节点发送 Path消息请求目标节 点预留带宽, 通常在 Path消息的发送者描述( SENDER— TESPEC )对象中设 置需要预留的带宽数值。 目标节点根据 SENDER— TESPEC对象为源节点预留 带宽, 并在 Resv消息的流描述(FLOWSPEC )对象中设置预留的带宽值, 然 后将 Resv 消息发送给源节点说明资源预留成功。 其中, RVSP TE 协议的 FLOWSPEC对象继承 RSVP协议的 FLOWSPEC对象,具体可见图 1。在 RSVP TE中通常使用令牌桶速率(Token Bucket Rate )字段表示预留的资源信息, 该字段的单位是字节 (BYTE ), 类型是浮点 ( FLOAT )。 发明人在实现本发明过程中 , 发现现有技术中至少存在如下问题:
1、上述现有技术配置预留带宽的数据类型为整数类型, 常用 32比特表示 预留的带宽,但是,该现有技术在传输过程中需要将配置的预留带宽转换为浮 点类型,此时就会因为比特长度不够而导致用浮点类型表示的预留带宽丢失精 度, 从而导致目标节点带宽预留不准确。
2、 由于现有的主流核心路由器转发能力可达到 Gbps或 Tbps的数量级, 而现有技术用 32比特表示数量级为 Gbps或 Tbps的带宽就会出现溢出的现象, 从而也会导致目标节点预留的带宽不准确。
发明内容
为解决上述技术问题,本发明实施例提供了一种资源预留的方法, 所述方 法包括:
目标节点接收请求预留资源消息,所述消息中记录预留的资源数值以及所 述预留资源数值的附加精度信息;
目标节点根据所述附加精度信息以及所述预留资源数值为源节点预留带 宽资源。
本发明实施例还提供了一种发送消息的方法, 所述方法包括:
向目标节点发送消息请求预留资源,并在所述消息中设置预留的资源数值 以及所述预留资源数值的附加精度信息。
本发明实施例提供了一种接收消息的方法, 所述方法包括:
接收源节点发送的请求预留资源消息 ,并根据所述消息携带的附加精度信 息以及资源预留数值为源节点预留带宽资源,并向源节点发送资源预留成功的 确认消息,以及在所述消息中设置预留的带宽资源数值和所述预留带宽资源数 值的附加精度信息。
本发明实施例提供了一种节点设备, 所述设备包括:
第一扩展单元 ,用于在请求资源预留的消息中记录需要预留的资源数值以 及所述预留资源数值的附加精度信息;
第一发送单元,用于向目标节点设备发送第一扩展单元得到的请求资源预 留的消息。
本发明实施例提供了一种节点设备, 所述设备包括: 接收单元, 用于接收请求资源预留的消息, 所述消息携带预留的资源数值 以及所述预留资源数值的附加精度信息;
预留单元,用于根据所述消息携带的附加精度信息以及资源预留数值确为 源节点设备预留的带宽资源;
第二扩展单元,用于在资源预留成功的确认消息中记录预留的带宽资源数 值和所述预留带宽资源数值的附加精度信息。
以上技术方案具有如下优点或有益效果:
1、 由于本发明实施例通过在请求预留资源消息设置预留的资源数值以及 预留资源数值的附加精度信息 ,这样可以较高的精度将需要预留的资源发送给 目标节点,目标节点根据所述请求预留资源消息携带的附加精度信息以及资源 预留数值确定为源节点设备预留的资源数值,从而使得目标节点能够准确地预 留资源, 避免在大流量情况下预留资源(例如带宽)的精度丢失所导致的业务 损失。
2、 由于本发明实施例在请求预留资源消息设置预留的资源数值以及预留 资源数值的附加精度信息,这样可以较高的精度将需要预留的资源发送给目标 节点, 从而使得目标节点能够精确地为源节点预留相应的资源。
3、 由于本发明实施例在向源节点返回的预留成功的确认消息中设置确定 预留的资源数值以及预留资源数值的附加精度信息,从而使得源节点和目标节 点预留的资源信息保持一致,进而使得目标节点能够更准确地为源节点预留资 源。
附图说明
图 1是现有技术 FLOWSPEC对象的 4艮文格式;
图 2是本发明实施例一资源预留的方法流程图;
图 3是本发明实施例四节点设备的示意图;
图 4是本发明实施例五节点设备的示意图。
具体实施方式
首先, 对 Resv消息进行扩展, 包括以下几种实施方式:
第一种方式、 对 Resv消息的 FLOWSPEC对象进行扩展, 在该对象中增 加 Token Bucket Rate数据的附加精度信息 , 例如 , 数据类型和单位信息 , 并 使用 FLOWSPEC对象第二个 4字节的保留字段来携带增加的数据类型和单位 信息, 所述单位信息包括 Token Bucket Rate的单位类型和数据单位。 其中, 第二个 4字节的保留字段如表 1所示:
Figure imgf000006_0001
表 1
采用第 1位表示 Token Bucket Rate的数据类型, 例如, 将第 1位设置为 0 来表示浮点数, 设置为 1来表示整数。
采用第 2位表示 Token Bucket Rate的单位类型, 例如, 将第 2位设置为 0 来表示单位类型为字节, 设置为 1表示单位类型为比特。
采用第 3、 4、 5、 6和 7位表示 Token Bucket Rate的数据单位, 例如, 将 第 3、 4、 5、 6和 7位设置为 00000来表示字节每秒( Bps, Byte per second ) 或比特每秒( bps, bit per second ),设置为 00001来表示千字节每秒( KBps, KByte per second )或千比特每秒 ( Kbps, Kbit per second ), 设置为 00010表示 兆字节每秒( MBps, MByte per second )或兆比特每秒( Mbps, Mbit per second ), 设置为 00011 表示吉字节每秒( GBps, GByte per second )或吉比特每秒( Gbps, Gbit per second ), 设置为 00100表示太字节每秒( TBps , TByte per second )或 太比特每秒 ( Tbps, Tbit per second )。
第二种方式、 对 Resv消息的 FLOWSPEC对象进行扩展, 在该对象增加 Token Bucket Rate数据的附加精度信息, 例如单位类型和数据类型, 并使用 FLOWSPEC对象第二个 4字节的保留字段中的一个比特来表示单位类型, 例 如,将该比特设置为 0来表示单位类型为字节,设置为 1表示单位类型为比特; 使用保留字段中的一个比特表示是否以数据类型携带, 例如,将该比特设置为 1表示以整数类型携带, 如果配置的预留资源为浮点类型, 此时需要将浮点类 型转换为整数类型; 设置为 0表示以原来的数据类型 (例如浮点数)携带。
第三种方式、 对 FLOWSPEC对象的报文进行扩展, 增加 4个字节, 并使 用其中的 7个比特表示附加的精度信息, 例如数据类型和单位信息, 第三种方 式可采用与第一种方式或第二种方式相同的方式表示附加的精度信息。
第四种方式、 在 Resv消息中新增对象, 并在该对象中增加预留资源数值 以及所述预留资源数值的附加精度信息。其中,新增对象的报文格式可以参照 表 2。
Figure imgf000007_0001
表 2
需要说明的是, Path消息中 SENDER— TESPEC对象中的 Token Bucket Rate 也可能存在精度丢失的现象, 可采用对 Resv消息的扩展方式对 Path消息进行 扩展, 例如, 通过 SENDER— TESPEC对象的保留字段携带需要预留的资源数 值的附加精度信息, 通过增加的 SENDER— TESPEC对象字段携带所述预留资 源数值的附加精度信息,或者通过新增对象携带需要预留的资源数值以及所述 预留资源数值的附加精度信息。
实施例一、一种资源预留的方法, 其方法流程如图 2所示, 具体包括以下 步骤:
步骤 201、 源节点向目标节点发送消息请求预留资源, 所述消息中设置需 要预留的资源数值以及所述需要预留的资源数值的附加精度信息。其中,设置 的附加精度信息为需要预留的资源数值的数据类型和 /或单位信息。 所述数据 类型可以为浮点类型或整数类型;所述单位信息可以为字节每秒、千字节每秒、 兆字节每秒、 吉字节每秒或太字节每秒, 还可以为比特每秒、 千比特每秒、 兆 比特每秒、 吉比特每秒或太比特每秒。
步骤 202、 目标节点根据所述需要预留的资源数值以及附加精度信息确定 为源节点预留的带宽资源, 向源节点发送资源预留成功的确认消息, 并在所述 消息中设置确定预留的带宽资源数值以及所述确定预留的带宽资源数值的附 加精度信息。
其中,目标节点根据所述需要预留的带宽资源数值以及附加精度信息确定 为源节点预留的带宽资源的步骤分为以下几种情况:
1 )、假设设置的附加精度信息为数据类型和单位信息, 例如设置数据类型 为整数类型,数据单位为 kbps, 当设置的需要预留的带宽资源数值为 1024时, 可以确定为源节点预留的带宽资源为 1024kbps; 当设置的需要预留的带宽资 源 数值 为 1.024 时 , 可 以 确 定 为 源 节 点 预 留 的 资 源 为 1.024kbps = 1.024 X 103 = 1024bps 2 )、假设设置的附加精度信息为数据类型, 如果数据类型为浮点类型, 为 了防止浮点类型的精度丢失, 可以将数据单位设置为默认值, 例如, KBps、 Kbps、 MBps、 Mbps、 GBps、 Gbps、 TBps或 Tbps等。 当需要预留的带宽资 源数值为 1.024时, 将该数值与默认数据单位进行组合便可得到需要为源节点 预留的带宽资源, 比如 1·024 Μ = 1·024Χ103 = 1024 ,这样就可以避免浮点类 型的精度信息。如果是整数类型就不需要转换数据类型, 目标节点根据需要预 留的带宽资源数值与默认数据单位的组合值便可确定需要为源节点预留的带 宽资源。
3 )、假设设置的附件精度信息为需要预留的带宽资源数据的单位类型,如 果单位类型为字节, 可以将数据单位设置默认值, 例如 KBps、 MBps、 GBps 或 TBps等。 当预留带宽资源数值为 1.024时, 将该数值与默认数据单位进行 组 合便 可 得 到 需 要 为 源 节 点 预 留 的 带 宽 资 源 , 比 如 1.024kbps = 1.024x10' bps = 1024bps;这样就可以避免浮点类型的精度信息。如果是 整数类型就不需要转换数据类型 ,目标节点根据需要预留的资源数值与默认数 据单位的组合值便可确定需要为源节点预留的资源。
由上述可知 ,由于本发明实施例通过在请求预留资源消息设置需要预留的 资源数值以及需要预留的资源数值的附加精度信息 ,这样可以较高的精度将需 要预留的带宽资源发送给目标节点,目标节点根据所述请求预留资源消息为源 节点确定预留的带宽资源,从而使得目标节点能够准确地预留带宽资源,避免 在大流量的情况下预留资源 (例如带宽)精度丢失所导致的业务损失。
另外,本发明实施例在向源节点返回的预留成功的确认消息中设置确定预 留的资源数值以及该确定预留的资源数值的附加精度信息,从而使得源节点和 目标节点预留的资源信息保持一致,进而使得目标节点能够更准确地为源节点 预留资源。
实施例二、 一种发送消息的方法, 该方法包括:
向目标节点发送消息请求预留资源,并在所述消息中设置需要预留的资源 数值以及所述需要预留的资源数值的附加精度信息。
可选地, 通过 SENDER— TESPEC 对象的保留字段或增加的 SENDER— TESPEC对象字段携带所述预留资源数值的附加精度信息。 可选地 ,通过新增对象携带预留的资源数值以及所述预留资源数值的附加 精度信息。
由上述可知 ,本实施例在请求预留资源消息设置需要预留的资源数值以及 需要预留的资源数值的附加精度信息 ,这样可以较高的精度将需要预留的资源 发送给目标节点, 从而使得目标节点能够精确地为源节点预留相应的资源。
实施例三、 一种接收消息的方法, 所述方法包括:
根据源节点发送的请求预留资源消息确定为源节点预留的资源数值,并向 源节点发送资源预留成功的确认消息 ,以及在所述消息中设置确定预留的资源 数值和所述确定预留的资源数值的附加精度信息。
可选地, 通过 FLOWSPEC对象的保留字段或增加的 FLOWSPEC对象字 段携带所述预留资源数值的附加精度信息。
可选地,通过新增对象携带需要预留的资源数值以及所述预留资源数值的 附加精度信息。
由上述可知,本实施例在向源节点返回的预留成功的确认消息中设置确定 预留的资源数值以及所述确定预留的资源数值的附加精度信息,从而使得源节 点和目标节点预留的资源信息保持一致,进而使得目标节点能够更准确地为源 节点预留资源。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤 是可以通过程序来指示相关的硬件来完成,所述的程序可以存储于计算机可读 取存储介质中, 该程序在执行时, 包括以下步骤:
目标节点接收请求预留资源消息,所述消息中记录需要预留的资源数值以 及所述需要预留的资源数值的附加精度信息;
目标节点根据所述附加精度信息以及所述需要预留的资源数值为源节点 预留带宽资源。
其中一个程序在执行时, 包括以下步骤:
向目标节点发送消息请求预留资源,并在所述消息中设置需要预留的资源 数值以及所述需要预留的资源数值的附加精度信息。
其中一个程序在执行时, 包括以下步骤:
接收源节点发送的请求预留资源消息 ,并根据所述消息携带的附加精度信 息以及资源预留数值为源节点预留带宽资源,并向源节点发送资源预留成功的 确认消息,以及在所述确认消息中设置确定预留的带宽资源数值和所述确定预 留的带宽资源数值的附加精度信息。
其中, 所述的存储介质可以是 ROM、 RAM, 磁碟或光盘等等。
实施例四、 一种节点设备, 参照图 3 , 所述设备包括:
第一扩展单元 301 , 用于对请求资源预留的消息进行扩展, 并在所述消息 中记录需要预留的资源数值以及所述需要预留的资源数值的附加精度信息; 第一发送单元 302, 用于向目标节点设备发送第一扩展单元 301得到的请 求资源预留的消息。
可选地,所述第一扩展单元 301在请求资源预留的消息中记录的附加精度 信息为需要预留的带宽资源的数据单位。
可选地,所述第一扩展单元 301在请求资源预留的消息中记录的附加精度 信息为需要预留的带宽资源的数据类型和 /或单位类型。
由上述可知 ,本实施例在请求预留资源消息设置需要预留的资源数值以及 需要预留的资源数值的附加精度信息 ,这样可以较高的精度将需要预留的资源 发送给目标节点, 从而使得目标节点能够精确地为源节点预留相应的资源。
实施例五、 一种节点设备, 参照图 4, 所述设备包括:
接收单元 401 , 用于接收请求预留资源的消息, 所述消息携带需要预留的 资源数值以及所述需要预留的资源数值的附加精度信息;
预留单元 402 , 用于根据所述消息携带的附加精度信息以及需要预留的资 源数值确为源节点设备预留的带宽资源;
第二扩展单元 405, 用于对资源预留成功的确认消息进行扩展, 以及在所 述确认消息中设置确定预留的资源数值和所述确定预留的资源数值的附加精 度信息;
第二发送单元 406, 用于将第二扩展单元 405得到的资源预留成功的确认 消息发送给源节点设备。
可选地,当所述接收单元 401收到的附加精度信息为需要预留的带宽资源 的数据单位时, 预留单元 402包括:
第一判断单元 403 , 用于判断所述需要预留的资源数值的数据类型为浮点 类型还是整数类型;
第一运算单元 404, 用于在所述数据类型为浮点类型时, 将所述需要预留 的资源数值和所述数据单位进行组合,并将组合得到的数值进行转换得到为源 节点预留的资源数值, 以及在所述数据类型为整数类型时,将所述需要预留的 资源数值和所述数据单位进行组合得到为源节点预留的资源数值。
可选地,所述接收单元 401收到的附加精度信息为需要预留的带宽资源的 数据类型和 /或单位类型时, 所述预留单元 402包括:
获取单元, 用于获取默认的数据单位;
第二判断单元,用于判断所述需要预留的资源数值的数据类型为浮点类型 还是整数类型;
第二运算单元, 用于在所述数据类型为浮点类型时,将所述需要预留的资 源数值和所述默认数据单位进行组合,并将组合得到的数值进行转换得到为源 节点预留的资源数值, 以及在所述数据类型为整数类型时,将所述需要预留的 资源数值和所述默认数据单位进行组合得到为源节点预留的资源数值。
由上述可知,本实施例在向源节点返回的预留成功的确认消息中设置确定 预留的资源数值以及所述预留资源数值的附加精度信息,从而使得源节点和目 标节点预留的资源信息保持一致,进而使得目标节点能够更准确地为源节点预 留资源。

Claims

权 利 要 求
1、 一种资源预留的方法, 其特征在于, 所述方法包括:
接收请求预留资源消息 ,所述消息中携带需要预留的资源数值以及所述需 要预留的资源数值的附加精度信息;
根据所述附加精度信息以及所述需要预留的资源数值为源节点预留带宽 资源。
2、 如权利要求 1所述的方法, 其特征在于, 在为源节点预留带宽资源之 后进一步包括:
向源节点发送资源预留成功的确认消息 ,并在所述确认消息中携带确定预 留的资源数值以及所述确定预留的资源数值的附加精度信息。
3、 如权利要求 1或 2所述的方法, 其特征在于, 当附加精度信息为需要 预留的带宽资源的数据单位时,根据所述附加精度信息以及所述需要预留的资 源数值为源节点预留带宽资源的步骤包括:
判断所述需要预留的资源数值的数据类型为浮点类型还是整数类型,在所 述数据类型为浮点类型时,将所述需要预留的资源数值和所述数据单位进行组 合, 并将组合得到的数值进行转换得到为源节点预留的资源数值; 在所述数据 类型为整数类型时,将所述需要预留的资源数值和所述数据单位进行组合得到 为源节点预留的资源数值。
4、 如权利要求 1或 2所述的方法, 其特征在于, 当附加精度信息为需要 预留的带宽资源的数据类型和 /或单位类型时, 根据所述附加精度信息以及所 述需要预留的资源数值为源节点预留带宽资源的步骤包括:
获取默认的数据单位;
判断所述需要预留的资源数值的数据类型为浮点类型还是整数类型,在所 述数据类型为浮点类型时,将所述需要预留的资源数值和所述默认数据单位进 行组合, 并将组合得到的数值进行转换得到为源节点预留的资源数值; 在所述 数据类型为整数类型时,将所述需要预留的资源数值和所述默认数据单位进行 组合得到为源节点预留的资源数值。
5、 一种发送消息的方法, 其特征在于, 所述方法包括:
向目标节点发送消息请求预留资源,并在所述消息中设置需要预留的资源 数值以及所述需要预留的资源数值的附加精度信息。
6、 如权利要求 5所述的方法, 其特征在于, 通过发送者描述对象的保留 字段或增加的发送者描述对象字段携带所述需要预留的资源数值的附加精度 信息。
7、 如权利要求 5所述的方法, 其特征在于, 通过新增对象携带需要预留 的资源数值以及所述需要预留的资源数值的附加精度信息。
8、 一种接收消息的方法, 其特征在于, 所述方法包括:
接收源节点发送的请求预留资源消息 ,并根据所述消息携带的附加精度信 息以及资源预留数值为源节点预留带宽资源,并向源节点发送资源预留成功的 确认消息,以及在所述确认消息中设置确定预留的带宽资源数值和所述确定预 留的带宽资源数值的附加精度信息。
9、 如权利要求 8所述的方法, 其特征在于, 通过流描述对象的保留字段 或增加的流描述对象字段携带所述确定预留的资源数值的附加精度信息。
10、 如权利要求 8所述的方法, 其特征在于, 通过新增对象携带确定预留 的资源数值以及所述确定预留的资源数值的附加精度信息。
11、 一种节点设备, 其特征在于, 所述设备包括:
第一扩展单元 ,用于在请求资源预留的消息中记录需要预留的资源数值以 及所述需要预留的资源数值的附加精度信息;
第一发送单元,用于向目标节点设备发送第一扩展单元得到的请求资源预 留的消息。
12、 如权利要求 11所述的节点设备, 其特征在于, 所述第一扩展单元在 请求资源预留的消息中记录的附加精度信息为需要预留的带宽资源的数据单 位。
13、 如权利要求 11或 12所述的节点设备, 其特征在于, 所述第一扩展单 元在请求资源预留的消息中记录的附加精度信息为需要预留的带宽资源的数 据类型和 /或单位类型。
14、 一种节点设备, 其特征在于, 所述设备包括:
接收单元, 用于接收请求资源预留的消息, 所述消息携带需要预留的资源 数值以及所述需要预留的资源数值的附加精度信息;
预留单元,用于根据所述消息携带的附加精度信息以及资源预留数值确定 为源节点设备预留的带宽资源;
第二扩展单元,用于在资源预留成功的确认消息中记录预留的带宽资源数 值和所述预留的带宽资源数值的附加精度信息。
15、 如权利要求 14所述的节点设备, 其特征在于, 所述接收单元收到的 附加精度信息为需要预留的带宽资源的数据单位。
16、 如权利要求 15所述的节点设备, 其特征在于, 所述预留单元包括: 第一判断单元,用于判断所述需要预留的资源数值的数据类型为浮点类型 还是整数类型;
第一运算单元, 用于在所述数据类型为浮点类型时, 将所述需要预留的资 源数值和所述数据单位进行组合,并将组合得到的数值进行转换得到为源节点 预留的资源数值, 以及在所述数据类型为整数类型时,将所述需要预留的资源 数值和所述数据单位进行组合得到为源节点预留的资源数值。
17、 如权利要求 14所述的节点设备, 其特征在于, 所述接收单元收到的 附加精度信息为需要预留的带宽资源的数据类型和 /或单位类型。
18、 如权利要求 17所述的节点设备, 其特征在于, 所述预留单元包括: 获取单元, 用于获取默认的数据单位;
第二判断单元,用于判断所述需要预留的资源数值的数据类型为浮点类型 还是整数类型;
第二运算单元, 用于在所述数据类型为浮点类型时, 将所述需要预留的资 源数值和所述默认数据单位进行组合,并将组合得到的数值进行转换得到为源 节点预留的资源数值, 以及在所述数据类型为整数类型时,将所述预留资源数 值和所述默认数据单位进行组合得到为源节点预留的资源数值。
19、 如权利要求 14至 18任一项所述的节点设备, 其特征在于, 所述节点 设备还进一步包括:
第二发送单元 ,用于将第二扩展单元得到的资源预留成功的确认消息发送 给源节点设备。
PCT/CN2009/070102 2008-01-30 2009-01-12 资源预留的方法以及节点设备 WO2009097760A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP09707920.6A EP2237599B1 (en) 2008-01-30 2009-01-12 Resource reservation method and node apparatus
US12/836,018 US8718090B2 (en) 2008-01-30 2010-07-14 Resource reservation method and node apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2008100002942A CN101499954B (zh) 2008-01-30 2008-01-30 资源预留的方法以及节点设备
CN200810000294.2 2008-01-30

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US12/836,018 Continuation US8718090B2 (en) 2008-01-30 2010-07-14 Resource reservation method and node apparatus

Publications (1)

Publication Number Publication Date
WO2009097760A1 true WO2009097760A1 (zh) 2009-08-13

Family

ID=40946840

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/070102 WO2009097760A1 (zh) 2008-01-30 2009-01-12 资源预留的方法以及节点设备

Country Status (4)

Country Link
US (1) US8718090B2 (zh)
EP (1) EP2237599B1 (zh)
CN (1) CN101499954B (zh)
WO (1) WO2009097760A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499954B (zh) 2008-01-30 2012-06-06 华为技术有限公司 资源预留的方法以及节点设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1205604A (zh) * 1996-10-25 1999-01-20 诺基亚流动电话有限公司 无线电资源控制方法
CN1633106A (zh) * 2004-12-16 2005-06-29 中国科学院计算技术研究所 一种具有回溯能力的面向发送方的资源预留实现方法
CN101094153A (zh) * 2006-06-12 2007-12-26 汤姆森许可贸易公司 在发送站与接收站之间传递数据的方法和设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6771661B1 (en) * 1999-07-21 2004-08-03 Cisco Technology, Inc. Apparatus and methods for providing event-based data communications device configuration
US6765927B1 (en) * 1999-10-20 2004-07-20 Alcatel RSVP proxy service for communication network
US20030093526A1 (en) * 2001-11-13 2003-05-15 Koninklijke Philips Electronics N. V. Apparatus and method for providing quality of service signaling for wireless mac layer
US7529943B1 (en) * 2003-04-16 2009-05-05 Juniper Networks, Inc. Systems and methods for end-to-end resource reservation authentication
CN101499954B (zh) 2008-01-30 2012-06-06 华为技术有限公司 资源预留的方法以及节点设备

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1205604A (zh) * 1996-10-25 1999-01-20 诺基亚流动电话有限公司 无线电资源控制方法
CN1633106A (zh) * 2004-12-16 2005-06-29 中国科学院计算技术研究所 一种具有回溯能力的面向发送方的资源预留实现方法
CN101094153A (zh) * 2006-06-12 2007-12-26 汤姆森许可贸易公司 在发送站与接收站之间传递数据的方法和设备

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"The Use of RSVP with IETF Integrated Services", IETF RFC 2210, September 1997 (1997-09-01) *
See also references of EP2237599A4 *

Also Published As

Publication number Publication date
CN101499954A (zh) 2009-08-05
CN101499954B (zh) 2012-06-06
EP2237599A4 (en) 2011-07-27
EP2237599A1 (en) 2010-10-06
US8718090B2 (en) 2014-05-06
EP2237599B1 (en) 2015-09-23
US20100278194A1 (en) 2010-11-04

Similar Documents

Publication Publication Date Title
US8189482B2 (en) Probing-based mechanism to reduce preemption perturbation caused by higher priority tunnel establishment in a computer network
KR100415582B1 (ko) 인터넷에서의 네트워크의 부하를 경감하기 위한 연결설정및 해제방법
US8773998B2 (en) Technique for reducing resources allocated to an existing reservation in a data network
US9699092B2 (en) Systems and methods for dynamically adjusting QoS parameters
CN109818917B (zh) 一种通信方法及其装置
JP2004532545A (ja) データネットワークにおけるルータ間のクラス毎の資源のポリシに基づく同期。
JP2004529550A (ja) データネットワークにおけるプールに基づいた資源管理
WO2006092645A1 (en) Ip multiservice network and method for making resource reservations for priority traffic
WO2018036173A1 (zh) 一种网络负载均衡方法、设备及系统
TW201006267A (en) Bi-directional and reverse directional resource reservation setup protocol
US7944833B2 (en) End-to-end QoS interoperation apparatus and method in heterogeneous network environment
WO2009143722A1 (zh) 实现区分服务流量工程的方法及设备
WO2010124537A1 (zh) 节点关联通道能力的协商方法及节点设备
JP4923280B2 (ja) 双方向接続をセットアップするための方法
WO2009097760A1 (zh) 资源预留的方法以及节点设备
KR100585934B1 (ko) 라우터에서의 트래픽 조절기의 파라미터 및 서비스 클래스정의 규칙 테이블의 동적 관리 방법
WO2008141591A1 (fr) Procédé et dispositif destinés à une garantie qos des datagrammes de réseau transportés dans différents réseaux
KR100416981B1 (ko) 데이터 통신망에서 패킷 데이터 전송방법
JP2004080612A (ja) 帯域予約管理システム
JP2004056328A (ja) ルータ、ルータの動的品質制御方法、プログラム、および記録媒体
KR100714113B1 (ko) 2계층 가상 사설망 서비스의 가입자 에지 장치, 프로바이더에지 장치 및 2계층 가상 사설망 서비스 설정 방법
CN101753410B (zh) 一种资源预留协议链路的最大传输单元实现方法及设备
EP2068508A1 (en) Method, device and system for synchronizing user data in next generation network
CN101453411A (zh) 建立标签交换路径的方法、系统和设备
JP3634317B2 (ja) ノードおよびネットワークおよびプログラムおよび記録媒体

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2009707920

Country of ref document: EP