CN115987873A - Data transmission method, device, switch and storage medium - Google Patents

Data transmission method, device, switch and storage medium Download PDF

Info

Publication number
CN115987873A
CN115987873A CN202211740772.XA CN202211740772A CN115987873A CN 115987873 A CN115987873 A CN 115987873A CN 202211740772 A CN202211740772 A CN 202211740772A CN 115987873 A CN115987873 A CN 115987873A
Authority
CN
China
Prior art keywords
priority
state
group
ecmp group
links
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211740772.XA
Other languages
Chinese (zh)
Inventor
曹冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN202211740772.XA priority Critical patent/CN115987873A/en
Publication of CN115987873A publication Critical patent/CN115987873A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application provides a data transmission method, a data transmission device, a switch and a storage medium, and relates to the technical field of communication. Acquiring the current state of an equal-cost multi-path routing ECMP group; the current state represents the priority class of the current member link in the ECMP group, and the priority class is determined according to the reliability of the member link; determining a state updating condition of the ECMP group according to the current state; if the ECMP group meets the state updating condition, updating the current state of the ECMP group; and carrying out data transmission according to the member link in the ECMP group after the state is updated. By the method, the reliability of data transmission can be improved.

Description

Data transmission method, device, switch and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data transmission method, an apparatus, a switch, and a storage medium.
Background
At present, in a network environment where a plurality of different links reach the same destination address, an ECMP (Equal Cost Multi Path) technology is generally adopted for data transmission, so as to achieve the purposes of Multi-Path load balancing and link backup under an equivalent condition.
With the widespread use of distributed device frameworks and stacking technologies, the problems of multipath delay and reliability of ECMP are increasingly highlighted, and in the prior art, all effective links are often fixedly selected as members of an ECMP group to realize data transmission through all effective links, but the method has the problem of poor reliability of data transmission.
Disclosure of Invention
In view of this, an object of the present application is to provide a data transmission method, apparatus, switch and storage medium, so as to solve the problem of poor reliability of data transmission.
In order to achieve the above object, the embodiments of the present application adopt the following technical solutions:
in a first aspect, the present application provides a data transmission method, where the method includes:
acquiring the current state of an equal-cost multi-path routing ECMP group; the current state represents the priority class of the current member link in the ECMP group, and the priority class is determined according to the reliability of the member link;
determining a state updating condition of the ECMP group according to the current state;
if the ECMP group meets the state updating condition, updating the current state of the ECMP group;
and carrying out data transmission according to the member link in the ECMP group after the state is updated.
In an optional embodiment, the determining, according to the current state, a state update condition of the ECMP group includes:
if the current state is an initial state, determining that the state updating conditions of the ECMP group comprise first local card priority state conditions and first local equipment priority state conditions;
the initial state represents that the current member links in the group of the ECMP group comprise member links of all priority classes; the all priority classes comprise a first priority, a second priority and a third priority, the reliability of the first priority member link is greater than that of the second priority member link, and the reliability of the second priority member link is greater than that of the third priority member link;
the first board card priority state condition comprises that the real-time flow sum of member links of all priority classes is smaller than the product of the bandwidth sum of the first priority member link and a preset threshold value;
the first equipment priority state condition comprises that the sum of real-time flow of member links of all priority classes is larger than the product of the sum of bandwidth of a first priority member link and a preset threshold value, and is smaller than the product of the sum of bandwidth of the first priority member link and a second priority member link and the preset threshold value.
In an optional embodiment, if the ECMP group satisfies the status update condition, updating the current status of the ECMP group includes:
if the ECMP group meets the first local card priority state condition, acquiring the first priority member links, and converting the first priority member links into a preset number of member links in the group according to the weight value of each first priority member link; wherein, the weight value is obtained according to the bandwidth of the member link;
updating the member links in the ECMP group according to a preset number of member links in the group, and updating the current state of the ECMP group to the priority state of the card;
if the ECMP group meets the priority condition of the first equipment, acquiring the first priority member links and the second priority member links, and converting the first priority member links and the second priority member links into a preset number of group member links according to the weight value of each first priority member link and the weight value of each second priority member link;
and updating the member links in the ECMP group according to a preset number of member links in the group, and updating the current state of the ECMP group to be the priority state of the equipment.
In an optional embodiment, the determining, according to the current state, a state update condition of the ECMP group includes:
if the current state is the priority state of the equipment, determining that the state updating conditions of the ECMP group comprise priority state conditions and initial state conditions of a second local card; the priority state of the equipment represents that the current member link in the ECMP group comprises a first priority member link and a second priority member link;
the second board card priority state condition comprises that the sum of the real-time traffic of the first priority member link and the second priority member link is smaller than the product of the sum of the bandwidth of the first priority member link and a preset threshold;
the initial state condition comprises a sum of real-time traffic of the first priority member link and the second priority member link being greater than a product of a sum of bandwidths of the first priority member link and the second priority member link multiplied by a preset threshold.
In an optional embodiment, if the ECMP group meets the state update condition, updating the current state of the ECMP group includes:
if the ECMP group meets the second local card priority state condition, acquiring the first priority member links, and converting the first priority member links into a preset number of member links in the group according to the weight value of each first priority member link;
updating the member links in the ECMP group according to a preset number of member links in the group, and updating the current state of the ECMP group to the priority state of the card;
if the ECMP group meets the initial state condition, acquiring member links of all priority classes, and converting the member links of all priority classes into a preset number of group member links according to the weight value of each member link;
and updating the member links in the ECMP group according to a preset number of member links in the group, and updating the current state of the ECMP group into an initial state.
In an optional embodiment, the determining, according to the current state, a state update condition of the ECMP group includes:
if the current state is the local card priority state, determining that the state updating condition of the ECMP group comprises a second local equipment priority state condition; the local board card represents the current member link in the ECMP group in a priority state and comprises a first priority member link;
the second device priority condition includes that the sum of real-time traffic of the first priority member link is greater than the product of the sum of bandwidth of the first priority member link and a preset threshold.
In an optional embodiment, if the ECMP group satisfies the status update condition, updating the current status of the ECMP group includes:
if the ECMP group meets the second equipment priority condition, acquiring the first priority member links and the second priority member links, and converting the first priority member links and the second priority member links into a preset number of group member links according to the weight value of each first priority member link and the weight value of each second priority member link;
and updating the member links in the ECMP group according to a preset number of member links in the group, and updating the current state of the ECMP group to the priority state of the equipment.
In a second aspect, the present application provides a data transmission apparatus, comprising:
the acquisition module is used for acquiring the current state of the equal-cost multi-path routing ECMP group; the current state represents the priority class of the current member link in the ECMP group, and the priority class is determined according to the reliability of the member link;
the determining module is used for determining the state updating condition of the ECMP group according to the current state;
the updating module is used for updating the current state of the ECMP group if the ECMP group meets the state updating condition;
and the updating module is used for carrying out data transmission according to the member link in the ECMP group after the state is updated.
In a third aspect, the present application provides a switch, comprising a processor and a memory, where the memory stores a computer program capable of being executed by the processor, and the processor can execute the computer program to implement the method described in any one of the foregoing embodiments.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method according to any of the preceding embodiments.
According to the data transmission method, the data transmission device, the data transmission switch and the storage medium, the current state of an ECMP group representing the priority category of the current member link in the ECMP group is obtained, wherein the priority category is determined according to the reliability of the member link, the state updating condition of the ECMP group is determined according to the current state, and the current state of the ECMP group is updated under the condition that the ECMP group meets the state updating condition, so that data transmission can be performed according to the member link in the ECMP group after the state updating. Because the member links in the ECMP group can be updated when the ECMP group meets the state updating condition corresponding to the current state, the member links with corresponding reliability can be dynamically selected as the member links in the ECMP group according to the actual situation, thereby improving the reliability of data transmission.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic block diagram of a switch provided in an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a data transmission method according to an embodiment of the present application;
fig. 3 is a schematic flow chart illustrating a data transmission method according to an embodiment of the present application;
fig. 4 is a schematic flowchart illustrating a data transmission method according to an embodiment of the present application;
fig. 5 is a schematic flow chart illustrating a data transmission method according to an embodiment of the present application;
fig. 6 is a functional block diagram of a data transmission apparatus according to an embodiment of the present application.
Icon: 100-a switch; 110-a memory; 120-a processor; 130-a communication module; 200-an obtaining module; 210-a determination module; 220-update module.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, as presented in the figures, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It is noted that relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of ...does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
At present, in a network environment where a plurality of different links reach the same destination address, ECMP can be generally used for data transmission, so as to achieve the purposes of multi-path load balancing and link backup under an equivalent condition.
Firstly, with the widespread use of distributed device frameworks and stacking technologies, the problems of multipath delay and reliability of ECMP are increasingly highlighted, and in the prior art, all effective links are often fixedly selected as members of an ECMP group to implement data transmission through all effective links, but because the reliability of each link is different, and the reliability of some links is low, if all effective links are adopted as members of the ECMP group under any circumstances, the reliability of data transmission is poor.
Secondly, the bandwidths of the links are different, in actual situations, the switch usually selects the link with the smaller bandwidth as a reference, and allocates data to each member link according to the link with the smaller bandwidth, and under the situation that the bandwidth difference of the links is larger, the method has the problem that the total bandwidth utilization rate of the ECMP group is lower. For example, if there are two member links of the ECMP group, the bandwidth of one member link is 100G, and the bandwidth of the other member link is 1G, the switch will allocate data to the two member links according to 1G, that is, the total bandwidth of the member links of the ECMP group is not 101G but 2G, obviously, the total bandwidth utilization of the member links of the ECMP group is very low.
Based on this, embodiments of the present application provide a data transmission method to solve the above problem.
Specifically, fig. 1 is a block schematic diagram of a switch 100 according to an embodiment of the present disclosure, please refer to fig. 1, in which the switch 100 includes a memory 110, a processor 120, and a communication module 130. The memory 110, processor 120, and communication module 130 are in direct or indirect electrical communication with one another to enable the transfer or interaction of data. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
The memory 110 is used to store programs or data. The Memory 110 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
The processor 120 is used to read/write data or programs stored in the memory and perform corresponding functions.
The communication module 130 is used for establishing a communication connection between the server and other communication terminals through a network, and for transceiving data through the network.
It should be understood that the architecture shown in fig. 1 is merely a schematic diagram of the architecture of switch 100, and that switch 100 may include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Next, taking the switch 100 in fig. 1 as an execution subject, an exemplary description is given, with reference to a flow diagram, of a method for updating members of an ECMP group provided in this embodiment of the present application, specifically, fig. 2 is a flow diagram of a data transmission method provided in this embodiment of the present application, please refer to fig. 2, where the method includes:
step S20, obtaining the current state of the equal-cost multi-path routing ECMP group;
the current state represents the priority class of the current member link in the ECMP group, and the priority class is determined according to the reliability of the member link;
optionally, the switch may obtain the current state of the ECMP group in real time, or obtain the current state of the ECMP group every preset time interval.
Optionally, in different states, the member links in the group of the ECMP group are also different, that is, in different states, the ECMP group includes the member links in the group corresponding to different priority classes, and the different priority classes correspond to different reliabilities.
In one possible implementation, the switch may set reliability for the active links in the device in advance, and determine the priority of the member link according to the reliability of each active link.
Optionally, the valid link may be determined according to a setting of a user, and in a possible implementation manner, the switch may update reliability of the updated valid link when it is determined that the current valid link is updated according to the setting of the user, so as to update the member links corresponding to different priority classes.
Alternatively, the priority of each member link may be proportional to the reliability of the member link, for example, the member link with high reliability has a high priority, and the member link with low reliability has a low priority.
In a possible implementation manner, the reliability of the member link may be set for each board card, for example, for a board card on which the ECMP device needs to be installed, it is determined whether the board card is consistent with a board card to which an outlet of each member link belongs, and if the board card on which the ECMP device needs to be installed is consistent with a board card to which an outlet of a certain member link belongs, it is determined that the member link is a high-reliability member link, that is, a high-priority member link; if the board card needing to be provided with the ECMP device is not consistent with the board card to which the outlet of a certain member link belongs but belongs to one device, determining that the member link is a medium-reliability member link, namely a medium-priority member link; if the board card needing to install the ECMP device is not consistent with the board card belonging to the outlet of a certain member link and does not belong to the same equipment, determining that the member link is a low-reliability member link, namely a low-priority member link.
It can be understood that, for each board installed with an ECMP apparatus, there is a difference in priority of its corresponding member link.
In this embodiment, the switch may determine the current state of the ECMP group according to the priority class of the member link in the current group of the ECMP group.
Step S21, determining the state updating condition of the ECMP group according to the current state;
optionally, different states correspond to different state update conditions and thus to different update operations.
Optionally, the status update condition is used to determine whether a member link in the group of the ECMP group needs to be updated in the current status, that is, determine whether the status of the ECMP group needs to be updated.
Step S22, if the ECMP group meets the state updating condition, updating the current state of the ECMP group;
and step S23, carrying out data transmission according to the member link in the ECMP group after the state is updated.
In this embodiment, if the ECMP group satisfies the status update condition, the current status of the ECMP group is updated.
It is understood that, after the status update, the intra-group member links of the ECMP group are also updated accordingly, that is, the priority classes of the intra-group member links of the ECMP group are also updated accordingly.
Optionally, the switch may perform data transmission according to the updated member link in the group.
The data transmission method of the ECMP group provided in the embodiment of the application includes acquiring a current state of the ECMP group representing a priority class of a current member link in the ECMP group, where the priority class is determined according to reliability of the member link, then determining a state update condition of the ECMP group according to the current state, and performing a corresponding update operation on the member link in the ECMP group when the ECMP group meets the state update condition, so as to update the current state of the ECMP group, and thus, data transmission can be performed according to the updated member link in the group. Because the member links in the ECMP group can be updated under the condition that the ECMP group meets the state updating condition corresponding to the current state, the member links with corresponding reliability can be dynamically selected as the member links in the ECMP group according to the actual situation, thereby improving the reliability of data transmission.
Optionally, the states of the ECMP group may include an initial state, a preferred state of the device, and a preferred state of the local card, and it is understood that the priority class of the group member links of the ECMP group in each state is different, that is, the reliability of the group member links of the ECMP group in different states is different.
In a possible implementation manner, if the current state is the initial state, it may be determined whether the ECMP group needs to be updated to the priority state of the device or the priority state of the card at this time, based on this, on the basis of fig. 2, fig. 3 is another schematic flow chart of the data transmission method provided in the embodiment of the present application, please refer to fig. 3, and step S21 may also be implemented by the following steps:
step S21-1, if the current state is an initial state, determining that the state updating conditions of the ECMP group comprise first local card priority state conditions and first local equipment priority state conditions;
the current member links in the group of the ECMP group are represented in an initial state, wherein the member links in the current group of the ECMP group comprise member links of all priority classes; all priority classes comprise a first priority, a second priority and a third priority, the reliability of the first priority member link is greater than that of the second priority member link, and the reliability of the second priority member link is greater than that of the third priority member link;
optionally, the switch may set the current state as the initial state when data transmission is performed initially, and then update the initial state according to the first board card priority state condition and the first device priority state condition. In addition, the switch can update the state of the ECMP group to the initial state when the switch is in another state and the initial state condition is satisfied.
Optionally, in the initial state, the priority classes of the group member links of the ECMP group are all classes, that is, the group member links of the ECMP group in the initial state include member links of all priority classes. It is to be understood that the intra-group member links of the ECMP group include a first priority member link, a second priority member link, and a third priority member link.
The reliability of the first priority member link is greater than that of the second priority member link, and the reliability of the second priority member link is greater than that of the third priority member link, that is, the first priority member link is a high-reliability member link, the second priority member link is a medium-reliability member link, and the third priority member link is a low-reliability member link.
As can be appreciated, in the initial state, the member links in the group of the ECMP group include high reliability member links, medium reliability member links, and low reliability member links.
Optionally, the priority state condition of the first board card includes that the sum of real-time traffic of the member links of all priority classes is smaller than the product of the sum of bandwidth of the member links of the first priority class and a preset threshold;
optionally, the first device priority status condition includes that a sum of real-time traffic of member links of all priority classes is greater than a product of a sum of bandwidths of the first priority member links and a preset threshold, and is smaller than a product of a sum of bandwidths of the first priority member links and the second priority member links and a preset threshold.
Optionally, the switch may set a corresponding weight value for each active member link in the device in advance according to the bandwidth of the active member link, and in a possible implementation manner, the weight value may be directly proportional to the bandwidth, that is, if the bandwidth of the member link is larger, the corresponding weight value is also larger.
Alternatively, the preset threshold may be a maximum percentage of the actual utilization of the bandwidth of the active link, such as 90%.
In this embodiment, the switch may calculate a real-time traffic sum of the member links of all priority classes according to the weight value and the real-time utilization rate of each member link, and the switch may obtain the real-time utilization rate corresponding to the member link from the port corresponding to the member link.
In this embodiment, the switch may calculate the bandwidth sum according to the bandwidth of the member link, so as to calculate the product of the bandwidth sum and the preset threshold, or may calculate the sum of the weight values according to the weight values of the member link, and regard the product of the sum of the weight values and the preset threshold as the product of the bandwidth sum and the preset threshold.
For example, if the number of member links (valid member links in the switch) of all priority classes is 5, where the number of first priority member links is 2, the weight values are H1 and H2, the real-time bandwidth utilization rates are M1 and M2, the number of second priority member links is 2, the weight values are H3 and H4, the real-time bandwidth utilization rates are M3 and M4, the number of third priority member links is 1, the weight value is H5, and the real-time bandwidth utilization rate is M5, the total real-time traffic sum Y1 of the member links of all priority classes can be calculated by the following formula:
Y1=H1*M1+H2*M2+H3*M3+H4*M4+H5*M5
in this example, if the preset threshold is set as T, the product X1 of the sum of the bandwidths of the first priority member links and the preset threshold may be calculated by the following formula:
X1=(H1+H2)*T
in this example, the product X2 of the sum of the bandwidths of the first priority member link and the second priority member link and the preset threshold may be calculated by the following formula:
x2= (H1 + H2+ H3+ H4) × T in this example, the first local cardstock priority state condition may be represented by the formula Y1 < X1; the first present apparatus priority condition can be expressed by the formula X1 < Y1 < X2.
In this case, if the ECMP group meets the first board card priority condition, it indicates that the current state of the ECMP group should be updated to the board card priority; if the ECMP group meets the first device priority status condition, it indicates that the current status of the ECMP group should be updated to the device priority status.
Based on this, please continue to refer to fig. 3, the step S22 can be further implemented by:
step S22-1, if the ECMP group meets the first local card priority state condition, acquiring first priority member links, and converting the first priority member links into a preset number of group member links according to the weight value of each first priority member link;
wherein, the weighted value is obtained according to the bandwidth of the member link;
step S22-2, updating the member links in the ECMP group according to the member links in the group with the preset number, and updating the current state of the ECMP group to the priority state of the card;
alternatively, the switch may set a preset number in advance according to the maximum number of member links supported by the device. In one possible implementation, the preset number may be an integer multiple of the maximum number of member links supported by the device.
For example, if the maximum number of member links supported by the device is 32, the preset number may be an integer multiple of 32, such as 128.
In this embodiment, the switch may obtain the first priority member links when the ECMP group meets the first local card priority state condition, and convert each first priority member link into a preset number of intra-group member links according to the weight value of the first priority member link.
Optionally, if the number of the first priority member links is i and the preset number is n, the switch may convert the i first priority member links into n group member links according to the weight value of each first priority member link.
In an example, taking the preset number of 128, the number of first priority member links as 2, and the weighting values are H1 and H2, respectively, as an example, the switch converts the 2 first priority member links into 128 intra-group member links, where a ratio of the number of the 2 first priority member links in the 128 intra-group member links is H1: H2.
it can be understood that, since the switch allocates the same size of data to each member link in the group when allocating tasks, in this case, the member link with a large bandwidth occupies a larger number of the member links in the group, and therefore, the member link with a large bandwidth is allocated with more data, so that the bandwidth of the member link is fully utilized, and obviously, the total bandwidth utilization rate of the ECMP group can be improved by this method.
In this embodiment, it can be understood that the number of the group member links of the ECMP group in the local card priority state is a preset number, and the group member links only include the first priority member links, and the number of each first priority member link is determined according to the weight value thereof.
Step S22-3, if the ECMP group meets the priority condition of the first equipment, acquiring first priority member links and second priority member links, and converting the first priority member links and the second priority member links into a preset number of group member links according to the weight value of each first priority member link and the weight value of each second priority member link;
and S22-4, updating the member links in the ECMP group according to the preset number of the member links in the group, and updating the current state of the ECMP group into the priority state of the equipment.
In this embodiment, the switch may obtain the first priority member links and the second priority member links when the ECMP group satisfies the first device priority state condition, and convert each first priority member link and each second priority member link into a preset number of group member links according to a weight value of each first priority member link and a weight value of each second priority member link.
Optionally, if the number of the first priority member links is i, the number of the second priority member links is j, and the preset number is n, the switch may convert the i first priority member links and the j second priority member links into n group member links according to a weight value of each first priority member link and a weight value of each second priority member link.
In an example, taking the preset number of 128, the number of first priority member links being 2, the weight values being H1 and H2, the number of second priority member links being 2, and the weight values being H3 and H4, as examples, the switch converts the 2 first priority member links and the 2 second priority member links into 128 intra-group member links, where, among the 128 intra-group member links, the ratio of the number of the 2 first priority member links to the number of the 2 second priority member links is H1: h2: h3: H4.
it can be understood that, since the switch allocates the same size of data to each member link in the group when allocating tasks, in this case, the member link with a large bandwidth occupies a larger number of the member links in the group, and therefore, the member link with a large bandwidth is allocated with more data, so that the bandwidth of the member link is fully utilized, and obviously, the total bandwidth utilization rate of the ECMP group can be improved by this method.
In this embodiment, it can be understood that the number of the member links in the group of the ECMP group in the priority state of the device is a preset number, and the member links in the group include first priority member links and second priority member links, and the number of each first priority member link and the number of each second priority member link are determined according to the weight values thereof, respectively.
In another possible implementation manner, if the current state is the priority state of the device, it may be determined whether the ECMP group needs to be updated to the initial state or the priority state of the card at this time, based on this, on the basis of fig. 2, fig. 4 is another schematic flow chart of the data transmission method provided in the embodiment of the present application, please refer to fig. 4, and step S21 may also be implemented by the following steps:
step S21-2, if the current state is the priority state of the equipment, determining that the state updating conditions of the ECMP group comprise priority state conditions and initial state conditions of a second local card;
the device preferentially represents the current member links in the ECMP group, wherein the current member links in the ECMP group comprise a first priority member link and a second priority member link;
optionally, the switch may update the initial state of the ECMP group to the present device priority state when the switch is in the initial state and meets the first present device priority state condition, and in addition, the switch may also update the initial state of the ECMP group to the present device priority state when the switch is in the present board card priority state and meets the second present device priority state condition.
Optionally, in the preferred state of the present apparatus, the member links in the group of the ECMP group include a first priority member link and a second priority member link.
Optionally, the reliability of the first priority member link is greater than that of the second priority member link, that is, in the priority state of the device, the member links in the group of the ECMP group are high-reliability member links and medium-reliability member links.
Optionally, the second board card priority status condition includes a sum of real-time traffic of the first priority member link and the second priority member link, which is smaller than a product of a sum of bandwidth of the first priority member link and a preset threshold;
optionally, the initial condition comprises a sum of real-time traffic of the first priority member link and the second priority member link being greater than a product of a sum of bandwidths of the first priority member link and the second priority member link multiplied by a preset threshold.
In this embodiment, the switch may calculate a real-time traffic sum of the first priority member link and the second priority member link according to the weight value and the real-time utilization rate of each first priority member link and the weight value and the real-time utilization rate of each second priority member link, and the switch may obtain the real-time utilization rate corresponding to the member link from the port corresponding to the member link.
In this embodiment, the switch may calculate the bandwidth sum according to the bandwidth of the member link, so as to calculate the product of the bandwidth sum and the preset threshold, or may calculate the sum of the weight values according to the weight values of the member link, and regard the product of the sum of the weight values and the preset threshold as the product of the bandwidth sum and the preset threshold.
For example, if the number of member links (valid member links in the switch) of all priority classes is 5, where the number of first priority member links is 2, the weight values are H1 and H2, the real-time bandwidth utilization rates are M1 and M2, the number of second priority member links is 2, the weight values are H3 and H4, the real-time bandwidth utilization rates are M3 and M4, the number of third priority member links is 1, the weight value is H5, and the real-time bandwidth utilization rate is M5, the total real-time traffic sum Y2 of the first priority member link and the second priority member link may be calculated by the following formula:
Y2=H1*M1+H2*M2+H3*M3+H4*M4
in this example, if the preset threshold is set to T, the product X1 of the sum of the bandwidths of the first priority member links and the preset threshold may be calculated by the following formula:
X1=(H1+H2)*T
in this example, the product X2 of the sum of the bandwidths of the first priority member link and the second priority member link and the preset threshold may be calculated by the following formula:
X2=(H1+H2+H3+H4)*T
in this example, the second board card priority state condition may be represented by the formula Y2 < X1; the initial state condition can be represented by the formula X2 < Y2.
In this case, if the ECMP group meets the second board card priority condition, it indicates that the current state of the ECMP group should be updated to the board card priority; if the ECMP group meets the initial state condition, the current state of the ECMP group is updated to the initial state.
Based on this, please continue to refer to fig. 4, the step S22 can be further implemented by:
step S22-5, if the ECMP group meets the priority state condition of the second local card, acquiring first priority member links, and converting the first priority member links into a preset number of group member links according to the weight value of each first priority member link;
step S22-6, updating the member links in the ECMP group according to the member links in the group with the preset number, and updating the current state of the ECMP group to the priority state of the card;
in this embodiment, the switch may obtain the first priority member links when the ECMP group satisfies the second local card priority condition, and convert each first priority member link into a preset number of intra-group member links according to the weight value of the first priority member link.
Optionally, if the number of the first priority member links is i and the preset number is n, the switch may convert the i first priority member links into n group member links according to a weight value of each first priority member link.
In an example, taking the preset number of 128, the number of first priority member links being 2, and the weighted values being H1 and H2, respectively, as an example, the switch converts the 2 first priority member links into 128 intra-group member links, where, among the 128 intra-group member links, the ratio of the number of the 2 first priority member links is H1: H2.
it can be understood that, since the switch allocates the same size of data to each member link in the group when allocating tasks, in this case, the member link with a large bandwidth occupies a larger number of the member links in the group, and therefore, the member link with a large bandwidth is allocated with more data, so that the bandwidth of the member link is fully utilized, and obviously, the total bandwidth utilization rate of the ECMP group can be improved by this method.
In this embodiment, it can be understood that the number of the group member links of the ECMP group in the local card priority state is a preset number, and the group member links only include the first priority member links, and the number of each first priority member link is determined according to the weight value thereof.
Step S22-7, if the ECMP group meets the initial state condition, acquiring member links of all priority classes, and converting the member links of all priority classes into a preset number of group member links according to the weight value of each member link;
and S22-8, updating the member links in the ECMP group according to the preset number of member links in the group, and updating the current state of the ECMP group to an initial state.
In this embodiment, the switch may obtain the member links of all priority classes, that is, obtain the first priority member link, the second priority member link, and the third priority member link, when the ECMP group satisfies the initial condition, and as can be understood, the switch obtains all valid member links included in the member links at this time.
Alternatively, the switch may convert the member links of all priority classes into a preset number of intra-group member links according to the weight value of each member link.
Alternatively, if the number of first priority member links is i, the number of second priority chain members is j, the number of third priority member links is k, and the number of member links (all active member links) of all priority classes is m, then it can be understood that m = i + j + k.
Optionally, if the preset number is n, the switch may convert the m member links into n member links in the group according to the weight value of each member link.
In an example, taking the preset number of 128, the number of member links of all priority classes as 5, and the weighting values as H1, H2, H3, H4, and H5, respectively, as an example, the switch converts the 5 member links into 128 intra-group member links, where the ratio of the number of the 5 member links is H1: h2: h3: h4: H5.
it can be understood that, since the switch allocates the same size of data to each member link in the group when allocating tasks, in this case, the member link with a large bandwidth occupies a larger number of the member links in the group, and therefore, the member link with a large bandwidth is allocated with more data, so that the bandwidth of the member link is fully utilized, and obviously, the total bandwidth utilization rate of the ECMP group can be improved by this method.
In this embodiment, it can be understood that the number of the member links in the group of the ECMP group in the initial state is a preset number, the member links in the group include member links of all priority classes, and the number of each member link is determined according to the weight value thereof.
In another possible implementation manner, if the current state is the local card priority state, it may be determined whether the ECMP group needs to update the priority state of the device at this time, based on which, on the basis of fig. 2, fig. 5 is another schematic flow diagram of a member updating method for the ECMP group provided in the embodiment of the present application, please refer to fig. 5, and step S21 may also be implemented by the following steps:
s21-3, if the current state is the priority state of the card, determining that the state updating condition of the ECMP group comprises the priority state condition of the second equipment;
the board card represents the priority state of the current member link in the ECMP group, including a first priority member link;
optionally, the switch may update the initial state of the ECMP group to the local card preferred state when the switch is in the initial state and the first local card preferred state condition is satisfied, and may also update the initial state of the ECMP group to the local card preferred state when the switch is in the local device preferred state and the second local card preferred state condition is satisfied.
Optionally, in the preferred state of the present device, the member links in the group of the ECMP group only include the first priority member link, that is, only include the high reliability member link.
Optionally, the second device priority condition includes that the sum of real-time traffic of the first priority member link is greater than the product of the sum of bandwidth of the first priority member link and a preset threshold.
In this embodiment, the switch may calculate a real-time traffic sum of the first priority member links according to the weight value and the real-time utilization rate of each first priority member link, and the switch may obtain the real-time utilization rate corresponding to the member link from the port corresponding to the member link.
In this embodiment, the switch may calculate the bandwidth sum according to the bandwidth of the first priority member link, so as to calculate the product of the bandwidth sum and the preset threshold, or may calculate the sum of the weight values according to the weight values of the first priority member link, and regard the product of the sum of the weight values and the preset threshold as the product of the bandwidth sum and the preset threshold.
For example, if the number of member links (valid member links in the switch) of all priority classes is 5, where the number of first priority member links is 2, the weight values are H1 and H2, the real-time bandwidth utilization rates are M1 and M2, the number of second priority member links is 2, the weight values are H3 and H4, the real-time bandwidth utilization rates are M3 and M4, the number of third priority member links is 1, the weight value is H5, and the real-time bandwidth utilization rate is M5, the real-time traffic sum Y3 of the first priority member links may be calculated by the following formula:
Y3=H1*M1+H2*M2
in this example, if the preset threshold is set as T, the product X1 of the sum of the bandwidths of the first priority member links and the preset threshold may be calculated by the following formula:
X1=(H1+H2)*T
in this example, the second present apparatus priority state condition can be represented by the formula Y3 > X1. In this case, it is understood that, if the ECMP group satisfies the second own device priority status condition, it indicates that the current status of the ECMP group should be updated to the own device priority status.
Based on this, please continue to refer to fig. 5, the step S22 can be further implemented by:
step S22-9, if the ECMP group meets the priority condition of the second equipment, acquiring first priority member links and second priority member links, and converting the first priority member links and the second priority member links into a preset number of group member links according to the weight value of each first priority member link and the weight value of each second priority member link;
and S22-X, updating the member links in the ECMP group according to the preset number of the member links in the group, and updating the current state of the ECMP group into the priority state of the equipment.
In this embodiment, the switch may obtain the first priority member links and the second priority member links when the ECMP group meets the second device priority condition, and convert each first priority member link and each second priority member link into a preset number of group member links according to a weight value of each first priority member link and a weight value of each second priority member link.
Optionally, if the number of the first priority member links is i, the number of the second priority member links is j, and the preset number is n, the switch may convert the i first priority member links and the j second priority member links into n group member links according to the weight value of each first priority member link and the weight value of each second priority member link.
In an example, taking the preset number of 128, the number of first priority member links being 2, the weight values being H1 and H2, the number of second priority member links being 2, and the weight values being H3 and H4, as examples, the switch converts the 2 first priority member links and the 2 second priority member links into 128 intra-group member links, where, among the 128 intra-group member links, the ratio of the number of the 2 first priority member links to the number of the 2 second priority member links is H1: h2: h3: H4.
it can be understood that, since the switch allocates the same size of data to each member link in the group when allocating tasks, in this case, the member link with a large bandwidth occupies a larger number of member links in the group, and therefore, the member link with a large bandwidth is allocated with more data, so that the bandwidth of the member link is fully utilized, and obviously, the total bandwidth utilization rate of the ECMP group can be improved by this method.
In this embodiment, it can be understood that the number of the group member links of the ECMP group in the priority state of the device is a preset number, the group member links include first priority member links and second priority member links, and the number of each first priority member link and the number of each second priority member link are determined according to the weight values thereof.
In order to perform the corresponding steps in the above embodiments and various possible manners, an implementation manner of the member updating apparatus of the ECMP group is given below. Further, referring to fig. 6, fig. 6 is a functional block diagram of a device for updating members of an ECMP group according to an embodiment of the present application. It should be noted that the basic principle and the generated technical effect of the member updating apparatus of the ECMP group provided in the present embodiment are the same as those of the above embodiments, and for the sake of brief description, no part of the present embodiment is mentioned, and reference may be made to the corresponding contents in the above embodiments. The member updating device of the ECMP group comprises: an acquisition module 200, a determination module 210, and an update module 220.
The acquiring module 200 is configured to acquire a current state of an equal-cost multipath routing ECMP group; the current state represents the priority class of the current member link in the ECMP group, and the priority class is determined according to the reliability of the member link;
it is understood that the obtaining module 200 can also be used to execute the above step S20.
The determining module 210 is configured to determine a status update condition of the ECMP group according to the current status;
it is to be understood that the determining module 210 can also be used for executing the step S21.
The updating module 220 is configured to update the current state of the ECMP group if the ECMP group meets the state updating condition.
It is understood that the updating module 220 can also be used to execute the above step S22.
The updating module 220 is further configured to perform data transmission according to the member link in the group of the ECMP group whose status is updated.
It is understood that the updating module 220 can also be used to execute the above step S23.
Optionally, the determining module 210 is further configured to determine, if the current state is the initial state, that the state update condition of the ECMP group includes a first local card priority state condition and a first local device priority state condition; the initial state represents that the current member links in the ECMP group comprise member links of all priority classes; all priority classes comprise a first priority, a second priority and a third priority, the reliability of the first priority member link is greater than that of the second priority member link, and the reliability of the second priority member link is greater than that of the third priority member link; the first board card priority state condition comprises that the sum of real-time flow of member links of all priority classes is smaller than the product of the sum of bandwidth of the first priority member links and a preset threshold value; the first equipment priority state condition comprises that the sum of real-time traffic of member links of all priority classes is larger than the product of the sum of bandwidth of the first priority member link and a preset threshold value, and is smaller than the product of the sum of bandwidth of the first priority member link and the second priority member link and the preset threshold value.
It is to be understood that the determining module 210 may also be configured to perform the step S21-1.
Optionally, the updating module 220 is further configured to, if the ECMP group meets the first local card priority condition, obtain a first priority member link, and convert the first priority member link into a preset number of intra-group member links according to a weight value of each first priority member link; wherein, the weighted value is obtained according to the bandwidth of the member link; updating the member links in the ECMP group according to a preset number of member links in the group, and updating the current state of the ECMP group to the priority state of the local card; if the ECMP group meets the priority condition of the first equipment, acquiring first priority member links and second priority member links, and converting the first priority member links and the second priority member links into a preset number of member links in the group according to the weight value of each first priority member link and the weight value of each second priority member link; and updating the member links in the ECMP group according to the preset number of the member links in the group, and updating the current state of the ECMP group into the priority state of the equipment.
It is understood that the update module 220 can also be used to perform the above steps S22-1 to S22-4.
Optionally, the determining module 210 is further configured to determine, if the current state is the priority state of the device, that the state update condition of the ECMP group includes a second board card priority state condition and an initial state condition; the equipment preferentially represents that the current member link in the ECMP group comprises a first priority member link and a second priority member link; the priority state condition of the second board card comprises that the sum of the real-time flow of the first priority member link and the second priority member link is smaller than the product of the sum of the bandwidth of the first priority member link and a preset threshold value; the initial condition comprises the sum of real-time traffic of the first priority member link and the second priority member link being greater than the product of the sum of bandwidth of the first priority member link and the second priority member link and a preset threshold value.
It is to be understood that the determining module 210 may also be configured to perform the step S21-2.
Optionally, the updating module 220 is further configured to, if the ECMP group meets the second local card priority condition, obtain the first priority member link, and convert the first priority member link into a preset number of intra-group member links according to a weight value of each first priority member link; updating the member links in the ECMP group according to a preset number of member links in the group, and updating the current state of the ECMP group to the priority state of the local board card; if the ECMP group meets the initial condition, acquiring member links of all priority classes, and converting the member links of all priority classes into a preset number of group member links according to the weight value of each member link; and updating the member links in the ECMP group according to the preset number of member links in the group, and updating the current state of the ECMP group into an initial state.
It is understood that the update module 220 can also be used to perform the above steps S22-5 to S22-8.
Optionally, the determining module 210 is further configured to determine that the state update condition of the ECMP group includes a second device priority condition if the current state is the local card priority state; the priority state of the local card represents that the current member link in the ECMP group comprises a first priority member link; the second device priority condition comprises that the sum of real-time traffic of the first priority member link is larger than the product of the sum of bandwidth of the first priority member link and a preset threshold value.
It is to be understood that the determining module 210 may also be configured to perform the step S21-3.
Optionally, the updating module 220 is further configured to, if the ECMP group meets the second device priority condition, obtain the first priority member link and the second priority member link, and convert the first priority member link and the second priority member link into a preset number of group member links according to a weight value of each first priority member link and a weight value of each second priority member link; and updating the member links in the ECMP group according to the preset number of member links in the group, and updating the current state of the ECMP group into the priority state of the equipment.
It is understood that the update module 220 can also be used to perform the above steps S22-9 to S22-X.
According to the data transmission method provided by the embodiment of the application, the current state of the ECMP group is obtained through the obtaining module; the current state represents the priority class of the current member link in the ECMP group, and the priority class is determined according to the reliability of the member link; determining a state updating condition of the ECMP group according to the current state through a determining module; and updating the current state of the ECMP group by an updating module under the condition that the ECMP group meets the state updating condition, and transmitting data according to the member link in the ECMP group after the state is updated. Because the member links in the ECMP group can be updated when the ECMP group meets the state updating condition corresponding to the current state, the member links with corresponding reliability can be dynamically selected as the member links in the ECMP group according to the actual situation, thereby improving the reliability of data transmission.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method of data transmission, the method comprising:
acquiring the current state of an equal-cost multi-path routing ECMP group; the current state represents the priority class of the current member link in the ECMP group, and the priority class is determined according to the reliability of the member link;
determining a state updating condition of the ECMP group according to the current state;
if the ECMP group meets the state updating condition, updating the current state of the ECMP group;
and carrying out data transmission according to the member link in the ECMP group after the state is updated.
2. The method of claim 1, wherein determining the state update condition for the ECMP group based on the current state comprises:
if the current state is the initial state, determining that the state updating conditions of the ECMP group comprise first local card priority state conditions and first local equipment priority state conditions;
the initial state represents that the current member links in the group of the ECMP group comprise member links of all priority classes; the all priority classes comprise a first priority, a second priority and a third priority, the reliability of the first priority member link is greater than that of the second priority member link, and the reliability of the second priority member link is greater than that of the third priority member link;
the first board card priority state condition comprises that the real-time flow sum of member links of all priority classes is smaller than the product of the bandwidth sum of the first priority member link and a preset threshold value;
the first equipment priority state condition comprises that the sum of real-time flow of member links of all priority classes is larger than the product of the sum of bandwidth of a first priority member link and a preset threshold value, and is smaller than the product of the sum of bandwidth of the first priority member link and a second priority member link and the preset threshold value.
3. The method of claim 2, wherein updating the current state of the ECMP group if the ECMP group satisfies the state update condition comprises:
if the ECMP group meets the first local board card priority state condition, acquiring the first priority member links, and converting the first priority member links into a preset number of group member links according to the weight value of each first priority member link; wherein, the weight value is obtained according to the bandwidth of the member link;
updating the member links in the ECMP group according to a preset number of member links in the group, and updating the current state of the ECMP group to the priority state of the card;
if the ECMP group meets the priority condition of the first equipment, acquiring the first priority member links and the second priority member links, and converting the first priority member links and the second priority member links into a preset number of group member links according to the weight value of each first priority member link and the weight value of each second priority member link;
and updating the member links in the ECMP group according to a preset number of member links in the group, and updating the current state of the ECMP group to be the priority state of the equipment.
4. The method of claim 1, wherein determining the state update condition for the ECMP group based on the current state comprises:
if the current state is the priority state of the equipment, determining that the state updating conditions of the ECMP group comprise priority state conditions of a second local card and initial state conditions; the priority state of the equipment represents that the current member link in the ECMP group comprises a first priority member link and a second priority member link;
the second board card priority state condition comprises that the sum of the real-time traffic of the first priority member link and the second priority member link is smaller than the product of the sum of the bandwidth of the first priority member link and a preset threshold;
the initial state condition comprises a sum of real-time traffic of the first priority member link and the second priority member link being greater than a product of a sum of bandwidths of the first priority member link and the second priority member link multiplied by a preset threshold.
5. The method of claim 4, wherein updating the current state of the ECMP group if the ECMP group satisfies the state update condition comprises:
if the ECMP group meets the second local card priority state condition, acquiring the first priority member links, and converting the first priority member links into a preset number of member links in the group according to the weight value of each first priority member link;
updating the member links in the ECMP group according to a preset number of member links in the group, and updating the current state of the ECMP group to the priority state of the local board card;
if the ECMP group meets the initial state condition, acquiring member links of all priority classes, and converting the member links of all priority classes into a preset number of group member links according to the weight value of each member link;
and updating the member links in the ECMP group according to a preset number of member links in the group, and updating the current state of the ECMP group into an initial state.
6. The method of claim 1, wherein determining the state update condition for the ECMP group based on the current state comprises:
if the current state is the local card priority state, determining that the state updating condition of the ECMP group comprises a second local equipment priority state condition; the local board card represents the current member link in the ECMP group in a priority state to comprise a first priority member link;
the second device priority condition includes that the sum of real-time traffic of the first priority member link is greater than the product of the sum of bandwidth of the first priority member link and a preset threshold.
7. The method of claim 6, wherein updating the current state of the ECMP group if the ECMP group satisfies the state update condition comprises:
if the ECMP group meets the priority condition of the second equipment, acquiring first priority member links and second priority member links, and converting the first priority member links and the second priority member links into a preset number of group member links according to the weight value of each first priority member link and the weight value of each second priority member link;
and updating the member links in the ECMP group according to a preset number of member links in the group, and updating the current state of the ECMP group to the priority state of the equipment.
8. A data transmission apparatus, characterized in that the apparatus comprises:
the acquiring module is used for acquiring the current state of the equal-cost multi-path routing ECMP group; the current state represents the priority class of the current member link in the ECMP group, and the priority class is determined according to the reliability of the member link;
the determining module is used for determining the state updating condition of the ECMP group according to the current state;
an updating module, configured to update a current state of the ECMP group if the ECMP group satisfies the state updating condition;
and the updating module is used for carrying out data transmission according to the member link in the ECMP group after the state is updated.
9. A switch comprising a processor and a memory, the memory storing a computer program executable by the processor, the processor being operable to execute the computer program to implement the method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202211740772.XA 2022-12-30 2022-12-30 Data transmission method, device, switch and storage medium Pending CN115987873A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211740772.XA CN115987873A (en) 2022-12-30 2022-12-30 Data transmission method, device, switch and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211740772.XA CN115987873A (en) 2022-12-30 2022-12-30 Data transmission method, device, switch and storage medium

