[go: up one dir, main page]

CN118473968A - Message processing method, device, network equipment and storage medium - Google Patents

Message processing method, device, network equipment and storage medium Download PDF

Info

Publication number
CN118473968A
CN118473968A CN202310143079.2A CN202310143079A CN118473968A CN 118473968 A CN118473968 A CN 118473968A CN 202310143079 A CN202310143079 A CN 202310143079A CN 118473968 A CN118473968 A CN 118473968A
Authority
CN
China
Prior art keywords
message
flow
information
header
outer layer
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
Application number
CN202310143079.2A
Other languages
Chinese (zh)
Inventor
翁思俊
程伟强
姜文颖
颜宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication 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 China Mobile Communications Group Co Ltd, Research Institute of China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202310143079.2A priority Critical patent/CN118473968A/en
Publication of CN118473968A publication Critical patent/CN118473968A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/026Capturing of monitoring data using flow identification

Landscapes

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

Abstract

本申请公开了一种报文处理方法、装置、网络设备及存储介质,其中,方法包括:第一网络设备为第一报文封装外层报文头,得到第二报文;其中,所述第一报文表征需要进行随流检测的报文;所述外层报文头中至少承载有第一信息、所述第一报文对应的流标识以及第一设备标识;所述第一信息表征所述第一报文的随流检测信息;所述第一设备标识用于标识所述第一网络设备。

The present application discloses a message processing method, apparatus, network device and storage medium, wherein the method comprises: a first network device encapsulates an outer message header for a first message to obtain a second message; wherein the first message represents a message that needs to be detected along with the flow; the outer message header carries at least first information, a flow identifier corresponding to the first message and a first device identifier; the first information represents the along-flow detection information of the first message; the first device identifier is used to identify the first network device.

Description

报文处理方法、装置、网络设备及存储介质Message processing method, device, network equipment and storage medium

技术领域Technical Field

本申请涉及无线技术领域,尤其涉及一种报文处理方法、装置、网络设备及存储介质。The present application relates to the field of wireless technology, and in particular to a message processing method, apparatus, network equipment and storage medium.

背景技术Background Art

相关技术中,在裸IP(Native IP)场景下进行随流检测时,使用流标签(Flowlabel)字段携带质量检测信息,其中,通过流标识(Flow ID)来标识不同的业务流。然而,现阶段,流标识数量不足以支持业务种类及业务数量的爆炸式增长。In the related art, when performing flow detection in a native IP scenario, the flow label field is used to carry quality detection information, where different service flows are identified by flow IDs. However, at present, the number of flow IDs is insufficient to support the explosive growth of service types and the number of services.

发明内容Summary of the invention

为解决相关技术问题,本申请实施例提供一种报文处理方法、装置、网络设备及存储介质。In order to solve the related technical problems, the embodiments of the present application provide a message processing method, apparatus, network equipment and storage medium.

本申请实施例的技术方案是这样实现的:The technical solution of the embodiment of the present application is implemented as follows:

本申请实施例提供了一种报文处理方法,应用于第一网络设备,包括:The embodiment of the present application provides a message processing method, which is applied to a first network device, including:

为第一报文封装外层报文头,得到第二报文;其中,Encapsulate the outer message header of the first message to obtain the second message; wherein,

所述第一报文表征需要进行随流检测的报文;所述外层报文头中至少承载有第一信息、所述第一报文对应的流标识以及第一设备标识;所述第一信息表征所述第一报文的随流检测信息;所述第一设备标识用于标识所述第一网络设备。The first message represents a message that needs to be detected along the flow; the outer message header carries at least first information, a flow identifier corresponding to the first message, and a first device identifier; the first information represents the along-flow detection information of the first message; the first device identifier is used to identify the first network device.

其中,上述方案中,所述方法还包括:Wherein, in the above scheme, the method further comprises:

基于所述第一报文对应的转发路径,发送所述第二报文。The second message is sent based on the forwarding path corresponding to the first message.

上述方案中,所述流标识承载于所述外层报文头的流标签字段。In the above solution, the flow identifier is carried in the flow label field of the outer packet header.

上述方案中,所述流标识承载于所述外层报文头的流标签字段中的M个第一比特位中;所述流标签字段包括M个第一比特位和N个第二比特位;所述第二比特位用于承载所述第一报文的随流检测信息;所述M和N均为大于1的整数。In the above scheme, the flow identifier is carried in the M first bits in the flow label field of the outer message header; the flow label field includes M first bits and N second bits; the second bit is used to carry the flow detection information of the first message; and M and N are both integers greater than 1.

上述方案中,所述M个第一比特位表征为所述外层报文头的流标签字段中的最高或最低的M个相邻比特位。In the above solution, the M first bits are represented by the highest or lowest M adjacent bits in the flow label field of the outer packet header.

上述方案中,所述流标识由软件定义网络(SDN,Software Defined Network)控制器分配或者由所述第一网络设备基于所述第一报文的五元组信息生成。In the above solution, the flow identifier is allocated by a software defined network (SDN) controller or generated by the first network device based on the five-tuple information of the first message.

上述方案中,所述第一设备标识承载于所述外层报文头的源地址字段。In the above solution, the first device identifier is carried in the source address field of the outer message header.

上述方案中,所述第一设备标识承载于所述外层报文头的源地址字段的全部比特位中,或者承载于所述外层报文头的源地址字段的连续L个相邻比特位中;所述L为大于1的整数。In the above scheme, the first device identifier is carried in all bits of the source address field of the outer message header, or in L consecutive adjacent bits of the source address field of the outer message header; L is an integer greater than 1.

上述方案中,所述第一设备标识包括:In the above solution, the first device identifier includes:

所述第一网络设备的边界网关协议(BGP,Border Gateway Protocol)的路由标识;或者,a routing identifier of the Border Gateway Protocol (BGP) of the first network device; or

由SDN控制器基于全局分配下发的设定比特数量的二进制数值;或者,A binary value of a set number of bits issued by the SDN controller based on global allocation; or,

所述第一网络设备的IPv4和/或IPv6回环地址。The IPv4 and/or IPv6 loopback address of the first network device.

本申请实施例还提供了一种报文处理方法,应用于第二网络设备,包括:The embodiment of the present application further provides a message processing method, which is applied to a second network device, including:

接收第二报文;其中,Receive a second message; wherein,

所述第二报文由第一网络设备对第一报文封装外层报文头得到;所述第一报文表征需要进行随流检测的报文;所述外层报文头中至少承载有第一信息、所述第一报文对应的流标识以及第一设备标识;所述第一信息表征所述第一报文的随流检测信息;所述第一设备标识用于标识所述第一网络设备。The second message is obtained by encapsulating the first message with an outer message header by the first network device; the first message represents a message that needs to be detected along the flow; the outer message header carries at least first information, a flow identifier corresponding to the first message, and a first device identifier; the first information represents the along-flow detection information of the first message; the first device identifier is used to identify the first network device.

其中,上述方案中,所述方法还包括:Wherein, in the above scheme, the method further comprises:

向SDN控制器上报第二信息;其中,Reporting the second information to the SDN controller; wherein,

所述第二信息包括所述第二网络设备基于所述第一信息对所述第二报文的随流检测结果;所述第二信息还包括所述流标识及所述第一设备标识。The second information includes a flow detection result of the second message by the second network device based on the first information; the second information also includes the flow identifier and the first device identifier.

上述方案中,所述方法还包括:In the above solution, the method further comprises:

基于所述第一报文对应的转发路径,发送所述第二报文;或者,sending the second message based on the forwarding path corresponding to the first message; or,

解封装所述第二报文,得到所述第一报文。Decapsulate the second message to obtain the first message.

上述方案中,所述流标识承载于所述外层报文头的流标签字段。In the above solution, the flow identifier is carried in the flow label field of the outer packet header.

上述方案中,所述流标识承载于所述外层报文头的流标签字段中的M个第一比特位中;所述流标签字段包括M个第一比特位和N个第二比特位;所述第二比特位用于承载所述第一报文的随流检测信息;所述M和N均为大于1的整数。In the above scheme, the flow identifier is carried in the M first bits in the flow label field of the outer message header; the flow label field includes M first bits and N second bits; the second bit is used to carry the flow detection information of the first message; and M and N are both integers greater than 1.

上述方案中,所述M个第一比特位表征为所述外层报文头的流标签字段中的最高或最低的M个相邻比特位。In the above solution, the M first bits are represented by the highest or lowest M adjacent bits in the flow label field of the outer packet header.

