A method and apparatus for determining transmission information
By negotiating MTU values among network devices, the problem of determining MTU values at the data link layer or interface is solved, thereby improving transmission efficiency and reducing transmission latency among network devices.
Patent Information
- Application Number
- CN202111611653.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-27
- Publication Date
- 2026-05-15
- Estimated Expiration
- 2041-12-27
AI Technical Summary
The lack of a clear solution in the existing technology to negotiate and determine the maximum transmission unit (MTU) value of the data link layer or interface affects the interoperability of OSPF protocol between network devices.
The first network element management unit sends MTU negotiation information to the second network element management unit and determines the target MTU value based on the negotiation strategy, including three strategies: minimum MTU value, maximum capacity MTU value, and intermediate capacity MTU value. The final MTU value is determined by comparing them according to the priority indication.
This approach enables MTU value determination based on a negotiation strategy, improving transmission efficiency between network devices and reducing transmission latency.
Smart Images

Figure CN116367184B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a method and apparatus for determining transmitted information. Background Technology
[0002] In existing technologies, at the IP layer, the Open Shortest Path First (OSPF) protocol typically uses a manually negotiated default Maximum Transmission Unit (MTU) value. For example, some router networks negotiate an MTU value of 4600 or 1500 to achieve OSPF interoperability between network devices. However, IP layer packet fragmentation and reassembly are mainly limited by the data link layer or interface. The IP layer MTU value can only be better negotiated after determining the MTU value of the data link layer or interface. However, there is currently no clear solution for negotiating and determining the MTU value of the data link layer or interface. Summary of the Invention
[0003] The purpose of this invention is to provide a method and apparatus for determining transmitted information, so as to solve the problem of how to negotiate and determine the MUT value of the data link layer or interface.
[0004] To achieve the above objectives, embodiments of the present invention provide a data processing method, comprising:
[0005] The first network element management unit sends first maximum transmission unit (MTU) negotiation information to the second network element management unit. The first MTU negotiation information includes a first MTU negotiation strategy for determining the MTU value of the network element interface.
[0006] The first network element management unit obtains the second MTU negotiation information sent by the second network element management unit. The second MTU negotiation information includes the second MTU negotiation strategy indicated by the second network element management unit according to the priority of the first MTU negotiation strategy.
[0007] The first network element management unit determines the target MTU value of the first interface of the first network element according to the second MTU negotiation strategy. The target MTU value is the MTU value when data is transmitted between the first network element and the second network element, and the second network element is the neighboring network element of the first network element.
[0008] Optionally, the priority of the second MTU negotiation strategy is higher than the priority of the first MTU negotiation strategy, or the priority of the second MTU negotiation strategy is the same as the priority of the first MTU negotiation strategy. Optionally, the first MTU negotiation information further includes:
[0009] MTU configuration value for the first interface;
[0010] MTU capability value of the first interface;
[0011] The second MTU negotiation information also includes:
[0012] The MTU configuration value for the second interface;
[0013] MTU capability value of the second interface.
[0014] Optionally, the first network element management unit determines the target MTU value of the first interface of the first network element according to the second MTU negotiation strategy, including:
[0015] According to the second MTU negotiation strategy, at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface are compared to obtain the target MTU value of the first interface.
[0016] Optionally, the step of comparing at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy to obtain the target MTU value of the first interface includes:
[0017] When the second MTU negotiation strategy is the minimum MUT value negotiation strategy, the MTU configuration value of the first interface and the MTU configuration value of the second interface are compared, and the smaller MTU configuration value is taken as the target MTU value of the first interface.
[0018] Optionally, the step of comparing at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy to obtain the target MTU value of the first interface includes:
[0019] When the second MTU negotiation strategy is an intermediate capability MTU value negotiation strategy, the MTU configuration value of the first interface and the MTU configuration value of the second interface are compared to obtain the larger MTU configuration value and the smaller MTU configuration value.
[0020] The larger MTU configuration value is compared with the MTU capability value corresponding to the smaller MTU configuration value, and the smaller comparison value is obtained;
[0021] The smaller comparison value is taken as the target MTU value of the first interface.
[0022] Optionally, the step of comparing at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy to obtain the target MTU value of the first interface includes:
[0023] When the second MTU negotiation strategy is the maximum capacity MTU value negotiation strategy, the MTU capacity value of the first interface and the MTU capacity value of the second interface are compared to obtain the smaller MTU capacity value.
[0024] The smaller MTU capability value is used as the target MTU value for the first interface.
[0025] This invention also provides a method for determining transmitted information, including:
[0026] The second network element management unit obtains the first maximum transmission unit (MTU) negotiation information sent by the first network element management unit. The first MTU negotiation information includes a first MTU negotiation strategy for determining the MTU value of the network element interface.
[0027] The second network element management unit sends a second MTU negotiation information to the first network element management unit. The second MTU negotiation information includes a second MTU negotiation strategy indicated by the second network element management unit according to the priority of the first MTU negotiation strategy.
[0028] The second network element management unit determines the target MTU value of the second interface of the second network element according to the second MTU negotiation strategy. The target MTU value is the MTU value when the second network element and the first network element transmit data. The first network element is the neighboring network element of the second network element.
[0029] Optionally, the priority of the second MTU negotiation strategy is higher than the priority of the first MTU negotiation strategy, or the priority of the second MTU negotiation strategy is the same as the priority of the first MTU negotiation strategy.
[0030] Optionally, the first MTU negotiation information further includes:
[0031] MTU configuration value of the first interface of the first network element;
[0032] The MTU capability value of the first interface of the first network element;
[0033] The second MTU negotiation information also includes:
[0034] The MTU configuration value for the second interface;
[0035] MTU capability value of the second interface.
[0036] Optionally, the second network element management unit determines the target MTU value of the second interface of the second network element according to the second MTU negotiation strategy, including:
[0037] According to the second MTU negotiation strategy, at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface are compared to obtain the target MTU value of the second interface.
[0038] Optionally, the step of comparing at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy to obtain the target MTU value of the second interface includes:
[0039] When the second MTU negotiation strategy is the minimum MUT value negotiation strategy, the MTU configuration value of the first interface and the MTU configuration value of the second interface are compared, and the smaller MTU configuration value is taken as the target MTU value of the second interface.
[0040] Optionally, the step of comparing at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy to obtain the target MTU value of the second interface includes:
[0041] When the second MTU negotiation strategy is an intermediate capability MTU value negotiation strategy, the MTU configuration value of the first interface and the MTU configuration value of the second interface are compared to obtain the larger MTU configuration value and the smaller MTU configuration value.
[0042] The larger MTU configuration value is compared with the MTU capability value corresponding to the smaller MTU configuration value, and the smaller comparison value is obtained;
[0043] The smaller comparison value is taken as the target MTU value of the second interface.
[0044] Optionally, the step of comparing at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy to obtain the target MTU value of the second interface includes:
[0045] When the second MTU negotiation strategy is the maximum capacity MTU value negotiation strategy, the MTU capacity value of the first interface and the MTU capacity value of the second interface are compared to obtain the smaller MTU capacity value.
[0046] The smaller MTU capability value is used as the target MTU value for the second interface.
[0047] This invention also provides a device for determining transmitted information, comprising:
[0048] The first sending module is used to send first maximum transmission unit (MTU) negotiation information to the second network element management unit. The first MTU negotiation information includes a first MTU negotiation strategy for determining the MTU value of the network element interface.
[0049] The first acquisition module is used to acquire the second MTU negotiation information sent by the second network element management unit. The second MTU negotiation information includes the second MTU negotiation strategy indicated by the second network element management unit according to the priority of the first MTU negotiation strategy.
[0050] The first determining module is used to determine the target MTU value of the first interface of the first network element according to the second MTU negotiation strategy. The target MTU value is the MTU value when data is transmitted between the first network element and the second network element, and the second network element is a neighboring network element of the first network element.
[0051] This invention also provides a device for determining transmitted information, comprising:
[0052] The second acquisition module is used to acquire the first maximum transmission unit (MTU) negotiation information sent by the first network element management unit. The first MTU negotiation information includes a first MTU negotiation strategy for determining the MTU value of the network element interface.
[0053] The second sending module is used to send second MTU negotiation information to the first network element management unit. The second MTU negotiation information includes a second MTU negotiation strategy indicated by the second network element management unit according to the priority of the first MTU negotiation strategy.
[0054] The second determining module is used to determine the target MTU value of the second interface of the second network element according to the second MTU negotiation strategy. The target MTU value is the MTU value when the second network element and the first network element transmit data. The first network element is a neighboring network element of the second network element.
[0055] This invention also provides a device for determining transmitted information, comprising: a first transceiver and a first processor;
[0056] The first transceiver is used to send first maximum transmission unit (MTU) negotiation information to the second network element management unit, the first MTU negotiation information including a first MTU negotiation strategy for determining the MTU value of the network element interface; and to obtain second MTU negotiation information sent by the second network element management unit, the second MTU negotiation information including a second MTU negotiation strategy indicated by the second network element management unit according to the priority of the first MTU negotiation strategy.
[0057] The first processor is configured to determine the target MTU value of the first interface of the first network element according to the second MTU negotiation strategy. The target MTU value is the MTU value when data is transmitted between the first network element and the second network element, and the second network element is a neighboring network element of the first network element.
[0058] This invention also provides a device for determining transmitted information, comprising: a second transceiver and a second processor;
[0059] The second transceiver is used to acquire first maximum transmission unit (MTU) negotiation information sent by the first network element management unit, the first MTU negotiation information including a first MTU negotiation strategy for determining the MTU value of the network element interface; and to send second MTU negotiation information to the first network element management unit, the second MTU negotiation information including a second MTU negotiation strategy indicated by the second network element management unit according to the priority of the first MTU negotiation strategy.
[0060] The second processor is used to determine the target MTU value of the second interface of the second network element according to the second MTU negotiation strategy. The target MTU value is the MTU value when the second network element and the first network element transmit data. The first network element is a neighboring network element of the second network element.
[0061] This invention also provides a device for determining transmitted information, comprising: a transceiver, a processor, a memory, and a program or instructions stored in the memory and executable on the processor; when the processor executes the program or instructions, it implements the steps in the method for determining transmitted information as described above.
[0062] This invention also provides a readable storage medium storing a program or instructions thereon, which, when executed by a processor, implements the steps in the method for determining transmitted information as described above.
[0063] The beneficial effects of the above-described technical solution of the present invention are as follows:
[0064] In this embodiment of the invention, the first network element management unit sends first MTU negotiation information containing a first MUT negotiation strategy to the second network element management unit, obtains the second MTU negotiation strategy indicated by the priority of the first MTU negotiation strategy from the second network element management unit, and determines the target MTU value of the first receiving or the second interface based on the second MTU negotiation strategy. In this way, the purpose of determining the target MTU value of the interface based on the MTU negotiation strategy negotiated by the two is achieved. Attached Figure Description
[0065] Figure 1 This is one of the flowcharts illustrating the method for determining transmission information according to an embodiment of the present invention;
[0066] Figure 2 This is a second flowchart illustrating the method for determining transmission information according to an embodiment of the present invention.
[0067] Figure 3 This is one of the module schematic diagrams of the device for determining transmission information according to an embodiment of the present invention;
[0068] Figure 4 This is a second schematic diagram of the module of the device for determining transmission information according to an embodiment of the present invention;
[0069] Figure 5 This is one of the structural block diagrams of the device for determining transmission information according to an embodiment of the present invention;
[0070] Figure 6 This is a second structural block diagram of the device for determining transmission information according to an embodiment of the present invention;
[0071] Figure 7 This is the third structural block diagram of the device for determining transmission information according to an embodiment of the present invention. Detailed Implementation
[0072] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.
[0073] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the invention. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments.
[0074] In various embodiments of the present invention, it should be understood that the sequence number of each process described below does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0075] In addition, the terms "system" and "network" are often used interchangeably in this article.
[0076] In the embodiments provided in this application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined based on A. However, it should also be understood that determining B based on A does not mean determining B solely based on A; B can also be determined based on A and / or other information.
[0077] like Figure 1 As shown, this embodiment of the invention provides a method for determining transmitted information, including:
[0078] Step 101: The first network element management unit sends the first maximum transmission unit (MTU) negotiation information to the second network element management unit. The first MTU negotiation information includes a first MTU negotiation strategy for determining the MTU value of the network element interface.
[0079] In this embodiment of the invention, the first network element management unit can be a device module or integrated into a unified management and control system. The second network element is a neighboring network element of the first network element.
[0080] Optionally, the first MTU negotiation information further includes:
[0081] The MTU configuration value for the first interface;
[0082] MTU capability value of the first interface.
[0083] The MTU capability value of the aforementioned interface is greater than the MTU configuration value of the first interface. The aforementioned first interface is the interface of the first network element.
[0084] Step 102: The first network element management unit obtains the second MTU negotiation information sent by the second network element management unit. The second MTU negotiation information includes the second MTU negotiation strategy indicated by the second network element management unit according to the priority of the first MTU negotiation strategy.
[0085] Optionally, the priority of the second MTU negotiation strategy is higher than the priority of the first MTU negotiation strategy, or the priority of the second MTU negotiation strategy is the same as the priority of the first MTU negotiation strategy.
[0086] When the priority of the second MTU negotiation strategy is the same as the priority of the first MTU negotiation strategy, the second MTU negotiation strategy can be the first MTU negotiation strategy.
[0087] Optionally, the second MTU negotiation information further includes:
[0088] MTU configuration value for the second interface;
[0089] MTU capability value of the second interface.
[0090] The MUT capability value of the second interface is greater than the MUT configuration value of the second interface. This second MTU negotiation strategy is the MUT negotiation strategy preferred by the second network element management unit. The aforementioned second interface is the interface of the second network element.
[0091] The first MTU negotiation strategy or the second MUT negotiation strategy in the embodiments of the present invention may include one of the following:
[0092] Minimum MUT value negotiation strategy;
[0093] Intermediate capability MTU value negotiation strategy;
[0094] Maximum capacity (MTU) negotiation strategy.
[0095] In this embodiment of the invention, the MTU capability value can be the maximum MTU capability supported by the device or calculated based on the maximum MTU capability supported by the device.
[0096] The three strategies mentioned above have a priority order. When the negotiation strategies of the first network element management unit and the second network element management unit are inconsistent, the strategy with higher priority is adopted. For example, the minimum MUT value negotiation strategy has the highest priority, the intermediate capacity MTU value negotiation strategy has the middle priority, and the maximum capacity MTU value negotiation strategy has the lowest priority.
[0097] For example, when the first network element management unit issues a negotiation strategy using the intermediate capability MTU value, and the second network element management unit agrees to use this strategy, it issues the intermediate capability MTU value negotiation strategy, as well as the MTU configuration value and MTU capability value of the second interface.
[0098] When the first network element management unit issues a negotiation strategy using an intermediate capability MTU value, and the second network element management unit disagrees with uniformly adopting this strategy, it issues a higher-priority minimum MTU value negotiation strategy, along with the MTU configuration value and capability value of the second interface. The first network element management unit compares and negotiates the received strategies to determine the target MTU value.
[0099] Furthermore, the minimum MTU value negotiation strategy refers to selecting the smaller configuration value between the MTU configuration value of the first interface and the MTU configuration value of the second interface as the negotiated MTU value.
[0100] The maximum capacity MTU negotiation strategy refers to selecting the smaller capacity value between the MTU capacity value of the first interface and the MTU capacity value of the second interface as the negotiated MTU value.
[0101] The intermediate capability MTU value negotiation strategy refers to selecting the smaller value as the negotiated MTU value between the larger MTU configuration value and the smaller MTU configuration value.
[0102] Step 103: The first network element management unit determines the target MTU value of the first interface of the first network element according to the second MTU negotiation strategy. The target MTU value is the MTU value when data is transmitted between the first network element and the second network element, and the second network element is the neighboring network element of the first network element.
[0103] In this embodiment of the invention, the first network element management unit sends first MTU negotiation information containing a first MUT negotiation strategy to the second network element management unit, obtains the second MTU negotiation strategy indicated by the priority of the first MTU negotiation strategy from the second network element management unit, and determines the target MTU value of the first receiving or the second interface based on the second MTU negotiation strategy. In this way, the purpose of determining the target MTU value of the interface based on the MTU negotiation strategy negotiated by the two is achieved.
[0104] Optionally, the first network element management unit determines the target MTU value of the first interface of the first network element according to the second MTU negotiation strategy, including:
[0105] According to the second MTU negotiation strategy, at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface are compared to obtain the target MTU value of the first interface.
[0106] Here, the MTU configuration value, MTU capability value, MTU configuration value, and MTU capability value of the first interface are processed according to the second MTU negotiation strategy to obtain the target MTU value, so that the target MTU value can guarantee the transmission efficiency between the first network element and the second network element or reduce the transmission delay between the first network element and the second network element.
[0107] As a first optional implementation, the step of comparing at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy to obtain the target MTU value of the first interface includes:
[0108] When the second MTU negotiation strategy is the minimum MUT value negotiation strategy, the MTU configuration value of the first interface and the MTU configuration value of the second interface are compared, and the smaller MTU configuration value is taken as the target MTU value of the first interface.
[0109] As shown in Table 1, MTU1 represents the MTU configuration value of the first interface, MTU1' represents the MTU capability value of the first interface, MTU2 represents the MTU configuration value of the second interface, and MTU2' represents the MTU capability value of the second interface. When using the minimum MTU value negotiation strategy, MTU1 and MTU2 are compared. If MTU1 is greater than MTU2, the target MTU value of the first interface is modified to MTU2. If MTU1 is less than or equal to MTU2, the target MTU value of the first interface remains MTU1. In Table 1, if MTU1 is greater than MTU2, the target MTU value of the first interface is modified to 1500.
[0110] Table 1
[0111] Strategy MTU1 MTU1' MTU2 MTU2' Minimum Value Negotiation Strategy 4600 9600 1500 6000
[0112] As a second optional implementation, the step of comparing at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy to obtain the target MTU value of the first interface includes:
[0113] When the second MTU negotiation strategy is an intermediate capability MTU value negotiation strategy, the MTU configuration value of the first interface and the MTU configuration value of the second interface are compared to obtain the larger MTU configuration value and the smaller MTU configuration value.
[0114] The larger MTU configuration value is compared with the MTU capability value corresponding to the smaller MTU configuration value, and the smaller comparison value is obtained;
[0115] The smaller comparison value is taken as the target MTU value of the first interface.
[0116] In this implementation, when using the intermediate capability MTU value negotiation strategy (referred to as the intermediate capability strategy), the smaller of the interface capability values between the larger and smaller configuration values is used as the target MTU value. Specifically, the MTU configuration value MTU1 of the first interface is compared with the MTU configuration value MTU2 of the second interface. If MTU1 is greater than MTU2, then MTU1 is compared with the MTU capability value MTU2' of the second interface. If MTU1 is greater than MTU2', then MTU2' is used as the target MTU value of the first interface. If MTU1 is less than or equal to MTU2', then the target MTU value of the first interface remains MTU1.
[0117] If MTU1 is less than MTU2, compare the MTU capability value MTU1’ of the first interface with MTU2. If MTU1’ is greater than MTU2, then use MTU2 as the target MTU value of the first interface. If MTU1’ is less than MTU2, then use MTU1’ as the target MTU value of the first interface. If MTU1’ is equal to MTU2, then use MTU1’ or MTU2 as the target MTU value of the first interface.
[0118] For case 1 in Table 2, MTU1 < MTU2 and MTU1 < MTU2’, and the smaller value between the interface capability values of the larger configuration value and the smaller configuration value is MTU1 = 4600. Finally, the target MTU configuration value of the first interface is negotiated to remain unchanged (4600), and the target MTU value of the second interface of the second network element = MTU2 = MTU1 = 4600;
[0119] For case 2 in Table 2, MTU1 < MTU2 and MTU1 > MTU2’, and the smaller value between the interface capability values of the larger configuration value and the smaller configuration value is MTU2’ = 3000. Finally, the target MTU value of the first interface of the first network element = MTU1 = MTU2’ = 3000, and the target MTU value of the second interface of the second network element = MTU2 = MTU2’ = 3000.
[0120] Table 2
[0121] Strategy MTU1 MTU1' MTU2 MTU2' Case 1 Intermediate capability strategy 4600 9600 1500 6000 Case 2 Intermediate capability strategy 4600 9600 1500 3000
[0122] As a third alternative implementation method, according to the second MTU negotiation policy, compare at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface to obtain the target MTU value of the first interface, including:
[0123] When the second MTU negotiation policy is the maximum capability MTU value negotiation policy, compare the MTU capability value of the first interface and the MTU capability value of the second interface to obtain the smaller MTU capability value;
[0124] Use the smaller MTU capability value as the target MTU value of the first interface.
[0125] In this implementation method, the maximum capability MTU value negotiation policy (abbreviated as the maximum capability policy) is adopted, that is, the smaller value among the capability values is used as the target MTU value of the first interface. If the MTU capability value MTU1’ of the first interface is greater than the MTU capability value MTU2’ of the second interface, then use MTU2’ as the target MTU value of the first interface. If MTU1’ is less than or equal to MTU2’, then use MTU1’ as the target MTU value of the first interface.
[0126] For example, for case 1 in Table 3, 6000 is taken as the target MTU value of the first interface;
[0127] For case 2 in Table 3, 3000 is taken as the target MTU value of the first interface.
[0128] Table 3
[0129] Strategy MTU1 MTUI MTU2 MTU2' Case 1 Maximum capacity strategy 4600 9600 1500 6000 Case 2 Maximum capacity strategy 4600 9600 1500 3000
[0130] It should be noted that the second network element management unit determines the MTU configuration value of the second interface in the same way according to the above-mentioned second MUT negotiation strategy.
[0131] In addition, in this embodiment of the invention, after the first network element management unit determines the target MTU value of the first interface, it notifies the first network element, the network element IP packets, and each protocol to use the target MTU value as the protocol MTU.
[0132] In one embodiment of the present invention, the MTU configuration value and capability value of the network element interface (the aforementioned first interface and second interface) can be indicated by the Type-Length-Value (TLV) in the Link Layer Discovery Protocol (LLDP) message. The format of the LLDP message is shown in Tables 4 and 5.
[0133] Table 4
[0134]
[0135] Table 5
[0136]
[0137]
[0138] Among them, the strategies of Bit14 to 15 are enumerated, such as 00 representing the minimum value strategy, 01 representing the intermediate capability strategy, 10 representing the maximum capability strategy, and 11 being reserved.
[0139] In another embodiment of the present invention, the configuration MTU value and the maximum MTU value are obtained through the interface using the Netconf management method, as shown in Table 6.
[0140] Table 6
[0141]
[0142] In this embodiment of the invention, the first network element management unit sends first MTU negotiation information containing a first MUT negotiation strategy to the second network element management unit, obtains the second MTU negotiation strategy indicated by the priority of the first MTU negotiation strategy from the second network element management unit, and determines the target MTU value of the first receiving or the second interface based on the second MTU negotiation strategy. In this way, the purpose of determining the target MTU value of the interface based on the MTU negotiation strategy negotiated by the two is achieved.
[0143] like Figure 2 As shown, this embodiment of the invention also provides a method for determining transmitted information, including:
[0144] Step 201: The second network element management unit obtains the first maximum transmission unit (MTU) negotiation information sent by the first network element management unit. The first MTU negotiation information includes a first MTU negotiation strategy for determining the MTU value of the network element interface.
[0145] Optionally, the first MTU negotiation information further includes:
[0146] The MTU configuration value for the first interface;
[0147] MTU capability value of the first interface.
[0148] Step 202: The second network element management unit sends second MTU negotiation information to the first network element management unit. The second MTU negotiation information includes a second MTU negotiation strategy indicated by the second network element management unit according to the priority of the first MTU negotiation strategy.
[0149] Optionally, the second MTU negotiation information further includes:
[0150] MTU configuration value for the second interface;
[0151] MTU capability value of the second interface.
[0152] Step 203: The second network element management unit determines the target MTU value of the second interface of the second network element according to the second MTU negotiation strategy. The target MTU value is the MTU value when the second network element and the first network element transmit data. The first network element is the neighboring network element of the second network element.
[0153] In this embodiment of the invention, the first network element management unit sends first MTU negotiation information containing a first MUT negotiation strategy to the second network element management unit, obtains the second MTU negotiation strategy indicated by the priority of the first MTU negotiation strategy from the second network element management unit, and determines the target MTU value of the first receiving or the second interface based on the second MTU negotiation strategy. In this way, the purpose of determining the target MTU value of the interface based on the MTU negotiation strategy negotiated by the two is achieved.
[0154] Optionally, the second network element management unit determines the target MTU value of the second interface of the second network element according to the second MTU negotiation strategy, including:
[0155] According to the second MTU negotiation strategy, at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface are compared to obtain the target MTU value of the second interface.
[0156] Optionally, the step of comparing at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy to obtain the target MTU value of the second interface includes:
[0157] When the second MTU negotiation strategy is the minimum MUT value negotiation strategy, the MTU configuration value of the first interface and the MTU configuration value of the second interface are compared, and the smaller MTU configuration value is taken as the target MTU value of the second interface.
[0158] Optionally, the step of comparing at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy to obtain the target MTU value of the second interface includes:
[0159] When the second MTU negotiation strategy is an intermediate capability MTU value negotiation strategy, the MTU configuration value of the first interface and the MTU configuration value of the second interface are compared to obtain the larger MTU configuration value and the smaller MTU configuration value.
[0160] The larger MTU configuration value is compared with the MTU capability value corresponding to the smaller MTU configuration value, and the smaller comparison value is obtained;
[0161] The smaller comparison value is taken as the target MTU value of the second interface.
[0162] Optionally, the step of comparing at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy to obtain the target MTU value of the second interface includes:
[0163] When the second MTU negotiation strategy is the maximum capacity MTU value negotiation strategy, the MTU capacity value of the first interface and the MTU capacity value of the second interface are compared to obtain the smaller MTU capacity value.
[0164] The smaller MTU capability value is used as the target MTU value for the second interface.
[0165] It should be noted that the specific implementation method of the second network element management unit determining the target MTU value of the second interface according to the second MTU negotiation strategy is the same as the implementation method of the first network element management unit determining the target MTU value of the first interface according to the second MTU negotiation strategy, and will not be repeated here.
[0166] In this embodiment of the invention, the first network element management unit sends first MTU negotiation information containing a first MUT negotiation strategy to the second network element management unit, obtains the second MTU negotiation strategy indicated by the priority of the first MTU negotiation strategy from the second network element management unit, and determines the target MTU value of the first receiving or the second interface based on the second MTU negotiation strategy. In this way, the purpose of determining the target MTU value of the interface based on the MTU negotiation strategy negotiated by the two is achieved.
[0167] like Figure 3 As shown, this embodiment of the invention also provides a device 300 for determining transmitted information, comprising:
[0168] The first sending module 301 is used to send first maximum transmission unit (MTU) negotiation information to the second network element management unit. The first MTU negotiation information includes a first MTU negotiation strategy for determining the MTU value of the network element interface.
[0169] The first acquisition module 302 is used to acquire the second MTU negotiation information sent by the second network element management unit. The second MTU negotiation information includes the second MTU negotiation strategy indicated by the second network element management unit according to the priority of the first MTU negotiation strategy.
[0170] The first determining module 303 is used to determine the target MTU value of the first interface of the first network element according to the second MTU negotiation strategy. The target MTU value is the MTU value when data is transmitted between the first network element and the second network element, and the second network element is a neighboring network element of the first network element.
[0171] Optionally, the first MTU negotiation information further includes:
[0172] The MTU configuration value for the first interface;
[0173] MTU capability value of the first interface;
[0174] The second MTU negotiation information also includes:
[0175] MTU configuration value for the second interface;
[0176] MTU capability value of the second interface.
[0177] Optionally, the first determining module is used to compare at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy, to obtain the target MTU value of the first interface.
[0178] Optionally, the first determining module is used to compare the MTU configuration value of the first interface and the MTU configuration value of the second interface when the second MTU negotiation strategy is the minimum MUT value negotiation strategy, and take the smaller MTU configuration value as the target MTU value of the first interface.
[0179] Optionally, the first determining module includes:
[0180] The first comparison submodule is used to compare the MTU configuration value of the first interface and the MTU configuration value of the second interface when the second MTU negotiation strategy is an intermediate capability MTU value negotiation strategy, and to obtain the larger MTU configuration value and the smaller MTU configuration value.
[0181] The second comparison submodule is used to compare the larger MTU configuration value with the MTU capability value corresponding to the smaller MTU configuration value, and obtain the smaller comparison value.
[0182] A first determining submodule is used to take the smaller comparison value as the target MTU value of the first interface.
[0183] Optionally, the first determining module includes:
[0184] The third comparison submodule is used to compare the MTU capability value of the first interface and the MTU capability value of the second interface when the second MTU negotiation strategy is the maximum capability MTU value negotiation strategy, and obtain the smaller MTU capability value.
[0185] The second determining submodule is used to take the smaller MTU capability value as the target MTU value of the first interface.
[0186] In this embodiment of the invention, the first network element management unit sends first MTU negotiation information containing a first MUT negotiation strategy to the second network element management unit, obtains the second MTU negotiation strategy indicated by the priority of the first MTU negotiation strategy from the second network element management unit, and determines the target MTU value of the first receiving or the second interface based on the second MTU negotiation strategy. In this way, the purpose of determining the target MTU value of the interface based on the MTU negotiation strategy negotiated by the two is achieved.
[0187] It should be noted that this device is the same as the device described in the above method embodiments. All implementations of the above method embodiments can be applied to this device embodiment and achieve the same technical effect, which will not be repeated here.
[0188] like Figure 4 As shown, this embodiment of the invention also provides a device 400 for determining transmitted information, comprising:
[0189] The second acquisition module 401 is used to acquire the first maximum transmission unit (MTU) negotiation information sent by the first network element management unit. The first MTU negotiation information includes a first MTU negotiation strategy for determining the MTU value of the network element interface.
[0190] The second sending module 402 is used to send second MTU negotiation information to the first network element management unit. The second MTU negotiation information includes a second MTU negotiation strategy indicated by the second network element management unit according to the priority of the first MTU negotiation strategy.
[0191] The second determining module 403 is used to determine the target MTU value of the second interface of the second network element according to the second MTU negotiation strategy. The target MTU value is the MTU value when the second network element and the first network element transmit data. The first network element is a neighboring network element of the second network element.
[0192] Optionally, the first MTU negotiation information further includes:
[0193] The MTU configuration value for the first interface;
[0194] MTU capability value of the first interface;
[0195] The second MTU negotiation information also includes:
[0196] MTU configuration value for the second interface;
[0197] MTU capability value of the second interface.
[0198] Optionally, the second determining module is used to compare at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy, to obtain the target MTU value of the second interface.
[0199] Optionally, the second determining module is used to compare the MTU configuration value of the first interface and the MTU configuration value of the second interface when the second MTU negotiation strategy is the minimum MUT value negotiation strategy, and take the smaller MTU configuration value as the target MTU value of the second interface.
[0200] Optionally, the second determining module includes:
[0201] The fourth comparison submodule is used to compare the MTU configuration value of the first interface and the MTU configuration value of the second interface when the second MTU negotiation strategy is an intermediate capability MTU value negotiation strategy, and to obtain the larger MTU configuration value and the smaller MTU configuration value.
[0202] The fifth comparison submodule is used to compare the larger MTU configuration value with the MTU capability value corresponding to the smaller MTU configuration value, and obtain the smaller comparison value;
[0203] The third determining submodule is used to take the smaller comparison value as the target MTU value of the second interface.
[0204] Optionally, the second determining module includes:
[0205] The sixth comparison submodule is used to compare the MTU capability value of the first interface and the MTU capability value of the second interface when the second MTU negotiation strategy is the maximum capability MTU value negotiation strategy, and obtain the smaller MTU capability value.
[0206] The fourth determining submodule is used to take the smaller MTU capability value as the target MTU value of the second interface.
[0207] In this embodiment of the invention, the first network element management unit sends first MTU negotiation information containing a first MUT negotiation strategy to the second network element management unit, obtains the second MTU negotiation strategy indicated by the priority of the first MTU negotiation strategy from the second network element management unit, and determines the target MTU value of the first receiving or the second interface based on the second MTU negotiation strategy. In this way, the purpose of determining the target MTU value of the interface based on the MTU negotiation strategy negotiated by the two is achieved.
[0208] It should be noted that this device is the same as the device described in the above method embodiments. All implementations of the above method embodiments can be applied to this device embodiment and achieve the same technical effect, which will not be repeated here.
[0209] like Figure 5 As shown, this embodiment of the invention also provides a device 500 for determining transmitted information, including: a first transceiver 520 and a first processor 510;
[0210] The first transceiver 520 is used to send first maximum transmission unit (MTU) negotiation information to the second network element management unit, the first MTU negotiation information including a first MTU negotiation strategy for determining the MTU value of the network element interface; and to obtain second MTU negotiation information sent by the second network element management unit, the second MTU negotiation information including a second MTU negotiation strategy indicated by the second network element management unit according to the priority of the first MTU negotiation strategy.
[0211] The first processor 510 is configured to determine the target MTU value of the first interface of the first network element according to the second MTU negotiation strategy. The target MTU value is the MTU value when data is transmitted between the first network element and the second network element, and the second network element is a neighboring network element of the first network element.
[0212] Optionally, the first MTU negotiation information further includes:
[0213] The MTU configuration value for the first interface;
[0214] MTU capability value of the first interface;
[0215] The second MTU negotiation information also includes:
[0216] MTU configuration value for the second interface;
[0217] MTU capability value of the second interface.
[0218] Optionally, the first processor 510 is further configured to: compare at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy, to obtain the target MTU value of the first interface.
[0219] Optionally, the first processor 510 is further configured to: when the second MTU negotiation strategy is a minimum MUT value negotiation strategy, compare the MTU configuration value of the first interface and the MTU configuration value of the second interface, and take the smaller MTU configuration value as the target MTU value of the first interface.
[0220] Optionally, the first processor 510 is further configured to: when the second MTU negotiation strategy is an intermediate capability MTU value negotiation strategy, compare the MTU configuration value of the first interface and the MTU configuration value of the second interface to obtain a larger MTU configuration value and a smaller MTU configuration value; compare the larger MTU configuration value with the MTU capability value corresponding to the smaller MTU configuration value to obtain a smaller comparison value; and use the smaller comparison value as the target MTU value of the first interface.
[0221] Optionally, the first processor 510 is further configured to: when the second MTU negotiation strategy is a maximum capability MTU value negotiation strategy, compare the MTU capability value of the first interface and the MTU capability value of the second interface to obtain the smaller MTU capability value; and use the smaller MTU capability value as the target MTU value of the first interface.
[0222] In this embodiment of the invention, the first network element management unit sends first MTU negotiation information containing a first MUT negotiation strategy to the second network element management unit, obtains the second MTU negotiation strategy indicated by the priority of the first MTU negotiation strategy from the second network element management unit, and determines the target MTU value of the first receiving or the second interface based on the second MTU negotiation strategy. In this way, the purpose of determining the target MTU value of the interface based on the MTU negotiation strategy negotiated by the two is achieved.
[0223] This device can implement all the implementation methods described in the above method embodiments, and will not be repeated here to avoid repetition.
[0224] like Figure 6 As shown, a device 600 for determining information transmission includes: a second transceiver 620 and a second processor 610;
[0225] The second transceiver 620 is used to acquire first maximum transmission unit (MTU) negotiation information sent by the first network element management unit, the first MTU negotiation information including a first MTU negotiation strategy for determining the MTU value of the network element interface; and to send second MTU negotiation information to the first network element management unit, the second MTU negotiation information including a second MTU negotiation strategy indicated by the second network element management unit according to the priority of the first MTU negotiation strategy.
[0226] The second processor 610 is used to determine the target MTU value of the second interface of the second network element according to the second MTU negotiation strategy. The target MTU value is the MTU value when the second network element and the first network element transmit data. The first network element is a neighboring network element of the second network element.
[0227] Optionally, the first MTU negotiation information further includes:
[0228] The MTU configuration value for the first interface;
[0229] MTU capability value of the first interface;
[0230] The second MTU negotiation information also includes:
[0231] MTU configuration value for the second interface;
[0232] MTU capability value of the second interface.
[0233] Optionally, the second processor 610 is configured to compare at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy, to obtain the target MTU value of the second interface.
[0234] Optionally, the second processor 610 is configured to compare the MTU configuration value of the first interface and the MTU configuration value of the second interface when the second MTU negotiation strategy is a minimum MUT value negotiation strategy, and use the smaller MTU configuration value as the target MTU value of the second interface.
[0235] Optionally, the second processor 610 is configured to compare the MTU configuration value of the first interface and the MTU configuration value of the second interface when the second MTU negotiation strategy is an intermediate capability MTU value negotiation strategy, and obtain a larger MTU configuration value and a smaller MTU configuration value.
[0236] The larger MTU configuration value is compared with the MTU capability value corresponding to the smaller MTU configuration value, and the smaller comparison value is obtained;
[0237] The smaller comparison value is taken as the target MTU value of the second interface.
[0238] Optionally, the second processor 610 is configured to compare the MTU capability value of the first interface and the MTU capability value of the second interface when the second MTU negotiation strategy is a maximum capability MTU value negotiation strategy, and obtain the smaller MTU capability value; and use the smaller MTU capability value as the target MTU value of the second interface.
[0239] This device can implement all the implementation methods described in the above method embodiments, and will not be repeated here to avoid repetition.
[0240] This invention also provides a device for determining transmitted information, such as... Figure 7 As shown, it includes: a transceiver 710, a processor 700, a memory 720, and a program or instructions stored in the memory 720 and executable on the processor 700; when the processor 700 executes the program or instructions, it implements the steps in the above-described method for determining transmitted information.
[0241] The transceiver 710 is used to receive and send data under the control of the processor 700.
[0242] Among them, Figure 7In this context, the bus architecture may include any number of interconnected buses and bridges, specifically linking various circuits together, represented by one or more processors (processor 700) and memory (memory 720). The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface. The transceiver 710 may be multiple elements, including transmitters and receivers, providing a unit for communicating with various other devices over a transmission medium. The processor 700 is responsible for managing the bus architecture and general processing, and the memory 720 may store data used by the processor 700 during operation.
[0243] This invention also provides a readable storage medium storing a program or instructions thereon. When the program or instructions are executed by a processor, they implement the steps in the method for determining transmitted information as described above and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0244] The processor mentioned above is the processor in the information transmission determination device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0245] It should be further noted that the terminals described in this specification include, but are not limited to, smartphones, tablets, etc., and many of the functional components described are referred to as modules in order to emphasize the independence of their implementation.
[0246] In this embodiment of the invention, the module can be implemented in software so that it can be executed by various types of processors. For example, an identified executable code module may include one or more physical or logical blocks of computer instructions, which may be constructed as objects, procedures, or functions. Nevertheless, the executable code of the identified module does not need to be physically located together, but may include different instructions stored in different bits, which, when logically combined, constitute the module and achieve the module's intended purpose.
[0247] In practice, an executable code module can be a single instruction or many instructions, and can even be distributed across multiple different code segments, different programs, and across multiple memory devices. Similarly, operational data can be identified within the module and can be implemented in any suitable form and organized within any suitable type of data structure. This operational data can be collected as a single dataset or distributed across different locations (including different storage devices), and can exist, at least in part, solely as electronic signals within the system or network.
[0248] When a module can be implemented using software, considering the current level of hardware technology, modules that can be implemented in software can be implemented using hardware circuits by those skilled in the art to achieve the corresponding functions, without considering cost. These hardware circuits include conventional very-large-scale integrated circuits (VLSI) or gate arrays, as well as existing semiconductors such as logic chips and transistors, or other discrete components. Modules can also be implemented using programmable hardware devices, such as field-programmable gate arrays, programmable array logic, and programmable logic devices.
[0249] The exemplary embodiments described above are with reference to the accompanying drawings. Many different forms and embodiments are feasible without departing from the spirit and teachings of the invention. Therefore, the invention should not be construed as limiting the exemplary embodiments set forth herein. Rather, these exemplary embodiments are provided to make the invention complete and convey the scope of the invention to those skilled in the art. In these drawings, component dimensions and relative dimensions may be exaggerated for clarity. The terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. As used herein, unless clearly indicated otherwise, the singular forms “a,” “an,” and “the” are intended to include all such forms. It will be further understood that the terms “comprising” and / or “including”, when used in this specification, indicate the presence of the stated features, integers, steps, operations, components, and / or elements, but do not exclude the presence or addition of one or more other features, integers, steps, operations, components, and / or groups thereof. Unless otherwise indicated, when stated, a range of values includes the upper and lower limits of the range and any subranges in between.
[0250] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for determining transmitted information, characterized in that, include: The first network element management unit sends first maximum transmission unit (MTU) negotiation information to the second network element management unit. The first MTU negotiation information includes a first MTU negotiation strategy for determining the MTU value of the network element interface. The first network element management unit obtains the second MTU negotiation information sent by the second network element management unit. The second MTU negotiation information includes the second MTU negotiation strategy indicated by the second network element management unit according to the priority of the first MTU negotiation strategy. The first network element management unit determines the target MTU value of the first interface of the first network element according to the second MTU negotiation strategy. The target MTU value is the MTU value when data is transmitted between the first network element and the second network element, and the second network element is the neighboring network element of the first network element. The first MTU negotiation information also includes: The MTU configuration value of the first interface; The MTU capability value of the first interface; The second MTU negotiation information also includes: The MTU configuration value of the second interface of the second network element; The MTU capability value of the second interface; The first network element management unit determines the target MTU value of the first interface of the first network element according to the second MTU negotiation strategy, including: According to the second MTU negotiation strategy, at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface are compared to obtain the target MTU value of the first interface. The step of comparing at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy to obtain the target MTU value of the first interface includes: When the second MTU negotiation strategy is an intermediate capability MTU value negotiation strategy, the MTU configuration value of the first interface and the MTU configuration value of the second interface are compared to obtain the larger MTU configuration value and the smaller MTU configuration value. The larger MTU configuration value is compared with the MTU capability value corresponding to the smaller MTU configuration value, and the smaller comparison value is obtained; The smaller comparison value is taken as the target MTU value of the first interface.
2. The method according to claim 1, characterized in that, The priority of the second MTU negotiation strategy is higher than the priority of the first MTU negotiation strategy, or the priority of the second MTU negotiation strategy is the same as the priority of the first MTU negotiation strategy.
3. The method according to claim 1, characterized in that, The step of comparing at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy to obtain the target MTU value of the first interface includes: When the second MTU negotiation strategy is the minimum MUT value negotiation strategy, the MTU configuration value of the first interface and the MTU configuration value of the second interface are compared, and the smaller MTU configuration value is taken as the target MTU value of the first interface.
4. The method according to claim 1, characterized in that, The step of comparing at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy to obtain the target MTU value of the first interface includes: When the second MTU negotiation strategy is the maximum capacity MTU value negotiation strategy, the MTU capacity value of the first interface and the MTU capacity value of the second interface are compared to obtain the smaller MTU capacity value. The smaller MTU capability value is used as the target MTU value for the first interface.
5. A method for determining transmitted information, characterized in that, include: The second network element management unit obtains the first maximum transmission unit (MTU) negotiation information sent by the first network element management unit. The first MTU negotiation information includes a first MTU negotiation strategy for determining the MTU value of the network element interface. The second network element management unit sends a second MTU negotiation information to the first network element management unit. The second MTU negotiation information includes a second MTU negotiation strategy indicated by the second network element management unit according to the priority of the first MTU negotiation strategy. The second network element management unit determines the target MTU value of the second interface of the second network element according to the second MTU negotiation strategy. The target MTU value is the MTU value when the second network element and the first network element transmit data. The first network element is the neighboring network element of the second network element. The first MTU negotiation information also includes: MTU configuration value of the first interface of the first network element; The MTU capability value of the first interface of the first network element; The second MTU negotiation information also includes: The MTU configuration value for the second interface; MTU capability value of the second interface; The second network element management unit determines the target MTU value of the second interface of the second network element according to the second MTU negotiation strategy, including: According to the second MTU negotiation strategy, at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface are compared to obtain the target MTU value of the second interface. The step of comparing at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy to obtain the target MTU value of the second interface includes: When the second MTU negotiation strategy is an intermediate capability MTU value negotiation strategy, the MTU configuration value of the first interface and the MTU configuration value of the second interface are compared to obtain the larger MTU configuration value and the smaller MTU configuration value. The larger MTU configuration value is compared with the MTU capability value corresponding to the smaller MTU configuration value, and the smaller comparison value is obtained; The smaller comparison value is taken as the target MTU value of the second interface.
6. The method according to claim 5, characterized in that, The priority of the second MTU negotiation strategy is higher than the priority of the first MTU negotiation strategy, or the priority of the second MTU negotiation strategy is the same as the priority of the first MTU negotiation strategy.
7. The method according to claim 5, characterized in that, The step of comparing at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy to obtain the target MTU value of the second interface includes: When the second MTU negotiation strategy is the minimum MUT value negotiation strategy, the MTU configuration value of the first interface and the MTU configuration value of the second interface are compared, and the smaller MTU configuration value is taken as the target MTU value of the second interface.
8. The method according to claim 5, characterized in that, The step of comparing at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy to obtain the target MTU value of the second interface includes: When the second MTU negotiation strategy is the maximum capacity MTU value negotiation strategy, the MTU capacity value of the first interface and the MTU capacity value of the second interface are compared to obtain the smaller MTU capacity value. The smaller MTU capability value is used as the target MTU value for the second interface.
9. A device for determining the transmission of information, characterized in that, include: The first sending module is used to send first maximum transmission unit (MTU) negotiation information to the second network element management unit. The first MTU negotiation information includes a first MTU negotiation strategy for determining the MTU value of the network element interface. The first acquisition module is used to acquire the second MTU negotiation information sent by the second network element management unit. The second MTU negotiation information includes the second MTU negotiation strategy indicated by the second network element management unit according to the priority of the first MTU negotiation strategy. The first determining module is used to determine the target MTU value of the first interface of the first network element according to the second MTU negotiation strategy. The target MTU value is the MTU value when data is transmitted between the first network element and the second network element, and the second network element is a neighboring network element of the first network element. The first MTU negotiation information also includes: The MTU configuration value of the first interface; The MTU capability value of the first interface; The second MTU negotiation information also includes: The MTU configuration value of the second interface of the second network element; The MTU capability value of the second interface; The first determining module is used to compare at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy, so as to obtain the target MTU value of the first interface. The first determining module includes: The first comparison submodule is used to compare the MTU configuration value of the first interface and the MTU configuration value of the second interface when the second MTU negotiation strategy is an intermediate capability MTU value negotiation strategy, and to obtain the larger MTU configuration value and the smaller MTU configuration value. The second comparison submodule is used to compare the larger MTU configuration value with the MTU capability value corresponding to the smaller MTU configuration value, and obtain the smaller comparison value. A first determining submodule is used to take the smaller comparison value as the target MTU value of the first interface.
10. A device for determining the transmission of information, characterized in that, include: The second acquisition module is used to acquire the first maximum transmission unit (MTU) negotiation information sent by the first network element management unit. The first MTU negotiation information includes a first MTU negotiation strategy for determining the MTU value of the network element interface. The second sending module is used to send second MTU negotiation information to the first network element management unit. The second MTU negotiation information includes a second MTU negotiation strategy indicated by the second network element management unit according to the priority of the first MTU negotiation strategy. The second determining module is used to determine the target MTU value of the second interface of the second network element according to the second MTU negotiation strategy. The target MTU value is the MTU value when the second network element and the first network element transmit data. The first network element is a neighboring network element of the second network element. The first MTU negotiation information also includes: MTU configuration value of the first interface of the first network element; The MTU capability value of the first interface of the first network element; The second MTU negotiation information also includes: The MTU configuration value for the second interface; MTU capability value of the second interface; The second determining module is used to compare at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy, so as to obtain the target MTU value of the second interface. The second determining module includes: The fourth comparison submodule is used to compare the MTU configuration value of the first interface and the MTU configuration value of the second interface when the second MTU negotiation strategy is an intermediate capability MTU value negotiation strategy, and to obtain the larger MTU configuration value and the smaller MTU configuration value. The fifth comparison submodule is used to compare the larger MTU configuration value with the MTU capability value corresponding to the smaller MTU configuration value, and obtain the smaller comparison value; The third determining submodule is used to take the smaller comparison value as the target MTU value of the second interface.
11. A device for determining the transmission of information, characterized in that, include: First transceiver and first processor; The first transceiver is used to send first maximum transmission unit (MTU) negotiation information to the second network element management unit. The first MTU negotiation information includes a first MTU negotiation strategy for determining the MTU value of the network element interface. Obtain the second MTU negotiation information sent by the second network element management unit, wherein the second MTU negotiation information includes the second MTU negotiation strategy indicated by the second network element management unit according to the priority of the first MTU negotiation strategy; The first processor is configured to determine the target MTU value of the first interface of the first network element according to the second MTU negotiation strategy. The target MTU value is the MTU value when data is transmitted between the first network element and the second network element, and the second network element is a neighboring network element of the first network element. The first MTU negotiation information also includes: The MTU configuration value of the first interface; The MTU capability value of the first interface; The second MTU negotiation information also includes: The MTU configuration value of the second interface of the second network element; The MTU capability value of the second interface; The first processor is further configured to: compare at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy, to obtain the target MTU value of the first interface; The first processor is further configured to: when the second MTU negotiation strategy is an intermediate capability MTU value negotiation strategy, compare the MTU configuration value of the first interface and the MTU configuration value of the second interface to obtain a larger MTU configuration value and a smaller MTU configuration value; The larger MTU configuration value is compared with the MTU capability value corresponding to the smaller MTU configuration value, and the smaller comparison value is obtained; The smaller comparison value is taken as the target MTU value of the first interface.
12. A device for determining the transmission of information, characterized in that, include: Second transceiver and second processor; The second transceiver is used to acquire first maximum transmission unit (MTU) negotiation information sent by the first network element management unit, the first MTU negotiation information including a first MTU negotiation strategy for determining the MTU value of the network element interface; and to send second MTU negotiation information to the first network element management unit, the second MTU negotiation information including a second MTU negotiation strategy indicated by the second network element management unit according to the priority of the first MTU negotiation strategy. The second processor is used to determine the target MTU value of the second interface of the second network element according to the second MTU negotiation strategy. The target MTU value is the MTU value when the second network element and the first network element transmit data. The first network element is a neighboring network element of the second network element. The first MTU negotiation information also includes: MTU configuration value of the first interface of the first network element; The MTU capability value of the first interface of the first network element; The second MTU negotiation information also includes: The MTU configuration value for the second interface; MTU capability value of the second interface; The second processor is further configured to: compare at least two of the MTU configuration value of the first interface, the MTU capability value of the first interface, the MTU configuration value of the second interface, and the MTU capability value of the second interface according to the second MTU negotiation strategy, to obtain the target MTU value of the second interface; The second processor is further configured to: when the second MTU negotiation strategy is an intermediate capability MTU value negotiation strategy, compare the MTU configuration value of the first interface and the MTU configuration value of the second interface to obtain a larger MTU configuration value and a smaller MTU configuration value; The larger MTU configuration value is compared with the MTU capability value corresponding to the smaller MTU configuration value, and the smaller comparison value is obtained; The smaller comparison value is taken as the target MTU value of the second interface.
13. A device for determining information transmission, comprising: A transceiver, a processor, a memory, and a program or instructions stored in the memory and executable on the processor; characterized in that, when the processor executes the program or instructions, it implements the steps of the method for determining transmitted information as described in any one of claims 1 to 4, or implements the steps of the method for determining transmitted information as described in any one of claims 5 to 8.
14. A readable storage medium having a program or instructions stored thereon, characterized in that, When the program or instructions are executed by the processor, they implement the steps in the method for determining the transmitted information as described in any one of claims 1 to 4, or implement the steps in the method for determining the transmitted information as described in any one of claims 5 to 8.