Publications (1)

Publication Number Publication Date
CN115987873A true CN115987873A (en) 2023-04-18

Family

ID=85972070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211740772.XA Pending CN115987873A (en) 2022-12-30 2022-12-30 Data transmission method, device, switch and storage medium

Country Status (1)

Country Link
CN (1) CN115987873A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379042A (en) * 2012-04-25 2013-10-30 丛林网络公司 Path weighted equal-cost multipath
WO2013170839A1 (en) * 2012-09-29 2013-11-21 中兴通讯股份有限公司 Link aggregation method and device for traffic distribution
CN103607358A (en) * 2013-11-29 2014-02-26 哈尔滨工业大学深圳研究生院 Dynamic ECMP method and system based on link utilization rate average sum
WO2015123985A1 (en) * 2014-02-24 2015-08-27 中兴通讯股份有限公司 Method and device for adjusting load balancing, and computer storage medium
CN113890847A (en) * 2021-09-26 2022-01-04 新华三信息安全技术有限公司 Flow forwarding method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379042A (en) * 2012-04-25 2013-10-30 丛林网络公司 Path weighted equal-cost multipath
WO2013170839A1 (en) * 2012-09-29 2013-11-21 中兴通讯股份有限公司 Link aggregation method and device for traffic distribution
CN103607358A (en) * 2013-11-29 2014-02-26 哈尔滨工业大学深圳研究生院 Dynamic ECMP method and system based on link utilization rate average sum
WO2015123985A1 (en) * 2014-02-24 2015-08-27 中兴通讯股份有限公司 Method and device for adjusting load balancing, and computer storage medium
CN113890847A (en) * 2021-09-26 2022-01-04 新华三信息安全技术有限公司 Flow forwarding method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
MAIASS ZAHER ET AL.: "Sieve: A flow scheduling framework in SDN based data center networks", COMPUTER COMMUNICATIONS, 1 April 2021 (2021-04-01) *
佚名: "深入看ECMP(详解其实现机制)", Retrieved from the Internet <URL:https://blog.csdn.net/aiaiai010101/article/details/84673687> *
张蕴庄: "基于SDN的数据中心网络多路径传输机制研究与设计", 《中国优秀硕士学位论文全文数据库》, 15 March 2021 (2021-03-15) *