上述方案中,所述第一设备标识承载于所述外层报文头的源地址字段。In the above solution, the first device identifier is carried in the source address field of the outer message header.

上述方案中,所述第一设备标识承载于所述外层报文头的源地址字段的全部比特位中,或者承载于所述外层报文头的源地址字段的连续L个相邻比特位中;所述L为大于1的整数。In the above scheme, the first device identifier is carried in all bits of the source address field of the outer message header, or in L consecutive adjacent bits of the source address field of the outer message header; L is an integer greater than 1.

本申请实施例还提供了一种报文处理装置,包括:The present application also provides a message processing device, including:

封装单元,用于为第一报文封装外层报文头,得到第二报文;其中,The encapsulation unit is used to encapsulate the outer message header of the first message to obtain the second message; wherein,

所述第一报文表征需要进行随流检测的报文;所述外层报文头中至少承载有第一信息、所述第一报文对应的流标识以及第一设备标识;所述第一信息表征所述第一报文的随流检测信息;所述第一设备标识用于标识所述第一网络设备。The first message represents a message that needs to be detected along the flow; the outer message header carries at least first information, a flow identifier corresponding to the first message, and a first device identifier; the first information represents the along-flow detection information of the first message; the first device identifier is used to identify the first network device.

本申请实施例还提供了一种报文处理装置,包括:The present application also provides a message processing device, including:

接收单元,用于接收第二报文;其中,A receiving unit, configured to receive a second message; wherein:

所述第二报文由第一网络设备对第一报文封装外层报文头得到;所述第一报文表征需要进行随流检测的报文;所述外层报文头中至少承载有第一信息、所述第一报文对应的流标识以及第一设备标识;所述第一信息表征所述第一报文的随流检测信息;所述第一设备标识用于标识所述第一网络设备。The second message is obtained by encapsulating the first message with an outer message header by the first network device; the first message represents a message that needs to be detected along the flow; the outer message header carries at least first information, a flow identifier corresponding to the first message, and a first device identifier; the first information represents the along-flow detection information of the first message; the first device identifier is used to identify the first network device.

本申请实施例还提供了一种第一网络设备,包括:第一处理器及第一通信接口;其中,The embodiment of the present application further provides a first network device, comprising: a first processor and a first communication interface; wherein,

所述第一处理器,用于为第一报文封装外层报文头,得到第二报文;其中,The first processor is used to encapsulate the outer message header for the first message to obtain a second message; wherein,

所述第一报文表征需要进行随流检测的报文;所述外层报文头中至少承载有第一信息、所述第一报文对应的流标识以及第一设备标识;所述第一信息表征所述第一报文的随流检测信息;所述第一设备标识用于标识所述第一网络设备。The first message represents a message that needs to be detected along the flow; the outer message header carries at least first information, a flow identifier corresponding to the first message, and a first device identifier; the first information represents the along-flow detection information of the first message; the first device identifier is used to identify the first network device.

本申请实施例还提供了一种第二网络设备,包括:第二处理器及第二通信接口;其中,The embodiment of the present application further provides a second network device, including: a second processor and a second communication interface; wherein,

所述第二通信接口,用于接收第二报文;其中,The second communication interface is used to receive a second message; wherein,

所述第二报文由第一网络设备对第一报文封装外层报文头得到;所述第一报文表征需要进行随流检测的报文;所述外层报文头中至少承载有第一信息、所述第一报文对应的流标识以及第一设备标识;所述第一信息表征所述第一报文的随流检测信息;所述第一设备标识用于标识所述第一网络设备。The second message is obtained by encapsulating the first message with an outer message header by the first network device; the first message represents a message that needs to be detected along the flow; the outer message header carries at least first information, a flow identifier corresponding to the first message, and a first device identifier; the first information represents the along-flow detection information of the first message; the first device identifier is used to identify the first network device.

本申请实施例还提供了一种第一网络设备,包括:第一处理器和用于存储能够在处理器上运行的计算机程序的第一存储器,The embodiment of the present application further provides a first network device, comprising: a first processor and a first memory for storing a computer program that can be run on the processor,

其中,所述第一处理器用于运行所述计算机程序时,执行上述第一网络设备侧任一方法的步骤。Wherein, when the first processor is used to run the computer program, it executes the steps of any one of the above-mentioned methods on the first network device side.

本申请实施例还提供了一种第二网络设备,包括:第二处理器和用于存储能够在处理器上运行的计算机程序的第二存储器,The embodiment of the present application further provides a second network device, comprising: a second processor and a second memory for storing a computer program that can be run on the processor,

其中,所述第二处理器用于运行所述计算机程序时,执行上述第二网络设备侧任一方法的步骤。Wherein, when the second processor is used to run the computer program, it executes the steps of any one of the above-mentioned methods on the second network device side.

本申请实施例还提供了一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述第一网络设备侧任一方法的步骤,或者实现上述第二网络设备侧任一方法的步骤。An embodiment of the present application further provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the computer program implements the steps of any of the above-mentioned methods on the first network device side, or implements the steps of any of the above-mentioned methods on the second network device side.

本申请实施例提供的报文处理方法、装置、网络设备及存储介质中,第一网络设备为要进行随流检测的第一报文封装外层报文头,得到第二报文。其中,所述外层报文头中至少承载有第一信息、所述第一报文对应的流标识以及用于标识所述第一网络设备的第一设备标识;所述第一信息表征所述第一报文的随流检测信息。上述方案中,将流标识与设备标识相结合,用于对业务流进行标识,使得随流检测能够支持更多的业务种类和业务数量。In the message processing method, apparatus, network device and storage medium provided in the embodiments of the present application, the first network device encapsulates the outer message header of the first message to be detected along the flow to obtain a second message. The outer message header carries at least first information, a flow identifier corresponding to the first message, and a first device identifier for identifying the first network device; the first information represents the along-flow detection information of the first message. In the above scheme, the flow identifier is combined with the device identifier to identify the service flow, so that the along-flow detection can support more service types and service quantities.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本申请实施例一种报文处理方法流程示意图;FIG1 is a schematic diagram of a message processing method according to an embodiment of the present application;

图2为本申请实施例一种SRv6 BE报文头示例的数据结构示意图;FIG2 is a schematic diagram of a data structure of an example of an SRv6 BE message header according to an embodiment of the present application;

图3为本申请实施例一种裸IP随流检测流程示意图;FIG3 is a schematic diagram of a naked IP flow detection process according to an embodiment of the present application;

图4为本申请实施例一种SRv6 BE报文头示例图;FIG4 is an example diagram of an SRv6 BE message header according to an embodiment of the present application;

图5为本申请实施例另一种报文处理方法流程示意图;FIG5 is a flow chart of another message processing method according to an embodiment of the present application;

图6为本申请实施例一种报文处理装置结构示意图;FIG6 is a schematic diagram of the structure of a message processing device according to an embodiment of the present application;

图7为本申请实施例另一种报文处理装置结构示意图;FIG7 is a schematic diagram of the structure of another message processing device according to an embodiment of the present application;

图8为本申请实施例第一网络设备结构示意图;FIG8 is a schematic diagram of the structure of a first network device according to an embodiment of the present application;

图9为本申请实施例第二网络设备结构示意图。FIG. 9 is a schematic diagram of the structure of the second network device according to an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

随着业务种类及业务数量的爆炸式增长,网络对服务级别协议(SLA,ServiceLevel Agreement)的需求多样,因此,更高质量地实现不同级别的SLA服务,以及更高精度地实现业务报文的转发变得至关重要。随流检测技术是一种直接和业务相关联的转发路径质量检测技术,该技术将业务报文的转发路径的质量检测信息携带在报文内,检测过程与业务报文的实际转发路径深度耦合,能够更为精确地对转发路径进行质量检测。With the explosive growth of business types and business numbers, the network has diverse requirements for service level agreements (SLAs). Therefore, it is crucial to achieve different levels of SLA services with higher quality and to forward business messages with higher accuracy. Flow detection technology is a forwarding path quality detection technology directly related to the business. This technology carries the quality detection information of the forwarding path of the business message in the message. The detection process is deeply coupled with the actual forwarding path of the business message, which can more accurately detect the quality of the forwarding path.

