CN108306824B - Message sending method and device - Google Patents

Message sending method and device Download PDF

Info

Publication number
CN108306824B
CN108306824B CN201810074120.4A CN201810074120A CN108306824B CN 108306824 B CN108306824 B CN 108306824B CN 201810074120 A CN201810074120 A CN 201810074120A CN 108306824 B CN108306824 B CN 108306824B
Authority
CN
China
Prior art keywords
link aggregation
message
current link
member port
local member
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.)
Active
Application number
CN201810074120.4A
Other languages
Chinese (zh)
Other versions
CN108306824A (en
Inventor
赵子苍
李磊
蒋华
赵仕中
赵茂聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Centec Communications Co Ltd
Original Assignee
Centec Networks Suzhou 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 Centec Networks Suzhou Co Ltd filed Critical Centec Networks Suzhou Co Ltd
Priority to CN201810074120.4A priority Critical patent/CN108306824B/en
Publication of CN108306824A publication Critical patent/CN108306824A/en
Application granted granted Critical
Publication of CN108306824B publication Critical patent/CN108306824B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • H04L45/7453Address table lookup; Address filtering using hashing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/245Link aggregation, e.g. trunking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric

Abstract

The invention discloses a message sending method and device. Wherein, the method comprises the following steps: acquiring a message to be sent; judging whether a local member port exists in the current link aggregation group; when the judgment result indicates that the local member port exists, determining an exit index for sending the message; and sending the message through the local member port indicated by the exit index. The invention solves the technical problems of traffic waste and broadband consumption caused by sending the message from the local equipment by the remote equipment in the stacking system.

Description

Message sending method and device
Technical Field
The present invention relates to the field of message transmission, and in particular, to a message transmission method and apparatus.
Background
Link Aggregation (also called Link Aggregation, Linkagg for short) is a method for binding multiple low-bandwidth ports into a high-bandwidth Link for use, so that bandwidth can be increased, load balance of the Link can be realized, and redundancy backup can be realized.
Due to the increasing network scale, a single switch is difficult to meet the requirements, and thus, a stacking technology is developed. The stacking technology is to combine a plurality of switch devices together to use, and logically combine the switch devices into a whole switch device. If the linkagg group has both a local member port and a remote member port in the stacking system, it is possible to select to transmit the message from the member port of the remote device when the message is transmitted. When the message is sent from the member port of the remote device, the message needs to be forwarded from the local device to the remote device, and then forwarded from the outlet of the remote device.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a message sending method and a message sending device, which are used for at least solving the technical problems of traffic waste and broadband consumption caused by sending a message entering from a local device by a remote device in a stacking system.
According to an aspect of the embodiments of the present invention, there is provided a packet sending method, including: acquiring a message to be sent; judging whether a local member port exists in the current link aggregation group; when the judgment result indicates that the local member port exists, determining an exit index for sending the message; and sending the message through the local member port indicated by the exit index.
Further, the determining whether a local member port exists in the current link aggregation group includes: acquiring the number of local member ports in a current link aggregation group based on a local member port list, wherein the local member port list is specially used for storing local member port information in current link aggregation; and when the number is not zero, determining that the local member port exists in the current link aggregation group.
Further, determining an egress index for sending the packet includes: determining a first hash value according to the content of the message; performing remainder operation on the number of local member ports in the current link aggregation group according to the first hash value to obtain an operation result; and determining an exit index according to the operation result and the base address of the local member port in the current link aggregation group.
Further, when the determination result indicates that no local member port exists, the method further includes: and determining a port for sending the message from the remote member ports in the current link aggregation group.
Further, determining a port for sending a packet from the remote member ports in the current link aggregation group includes: determining a second hash value according to the content of the message; determining the number and the base address of remote member ports in the current link aggregation group based on a remote member list, wherein the remote member port list is specially used for storing remote member port information in the current link aggregation; and determining the remote member ports used for sending the message in the current link aggregation group based on the second hash value and the determined number and the base address of the remote member ports.
According to another aspect of the embodiments of the present invention, there is provided a packet sending method, including: acquiring a message to be sent; judging the priority of the first type of port combination and the second type of port combination in the current link aggregation group; determining a port combination for sending the message from the first type port combination and the second type port combination according to the judgment result; and selecting a port for sending the message from the determined port combination.
Further, the first port combination includes: a local member port; the second type of port combination includes: a remote member port.
Further, the priority of the first type of port combination is higher than the priority of the second type of port combination.
According to another aspect of the embodiments of the present invention, there is provided a packet sending method, including: acquiring a message to be sent; determining a port combination for sending a message from a first type port combination and a second type port combination of a current link aggregation group; and selecting a port for sending the message from the determined port combination.
According to another aspect of the embodiments of the present invention, there is provided a message sending apparatus, including: the first acquisition module is used for acquiring a message to be sent; the first judging module is used for judging whether a local member port exists in the current link aggregation group; the first determining module is used for determining an exit index for sending the message when the judging result indicates that the local member port exists; and the first sending module is used for sending the message through the local member port indicated by the exit index.
According to another aspect of the embodiments of the present invention, there is provided a message sending apparatus, including: the second acquisition module is used for acquiring a message to be sent; the second judging module is used for judging the priority of the first type of port combination and the second type of port combination in the current link aggregation group; the second determining module is used for determining a port combination used for sending the message from the first type of port combination and the second type of port combination according to the judgment result; and the second selection module is used for selecting a port for sending the message from the determined port combination.
According to another aspect of the embodiments of the present invention, there is provided a message sending apparatus, including: a third obtaining module, configured to obtain a message to be sent; a third determining module, configured to determine a port combination used for sending a packet from the first type of port combination and the second type of port combination of the current link aggregation group; and the third selection module is used for selecting a port for sending the message from the determined port combination.
According to another aspect of the embodiments of the present invention, there is provided a storage medium, where the storage medium includes a stored program, and when the program runs, a device on which the storage medium is located is controlled to execute the above-mentioned message sending method.
According to another aspect of the embodiments of the present invention, there is provided a processor, configured to execute a program, where the program executes the message sending method described above.
In the embodiment of the invention, the message to be sent is acquired; judging whether a local member port exists in the current link aggregation group; when the judgment result indicates that the local member port exists, determining an exit index for sending the message; and the message is sent through the local member port indicated by the exit index, so that the aim that the message entering from the local equipment is preferentially sent from the local equipment in the stacking system is fulfilled, the technical effects of reducing the flow between the cross-equipment and reducing the consumption of the stacking broadband are achieved, and the technical problems of flow waste and broadband consumption caused by the fact that the message entering from the local equipment is sent by the remote equipment in the stacking system are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of a message sending method according to an embodiment of the present application;
FIG. 2 is a flow diagram of a generic link aggregation selection member port;
FIG. 3 is a flow diagram of an alternative link aggregation member port in a stacked system according to an embodiment of the present application;
fig. 4 is a flowchart of another message sending method according to an embodiment of the present application;
fig. 5 is a flowchart of another message sending method according to an embodiment of the present application;
fig. 6 is a block diagram of a message transmission apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of another message transmitting apparatus according to an embodiment of the present application; and
fig. 8 is a block diagram of another message transmission apparatus according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the storage medium or the memory referred to in the embodiments of the present application includes not only a device for storing data local to the device, but also may be embodied as a storage node on a cloud network, but is not limited thereto.
In accordance with an embodiment of the present invention, there is provided a method embodiment of messaging, it should be noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions and that although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 1 is a message sending method according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, obtaining a message to be sent.
Step S104, judging whether the current link aggregation group has a local member port.
In step S104, link aggregation refers to binding multiple physical ports together to form a logical port, so as to implement load burden of the ingress/egress traffic in each member port, and the switch determines, according to a port load sharing policy configured by a user, from which member port a message is sent to the switch at the opposite end.
The link aggregation group may include a plurality of local member ports and remote member ports, and determine whether a local member port exists in the current link aggregation group, and if the determination result indicates that the local member port exists, control a packet to be sent from the local member port. Compared with the prior art that the message needs to be forwarded from the local equipment to the remote equipment and then forwarded from the outlet of the remote equipment, the message sending method reduces the flow transmitted between the equipment in the stacking system and reduces the consumption of the system broadband.
In the embodiment of the present application, the method for determining whether a local member port exists in a current link aggregation group includes, but is not limited to: and acquiring the number of local member ports in the current link aggregation group based on a local member port list, wherein the local member port list is specially used for storing local member port information in the current link aggregation, and when the number of the ports is not zero, determining that the local member ports exist in the current link aggregation group.
Optionally, in step S104, in order to determine whether a local member port exists in the current link aggregation group, there are two determination results in step S104, and when the determination result indicates that a local member port exists, a port for sending a message is determined from the local member ports in the current link aggregation group; and when the judgment result indicates that no local member port exists, determining a port for sending the message from the far-end member ports in the current link aggregation group.
Specifically, determining a port for sending a packet from the remote member ports in the current link aggregation group includes: determining a second hash value according to the content of the message, determining the number and the base address of the remote member ports in the current link aggregation group based on a remote member list, wherein the remote member port list is specially used for storing remote member port information in the current link aggregation, and determining the remote member ports used for sending the message in the current link aggregation group based on the second hash value and the determined number and the base address of the remote member ports, wherein the number of the remote member ports in the current link aggregation group can be subjected to remainder operation according to the second hash value to obtain a second operation result; and determining a second exit index according to the second operation result and the base address of the far-end member port in the current link aggregation group, and obtaining the far-end member port for sending the message through the exit index. In an alternative embodiment, the first hash value and the second hash value may be the same hash value, since both the first hash value and the second hash value are determined based on the same packet content.
And step S106, when the judgment result indicates that the local member port exists, determining an exit index for sending the message.
Optionally, determining an egress index for sending the packet includes: determining a first hash value according to the content of the message; and performing remainder operation on the number of the local member ports in the current link aggregation group according to the first hash value to obtain an operation result, and determining an exit index according to the operation result and the base address of the local member ports in the current link aggregation group.
Step S108, sending the message through the local member port indicated by the exit index.
Optionally, the number of local member ports in the current link aggregation group is left by the hash value of the packet to obtain a first operation result, that is, it is determined that the packet is to be forwarded from the several local member ports, and an exit index may be obtained according to the first operation result and the base address of the local member port in the current link aggregation group, so that the local member port that sends the packet may be obtained.
Through the steps, the method for forwarding the local member port list and the remote member port list in the stacking system can realize priority forwarding from the local member port in the stacking system, greatly reduces the flow between the cross-devices, and reduces the consumption of stacking bandwidth.
The embodiment of the present application provides a method for selecting a member port by a linkagg group in an ASIC chip, but the chip in the embodiment of the present application is not limited to an ASIC (also called an application specific integrated circuit) chip, and may also be an FPGA (also called a field programmable gate array), an NP (also called a network processor), and the like, and fig. 2 is a flowchart of selecting a member port by a common linkagg, as shown in fig. 2, the method includes:
s202: calculating a hash value according to the message content;
after the hash value is calculated, step S208 is performed.
S204: searching a forwarding table to determine member ports in the linkagg group, wherein the ASIC chip takes the ID of the linkagg group as an index to obtain the number of the member ports in the linkagg group;
s206: acquiring the number of the member ports and the base addresses of the member ports, and acquiring the base addresses of the member ports in the linkagg group through the linkagg group ID as an index, wherein the number of the member ports can be acquired, and the base addresses of the member ports in the linkagg group can also be acquired;
s208: the base address of the member port + the hash value% of the number of the member ports;
and (3) taking the surplus of the number of the member ports according to the hash value calculated by the content of the message, namely determining that the message is to be forwarded from the fourth member port, adding the base address of the member port in the linkagg group and the final address of the message sending port obtained by the fourth member port, and executing the step (S210), wherein the calculation data of the step (S208) can be obtained through the step (S206) and the step (S202).
S210: and obtaining a linkagg outlet, and calculating the index of the outlet so as to determine the linkagg outlet.
Fig. 3 is a flowchart of linkagg member ports in an alternative stacking system according to an embodiment of the present invention, and as shown in fig. 3, the method includes:
s302: calculating a hash value according to the message content;
calculating the hash value of the local member port or the remote member port, and executing step S310 or executing step S312 after the hash value is calculated;
s304: searching a forwarding table to determine member ports in a linkagg group;
s306: obtaining the base address of the local member port, the number of the local member ports, the base address of the far-end member port and the number of the far-end member ports;
s308: judging whether the number of the local member ports is 0 or not;
judging whether a local member port exists according to the number of the local member ports, if so, executing the step S310; if the judgment result is no, step S312 is executed.
S310: the base address of the remote member port + the hash value% of the number of the remote member ports;
if there is a local member port, the hash value is used to take the remainder of the local member port number, and the remainder is added to the base address of the local member port to obtain the index of the exit, and step S314 is executed.
S312: the base address of the local member port + the hash value% of the number of the local member ports;
if there is no member of the local device, the hash value is used to take the remainder of the number of the remote member port, and the remainder is added to the base address of the remote member port to obtain the index of the remote device outlet, and step S314 is executed.
S314: obtaining a linkagg outlet;
and taking another table for storing the exit by using the index of the exit to obtain the final exit of the linkagg.
In the process, in the stacking system, the message is preferentially sent from the port of the local device by respectively storing the base address of the outlet in the local chip, the port number and the base address of the outlet of the remote chip, so that the aim of preferentially sending the message entering from the local device in the stacking system is fulfilled, the technical effects of reducing the flow between the devices and reducing the consumption of the stacking broadband are achieved, and the technical problems of flow waste and broadband consumption caused by the fact that the message entering from the local device is sent by the remote device in the stacking system are solved.
An embodiment of the present application provides another packet sending method, fig. 4 is a flowchart of another packet sending method according to an embodiment of the present application, and as shown in fig. 4, the packet sending method includes:
step S402, obtaining a message to be sent;
step S404, judging the priority of the first type port combination and the second type port combination in the current link aggregation group;
optionally, the first type of port combination in step S404 includes: the local member port, the second kind of port combination includes: remote member ports, wherein the first type of port combination has a higher priority than the second type of port combination.
Step S406, determining a port combination for sending the message from the first type port combination and the second type port combination according to the judgment result;
step S408, selecting a port for sending the message from the determined port combination.
Optionally, if the priority of the first type of port combination is higher than the priority of the second type of port combination, sending a message from the first type of port combination, that is, sending a message from the local member port; if the priority of the second type of port combination is higher than that of the first type of port combination, the message can be sent from the second type of port combination, namely the message is sent from the far-end member port.
An embodiment of the present application provides a message sending method, fig. 5 is a flowchart of another message sending method according to the embodiment of the present application, and as shown in fig. 5, the message sending method includes:
step S502, obtaining a message to be sent;
step S504, determining a port combination for sending the message from the first type port combination and the second type port combination of the current link aggregation group;
step S506, select a port for sending the packet from the determined port combinations.
Optionally, the first type of port combination and the second type of port combination may be a local member port combination and a remote member port combination, respectively, where the port combination may be composed of one or more corresponding member ports, and the method for determining the port combination for sending the packet includes, but is not limited to, the following two methods: 1) by judging whether the current link aggregation group has a first type of port combination, namely whether the current link aggregation group has a local member port, for example, if the current link aggregation group has the first type of port combination, a message is sent from one local member port in the first type of port combination; 2) the message sending is determined by using the port combination with higher priority in a mode of judging the priority of the first type port combination and the second type port combination, for example, if the priority of the first type port combination is judged to be higher than that of the second type port combination, the message is sent from the first type port combination.
An embodiment of the present application provides a message sending apparatus, fig. 6 is a structural diagram of a message sending apparatus according to an embodiment of the present application, and as shown in fig. 6, the message sending apparatus includes:
a first obtaining module 60, configured to obtain a message to be sent; a first judging module 62, configured to judge whether a local member port exists in the current link aggregation group; a first determining module 64, configured to determine an exit index for sending a packet when the determination result indicates that a local member port exists; and a first sending module 66, configured to send the message through the local member port indicated by the egress index.
An embodiment of the present application provides a message sending apparatus, fig. 7 is a structural diagram of another message sending apparatus according to an embodiment of the present application, and as shown in fig. 7, the message sending apparatus includes:
a second obtaining module 70, configured to obtain a message to be sent; a second determining module 72, configured to determine priorities of the first type port combination and the second type port combination in the current link aggregation group; a second determining module 74, configured to determine, according to the determination result, a port combination used for sending the packet from the first type of port combination and the second type of port combination; a second selecting module 76, configured to select a port for sending the packet from the determined port combination.
An embodiment of the present application provides a message sending apparatus, fig. 8 is a structural diagram of another message sending apparatus according to an embodiment of the present application, and as shown in fig. 8, the message sending apparatus includes:
a third obtaining module 80, configured to obtain a message to be sent; a third determining module 82, configured to determine a port combination used for sending a packet from the first type of port combination and the second type of port combination of the current link aggregation group; and a third selecting module 84, configured to select a port for sending the packet from the determined port combination.
The embodiment of the application provides a storage medium, which comprises a stored program, wherein when the program runs, a device where the storage medium is located is controlled to execute the message sending method.
The embodiment of the application provides a processor, wherein the processor is used for running a program, and the message sending method is executed when the program runs.
It should be noted that the device modules correspond to method embodiments, and the modules are the same as examples and application scenarios implemented by corresponding steps, but are not limited to what is disclosed in embodiment 1. It should be noted that the modules described above as part of an apparatus may be implemented in a computer system such as a set of computer-executable instructions.
The above embodiments of the present invention are merely for illustration and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit 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 invention may be embodied in the form of a software product, which is stored in a storage medium and includes 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 invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (5)