Similar Documents

Publication Publication Date Title
CN109995839B (en) Load balancing method, system and load balancer
CN115114219B (en) PCI-E topology method, device, equipment and storage medium
CN110113263A (en) A kind of communication path determines method and device
EP3232620A1 (en) Data center based fault analysis method and device
CN115208815A (en) Routing method and routing device
CN109167737A (en) The CAN dispatching method of fused data reduction and dynamic priority queue
CN108322406A (en) A kind of SDN data plane failure restoration methods based on link performance and flow point class
CN115987873A (en) Data transmission method, device, switch and storage medium
CN100444580C (en) Method and system for controlling dataflow to a central system from distributed systems
CN109905331B (en) Queue scheduling method and device, communication equipment and storage medium
CN115914078A (en) Message forwarding method and device and dragonfly network
CN109845217A (en) The method and apparatus of data is transmitted in flexible Ethernet
CN107465538B (en) Internet of things terminal migration method and gateway
CN110113269B (en) Flow control method based on middleware and related device
CN110365580B (en) Service quality scheduling method and device, electronic equipment and computer readable storage medium
CN113806027A (en) Task arranging method and device, electronic equipment and computer readable storage medium
CN110995856A (en) Method, device and equipment for server expansion and storage medium
CN115484216A (en) Message transmission method and device, electronic equipment and automatic driving vehicle
CN113595887B (en) Flow control method and device in mail system
CN103780515A (en) Method and controller for announcing bandwidth of cluster system
CN110149278B (en) Data transmission method and device
CN115878309A (en) Resource allocation method, device, processing core, equipment and computer readable medium
CN111416695B (en) Data transmission method, terminal and network side equipment
CN114827055B (en) Data mirroring method and device, electronic equipment and switch cluster
CN116760785B (en) Bandwidth allocation method, device, electronic equipment and storage medium

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