对于互联网协议第4版(IPv4,Internet Protocol Version 4)报文和互联网协议第6版(IPv6,Internet Protocol Version 6)报文,报文格式固定,报文格式中的保留位不足以支持随流检测,因此,相关技术采用外层报文头封装的方式,不对内层原始报文头进行修改,这样,网络侧对转发路径的质量检测不会影响内层的业务报文。实际应用时,为了在提高转发性能的同时区分不同业务报文,采用了流标识,每个流标识用于唯一地标识一个业务流。此外,为了实现裸IP场景下的随流检测,“流标签”字段的高4位被用以携带质量检测信息,同处于流标签字段的流标识比特位缩减为16比特,这样,理论上,可通过流标识支持65535条不同的业务流。For Internet Protocol Version 4 (IPv4) and Internet Protocol Version 6 (IPv6) messages, the message format is fixed, and the reserved bits in the message format are not sufficient to support flow detection. Therefore, the relevant technology adopts the outer message header encapsulation method and does not modify the inner original message header. In this way, the quality detection of the forwarding path on the network side will not affect the inner service message. In actual application, in order to improve the forwarding performance while distinguishing different service messages, flow identifiers are used. Each flow identifier is used to uniquely identify a service flow. In addition, in order to realize flow detection in the bare IP scenario, the upper 4 bits of the "flow label" field are used to carry quality detection information, and the flow identifier bits in the flow label field are reduced to 16 bits. In this way, in theory, 65,535 different service flows can be supported by flow identifiers.

然而,出于业务报文来向不明确以及转发路径多等原因,上万台的网络边缘设备都需要使能随流检测技术,并利用流标识来区分的不同的业务流。同时,为了具有更高的检测精度,也为了解决无法识别头、尾节点转发设备内部不同转发板带来的时延差异,流标识需按接口进行分配,也就是,同一设备的不同接口上的业务报文需采用不同的流标识,这使得网络边缘转发设备所需的流标识数量将按照所涉及的接口数成倍数增加。综上,目前的流标识数量不足以支持业务种类及业务数量的爆炸式增长。However, due to the unclear direction of service messages and the multiple forwarding paths, tens of thousands of network edge devices need to enable flow detection technology and use flow identifiers to distinguish different service flows. At the same time, in order to have higher detection accuracy and to solve the problem of being unable to identify the latency differences caused by different forwarding boards inside the head and tail node forwarding devices, flow identifiers need to be allocated by interface, that is, service messages on different interfaces of the same device need to use different flow identifiers, which makes the number of flow identifiers required for network edge forwarding devices increase exponentially according to the number of interfaces involved. In summary, the current number of flow identifiers is insufficient to support the explosive growth in the types and number of services.

基于此,在本申请的各实施例中,第一网络设备为要进行随流检测的第一报文封装外层报文头,得到第二报文。其中,所述外层报文头中至少承载有第一信息、所述第一报文对应的流标识以及用于标识所述第一网络设备的第一设备标识;所述第一信息表征所述第一报文的随流检测信息。上述方案中,将流标识与设备标识相结合,用于对业务流进行标识,使得随流检测能够支持更多的业务种类和业务数量。Based on this, in each embodiment of the present application, the first network device encapsulates the outer message header of the first message to be detected along the flow to obtain a second message. The outer message header carries at least the first information, the flow identifier corresponding to the first message, and the first device identifier for identifying the first network device; the first information represents the along-flow detection information of the first message. In the above scheme, the flow identifier is combined with the device identifier to identify the service flow, so that the along-flow detection can support more service types and service quantities.

下面结合附图及实施例对本申请再作进一步详细的描述。The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.

本申请实施例提供了一种报文处理方法,应用于第一网络设备,参照图1,方法包括:The present application embodiment provides a message processing method, which is applied to a first network device. Referring to FIG. 1 , the method includes:

步骤101:为第一报文封装外层报文头,得到第二报文。Step 101: encapsulate an outer message header for a first message to obtain a second message.

其中,所述第一报文表征需要进行随流检测的报文;所述外层报文头中至少承载有第一信息、所述第一报文对应的流标识以及第一设备标识;所述第一信息表征所述第一报文的随流检测信息;所述第一设备标识用于标识所述第一网络设备。Among them, the first message represents a message that needs to be detected along the flow; the outer message header carries at least first information, a flow identifier corresponding to the first message, and a first device identifier; the first information represents the along-flow detection information of the first message; and the first device identifier is used to identify the first network device.

在本申请实施例中,外层报文头中封装有第一报文对应的流标识及第一设备标识,这样,在报文转发过程中,可以结合外层报文头中封装的流标识及第一设备标识来唯一地确定业务流。换句话说,即使两台网络设备的流标识重复了,但是由于不同网络设备的设备标识不同,因此,仍然可以实现不同业务流的区分,从而解决了流标识对业务种类及业务数量不支持的技术问题。In the embodiment of the present application, the outer message header encapsulates the flow identifier and the first device identifier corresponding to the first message, so that in the message forwarding process, the service flow can be uniquely determined by combining the flow identifier and the first device identifier encapsulated in the outer message header. In other words, even if the flow identifiers of two network devices are repeated, since the device identifiers of different network devices are different, it is still possible to distinguish different service flows, thereby solving the technical problem that the flow identifier does not support the type and number of services.

例如,网络设备1和网络设备2封装的流标识均为“100”,但是,结合网络设备1的设备标识“Device IP:1.1.1.1”,网络设备2的设备标识“Device IP:2.2.2.2”,能够区分出不同的业务流。For example, the flow identifiers encapsulated by network device 1 and network device 2 are both "100", but different service flows can be distinguished by combining the device identifier "Device IP:1.1.1.1" of network device 1 and the device identifier "Device IP:2.2.2.2" of network device 2.

在一实施例中,所述方法还包括:In one embodiment, the method further comprises:

基于所述第一报文对应的转发路径,发送所述第二报文。The second message is sent based on the forwarding path corresponding to the first message.

实际应用时,在公众互联网中,一般采用裸IP的形式转发业务报文,当报文需要做随流检测时,为该报文封装外层报文头,并将随流检测信息封装在该外层报文头中。这里,外层报文头包括但不限于SRv6 BE报文头、IPv6报文头等。在本申请实施例中,以SRv6 BE报文头为例对方案进行说明,其他的外层报文头封装方案可相应参照。In actual application, in the public Internet, service messages are generally forwarded in the form of naked IP. When a message needs to be detected along with the flow, an outer message header is encapsulated for the message, and the along-flow detection information is encapsulated in the outer message header. Here, the outer message header includes but is not limited to the SRv6 BE message header, the IPv6 message header, etc. In the embodiment of the present application, the SRv6 BE message header is used as an example to illustrate the scheme, and other outer message header encapsulation schemes can be referred to accordingly.

在一实施例中,所述流标识承载于所述外层报文头的流标签字段。In one embodiment, the flow identifier is carried in a flow label field of the outer packet header.

进一步地,在一实施例中,所述流标识承载于所述外层报文头的流标签字段中的M个第一比特位中;所述流标签字段包括M个第一比特位和N个第二比特位;所述第二比特位用于承载所述第一报文的随流检测信息;所述M和N均为大于1的整数。Further, in one embodiment, the flow identifier is carried in the M first bits in the flow label field of the outer message header; the flow label field includes M first bits and N second bits; the second bit is used to carry the flow detection information of the first message; and M and N are both integers greater than 1.

可选地,所述M个第一比特位表征为所述外层报文头的流标签字段中的最高或最低的M个相邻比特位。Optionally, the M first bits are represented by the highest or lowest M adjacent bits in the flow label field of the outer packet header.

在一实施例中,所述流标识由SDN控制器分配或者由所述第一网络设备基于所述第一报文的五元组信息生成。In one embodiment, the flow identifier is allocated by an SDN controller or generated by the first network device based on quintuple information of the first message.

进一步地,在一实施例中,所述第一设备标识承载于所述外层报文头的源地址字段。Furthermore, in one embodiment, the first device identifier is carried in a source address field of the outer message header.

实际应用时,利用外层报文头的源IPv6地址,即Device IP来唯一标识第一网络设备。In actual application, the source IPv6 address of the outer packet header, ie, the Device IP, is used to uniquely identify the first network device.

可选地,所述第一设备标识承载于所述外层报文头的源地址字段的全部比特位中,或者承载于所述外层报文头的源地址字段的连续L个相邻比特位中;所述L为大于1的整数。Optionally, the first device identifier is carried in all bits of the source address field of the outer message header, or in L consecutive adjacent bits of the source address field of the outer message header; L is an integer greater than 1.