1. A method for sending a message, comprising:
acquiring a message to be sent;
judging whether a local member port exists in the current link aggregation group;
when the judgment result indicates that the local member port exists, determining an exit index for sending the message, wherein the exit index comprises: determining a first hash value according to the content of the message; performing remainder operation on the number of local member ports in the current link aggregation group according to the first hash value to obtain an operation result; determining the egress index according to the operation result and the base address of the local member port in the current link aggregation group, wherein determining the egress index according to the operation result and the base address of the local member port in the current link aggregation group includes: adding the operation result and the base address of a local member port in the current link aggregation group to determine the exit index; and
sending the message through a local member port indicated by the exit index;
judging whether a local member port exists in the current link aggregation group or not, including: acquiring the number of local member ports in the current link aggregation group based on a local member port list, wherein the local member port list is specially used for storing local member port information in the current link aggregation; and when the number is not zero, determining that a local member port exists in the current link aggregation group.
2. The method of claim 1, wherein when the determination indicates that no local member port exists, the method further comprises:
and determining a port for sending the message from the remote member ports in the current link aggregation group.
3. The method of claim 2, wherein determining a port for sending the packet from the remote member ports in the current link aggregation group comprises:
determining a second hash value according to the content of the message;
determining the number and base address of remote member ports in a current link aggregation group based on a remote member list, wherein the remote member port list is dedicated to storing remote member port information in the current link aggregation;
and determining the remote member port used for sending the message in the current link aggregation group based on the second hash value and the determined number and base address of the remote member ports.
4. A message transmission apparatus, comprising:
the first acquisition module is used for acquiring a message to be sent;
the first judging module is used for judging whether a local member port exists in the current link aggregation group;
a first determining module, configured to determine, when the determination result indicates that a local member port exists, an egress index used for sending the packet, where the determining module includes: determining a first hash value according to the content of the message; performing remainder operation on the number of local member ports in the current link aggregation group according to the first hash value to obtain an operation result; determining the egress index according to the operation result and the base address of the local member port in the current link aggregation group, wherein determining the egress index according to the operation result and the base address of the local member port in the current link aggregation group includes: adding the operation result and the base address of a local member port in the current link aggregation group to determine the exit index; and
a first sending module, configured to send the packet through the local member port indicated by the exit index;
judging whether a local member port exists in the current link aggregation group or not, including: acquiring the number of local member ports in the current link aggregation group based on a local member port list, wherein the local member port list is specially used for storing local member port information in the current link aggregation; and when the number is not zero, determining that a local member port exists in the current link aggregation group.
5. A storage medium, comprising a stored program, wherein when the program runs, a device in which the storage medium is located is controlled to execute the message sending method according to any one of claims 1 to 3.
CN201810074120.4A 2018-01-25 2018-01-25 Message sending method and device Active CN108306824B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810074120.4A CN108306824B (en) 2018-01-25 2018-01-25 Message sending method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810074120.4A CN108306824B (en) 2018-01-25 2018-01-25 Message sending method and device

