WO2025201535A1 - 数据传输方法、装置、节点、存储介质及计算机程序产品 - Google Patents
数据传输方法、装置、节点、存储介质及计算机程序产品Info
- Publication number
- WO2025201535A1 WO2025201535A1 PCT/CN2025/085874 CN2025085874W WO2025201535A1 WO 2025201535 A1 WO2025201535 A1 WO 2025201535A1 CN 2025085874 W CN2025085874 W CN 2025085874W WO 2025201535 A1 WO2025201535 A1 WO 2025201535A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- node
- data packet
- forwarding path
- field
- available bandwidth
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
- H04L43/0894—Packet rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
- H04L45/247—Multipath using M:N active or standby paths
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/659—Internet protocol version 6 [IPv6] addresses
Definitions
- the present application relates to the field of network technology, and in particular to a data transmission method, device, node, storage medium, and computer program product.
- a candidate path (CP) for an Internet Protocol Version 6 (IPv6)-based Segment Routing (SRv6) Traffic Engineering (TE) policy can be represented as one or a set of segment lists (SLs).
- SLs segment lists
- This embodiment of the present application provides a data transmission method, which is performed by a first node and includes:
- the first IPv6 data packet includes a first field; the first field is used to indicate the minimum available bandwidth of the first forwarding path; the first forwarding path represents the main path in the SRv6 strategy; the first node is the head node of the first forwarding path.
- the first field is encapsulated in a hop-by-hop options header or a destination options header of the IPv6 extension header.
- the method before sending the first IPv6 data packet, the method further includes:
- the method further comprises:
- the first information representing the minimum available bandwidth of the first forwarding path fed back by a third node;
- the third node representing the egress node of the first forwarding path;
- determining whether to switch the primary path in the SRv6 policy based on the first information includes:
- the primary path in the SRv6 policy is switched.
- switching the primary path in the SRv6 policy includes:
- a first request is sent to the controller; the first request is used to request forwarding path reoptimization.
- the method further comprises:
- the first instruction is used to instruct switching of the primary path of the SRv6 policy.
- the first IPv6 data packet is forwarded via SRv6; correspondingly, the first field is encapsulated in a TLV of the SRH of the first IPv6 data packet.
- the first IPv6 data packet is used for performance measurement; correspondingly, the first field is encapsulated in an IPv6 extension header of the first IPv6 data packet.
- the method further comprises:
- the method further includes:
- the first IPv6 data packet includes a first field; the first field is used to indicate the minimum available bandwidth of the first forwarding path; the first forwarding path represents the main path in the SRv6 strategy; the third node is the egress node of the first forwarding path.
- the first IPv6 data packet is forwarded via SRv6; correspondingly, the first field is encapsulated in a TLV of the SRH of the first IPv6 data packet.
- the first IPv6 data packet is used for performance measurement; correspondingly, the first field is encapsulated in an IPv6 extension header of the first IPv6 data packet.
- the first field is encapsulated in a hop-by-hop options header or a destination options header of the IPv6 extension header.
- the method further comprises:
- the sending of the first information includes:
- the second IPv6 data packet carries the first information.
- the second IPv6 data packet is characterized as a performance measurement response message of one or more of the following protocols:
- the first sending unit is configured to send a first IPv6 data packet;
- the present invention also provides a data transmission device, including:
- the first receiving unit is configured to receive a first IPv6 data packet;
- the first IPv6 data packet includes a first field; the first field is used to indicate the minimum available bandwidth of the first forwarding path; the first forwarding path represents the main path in the SRv6 strategy; the second node is an intermediate node of the first forwarding path.
- the second receiving unit is configured to receive a first IPv6 data packet;
- the embodiment of the present application further provides a first node, comprising: a first processor and a first communication interface; wherein,
- the first IPv6 data packet includes a first field; the first field is used to indicate the minimum available bandwidth of the first forwarding path; the first forwarding path represents the main path in the SRv6 strategy; the first node is the head node of the first forwarding path.
- the embodiment of the present application further provides a second node, comprising: a second processor and a second communication interface; wherein,
- the second communication interface is used to receive a first IPv6 data packet:
- the first IPv6 data packet includes a first field; the first field is used to indicate the minimum available bandwidth of the first forwarding path; the first forwarding path represents the main path in the SRv6 strategy; the second node is an intermediate node of the first forwarding path.
- the embodiment of the present application further provides a third node, comprising: a third processor and a third communication interface; wherein,
- the third communication interface is used to receive a first IPv6 data packet:
- the first IPv6 data packet includes a first field; the first field is used to indicate the minimum available bandwidth of the first forwarding path; the first forwarding path represents the main path in the SRv6 strategy; the third node is the egress node of the first forwarding path.
- the embodiment of the present application further provides a node, comprising: a processor and a memory for storing a computer program that can be run on the processor,
- An embodiment of the present application also provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-mentioned data transmission methods on the first node side, or implements the steps of any of the above-mentioned data transmission methods on the second node side, or implements the steps of any of the above-mentioned data transmission methods on the third node side.
- An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned data transmission methods on the first node side, or implements the steps of any of the above-mentioned data transmission methods on the second node side, or implements the steps of any of the above-mentioned data transmission methods on the third node side.
- an IPv6 data packet transmitted along a forwarding path includes a first field, which is used to indicate the minimum available bandwidth of the forwarding path.
- a first field which is used to indicate the minimum available bandwidth of the forwarding path.
- FIG1 is an example diagram of a TLV field format according to an embodiment of the present application.
- FIG2 is an example diagram of IPv6 extension header encapsulation according to an embodiment of the present application.
- FIG3 is a flow chart of a data transmission method according to an embodiment of the present application.
- FIG4 is a flow chart of another data transmission method according to an embodiment of the present application.
- FIG5 is a schematic diagram of a flow chart of a third data transmission method according to an embodiment of the present application.
- FIG6 is an example diagram of the TLV field format in a STAMP reflection data packet according to an embodiment of the present application.
- FIG12 is a schematic diagram of the third node structure of an embodiment of the present application.
- Option Type 8 bits of information identifying the option type as "Minimum available bandwidth"
- Opt Data Len used to indicate the data length of the "Minimum available bandwidth” option.
- the data length can be in bytes.
- IPv6 data packets Based on the above expansion of IPv6 data packets, the following describes the data transmission method, taking the head node, intermediate node, and egress node on the IPv6 data packet forwarding path as the execution entities.
- the present invention provides a data transmission method applied to a first node.
- the first forwarding path is the primary path for forwarding IPv6 data packets
- the first node is the head node of the first forwarding path.
- the method includes:
- Step 301 Send a first IPv6 data packet.
- the first IPv6 data packet includes a first field; the first field is used to indicate the minimum available bandwidth of the first forwarding path; the first forwarding path represents the main path in the SRv6 strategy; and the first node is the head node of the first forwarding path.
- the first node as the head node of the first forwarding path, needs to encapsulate the first field indicating the minimum available bandwidth of the first forwarding path into the IPv6 data packet. Since in the embodiment of the present application, the minimum available bandwidth is actually used to measure the network performance of the forwarding path, the encapsulation position of the first field can be determined according to the measurement requirements in actual application.
- the head node can encapsulate the first field in the HBH of the IPv6 extension header; if it is only necessary to measure the minimum available bandwidth of each segment node (endpoint) on the forwarding path, the head node can encapsulate the first field in the DoH of the IPv6 extension header; if the IPv6 data packet is forwarded via SRv6, the head node can encapsulate the first field in the TLV of the SRH.
- STAMP TLV Flag STAMP TLV flag
- Type used to identify the information carried as the minimum available bandwidth of the forwarding path
- Minimum available bandwidth A 4-byte unsigned integer used to carry the minimum available bandwidth of the forwarding path.
- the first information representing the minimum available bandwidth of the first forwarding path fed back by a third node;
- the third node representing the egress node of the first forwarding path;
- the primary path in the SRv6 policy is switched.
- the first node compares the minimum available bandwidth of the first forwarding path with the set bandwidth. If the minimum available bandwidth of the first forwarding path is less than the set bandwidth, the first forwarding path is considered not to be used as the primary path in the SRv6 policy, that is, the primary path in the SRv6 policy is switched. If the minimum available bandwidth of the first forwarding path is greater than or equal to the set bandwidth, the current primary path of the SRv6 policy, that is, the first forwarding path, is retained. When service traffic arrives, the first node compares the minimum available bandwidth of the first forwarding path with the actual bandwidth corresponding to the service traffic.
- a first request is sent to the controller; the first request is used to request forwarding path reoptimization.
- the minimum available bandwidth values of all SLs of each backup candidate path are obtained and summed up. If there is any backup candidate path whose sum result is greater than the corresponding set bandwidth or the actual bandwidth corresponding to the business flow, the backup candidate path is switched to the main path of the SRv6 policy.
- the available bandwidth value of each backup candidate path can be obtained one by one until a backup candidate path that meets the set bandwidth or the actual bandwidth corresponding to the business flow is found, and then the switching of the main path can be executed.
- the first node reports the situation to the controller, and the controller re-executes the path optimization.
- the above-mentioned determination of whether the SRv6 policy switches the primary path can also be completed by the controller, and then the controller directly sends the path switching instruction to the first node, and the first node forwards the IPv6 data packet based on the switched primary path.
- the method also includes:
- the path that the controller instructs to switch may be a backup candidate path in the original SRv6 policy, or a path in the SRv6 policy adjusted by the controller.
- the head node or controller of the forwarding path can obtain the actual minimum available bandwidth of the forwarding path in real time.
- the controller or head node can quickly perceive and reselect the forwarding path for the business traffic, thereby realizing timely adjustment of the SRv6 TE policy and ensuring data transmission efficiency.
- the embodiment of the present application further provides a data transmission device, which is provided on the first node. As shown in FIG7 , the device includes:
- the first sending unit 701 is configured to send a first IPv6 data packet; wherein,
- the first IPv6 data packet includes a first field; the first field is used to indicate the minimum available bandwidth of the first forwarding path; the first forwarding path represents the main path in the SRv6 strategy; the first node is the head node of the first forwarding path.
- the first IPv6 data packet is forwarded via SRv6; correspondingly, the first field is encapsulated in a TLV of the SRH of the first IPv6 data packet.
- the first IPv6 data packet is used for performance measurement; correspondingly, the first field is encapsulated in an IPv6 extension header of the first IPv6 data packet.
- the first field is encapsulated in a hop-by-hop options header or a destination options header of the IPv6 extension header.
- the apparatus further comprises:
- the first writing unit is configured to write the available bandwidth of the first node into the first field before sending the first IPv6 data packet.
- the apparatus further comprises:
- a third receiving unit is configured to receive first information, wherein the first information represents the minimum available bandwidth of the first forwarding path fed back by a third node, and the third node represents an egress node of the first forwarding path;
- a determining unit is configured to determine whether to switch a primary path in the SRv6 policy based on the first information.
- a switching unit configured to, if a second forwarding path exists in the SRv6 policy, switch the primary path of the SRv6 policy from the first forwarding path to the second forwarding path; wherein the minimum available bandwidth of the second forwarding path is greater than the set bandwidth or the bandwidth required by the service traffic; and/or,
- the fourth receiving unit is used to receive the first instruction sent by the controller; wherein,
- the first instruction is used to instruct to switch the primary path of the SRv6 policy from the first forwarding path to the second forwarding path.
- the embodiment of the present application further provides a data transmission device, which is provided on the second node.
- the device includes:
- the first receiving unit 801 is configured to receive a first IPv6 data packet; wherein,
- the first IPv6 data packet includes a first field; the first field is used to indicate the minimum available bandwidth of the first forwarding path; the first forwarding path represents the main path in the SRv6 strategy; the second node is an intermediate node of the first forwarding path.
- the first IPv6 data packet is used for performance measurement; correspondingly, the first field is encapsulated in an IPv6 extension header of the first IPv6 data packet.
- the first field is encapsulated in a hop-by-hop options header or a destination options header of the IPv6 extension header.
- the apparatus further comprises:
- the third sending unit is configured to forward the first IPv6 data packet; wherein,
- a comparing unit configured to compare the minimum available bandwidth indicated by the first field with the available bandwidth of the second node before the third sending unit forwards the first IPv6 data packet, to obtain a comparison result
- the second writing unit is configured to write the available bandwidth of the second node into the first field if the comparison result indicates that the available bandwidth of the second node is less than the minimum available bandwidth indicated by the first field.
- the first receiving unit 801 and the third sending unit can be implemented by a communication interface in the data transmission device; the comparing unit and the second writing unit can be implemented by a processor in the data transmission device.
- the embodiment of the present application further provides a data transmission device, which is provided on the third node. As shown in FIG9 , the device includes:
- the first IPv6 data packet includes a first field; the first field is used to indicate the minimum available bandwidth of the first forwarding path; the first forwarding path represents the main path in the SRv6 strategy; the third node is the egress node of the first forwarding path.
- the first IPv6 data packet is forwarded via SRv6; correspondingly, the first field is encapsulated in a TLV of the SRH of the first IPv6 data packet.
- the first IPv6 data packet is used for performance measurement; correspondingly, the first field is encapsulated in an IPv6 extension header of the first IPv6 data packet.
- the first field is encapsulated in a hop-by-hop options header or a destination options header of the IPv6 extension header.
- the fourth sending unit is used to send the first information; wherein,
- the second IPv6 data packet carries the first information.
- the second IPv6 data packet is characterized as a performance measurement response message of one or more of the following protocols:
- the second receiving unit 901 and the fourth sending unit can be implemented by a communication interface in a data transmission device.
- the data transmission device provided in the above embodiment is only illustrated by the division of the above-mentioned program modules when performing data transmission.
- the above-mentioned processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the above-mentioned processing.
- the data transmission device provided in the above embodiment and the data transmission method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
- the embodiment of the present application further provides a first node, as shown in FIG10 , where the first node 1000 includes:
- the first communication interface 1001 is capable of exchanging information with other network nodes;
- the first processor 1002 is connected to the first communication interface 1001 to implement information exchange with other network nodes and is used to execute the methods provided by one or more technical solutions on the first node side when running a computer program.
- the computer program is stored in the first memory 1003.
- the first communication interface 1001 is used to send a first IPv6 data packet; wherein,
- the first IPv6 data packet includes a first field; the first field is used to indicate the minimum available bandwidth of the first forwarding path; the first forwarding path represents the main path in the SRv6 strategy; the first node is the head node of the first forwarding path.
- the first IPv6 data packet is forwarded via SRv6; correspondingly, the first field is encapsulated in a TLV of the SRH of the first IPv6 data packet.
- the first processor 1002 is configured to switch the primary path in the SRv6 policy when the minimum available bandwidth of the first forwarding path represented by the first information is less than a set bandwidth, or when the minimum available bandwidth of the first forwarding path represented by the first information is less than a bandwidth required by service traffic.
- the second communication interface 1101 is used to receive a first IPv6 data packet; wherein,
- the first field is encapsulated in a hop-by-hop options header or a destination options header of the IPv6 extension header.
- the second processor 1102 is configured to compare the minimum available bandwidth indicated by the first field with the available bandwidth of the second node to obtain a comparison result before the third sending unit forwards the first IPv6 data packet; and write the available bandwidth of the second node into the first field if the comparison result indicates that the available bandwidth of the second node is less than the minimum available bandwidth indicated by the first field.
- the second memory 1103 in the embodiment of the present application is used to store various types of data to support the operation of the second node 1100.
- Examples of such data include: any computer program used to operate on the second node 1100.
- the methods disclosed in the above embodiments of the present application can be applied to or implemented by the second processor 1102.
- the second processor 1102 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits or software instructions in the second processor 1102.
- the above second processor 1102 may be a general-purpose processor, a DSP, or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc.
- the second processor 1102 can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application.
- a general-purpose processor may be a microprocessor or any conventional processor.
- the steps of the methods disclosed in the embodiments of the present application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor.
- the software module may be located in a storage medium located in the second memory 1103.
- the second processor 1102 reads the information in the second memory 1103 and, in conjunction with its hardware, completes the steps of the above method.
- the second node 1100 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general-purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.
- the third processor 1202 is connected to the third communication interface 1201 to implement information exchange with other network nodes and is used to execute the methods provided by one or more technical solutions on the third node side when running a computer program.
- the computer program is stored in the third memory 1203.
- the first IPv6 data packet is forwarded via SRv6; correspondingly, the first field is encapsulated in a TLV of the SRH of the first IPv6 data packet.
- the first field is encapsulated in a hop-by-hop options header or a destination options header of the IPv6 extension header.
- the third communication interface 1201 is further used to send the first information; wherein,
- the first information is the minimum available bandwidth of the third node; when the available bandwidth of the third node is greater than or equal to the minimum available bandwidth indicated by the first field, the first information is the minimum available bandwidth indicated by the first field.
- the third communication interface 1201 is further configured to send the first information to the controller; and/or,
- the second IPv6 data packet carries the first information.
- the second IPv6 data packet is characterized as a performance measurement response message of one or more of the following protocols:
- bus system 1204. is used to enable communication between these components.
- bus system 1204 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in FIG12 , all of these buses are labeled as bus system 1204.
- the third memory 1203 in the embodiment of the present application is used to store various types of data to support the operation of the third node 1200. Examples of such data include: any computer program used to operate on the third node 1200.
- the third processor 1202 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits or software instructions in the third processor 1202.
- the third processor 1202 may be a general-purpose processor, a DSP, or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc.
- the third processor 1202 can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application.
- a general-purpose processor may be a microprocessor or any conventional processor.
- the steps of the methods disclosed in the embodiments of the present application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor.
- the software modules may be located in a storage medium located in the third memory 1203.
- the third processor 1202 reads the information in the third memory 1203 and, in conjunction with its hardware, completes the steps of the above method.
- the third node 1200 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general-purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.
- the memory (first memory 1003, second memory 1103, third memory 1203) of the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories.
- the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a ferromagnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM);
- the magnetic surface memory can be a disk memory or a tape memory.
- Volatile memory can be random access memory (RAM), which is used as external cache.
- RAM random access memory
- RAM random access memory
- SSRAM synchronous static random access memory
- DRAM dynamic random access memory
- SDRAM synchronous dynamic random access memory
- DDRSDRAM double data rate synchronous dynamic random access memory
- ESDRAM enhanced synchronous dynamic random access memory
- SLDRAM synchronized dynamic random access memory
- DRRAM direct rambus random access memory
- an embodiment of the present application further provides a computer program product, including a computer program, wherein the computer program can be executed by the first processor 1002 of the first node 1000 to complete the steps of the aforementioned first node-side method.
- the computer program can be executed by the second processor 1102 of the second node 1100 to complete the steps of the aforementioned second node-side method.
- the computer program can be executed by the third processor 1202 of the third node 1200 to complete the steps of the aforementioned third node-side method.
- a and/or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.
- one or more herein refers to any combination of at least two of any one or more of a plurality.
- “including at least one of A, B, and C” can represent any one or more elements selected from the set consisting of A, B, and C.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请公开了数据传输方法、装置、节点、存储介质及计算机程序产品,其中,方法包括:第一节点发送第一IPv6数据包;其中,所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第一节点为所述第一转发路径的头节点。
Description
相关申请的交叉引用
本公开基于申请号为202410371357.4、申请日为2024年03月28日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本公开作为参考。
本申请涉及网络技术领域,尤其涉及一种数据传输方法、装置、节点、存储介质及计算机程序产品。
基于互联网协议第6版(IPv6,Internet Protocol Version 6)的段路由(SRv6,Segment Routing IPv6)流量工程(TE,Traffic Engineering)策略(Policy)的候选路径(CP,Candidate Path)可以表示为一个或一组段列表(SL,Segment List)。相关技术中,当段列表的某些节点出现拥塞时,容易导致数据包的丢失。
为解决相关技术问题,本申请实施例提供一种数据传输方法、装置、节点、存储介质及计算机程序产品。
本申请实施例提供了一种数据传输方法,由第一节点执行,包括:
发送第一IPv6数据包;其中,
所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第一节点为所述第一转发路径的头节点。
在一些实施例中,所述第一IPv6数据包通过SRv6转发;对应地,所述第一字段封装于所述第一IPv6数据包的SRH的TLV中。
在一些实施例中,所述第一IPv6数据包用于性能测量;对应地,所述第一字段封装于所述第一IPv6数据包的IPv6扩展头中。
在一些实施例中,所述第一字段封装于所述IPv6扩展头的逐跳选项头或目的选项头中。
在一些实施例中,在发送所述第一IPv6数据包之前,所述方法还包括:
将所述第一节点的可用带宽写入所述第一字段。
在一些实施例中,所述方法还包括:
接收第一信息;所述第一信息表征由第三节点反馈的所述第一转发路径的最小可用带宽;所述第三节点表征所述第一转发路径的出口节点;
基于所述第一信息,确定是否对所述SRv6策略中的主路径进行切换。
在一些实施例中,基于所述第一信息,确定是否对所述SRv6策略中的主路径进行切换,包括:
在所述第一信息表征的所述第一转发路径的最小可用带宽小于设定带宽,或者在所述第一信息表征的所述第一转发路径的最小可用带宽小于业务流量所需带宽的情况下,对所述SRv6策略中的主路径进行切换。
在一些实施例中,所述对所述SRv6策略中的主路径进行切换,包括:
在所述SRv6策略中存在第二转发路径的情况下,将所述SRv6策略的主路径由所述第一转发路径切换为所述第二转发路径;其中,所述第二转发路径的最小可用带宽大于所述设定带宽或所述业务流量所需带宽;和/或,
在所述SRv6策略中不存在第二转发路径的情况下,向控制器发送第一请求;所述第一请求用于请求进行转发路径重优化。
在一些实施例中,所述方法还包括:
接收控制器发送的第一指令;其中,
所述第一指令用于指示切换所述SRv6策略的主路径。
本申请实施例还提供了一种数据传输方法,由第二节点执行,包括:
接收第一IPv6数据包:其中,
所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第二节点为所述第一转发路径的中间节点。
在一些实施例中,所述第一IPv6数据包通过SRv6转发;对应地,所述第一字段封装于所述第一IPv6数据包的SRH的TLV中。
在一些实施例中,所述第一IPv6数据包用于性能测量;对应地,所述第一字段封装于所述第一IPv6数据包的IPv6扩展头中。
在一些实施例中,所述第一字段封装于所述IPv6扩展头的逐跳选项头或目的选项头中。
在一些实施例中,所述方法还包括:
转发所述第一IPv6数据包;其中,
在转发所述第一IPv6数据包之前,所述方法还包括:
将所述第一字段指示的最小可用带宽与所述第二节点的可用带宽进行比较,得比较结果;
在所述比较结果表征所述第二节点的可用带宽小于所述第一字段指示的最小可用带宽的情况下,将所述第二节点的可用带宽写入所述第一字段。
本申请实施例还提供了一种数据传输方法,由第三节点执行,包括:
接收第一IPv6数据包;其中,
所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第三节点为所述第一转发路径的出口节点。
在一些实施例中,所述第一IPv6数据包通过SRv6转发;对应地,所述第一字段封装于所述第一IPv6数据包的SRH的TLV中。
在一些实施例中,所述第一IPv6数据包用于性能测量;对应地,所述第一字段封装于所述第一IPv6数据包的IPv6扩展头中。
在一些实施例中,所述第一字段封装于所述IPv6扩展头的逐跳选项头或目的选项头中。
在一些实施例中,所述方法还包括:
发送第一信息;其中,
在所述第三节点的可用带宽小于所述第一字段指示的最小可用带宽的情况下,所述第一信息为所述第三节点的可用带宽;在所述第三节点的可用带宽大于或等于所述第一字段指示的最小可用带宽的情况下,所述第一信息为所述第一字段指示的最小可用带宽。
在一些实施例中,所述发送第一信息,包括:
向控制器发送所述第一信息;和/或,
向第一节点发送第二IPv6数据包;所述第二IPv6数据包携带所述第一信息。
在一些实施例中,所所述第二IPv6数据包表征为以下一种或多种协议的性能测量响应消息:
STAMP、TWAMP、TWAMP Light、Ping以及Traceroute。
本申请实施例还提供了一种数据传输装置,包括:
第一发送单元,用于发送第一IPv6数据包;其中,
所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第一节点为所述第一转发路径的头节点。
本申请实施例还提供了一种数据传输装置,包括:
第一接收单元,用于接收第一IPv6数据包;其中,
所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第二节点为所述第一转发路径的中间节点。
本申请实施例还提供了一种数据传输装置,包括:
第二接收单元,用于接收第一IPv6数据包;其中,
所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第三节点为所述第一转发路径的出口节点。
本申请实施例还提供了一种第一节点,包括:第一处理器及第一通信接口;其中,
所述第一通信接口,用于发送第一IPv6数据包;其中,
所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第一节点为所述第一转发路径的头节点。
本申请实施例还提供了一种第二节点,包括:第二处理器及第二通信接口;其中,
所述第二通信接口,用于接收第一IPv6数据包:其中,
所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第二节点为所述第一转发路径的中间节点。
本申请实施例还提供了一种第三节点,包括:第三处理器及第三通信接口;其中,
第三通信接口,用于接收第一IPv6数据包:其中,
所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第三节点为所述第一转发路径的出口节点。
本申请实施例还提供了一种节点,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,
其中,所述处理器用于运行所述计算机程序时,执行上述第一节点侧任一数据传输方法的步骤,或者,执行上述第二节点侧任一数据传输方法的步骤,或者,执行上述第三节点侧任一数据传输方法的步骤。
本申请实施例还提供了一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述第一节点侧任一数据传输方法的步骤,或者实现上述第二节点侧任一数据传输方法的步骤,或者实现上述第三节点侧任一数据传输方法的步骤。
本申请实施例还提供了一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现上述第一节点侧任一数据传输方法的步骤,或者实现上述第二节点侧任一数据传输方法的步骤,或者实现上述第三节点侧任一数据传输方法的步骤。
本申请实施例提供的数据传输方法、装置、节点、存储介质及计算机程序产品,沿转发路径传输的IPv6数据包包含第一字段,该第一字段用于指示该转发路径的最小可用带宽,基于上述方案中第一字段的设置,使得转发路径上的各个节点在对IPv6数据包进行传输时,可以根据转发路径的实际网络状况对第一字段中指示的最小可用带宽进行更新,在此基础上,能够完成对转发路径网络性能的测量,从而实现SRv6 TE策略的及时调整,保障数据传输效率。
图1为本申请实施例一种TLV字段格式示例图;
图2为本申请实施例IPv6扩展头封装示例图;
图3为本申请实施例一种数据传输方法流程示意图;
图4为本申请实施例另一种数据传输方法流程示意图;
图5为本申请实施例第三种数据传输方法流程示意图;
图6为本申请实施例STAMP反射数据包中TLV字段格式示例图;
图7为本申请实施例一种数据传输装置结构示意图;
图8为本申请实施例另一种数据传输装置结构示意图;
图9为本申请实施例第三种数据传输装置结构示意图;
图10为本申请实施例第一节点结构示意图;
图11为本申请实施例第二节点结构示意图;
图12为本申请实施例第三节点结构示意图。
SRv6是在网络上转发IPv6数据包的一种协议,通过在IPv6数据包中插入一个路由扩展头(SRH,Segment Routing Header),在SRH中压入一个显式的IPv6地址栈,通过中间节点不断地更新目的地址和偏移地址来完成逐跳转发。
SRv6 TE策略的候选路径(CP,Candidate Path)可以表示为一个或一组段列表(SL,Segment List)。由于段列表中每个节点承载的服务以及节点的转发能力存在差异,当网络流量较大时,某些节点出现拥塞,导致转发路径的实际最大转发流量小于预期,此时,如果转发路径的头节点不及时调整转发路径,而是根据初始设定带宽继续转发IPv6数据包,将不可避免地导致超出实际带宽的数据包丢失。然而,相关技术中,即使SRv6策略中存在其他可用的候选路径,也不会根据业务流量需求对转发路径进行切换,导致传输性能受限。
基于此,本申请各实施例中,沿转发路径传输的IPv6数据包中包含第一字段,该第一字段用于指示该转发路径的最小可用带宽,基于该方案中第一字段的设置,使得上述方案中转发路径上的各个节点在对IPv6数据包进行传输时,可以根据转发路径的实际网络状况对第一字段中指示的最小可用带宽进行更新,在此基础上,能够完成对转发路径网络性能的测量,从而实现SRv6 TE策略的及时调整,保障数据传输效率。
下面结合附图及实施例对本申请再作进一步详细的描述。
首先,在本申请实施例中,对IPv6数据包进行了扩展,使得IPv6数据包中携带转发路径的最小可用带宽,该最小可用带宽也即指示了IPv6数据包转发路径中瓶颈节点的带宽,从而能够反映出转发路径的网络性能。
实际应用时,针对IPv6数据包的不同传输场景,采用不同的方案将用于指示转发路径的最小可用带宽的字段封装进IPv6数据包中。
在一实施例中,所述第一IPv6数据包通过SRv6转发;对应地,所述第一字段封装于所述第一IPv6数据包的SRH的TLV(Type-Length-Value)中。
IPv6数据包通过SRv6转发时,插入的SRH中包含可选的TLV字段,用于携带长度可变的数据。因此,这里,利用TLV字段的扩展特性,将第一字段封装于TLV中。例如,参照图1的TLV字段格式示例,其中包含字段“最小可用带宽(Minimum available bandwidth)”,该字段为4字节的无符号整数,用于携带最小可用带宽的带宽值。此外,还包含字段“标识(Flag)”,用于标识该IPv6数据包开启带宽测量功能,或者,也可以理解为字段“标识(Flag)”用于指示TLV中携带转发路径的最小可用带宽。
在一实施例中,所述第一IPv6数据包用于性能测量;对应地,所述第一字段封装于所述第一IPv6数据包的IPv6扩展头中。
这里,IPv6数据包为用于性能测量的数据包,实际应用时,可基于双向主动测量协议(TWAMP,Two-Way Active Measurement Protocol)、简单双向主动测量协议(STAMP,Simple Two-way Active Measurement Protocol)、TWAMP Light协议、Ping、Traceroute等协议进行传输。对于此类IPv6数据包,转发路径的头节点需要在为IPv6数据包封装SRH后再添加一个IPv6扩展头,因此,头节点可将第一字段封装于对应的IPv6扩展头中。
可选地,所述第一字段封装于所述IPv6扩展头的逐跳选项头(HBH,Hop-by-Hop Options Header)或目的选项头(DoH,Destination Options Header)中。
例如,结合图2封装示例,在HBH或DoH中封装以下信息:
选项类型(Option Type):用8比特信息标识选项类型为“Minimum available bandwidth”;
选项数据长度(Opt Data Len):用于指示“Minimum available bandwidth”选项的数据长度,该数据长度可以以字节为单位;
最小可用带宽(Minimum available bandwidth)选项(Option):为4字节的无符号整数,用于携带IPv6数据包转发路径的最小可用带宽。
基于上文中对IPv6数据包的扩展,以下分别以IPv6数据包转发路径上的头节点、中间节点及出口节点为执行主体,对数据传输方法进行阐述。
本申请实施例提供了一种数据传输方法,应用于第一节点,这里,基于SRv6策略,第一转发路径为转发IPv6数据包的主路径,第一节点为第一转发路径的头节点。参照图3,方法包括:
步骤301:发送第一IPv6数据包。
其中,所述第一IPv6数据包中包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第一节点为所述第一转发路径的头节点。
这里,第一节点作为第一转发路径的头节点,需要将用于指示第一转发路径的最小可用带宽的第一字段封装进IPv6数据包中。由于在本申请实施例中,最小可用带宽实际要用于测量转发路径的网络性能,因此,实际应用时,第一字段的封装位置可根据测量要求确定。具体地,如果需要测量的是转发路径上所有节点的最小可用带宽,那么头节点可将第一字段封装于IPv6扩展头的HBH中;如果只需要测量转发路径上每个段节点(endpoint)的最小可用带宽,那么头节点可将第一字段封装于IPv6扩展头的DoH中;如果IPv6数据包是通过SRv6转发,那么头节点可将第一字段封装于SRH的TLV中。
此外,由于第一节点是第一转发路径的头节点,因此,头节点在发出第一IPv6数据包之前,先将第一节点自身的可用带宽写进第一字段,后续再由第一转发路径上的其他节点基于自身的网络状况决定是否对第一转发路径的最小可用带宽进行更新。基于此,在一实施例中,在发送所述第一IPv6数据包之前,所述方法还包括:
将所述第一节点的可用带宽写入所述第一字段。
实际应用时,第一节点可对第一转发路径所在接口在一定时间的采样周期内进行多次采样,并基于采样结果的平均值计算得到第一节点的可用带宽。
第一节点在发出第一IPv6数据包后,第一转发路径的中间节点基于自身的网络状况,决定是否对第一IPv6数据包中携带的第一转发路径的最小可用带宽进行更新。基于此,本申请实施例还提供了一种数据传输方法,应用于第二节点,这里,第二节点即第一转发路径的中间节点,参照图4,方法包括:
步骤401:接收第一IPv6数据包。
其中,所述第一IPv6数据包中包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第二节点为所述第一转发路径的中间节点。
在一实施例中,所述方法还包括:
转发所述第一IPv6数据包。
其中,在转发所述第一IPv6数据包之前,所述方法还包括:
将所述第一字段指示的最小可用带宽与所述第二节点的可用带宽进行比较,得比较结果;
在所述比较结果表征所述第二节点的可用带宽小于所述第一字段指示的最小可用带宽的情况下,将所述第二节点的可用带宽写入所述第一字段。
实际应用时,第二节点在接收到第一IPv6数据包后,解析IPv6数据包中的第一字段的字段值,得到最小可用带宽,该最小可用带宽也即第一转发路径中位于第二节点之前的其他节点中的最小可用带宽。第二节点将解析出的最小可用带宽与第二节点自身的可用带宽进行比较,如果第二节点自身的可用带宽小于第二节点解析出的最小可用带宽,那么表征第一转发路径中由头节点至该第二节点这段转发路径中,该第二节点的可用带宽最小,也即该第二节点为这段转发路径中的瓶颈节点,因此,第二节点将第二节点自身的可用带宽写入第一IPv6数据包中的第一字段,以替换第一字段之前的字段值,最后再依据第一转发路径,将第一IPv6数据包进行转发;如果第二节点自身的可用带宽大于或等于第二节点解析出的最小可用带宽,那么解析出的最小可用带宽即为第一转发路径中由头节点至该第二节点这段转发路径中最小可用带宽,第二节点无需对第一字段的字段值进行修改,可直接将依据第一转发路径转发第一IPv6数据包。
实际应用时,第二节点可对第一转发路径所在接口在一定时间的采样周期内进行多次采样,并基于采样结果的平均值计算得到第二节点的可用带宽。
本申请实施例还提供了一种数据传输方法,应用于第三节点,这里,第一节点即第一转发路径的出口节点,参照图5,方法包括:
步骤501:接收第一IPv6数据包。
其中,所述第一IPv6数据包中包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第三节点为所述第一转发路径的出口节点。
这里,第三节点作为第一转发路径的出口节点,在接收到第一IPv6数据包后,移除第一IPv6数据包的SRv6封装之前,首先从IPv6扩展头或SRH的TLV字段中解析第一字段的字段值,得到最小可用带宽,该最小可用带宽也即第一转发路径中位于第三节点之前的其他节点中的最小可用带宽。第三节点将解析出的最小可用带宽与第三节点自身的可用带宽进行比较,如果第三节点自身的可用带宽小于第三节点解析出的最小可用带宽,那么表征第一转发路径的所有节点中,第三节点的可用带宽最小,也即该第三节点为这段转发路径中的瓶颈节点;如果第三节点自身的可用带宽大于或等于第三节点解析出的最小可用带宽,那么解析出的最小可用带宽即为第一转发路径中的最小可用带宽,第三节点无需对第一字段的字段值进行修改。
基于上述带宽比较过程,第三节点可确定出第一转发路径的最小可用带宽,从而将第一转发路径的最小可用带宽作为第一转发路径网络性能的测量结果,进行反馈。
在一实施例中,所述方法还包括:
发送第一信息。
其中,在所述第三节点的可用带宽小于所述第一字段指示的最小可用带宽的情况下,所述第一信息为所述第三节点的可用带宽;在所述第三节点的可用带宽大于或等于所述第一字段指示的最小可用带宽的情况下,所述第一信息为所述第一字段指示的最小可用带宽。
实际应用时,第三节点可对第一转发路径所在接口在一定时间的采样周期内进行多次采样,并基于采样结果的平均值计算得到第三节点的可用带宽。
在一实施例中,所述发送第一信息,包括:
向控制器发送所述第一信息;和/或,
向第一节点发送第二IPv6数据包;所述第二IPv6数据包中携带所述第一信息。
这里,第一信息即为第一转发路径网络性能的测量结果,也即第一转发路径的最小可用带宽。第三节点将第一信息作为测量结果进行反馈,包括但不限于以下三种反馈方式:
1、第三节点可将第一信息通过Netconf或gRPC等方式报告给控制器。
2、定义一个用于携带上述测量结果的第二IPv6数据包,由第三节点发出至第一转发路径的头节点,即第一节点。
3、对于往返时延(RTT,Round-Trip Time)的用于性能测量的第二IPv6数据包,第三节点需要向第一转发路径的头节点,即第一节点反射数据包,也就是第三节点需要向第一节点反馈主动测量响应消息。这里,通过对主动测量响应消息进行扩展,将第一信息携带于主动测量响应消息,从而实现测量结果的反馈。
实际应用时,所述第二IPv6数据包表征为以下一种或多种协议的性能测量响应消息:
STAMP、TWAMP、TWAMP Light、Ping以及Traceroute。
例如,参照图6的STAMP反射数据包中TLV字段格式示例,这里,最小可用带宽定义为STAMP反射数据包中携带的转发路径的最小可用带宽。其中:
STAMP TLV Flag:即STAMP TLV标识;
类型(Type):用于标识携带的信息为转发路径的最小可用带宽;
长度(Length):用于指示最小可用带宽的字段长度;
最小可用带宽(Minimum available bandwidth):为4字节的无符号整数,用于携带转发路径的最小可用带宽。
实际应用时,以STAMP为例,如果会话反射器支持带宽测量功能,那么在第三节点获取转发路径的最小可用带宽后,将该最小可用带宽封装在反射数据包,即第三IPv6数据包中。
基于第三节点反馈的测量结果,本申请实施例中,第一节点可作为决策方,执行SRv6策略主路径的切换。基于此,在本申请实施例第一节点侧的方法中,第一节点发出第一IPv6数据包之后,所述方法还包括:
接收第一信息;所述第一信息表征由第三节点反馈的所述第一转发路径的最小可用带宽;所述第三节点表征所述第一转发路径的出口节点;
基于所述第一信息,确定是否对所述SRv6策略中的主路径进行切换。
如前文所述,第三节点通过第二IPv6数据包反馈测量结果,第一节点接收到第一信息之后,基于所述第一信息,确定是否对所述SRv6策略中的主路径进行切换。其中:
在所述第一信息表征的所述第一转发路径的最小可用带宽小于设定带宽,或者在所述第一信息表征的所述第一转发路径的最小可用带宽小于业务流量所需带宽的情况下,对所述SRv6策略中的主路径进行切换。
实际应用时,在业务流量未到达时,第一节点将第一转发路径的最小可用带宽与设定带宽进行比较,如果第一转发路径的最小可用带宽小于设定带宽,则考虑不使用第一转发路径作为SRv6策略中的主路径,即对SRv6策略中的主路径进行切换,如果第一转发路径的最小可用带宽大于或等于设定带宽,则保留SRv6策略当前的主路径,即第一转发路径;在业务流量到达的情况下,第一节点将第一转发路径的最小可用带宽与业务流量对应的实际带宽进行比较,如果第一转发路径的最小可用带宽小于业务流量对应的实际带宽,则考虑不使用第一转发路径作为SRv6策略中的主路径,即对SRv6策略中的主路径进行切换,如果第一转发路径的最小可用带宽大于或等于业务流量对应的实际带宽,则保留SRv6策略当前的主路径,即第一转发路径。
在一实施例中,所述对所述SRv6策略中的主路径进行切换,包括:
在所述SRv6策略中存在第二转发路径的情况下,将所述SRv6策略的主路径由所述第一转发路径切换为所述第二转发路径;其中,所述第二转发路径的最小可用带宽大于所述设定带宽或所述业务流量所需带宽;和/或,
在所述SRv6策略中不存在第二转发路径的情况下,向控制器发送第一请求;所述第一请求用于请求进行转发路径重优化。
这里,在执行SRv6策略主路径的切换时,获取每条备候选路径的所有SL的最小可用带宽值并求和,如果存在任意一条备候选路径的求和结果大于对应的设定带宽或业务流量对应的实际带宽,则将该备候选路径切换为SRv6策略的主路径。实际应用时,可以逐个获取各备候选路径的可用带宽值,直到找到满足设定带宽或业务流量对应的实际带宽的备候选路径,即可执行主路径的切换。此外,如果不存在任何一条备候选路径的求和结果大于对应的设定带宽或业务流量对应的实际带宽,那么第一节点将该情况上报控制器,由控制器重新执行路径优化。
此外,上述对SRv6策略是否切换主路径的判定也可由控制器完成,之后,控制器直接将路径切换指令下发至第一节点,由第一节点基于切换后的主路径进行IPv6数据包的转发。这里,所述方法还包括:
接收控制器发送的第一指令。
其中,所述第一指令用于指示切换所述SRv6策略的主路径。
这里,控制器指示切换的路径,可以为原SRv6策略中的备候选路径,也可以为控制器调整后的SRv6策略中的路径。
基于上述方案,转发路径的头节点或控制器可以实时获取转发路径的实际最小可用带宽,当转发路径的实际可用带宽或剩余带宽不符合业务流量的带宽需求时,控制器或头节点可以快速感知并为业务流量重新选择转发路径,从而实现SRv6 TE策略的及时调整,保障数据传输效率。
为了实现本申请实施例的第一节点侧的数据传输方法,本申请实施例还提供了一种数据传输装置,设置在第一节点上,如图7所示,该装置包括:
第一发送单元701,用于发送第一IPv6数据包;其中,
所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第一节点为所述第一转发路径的头节点。
其中,在一实施例中,所述第一IPv6数据包通过SRv6转发;对应地,所述第一字段封装于所述第一IPv6数据包的SRH的TLV中。
在一实施例中,所述第一IPv6数据包用于性能测量;对应地,所述第一字段封装于所述第一IPv6数据包的IPv6扩展头中。
在一实施例中,所述第一字段封装于所述IPv6扩展头的跳跃逐跳选项头或目的选项头中。
在一实施例中,所述装置还包括:
第一写入单元,用于在发送所述第一IPv6数据包之前,将所述第一节点的可用带宽写入所述第一字段。
在一实施例中,所述装置还包括:
第三接收单元,用于接收第一信息;所述第一信息表征由第三节点反馈的所述第一转发路径的最小可用带宽;所述第三节点表征所述第一转发路径的出口节点;
确定单元,用于基于所述第一信息,确定是否对所述SRv6策略中的主路径进行切换。
在一实施例中,所述确定单元用于:
在所述第一信息表征的所述第一转发路径的最小可用带宽小于设定带宽,或者在所述第一信息表征的所述第一转发路径的最小可用带宽小于业务流量所需带宽的情况下,对所述SRv6策略中的主路径进行切换。
在一实施例中,所述装置还包括:
切换单元,用于在所述SRv6策略中存在第二转发路径的情况下,将所述SRv6策略的主路径由所述第一转发路径切换为所述第二转发路径;其中,所述第二转发路径的最小可用带宽大于所述设定带宽或所述业务流量所需带宽;和/或,
第二发送单元,用于在所述SRv6策略中不存在第二转发路径的情况下,向控制器发送第一请求;所述第一请求用于请求进行转发路径重优化。
在一实施例中,所述装置还包括:
第四接收单元,用于接收控制器发送的第一指令;其中,
所述第一指令用于指示将切换所述SRv6策略的主路径由所述第一转发路径切换为第二转发路径。
实际应用时,第一发送单元701、第三接收单元和第四接收单元可由数据传输装置中的通信接口实现;确定单元、第一写入单元、切换单元可由数据传输装置中的处理器实现。
为了实现本申请实施例的第二节点侧的数据传输方法,本申请实施例还提供了一种数据传输装置,设置在第二节点上,如图8所示,该装置包括:
第一接收单元801,用于接收第一IPv6数据包;其中,
所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第二节点为所述第一转发路径的中间节点。
其中,在一实施例中,所述第一IPv6数据包通过SRv6转发;对应地,所述第一字段封装于所述第一IPv6数据包的SRH的TLV中。
在一实施例中,所述第一IPv6数据包用于性能测量;对应地,所述第一字段封装于所述第一IPv6数据包的IPv6扩展头中。
在一实施例中,所述第一字段封装于所述IPv6扩展头的逐跳选项头或目的选项头中。
在一实施例中,所述装置还包括:
第三发送单元,用于转发所述第一IPv6数据包;其中,
所述装置还包括:
比较单元,用于在第三发送单元转发所述第一IPv6数据包之前,将所述第一字段指示的最小可用带宽与所述第二节点的可用带宽进行比较,得比较结果;
第二写入单元,用于在所述比较结果表征所述第二节点的可用带宽小于所述第一字段指示的最小可用带宽的情况下,将所述第二节点的可用带宽写入所述第一字段。
实际应用时,第一接收单元801和第三发送单元可由数据传输装置中的通信接口实现;比较单元和第二写入单元可由数据传输装置中的处理器实现。
为了实现本申请实施例的第三节点侧的数据传输方法,本申请实施例还提供了一种数据传输装置,设置在第三节点上,如图9所示,该装置包括:
第二接收单元901,用于接收第一IPv6数据包;其中,
所述第一IPv6数据包中包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第三节点为所述第一转发路径的出口节点。
其中,在一实施例中,所述第一IPv6数据包通过SRv6转发;对应地,所述第一字段封装于所述第一IPv6数据包的SRH的TLV中。
在一实施例中,所述第一IPv6数据包用于性能测量;对应地,所述第一字段封装于所述第一IPv6数据包的IPv6扩展头中。
在一实施例中,所述第一字段封装于所述IPv6扩展头的逐跳选项头或目的选项头中。
在一实施例中,所述装置还包括:
第四发送单元,用于发送第一信息;其中,
在所述第三节点的可用带宽小于所述第一字段指示的最小可用带宽的情况下,所述第一信息为所述第三节点的可用带宽;在所述第三节点的可用带宽大于或等于所述第一字段指示的最小可用带宽的情况下,所述第一信息为所述第一字段指示的最小可用带宽。
在一实施例中,所述第四发送单元,用于:
向控制器发送所述第一信息;和/或,
向第一节点发送第二IPv6数据包;所述第二IPv6数据包中携带所述第一信息。
在一实施例中,所述第二IPv6数据包表征为以下一种或多种协议的性能测量响应消息:
STAMP、TWAMP、TWAMP Light、Ping以及Traceroute。
实际应用时,第二接收单元901和第四发送单元可由数据传输装置中的通信接口实现。
需要说明的是:上述实施例提供的数据传输装置在进行数据传输时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的数据传输装置与数据传输方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
基于上述程序模块的硬件实现,且为了实现本申请实施例第一节点侧的方法,本申请实施例还提供了一种第一节点,如图10所示,第一节点1000包括:
第一通信接口1001,能够与其他网络节点进行信息交互;
第一处理器1002,与所述第一通信接口1001连接,以实现与其他网络节点进行信息交互,用于运行计算机程序时,执行上述第一节点侧一个或多个技术方案提供的方法。而所述计算机程序存储在第一存储器1003上。
具体地,所述第一通信接口1001,用于发送第一IPv6数据包;其中,
所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第一节点为所述第一转发路径的头节点。
其中,在一实施例中,所述第一IPv6数据包通过SRv6转发;对应地,所述第一字段封装于所述第一IPv6数据包的SRH的TLV中。
在一实施例中,所述第一IPv6数据包用于性能测量;对应地,所述第一字段封装于所述第一IPv6数据包的IPv6扩展头中。
在一实施例中,所述第一字段封装于所述IPv6扩展头的跳跃逐跳选项头或目的选项头中。
在一实施例中,所述第一处理器1002,用于在发送所述第一IPv6数据包之前,将所述第一节点的可用带宽写入所述第一字段。
在一实施例中,所述第一通信接口1001,还用于接收第一信息;所述第一信息表征由第三节点反馈的所述第一转发路径的最小可用带宽;所述第三节点表征所述第一转发路径的出口节点;
所述第一处理器1002,用于基于所述第一信息,确定是否对所述SRv6策略中的主路径进行切换。
在一实施例中,所述第一处理器1002,用于在所述第一信息表征的所述第一转发路径的最小可用带宽小于设定带宽,或者在所述第一信息表征的所述第一转发路径的最小可用带宽小于业务流量所需带宽的情况下,对所述SRv6策略中的主路径进行切换。
在一实施例中,所述第一处理器1002,用于在所述SRv6策略中存在第二转发路径的情况下,将所述SRv6策略的主路径由所述第一转发路径切换为所述第二转发路径;其中,所述第二转发路径的最小可用带宽大于所述设定带宽或所述业务流量所需带宽;和/或,
所述第一通信接口1001,用于在所述SRv6策略中不存在第二转发路径的情况下,向控制器发送第一请求;所述第一请求用于请求进行转发路径重优化。
在一实施例中,所述第一通信接口1001,还用于接收控制器发送的第一指令;其中,
所述第一指令用于指示将切换所述SRv6策略的主路径由所述第一转发路径切换为第二转发路径。
需要说明的是:第一处理器1002和第一通信接口1001的具体处理过程可参照上述方法理解。
当然,实际应用时,第一节点1000中的各个组件通过总线系统1004耦合在一起。可理解,总线系统1004用于实现这些组件之间的连接通信。总线系统1004除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图10中将各种总线都标为总线系统1004。
本申请实施例中的第一存储器1003用于存储各种类型的数据以支持第一节点1000的操作。这些数据的示例包括:用于在第一节点1000上操作的任何计算机程序。
上述本申请实施例揭示的方法可以应用于所述第一处理器1002中,或者由所述第一处理器1002实现。所述第一处理器1002可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过所述第一处理器1002中的硬件的集成逻辑电路或者软件形式的指令完成。上述的所述第一处理器1002可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。所述第一处理器1002可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于第一存储器1003,所述第一处理器1002读取第一存储器1003中的信息,结合其硬件完成前述方法的步骤。
在示例性实施例中,第一节点1000可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或者其他电子元件实现,用于执行前述方法。
基于上述程序模块的硬件实现,且为了实现本申请实施例第二节点侧的方法,本申请实施例还提供了一种第二节点,如图11所示,该第二节点1100包括:
第二通信接口1101,能够与其他网络节点进行信息交互;
第二处理器1102,与所述第二通信接口1101连接,以实现与其他网络节点进行信息交互,用于运行计算机程序时,执行上述第二节点侧一个或多个技术方案提供的方法。而所述计算机程序存储在第二存储器1103上。
具体地,所述第二通信接口1101,用于接收第一IPv6数据包;其中,
所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第二节点为所述第一转发路径的中间节点。
其中,在一实施例中,所述第一IPv6数据包通过SRv6转发;对应地,所述第一字段封装于所述第一IPv6数据包的SRH的TLV中。
在一实施例中,所述第一IPv6数据包用于性能测量;对应地,所述第一字段封装于所述第一IPv6数据包的IPv6扩展头中。
在一实施例中,所述第一字段封装于所述IPv6扩展头的逐跳选项头或目的选项头中。
在一实施例中,所述第二通信接口1101,还用于转发所述第一IPv6数据包;其中,
所述第二处理器1102,用于在第三发送单元转发所述第一IPv6数据包之前,将所述第一字段指示的最小可用带宽与所述第二节点的可用带宽进行比较,得比较结果;在所述比较结果表征所述第二节点的可用带宽小于所述第一字段指示的最小可用带宽的情况下,将所述第二节点的可用带宽写入所述第一字段。
需要说明的是:第二处理器1102和第二通信接口1101的具体处理过程可参照上述方法理解。
当然,实际应用时,第二节点1100中的各个组件通过总线系统1104耦合在一起。可理解,总线系统1104用于实现这些组件之间的连接通信。总线系统1104除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图11中将各种总线都标为总线系统1104。
本申请实施例中的第二存储器1103用于存储各种类型的数据以支持第二节点1100操作。这些数据的示例包括:用于在第二节点1100上操作的任何计算机程序。
上述本申请实施例揭示的方法可以应用于所述第二处理器1102中,或者由所述第二处理器1102实现。所述第二处理器1102可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过所述第二处理器1102中的硬件的集成逻辑电路或者软件形式的指令完成。上述的所述第二处理器1102可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。所述第二处理器1102可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于第二存储器1103,所述第二处理器1102读取第二存储器1103中的信息,结合其硬件完成前述方法的步骤。
在示例性实施例中,第二节点1100可以被一个或多个ASIC、DSP、PLD、CPLD、FPGA、通用处理器、控制器、MCU、Microprocessor、或其他电子元件实现,用于执行前述方法。
基于上述程序模块的硬件实现,且为了实现本申请实施例第三节点侧的方法,本申请实施例还提供了一种第三节点,如图12所示,该第三节点1200包括:
第三通信接口1201,能够与其他网络节点进行信息交互;
第三处理器1202,与所述第三通信接口1201连接,以实现与其他网络节点进行信息交互,用于运行计算机程序时,执行上述第三节点侧一个或多个技术方案提供的方法。而所述计算机程序存储在第三存储器1203上。
具体地,所述第三通信接口1201,用于接收第一IPv6数据包;其中,
所述第一IPv6数据包中包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第三节点为所述第一转发路径的出口节点。
其中,在一实施例中,所述第一IPv6数据包通过SRv6转发;对应地,所述第一字段封装于所述第一IPv6数据包的SRH的TLV中。
在一实施例中,所述第一IPv6数据包用于性能测量;对应地,所述第一字段封装于所述第一IPv6数据包的IPv6扩展头中。
在一实施例中,所述第一字段封装于所述IPv6扩展头的逐跳选项头或目的选项头中。
在一实施例中,所述第三通信接口1201,还用于发送第一信息;其中,
在所述第三节点的可用带宽小于所述第一字段指示的最小可用带宽的情况下,所述第一信息为所述第三节点的最小可用带宽;在所述第三节点的可用带宽大于或等于所述第一字段指示的最小可用带宽的情况下,所述第一信息为所述第一字段指示的最小可用带宽。
在一实施例中,所述第三通信接口1201,还用于向控制器发送所述第一信息;和/或,
向第一节点发送第二IPv6数据包;所述第二IPv6数据包携带所述第一信息。
在一实施例中,所述第二IPv6数据包表征为以下一种或多种协议的性能测量响应消息:
STAMP、TWAMP、TWAMP Light、Ping以及Traceroute。
当然,实际应用时,第三节点1200中的各个组件通过总线系统1204耦合在一起。可理解,总线系统1204用于实现这些组件之间的连接通信。总线系统1204除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图12中将各种总线都标为总线系统1204。
本申请实施例中的第三存储器1203用于存储各种类型的数据以支持第三节点1200操作。这些数据的示例包括:用于在第三节点1200上操作的任何计算机程序。
上述本申请实施例揭示的方法可以应用于所述第三处理器1202中,或者由所述第三处理器1202实现。所述第三处理器1202可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过所述第三处理器1202中的硬件的集成逻辑电路或者软件形式的指令完成。上述的所述第三处理器1202可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。所述第三处理器1202可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于第三存储器1203,所述第三处理器1202读取第三存储器1203中的信息,结合其硬件完成前述方法的步骤。
在示例性实施例中,第三节点1200可以被一个或多个ASIC、DSP、PLD、CPLD、FPGA、通用处理器、控制器、MCU、Microprocessor、或其他电子元件实现,用于执行前述方法。
可以理解,本申请实施例的存储器(第一存储器1003、第二存储器1103、第三存储器1203)可以是易失性存储器或者非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
在示例性实施例中,本申请实施例还提供了一种存储介质,即计算机存储介质,具体为计算机可读存储介质,例如包括存储计算机程序的第一存储器1003,上述计算机程序可由第一节点1000的第一处理器1002执行,以完成前述第一节点侧方法所述步骤。再比如包括存储计算机程序的第二存储器1103,上述计算机程序可由第二节点1100的第二处理器1102执行,以完成前述第二节点侧方法所述步骤。再比如包括存储计算机程序的第三存储器1203,上述计算机程序可由第三节点1200的第三处理器1202执行,以完成前述第三节点侧方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器。
示例性地,本申请实施例还提供了一种计算机程序产品,包括计算机程序,所述计算机程序可由第一节点1000的第一处理器1002执行,以完成前述第一节点侧方法所述步骤。或者,所述计算机程序可由第二节点1100的第二处理器1102执行,以完成前述第二节点侧方法所述步骤。或者,所述计算机程序可由第三节点1200的第三处理器1202执行,以完成前述第三节点侧方法所述步骤。
需要说明的是:“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中术语“一种或多种”表示多个中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一种,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。
另外,本申请实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。
以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。
Claims (30)
- 一种数据传输方法,由第一节点执行,包括:发送第一IPv6数据包;其中,所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第一节点为所述第一转发路径的头节点。
- 根据权利要求1所述的方法,其中,所述第一IPv6数据包通过SRv6转发;对应地,所述第一字段封装于所述第一IPv6数据包的SRH的TLV中。
- 根据权利要求1所述的方法,其中,所述第一IPv6数据包用于性能测量;对应地,所述第一字段封装于所述第一IPv6数据包的IPv6扩展头中。
- 根据权利要求3所述的方法,其中,所述第一字段封装于所述IPv6扩展头的逐跳选项头或目的选项头中。
- 根据权利要求1所述的方法,其中,在发送所述第一IPv6数据包之前,所述方法还包括:将所述第一节点的可用带宽写入所述第一字段。
- 根据权利要求1至5任一项所述的方法,其中,所述方法还包括:接收第一信息;所述第一信息表征由第三节点反馈的所述第一转发路径的最小可用带宽;所述第三节点表征所述第一转发路径的出口节点;基于所述第一信息,确定是否对所述SRv6策略中的主路径进行切换。
- 根据权利要求6所述的方法,其中,基于所述第一信息,确定是否对所述SRv6策略中的主路径进行切换,包括:在所述第一信息表征的所述第一转发路径的最小可用带宽小于设定带宽,或者在所述第一信息表征的所述第一转发路径的最小可用带宽小于业务流量所需带宽的情况下,对所述SRv6策略中的主路径进行切换。
- 根据权利要求7所述的方法,其中,所述对所述SRv6策略中的主路径进行切换,包括:在所述SRv6策略中存在第二转发路径的情况下,将所述SRv6策略的主路径由所述第一转发路径切换为所述第二转发路径;其中,所述第二转发路径的最小可用带宽大于所述设定带宽或所述业务流量所需带宽;和/或,在所述SRv6策略中不存在第二转发路径的情况下,向控制器发送第一请求;所述第一请求用于请求进行转发路径重优化。
- 根据权利要求1至5任一项所述的方法,其中,所述方法还包括:接收控制器发送的第一指令;其中,所述第一指令用于指示切换所述SRv6策略的主路径。
- 一种数据传输方法,由第二节点执行,包括:接收第一IPv6数据包;其中,所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第二节点为所述第一转发路径的中间节点。
- 根据权利要求10所述的方法,其中,所述第一IPv6数据包通过SRv6转发;对应地,所述第一字段封装于所述第一IPv6数据包的SRH的TLV中。
- 根据权利要求10所述的方法,其中,所述第一IPv6数据包用于性能测量;对应地,所述第一字段封装于所述第一IPv6数据包的IPv6扩展头中。
- 根据权利要求12所述的方法,其中,所述第一字段封装于所述IPv6扩展头的逐跳选项头或目的选项头中。
- 根据权利要求10至13任一项所述的方法,其中,所述方法还包括:转发所述第一IPv6数据包;其中,在转发所述第一IPv6数据包之前,所述方法还包括:将所述第一字段指示的最小可用带宽与所述第二节点的可用带宽进行比较,得比较结果;在所述比较结果表征所述第二节点的可用带宽小于所述第一字段指示的最小可用带宽的情况下,将所述第二节点的可用带宽写入所述第一字段。
- 一种数据传输方法,由第三节点执行,包括:接收第一IPv6数据包;其中,所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第三节点为所述第一转发路径的出口节点。
- 根据权利要求15所述的方法,其中,所述第一IPv6数据包通过SRv6转发;对应地,所述第一字段封装于所述第一IPv6数据包的SRH的TLV中。
- 根据权利要求15所述的方法,其中,所述第一IPv6数据包用于性能测量;对应地,所述第一字段封装于所述第一IPv6数据包的IPv6扩展头中。
- 根据权利要求17所述的方法,其中,所述第一字段封装于所述IPv6扩展头的逐跳选项头或目的选项头中。
- 根据权利要求15至18任一项所述的方法,其中,所述方法还包括:发送第一信息;其中,在所述第三节点的可用带宽小于所述第一字段指示的最小可用带宽的情况下,所述第一信息为所述第三节点的可用带宽;在所述第三节点的可用带宽大于或等于所述第一字段指示的最小可用带宽的情况下,所述第一信息为所述第一字段指示的最小可用带宽。
- 根据权利要求19所述的方法,其中,所述发送第一信息,包括:向控制器发送所述第一信息;和/或,向第一节点发送第二IPv6数据包;所述第二IPv6数据包携带所述第一信息。
- 根据权利要求20所述的方法,其中,所述第二IPv6数据包表征为以下一种或多种协议的性能测量响应消息:STAMP、TWAMP、TWAMP Light、Ping以及Traceroute。
- 一种数据传输装置,包括:第一发送单元,用于发送第一IPv6数据包;其中,所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第一节点为所述第一转发路径的头节点。
- 一种数据传输装置,包括:第一接收单元,用于接收第一IPv6数据包:其中,所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第二节点为所述第一转发路径的中间节点。
- 一种数据传输装置,包括:第二接收单元,用于接收第一IPv6数据包:其中,所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第三节点为所述第一转发路径的出口节点。
- 一种第一节点,包括:第一处理器及第一通信接口;其中,所述第一通信接口,用于发送第一IPv6数据包;其中,所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第一节点为所述第一转发路径的头节点。
- 一种第二节点,包括:第二处理器及第二通信接口;其中,所述第二通信接口,用于接收第一IPv6数据包;其中,所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第二节点为所述第一转发路径的中间节点。
- 一种第三节点,包括:第三通信接口,用于接收第一IPv6数据包;其中,所述第一IPv6数据包包含第一字段;所述第一字段用于指示第一转发路径的最小可用带宽;所述第一转发路径表征SRv6策略中的主路径;所述第三节点为所述第一转发路径的出口节点。
- 一种节点,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行权利要求1至9任一项所述方法的步骤,或者,执行权利要求10至14任一项所述方法的步骤,或者,执行权利要求15至21任一项所述方法的步骤。
- 一种存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至9任一项所述方法的步骤,或者实现权利要求10至14任一项所述方法的步骤,或者实现权利要求15至21任一项所述方法的步骤。
- 一种计算机程序产品,包括计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至9任一项所述方法的步骤,或者实现权利要求10至14任一项所述方法的步骤,或者实现权利要求15至21任一项所述方法的步骤。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410371357.4 | 2024-03-28 | ||
| CN202410371357.4A CN118827526B (zh) | 2024-03-28 | 2024-03-28 | 数据传输方法、装置、节点、存储介质及计算机程序产品 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025201535A1 true WO2025201535A1 (zh) | 2025-10-02 |
Family
ID=93069264
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2025/085874 Pending WO2025201535A1 (zh) | 2024-03-28 | 2025-03-28 | 数据传输方法、装置、节点、存储介质及计算机程序产品 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN118827526B (zh) |
| WO (1) | WO2025201535A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118827526B (zh) * | 2024-03-28 | 2026-04-17 | 中国移动通信有限公司研究院 | 数据传输方法、装置、节点、存储介质及计算机程序产品 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101360046A (zh) * | 2008-08-08 | 2009-02-04 | 中兴通讯股份有限公司 | 一种带宽资源的节约方法 |
| CN105099938A (zh) * | 2014-05-13 | 2015-11-25 | 华为技术有限公司 | 网络中拥塞窗口的确定方法和装置 |
| CN112491926A (zh) * | 2020-12-11 | 2021-03-12 | 迈普通信技术股份有限公司 | SRv6路径质量测量方法、装置、电子设备及存储介质 |
| CN114679408A (zh) * | 2022-05-27 | 2022-06-28 | 湖南工商大学 | 路径切换感知的数据中心拥塞控制方法和系统 |
| CN118827526A (zh) * | 2024-03-28 | 2024-10-22 | 中国移动通信有限公司研究院 | 数据传输方法、装置、节点、存储介质及计算机程序产品 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9813259B2 (en) * | 2014-05-13 | 2017-11-07 | Cisco Technology, Inc. | Probing available bandwidth along a network path |
| CN114629843A (zh) * | 2020-12-11 | 2022-06-14 | 华为技术有限公司 | 一种报文处理方法及装置 |
| CN115348202B (zh) * | 2021-05-12 | 2025-02-11 | 中国移动通信有限公司研究院 | 基于网络切片的数据传输方法、装置、设备及存储介质 |
| CN116074395A (zh) * | 2021-11-02 | 2023-05-05 | 华为技术有限公司 | 一种报文发送方法及装置 |
| CN117643018A (zh) * | 2022-06-28 | 2024-03-01 | 新华三技术有限公司 | 报文处理 |
| CN117201392A (zh) * | 2023-07-26 | 2023-12-08 | 北京邮电大学 | 一种基于SRv6节点优先选择混合网络备份路由的方法 |
-
2024
- 2024-03-28 CN CN202410371357.4A patent/CN118827526B/zh active Active
-
2025
- 2025-03-28 WO PCT/CN2025/085874 patent/WO2025201535A1/zh active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101360046A (zh) * | 2008-08-08 | 2009-02-04 | 中兴通讯股份有限公司 | 一种带宽资源的节约方法 |
| CN105099938A (zh) * | 2014-05-13 | 2015-11-25 | 华为技术有限公司 | 网络中拥塞窗口的确定方法和装置 |
| CN112491926A (zh) * | 2020-12-11 | 2021-03-12 | 迈普通信技术股份有限公司 | SRv6路径质量测量方法、装置、电子设备及存储介质 |
| CN114679408A (zh) * | 2022-05-27 | 2022-06-28 | 湖南工商大学 | 路径切换感知的数据中心拥塞控制方法和系统 |
| CN118827526A (zh) * | 2024-03-28 | 2024-10-22 | 中国移动通信有限公司研究院 | 数据传输方法、装置、节点、存储介质及计算机程序产品 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118827526B (zh) | 2026-04-17 |
| CN118827526A (zh) | 2024-10-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12113882B2 (en) | IPv6 packet processing method and apparatus | |
| CN107342906B (zh) | 一种大象流的检测方法、设备及系统 | |
| US12604236B2 (en) | Information exchange and tunnel establishment methods, apparatuses, communication nodes, and storage medium | |
| CN112187647B (zh) | 报文转发方法、设备及计算机可读存储介质 | |
| WO2025201535A1 (zh) | 数据传输方法、装置、节点、存储介质及计算机程序产品 | |
| CN111726293A (zh) | 一种报文传输方法及装置 | |
| WO2025055402A1 (zh) | 报文转发方法、装置、电子设备和存储介质 | |
| CN113489640A (zh) | 报文转发方法、装置及网关系统 | |
| CN101156365B (zh) | 一种数据转发方法和用于转发数据的网元 | |
| WO2023078031A1 (zh) | 一种报文发送方法及装置 | |
| WO2026081877A1 (zh) | 一种路径调整方法及装置、通信设备、存储介质、程序产品 | |
| CN115604183B (zh) | 一种报文处理方法、装置、网络设备及存储介质 | |
| WO2022222884A1 (zh) | 转发路径的故障感知方法、装置及系统 | |
| WO2025152824A1 (zh) | 一种流量调度方法、装置、通信节点和存储介质 | |
| WO2025201380A1 (zh) | 通信方法、装置、存储介质、程序产品和通信设备 | |
| WO2025130576A1 (zh) | 数据传输方法、装置、相关设备及存储介质 | |
| WO2024164822A1 (zh) | 联合学习方法、装置、相关设备及存储介质 | |
| CN116566825B (zh) | 信息传输方法、装置、相关设备及存储介质 | |
| WO2024094072A1 (zh) | 信息传输方法、装置、网络节点及存储介质 | |
| WO2019223435A1 (zh) | 组播快速切换的方法、装置、设备及存储介质 | |
| CN118827496A (zh) | 数据处理方法、装置、设备和存储介质 | |
| CN116389356A (zh) | 一种跨可用区的通信方法及相关装置及云网络 | |
| CN118802763B (zh) | 负载分担方法、装置、网络节点、存储介质及计算机程序产品 | |
| CN118827525B (zh) | 备用路径生成方法、装置、设备、存储介质及程序产品 | |
| WO2024094082A1 (zh) | 一种信息传输方法、装置、节点及存储介质 |
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: 25776496 Country of ref document: EP Kind code of ref document: A1 |