在一实施例中,所述第一设备标识包括:In one embodiment, the first device identifier includes:

所述第一网络设备的BGP的路由标识;或者,a BGP routing identifier of the first network device; or

由SDN控制器基于全局分配下发的设定比特数量的二进制数值转化生成的IPv6地址;或者,An IPv6 address generated by converting a binary value of a set number of bits issued by the SDN controller based on global allocation; or,

所述第一网络设备的IPv4和/或IPv6回环地址。The IPv4 and/or IPv6 loopback address of the first network device.

以下通过具体示例来对本申请实施例进行说明。The embodiments of the present application are described below through specific examples.

在初始的SRv6 BE报文头数据结构的基础上,图2示出了携带了随流检测信息的一种SRv6 BE报文头示例的数据结构示意图。可以看出,携带有随流检测信息的字段主要集中在Traffic class和流标签两个字段区域上;用于区分不同业务流的字段主要集中在源地址(Source address)和流标签两个字段区域上。Based on the initial SRv6 BE header data structure, Figure 2 shows a data structure diagram of an SRv6 BE header example that carries flow detection information. It can be seen that the fields that carry flow detection information are mainly concentrated in the two field areas of Traffic class and flow label; the fields used to distinguish different service flows are mainly concentrated in the two field areas of source address (Source address) and flow label.

其中,随流检测标志位(F)和随流检测模式位(E)主要部署在Traffic class字段,各占1比特(bit);随流检测信息,包括丢包(L)、时延(D)和检测周期(P)主要部署于流标签字段,共占用4比特,其中,检测周期(P)占用2比特。可选地,这4比特信息可以位于流标签字段的最高相邻4比特或最低相邻4比特,并且丢包(L)、时延(D)和检测周期(P)在流标签字段中的比特位置不作限定,这三类随流检测信息之间在流标签字段中的位置顺序也不作限定,仅要求检测周期(P)占用的2比特必须相邻。Among them, the flow detection flag bit (F) and the flow detection mode bit (E) are mainly deployed in the Traffic class field, each occupying 1 bit; the flow detection information, including packet loss (L), delay (D) and detection period (P), is mainly deployed in the flow label field, occupying a total of 4 bits, of which the detection period (P) occupies 2 bits. Optionally, these 4 bits of information can be located in the highest adjacent 4 bits or the lowest adjacent 4 bits of the flow label field, and the bit positions of packet loss (L), delay (D) and detection period (P) in the flow label field are not limited, and the position order of these three types of flow detection information in the flow label field is also not limited, only requiring that the 2 bits occupied by the detection period (P) must be adjacent.

实际应用时,当随流检测标志位(F)置1,表征报文为需要进行随流检测的报文,此时,在流标签字段,除去丢包(L)、时延(D)和检测周期(P)占用的4比特,剩余16比特用于承载流标识,且在单个转发设备内,流标识的取值需保证唯一,以明确区分不同的业务流。In actual application, when the flow detection flag (F) is set to 1, it indicates that the message is a message that needs to be detected. At this time, in the flow label field, excluding the 4 bits occupied by packet loss (L), delay (D) and detection period (P), the remaining 16 bits are used to carry the flow identifier. In a single forwarding device, the value of the flow identifier must be guaranteed to be unique to clearly distinguish different service flows.

在源地址字段,将外层报文头的源IP地址的全128比特或部分低比特位用于承载第一设备标识(Device IP),用于标识第一网络设备,且Device IP应确保全网唯一。这里,以使用低32位为示例,如图3所示,第一设备标识可以为以下任一;In the source address field, all 128 bits or part of the low bits of the source IP address of the outer packet header are used to carry the first device identifier (Device IP) to identify the first network device, and the Device IP should be unique in the entire network. Here, taking the use of the lower 32 bits as an example, as shown in Figure 3, the first device identifier can be any of the following;

由所述第一网络设备的BGP的路由标识转化生成的IPv6地址;或者,An IPv6 address generated by converting the BGP routing identifier of the first network device; or

由SDN控制器基于全局分配下发的32位二进制数值转化生成的IPv6地址;或者,An IPv6 address generated by converting a 32-bit binary value issued by the SDN controller based on global allocation; or,

所述第一网络设备的IPv6回环地址。The IPv6 loopback address of the first network device.

在由SDN控制器基于全局分配下发的32位二进制数值转化生成IPv6地址的情况下,对应的SRv6 BE报文封装的源IPv6地址由该32位二进制数值转化生成,同时,为了防止下游网络设备对报文过滤导致丢包,转发报文的网络设备应对外发布对应的IPv6路由。When the SDN controller converts the 32-bit binary value issued based on global allocation to generate an IPv6 address, the corresponding source IPv6 address encapsulated in the SRv6 BE message is converted and generated by the 32-bit binary value. At the same time, in order to prevent the downstream network device from filtering the message and causing packet loss, the network device forwarding the message should publish the corresponding IPv6 route externally.

在使用IPv6回环(loop back)地址作为第一设备标识的情况下,该IPv6回环地址应确保低32比特全网唯一,以确保第一设备标识全网唯一。When an IPv6 loopback address is used as the first device identifier, the lower 32 bits of the IPv6 loopback address should be ensured to be unique throughout the entire network, so as to ensure that the first device identifier is unique throughout the entire network.

接下来进一步举例,说明采用本申请实施例封装外层报文头后,对应的裸IP随流检测流程。Next, further examples are given to illustrate the corresponding naked IP flow detection process after the outer packet header is encapsulated using the embodiment of the present application.

参见图3,首先,SDN控制器通过Netconf下发基本的配置信息,并为需要进行随流检测的报文进行引流及封装。此外,SDN控制器还和网络侧边缘设备建立BGP flow对等体(peer),从而下发基于业务源、目的网段的重定向Flow spec信息。As shown in Figure 3, first, the SDN controller sends basic configuration information through Netconf, and diverts and encapsulates the packets that need to be detected. In addition, the SDN controller also establishes a BGP flow peer with the network edge device to send redirection Flow spec information based on the service source and destination network segment.

其次,随流检测的头节点设备,也即IP承载网的边缘设备,根据Flow spec配置信息重定向报文,并对报文进行SRv6 BE报文头封装。SRv6 BE报文头封装的示例如图4所示,其中,随流检测标志位(F)置1,表明该报文为需要进行随流检测的报文;随流检测模式采用逐点检测模式;丢包(L)、时延(D)和检测周期(P)对应的比特位根据SDN控制器下发的配置信息进行对应的标记,并记录相应的时间戳,便于随流检测信息上送SDN控制器时确定对应的检测时间;流标识根据内层报文的五元组信息生成,或者,由转发设备自行生成,或者,由SDN控制器统一分配下发;设备标识使用的是报文源IP地址的后32位。Secondly, the head node device of the flow detection, that is, the edge device of the IP bearer network, redirects the message according to the Flow spec configuration information and encapsulates the message with the SRv6 BE message header. An example of SRv6 BE message header encapsulation is shown in Figure 4, where the flow detection flag (F) is set to 1, indicating that the message is a message that needs to be detected; the flow detection mode adopts the point-by-point detection mode; the bits corresponding to the packet loss (L), delay (D) and detection period (P) are marked according to the configuration information sent by the SDN controller, and the corresponding timestamp is recorded to facilitate the determination of the corresponding detection time when the flow detection information is sent to the SDN controller; the flow identifier is generated according to the five-tuple information of the inner layer message, or it is generated by the forwarding device itself, or it is uniformly allocated and issued by the SDN controller; the device identifier uses the last 32 bits of the source IP address of the message.

随流检测的头节点设备在对报文进行SRv6 BE报文头封装后,将报文按照转发路径进行转发。之后,在IP承载网中负责报文转发的中间网络设备,也即随流检测的中间节点,根据外层报文头中携带的随流检测信息做相关检测,并将收集到的检测数据上送SDN控制器。这里,中间网络设备上送SDN控制器的除了随流检测的检测结果,还应包括流标识和设备标识,这样,可以基于流标识和设备标识共同标识一条业务流。After encapsulating the message with the SRv6 BE message header, the head node device of the flow detection forwards the message according to the forwarding path. Afterwards, the intermediate network device responsible for message forwarding in the IP bearer network, that is, the intermediate node of the flow detection, performs relevant detection based on the flow detection information carried in the outer message header, and sends the collected detection data to the SDN controller. Here, in addition to the detection results of the flow detection, the intermediate network device should also send the flow identifier and device identifier to the SDN controller, so that a service flow can be jointly identified based on the flow identifier and device identifier.