Publications (2)

Publication Number Publication Date
CN108306824A CN108306824A (en) 2018-07-20
CN108306824B true CN108306824B (en) 2021-06-15

Family

ID=62866498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810074120.4A Active CN108306824B (en) 2018-01-25 2018-01-25 Message sending method and device

Country Status (1)

Country Link
CN (1) CN108306824B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109347623B (en) * 2018-10-18 2022-09-09 苏州盛科通信股份有限公司 Method and device for session maintenance in link load balancing application
CN111245746A (en) * 2020-01-13 2020-06-05 杭州迪普科技股份有限公司 Message distribution method and device of VSM system
CN111654406B (en) * 2020-02-29 2022-08-30 新华三信息安全技术有限公司 Bidirectional forwarding detection method and device
CN114374659A (en) * 2022-01-18 2022-04-19 苏州盛科科技有限公司 Method, device and storage medium for realizing local priority forwarding in stacking system
CN114760245B (en) * 2022-03-28 2024-02-09 新华三技术有限公司合肥分公司 Stacked member equipment and method for forwarding broadcast message thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158398A (en) * 2011-02-25 2011-08-17 杭州华三通信技术有限公司 Method and device for forwarding messages
CN102118319B (en) * 2011-04-06 2013-09-18 杭州华三通信技术有限公司 Traffic load balancing method and device
US8902888B2 (en) * 2012-08-20 2014-12-02 Cisco Technology, Inc. Two-stage port-channel resolution in a multistage fabric switch
CN103780480B (en) * 2012-10-17 2017-08-11 新华三技术有限公司 Message forwarding method and equipment
CN106330780B (en) * 2015-06-24 2019-08-20 联想企业解决方案(新加坡)有限公司 Switch, apparatus and method for forming aggregated link

