Data transmission method, device, electronic device and storage medium
By separating and uploading data packet metadata in network nodes, the problem of data packet size exceeding the maximum transmission unit caused by metadata superposition in INT is solved, achieving the stability of data transmission and the effectiveness of network management.
Patent Information
- Application Number
- CN202410853076.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-28
AI Technical Summary
During the data packet transmission process of in-band network telemetry (INT), due to metadata superposition, the data packet size may exceed the maximum transmission unit, affecting data transmission efficiency.
The network node obtains the control domain identity information of the next-hop network node through the link layer discovery protocol. If it is inconsistent, the metadata in the data packet is separated and uploaded to the controller to ensure that the data packet does not exceed the maximum transmission unit.
It effectively avoids the problem of data packet size exceeding the maximum transmission unit due to metadata superposition, ensures the continuity and efficiency of data transmission, and ensures the visibility of network management and monitoring.
Smart Images

Figure CN118413498B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a data transmission method, device, electronic equipment and storage medium. Background Art
[0002] In-band Network Telemetry (INT) is designed to collect the operating status and performance data of network devices in real time. INT embeds telemetry information in network data packets, allowing data packets to carry information about network topology, routing, latency, throughput, etc. during transmission. It provides network managers with detailed network visibility, making it easier to monitor, troubleshoot, and optimize network performance.
[0003] When the relevant network nodes are transmitting data, in-band network telemetry (INT) adds telemetry metadata to the packet header. After the data packet passes through multiple transit nodes, the superposition of metadata may cause the data packet size to exceed the maximum transmission unit, thus affecting data transmission. Therefore, how to better transmit data has become an urgent problem to be solved in the industry. Summary of the invention
[0004] The present invention provides a data transmission method, device, electronic device and storage medium, which are used to solve the problems of data transmission methods, devices, electronic device and storage medium in the prior art.
[0005] The present invention provides a data transmission method, comprising:
[0006] The network node obtains a first target link layer discovery protocol of a first target network node; wherein the first target network node is a next hop network node of the network node; wherein the first target link layer discovery protocol includes control domain identity information issued by a controller corresponding to the first target network node;
[0007] When the control domain identity information of the network node and the first target network node are inconsistent, the network node separates the metadata in the data packet, uploads the metadata to the controller corresponding to the network node, and transmits the data packet with the metadata separated to the first target network node.
[0008] According to a data transmission method provided by the present invention, after the step of the network node acquiring the first target link layer discovery protocol of the first target network node, the method further includes:
[0009] When the control domain identity information is not included in the first target link layer discovery protocol of the first target network node, it is determined that the control domain identity information of the network node is inconsistent with that of the first target network node.
[0010] According to a data transmission method provided by the present invention, before the step of the network node acquiring the first target link layer discovery protocol of the first target network node, the method further includes:
[0011] When a network node receives control domain identity information sent by a controller that manages the network node, adding the control domain identity information in a link layer discovery protocol of the network node;
[0012] The link layer discovery protocol carrying the control domain identity information is synchronized to adjacent network nodes through the node port of the network node.
[0013] According to a data transmission method provided by the present invention, the data packet includes: in-band network telemetry header data and metadata;
[0014] Wherein, the in-band network telemetry header data is used to define control information and data structure of the data packet;
[0015] The metadata is variable-length information attached to the data packet by each of the network nodes.
[0016] According to a data transmission method provided by the present invention, after the step of the network node acquiring the first target link layer discovery protocol of the first target network node, the method further includes:
[0017] In a case where the first target link layer discovery protocol of the first target network node includes control domain identity information, comparing the control domain identity information in the first target link layer discovery protocol with the control domain identity information of the link layer discovery protocol of the network node;
[0018] When the control domain identity information in the first target link layer discovery protocol is different from the control domain identity information of the link layer discovery protocol of the network node, determining that the control domain identity information of the network node and the first target network node are inconsistent;
[0019] When the control domain identity information in the first target link layer discovery protocol is consistent with the control domain identity information of the link layer discovery protocol of the network node, the network node transmits the data packet to the first target network node after adding the metadata of the network node in the data packet.
[0020] According to a data transmission method provided by the present invention, the in-band network telemetry header data includes at least one of the following:
[0021] Version number information, remaining hop count information, control flag information, in-band network telemetry type information, and instruction bitmap information.
[0022] According to a data transmission method provided by the present invention, the version number information is used to identify the version of the in-band network telemetry header;
[0023] The remaining hop count information is used to indicate the maximum number of hops that the data packet can pass through in the network;
[0024] The control flag information includes a flag for controlling the behavior of the data packet;
[0025] The instruction bitmap information is used to indicate which standard metadata each network node in the network needs to collect and add, and each bit corresponds to a specific metadata type.
[0026] According to a data transmission method provided by the present invention, the network node comprises: a source network node, the source network node is connected to a source server;
[0027] The source server is used to generate a data packet carrying user data, application data or other types of data, and transmit the data packet to the source network node;
[0028] The source network node is used to add in-band network telemetry header data to the data packet, and add metadata corresponding to the source network node after the in-band network telemetry header data, and transmit the data packet to the next-hop network node.
[0029] According to a data transmission method provided by the present invention, after the network node separates metadata in the data packet, uploads the metadata to the controller corresponding to the network node, and transmits the data packet after the metadata is separated to the first target network node, the method further includes:
[0030] In the case where the first target network node is a managed node, obtaining a second target link layer discovery protocol of a second target network node at a next hop of the first target network node;
[0031] When the control domain identity information in the second target link layer discovery protocol is consistent with that in the first target link layer discovery protocol, the first target network node transmits the data packet to the second target network node after adding the metadata of the first target network node in the data packet.
[0032] According to a data transmission method provided by the present invention, after the step of acquiring a second target link layer discovery protocol of a second target network node next to the first target network node, the method further includes:
[0033] When the control domain identity information in the second target link layer discovery protocol is inconsistent with that in the first target link layer discovery protocol, the first target network node uploads the metadata of the first target network node to the corresponding controller and transmits the data packet to the second target network node.
[0034] According to a data transmission method provided by the present invention, after the network node separates metadata in the data packet, uploads the metadata to the controller corresponding to the network node, and transmits the data packet after the metadata is separated to the first target network node, the method further includes:
[0035] In the case that the first target network node is an unmanaged node, the first target network node uploads metadata of the first target network node to the corresponding controller, and transmits the data packet to the second target network node.
[0036] According to a data transmission method provided by the present invention, after the steps of separating metadata in a data packet by the network node, uploading the metadata to a controller corresponding to the network node, and transmitting the data packet after the metadata is separated to the first target network node, the method further comprises:
[0037] In the case where the next-hop network node of the first target network node is a destination server, the metadata is uploaded to the controller corresponding to the first target network node, and the data packet is transmitted to the destination server.
[0038] According to a data transmission method provided by the present invention, the destination server is used to receive the data packet and process the data in the data packet.
[0039] The present invention also provides a data transmission device, comprising:
[0040] An acquisition module, used for a network node to acquire a first target link layer discovery protocol of a first target network node; wherein the first target network node is a next-hop network node of the network node; wherein the first target link layer discovery protocol includes control domain identity information issued by a controller corresponding to the first target network node;
[0041] A transmission module is used for separating the metadata in the data packet, uploading the metadata to the controller corresponding to the network node, and transmitting the data packet with the metadata separated to the first target network node when the control domain identity information of the network node and the first target network node are inconsistent.
[0042] According to an embodiment of the present invention, a data transmission device is provided, wherein the device is further used for:
[0043] When the control domain identity information is not included in the first target link layer discovery protocol of the first target network node, it is determined that the control domain identity information of the network node is inconsistent with that of the first target network node.
[0044] According to an embodiment of the present invention, a data transmission device is provided, wherein the device is further used for:
[0045] When a network node receives control domain identity information sent by a controller that manages the network node, adding the control domain identity information in a link layer discovery protocol of the network node;
[0046] The link layer discovery protocol carrying the control domain identity information is synchronized to adjacent network nodes through the node port of the network node.
[0047] According to a data transmission device provided by an embodiment of the present invention, the data packet includes: in-band network telemetry header data and metadata;
[0048] Wherein, the in-band network telemetry header data is used to define control information and data structure of the data packet;
[0049] The metadata is variable-length information attached to the data packet by each of the network nodes.
[0050] According to an embodiment of the present invention, a data transmission device is provided, wherein the device is further used for:
[0051] In a case where the first target link layer discovery protocol of the first target network node includes control domain identity information, comparing the control domain identity information in the first target link layer discovery protocol with the control domain identity information of the link layer discovery protocol of the network node;
[0052] When the control domain identity information in the first target link layer discovery protocol is different from the control domain identity information of the link layer discovery protocol of the network node, determining that the control domain identity information of the network node and the first target network node are inconsistent;
[0053] When the control domain identity information in the first target link layer discovery protocol is consistent with the control domain identity information of the link layer discovery protocol of the network node, the network node transmits the data packet to the first target network node after adding the metadata of the network node in the data packet.
[0054] According to a data transmission device provided by an embodiment of the present invention, the in-band network telemetry header data includes at least one of the following:
[0055] Version number information, remaining hop count information, control flag information, in-band network telemetry type information, and instruction bitmap information.
[0056] According to a data transmission device provided by an embodiment of the present invention, the version number information is used to identify the version of the in-band network telemetry header;
[0057] The remaining hop count information is used to indicate the maximum number of hops that the data packet can pass through in the network;
[0058] The control flag information includes a flag for controlling the behavior of the data packet;
[0059] The instruction bitmap information is used to indicate which standard metadata each network node in the network needs to collect and add, and each bit corresponds to a specific metadata type.
[0060] According to a data transmission device provided by an embodiment of the present invention, the network node includes: a source network node, the source network node is connected to a source server;
[0061] The source server is used to generate a data packet carrying user data, application data or other types of data, and transmit the data packet to the source network node;
[0062] The source network node is used to add in-band network telemetry header data to the data packet, and add metadata corresponding to the source network node after the in-band network telemetry header data, and transmit the data packet to the next-hop network node.
[0063] According to an embodiment of the present invention, a data transmission device is provided, wherein the device is further used for:
[0064] In the case where the first target network node is a managed node, obtaining a second target link layer discovery protocol of a second target network node at a next hop of the first target network node;
[0065] When the control domain identity information in the second target link layer discovery protocol is consistent with that in the first target link layer discovery protocol, the first target network node transmits the data packet to the second target network node after adding the metadata of the first target network node in the data packet.
[0066] According to an embodiment of the present invention, a data transmission device is provided, wherein the device is further used for:
[0067] When the control domain identity information in the second target link layer discovery protocol is inconsistent with that in the first target link layer discovery protocol, the first target network node uploads the metadata of the first target network node to the corresponding controller and transmits the data packet to the second target network node.
[0068] According to an embodiment of the present invention, a data transmission device is provided, wherein the device is further used for:
[0069] In the case that the first target network node is an unmanaged node, the first target network node uploads metadata of the first target network node to the corresponding controller, and transmits the data packet to the second target network node.
[0070] According to an embodiment of the present invention, a data transmission device is provided, wherein the device is further used for:
[0071] In the case where the next-hop network node of the first target network node is a destination server, the metadata is uploaded to the controller corresponding to the first target network node, and the data packet is transmitted to the destination server.
[0072] According to a data transmission device provided by an embodiment of the present invention, the destination server is used to receive the data packet and process the data in the data packet.
[0073] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-mentioned data transmission methods is implemented.
[0074] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, any of the data transmission methods described above is implemented.
[0075] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned data transmission methods.
[0076] According to the data transmission method, device, electronic device and storage medium provided by the present invention, before a network node transmits a data packet, it first further determines whether the network node and the first target network node of the next hop belong to the same control domain through the control domain identity information in the target link layer discovery protocol; if they do not belong to the same control domain, when it is detected that the node of the next hop does not belong to the same control domain, the network node will evacuate the metadata in the data packet and actively report this part of the metadata to the controller, thereby avoiding the size of the data packet exceeding the maximum transmission unit due to the superposition of metadata, thereby affecting the transmission of data, and ensuring the effective transmission of data. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0078] Figure 1 A schematic diagram of a data transmission method flow chart provided in an embodiment of the present application;
[0079] Figure 2 A schematic diagram of an example workflow provided for an embodiment of the present application;
[0080] Figure 3 A schematic diagram of the GROUP_ID workflow provided in an embodiment of the present application;
[0081] Figure 4 A schematic diagram of the structure of a data transmission device provided in an embodiment of the present application;
[0082] Figure 5 This is a schematic structural diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION
[0083] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0084] Figure 1 A schematic diagram of a data transmission method flow chart provided in an embodiment of the present application, such as Figure 1 As shown, including:
[0085] Step 110, the network node obtains a first target link layer discovery protocol of a first target network node; wherein the first target network node is a next-hop network node of the network node; wherein the first target link layer discovery protocol includes control domain identity information issued by a controller corresponding to the first target network node;
[0086] The controller described in the embodiments of the present application may specifically refer to an SDN controller, which separates network control from data forwarding, making network control more flexible and programmable. In traditional networks, network devices (such as routers and switches) are responsible for both data forwarding and control and decision-making. In SDN, network control is centralized on one or more controllers, which manage network devices through open interfaces, thereby providing centralized management, automation, and dynamic adjustment capabilities.
[0087] In the embodiment of the present application, the network node may specifically refer to an INT network node, which collects information at the packet level without the need for additional probe packets or external controllers. It adds telemetry metadata on each hop of the packet to help understand network behavior and performance.
[0088] INT network nodes embed telemetry information in network data packets, allowing data packets to carry information about network topology, routing, latency, throughput, etc. during transmission. It provides network managers with detailed network visibility, making it easier to monitor, troubleshoot, and optimize network performance.
[0089] In the embodiment of the present application, the network node may specifically be any INT network node in data transmission, and the first target network node is the INT network node of the next hop of the network node in data transmission.
[0090] The next hop in the embodiment of the present application may specifically refer to the next network node that the data packet passes through before reaching the final destination.
[0091] In the embodiment of the present application, Link Layer Discovery Protocol (LLDP) is a network protocol operating at the data link layer, which allows a device to broadcast its identity information and receive identity information of neighboring devices at the same time, and is mainly used for the discovery and management of network devices. The working mechanism of LLDP is based on the periodic sending and receiving of data units in TLV (Type-Length-Value, TLV) format, which carries information such as device identifiers, port descriptions, system capabilities, etc.
[0092] The link layer discovery protocol in the embodiment of the present application will also include the control domain identity information GROUP_ID sent by the controller corresponding to the network.
[0093] In an embodiment of the present application, each network node periodically sends LLDP frames, which contain identity information and other configuration information of the node.
[0094] The LLDP frame specifically includes the control domain identity information sent by the SDN controller, which is usually a GROUP_ID. This GROUP_ID is used to identify whether the nodes belong to the same SDN control domain.
[0095] When a network node receives an LLDP frame from its next-hop network node (first target network node), it parses the frame to obtain the information contained therein.
[0096] The network node extracts the GROUP_ID from the received LLDP frame and compares it with its own GROUP_ID. This comparison helps the node determine whether two nodes belong to the same control domain.
[0097] Step 120, when the control domain identity information of the network node and the first target network node is inconsistent, the network node separates the metadata in the data packet, uploads the metadata to the controller corresponding to the network node, and transmits the data packet with the metadata separated to the first target network node.
[0098] In the embodiment of the present application, the network node identifies that the control domain identity information is inconsistent by analyzing the GROUP_ID in the LLDP frame received from the first target network node.
[0099] Once the control domain identity information is detected to be inconsistent, the network node will process the data packet to be forwarded to the first target network node. Specifically, it will separate the INT metadata from the data packet.
[0100] The separated INT metadata is uploaded to the SDN controller corresponding to the network node. This step is to retain key telemetry information and enable network monitoring and analysis even in the case of inconsistent control domains.
[0101] After the metadata is separated and uploaded, the remaining data packets (excluding the INT metadata) continue to be transmitted to the first target network node. This ensures the continuity of the data flow and avoids potential MTU exceedance issues caused by metadata.
[0102] After receiving the uploaded INT metadata, the SDN controller can perform further analysis to monitor network performance and status, maintaining network visibility and management capabilities even in cross-control domain scenarios.
[0103] Based on the telemetry data collected, the SDN controller may need to adjust network policies to optimize network traffic and performance across different control domains.
[0104] In the embodiment of the present application, through this mechanism, the network can more flexibly handle data transmission between different control domains while maintaining monitoring of the network status, thereby improving the compatibility and robustness of the network.
[0105] In an embodiment of the present application, the control domain identity information in the target link layer discovery protocol is first used to further determine whether the network node and the first target network node of the next hop belong to the same control domain. If they do not belong to the same control domain, when it is detected that the node of the next hop does not belong to the same control domain, the network node will evacuate the metadata in the data packet and actively report this part of the metadata to the controller, thereby avoiding the size of the data packet exceeding the maximum transmission unit due to the superposition of metadata, thereby affecting the transmission of data, and ensuring the effective transmission of data.
[0106] Optionally, after the step of the network node acquiring the first target link layer discovery protocol of the first target network node, the step further includes:
[0107] In a case where the control domain identity information is not included in the first target link layer discovery protocol of the first target network node, determining that the control domain identity information of the network node is inconsistent with that of the first target network node;
[0108] If the LLDP frame of the first target network node does not include the control domain identity information (eg, GROUP_ID), it means that the first target network node is an unmanaged network node, and the network node determines that the control domain identity information is inconsistent.
[0109] Optionally, after the step of the network node acquiring the first target link layer discovery protocol of the first target network node, the step further includes:
[0110] In a case where the first target link layer discovery protocol of the first target network node includes control domain identity information, comparing the control domain identity information in the first target link layer discovery protocol with the control domain identity information of the link layer discovery protocol of the network node;
[0111] When the control domain identity information in the first target link layer discovery protocol is different from the control domain identity information of the link layer discovery protocol of the network node, determining that the control domain identity information of the network node and the first target network node are inconsistent;
[0112] When the control domain identity information in the first target link layer discovery protocol is consistent with the control domain identity information of the link layer discovery protocol of the network node, the network node transmits the data packet to the first target network node after adding the metadata of the network node in the data packet.
[0113] If the LLDP frame contains the control domain identity information, the network node compares this information with the control domain identity information in its own LLDP frame. If the comparison result shows that the control domain identity information is different, the network node determines that the control domain identity information is inconsistent with the first target network node. If the control domain identity information is consistent, it means that the two nodes belong to the same control domain.
[0114] If the control domain identity information is inconsistent, the network node uploads the separated metadata to the SDN controller and forwards the data packet without the INT metadata to the first target network node.
[0115] If the control domain identity information is consistent, the network node will add its own metadata to the data packet and forward the data packet containing the metadata to the first target network node.
[0116] When the control domain identity information is consistent, network nodes ensure the continuity and integrity of the data flow by adding metadata and forwarding data packets.
[0117] In an embodiment of the present application, the network node can optimize network performance and avoid potential problems caused by inconsistent control domains, such as data packet loss or inability to collect metadata.
[0118] Even in the case of inconsistent control domain identity information, network administrators can still monitor and analyze network status by uploading metadata to the SDN controller.
[0119] In the embodiment of the present application, the network node is allowed to flexibly process data transmission between different control domains while maintaining monitoring of the network status. In the process of processing and forwarding data packets, the network node should ensure the secure transmission and processing of data to protect the security and privacy of the network.
[0120] Optionally, before the step of the network node acquiring the first target link layer discovery protocol of the first target network node, the method further includes:
[0121] When a network node receives control domain identity information sent by a controller that manages the network node, adding the control domain identity information in a link layer discovery protocol of the network node;
[0122] The link layer discovery protocol carrying the control domain identity information is synchronized to adjacent network nodes through the node port of the network node.
[0123] In an embodiment of the present application, a network node receives control domain identity information from its managed controller, which is usually a GROUP_ID, used to identify that the node belongs to a specific SDN control domain. The network node embeds the received control domain identity information in the LLDP frame it generates. In this way, when LLDP frames are sent to neighboring nodes, they will carry information about the control domain identity.
[0124] The network node broadcasts or unicasts LLDP frames to the neighboring network nodes through its port to ensure that the neighboring nodes can receive the LLDP frames containing the control domain identity information. The neighboring network nodes receive these LLDP frames and parse the control domain identity information therein.
[0125] Neighboring nodes can use this information to identify whether they belong to the same control domain as the network node sending the LLDP frame. By exchanging LLDP frames and control domain identity information, nodes in the network can establish awareness of the network topology and control domain membership.
[0126] Understanding the control domain identity information can help network nodes optimize routing decisions, traffic engineering, and network policy implementation. By automatically synchronizing and identifying the control domain identity information, the network can be managed and operated more intelligently and automatically.
[0127] In a network environment containing multiple control domains, this mechanism supports network node identification and interaction, and can operate effectively even between domains. In the process of synchronizing control domain identity information, the security and privacy of information should be ensured to prevent unauthorized access or tampering.
[0128] Optionally, the data packet includes: in-band network telemetry header data and metadata;
[0129] Wherein, the in-band network telemetry header data is used to define control information and data structure of the data packet;
[0130] The metadata is variable-length information attached to the data packet by each of the network nodes.
[0131] The in-band network telemetry header data includes at least one of the following:
[0132] Version number information, remaining hop count information, control flag information, in-band network telemetry type information, and instruction bitmap information.
[0133] The version number information is used to identify the version of the in-band network telemetry header;
[0134] The remaining hop count information is used to indicate the maximum number of hops that the data packet can pass through in the network;
[0135] The control flag information includes a flag for controlling the behavior of the data packet;
[0136] The instruction bitmap information is used to indicate which standard metadata each network node in the network needs to collect and add, and each bit corresponds to a specific metadata type.
[0137] In the embodiment of the present application, the in-band network telemetry header data defines the control information and data structure of the data packet and is a fixed part of the data packet.
[0138] It contains the necessary information to enable network devices and SDN controllers to correctly process and understand the data packets.
[0139] The header data may include the following fields:
[0140] Version number: identifies the version of the INT header to ensure compatibility between different versions.
[0141] Remaining Hop Count: Indicates the maximum number of hops a data packet can go through in the network. The count decreases with each transit node it passes through.
[0142] Control Flags: Contains flags that control the behavior of INT packets, such as whether to allow the addition of new INT metadata or trigger special processing.
[0143] INT Type: Indicates a specific mode or behavior of the INT header.
[0144] Instruction Bitmap: Specifies the type of metadata that needs to be collected and included in the packet.
[0145] In the embodiment of the present application, metadata is variable length information attached to the data packet, which is used to record network performance and status. It is dynamically added according to the instruction bitmap in the INT header, and each transit node may add its own metadata.
[0146] Metadata may include the following types:
[0147] Node ID: Identifies the network node that added the metadata.
[0148] Interface information: Describes the interface details through which packets enter and leave the node.
[0149] Latency: The delay in the transmission of a data packet in a network.
[0150] Timestamp: The specific time when the data packet passes through the node.
[0151] Throughput: The rate at which data can be transferred across a node or link.
[0152] Packet loss rate: the proportion of data packets lost during transmission.
[0153] In the embodiments of the present application, the design of these data packets allows network administrators and SDN controllers to monitor and analyze network status in real time, including traffic patterns, performance bottlenecks, and potential problems. In this way, the network can be managed and optimized more intelligently. At the same time, when a data packet passes through an unmanaged node or a node with inconsistent control domains, the network node can appropriately process the INT metadata in the data packet according to the method described in the technical briefing to ensure the stability of the network and the integrity of the telemetry data.
[0154] Optionally, the network node includes: a source network node, the source network node is connected to a source server;
[0155] The source server is used to generate a data packet carrying user data, application data or other types of data, and transmit the data packet to the source network node;
[0156] The source network node is used to add in-band network telemetry header data to the data packet, and add metadata corresponding to the source network node after the in-band network telemetry header data, and transmit the data packet to the next-hop network node.
[0157] In the embodiment of the present application, the source server is the starting point of the data flow and is responsible for generating data packets carrying user data, application data or other types of data. The source network node is directly connected to the source server and serves as the entry point for the data packet to enter the network from the source server.
[0158] After the source server generates data packets, it sends them to the source network node for further processing and transmission. After receiving the data packets, the source network node adds in-band network telemetry (INT) header data to them. These header data define the control information and data structure of the data packets, and provide the necessary meta information for network telemetry and management.
[0159] In the embodiment of the present application, after the INT header data, the source network node will insert corresponding metadata. These metadata are of variable length and contain specific information of the source network node, such as node ID, interface information, initial delay and timestamp.
[0160] In the embodiment of the present application, after the source network node processes the data packet, it transmits the data packet containing the INT header data and the source network node metadata to the next hop network node. This step is the starting point for the data packet to be transmitted in the network, ensuring that the data packet can be transmitted according to the established routing strategy.
[0161] In the embodiment of the present application, by adding the INT header and metadata to the data packet, the network administrator can monitor the flow and performance of the data packet in the network and realize real-time monitoring and management of the network. As the data packet is transmitted in the network, each transit node may add its own metadata as needed until the data packet reaches the destination.
[0162] Optionally, after the network node separates metadata from the data packet, uploads the metadata to a controller corresponding to the network node, and transmits the data packet from which the metadata is separated to the first target network node, the method further includes:
[0163] In the case where the first target network node is a managed node, obtaining a second target link layer discovery protocol of a second target network node at a next hop of the first target network node;
[0164] When the control domain identity information in the second target link layer discovery protocol is consistent with that in the first target link layer discovery protocol, the first target network node transmits the data packet to the second target network node after adding the metadata of the first target network node in the data packet.
[0165] In the embodiment of the present application, the first target network node receives a Link Layer Discovery Protocol (LLDP) frame from its next-hop network node, ie, the second target network node.
[0166] The first target network node parses the LLDP frame of the second target network node to obtain the control domain identity information therein, such as GROUP_ID.
[0167] The first target network node compares the control domain identity information obtained from the LLDP frame of the second target network node with the control domain identity information in its own LLDP frame. If the control domain identity information in the LLDP frame of the second target network node is consistent with the control domain identity information of the first target network node, this means that the two nodes belong to the same control domain.
[0168] In the embodiment of the present application, after confirming the consistency of the control domain, the first target network node will add its own metadata to the data packet, and the metadata may include node ID, interface information, delay, timestamp, etc. After adding the metadata, the first target network node forwards the updated data packet to the second target network node.
[0169] In the embodiment of the present application, by adding metadata to the data packet and forwarding it, the first target network node ensures the integrity of the data stream and the continuity of the network telemetry information. As the data packet is continuously transmitted in the network, each node that adds metadata provides more information for network monitoring and analysis.
[0170] Optionally, after the step of acquiring a second target link layer discovery protocol of a second target network node at the next hop of the first target network node, the method further includes:
[0171] When the control domain identity information in the second target link layer discovery protocol is inconsistent with that in the first target link layer discovery protocol, the first target network node uploads the metadata of the first target network node to the corresponding controller and transmits the data packet to the second target network node.
[0172] In an embodiment of the present application, the first target network node compares the control domain identity information in the LLDP frame of the second target network node with the control domain identity information in its own LLDP frame. If the comparison result shows that the control domain identity information is inconsistent, that is, the second target network node does not belong to the same control domain, the first target network node will identify this situation.
[0173] Due to the inconsistency of the control domains, the first target network node uploads its own metadata to the corresponding SDN controller. This step is to ensure that the network telemetry data will not be lost even in the case of cross-control domain transmission and can be used by the SDN controller for network monitoring and analysis.
[0174] In the embodiment of the present application, after uploading the metadata, the first target network node forwards the original data packet (excluding the uploaded metadata) to the second target network node, thereby ensuring the continuity of the data flow and allowing the data packet to continue to be transmitted in the network.
[0175] In an embodiment of the present application, after receiving the metadata uploaded by the first target network node, the SDN controller may perform further analysis to monitor network performance and status.
[0176] In the embodiment of the present application, by separately processing metadata and data packets, network nodes can maintain network stability and continuity of data transmission even in the case of inconsistent control domains.
[0177] Optionally, after the network node separates metadata from the data packet, uploads the metadata to a controller corresponding to the network node, and transmits the data packet from which the metadata is separated to the first target network node, the method further includes:
[0178] In the case that the first target network node is an unmanaged node, the first target network node uploads metadata of the first target network node to the corresponding controller, and transmits the data packet to the second target network node.
[0179] In the embodiment of the present application, when processing a data packet, the network node identifies the first target network node as an unmanaged node through LLDP or other mechanisms. Even if the first target network node is an unmanaged node, it still uploads its metadata to the corresponding SDN controller. This is to ensure the continuity of network monitoring and analysis, and to collect necessary telemetry data even on unmanaged nodes.
[0180] More specifically, after uploading the metadata, the first target network node continues to transmit the data packet after separating the metadata to the next hop network node, that is, the second target network node. The SDN controller receives the metadata from the first target network node, which helps it understand the status of the network.
[0181] In the embodiments of the present application, it is ensured that the network can continue to perform effective data transmission and network monitoring even when it includes unmanaged nodes, thereby improving the intelligence and automation level of the network.
[0182] Optionally, after the steps of the network node separating metadata from the data packet, uploading the metadata to a controller corresponding to the network node, and transmitting the data packet from which the metadata is separated to the first target network node, the method further comprises:
[0183] In the case where the next-hop network node of the first target network node is a destination server, the metadata is uploaded to the controller corresponding to the first target network node, and the data packet is transmitted to the destination server.
[0184] In the embodiment of the present application, the first target network node identifies its next-hop network node as the destination server, which may be achieved through a routing table, LLDP information or other mechanisms.
[0185] The first target network node uploads the previously separated metadata to the corresponding SDN controller. This ensures that the network’s telemetry data can be collected and analyzed even as the data packets are on their way to their final destination.
[0186] In the embodiment of the present application, after uploading the metadata, the first target network node directly transmits the data packet without the INT metadata to the destination server. Since the data packet has reached the final destination, it no longer needs to be transmitted in the network.
[0187] The destination server receives the data packet from the first target network node and performs the required data processing tasks, such as storing data, processing requests, etc.
[0188] The SDN controller receives and stores metadata uploaded from the first target network node for network monitoring, performance analysis, and troubleshooting. Using the collected metadata, the SDN controller can analyze network performance, identify traffic patterns, optimize routing paths, and improve network efficiency.
[0189] In an embodiment of the present application, the network node can effectively collect and utilize telemetry data during data packet transmission, while ensuring that the data packet can smoothly reach the destination server and complete the data transmission task.
[0190] Figure 2 A schematic diagram of an example workflow provided in the embodiments of the present application is shown in FIG. Figure 2 As shown, including:
[0191] Source Server: The source server is the starting point of the data flow, usually the server where the application, database or other data source is located. In the network architecture, the source server is responsible for generating and sending data packets, which may carry user data, application data or other types of information.
[0192] Destination Server: The destination server is the end point of the data flow, usually the server where the application, database or other receiving end is located. In the network architecture, the destination server receives the data packet and processes the data in it.
[0193] INT Transit Hop Node: A transit node is a node that a packet passes through during transmission. Each transit node creates additional space on the packet header to add its own INT metadata. At each transit node, the "Number of Hops Remaining" field is reduced accordingly to prevent exhaustion of the INT header space in abnormal situations.
[0194] INT Sink Node: The sink node is the destination of the data packet. The sink node removes the INT header and metadata stack and decides whether to report the collected information. The sink node is usually the last hop of the network transmission. It is responsible for processing the INT metadata and passing it to the corresponding monitoring or reporting system.
[0195] SDN Controller: The controller at the top of the figure is the core part of the SDN system. The SDN controller is responsible for centrally managing the entire network and controlling the data flow and telemetry data flow. The controller communicates with the source node, transit node, and end node through the control flow to transmit network policies and configuration instructions. The controller also receives telemetry data uploaded from the end node for network monitoring and analysis.
[0196] The specific implementation process is:
[0197] The origin server generates data packets containing user data, application data, or other types of data;
[0198] The data packet is first transmitted to the source node (Source), which is the starting point on the network transmission path;
[0199] The source node adds an INT header to the data packet, which includes control information and data structure, as well as initial metadata (MD1), which may include node ID, interface information, delay, and timestamp;
[0200] The packet is then transmitted to Transit 1, which is an intermediate node that the packet passes through before reaching its destination;
[0201] Transit node 1 determines whether the next-hop node belongs to the same control domain through the GROUP_ID shared by the LLDP protocol;
[0202] If transit node 1 detects that the next hop node is an unmanaged node, it will perform special operations; transit node 1 will separate the INT header containing metadata from the data packet to prevent problems caused by MTU limitations on unmanaged nodes.
[0203] The separated metadata is uploaded to the SDN controller, ensuring the collection and analysis of telemetry data even in the case of unmanaged nodes; the data packet after removing the INT header and metadata continues to be transmitted to the next node and finally reaches the destination server.
[0204] The destination server receives clean data packets and processes the data in the packets; through this mechanism, important telemetry data can be retained and successfully uploaded even in the presence of unmanaged nodes, allowing network administrators to monitor and analyze network performance.
[0205] This processing approach improves the intelligence and automation level of the network, allowing the network to operate effectively in an environment with different control domains and unmanaged nodes.
[0206] Optionally, Figure 3 The GROUP_ID workflow diagram provided in the embodiment of the present application is as follows: Figure 3 As shown, including:
[0207] Controller1 manages Node1 and Node2 and configures GROUP_ID FC200001. Controller2 manages Node3 and configures GROUP_ID FC200000. Node4 is not managed by a controller. After receiving the GROUP_ID configuration, each node will add the GROUP_ID to the LLDP information. All nodes will then send LLDP frames to all ports to share device information. Since the LLDP frame sent by Node2 contains GROUP_ID and the value is the same as Node1, Node1 regards Node2 as being in the same control domain. However, the value of Node3 is different from that of Node1, and Node4 has no GROUP_ID, so Node1 regards Node3, Node4 and itself as not in the same control domain.
[0208] In an optional embodiment, the GROUP_ID in the LLDP frame may be further encrypted using a conventional encryption algorithm to prevent potential security threats.
[0209] The data transmission device provided by the present invention is described below. The data transmission device described below and the data transmission method described above can be referenced to each other.
[0210] Figure 4 A schematic diagram of the structure of a data transmission device provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, including:
[0211] The acquisition module 410 is used for the network node to acquire the first target link layer discovery protocol of the first target network node; wherein the first target network node is the next hop network node of the network node; wherein the first target link layer discovery protocol includes the control domain identity information issued by the controller corresponding to the first target network node;
[0212] The transmission module 420 is used for separating the metadata in the data packet, uploading the metadata to the controller corresponding to the network node, and transmitting the data packet with the metadata separated to the first target network node when the control domain identity information of the network node and the first target network node are inconsistent.
[0213] Optionally, the device is also used for:
[0214] When the control domain identity information is not included in the first target link layer discovery protocol of the first target network node, it is determined that the control domain identity information of the network node is inconsistent with that of the first target network node.
[0215] According to an embodiment of the present invention, a data transmission device is provided, wherein the device is further used for:
[0216] When a network node receives control domain identity information sent by a controller that manages the network node, adding the control domain identity information in a link layer discovery protocol of the network node;
[0217] The link layer discovery protocol carrying the control domain identity information is synchronized to adjacent network nodes through the node port of the network node.
[0218] According to a data transmission device provided by an embodiment of the present invention, the data packet includes: in-band network telemetry header data and metadata;
[0219] Wherein, the in-band network telemetry header data is used to define control information and data structure of the data packet;
[0220] The metadata is variable-length information attached to the data packet by each of the network nodes.
[0221] Optionally, the device is also used for:
[0222] In a case where the first target link layer discovery protocol of the first target network node includes control domain identity information, comparing the control domain identity information in the first target link layer discovery protocol with the control domain identity information of the link layer discovery protocol of the network node;
[0223] When the control domain identity information in the first target link layer discovery protocol is different from the control domain identity information of the link layer discovery protocol of the network node, determining that the control domain identity information of the network node and the first target network node are inconsistent;
[0224] When the control domain identity information in the first target link layer discovery protocol is consistent with the control domain identity information of the link layer discovery protocol of the network node, the network node transmits the data packet to the first target network node after adding the metadata of the network node in the data packet.
[0225] According to a data transmission device provided by an embodiment of the present invention, the in-band network telemetry header data includes at least one of the following:
[0226] Version number information, remaining hop count information, control flag information, in-band network telemetry type information, and instruction bitmap information.
[0227] According to a data transmission device provided by an embodiment of the present invention, the version number information is used to identify the version of the in-band network telemetry header;
[0228] The remaining hop count information is used to indicate the maximum number of hops that the data packet can pass through in the network;
[0229] The control flag information includes a flag for controlling the behavior of the data packet;
[0230] The instruction bitmap information is used to indicate which standard metadata each network node in the network needs to collect and add, and each bit corresponds to a specific metadata type.
[0231] According to a data transmission device provided by an embodiment of the present invention, the network node includes: a source network node, the source network node is connected to a source server;
[0232] The source server is used to generate a data packet carrying user data, application data or other types of data, and transmit the data packet to the source network node;
[0233] The source network node is used to add in-band network telemetry header data to the data packet, and add metadata corresponding to the source network node after the in-band network telemetry header data, and transmit the data packet to the next-hop network node.
[0234] According to an embodiment of the present invention, a data transmission device is provided, wherein the device is further used for:
[0235] In the case where the first target network node is a managed node, obtaining a second target link layer discovery protocol of a second target network node at a next hop of the first target network node;
[0236] When the control domain identity information in the second target link layer discovery protocol is consistent with that in the first target link layer discovery protocol, the first target network node transmits the data packet to the second target network node after adding the metadata of the first target network node in the data packet.
[0237] According to an embodiment of the present invention, a data transmission device is provided, wherein the device is further used for:
[0238] When the control domain identity information in the second target link layer discovery protocol is inconsistent with that in the first target link layer discovery protocol, the first target network node uploads the metadata of the first target network node to the corresponding controller and transmits the data packet to the second target network node.
[0239] According to an embodiment of the present invention, a data transmission device is provided, wherein the device is further used for:
[0240] In the case that the first target network node is an unmanaged node, the first target network node uploads metadata of the first target network node to the corresponding controller, and transmits the data packet to the second target network node.
[0241] According to an embodiment of the present invention, a data transmission device is provided, wherein the device is further used for:
[0242] In the case where the next-hop network node of the first target network node is a destination server, the metadata is uploaded to the controller corresponding to the first target network node, and the data packet is transmitted to the destination server.
[0243] According to a data transmission device provided by an embodiment of the present invention, the destination server is used to receive the data packet and process the data in the data packet.
[0244] In an embodiment of the present application, before transmitting a data packet, the network node first further determines whether the network node and the first target network node of the next hop belong to the same control domain through the control domain identity information in the target link layer discovery protocol. If they do not belong to the same control domain, when it is detected that the node of the next hop does not belong to the same control domain, the network node will evacuate the metadata in the data packet and actively report this part of the metadata to the controller, thereby avoiding the size of the data packet exceeding the maximum transmission unit due to the superposition of metadata, thereby affecting the transmission of data, and ensuring the effective transmission of data.
[0245] Figure 5 A schematic diagram of the structure of an electronic device provided by the present invention, such as Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the data transmission method, which includes: a network node obtains a first target link layer discovery protocol of a first target network node; wherein the first target network node is a next-hop network node of the network node; wherein the first target link layer discovery protocol includes control domain identity information issued by a controller corresponding to the first target network node;
[0246] When the control domain identity information of the network node and the first target network node are inconsistent, the network node separates the metadata in the data packet, uploads the metadata to the controller corresponding to the network node, and transmits the data packet with the metadata separated to the first target network node.
[0247] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0248] On the other hand, the present invention also provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the data transmission method provided by the above methods, the method comprising: a network node obtains a first target link layer discovery protocol of a first target network node; wherein the first target network node is a next-hop network node of the network node; wherein the first target link layer discovery protocol contains control domain identity information issued by a controller corresponding to the first target network node;
[0249] When the control domain identity information of the network node and the first target network node are inconsistent, the network node separates the metadata in the data packet, uploads the metadata to the controller corresponding to the network node, and transmits the data packet with the metadata separated to the first target network node.
[0250] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the data transmission method provided by the above methods, the method comprising: a network node obtains a first target link layer discovery protocol of a first target network node; wherein the first target network node is a next-hop network node of the network node; wherein the first target link layer discovery protocol contains control domain identity information sent by a controller corresponding to the first target network node;
[0251] When the control domain identity information of the network node and the first target network node are inconsistent, the network node separates the metadata in the data packet, uploads the metadata to the controller corresponding to the network node, and transmits the data packet with the metadata separated to the first target network node.
[0252] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0253] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0254] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A data transmission method, characterized in that: include: The network node obtains a first target link layer discovery protocol of a first target network node; wherein the first target network node is a next-hop network node of the network node; wherein the first target link layer discovery protocol includes control domain identity information issued by a controller corresponding to the first target network node; wherein the control domain identity information is used to identify whether the network nodes belong to the same control domain; When the control domain identity information of the network node and the first target network node are inconsistent, the network node separates the metadata in the data packet, uploads the metadata to the controller corresponding to the network node, and transmits the data packet with the metadata separated to the first target network node.
2. The data transmission method according to claim 1, characterized in that: After the step of the network node acquiring the first target link layer discovery protocol of the first target network node, the method further includes: When the control domain identity information is not included in the first target link layer discovery protocol of the first target network node, it is determined that the control domain identity information of the network node is inconsistent with that of the first target network node.
3. The data transmission method according to claim 1, characterized in that: Before the step of the network node acquiring the first target link layer discovery protocol of the first target network node, the method further includes: When a network node receives control domain identity information sent by a controller that manages the network node, adding the control domain identity information in a link layer discovery protocol of the network node; The link layer discovery protocol carrying the control domain identity information is synchronized to adjacent network nodes through the node port of the network node.
4. The data transmission method according to claim 1, characterized in that: The data packet includes: in-band network telemetry header data and metadata; Wherein, the in-band network telemetry header data is used to define control information and data structure of the data packet; The metadata is variable-length information attached to the data packet by each of the network nodes.
5. The data transmission method according to claim 1, characterized in that: After the step of the network node acquiring the first target link layer discovery protocol of the first target network node, the method further includes: In a case where the first target link layer discovery protocol of the first target network node includes control domain identity information, comparing the control domain identity information in the first target link layer discovery protocol with the control domain identity information of the link layer discovery protocol of the network node; When the control domain identity information in the first target link layer discovery protocol is different from the control domain identity information of the link layer discovery protocol of the network node, determining that the control domain identity information of the network node and the first target network node are inconsistent; When the control domain identity information in the first target link layer discovery protocol is consistent with the control domain identity information of the link layer discovery protocol of the network node, the network node transmits the data packet to the first target network node after adding the metadata of the network node in the data packet.
6. The data transmission method according to claim 4, characterized in that: The in-band network telemetry header data includes at least one of the following: Version number information, remaining hop count information, control flag information, in-band network telemetry type information, and instruction bitmap information.
7. The data transmission method according to claim 6, characterized in that: The version number information is used to identify the version of the in-band network telemetry header; The remaining hop count information is used to indicate the maximum number of hops that the data packet can pass through in the network; The control flag information includes a flag for controlling the behavior of the data packet; The instruction bitmap information is used to indicate which standard metadata each network node in the network needs to collect and add, and each bit corresponds to a specific metadata type.
8. The data transmission method according to claim 4, characterized in that: The network nodes include: a source network node, the source network node is connected to a source server; The source server is used to generate a data packet carrying user data, application data or other types of data, and transmit the data packet to the source network node; The source network node is used to add in-band network telemetry header data to the data packet, and add metadata corresponding to the source network node after the in-band network telemetry header data, and transmit the data packet to the next-hop network node.
9. The data transmission method according to claim 8, characterized in that: After the network node separates metadata from the data packet, uploads the metadata to a controller corresponding to the network node, and transmits the data packet from which the metadata is separated to the first target network node, the method further includes: In the case where the first target network node is a managed node, obtaining a second target link layer discovery protocol of a second target network node at a next hop of the first target network node; When the control domain identity information in the second target link layer discovery protocol is consistent with that in the first target link layer discovery protocol, the first target network node transmits the data packet to the second target network node after adding the metadata of the first target network node in the data packet.
10. The data transmission method according to claim 9, characterized in that: After the step of acquiring a second target link layer discovery protocol of a second target network node at a next hop of the first target network node, the method further includes: When the control domain identity information in the second target link layer discovery protocol is inconsistent with that in the first target link layer discovery protocol, the first target network node uploads the metadata of the first target network node to the corresponding controller and transmits the data packet to the second target network node.
11. The data transmission method according to claim 9, characterized in that: After the network node separates metadata from the data packet, uploads the metadata to a controller corresponding to the network node, and transmits the data packet from which the metadata is separated to the first target network node, the method further includes: In the case that the first target network node is an unmanaged node, the first target network node uploads metadata of the first target network node to the corresponding controller, and transmits the data packet to the second target network node.
12. The data transmission method according to claim 9, characterized in that: After the steps of the network node separating metadata from the data packet, uploading the metadata to a controller corresponding to the network node, and transmitting the data packet after the metadata is separated to the first target network node, the method further includes: In the case where the next-hop network node of the first target network node is a destination server, the metadata is uploaded to the controller corresponding to the first target network node, and the data packet is transmitted to the destination server.
13. The data transmission method according to claim 12, characterized in that: The destination server is used to receive the data packet and process the data in the data packet.
14. A data transmission device, characterized in that: include: An acquisition module, used for a network node to acquire a first target link layer discovery protocol of a first target network node; wherein the first target network node is a next-hop network node of the network node; wherein the first target link layer discovery protocol includes control domain identity information issued by a controller corresponding to the first target network node; wherein the control domain identity information is used to identify whether the network nodes belong to the same control domain; A transmission module is used for separating the metadata in the data packet, uploading the metadata to the controller corresponding to the network node, and transmitting the data packet with the metadata separated to the first target network node when the control domain identity information of the network node and the first target network node are inconsistent.
15. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the data transmission method according to any one of claims 1 to 13 is implemented.
16. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data transmission method according to any one of claims 1 to 13 is implemented.
Citation Information
Patent Citations
Flexible, extensible and safe inter-domain topology discovery method
CN103825825A
Safe network in-band measurement method based on block chain technology
CN110417739A
Protocol awareness-free source route forwarding method and protocol awareness-free source route forwarding system
CN110601983A
Network parameter configuration method, device and equipment and readable storage medium
CN111510320A
Multiple RSTP domain separation
CN111656752A