此后,当报文转发至IP承载网另一侧,也即随流检测的尾节点设备,一方面,尾节点设备需要进行与中间网络设备相同的随流检测相关操作,另一方面,尾节点设备还需要应解除由头节点设备封装的SRv6 BE报文头,并通过查询内层原始报文,完成后续转发。After that, when the message is forwarded to the other side of the IP bearer network, that is, the tail node device for flow detection, on the one hand, the tail node device needs to perform the same flow detection-related operations as the intermediate network device; on the other hand, the tail node device also needs to remove the SRv6 BE message header encapsulated by the head node device and complete subsequent forwarding by querying the inner original message.

最终,SDN控制器通过收集并处理的每个网络设备上送的随流检测结果以及与随流检测结果同时上送的流标识和设备标识等信息,实现针对某条业务流的随流检测。Finally, the SDN controller implements the flow detection for a certain service flow by collecting and processing the flow detection results sent by each network device and the flow identifier and device identifier information sent simultaneously with the flow detection results.

对应地,本申请实施例还提供了一种报文处理方法,应用于第二网络设备。这里,第二网络设备可以为IP承载网中负责报文转发的中间网络设备,即随流检测的的中间网络设备,或者,还可以为随流检测的尾节点设备。参见图5,该方法包括:Correspondingly, the embodiment of the present application also provides a message processing method, which is applied to a second network device. Here, the second network device can be an intermediate network device responsible for message forwarding in the IP bearer network, that is, an intermediate network device for flow detection, or it can also be an end node device for flow detection. Referring to Figure 5, the method includes:

步骤501:接收第二报文。Step 501: Receive a second message.

其中,所述第二报文由第一网络设备对第一报文封装外层报文头得到;所述第一报文表征需要进行随流检测的报文;所述外层报文头中至少承载有第一信息、所述第一报文对应的流标识以及第一设备标识;所述第一信息表征所述第一报文的随流检测信息;所述第一设备标识用于标识所述第一网络设备。Among them, the second message is obtained by the first network device encapsulating the first message with an outer message header; the first message represents a message that needs to be detected along the flow; the outer message header carries at least first information, a flow identifier corresponding to the first message, and a first device identifier; the first information represents the along-flow detection information of the first message; and the first device identifier is used to identify the first network device.

其中,在一实施例中,所述方法还包括:In one embodiment, the method further comprises:

向SDN控制器上报第二信息;其中,Reporting the second information to the SDN controller; wherein,

所述第二信息包括所述第二网络设备基于所述第一信息对所述第二报文的随流检测结果,还包括所述流标识和所述第一设备标识。The second information includes a flow detection result of the second message by the second network device based on the first information, and also includes the flow identifier and the first device identifier.

在一实施例中,所述方法还包括:In one embodiment, the method further comprises:

基于所述第一报文对应的转发路径,发送所述第二报文;或者,sending the second message based on the forwarding path corresponding to the first message; or,

解封装所述第二报文,得到所述第一报文。Decapsulate the second message to obtain the first message.

在一实施例中,所述流标识承载于所述外层报文头的流标签字段。In one embodiment, the flow identifier is carried in a flow label field of the outer packet header.

在一实施例中,所述流标识承载于所述外层报文头的流标签字段中的M个第一比特位中;所述流标签字段包括M个第一比特位和N个第二比特位;所述第二比特位用于承载所述第一报文的随流检测信息;所述M和N均为大于1的整数。In one embodiment, the flow identifier is carried in the M first bits in the flow label field of the outer message header; the flow label field includes M first bits and N second bits; the second bit is used to carry the flow detection information of the first message; and M and N are both integers greater than 1.

在一实施例中,所述M个第一比特位表征为所述外层报文头的流标签字段中的最高或最低的M个相邻比特位。In one embodiment, the M first bits are represented by the highest or lowest M adjacent bits in the flow label field of the outer packet header.

在一实施例中,所述第一设备标识承载于所述外层报文头的源地址字段。In one embodiment, the first device identifier is carried in a source address field of the outer message header.

在一实施例中,所述第一设备标识承载于所述外层报文头的源地址字段的全部比特位中,或者承载于所述外层报文头的源地址字段的连续L个相邻比特位中;所述L为大于1的整数。In one embodiment, the first device identifier is carried in all bits of the source address field of the outer message header, or in L consecutive adjacent bits of the source address field of the outer message header; L is an integer greater than 1.

本申请实施例中,通过在裸IP业务报文外层封装外层报文头,利用外层报文头中的Traffic class字段、流标签字段以及源地址字段等字段区域来携带随流检测信息,以及携带流标识及设备标识,将流标识与设备标识结合对报文对应的业务流进行唯一标识,从而使得对业务报文的随流检测能够适应于更大规模的公众IP承载网络。In the embodiment of the present application, an outer message header is encapsulated in the outer layer of a bare IP service message, and field areas such as a Traffic class field, a flow label field, and a source address field in the outer message header are used to carry flow detection information, as well as a flow identifier and a device identifier. The flow identifier and the device identifier are combined to uniquely identify the service flow corresponding to the message, thereby enabling flow detection of service messages to be adapted to a larger-scale public IP bearer network.

为了实现本申请实施例第一网络设备侧的报文处理方法,本申请实施例还提供了一种报文处理装置,设置在第一网络设备上,如图6所示,该装置包括:In order to implement the message processing method on the first network device side of the embodiment of the present application, the embodiment of the present application further provides a message processing device, which is arranged on the first network device. As shown in FIG6 , the device includes:

封装单元601,用于为第一报文封装外层报文头,得到第二报文;其中,The encapsulation unit 601 is used to encapsulate the outer message header of the first message to obtain a second message; wherein,

所述第一报文表征需要进行随流检测的报文;所述外层报文头中至少承载有第一信息、所述第一报文对应的流标识以及第一设备标识;所述第一信息表征所述第一报文的随流检测信息;所述第一设备标识用于标识所述第一网络设备。The first message represents a message that needs to be detected along the flow; the outer message header carries at least first information, a flow identifier corresponding to the first message, and a first device identifier; the first information represents the along-flow detection information of the first message; the first device identifier is used to identify the first network device.

其中,在一实施例中,所述装置还包括:In one embodiment, the device further comprises:

第一发送单元,用于基于所述第一报文对应的转发路径,发送所述第二报文。The first sending unit is used to send the second message based on the forwarding path corresponding to the first message.

在一实施例中,所述流标识承载于所述外层报文头的流标签字段。In one embodiment, the flow identifier is carried in a flow label field of the outer packet header.

在一实施例中,所述流标识承载于所述外层报文头的流标签字段中的M个第一比特位中;所述流标签字段包括M个第一比特位和N个第二比特位;所述第二比特位用于承载所述第一报文的随流检测信息;所述M和N均为大于1的整数。In one embodiment, the flow identifier is carried in the M first bits in the flow label field of the outer message header; the flow label field includes M first bits and N second bits; the second bit is used to carry the flow detection information of the first message; and M and N are both integers greater than 1.

在一实施例中,所述M个第一比特位表征为所述外层报文头的流标签字段中的最高或最低的M个相邻比特位。In one embodiment, the M first bits are represented by the highest or lowest M adjacent bits in the flow label field of the outer packet header.

在一实施例中,所述流标识由SDN控制器分配或者由所述第一网络设备基于所述第一报文的五元组信息生成。In one embodiment, the flow identifier is allocated by an SDN controller or generated by the first network device based on quintuple information of the first message.

在一实施例中,所述第一设备标识承载于所述外层报文头的源地址字段。In one embodiment, the first device identifier is carried in a source address field of the outer message header.

在一实施例中,所述第一设备标识承载于所述外层报文头的源地址字段的全部比特位中,或者承载于所述外层报文头的源地址字段的连续L个相邻比特位中;所述L为大于1的整数。In one embodiment, the first device identifier is carried in all bits of the source address field of the outer message header, or in L consecutive adjacent bits of the source address field of the outer message header; L is an integer greater than 1.

在一实施例中,所述第一设备标识包括:In one embodiment, the first device identifier includes:

所述第一网络设备的BGP的路由标识;或者,a BGP routing identifier of the first network device; or

由SDN控制器基于全局分配下发的设定比特数量的二进制数值转化生成的IPv6地址;或者,An IPv6 address generated by converting a binary value of a set number of bits issued by the SDN controller based on global allocation; or,

