CN115842732A - Method for detecting MTU (maximum Transmission Unit) by distributed full paths - Google Patents

Method for detecting MTU (maximum Transmission Unit) by distributed full paths Download PDF

Info

Publication number
CN115842732A
CN115842732A CN202310153076.7A CN202310153076A CN115842732A CN 115842732 A CN115842732 A CN 115842732A CN 202310153076 A CN202310153076 A CN 202310153076A CN 115842732 A CN115842732 A CN 115842732A
Authority
CN
China
Prior art keywords
link
mtu
nodes
detection
channel
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.)
Granted
Application number
CN202310153076.7A
Other languages
Chinese (zh)
Other versions
CN115842732B (en
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 Broadband Communications Co ltd
Original Assignee
Beijing Tianwei Communication Technology 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 Beijing Tianwei Communication Technology Co ltd filed Critical Beijing Tianwei Communication Technology Co ltd
Priority to CN202310153076.7A priority Critical patent/CN115842732B/en
Publication of CN115842732A publication Critical patent/CN115842732A/en
Application granted granted Critical
Publication of CN115842732B publication Critical patent/CN115842732B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to a method for detecting MTU (maximum transmission unit) by a distributed full path, which comprises the steps of establishing an IRC Channel for each link based on an IRC system, and adding all nodes in the link into the Channel; taking a link as a unit, each node on the link initiates an MTU detection task in a peer-to-peer mode and starts detection; when the minimum MTU is obtained by detection on the link, the detection is finished, and other nodes on the link are informed of finishing the detection task; and taking the minimum MTU obtained by the current link as the MTU configuration value of the current link, and performing link configuration on all nodes on the link according to the MTU configuration value. The detection of the MTU is distributed on all the nano-tube nodes of the same link, and the detection progress of the MTU is shared to all the nano-tube nodes of the same link at any time, so that the detection efficiency is greatly accelerated; MTU detection results are directly shared to all the nano-tube nodes in the same link without being configured respectively; and a new detection task can be initiated at any time, and the network change can be responded in time.

Description

Method for detecting MTU (maximum Transmission Unit) by distributed full paths
Technical Field
The disclosure relates to the technical field of SD-WAN, in particular to a method, a device and a control system for detecting MTU (maximum Transmission Unit) in a distributed full path.
Background
MTU is an important field in IP protocol and determines the maximum packet length of a node, while for a link, the node with the minimum MTU determines the MTU value of the whole link.
Due to various uncertain factors in operators, cloud platforms and tunnel technologies, the value of the MTU is often an uncommon value in the field of SD-WAN. Generally, not all nodes on the whole link are in a managed state, so the MTU of the managed node generally will be transferred to the MTU of a non-managed node, but the value is generally obtained by guessing, trying and the like, the manual operation efficiency is low, some manufacturers provide a method for detecting the MTU by a single node, and an exhaustion method is used for searching for a proper MTU value, so that the problem is solved to a certain extent.
However, the single-node probing MTU is inefficient, mainly embodied in the following two aspects:
each node repeats the same detection, which wastes time and resources;
the probe values cannot be shared.
In addition, in the field of SD-WAN, due to the introduction of multipath and intelligent pipeline technology, the MTU becomes a variable value, and therefore a more efficient and agile detection method for detecting the MTU in a distributed full path is required.
Disclosure of Invention
In order to solve the above problems, the present application provides a method, an apparatus, and a control system for detecting an MTU in a distributed full path.
In one aspect of the present application, a method for detecting an MTU in a distributed full path is provided, which includes the following steps:
based on an IRC system, creating an IRC Channel for each link, and adding all nodes in the link into the Channel;
taking a link as a unit, each node on the link initiates an MTU detection task in a peer-to-peer mode and starts detection;
when the minimum MTU is obtained by detection on the link, the detection is finished, and other nodes on the link are informed of finishing the detection task;
and taking the minimum MTU obtained by the current link as the MTU configuration value of the current link, and performing link configuration on all nodes on the link according to the MTU configuration value.
As an optional embodiment of the present application, optionally, based on an IRC system, creating an IRC Channel for each link, and adding all nodes in a link to the Channel includes:
presetting IRC construction conditions;
constructing an IRC system according to the IRC construction conditions;
and based on the IRC system, establishing an IRC Channel for each link in the IRC system by taking the link as a unit, and adding all nodes in each link into the Channel to enter under the nanotube of the IRC system.
As an optional embodiment of the present application, optionally, taking a link as a unit, each node on the link initiates an MTU probe task in a peer-to-peer manner, and starts probing, including:
presetting an initiating condition of an MTU detection task, and configuring the initiating condition on the IRC system;
when the initiating condition is triggered, all nodes on a Channel of a link initiate an MTU detection task in a peer-to-peer mode by taking the link as a unit;
each node executes the MTU detection task, starts to perform MTU detection on the located link, and respectively obtains the MTU on each node.
As an optional embodiment of the present application, optionally, when the initiation condition is triggered, the method further includes:
a task initiator receives the MTU detection task;
the task initiator cuts and distributes the tasks to the MTU detection tasks and distributes the cut tasks to each node on a link;
each node receives the corresponding assigned task and starts probing.
As an optional embodiment of the present application, optionally, when the probing on the link obtains the minimum MTU, the probing is ended, and the other nodes on the link are notified that the probing task is ended, including:
each node executes the allocated detection task and downwards detects the MTU of all nodes on the Channel;
acquiring MTUs detected by each node executing tasks, and acquiring the minimum MTU corresponding to all detected nodes on a Channel from the MTUs detected by all nodes;
and when the minimum MTU on the corresponding detected Channel is obtained, the detection is finished, and other nodes on the link Channel are informed of finishing the detection task.
As an optional embodiment of the present application, optionally, after notifying other nodes on the link Channel that the probing task is ended, the method further includes:
other nodes on the link Channel receive the notification of the end of the detection task and abandon the currently allocated detection task;
the task initiator cuts and distributes the tasks to the MTU detection tasks again, and distributes the cut tasks to other nodes on the link Channel;
other nodes on the link Channel receive the corresponding assigned task and start probing.
As an optional embodiment of the present application, optionally, taking a minimum MTU obtained by a current link as an MTU configuration value of the current link, and performing link configuration on all nodes on the link according to the MTU configuration value includes:
when the MTU detection task on the link Channel is executed, obtaining a final detection result on the link Channel;
the node generating the final detection result informs all nodes on the link Channel of ending the tasks, and simultaneously shares the final detection result and informs all nodes on the link Channel;
and all nodes on the link Channel receive the final detection result, and the final detection result is used as the MTU configuration value of the node.
In another aspect of the present application, an apparatus for implementing the method for detecting an MTU in a distributed full path is provided, including:
the IRC application module is used for creating an IRC Channel for each link based on an IRC system and adding all nodes in the link into the Channel;
the MTU detection task module is used for initiating an MTU detection task by each node on a link in a peer-to-peer mode by taking the link as a unit and starting detection;
the detection task sharing module is used for finishing detection when the minimum MTU is obtained by detection on the link and informing other nodes on the link that the detection task is finished;
and the link configuration module is used for taking the minimum MTU obtained by the current link as the MTU configuration value of the current link, and all nodes on the link perform link configuration according to the MTU configuration value.
In another aspect of the present application, there is also provided a control system, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of distributed full path probing MTU when executing the executable instructions.
The invention has the technical effects that:
the method comprises the steps that an IRC Channel is created for each link based on an IRC system, and all nodes in the link are added into the Channel; taking a link as a unit, each node on the link initiates an MTU detection task in a peer-to-peer mode and starts detection; when the minimum MTU is obtained by the detection on the link, the detection is finished, and other nodes on the link are informed of the completion of the detection task; and taking the minimum MTU obtained by the current link as the MTU configuration value of the current link, and performing link configuration on all nodes on the link according to the MTU configuration value. The detection of the MTU is distributed on all the nano-tube nodes of the same link, and the detection progress of the MTU is shared to all the nano-tube nodes of the same link at any time, so that the detection efficiency is greatly accelerated; MTU detection results are directly shared to all the nano-tube nodes in the same link without being configured respectively; and a new detection task can be initiated at any time, and the network change can be responded in time.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic flow chart illustrating an implementation of the method for detecting MTU in a distributed full path according to the present invention;
FIG. 2 is a schematic diagram of the MTU probe path of the present invention;
fig. 3 shows a link diagram for establishing a link IRC Channel by using an IRC system according to the present invention;
fig. 4 shows a schematic diagram of an MTU probing path on a link Channel, taking MTU =1340 as an example, according to the present invention;
fig. 5 shows a schematic diagram of a detection path of the MTU, which is a new task of the present invention.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
The invention takes the link as a unit, each link creates an IRC Channel, and all nodes in the link join the Channel. Taking a link as a unit, all nodes in the IRC Channel initiate MTU probing tasks, allocate tasks, modify tasks, and share results of the tasks (make configuration) in a peer-to-peer manner, and it should be noted that two items, namely, the allocation task and the modification task, are the key to exponentially increasing the probing speed.
Example 1
As shown in fig. 1, in one aspect of the present application, a method for detecting an MTU in a distributed full path is provided, which includes the following steps:
s1, based on an IRC system, creating an IRC Channel for each link, and adding all nodes in the link into the Channel;
s2, taking a link as a unit, each node on the link initiates an MTU detection task in a peer-to-peer mode and starts detection;
s3, when the minimum MTU is obtained by detection on the link, the detection is finished, and other nodes on the link are informed of finishing the detection task;
and S4, taking the minimum MTU obtained by the current link as the MTU configuration value of the current link, and carrying out link configuration on all nodes on the link according to the MTU configuration value.
As shown in fig. 2, the basic idea of detecting MTU is as follows:
the values of MTUs generally range from several hundred to 1500, with MTUs 9000 and higher in support of Jumbo frames, although Jumbo frames are generally not considered;
the detection of the MTU value starts from 1500 and goes down, the initial step size is 100, namely the rhythm of 1500, 1400 and 1300 goes down, if the step size is detected, the step size is changed to 10, and then the step size is detected, the step size is changed to 1, until the accurate value is detected.
The IRC system is introduced, each link corresponds to one Channel by taking the link as a unit, and all the maner nodes (nodes controlled by the system) in the link are added into the corresponding channels (one node can be added into a plurality of channels). As shown in fig. 3, for example, a Channel is disposed between # BJ-SH and BJ001, NJ001, SH001, and each node on the Channel will be under the nanotube of the IRC system.
After the IRC platform is established, the link where each application node is located is added into the IRC platform. All nodes in the IRC Channel initiate MTU detection tasks in a peer-to-peer mode by taking a link as a unit, distribute the tasks, modify the tasks and share the results of the tasks (make configuration); distributing the detection of MTU on all nano-tube nodes of the same link; the MTU detection result is directly shared with all the nano-tube nodes in the same link, after the configuration result is not needed to be generated respectively, the node generating the result can inform all the nodes of ending the task, and the invalid attempt is not performed any more, meanwhile, the result can be informed to all the nodes in the Channel, and all the nodes in the Channel are configured by the minimum MTU of the detection result.
The practice of the present application will be described in detail below.
As an optional embodiment of the present application, optionally, based on an IRC system, creating an IRC Channel for each link, and adding all nodes in the link to the Channel includes:
presetting IRC construction conditions;
constructing an IRC system according to the IRC construction conditions;
and based on the IRC system, establishing an IRC Channel for each link in the IRC system by taking the link as a unit, and adding all nodes in each link into the Channel to enter under the nanotube of the IRC system.
The construction and application of the IRC system can be found in the invention application filed by the applicant: application number 2021111259217-communication method and apparatus for implementing intercommunication of multi-party network nodes based on IRC platform.
The nodes of the whole link are added into an IRC system, each link creates an IRC Channel, and all the nodes in the link are added into the Channel; all nodes in the IRC Channel initiate MTU detection tasks in a peer-to-peer mode by taking a link as a unit, distribute the tasks, modify the tasks and share the results of the tasks (make configuration); the detection of the MTU is distributed on all the nano-tube nodes of the same link.
As an optional embodiment of the present application, optionally, taking a link as a unit, each node on the link initiates an MTU probe task in a peer-to-peer manner, and starts probing, including:
presetting an initiating condition of an MTU detection task, and configuring the initiating condition on the IRC system;
when the initiating condition is triggered, all nodes on a Channel of a link initiate an MTU detection task in a peer-to-peer mode by taking the link as a unit;
each node executes the MTU detection task, starts to perform MTU detection on the located link, and respectively obtains the MTU on each node.
Each node in the Channel has the right to initiate a task of detecting the MTU, and the reason for initiating the task may be timing trigger or discovery that the MTU in the link has changed (for example, sending a large packet that should pass through is rejected).
Therefore, an initiating condition for triggering the MTU probing task needs to be created first, and when the link meets the triggering condition, the MTU probing task is automatically initiated.
The initiating condition of the MTU detection task is set by the user according to the condition of the link, for example, the timing trigger described above may be triggered by discovering that the MTU in the link changes. The system monitors the link in real time, and when the initiation condition for triggering the MTU detection task is found, the system starts to execute the MTU detection task.
When executing the MTU detection task, each node in each link Channel has the right to initiate MTU detection, and the node on each link downwards detects the MTU value of each node in the Channel according to the running direction of the link with the node as the standard, and obtains and stores the MTU values of all nodes in the Channel.
Each node in the Channel in each link executes a detection task, and distributed full-path MTU detection is realized, that is, all nodes in the IRC Channel initiate MTU detection tasks in a peer-to-peer manner, and each node acquires the MTU on each node link (by taking the node as the reference, the MTU of each node in the Channel link is detected downwards).
The detection of the MTU is distributed on all the nano-tube nodes of the same link, and the detection progress of the MTU is shared to all the nano-tube nodes of the same link at any time, so that the detection efficiency is greatly accelerated; MTU detection results are directly shared to all the nanotube nodes in the same link without being configured respectively.
The IRC platform has a plurality of different links, the number of nodes on the links can be different, therefore, a task initiator cuts and distributes tasks, the nodes on the links simultaneously initiate MTU detection tasks, distribute the tasks, modify the tasks and share the tasks in a peer-to-peer mode, so that new detection tasks are initiated at any time, network changes are responded in time, and the detection speed is exponentially improved by distributing the tasks and modifying the tasks.
As an optional embodiment of the present application, optionally, when the initiation condition is triggered, the method further includes:
a task initiator receives the MTU detection task;
the task initiator cuts and distributes the tasks to the MTU detection tasks and distributes the cut tasks to each node on a link;
each node receives the corresponding assigned task and starts probing.
The MTU probe task is specifically created according to the initiation condition of the MTU probe task, and the task initiator can specifically set the task execution content. And the task initiator cuts and distributes the tasks to the MTU detection tasks, distributes the cut tasks to each node on the link, and all nodes in the IRC Channel initiate the MTU detection tasks, distribute the tasks and modify the tasks in a peer-to-peer mode.
Each node can receive a specific task segmented by a task initiator, and only needs to correspondingly execute an MTU detection task of a Channel link where the node is located according to the received distribution task.
As an optional embodiment of the present application, optionally, when the probe on the link obtains the minimum MTU, the probe is ended, and the other nodes on the link are notified that the probe task is ended, including:
each node executes the allocated detection task and downwards detects the MTU of all nodes on the Channel;
acquiring MTUs detected by each node executing tasks, and acquiring the minimum MTU corresponding to all detected nodes on a Channel from the MTUs detected by all nodes;
and when the minimum MTU on the corresponding detected Channel is obtained, the detection is finished, and other nodes on the link Channel are informed of finishing the detection task.
When each node executes the distributed detection task, MTU detection is carried out on all nodes on the current link Channel downwards by taking the node as a reference, and MTUs of all nodes on the link Channel where the current node is located are obtained; all nodes on each link Channel thus probe. As shown in fig. 4, when the node 1400 starts to perform probing, probing is performed downwards to probe all nodes on a link Channel where the node 1400 is located, such as 1400, 1390, 1380.... 1340, and the like, to obtain an MTU of each node, and at this time, an MTU minimum value on the link can be calculated.
As shown in fig. 4, for example, the original detection from 1500 is divided into a plurality of tasks, such as from 1500, from 1400, and from 1300, etc., and the detection is performed in a step of 10, and a plurality of nodes simultaneously receive the tasks, start the detection, detect the minimum MTU among all the nodes of each Channel, and end the detection.
As an optional embodiment of the present application, optionally, after notifying other nodes on the link Channel that the probing task is ended, the method further includes:
other nodes on the link Channel receive the notification of the end of the detection task and abandon the currently allocated detection task;
the task initiator cuts and distributes the tasks to the MTU detection tasks again, and distributes the cut tasks to other nodes on the link Channel;
other nodes on the link Channel receive the corresponding assigned task and start probing.
For example, taking a minimum MTU =1348 of a node on a link as an example, when a minimum MTU value is detected on each link, the node currently generating the minimum MTU result on the link notifies all nodes of the completion of the task, and no invalid attempt is made, and at the same time, the result 1348 is notified to all nodes in the Channel, so that all nodes of the current link Channel are configured with MTU = 1348.
As an optional embodiment of the present application, optionally, taking a minimum MTU obtained by a current link as an MTU configuration value of the current link, and performing link configuration on all nodes on the link according to the MTU configuration value includes:
when the MTU detection task on the link Channel is executed, obtaining a final detection result on the link Channel;
the node generating the final detection result informs all nodes on the link Channel of ending the tasks, and simultaneously shares the final detection result and informs all nodes on the link Channel;
and all nodes on the link Channel receive the final detection result, and the final detection result is used as the MTU configuration value of the node.
And (4) simultaneously receiving tasks by a plurality of nodes, starting detection, detecting the minimum MTU in all the nodes of each Channel, and ending the detection. As shown in fig. 4, for example, the MTU =1340 is used as an example, only the nodes that divide into 1400 tasks can detect, the nodes that divide into 1500 tasks cannot obtain the result, and the nodes that divide into 1300 and below tasks will know that the tasks that divide into themselves are invalid in the first detection. Therefore, the node that picks 1400 the task notifies all nodes that its own task is valid when it detects 1340, allowing all other nodes to drop the existing task and pick up a new task.
As shown in fig. 5, the new task is also distributed, for example, divided into five tasks 1349, 1347, 1345, 1343, 1341, so that five nodes perform detection simultaneously and obtain the result quickly. The specific task execution process is the same as above, and is not described herein again.
After the result is generated, the node generating the result notifies all nodes of the task ending, and no invalid attempt is made, and at the same time, the result 1348 is notified to all nodes in the Channel, so that all nodes are configured with MTU = 1348.
In this embodiment, the triggering, the distribution, the modification, the updating, and the result sharing of the whole task are all realized by means of an IRC platform, the detection of the MTU is distributed on all the nanotube nodes of the same link, and the detection progress of the MTU is shared to all the nanotube nodes of the same link at any time, thereby greatly accelerating the detection efficiency; MTU detection results are directly shared to all the managed nodes in the same link, and no respective configuration is needed, so that a new detection task can be initiated at any time, and network changes can be responded in time.
It should be apparent to those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, and the program may be stored in a computer readable storage medium, and when executed, may include the processes of the embodiments of the control methods as described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by a computer program, which may be stored in a computer readable storage medium and executed to implement the processes of the embodiments of the control methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-only memory (ROM), a Random Access Memory (RAM), a flash memory (FlashMemory), a hard disk (hard disk drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above.
Example 2
Based on the implementation principle of embodiment 1, another aspect of the present application provides an apparatus for implementing the method for detecting an MTU in a distributed full path, including:
the IRC application module is used for creating an IRC Channel for each link based on an IRC system and adding all nodes in the link into the Channel;
the MTU detection task module is used for initiating an MTU detection task by each node on a link in a peer-to-peer mode by taking the link as a unit and starting detection;
the detection task sharing module is used for finishing detection when the minimum MTU is obtained by detection on the link and informing other nodes on the link that the detection task is finished;
and the link configuration module is used for taking the minimum MTU obtained by the current link as the MTU configuration value of the current link, and all nodes on the link perform link configuration according to the MTU configuration value.
The functions and interaction principles of the above modules are described in detail in embodiment 1, and are not described in detail in this embodiment.
The modules or steps of the invention described above can be implemented by a general purpose computing device, they can be centralized on a single computing device or distributed over a network of multiple computing devices, and they can alternatively be implemented by program code executable by a computing device, so that they can be stored in a storage device and executed by a computing device, or they can be separately fabricated into various integrated circuit modules, or multiple modules or steps thereof can be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
Example 3
Still further, in another aspect of the present application, there is provided a control system including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of distributed full path probing MTU when executing the executable instructions.
Embodiments of the present disclosure provide a control system including a processor and a memory for storing processor-executable instructions. Wherein the processor is configured to execute the executable instructions to implement any of the methods for distributed full path probing MTU described above.
Here, it should be noted that the number of processors may be one or more. Meanwhile, in the control system of the embodiment of the present disclosure, an input device and an output device may be further included. The processor, the memory, the input device, and the output device may be connected by a bus, or may be connected by other means, and are not limited specifically herein.
The memory, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and various modules, such as: the program or the module corresponding to the method for detecting the MTU in the distributed full path in the embodiment of the disclosure. The processor executes various functional applications of the control system and data processing by executing software programs or modules stored in the memory.
The input device may be used to receive an input number or signal. Wherein the signal may be a key signal generated in connection with user settings and function control of the device/terminal/server. The output means may comprise a display device such as a display screen.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (9)

1. The method for detecting the MTU by the distributed full path is characterized by comprising the following steps:
based on an IRC system, creating an IRC Channel for each link, and adding all nodes in the link into the Channel;
taking a link as a unit, each node on the link initiates an MTU detection task in a peer-to-peer mode and starts detection;
when the minimum MTU is obtained by detection on the link, the detection is finished, and other nodes on the link are informed of finishing the detection task;
and taking the minimum MTU obtained by the current link as the MTU configuration value of the current link, and performing link configuration on all nodes on the link according to the MTU configuration value.
2. The method of claim 1, wherein the step of creating an IRC Channel for each link based on the IRC system and adding all nodes in the link to the Channel comprises:
presetting IRC construction conditions;
constructing an IRC system according to the IRC construction conditions;
and based on the IRC system, establishing an IRC Channel for each link in the IRC system by taking the link as a unit, and adding all nodes in each link into the Channel to enter under the nanotube of the IRC system.
3. The method for distributed full path probing MTU according to claim 1, wherein each node on the link initiates MTU probing task in a peer-to-peer manner in units of link, and starts probing, comprising:
presetting an initiating condition of an MTU detection task, and configuring the initiating condition on the IRC system;
when the initiating condition is triggered, all nodes on a Channel of a link initiate an MTU detection task in a peer-to-peer mode by taking the link as a unit;
each node executes the MTU detection task, starts to perform MTU detection on the located link, and respectively obtains the MTU on each node.
4. The method of distributed full path probing (MTU) according to claim 3, further comprising when said initiation condition is triggered:
a task initiator receives the MTU detection task;
the task initiator cuts and distributes the tasks to the MTU detection tasks and distributes the cut tasks to each node on a link;
each node receives the corresponding assigned task and starts probing.
5. The method of claim 3, wherein when the probing on the link obtains the minimum MTU, the probing ends and notifies other nodes on the link that the probing task ends, comprising:
each node executes the allocated detection task and downwards detects the MTU of all nodes on the Channel;
acquiring MTUs detected by each node executing tasks, and acquiring the minimum MTU corresponding to all detected nodes on a Channel from the MTUs detected by all nodes;
and when the minimum MTU on the corresponding detected Channel is obtained, the detection is finished, and other nodes on the link Channel are informed of finishing the detection task.
6. The method of distributed full path probing (MTU) according to claim 5, further comprising after notifying other nodes on the link Channel of the completion of the probing task:
other nodes on the link Channel receive the notification of the end of the detection task and abandon the currently allocated detection task;
the task initiator cuts and distributes the tasks to the MTU detection tasks again, and distributes the cut tasks to other nodes on the link Channel;
other nodes on the link Channel receive the corresponding assigned task and start probing.
7. The method of claim 1, wherein the minimum MTU obtained by the current link is used as the MTU configuration value of the current link, and all nodes on the link perform link configuration with the MTU configuration value, including:
when the MTU detection task on the link Channel is executed, obtaining a final detection result on the link Channel;
the node generating the final detection result informs all nodes on the link Channel of task completion, and simultaneously shares the final detection result and informs all nodes on the link Channel;
and all nodes on the link Channel receive the final detection result, and the final detection result is used as the MTU configuration value of the node.
8. An apparatus for implementing the method of distributed full path probing MTU according to any of claims 1-7 comprising:
the IRC application module is used for creating an IRC Channel for each link based on an IRC system and adding all nodes in the link into the Channel;
the MTU detection task module is used for initiating an MTU detection task by each node on a link in a peer-to-peer mode by taking the link as a unit and starting detection;
the detection task sharing module is used for finishing detection when the minimum MTU is obtained by detection on the link and informing other nodes on the link that the detection task is finished;
and the link configuration module is used for taking the minimum MTU obtained by the current link as the MTU configuration value of the current link, and all nodes on the link perform link configuration according to the MTU configuration value.
9. A control system, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of distributed full path probing MTU of any of claims 1-7 when executing the executable instructions.
CN202310153076.7A 2023-02-13 2023-02-13 Method for detecting MTU (modulation transfer unit) in distributed full path Active CN115842732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310153076.7A CN115842732B (en) 2023-02-13 2023-02-13 Method for detecting MTU (modulation transfer unit) in distributed full path

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310153076.7A CN115842732B (en) 2023-02-13 2023-02-13 Method for detecting MTU (modulation transfer unit) in distributed full path

Publications (2)

Publication Number Publication Date
CN115842732A true CN115842732A (en) 2023-03-24
CN115842732B CN115842732B (en) 2023-05-23

Family

ID=85580072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310153076.7A Active CN115842732B (en) 2023-02-13 2023-02-13 Method for detecting MTU (modulation transfer unit) in distributed full path

Country Status (1)

Country Link
CN (1) CN115842732B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102315962A (en) * 2011-07-07 2012-01-11 杭州华三通信技术有限公司 Method for detecting MTU (Maximum Transmission Unit) of Ethernet and maintenance end point
WO2012159481A1 (en) * 2011-05-24 2012-11-29 中兴通讯股份有限公司 Path maximum transmission unit discovery method and node
WO2017206460A1 (en) * 2016-05-31 2017-12-07 中兴通讯股份有限公司 Method, apparatus and device for setting maximum transmission unit value
CN109873763A (en) * 2017-12-05 2019-06-11 北京华为数字技术有限公司 A kind of communication means and equipment
US20210051112A1 (en) * 2019-08-13 2021-02-18 Cloudflare, Inc. Method and system for determining a path maximum transmission unit (mtu) between endpoints of a generic routing encapsulation (gre) tunnel
CN113595749A (en) * 2021-09-26 2021-11-02 北京天维信通科技有限公司 Communication method and device for realizing multi-party network node intercommunication based on IRC platform
CN113890858A (en) * 2021-09-29 2022-01-04 杭州迪普科技股份有限公司 PMTU detection method and device
WO2022116178A1 (en) * 2020-12-04 2022-06-09 华为技术有限公司 Tcp mss adjustment method, apparatus, and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012159481A1 (en) * 2011-05-24 2012-11-29 中兴通讯股份有限公司 Path maximum transmission unit discovery method and node
CN102315962A (en) * 2011-07-07 2012-01-11 杭州华三通信技术有限公司 Method for detecting MTU (Maximum Transmission Unit) of Ethernet and maintenance end point
WO2017206460A1 (en) * 2016-05-31 2017-12-07 中兴通讯股份有限公司 Method, apparatus and device for setting maximum transmission unit value
CN109873763A (en) * 2017-12-05 2019-06-11 北京华为数字技术有限公司 A kind of communication means and equipment
US20210051112A1 (en) * 2019-08-13 2021-02-18 Cloudflare, Inc. Method and system for determining a path maximum transmission unit (mtu) between endpoints of a generic routing encapsulation (gre) tunnel
WO2022116178A1 (en) * 2020-12-04 2022-06-09 华为技术有限公司 Tcp mss adjustment method, apparatus, and system
CN113595749A (en) * 2021-09-26 2021-11-02 北京天维信通科技有限公司 Communication method and device for realizing multi-party network node intercommunication based on IRC platform
CN113890858A (en) * 2021-09-29 2022-01-04 杭州迪普科技股份有限公司 PMTU detection method and device

Also Published As

Publication number Publication date
CN115842732B (en) 2023-05-23

Similar Documents

Publication Publication Date Title
CN109302346B (en) Method and device for transmitting data flow
CN106445473A (en) Container deployment method and apparatus
CN103812930A (en) Method and device for resource scheduling
WO2016058412A1 (en) Method and device for achieving virtualized network function deployment, and storage medium
WO2022160904A1 (en) Method and apparatus for automatic deployment of blockchain network, and cloud computing platform
JP2019525604A (en) Network function NF management method and NF management apparatus
CN105429938A (en) Resource allocation method and device
WO2005076851A2 (en) A method and system for creating, deleting, and maintaining logical networks
CN104703211B (en) A kind of virtualization cut-in method and equipment
CN103414641B (en) Neighbor table item release, device and the network equipment
CN107508712B (en) Network topology discovery method and device
CN107682270B (en) Network topology discovery method and device
CN116528201A (en) Equipment networking method and device, electronic equipment and storage medium
CN113300851B (en) DHT-based block chain message broadcasting method, electronic equipment and storage medium
CN115842732B (en) Method for detecting MTU (modulation transfer unit) in distributed full path
CN116095145B (en) Data control method and system of VPC cluster
WO2023134160A1 (en) Blockchain network-based consensus method and apparatus, and electronic device and storage medium
CN115242687A (en) Node activity detection method, device, equipment and medium
CN106230983A (en) A kind of control device and method
US20030088574A1 (en) Method and machine for validating an identifier as unique
Haeupler et al. Optimal gossip with direct addressing
CN111385324A (en) Data communication method, device, equipment and storage medium
JP6204256B2 (en) Distributed processing system, distributed data management apparatus, and distributed data management method
CN111669310B (en) Batch processing method for network isolation space in pptp vpn and pptp vpn server
CN112394951A (en) Application deployment method and server cluster

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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 100083 room B1001, building 8, yard 1, Zhongguancun East Road, Haidian District, Beijing

Patentee after: China Broadband Communications Co.,Ltd.

Country or region after: China

Address before: 100083 room B1001, building 8, yard 1, Zhongguancun East Road, Haidian District, Beijing

Patentee before: Beijing Tianwei Communication Technology Co.,Ltd.

Country or region before: China