CN108092922B - Method and device for transmitting message by interface board - Google Patents

Method and device for transmitting message by interface board Download PDF

Info

Publication number
CN108092922B
CN108092922B CN201711374686.0A CN201711374686A CN108092922B CN 108092922 B CN108092922 B CN 108092922B CN 201711374686 A CN201711374686 A CN 201711374686A CN 108092922 B CN108092922 B CN 108092922B
Authority
CN
China
Prior art keywords
interface
board
message
interface board
boards
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
CN201711374686.0A
Other languages
Chinese (zh)
Other versions
CN108092922A (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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies 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 Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201711374686.0A priority Critical patent/CN108092922B/en
Publication of CN108092922A publication Critical patent/CN108092922A/en
Application granted granted Critical
Publication of CN108092922B publication Critical patent/CN108092922B/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
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/15Interconnection of switching modules

Abstract

The application provides a method and a device for transmitting messages by an interface board, which are applied to a frame switch, wherein the frame switch comprises a plurality of interface boards and a plurality of screen boards, the interface boards are connected with the screen boards through internal ports, the interface boards generate corresponding aggregation groups based on different connected screen boards, wherein the aggregation groups comprise the internal ports connected with the screen boards on the interface boards, and the method for transmitting messages by any interface board in the frame switch comprises the following steps: when a message is received, judging the message type of the message; determining a target network board of the message based on the message type; and transmitting the message to the target network board. By adopting the technical method provided by the application, the internal port resources on the interface board in the frame switch can be fully utilized.

Description

Method and device for transmitting message by interface board
Technical Field
The present application relates to the field of network communication technologies, and in particular, to a method and an apparatus for an interface board to transmit a packet.
Background
The interface board is a board card for message transmission based on the exchange chip. The interface board includes a panel port and an internal port, where the panel port is an interface for physically connecting with an external device, for example, the panel port can be connected with the physical interface of the external device by using an optical fiber. The internal port is an interface for connecting with internal components in the equipment where the interface board is located.
The frame type switch is a device composed of a plurality of interface boards, a plurality of network boards and a backplane connector for connecting the interface boards and the network boards, and is mainly used for forwarding messages. Referring to fig. 1, fig. 1 is a schematic diagram illustrating connection between an interface board and a network board in a frame switch.
In practical application, before the interface board and the network board are connected, the throughput of each interface board and the throughput that a single network board can provide for each interface board need to be known, and then the number of the network boards that each interface board needs to be connected is determined.
For example, a frame switch now includes 3 interface boards, which are respectively an interface board 1, an interface board 2, an interface board 3, and 2 network boards, which are respectively a network board 1 and a network board 2. The interface board 1, the interface board 2, and the interface board 3 all have 32 board ports, and the throughput of each board port is 10G, so that it can be determined that the throughput of each interface board is 320G (10G × 32). The net plate 1 and the net plate 2 are respectively connected with 4 internal ports on each interface board, and the net plate 1 and the net plate 2 can provide 40G throughput for each internal port, so that it can be determined that the throughput that the net plate 1 and the net plate 2 can provide for each interface board is 160G (4 x 40G). The number of the screen boards required to be connected by each interface board can be determined to be 2(320G/160G is 2) according to the throughput of each interface board and the throughput that each screen board can provide for each interface board, that is, each interface board needs to be connected with the screen board 1 and the screen board 2, respectively, as shown in fig. 1.
In order to prevent the loop from being generated, the interface board usually aggregates the internal ports connected to the net board to generate an aggregate group. After the interface board receives the packet, in order to ensure that the flows transmitted by the internal ports in the aggregation group are balanced, hash calculation may be performed on the packet to determine the internal port through which the packet is transmitted.
When a certain interface board needs to transmit a received message to the other interface boards, the message needs to be transmitted to the network board connected to the interface board, and then the message is transmitted to the other interface boards through the network board.
For example, as shown in fig. 1, when the interface board 1 needs to transmit a message to the interface board 2 and the interface board 3, the interface board 1 can transmit the message to the interface board 1 and the interface board 2, and since the interface board 2 and the interface board 3 are both connected to the interface board 1 and the interface board 2, the interface board 1 and the interface board 2 can transmit the message to the interface board 2 and the interface board 3. Similarly, when the interface board 2 or the interface board 3 needs to transmit the received message to the other interface boards, the message may be transmitted to the network board connected to the interface board, and then the network board transmits the message to the other interface boards. In fig. 1, since each interface board is connected to each network board, messages that any interface board needs to transmit to other interface boards can be transmitted to other interface boards through the network board connected to the interface board.
When the number of the panel openings of the interface board 1 in fig. 1 is 16, the interface board 2 and the interface board 3 still have 32 panel openings, and the throughput of each panel port is 10G, it can be determined that the throughput of the interface board 1 is 160G, the throughput of the interface board 2 and the interface board 3 is 320G, the screen board 1 and the screen board 2 are respectively connected with 4 internal ports on each interface board, and the net board 1 and the net board 2 can provide the throughput of 40G for each internal interface, it can be determined that the throughput that the net board 1 and the net board 2 can provide for each interface board is 160G, depending on the throughput of each interface board and the throughput that the net board 1 and the net board 2 can provide for each interface board, it can be determined that the interface board 1 only needs to be connected with one screen, the interface board 2 and the interface board 3 both need to be connected with two screens, fig. 2 is a schematic diagram of connection between an interface board and a network board in another frame switch, as shown in fig. 2.
At this time, as shown in fig. 2, when the interface board 1 needs to transmit the received messages to the interface board 2 and the interface board 3, the interface board 1 may transmit the messages to the interface board 1, and then the interface board 1 transmits the messages to the interface board 2 and the interface board 3, respectively. Because the interface board 2 and the interface board 3 are transmitted to the screen board through the internal ports in a balanced manner, that is, the flow rates transmitted to the screen board by the internal ports are balanced, the messages transmitted to the screen board by the interface board 2 and the interface board 3 are shared by the screen board 1 and the screen board 2 on average. When the interface board 2 or the interface board 3 needs to transmit a received message to the interface board 1, the message shared by the interface board 1 can be successfully transmitted to the interface board 1 because of the physical connection between the interface board 1 and the interface board 1, whereas the message shared by the interface board 2 cannot be transmitted to the interface board 1 because of the absence of the physical connection between the interface board 1 and the interface board 2.
In order to ensure that any interface board can successfully transmit a message to other interface boards, in the prior art, the network board connected to the interface board with the least number of connected network boards is used as the network board for message transmission of each interface board, and the internal ports connected to other network boards on other interface boards are manually closed.
For example, as shown in fig. 2, the number of the screen connected to the interface board 1 is 1, and the number of the screen connected to the interface board 2 and the interface board 3 is 2, so that the screen 1 connected to the interface board 1 is used as a screen for transmitting messages by the interface board 1, the interface board 2, and the interface board 3, and then 4 internal ports connected to the screen 2 on the interface board 2 and the interface board 3 are closed.
However, except the internal ports connected to the interface board with the least number of the connection network boards are all used, the internal ports connected to other network boards on the other interface boards can all undertake the message transmission task, and are all closed to be in an idle state at this time, so that the internal ports connected to other network boards on the other interface boards are not fully used, and the internal port resources are wasted.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for an interface board to transmit a packet, which are applied to a frame switch and are used to fully utilize internal port resources of the interface board.
Specifically, the method is realized through the following technical scheme:
a method for transmitting messages by an interface board is applied to a frame switch, the frame switch comprises a plurality of interface boards and a plurality of network boards, the interface boards are connected with the network boards through internal ports, the interface boards generate corresponding aggregation groups based on different connected network boards, wherein the aggregation groups comprise the internal ports connected with the network boards on the interface boards, and the method for transmitting messages by any interface board in the frame switch comprises the following steps:
when a message is received, judging the message type of the message;
determining a target network board of the message based on the message type;
and transmitting the message to the target network board.
A device for transmitting messages by an interface board is applied to a frame switch, the frame switch comprises a plurality of interface boards and a plurality of screen boards, the interface boards are connected with the screen boards through internal ports, and the interface boards generate corresponding aggregation groups based on different connected screen boards, wherein each aggregation group comprises the internal ports, connected with the screen boards, on the interface board, and any one of the interface boards in the frame switch comprises:
the judging unit is used for judging the message type of the message when the message is received;
a determining unit, configured to determine a target network board of the packet based on the packet type;
and the transmission unit is used for transmitting the message to the target network board.
The beneficial effect that technical scheme that this application provided brought:
in the application, in order to fully utilize the internal port, the optimal transmission mode of the message is determined in advance according to the corresponding relation between the interface board and the connection network board thereof and the target network board for transmitting the message when each interface board receives different types of messages, so that the internal port resources on the interface board in the frame switch can be fully utilized compared with the prior art.
Drawings
FIG. 1 is a schematic diagram of connection between an interface board and a network board in a frame switch;
fig. 2 is a schematic diagram of connection between an interface board and a network board in another frame switch;
fig. 3 is a flowchart illustrating a method for an interface board to transmit a packet according to an embodiment;
fig. 4 is a schematic diagram of connection between an interface board and a network board in another frame switch;
fig. 5 is a device for an interface board to transmit a packet according to a second embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The frame type switch is a device composed of a plurality of interface boards, a plurality of network boards and a backplane connector for connecting the interface boards and the network boards, and is mainly used for forwarding messages.
In order to ensure that any interface board can successfully transmit a message to other interface boards, in the prior art, the network board connected to the interface board with the least number of connected network boards is used as the network board for message transmission of each interface board, and the internal ports connected to other network boards on other interface boards are manually closed.
For example, as shown in fig. 2, the number of the screen connected to the interface board 1 is 1, and the number of the screen connected to the interface board 2 and the interface board 3 is 2, so that the screen 1 connected to the interface board 1 is used as a screen for transmitting messages by the interface board 1, the interface board 2, and the interface board 3, and then 4 internal ports connected to the screen 2 on the interface board 2 and the interface board 3 are closed.
However, except the internal ports connected to the interface board with the least number of the connection network boards are all used, the internal ports connected to other network boards on the other interface boards can all undertake the message transmission task, and are all closed to be in an idle state at this time, so that the internal ports connected to other network boards on the other interface boards are not fully used, and the internal port resources are wasted.
Example one
In order to solve the problems in the prior art, an embodiment of the present application shows a method for an interface board to transmit a packet, which is applied to a frame switch. Referring to fig. 3, fig. 3 is a flowchart illustrating a method for an interface board to transmit a packet according to an embodiment, and specifically executes the following steps:
step 301: when a message is received, judging the message type of the message;
in this embodiment, the frame switch includes a plurality of interface boards and a plurality of network boards. The interface board comprises a panel port and an internal port, the panel port is used for being connected with external equipment, and the internal port is used for being connected with a screen plate in the frame type switch. The interface board and the network board are usually connected to a plurality of internal ports, that is, a single interface board can transmit messages to a single network board through a plurality of internal ports.
In order to prevent a loop from occurring on an interface board, internal ports connected to a network board are aggregated to generate an aggregation group in a switch chip on the interface board, where the aggregation group includes the internal ports connected to the network board.
In this embodiment, the interface board aggregates the different connected screens to generate corresponding aggregation groups. For example, as shown in fig. 2, the interface board 2 is connected to the screen board 1 and the screen board 2, respectively, and if the interface board 2 is connected to the screen board 1 through the internal port 1, the internal port 2, the internal port 3, and the internal port 4, and connected to the screen board 2 through the internal port 5, the internal port 6, the internal port 7, and the internal port 8, the internal port 1, the internal port 2, the internal port 3, and the internal port 4 can be aggregated to form one aggregation group, and the internal port 5, the internal port 6, the internal port 7, and the internal port 8 can be aggregated to form another aggregation group, that is, the interface board aggregates to form the same number of aggregation groups based on the number of connected screen boards, and the internal port in each aggregation group is the internal port to which the interface board and the.
Since the logic executed by each interface board in the frame switch is the same, the execution logic of each interface board in the frame switch will be described below by describing the logic executed by one interface board.
When any interface board receives the message, the interface board can judge the message type of the message; in the present application, the packet types are divided into two types, the first type is a broadcast type, an unknown unicast type, and a multicast type, and the second type is a known unicast type.
When the interface board receives the first type of packet, it needs to transmit the packet to each other interface board except itself in the frame switch. When the interface board receives the second type of message, only the message needs to be transmitted to the specified interface board.
Because there is no direct physical connection between the interface boards, the message transmission cannot be directly performed, and the message needs to be transmitted indirectly through the network board, therefore, after the interface board determines the type of the received message, it needs to determine the target network board of the message, that is, it needs to determine to which network board or which network boards the message is transmitted.
Step 302: determining a target network board of the message based on the message type;
in this embodiment, each interface board stores the corresponding relationship between each interface board and the connected network board in the frame switch.
After the interface board determines the target interface board of the message according to the type of the received message, the interface board can obtain the network board connected with the board from the corresponding relationship between the board and the network board connected with the board, and obtain the network board connected with the target interface board from the corresponding relationship between the target interface board and the network board connected with the target interface board.
In order to ensure that the message to be transmitted by the interface board can be accurately transmitted to the target interface board, the network board for transmitting the message must be the network board connected to both the interface board and the target interface board.
Therefore, after the interface board obtains the screen board connected with the board and the screen board connected with the target interface board, the interface board can perform intersection operation on the screen board connected with the board and the screen board connected with the target interface board to obtain the target screen board, and the target screen board is the screen board connected with both the board and the target interface board.
When the interface board determines that the type of the received packet is a broadcast packet, an unknown unicast packet, or a multicast packet, the interface board may determine that a target interface board of the received packet is each of the other interface boards except the local board in the frame switch. In order to ensure that the messages received by the interface board can be accurately transmitted to other interface boards, the target network board for transmitting the messages must be the network board connected to each interface board in the frame switch.
For example, as shown in fig. 2, when the interface board 2 interfaces to a broadcast packet, an unknown unicast packet, or a multicast packet, the interface board 2 needs to transmit the received packet to the interface board 1 and the interface board 3. In order to ensure that the received message can be accurately transmitted to the interface board 1 and the interface board 3, the network board for transmitting the message must be the network board connected to all of the interface board 1, the interface board 2, and the interface board 3, and therefore, the target network board of the message received by the interface board 2 is the network board 1.
When the interface board determines that the type of the received message is a known unicast message, the interface board may determine that a target interface board of the received message is a certain designated interface board in the frame switch. The interface board can search for the interface board corresponding to the received message based on the message characteristics in the message. In order to ensure that a message received by an interface board can be accurately transmitted to the interface board corresponding to the message, a target network board for transmitting the message must be a network board connected with both the local board and the interface board corresponding to the message.
For example, as shown in fig. 2, when an interface board 2 interfaces a known unicast message and a target interface board of the message is an interface board 1, since the interface board 1 is connected to the interface board 1 and the interface board 2, the interface board 2 can determine that the interface board transmitting the message is the interface board 1. When the interface board 2 interfaces a known unicast message and the target interface board of the message is the interface board 3, since the interface board 2 is connected to the network board 1 and the network board 2 and the interface board 3 is connected to the network board 1 and the network board 2, the interface board 2 can determine that the network board transmitting the message is the network board 1 and the network board 2.
Step 303: and transmitting the message to the target network board.
In this embodiment, after the interface board determines the target network board, the transmission mode of the message may be determined according to the target network board, and then the message is transmitted to the target network board based on the transmission mode.
In this embodiment, the interface board aggregates the different connected screens to generate corresponding aggregation groups. After the interface board determines the target network board, the interface board can determine the target aggregation group for transmitting the message. In order to fully utilize the internal port resources, the interface board may distribute the received messages to each aggregation group in a balanced manner based on a load balancing principle, and the messages distributed to each aggregation group are transmitted to the network board by each internal port in each aggregation group in a balanced manner.
For example, as shown in fig. 2, when the interface board 2 needs to transmit a message to the interface board 3, an internal port on the interface board 2 connected to the network board 1 aggregates to generate an aggregation group 0, and an internal port connected to the network board 2 aggregates to generate an aggregation group 1. The messages received by the panel ports with odd serial numbers on the interface board 2 are distributed to the aggregation group 0, and the messages received by the panel ports with even serial numbers are distributed to the aggregation group 1. The message distributed to the aggregation group 0 is transmitted to the network board 1 through the internal port thereof in a balanced manner, and the message distributed to the aggregation group 1 is transmitted to the network board 2 through the internal port thereof in a balanced manner.
The application range of the technical scheme provided by the embodiment of the application is not limited by the number of the interface boards and the screen boards.
For example, as shown in fig. 4, fig. 4 is a schematic diagram illustrating connection between an interface board and a network board in another frame switch.
As shown in fig. 4, the interface board 1 is connected to the screen 1, the interface board 2 is connected to the screen 1 and the screen 2, and the interface board 3 is connected to the screen 1, the screen 2, and the screen 3. When any interface board receives broadcast message, unknown unicast message or multicast message, the network board transmitting message is the network board 1. When the interface board 1 receives a known unicast message sent to the interface board 2 or the interface board 3, or the interface board 2 or the interface board 3 receives a known unicast message transmitted to the interface board 1, the network board transmitting the message can only be the network board 1. When the interface board 2 receives a known unicast message transmitted to the interface board 3 or the interface board 3 receives a known unicast message transmitted to the interface board 2, the network boards transmitting the messages may be the network board 1 and the network board 2.
As can be seen from the technical method shown in the first embodiment, when any interface board receives a message, the interface board determines a target interface board of the message according to the type of the message, then determines a target network board for transmitting the message according to the corresponding relationship between the interface board and the network board connected to the interface board and the corresponding relationship between the target interface board and the network board connected to the target interface board, determines a transmission mode of the message according to the target network board, and finally transmits the message to the target network board based on the transmission mode. In the application, in order to fully utilize the internal port, the optimal transmission mode of the message is determined in advance according to the corresponding relation between the interface board and the connection network board thereof and the target network board for transmitting the message when each interface board receives different types of messages, so that the internal port resources on the interface board in the frame switch can be fully utilized compared with the prior art.
Example two
Corresponding to the first embodiment of the method for an interface board to transmit a packet, the present application also provides a second embodiment of a device for an interface board to transmit a packet.
Referring to fig. 5, fig. 5 is a device for an interface board to transmit a packet, which is shown in an embodiment of the present application and is applied to a frame switch, where the frame switch includes a plurality of interface boards and a plurality of network boards, where the interface boards are connected to the network boards through internal ports, and the interface boards generate corresponding aggregation groups based on different connected network boards, where the aggregation groups include the internal ports of the interface boards connected to the network boards, and the device may be used for any one of the interface boards in the frame switch, and includes: a judging unit 510, a determining unit 520 and a transmitting unit 530.
The determining unit 510 is configured to determine, when a packet is received, a packet type of the packet;
the determining unit 520 is configured to determine a target network board of the packet based on the packet type;
the transmitting unit 530 is configured to transmit the message to the target network board.
Wherein, the determining unit 520 is specifically configured to:
determining a target interface board of the message based on the message type;
acquiring the screen plate connected with the target interface board from the corresponding relation between the target interface board and the screen plate connected with the target interface board, and acquiring the screen plate connected with the target interface board from the corresponding relation between the target interface board and the screen plate connected with the target interface board;
and carrying out intersection operation on the screen plate connected with the target interface board and the screen plate connected with the target interface board to obtain the target screen plate.
The transmission unit 530 is specifically configured to:
determining a transmission mode of the message based on the target network board;
and transmitting the message to the target network board based on the transmission mode.
In this embodiment, the determining unit 520 in the apparatus is further configured to:
when the message type is a broadcast type, an unknown unicast type or a multicast type, determining that a target interface board of the message is other interface boards except the local board in the frame switch;
and when the message type is a known unicast type, searching an interface board corresponding to the message based on the message characteristics of the message, and determining the searched interface board as a target interface board.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and 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 network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (6)

1. A method for transmitting messages by an interface board is applied to a frame switch, and is characterized in that the frame switch comprises a plurality of interface boards and a plurality of network boards, the interface boards are connected with the network boards through internal ports, the interface boards generate corresponding aggregation groups based on different connected network boards, wherein the aggregation groups comprise the internal ports, connected with the network boards, on the interface boards, and any interface board in the frame switch transmits messages, and the method comprises the following steps:
when a message is received, judging the message type of the message;
determining a target network board of the message based on the message type;
transmitting the message to the target network board;
the arbitrary interface board stores the corresponding relation between all the interface boards in the frame type switch and the connected screen boards;
the determining the target network board of the message based on the message type comprises the following steps:
determining a target interface board of the message based on the message type;
acquiring a screen plate connected with the target interface plate from the corresponding relation between the target interface plate and the screen plate connected with the target interface plate, and acquiring the screen plate connected with any interface plate from the corresponding relation between any interface plate and the screen plate connected with the any interface plate;
and carrying out intersection operation on the screen plate connected with the target interface board and the screen plate connected with any interface board to obtain the target screen plate.
2. The method of claim 1, wherein the determining the destination interface board for the packet based on the packet type comprises:
when the message type is a broadcast type, an unknown unicast type or a multicast type, determining that a target interface board of the message is other interface boards except the local board in the frame switch;
and when the message type is a known unicast type, searching an interface board corresponding to the message based on the message characteristics of the message, and determining the searched interface board as a target interface board.
3. The method of claim 1, wherein said transmitting the message to the target web page comprises:
determining a transmission mode of the message based on the target network board;
and transmitting the message to the target network board based on the transmission mode.
4. A device for transmitting messages by an interface board is applied to a frame switch, and is characterized in that the frame switch comprises a plurality of interface boards and a plurality of screen boards, the interface boards are connected with the screen boards through internal ports, and the interface boards generate corresponding aggregation groups based on different connected screen boards, wherein each aggregation group comprises the internal ports, connected with the screen boards, on the interface boards, and any one of the interface boards in the frame switch comprises:
the judging unit is used for judging the message type of the message when the message is received;
a determining unit, configured to determine a target network board of the packet based on the packet type;
a transmission unit, configured to transmit the message to the target network board;
the arbitrary interface board stores the corresponding relation between all the interface boards in the frame type switch and the connected screen boards;
the determining unit is specifically configured to:
determining a target interface board of the message based on the message type;
acquiring a screen plate connected with the target interface plate from the corresponding relation between the target interface plate and the screen plate connected with the target interface plate, and acquiring the screen plate connected with any interface plate from the corresponding relation between any interface plate and the screen plate connected with the any interface plate;
and carrying out intersection operation on the screen plate connected with the target interface board and the screen plate connected with any interface board to obtain the target screen plate.
5. The apparatus of claim 4, comprising:
the determination unit is further configured to:
when the message type is a broadcast type, an unknown unicast type or a multicast type, determining that a target interface board of the message is other interface boards except the local board in the frame switch;
and when the message type is a known unicast type, searching an interface board corresponding to the message based on the message characteristics of the message, and determining the searched interface board as a target interface board.
6. The apparatus of claim 4, comprising:
the transmission unit is specifically configured to:
determining a transmission mode of the message based on the target network board;
and transmitting the message to the target network board based on the transmission mode.
CN201711374686.0A 2017-12-19 2017-12-19 Method and device for transmitting message by interface board Active CN108092922B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711374686.0A CN108092922B (en) 2017-12-19 2017-12-19 Method and device for transmitting message by interface board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711374686.0A CN108092922B (en) 2017-12-19 2017-12-19 Method and device for transmitting message by interface board

Publications (2)

Publication Number Publication Date
CN108092922A CN108092922A (en) 2018-05-29
CN108092922B true CN108092922B (en) 2020-12-04

Family

ID=62177209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711374686.0A Active CN108092922B (en) 2017-12-19 2017-12-19 Method and device for transmitting message by interface board

Country Status (1)

Country Link
CN (1) CN108092922B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194585B (en) * 2018-10-26 2022-05-10 新华三技术有限公司合肥分公司 Message forwarding method and network equipment
CN111404829B (en) * 2020-04-17 2024-02-27 杭州迪普科技股份有限公司 Port aggregation method, device, equipment and storage medium
CN111654449B (en) * 2020-05-29 2023-05-19 新华三信息安全技术有限公司 Physical link flow balancing method and device
CN112751791B (en) * 2020-12-30 2022-05-17 迈普通信技术股份有限公司 Message forwarding and information processing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642135A (en) * 2004-01-17 2005-07-20 华为技术有限公司 GGSN/PDSN device and its data forwarding method
CN103401773A (en) * 2013-06-26 2013-11-20 杭州华三通信技术有限公司 Method and network equipment realizing interboard communication
CN105939294A (en) * 2015-09-06 2016-09-14 杭州迪普科技有限公司 Message control method and device
WO2016192686A1 (en) * 2015-06-04 2016-12-08 杭州华三通信技术有限公司 Data packet forwarding

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642135A (en) * 2004-01-17 2005-07-20 华为技术有限公司 GGSN/PDSN device and its data forwarding method
CN103401773A (en) * 2013-06-26 2013-11-20 杭州华三通信技术有限公司 Method and network equipment realizing interboard communication
WO2016192686A1 (en) * 2015-06-04 2016-12-08 杭州华三通信技术有限公司 Data packet forwarding
CN105939294A (en) * 2015-09-06 2016-09-14 杭州迪普科技有限公司 Message control method and device

Also Published As

Publication number Publication date
CN108092922A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN108092922B (en) Method and device for transmitting message by interface board
CN102299846B (en) Method for transmitting BFD (Bidirectional Forwarding Detection) message and equipment
CN105871743B (en) The machinery of consultation of aggregation port state and device
CN101179438B (en) Remote diagnosis system and method
CN105939291A (en) Message processing unit and network device
CN105743816B (en) A kind of link aggregation method and device
CN106453156B (en) Communication means and device between a kind of virtual unit
CN108718258B (en) Quality detection method and equipment for inter-board link
CN105553885B (en) A kind of FC interchanger priority test method
CN106357726A (en) Load balancing method and device
CN102377640A (en) Message processing apparatus, message processing method and preprocessor
CN107948063B (en) Method for establishing aggregation link and access equipment
CN105939294A (en) Message control method and device
CN104506396B (en) The method of testing and system of the full port Full Mesh performances of equipment
CN110768862B (en) Cloud platform physical link connectivity detection device, method and system
CN106487598B (en) The more examples of isomery redundancy Snmp agreements realize system and its implementation
CN104158683A (en) Cross-device aggregation group rapid convergence method, and cross-device aggregation group rapid convergence device
CN104104596A (en) Intelligent resilient framework (IRF) split processing method and device
CN106790411B (en) The non-polymeric port cascade system and method for virtual switch and physical switches
CN104144130A (en) Virtual machine system interconnection method and system and access switch
CN107360012A (en) A kind of Link State processing method and apparatus for network node
CN103269285A (en) Network communication clustering device and method for realizing network communication clustering
CN104935509A (en) Method and apparatus of avoiding loop generation in vertical stack system
CN105553865B (en) A kind of FC exchanger chips credit management test method
CN104394075A (en) Message transmission method and equipment

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