所述第一网络设备的IPv4和/或IPv6回环地址。The IPv4 and/or IPv6 loopback address of the first network device.

实际应用时,所述封装单元601可由报文处理装置中的处理器实现;所述第一发送单元可由报文处理装置中的通信接口实现。In actual application, the encapsulation unit 601 can be implemented by a processor in a message processing device; the first sending unit can be implemented by a communication interface in the message processing device.

为了实现本申请实施例第二网络设备侧的报文处理方法,本申请实施例还提供了一种报文处理装置,设置在第一网络设备上,如图7所示,该装置包括:In order to implement the message processing method on the second network device side of the embodiment of the present application, the embodiment of the present application further provides a message processing device, which is arranged on the first network device. As shown in FIG. 7 , the device includes:

接收单元701,用于接收第二报文;其中,The receiving unit 701 is used to receive a second message; wherein:

所述第二报文由第一网络设备对第一报文封装外层报文头得到;所述第一报文表征需要进行随流检测的报文;所述外层报文头中至少承载有第一信息、所述第一报文对应的流标识以及第一设备标识;所述第一信息表征所述第一报文的随流检测信息;所述第一设备标识用于标识所述第一网络设备。The second message is obtained by encapsulating the first message with an outer message header by the first network device; the first message represents a message that needs to be detected along the flow; the outer message header carries at least first information, a flow identifier corresponding to the first message, and a first device identifier; the first information represents the along-flow detection information of the first message; the first device identifier is used to identify the first network device.

其中,在一实施例中,所述装置还包括:In one embodiment, the device further comprises:

第二发送单元,用于向SDN控制器上报第二信息;其中,The second sending unit is used to report the second information to the SDN controller; wherein,

所述第二信息包括所述第二网络设备基于所述第一信息对所述第二报文的随流检测结果;所述第二信息还包括所述流标识及所述第一设备标识。The second information includes a flow detection result of the second message by the second network device based on the first information; the second information also includes the flow identifier and the first device identifier.

在一实施例中,所述装置还包括:In one embodiment, the device further comprises:

第三发送单元,用于基于所述第一报文对应的转发路径,发送所述第二报文;或者,a third sending unit, configured to send the second message based on the forwarding path corresponding to the first message; or

解封装单元,用于解封装所述第二报文,得到所述第一报文。A decapsulation unit is used to decapsulate the second message to obtain the first message.

在一实施例中,所述流标识承载于所述外层报文头的流标签字段。In one embodiment, the flow identifier is carried in a flow label field of the outer packet header.

在一实施例中,所述流标识承载于所述外层报文头的流标签字段中的M个第一比特位中;所述流标签字段包括M个第一比特位和N个第二比特位;所述第二比特位用于承载所述第一报文的随流检测信息;所述M和N均为大于1的整数。In one embodiment, the flow identifier is carried in the M first bits in the flow label field of the outer message header; the flow label field includes M first bits and N second bits; the second bit is used to carry the flow detection information of the first message; and M and N are both integers greater than 1.

在一实施例中,所述M个第一比特位表征为所述外层报文头的流标签字段中的最高或最低的M个相邻比特位。In one embodiment, the M first bits are represented by the highest or lowest M adjacent bits in the flow label field of the outer packet header.

在一实施例中,所述第一设备标识承载于所述外层报文头的源地址字段。In one embodiment, the first device identifier is carried in a source address field of the outer message header.

在一实施例中,所述第一设备标识承载于所述外层报文头的源地址字段的全部比特位中,或者承载于所述外层报文头的源地址字段的连续L个相邻比特位中;所述L为大于1的整数。In one embodiment, the first device identifier is carried in all bits of the source address field of the outer message header, or in L consecutive adjacent bits of the source address field of the outer message header; L is an integer greater than 1.

实际应用时,所述接收单元701、第二发送单元和第三发送单元可由报文处理装置中的通信接口实现,所述解封装单元可由报文处理装置中的处理器实现。In actual application, the receiving unit 701, the second sending unit and the third sending unit can be implemented by a communication interface in the message processing device, and the decapsulation unit can be implemented by a processor in the message processing device.

需要说明的是:上述实施例提供的报文处理装置在进行报文处理时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的报文处理装置与报文处理方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the message processing device provided in the above embodiment performs message processing, only the division of the above program modules is used as an example. In actual application, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the message processing device provided in the above embodiment and the message processing method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

基于上述程序模块的硬件实现,且为了实现本申请实施例第一网络设备侧的方法,本申请实施例还提供了一种第一网络设备,如图8所示,第一网络设备800包括:Based on the hardware implementation of the above program module, and in order to implement the method on the first network device side of the embodiment of the present application, the embodiment of the present application further provides a first network device, as shown in FIG8 , the first network device 800 includes:

第一通信接口801,能够与其他网络节点进行信息交互;The first communication interface 801 is capable of exchanging information with other network nodes;

第一处理器802,与所述第一通信接口801连接,以实现与其他网络节点进行信息交互,用于运行计算机程序时,执行上述第一网络设备侧一个或多个技术方案提供的方法。而所述计算机程序存储在第一存储器803上。The first processor 802 is connected to the first communication interface 801 to implement information exchange with other network nodes, and is used to execute the method provided by one or more technical solutions of the first network device side when running a computer program. The computer program is stored in the first memory 803.

具体地,所述第一处理器802,用于为第一报文封装外层报文头,得到第二报文;其中,Specifically, the first processor 802 is used to encapsulate the outer message header for the first message to obtain the second message; wherein,

所述第一报文表征需要进行随流检测的报文;所述外层报文头中至少承载有第一信息、所述第一报文对应的流标识以及第一设备标识;所述第一信息表征所述第一报文的随流检测信息;所述第一设备标识用于标识所述第一网络设备。The first message represents a message that needs to be detected along the flow; the outer message header carries at least first information, a flow identifier corresponding to the first message, and a first device identifier; the first information represents the along-flow detection information of the first message; the first device identifier is used to identify the first network device.

其中,在一实施例中,所述第一通信接口801,用于基于所述第一报文对应的转发路径,发送所述第二报文。In one embodiment, the first communication interface 801 is used to send the second message based on the forwarding path corresponding to the first message.

在一实施例中,所述流标识承载于所述外层报文头的流标签字段。In one embodiment, the flow identifier is carried in a flow label field of the outer packet header.

在一实施例中,所述流标识承载于所述外层报文头的流标签字段中的M个第一比特位中;所述流标签字段包括M个第一比特位和N个第二比特位;所述第二比特位用于承载所述第一报文的随流检测信息;所述M和N均为大于1的整数。In one embodiment, the flow identifier is carried in the M first bits in the flow label field of the outer message header; the flow label field includes M first bits and N second bits; the second bit is used to carry the flow detection information of the first message; and M and N are both integers greater than 1.

在一实施例中,所述M个第一比特位表征为所述外层报文头的流标签字段中的最高或最低的M个相邻比特位。In one embodiment, the M first bits are represented by the highest or lowest M adjacent bits in the flow label field of the outer packet header.

在一实施例中,所述流标识由SDN控制器分配或者由所述第一网络设备基于所述第一报文的五元组信息生成。In one embodiment, the flow identifier is allocated by an SDN controller or generated by the first network device based on quintuple information of the first message.

在一实施例中,所述第一设备标识承载于所述外层报文头的源地址字段。In one embodiment, the first device identifier is carried in a source address field of the outer message header.

在一实施例中,所述第一设备标识承载于所述外层报文头的源地址字段的全部比特位中,或者承载于所述外层报文头的源地址字段的连续L个相邻比特位中;所述L为大于1的整数。In one embodiment, the first device identifier is carried in all bits of the source address field of the outer message header, or in L consecutive adjacent bits of the source address field of the outer message header; L is an integer greater than 1.

在一实施例中,所述第一设备标识包括:In one embodiment, the first device identifier includes:

所述第一网络设备的BGP的路由标识;或者,a BGP routing identifier of the first network device; or

由SDN控制器基于全局分配下发设定比特数量的二进制数值转化生成的IPv6地址;或者,An IPv6 address generated by converting a binary value with a set number of bits issued by the SDN controller based on global allocation; or,

所述第一网络设备的IPv4和/或IPv6回环地址。The IPv4 and/or IPv6 loopback address of the first network device.

需要说明的是:第一处理器802和第一通信接口801的具体处理过程可参照上述方法理解。It should be noted that the specific processing process of the first processor 802 and the first communication interface 801 can be understood by referring to the above method.