Also Published As

Publication number Publication date
CN108306824A (en) 2018-07-20

Similar Documents

Publication Publication Date Title
CN108306824B (en) Message sending method and device
CN106603550B (en) A kind of Network Isolation method and device
CN108401492B (en) Routing method, device and server based on mixed resources
CN108632931B (en) Data transmission method, device, equipment and medium based on 5G network
CN101217528B (en) A link aggregation method and device
CN103634224B (en) The method and system of data transmission in network
CN110191064B (en) Flow load balancing method, device, equipment, system and storage medium
CN101094185A (en) Method and device for forwarding message based on multilink
CN102447638A (en) Load balancing method and forwarding apparatus
CN106533973A (en) Method and system for distributing service message, and equipment
CN107846433A (en) A kind of synchronous methods, devices and systems of session information
EP3229413A1 (en) Cross-domain cooperative method, cooperative device and control device for network as a service business
CN108880972A (en) A kind of information processing method, server and terminal
EP2928129B1 (en) Method and network devices for determining an administrative domain in a virtual cluster
CN106656659B (en) Network path selection method and network video recorder
CN105450540A (en) Load balancing method and device as well as DHCP (dynamic host configuration protocol) server
CN106470165B (en) Load sharing method, system and related equipment
CN112311672B (en) Method, device and equipment for obtaining routing table item
CN102857436B (en) Flow transmission method and flow transmission equipment based on IRF (intelligent resilient framework) network
CN106209634B (en) Learning method and device of address mapping relation
CN110995609A (en) Message sending method and device, electronic equipment and storage medium
CN107046503B (en) Message transmission method, system and device
CN114157633B (en) Message forwarding method and device
CN106411731A (en) Method and device of self-negotiation link aggregation control protocol (LACP) reference system and reference port
CN111314394A (en) Resource publishing method, device, equipment and storage medium of Internet of things

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Xinghan Street Industrial Park of Suzhou city in Jiangsu province 215021 B No. 5 Building 4 floor 13/16 unit

Patentee after: Suzhou Shengke Communication Co.,Ltd.

Address before: Xinghan Street Industrial Park of Suzhou city in Jiangsu province 215021 B No. 5 Building 4 floor 13/16 unit

Patentee before: CENTEC NETWORKS (SU ZHOU) Co.,Ltd.