CN106487689B - Communication device and method applicable to stacked communication system - Google Patents

Communication device and method applicable to stacked communication system Download PDF

Info

Publication number
CN106487689B
CN106487689B CN201510555860.6A CN201510555860A CN106487689B CN 106487689 B CN106487689 B CN 106487689B CN 201510555860 A CN201510555860 A CN 201510555860A CN 106487689 B CN106487689 B CN 106487689B
Authority
CN
China
Prior art keywords
frame
communication
stacked
communication system
communication device
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
CN201510555860.6A
Other languages
Chinese (zh)
Other versions
CN106487689A (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.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
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 Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN201510555860.6A priority Critical patent/CN106487689B/en
Publication of CN106487689A publication Critical patent/CN106487689A/en
Application granted granted Critical
Publication of CN106487689B publication Critical patent/CN106487689B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a communication device and a method which can be applied to a stacked communication system. The communication device includes: a plurality of communication ports for constituting a part of an internal transmission path of the stacked communication system; a storage unit for storing a reference path table; and a control circuit for determining whether a frame should be forwarded according to the content of the frame after receiving the frame, and if the frame should be forwarded, the control circuit is configured to select one of the plurality of communication ports according to the reference path table and the content of the frame to forward the frame or a derived frame thereof to an internal transmission path of the stacked communication system.

Description

Communication device and method applicable to stacked communication system
Technical Field
The present invention relates to a communication apparatus and method, and more particularly, to a communication apparatus and method applicable to a stacked communication system.
Background
In a relatively large network, stacking technology may be used to connect multiple physical network devices (e.g., multiple switches) to logically obtain a stacked network device (hereinafter referred to as a stacked network system), which has better forwarding efficiency and capability than a single physical network device. The stacking technology can help a user to easily manage all physical network devices in the stacking network system and enhance the packet forwarding capability of the stacking network system as a whole.
In the prior art, if two devices in a stacking system need to access resources mutually, upper layer application software of the two devices respectively achieve interaction with an existing network communication protocol through standard ethernet frames (the format of which needs to meet a specific specification and the length of which cannot be smaller than 64bytes, otherwise, a receiving end can regard the frames as invalid frames and directly discard the frames), so that the upper layer application software needs to include a complete communication protocol layer, and the interaction communication is not simplified in implementation manner. In addition, in order to avoid a network loop (loop) caused by packets continuously transmitted between devices, some stacking technologies utilize related application technologies of a Spanning Tree Protocol (STP) to set up a network breakpoint, the STP is capable of converting various complex topologies (topologies) into a logical Tree structure, and a communication port of each device in the stacking system is set to block or forward (forwarding) frames, so as to avoid the existence of the loop, which consumes considerable computing resources. The spanning tree protocol may be found in the IEEE 802.1 standard specification (e.g., the 802.1Q standard specification, the 802.1D standard specification).
Disclosure of Invention
In view of the deficiencies of the prior art, it is an object of the present invention to provide a communication apparatus and method applicable to a stacked communication system to improve the prior art.
The invention discloses a communication device applicable to a stacked communication system, which can send frames according to a path table, and an embodiment of the communication device comprises: a plurality of communication ports; a storage unit; and a control circuit. The plurality of communication ports are used to form a part of an internal transmission path of a stacked communication system. The storage unit is used for storing a reference path table. The control circuit is used for judging whether the frame is to be forwarded or not according to the content of the frame after receiving the frame, and if the frame is to be forwarded, the control circuit is used for selecting one of the communication ports according to the reference path table and the content of the frame so as to forward the frame or a derived frame thereof to an internal transmission path of the stacked communication system.
The present invention further discloses a communication method applicable to a stacked communication system, capable of transmitting a frame including a plurality of operation items, executed by a communication device including a plurality of communication ports for forming a part of an internal transmission path of the stacked communication system, the method comprising: judging whether a frame should be forwarded or not according to the content of the frame when receiving the frame; forwarding the frame or a frame derived therefrom to an internal transmission path of the stacked communication system from at least one of the plurality of communication ports depending on the content of the frame if the frame is to be forwarded, wherein the frame comprises: code for a source device, the source device belonging to the stacked communication system; code of a target device, the target device belonging to the stacked communication system; and a plurality of operation items, wherein the operation items comprise a plurality of data access operation items or a semaphore operation item and a data access operation item, and the semaphore operation item is used for controlling the use right of a resource.
Another embodiment of the above communication method, capable of transmitting a broadcast frame in a non-standard format, is also performed by a communication device comprising a plurality of communication ports for forming a part of an internal transmission path of a stacked communication system, the method comprising the steps of: judging whether a sending condition is met; and transmitting a broadcast frame or a derivative thereof from each of the plurality of communication ports to an internal transmission path of the stacked communication system when the transmission condition is satisfied, the broadcast frame or the derivative thereof not conforming to a format of a standard ethernet frame, wherein the broadcast frame or the derivative thereof comprises: code for a source device, the source device belonging to the stacked communication system; a sequence number code for defining a version of the frame; and a broadcast content.
The features, operation and function of the present invention will be described in detail with reference to the drawings.
Drawings
Fig. 1 is a schematic diagram of an embodiment of a communication apparatus applicable to a stacked communication system according to the present invention;
FIG. 2 is a diagram of an embodiment of a stacked communication system applied to the communication device of FIG. 1;
FIG. 3 is a diagram of one embodiment of a reference routing table of the communication device of FIG. 2;
FIG. 4 is a diagram illustrating one embodiment of a frame received by the communications apparatus of FIG. 1;
fig. 5 is a diagram of another embodiment of a frame received by the communication device of fig. 1;
fig. 6 is a schematic diagram of yet another embodiment of a frame received by the communication device of fig. 1;
fig. 7 is a schematic diagram of another embodiment of a communication device applicable to a stacked communication system according to the present invention;
FIG. 8 is a diagram illustrating one embodiment of a frame received by the communications device of FIG. 7;
fig. 9 is a schematic diagram of a communication apparatus applicable to a stacked communication system according to still another embodiment of the present invention;
FIG. 10 is a diagram illustrating one embodiment of a frame received by the communications device of FIG. 9;
FIG. 11 is a diagram illustrating an embodiment of a communication method applicable to a stacked communication system; and
fig. 12 is a diagram of another embodiment of a communication method applicable to a stacked communication system according to the present invention.
Wherein the reference numerals are as follows:
100 communication device
110 multiple communication ports
120 storage unit
130 control circuit
210. 220, 230, 240, 250 communication device
310. 320, 330, 340, 350, 360 path table
Destination target device
Port communication Port
P1-P12 communication port code
410. Code for SI Source device
420. Code of DI target device
430. OP(s) at least one operation item
510. SeqI sequence number code
610. TTL validity indication
700 communication device
710 multiple communication ports
720 control circuit
810. Code for SI Source device
820. Code of DI target device
830. OPs multiple operation items
900 communication device
910 multiple communication ports
920 control circuit
1010. Code for SI Source device
1020. SeqI sequence number code
1030. BC broadcast content
S1110 to S1120
S1210 to S1220
Detailed Description
The following description is made with reference to terms commonly used in the art, and some of the terms are defined or explained in the specification, and the explanation of the terms in the specification is based on the description or the definition in the specification.
The disclosure of the present invention includes a communication device and a communication method, which can be applied to a stacked communication system, and can communicate with other communication devices in the stacked communication system in a simplified and efficient manner, and can avoid the occurrence of network loops. Some of the elements of the communication device may be known elements alone, and details of individual known elements will be omitted from the following description without affecting the full disclosure and feasibility of the communication device; the communication method may be performed by the communication apparatus or an equivalent thereof.
Please refer to fig. 1, which is a diagram illustrating a communication device according to an embodiment of the present invention. As shown in fig. 1, the communication device 100 of the present embodiment can transmit frames (frames) according to a path table, including: a plurality of communication ports 110; a storage unit 120; and a control circuit 130. Each of the communication ports 110 may be at least one input/output pin (I/O pin) of an integrated circuit (in which case the communication device 100 may be in the form of an integrated circuit), at least one transmission line on a circuit board (in which case the communication device 100 may be in the form of a communication interface card), or at least one connector port (in which case the communication device 100 may be in the form of an end product such as a switch or router), etc. to form a part of an internal transmission path of a stacked communication system, when the communication device 100 is in the form of a communication interface card or an end product, it may further include physical layer circuits, connectors, and other connecting circuits and elements, depending on the functionality included in the communication device 100, since the connection circuits and elements of physical layer circuits, connectors, etc. are well known in the art, the details thereof are omitted here. An embodiment of the above-mentioned stacked communication system is shown in fig. 2, and includes the communication device 100 of fig. 1 and other communication devices 210, 220, 230, 240, 250 connected together in a ring configuration (ring configuration), although the number of communication devices may be adjusted according to the needs of the inventor, and a linear configuration (linear configuration) or other configurations may be adopted by the inventor. In addition, each of the communication devices 210, 220, 230, 240, 250 in this example includes a plurality of communication ports capable of implementing the function of the communication port 110, a storage unit capable of implementing the function of the storage unit 120 and including a path table, and a control circuit capable of implementing the function of the control circuit 130, thereby achieving the purpose of fast forwarding frames together, but the present invention can also be applied to a stacked communication system including different communication devices (for example, some communication devices include a path table, some communication devices do not include). Further, the communication ports of the communication devices 100, 210, 220, 230, 240, 250 of fig. 2 are denoted by P1 to P12, respectively; the communication paths between the communication devices 100, 210, 220, 230, 240, and 250 in fig. 2 are an embodiment of the internal transmission paths of the stacked communication system.
Referring to fig. 1, the storage unit 120 is used to store a reference path table, which is a path table with the minimum bridge times for frame transmission in the present embodiment, where the minimum bridge times refer to: when a frame is transmitted from a frame transmitting apparatus to a frame receiving apparatus via a certain path, the number of communication apparatuses between the frame transmitting and receiving apparatuses is minimized. Taking the stacked communication system of fig. 2 as an example, the path table with the fewest number of bridges of the communication devices 100, 210, 220, 230, 240, 250 is sequentially the path tables 310, 320, 330, 340, 350, 360 as shown in fig. 3. As can be seen from fig. 3, the path table indicates the communication ports corresponding to the target devices carrying frames, so that the frames can reach the target devices with the minimum number of bridging times, for example, the reference path table 310 of the communication device 100 indicates: "Destination: 240" and "Port: P1", which represent that when the target device is communication device 240 (Destination:240), frames should be sent by communication Port P1 (Port: P1) for a minimum number of bridges; "Destination: 220" and "Port: P2", which represent that when the target device is communication device 220, frames should be sent by communication Port P2; "Port" - - - -, which means that the frame does not need to be forwarded; P2/P1, which represents that the frame is transferred from any of the communication ports P2 and P1 for the least number of bridges; the rest of the descriptions and the path tables of other devices can be read following the above description, wherein P1 to P12 are codes of communication ports, 100 to 250 are codes of communication devices, these codes are for identification and are not limited in implementation, and the texts such as Destination and Port are for explanation and are not necessarily the contents described in the path tables. It is noted that although the embodiment of fig. 3 employs the minimum bridge number path table, one skilled in the art can implement the present invention by employing other predetermined path tables as required, for example, the contents of the path table are determined according to the response time of the communication device receiving the frame.
Referring to fig. 1, the control circuit 130 is, for example, a circuit including a processor, a data link layer circuit or an equivalent circuit thereof, and is configured to determine whether a frame should be forwarded according to the content of the frame after receiving the frame, and more specifically, the control circuit 130 is capable of parsing the frame, and determining whether the frame is sent to the communication device 100 according to a code of a target device (Destination) in the content of the frame, if not, the frame should be forwarded, and at this time, the control circuit 130 selects one of the plurality of communication ports 110 to forward the frame or a derivative frame thereof to the internal transmission path of the stacked communication system according to the reference path table and the content of the frame (including the code of the target device), where the derivative frame is generated by the control circuit 130 according to the content of the frame, for example, a frame obtained after updating a part of the content of the frame. Please note that, the control circuit 130 can be implemented by those skilled in the art according to the disclosure of the present specification and the existing software, hardware components and architectures, and therefore the details of redundancy are omitted here.
With continued reference to fig. 1-2, for simplicity, one embodiment of the frame received by the communication device 100 is shown in fig. 4, and includes: a code 410 (indicated as SI) of a source device; a code 420 (labeled DI) of a target device; and at least one operation item (operation (s))430 (labeled as op (s)) in the figure, wherein each operation item includes an action (action) indication (such as an access action indication or a set action indication), and optionally further includes an object identifier (object identifier) that is an object of the action indication (such as an accessed object or a set object), but when the action indication does not specify or does not need to specify an object, the object code is not necessary. The source device and the communication device 100 belong to a stacked communication system (e.g., the stacked communication system of fig. 2), and are devices that generate the frame. The target device also belongs to the stacked communication system, and may be communication device 100 or another device in the stacked communication system, which is also the destination of the frame. The at least one operation item is used to indicate at least one operation, and may include a plurality of operation items to avoid the disadvantage of poor performance caused by sending a single indication through a single frame in the prior art. The semaphore operation is used to control (e.g., lock or unlock) the usage of a resource, such as a table, register, physical layer control, etc., and the data access operation is a write or read operation. The object code is used to indicate an operand in the target device, which may be the controlled resource or the accessed data. Each of the above semaphore operations and data access operations are individually known and details are omitted herein.
Referring to fig. 1 to 2, based on the transmission delay and/or poor communication quality, the communication device 100 may receive the response frame of the previous frame after determining that the frame transmission has failed, and to avoid the communication device 100 mistaking the outdated response frame as the response frame of the latest request frame, the frame transmitted and/or received by the communication device 100 may further include a sequence number code 510 as shown in fig. 5, where the sequence number code 510 is used as the basis for the request frame corresponding to the frame, so that if the communication device 100 determines that the currently received frame is the response frame that is outdated according to the sequence number code 510, the frame may be discarded or appropriately processed according to the operation requirement. In addition, in order to avoid the frame from being continuously forwarded to consume transmission resources, the frame transmitted and/or received by the communication device 100 may further include a Time To Live (TTL) indication 610 for indicating the validity period of the frame, as shown in fig. 6, and the control circuit 130 may update the validity period indication 610 to generate and forward a derivative frame of the frame, for example, the validity period indication 610 is a value that decreases as the number of bridging times during the frame transmission increases, when the communication device 100 receives the frame, the communication device 100 may determine whether the validity period indication 610 is 0, if not and the target device of the frame is not the communication device 100, the communication device 100 may decrease the validity period indication 610 by 1 to serve as the latest validity period indication 610 of the frame, and forward the frame according to the code of the target device of the frame and the reference routing table, although the updating manner of the validity period indication is only an example, one skilled in the art can update the validity indicator (e.g., increase the value of the validity indicator with increasing number of bridges, etc.) by any predetermined calculation method, and determine whether the validity indicator indicates that the frame has expired according to a validity threshold (e.g., a threshold value).
Referring to fig. 2, in general, after a source device in the communication stack system sends a frame, it waits for a response from a target device in the communication stack system, and to avoid waiting too long, the source device may count a predetermined time after sending the frame, and if the source device does not receive a response (i.e., a response from the target device) about the frame within the predetermined time, the source device may regard the sending of the frame as a failure. In addition, referring to fig. 1 and 4, the length of the frame received by the communication device 100 may be smaller than 64bytes, i.e., smaller than (or not in accordance with) the length of the standard ethernet frame used in the prior art, i.e., the communication device 100 of fig. 1 can recognize and process the frame smaller than 64bytes, but the prior art device discards the frame when receiving the frame with the length smaller than 64 bytes.
Another embodiment of the communication apparatus applicable to the stacked communication system of the present invention is shown in fig. 7, which is capable of transmitting a frame including a plurality of operation items, but not necessarily transmitting the frame according to the aforementioned reference path table. The communication device 700 of fig. 7 includes: a plurality of communication ports 710; and a control circuit 720. The plurality of communication ports 710 are used to form a part of an internal transmission path of a stacked communication system (e.g., the stacked communication system of fig. 2). The control circuit 720 is configured to determine whether a frame should be forwarded according to the content of the frame when the frame is received, and if the frame should be forwarded, the control circuit 720 is configured to forward the frame or a derived frame thereof to the internal transmission path of the stacked communication system from at least one of the plurality of communication ports 710 according to the content of the frame, where the derived frame is generated by the control circuit 720 according to the content of the frame. In the present embodiment, the frame received by the communication device 700 includes, as shown in fig. 8: code 810 (indicated as SI) for a source device belonging to the stacked communication system; code 820 (labeled as DI) of a target device belonging to the stacked communication system; and a plurality of operation items 830 (labeled OPs), which may comprise a plurality of data access operation items, or may comprise a semaphore operation item and a data access operation item, wherein the semaphore operation item is used for controlling (e.g. locking or unlocking) the right of use of a resource, and each of the operation items may optionally further comprise an object code. Since those skilled in the art can understand the details and variations of the embodiment of fig. 7 through the embodiment of fig. 1 to 6 and the related description thereof, more specifically, the related technical features of the embodiment of fig. 1 to 6 can be reasonably applied to the embodiment of fig. 7, so that the repeated and redundant description is omitted here.
As mentioned above, in order to prevent the locked resource from being inaccessible to other devices in the stacked communication system due to some factors (e.g., the communication device locking the resource is removed from the stacked communication system or an operation error occurs), the communication device including the resource (i.e., the target device receiving the frame including the semaphore operation item) may selectively count a predetermined time after receiving the frame or its derivative and locking the right to use the resource according to the semaphore operation item, and may unlock the right to use the resource after counting the predetermined time, whereby the resource can be automatically unlocked even if the communication device locking the resource does not unlock the resource due to some reason, and the counting operation may be implemented by a counter or its equivalent circuit. In addition, to ensure the usage right of the resource by the communication device locking the resource, the communication device including the resource may re-count the predetermined time if the communication device determining a re-counting condition is satisfied after the communication device including the resource starts counting the predetermined time and before the communication device including the resource finishes counting the predetermined time, for example, the re-counting condition is that the communication device locking the resource accesses the resource.
Another embodiment of a communication device applicable to a stacked communication system is shown in fig. 9, which is capable of transmitting a broadcast frame with a non-standard format, compared to the embodiment of fig. 1, in which frames are transmitted from a plurality of communication ports. The communication device 900 of fig. 9 includes: a plurality of communication ports 910; and a control circuit 920. The plurality of communication ports 910 are used to form a part of an internal transmission path of a stacked communication system (e.g., the stacked communication system of fig. 2). The control circuit 920 is configured to send a broadcast frame or a derivative frame thereof generated by the communication device 900 according to the broadcast frame, for example, the broadcast frame after updating the validity period indication, to the internal transmission path of the stacked communication system from each of the communication ports 910 when a sending condition is satisfied. The length of the broadcast frame or the derivative thereof is less than 64bytes or the broadcast frame or the derivative thereof does not conform to the format of a standard ethernet frame, and the broadcast frame or the derivative thereof comprises: code 1010 (indicated as SI) for a source device belonging to the stacked communication system; a sequence number code 1020 (denoted SeqI) for defining the frame version; and a broadcast content 1030 (labeled BC in the figure). Since those skilled in the art can understand the details and variations of the embodiment of fig. 9 through the embodiment of fig. 1 to 8 and the related description thereof, more specifically, the related technical features of the embodiment of fig. 1 to 8 can be reasonably applied to the embodiment of fig. 9, and therefore the repeated and redundant description is omitted here.
As described above, in this embodiment, if the broadcast frame is generated and transmitted by the communication apparatus 900, the transmission condition is, for example, the communication apparatus 900 determines that the connection condition is changed, such as the communication apparatus 900 detecting that the object connected thereto is removed or changed. When the sending condition is satisfied, the communication device 900 may collect related data, update the serial number code, generate a broadcast frame, and send the broadcast frame, but the communication device 900 may generate the broadcast frame according to other known or self-developed procedures.
In addition, in this embodiment, if the broadcast frame is not generated and transmitted by the communication device 900, that is, the broadcast frame is a frame received by the communication device 900 from another device in the stacked communication system, the control circuit 910 may determine whether the version of the broadcast frame is expired according to the sequence number of the broadcast frame, and if the version of the broadcast frame is expired, the control circuit determines that the transmission condition is not satisfied, so as not to transmit the broadcast frame or a derivative thereof. For example, if the control circuit 910 has previously received a broadcast frame with the same sequence number code or a newer sequence number code, the control circuit 910 determines that the version of the currently received broadcast frame has expired, and thus does not forward the broadcast frame. In addition, to avoid consuming transmission resources due to broadcasting frames being forwarded continuously, the broadcasting frame sent by the communication device 900 may further include a validity period indication for indicating the validity period of the broadcasting frame, and if the broadcasting frame is not generated by the communication device 900, the control circuit 910 may update the validity period indication of the broadcasting frame to generate and forward a derivative frame of the broadcasting frame.
In addition to the above-mentioned apparatuses, another embodiment of the present invention discloses a communication method applicable to a stacked communication system, capable of transmitting a frame including a plurality of operation items, performed by a communication apparatus (e.g. the communication apparatus 700 of fig. 7) including a plurality of communication ports for forming a part of an internal transmission path of the stacked communication system, the method includes the following steps:
step S1110: when a frame is received, whether the frame should be forwarded is judged according to the content of the frame. This step may be performed by control circuit 720 of fig. 7 or its equivalent.
Step S1120: forwarding the frame or a frame derived therefrom to an internal transmission path of the stacked communication system from at least one of the plurality of communication ports depending on the content of the frame if the frame is to be forwarded, wherein the frame comprises: code for a source device, the source device belonging to the stacked communication system; code of a target device, the target device belonging to the stacked communication system; and a plurality of operation items, wherein the operation items comprise a plurality of data access operation items or a semaphore operation item and a data access operation item, and the semaphore operation item is used for controlling the use right of a resource. This step may be performed by the control circuit 720 and the communication port 710 of fig. 7 or their equivalent.
Another embodiment of the above communication method applicable to the stacked communication system is shown in fig. 12, which is capable of transmitting a broadcast frame with a non-standard format, and is performed by a communication device (e.g., the communication device 900 of fig. 9) comprising a plurality of communication ports for forming a part of the internal transmission path of the stacked communication system, wherein the embodiment of fig. 12 comprises the following steps:
step 1210: it is determined whether a transmission condition is satisfied. This step may be performed by the control circuit 920 of fig. 9 or its equivalent.
Step S1220: transmitting a broadcast frame or a derivative thereof from each of the plurality of communication ports to an internal transmission path of the stacked communication system when the transmission condition is satisfied, the broadcast frame or the derivative thereof not conforming to a format of a standard ethernet frame, wherein the broadcast frame or the derivative thereof comprises: code for a source device, the source device belonging to the stacked communication system; a sequence number code for defining a version of the frame; and a broadcast content. This step may be performed by the control circuit 920 and the communication port 910 of fig. 9 or their equivalent.
Since those skilled in the art can understand the details and variations of the method embodiments of fig. 11 and 12 through the apparatus embodiments of fig. 1 to 10 and the related description thereof, more specifically, the related technical features of the apparatus embodiments can be reasonably applied to the method embodiments, and therefore, the repeated and redundant description is omitted here.
In summary, the communication apparatus and method of the present invention can be applied to a stacked communication system, and can communicate with other communication apparatuses in the stacked communication system efficiently through any or any combination of the technical features of the path table, the non-legacy frame containing a plurality of operation items, and the frame containing the validity indication, and meanwhile, the communication apparatus and method of the present invention can avoid the occurrence of network loops without using the spanning tree protocol.
Although the embodiments of the present invention have been described above, these embodiments are not intended to limit the present invention, and those skilled in the art can make variations on the technical features of the present invention according to the explicit or implicit contents of the present invention, and all such variations may fall within the scope of the patent protection sought by the present invention.

Claims (8)

1. A communication device applicable to a stacked communication system, comprising:
a plurality of communication ports for constituting a part of an internal transmission path of the stacked communication system;
a storage unit for storing a reference path table; and
a control circuit for determining whether a frame should be forwarded according to the content of the frame after receiving the frame, and if the frame should be forwarded, the control circuit is configured to select one of the plurality of communication ports according to the reference path table and the content of the frame to forward the frame or a derived frame thereof to an internal transmission path of the stacked communication system;
wherein the frame comprises: code for a source device, the source device belonging to the stacked communication system; code of a target device, the target device belonging to the stacked communication system; and a plurality of operation items for indicating a plurality of operations; the operations include a plurality of data access operations, or a semaphore operation and a data access operation, the semaphore operation being used to control access to a resource;
wherein the length of the frame or its derivative frame is less than 64bytes, and the reference path table is a minimum bridge times path table.
2. The communication device as claimed in claim 1, wherein the communication device is a first communication device in the stacked communication system, the stacked communication system further comprises a plurality of communication devices including a second communication device, wherein the reference path table associates each of the plurality of communication devices with one of the plurality of communication ports, and when the content of the frame is destined for the second communication device, the control circuit forwards the frame or a derivative thereof from the communication port associated with the second communication device according to the reference path table.
3. The communication device as claimed in claim 2, wherein the transmission path between the communication port associated with the second communication device and the second communication device comprises N of the plurality of communication devices, and the transmission path between any communication port not associated with the second communication device and the second communication device comprises at most M of the plurality of communication devices, where N is not greater than M.
4. The communication device as claimed in claim 1, wherein the frame further comprises: a sequence number code defining the version of the frame.
5. The communications device as claimed in claim 1, wherein the frame further comprises a validity indication indicating a validity of the frame, and the control circuit updates the validity indication to generate and forward the derivative frame of the frame.
6. The communication device as claimed in claim 1, wherein the control circuit is further configured to select one of the plurality of communication ports according to the reference path table to send a transport frame to the internal transmission path of the stacked communication system, the communication device counts a predetermined time after sending the transport frame, and the communication device considers the sending of the transport frame as failed if the communication device does not receive a response about the transport frame within the predetermined time.
7. A communication method applicable to a stacked communication system, performed by a communication device including a plurality of communication ports for forming a part of an internal transmission path of the stacked communication system, the communication method comprising the steps of:
judging whether a frame should be forwarded or not according to the content of the frame when receiving the frame;
the frame is to be forwarded, the frame or a frame derived therefrom is forwarded from at least one of the plurality of communication ports to an internal transmission path of the stacked communication system depending on the content of the frame,
wherein the frame comprises: code for a source device, the source device belonging to the stacked communication system; code of a target device, the target device belonging to the stacked communication system; and a plurality of operation items, wherein the operation items comprise a plurality of data access operation items or a semaphore operation item and a data access operation item, and the semaphore operation item is used for controlling the use right of a resource;
wherein the frame or a derivative thereof is less than 64bytes in length.
8. A communication method applicable to a stacked communication system, performed by a communication device including a plurality of communication ports for forming a part of an internal transmission path of the stacked communication system, the communication method comprising the steps of:
detecting whether an object connected with the communication device is removed or changed; and
when detecting that the object connected with the communication device is removed or changed, sending a broadcast frame or a derivative frame thereof from each of the plurality of communication ports to an internal transmission path of the stacked communication system, wherein the length of the broadcast frame or the derivative frame thereof is less than 64bytes,
wherein the broadcast frame or a derivative thereof comprises: code for a source device, the source device belonging to the stacked communication system; a sequence number code for defining a version of the frame; and a broadcast content.
CN201510555860.6A 2015-09-02 2015-09-02 Communication device and method applicable to stacked communication system Active CN106487689B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510555860.6A CN106487689B (en) 2015-09-02 2015-09-02 Communication device and method applicable to stacked communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510555860.6A CN106487689B (en) 2015-09-02 2015-09-02 Communication device and method applicable to stacked communication system

Publications (2)

Publication Number Publication Date
CN106487689A CN106487689A (en) 2017-03-08
CN106487689B true CN106487689B (en) 2019-12-27

Family

ID=58237857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510555860.6A Active CN106487689B (en) 2015-09-02 2015-09-02 Communication device and method applicable to stacked communication system

Country Status (1)

Country Link
CN (1) CN106487689B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1809022A (en) * 2005-01-17 2006-07-26 华为技术有限公司 Ethernet device stacking method and its system
CN100591035C (en) * 2004-07-29 2010-02-17 科胜讯系统公司 Remote control of a switching node in a stack of switching nodes
CN102934402A (en) * 2010-06-30 2013-02-13 英特尔公司 Interruption, at least in part, of frame transmission
CN104185971A (en) * 2012-03-16 2014-12-03 英特尔公司 At least one message to announce entry into relatively lower power state

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100479408C (en) * 2007-03-12 2009-04-15 中兴通讯股份有限公司 A method for implementing the forward table in the stack system
US8243729B2 (en) * 2010-07-01 2012-08-14 Force10 Networks, Inc. Multiple chassis stacking using front end ports
CN103780480B (en) * 2012-10-17 2017-08-11 新华三技术有限公司 Message forwarding method and equipment
CN104065720A (en) * 2014-06-19 2014-09-24 清华大学 MAC protocol based on instant forwarding
CN104639440B (en) * 2015-02-02 2017-11-14 新华三技术有限公司 A kind of method and apparatus for realizing three layers of forwarding and tunneling information in a network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100591035C (en) * 2004-07-29 2010-02-17 科胜讯系统公司 Remote control of a switching node in a stack of switching nodes
CN1809022A (en) * 2005-01-17 2006-07-26 华为技术有限公司 Ethernet device stacking method and its system
CN102934402A (en) * 2010-06-30 2013-02-13 英特尔公司 Interruption, at least in part, of frame transmission
CN104185971A (en) * 2012-03-16 2014-12-03 英特尔公司 At least one message to announce entry into relatively lower power state

Also Published As

Publication number Publication date
CN106487689A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
US7944913B2 (en) Node, communication method, and program for node
EP1782580B1 (en) Method and apparatus for detecting support for a protocol defining supplemental headers
US9742667B2 (en) Packet processing method, device and system
CN108768866B (en) Cross-card forwarding method and device for multicast message, network equipment and readable storage medium
US8989193B2 (en) Facilitating insertion of device MAC addresses into a forwarding database
WO2018187049A1 (en) Digital signature systems and methods for network path trace
CN105049359A (en) Technologies for distributed routing table lookup
WO2018108149A1 (en) Data-link switching method and apparatus and data-link switching device
US11206216B2 (en) Flexible ethernet frame forwarding method and apparatus
US11425014B2 (en) Scalable in-band telemetry metadata extraction
US20070070886A1 (en) Modifying an endpoint node connection associated with a destination
US8886913B2 (en) Apparatus and method for identifier management
US7978728B2 (en) Network clustering for improving connection management and re-routing capabilities
US10069721B2 (en) Communication device and method applicable to stacking communication system
US11868209B2 (en) Method and system for sequencing data checks in a packet
CN106487689B (en) Communication device and method applicable to stacked communication system
US9391791B2 (en) Preprocessing unit for network data
KR100745674B1 (en) Packet processing apparatus and method with multiple switching ports support structure and packet processing system using the same
CN107241236B (en) Forwarding information base table item detection method, detection equipment and network equipment
US9225808B1 (en) Systems and methods for processing information by a network device
US20210117097A1 (en) Methods, devices, and computer program products for storage management
CN115664571A (en) Frequency synchronization method, device and system
CN114745323A (en) Method and system for forwarding flow message
CN115694702A (en) Time synchronization method, device and system
CN113824781A (en) Data center network source routing method and device

Legal Events

Date Code Title Description
C06 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