当然,实际应用时,第一网络设备800中的各个组件通过总线系统804耦合在一起。可理解,总线系统804用于实现这些组件之间的连接通信。总线系统804除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图8中将各种总线都标为总线系统804。Of course, in actual application, the various components in the first network device 800 are coupled together through the bus system 804. It can be understood that the bus system 804 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 804 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, various buses are marked as the bus system 804 in FIG. 8.

本申请实施例中的第一存储器803用于存储各种类型的数据以支持第一网络设备800的操作。这些数据的示例包括:用于在第一网络设备800上操作的任何计算机程序。The first memory 803 in the embodiment of the present application is used to store various types of data to support the operation of the first network device 800. Examples of such data include: any computer program used to operate on the first network device 800.

上述本申请实施例揭示的方法可以应用于所述第一处理器802中,或者由所述第一处理器802实现。所述第一处理器802可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过所述第一处理器802中的硬件的集成逻辑电路或者软件形式的指令完成。上述的所述第一处理器802可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。所述第一处理器802可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于第一存储器803,所述第一处理器802读取第一存储器803中的信息,结合其硬件完成前述方法的步骤。The method disclosed in the above embodiment of the present application can be applied to the first processor 802, or implemented by the first processor 802. The first processor 802 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the first processor 802. The above-mentioned first processor 802 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The first processor 802 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, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the first memory 803, and the first processor 802 reads the information in the first memory 803 and completes the steps of the above method in combination with its hardware.

在示例性实施例中,第一网络设备800可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable LogicDevice)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或者其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the first network device 800 may be implemented by one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.

基于上述程序模块的硬件实现,且为了实现本申请实施例第二网络设备侧的方法,本申请实施例还提供了一种第二网络设备,如图9所示,该第二网络设备900包括:Based on the hardware implementation of the above program module, and in order to implement the method on the second network device side of the embodiment of the present application, the embodiment of the present application further provides a second network device, as shown in FIG. 9 , the second network device 900 includes:

第二通信接口901,能够与其他网络节点进行信息交互;The second communication interface 901 is capable of exchanging information with other network nodes;

第二处理器902,与所述第二通信接口901连接,以实现与其他网络节点进行信息交互,用于运行计算机程序时,执行上述第二网络设备侧一个或多个技术方案提供的方法。而所述计算机程序存储在第二存储器903上。The second processor 902 is connected to the second communication interface 901 to implement information exchange with other network nodes, and is used to execute the method provided by one or more technical solutions of the second network device side when running a computer program. The computer program is stored in the second memory 903.

具体地,所述第二通信接口901,用于接收第二报文;其中,Specifically, the second communication interface 901 is used to receive a second message; wherein,

所述第二报文由第一网络设备对第一报文封装外层报文头得到;所述第一报文表征需要进行随流检测的报文;所述外层报文头中至少承载有第一信息、所述第一报文对应的流标识以及第一设备标识;所述第一信息表征所述第一报文的随流检测信息;所述第一设备标识用于标识所述第一网络设备。The second message is obtained by encapsulating the first message with an outer message header by the first network device; the first message represents a message that needs to be detected along the flow; the outer message header carries at least first information, a flow identifier corresponding to the first message, and a first device identifier; the first information represents the along-flow detection information of the first message; the first device identifier is used to identify the first network device.

其中,在一实施例中,所述第二通信接口901,还用于向SDN控制器上报第二信息;其中,In one embodiment, the second communication interface 901 is also used to report the second information to the SDN controller;

所述第二信息包括所述第二网络设备基于所述第一信息对所述第二报文的随流检测结果;所述第二信息还包括所述流标识及所述第一设备标识。The second information includes a flow detection result of the second message by the second network device based on the first information; the second information also includes the flow identifier and the first device identifier.

在一实施例中,所述第二通信接口901,还用于基于所述第一报文对应的转发路径,发送所述第二报文;或者,In one embodiment, the second communication interface 901 is further configured to send the second message based on the forwarding path corresponding to the first message; or

所述第二处理器902,用于解封装所述第二报文,得到所述第一报文。The second processor 902 is configured to decapsulate the second message to obtain the first message.

在一实施例中,所述流标识承载于所述外层报文头的流标签字段。In one embodiment, the flow identifier is carried in a flow label field of the outer packet header.

在一实施例中,所述流标识承载于所述外层报文头的流标签字段中的M个第一比特位中;所述流标签字段包括M个第一比特位和N个第二比特位;所述第二比特位用于承载所述第一报文的随流检测信息;所述M和N均为大于1的整数。In one embodiment, the flow identifier is carried in the M first bits in the flow label field of the outer message header; the flow label field includes M first bits and N second bits; the second bit is used to carry the flow detection information of the first message; and M and N are both integers greater than 1.

在一实施例中,所述M个第一比特位表征为所述外层报文头的流标签字段中的最高或最低的M个相邻比特位。In one embodiment, the M first bits are represented by the highest or lowest M adjacent bits in the flow label field of the outer packet header.

在一实施例中,所述第一设备标识承载于所述外层报文头的源地址字段。In one embodiment, the first device identifier is carried in a source address field of the outer message header.

在一实施例中,所述第一设备标识承载于所述外层报文头的源地址字段的全部比特位中,或者承载于所述外层报文头的源地址字段的连续L个相邻比特位中;所述L为大于1的整数。In one embodiment, the first device identifier is carried in all bits of the source address field of the outer message header, or in L consecutive adjacent bits of the source address field of the outer message header; L is an integer greater than 1.

需要说明的是:第二处理器902和第二通信接口901的具体处理过程可参照上述方法理解。It should be noted that the specific processing process of the second processor 902 and the second communication interface 901 can be understood by referring to the above method.

当然,实际应用时,第二网络设备900中的各个组件通过总线系统904耦合在一起。可理解,总线系统904用于实现这些组件之间的连接通信。总线系统904除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图9中将各种总线都标为总线系统904。Of course, in actual application, the various components in the second network device 900 are coupled together through the bus system 904. It can be understood that the bus system 904 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 904 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, various buses are marked as the bus system 904 in Figure 9.

本申请实施例中的第二存储器903用于存储各种类型的数据以支持第二网络设备900操作。这些数据的示例包括:用于在第二网络设备900上操作的任何计算机程序。The second memory 903 in the embodiment of the present application is used to store various types of data to support the operation of the second network device 900. Examples of such data include: any computer program used to operate on the second network device 900.

上述本申请实施例揭示的方法可以应用于所述第二处理器902中,或者由所述第二处理器902实现。所述第二处理器902可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过所述第二处理器902中的硬件的集成逻辑电路或者软件形式的指令完成。上述的所述第二处理器902可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。所述第二处理器902可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于第二存储器903,所述第二处理器902读取第二存储器903中的信息,结合其硬件完成前述方法的步骤。The method disclosed in the above embodiment of the present application can be applied to the second processor 902, or implemented by the second processor 902. The second processor 902 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of the hardware in the second processor 902 or an instruction in the form of software. The above-mentioned second processor 902 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The second processor 902 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, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the second memory 903, and the second processor 902 reads the information in the second memory 903 and completes the steps of the above method in combination with its hardware.

在示例性实施例中,第二网络设备900可以被一个或多个ASIC、DSP、PLD、CPLD、FPGA、通用处理器、控制器、MCU、Microprocessor、或其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the second network device 900 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.

可以理解,本申请实施例的存储器(第一存储器803、第二存储器903)可以是易失性存储器或者非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,ProgrammableRead-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically ErasableProgrammable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic randomaccess memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,StaticRandom Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static RandomAccess Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic RandomAccess Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced SynchronousDynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLinkDynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct RambusRandom Access Memory)。本申请实施例描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory (first memory 803, second memory 903) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, 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 magnetic random access memory (FRAM), a ferromagnetic random access memory, 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. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), direct memory bus random access memory (DRRAM). The memory described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memory.

在示例性实施例中,本申请实施例还提供了一种存储介质,即计算机存储介质,具体为计算机可读存储介质,例如包括存储计算机程序的第一存储器803,上述计算机程序可由第一网络设备800的第一处理器802执行,以完成前述第一网络设备侧方法所述步骤。再比如包括存储计算机程序的第二存储器903,上述计算机程序可由第二网络设备900的第二处理器902执行,以完成前述第二网络设备侧方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器。In an exemplary embodiment, the embodiment of the present application further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 803 storing a computer program, and the computer program can be executed by the first processor 802 of the first network device 800 to complete the steps of the aforementioned first network device side method. For another example, a second memory 903 storing a computer program can be executed by the second processor 902 of the second network device 900 to complete the steps of the aforementioned second network device side method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.

需要说明的是:“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中术语“至少一种”表示多个中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一种,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。The term "and/or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.

另外,本申请实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.

Claims (24)

1. The message processing method is characterized by being applied to first network equipment and comprising the following steps:
packaging an outer layer message header for the first message to obtain a second message; wherein,
The first message characterizes a message needing to be detected along with the flow; the outer layer message header at least carries first information, a flow identifier corresponding to the first message and a first equipment identifier; the first information characterizes the flow-following detection information of the first message; the first device identification is used to identify the first network device.
2. The method according to claim 1, wherein the method further comprises:
and sending the second message based on the forwarding path corresponding to the first message.
3. The method according to claim 1 or 2, wherein the flow identity is carried in a flow label field of the outer layer header.
4. A method according to claim 3, wherein the flow identity is carried in M first bits in a flow label field of the outer layer header; the stream tag field includes M first bits and N second bits; the second bit is used for bearing stream following detection information of the first message; and M and N are integers greater than 1.
5. The method of claim 4, wherein the M first bits are characterized as the highest or lowest M adjacent bits in a stream tag field of the outer layer header.
6. The method of claim 1 or 2, wherein the flow identification is assigned by a software defined network, SDN, controller or generated by the first network device based on five tuple information of the first message.
7. The method according to claim 1 or 2, wherein the first device identification is carried in a source address field of the outer layer header.
8. The method of claim 7, wherein the first device identifier is carried in all bits of a source address field of the outer layer header or in consecutive L adjacent bits of the source address field of the outer layer header; and L is an integer greater than 1.
9. The method of claim 8, wherein the first device identification comprises:
A route identification of a border gateway protocol BGP of the first network device; or alternatively
Binary values of the set number of bits issued by the SDN controller based on the global allocation; or alternatively
An IPv4 and/or IPv6 loop-back address of the first network device.
10. The message processing method is characterized by being applied to the second network equipment and comprising the following steps:
receiving a second message; wherein,
The second message is obtained by the first network equipment to the first message encapsulation outer layer message header; the first message characterizes a message needing to be detected along with the flow; the outer layer message header at least carries first information, a flow identifier corresponding to the first message and a first equipment identifier; the first information characterizes the flow-following detection information of the first message; the first device identification is used to identify the first network device.
11. The method according to claim 10, wherein the method further comprises:
reporting second information to the SDN controller; wherein,
The second information comprises a stream following detection result of the second message by the second network device based on the first information; the second information also includes the flow identification and the first device identification.
12. The method according to claim 10, wherein the method further comprises:
Transmitting the second message based on a forwarding path corresponding to the first message; or alternatively
And decapsulating the second message to obtain the first message.
13. The method according to any of claims 10 to 12, wherein the flow identity is carried in a flow label field of the outer layer header.
14. The method of claim 13, wherein the flow identification is carried in M first bits in a flow label field of the outer layer header; the stream tag field includes M first bits and N second bits; the second bit is used for bearing stream following detection information of the first message; and M and N are integers greater than 1.
15. The method of claim 14, wherein the M first bits are characterized by the highest or lowest M adjacent bits in a stream tag field of the outer layer header.
16. The method according to any of claims 10 to 12, wherein the first device identification is carried in a source address field of the outer layer header.
17. The method of claim 16, wherein the first device identifier is carried in all bits of a source address field of the outer layer header or in consecutive L adjacent bits of the source address field of the outer layer header; and L is an integer greater than 1.
18. A message processing apparatus, comprising:
The encapsulation unit is used for encapsulating the outer layer message header for the first message to obtain a second message; wherein,
The first message characterizes a message needing to be detected along with the flow; the outer layer message header at least carries first information, a flow identifier corresponding to the first message and a first equipment identifier; the first information characterizes the flow-following detection information of the first message; the first device identification is used to identify the first network device.
19. A message processing apparatus, comprising:
The receiving unit is used for receiving the second message; wherein,
The second message is obtained by the first network equipment to the first message encapsulation outer layer message header; the first message characterizes a message needing to be detected along with the flow; the outer layer message header at least carries first information, a flow identifier corresponding to the first message and a first equipment identifier; the first information characterizes the flow-following detection information of the first message; the first device identification is used to identify the first network device.
20. A first network device, comprising: a first processor and a first communication interface; wherein,
The first processor is used for packaging an outer layer message header for the first message to obtain a second message; wherein,
The first message characterizes a message needing to be detected along with the flow; the outer layer message header at least carries first information, a flow identifier corresponding to the first message and a first equipment identifier; the first information characterizes the flow-following detection information of the first message; the first device identification is used to identify the first network device.
21. A second network device, comprising: a second processor and a second communication interface; wherein,
The second communication interface is used for receiving a second message; wherein,
The second message is obtained by the first network equipment to the first message encapsulation outer layer message header; the first message characterizes a message needing to be detected along with the flow; the outer layer message header at least carries first information, a flow identifier corresponding to the first message and a first equipment identifier; the first information characterizes the flow-following detection information of the first message; the first device identification is used to identify the first network device.
22. A first network device, comprising: a first processor and a first memory for storing a computer program capable of running on the processor,
Wherein the first processor is adapted to perform the steps of the method of any of claims 1 to 9 when the computer program is run.
23. A second network device, comprising: a second processor and a second memory for storing a computer program capable of running on the processor,
Wherein the second processor is adapted to perform the steps of the method of any of claims 10 to 17 when the computer program is run.
24. A storage medium having stored thereon a computer program, which when executed by a processor, performs the steps of the method of any of claims 1 to 9 or performs the steps of the method of any of claims 10 to 17.
CN202310143079.2A 2023-02-08 2023-02-08 Message processing method, device, network equipment and storage medium Pending CN118473968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310143079.2A CN118473968A (en) 2023-02-08 2023-02-08 Message processing method, device, network equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310143079.2A CN118473968A (en) 2023-02-08 2023-02-08 Message processing method, device, network equipment and storage medium

Publications (1)

Publication Number Publication Date
CN118473968A true CN118473968A (en) 2024-08-09

Family

ID=92156495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310143079.2A Pending CN118473968A (en) 2023-02-08 2023-02-08 Message processing method, device, network equipment and storage medium

Country Status (1)

Country Link
CN (1) CN118473968A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119172747A (en) * 2024-09-13 2024-12-20 新华三技术有限公司 A message processing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119172747A (en) * 2024-09-13 2024-12-20 新华三技术有限公司 A message processing method and device

Similar Documents

Publication Publication Date Title
CN115280745B (en) Stream following detection method and electronic equipment
US11979322B2 (en) Method and apparatus for providing service for traffic flow
CN105024985B (en) A kind of message processing method and device
CN101536411B (en) Ethernet OAM on Intermediate Nodes in PBT Networks
CN113259239A (en) Method, equipment and system for forwarding message in hybrid network
WO2019205806A1 (en) Data packet processing method and apparatus, storage medium, and electronic device
CN112019433A (en) A message forwarding method and device
US20230327983A1 (en) Performance measurement in a segment routing network
US12120008B2 (en) Performance measurement method and apparatus, device, and storage medium
CN112737954A (en) Message processing method, device, system, equipment and storage medium
WO2022257854A1 (en) Message publishing method and apparatus, and forwarding path processing method and apparatus
CN115242698A (en) Message forwarding method, device, network equipment and storage medium
WO2023088145A1 (en) Packet processing method, apparatus and device
CN118473968A (en) Message processing method, device, network equipment and storage medium
US20240195729A1 (en) Communication method and apparatus
CN115604183B (en) A message processing method, device, network equipment and storage medium
CN118827498A (en) Message forwarding method, device, related equipment and storage medium
WO2023078144A1 (en) Message processing method, apparatus and system
WO2024065481A1 (en) Data processing method and apparatus, and network device and storage medium
CN117201640A (en) Method, communication device and communication system for processing messages
CN119094635B (en) BIERv6 message processing method, device, equipment and storage medium
WO2024094082A1 (en) Information transmission method and apparatus, node, and storage medium
CN117811708A (en) Quality testing methods, devices, equipment and storage media
WO2025175915A1 (en) Message transmission method and apparatus, and storage medium
WO2025026071A1 (en) Communication method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination