[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113055260A - Method and device for mixed communication of ring topology and switch - Google Patents

Method and device for mixed communication of ring topology and switch Download PDF

Info

Publication number
CN113055260A
CN113055260A CN202110194314.XA CN202110194314A CN113055260A CN 113055260 A CN113055260 A CN 113055260A CN 202110194314 A CN202110194314 A CN 202110194314A CN 113055260 A CN113055260 A CN 113055260A
Authority
CN
China
Prior art keywords
data frame
ring network
ring
port
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110194314.XA
Other languages
Chinese (zh)
Inventor
张宏波
孟振华
李长森
李海孟
柳柱
郭萌
梁硕
薛宁
杨诚
杨文良
王士锋
弭寒光
宗晓飞
裴圣旺
蔡伟
余亮亮
阳徽
李洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Aerospace Automatic Control Research Institute
Original Assignee
Beijing Aerospace Automatic Control Research Institute
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 Beijing Aerospace Automatic Control Research Institute filed Critical Beijing Aerospace Automatic Control Research Institute
Priority to CN202110194314.XA priority Critical patent/CN113055260A/en
Publication of CN113055260A publication Critical patent/CN113055260A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application discloses a mixed communication method and device of a ring topology and a switch, which are used for simplifying a communication framework of a system, reducing cost and improving instantaneity and reliability. The ring topology and switch hybrid communication method disclosed by the application comprises the following steps: a port of the first bridge node receives a data frame; forwarding or discarding the data frame according to the target address of the data frame; wherein the ports of the first bridge node include L1, L2, and at least one F port, the L1 port and the L2 port of the first bridge node are connected to a first ring network, and each F port of the first bridge node is connected to a switch. The application also provides a ring topology and switch hybrid communication device.

Description

Method and device for mixed communication of ring topology and switch
Technical Field
The present application relates to the field of communications, and in particular, to a method and an apparatus for hybrid communication between a ring topology and a switch.
Background
The data bus technology is a key technology of electronic integration, and provides a real-time and high-reliability communication link for information exchange between electronic systems. At present, the research field of bus technology is expanded to various platforms such as vehicle-mounted platforms, airborne platforms, satellite-mounted platforms, ship-mounted platforms, rockets and missiles. In the prior art, in a topology architecture for data bus transmission, there are three common architectures, namely a point-to-point architecture, an arbitration ring architecture and a switching architecture. Point-to-point architecture as shown in fig. 1, two ports must use the same transmission medium and clock frequency and can only be used between two devices, lacking scalability. The switched fabric, as shown in fig. 2, has the disadvantage of being relatively costly. The arbitration ring structure is shown in fig. 3, and this structure has a limitation on the system scale, and a maximum of 127 devices can be connected in one loop, which has a limitation on the system scale, and the latency is large, and cannot meet the requirement on real-time performance. In summary, the prior art cannot satisfy the comprehensive requirements of good extensibility, low cost and low time delay.
Disclosure of Invention
In view of the above technical problems, embodiments of the present application provide a method and an apparatus for hybrid communication between a ring topology and a switch, so as to reduce cost and improve real-time performance and scalability.
In a first aspect, a method for hybrid communication between a ring topology and a switch provided in an embodiment of the present application includes:
a port of the first bridge node receives a data frame;
forwarding or discarding the data frame according to the target address of the data frame;
wherein the ports of the first bridge node include L1, L2, and at least one F port, the L1 port and the L2 port of the first bridge node are connected to a first ring network, and each F port of the first bridge node is connected to a switch.
Preferably, the L1 port of the first bridge node receives a data frame;
disconnecting whether the target address of the data frame is a second ring network:
if the target address of the data frame is the second ring network, forwarding the data frame to an F port;
if the target address of the data frame is not in the second ring network, judging whether the target address of the data frame is in the ring network; if the target address of the data frame is in the ring network, forwarding the data frame to an L2 port, and if the target address of the data frame is not in the ring network, discarding the data frame;
the ring network comprises addresses of all ring networks linked with the first ring network, does not comprise a second ring network address, and comprises the address of the first ring network;
the second ring network is connected with the switch, and one or more second ring networks are provided.
Preferably, the L2 port of the first bridge node receives a data frame;
disconnecting whether the target address of the data frame is a second ring network:
if the target address of the data frame is the second ring network, forwarding the data frame to an F1 port or an F2 port;
if the target address of the data frame is not in the second ring network, judging whether the target address of the data frame is in the ring network; if the target address of the data frame is in the ring network, forwarding the data frame to an L1 port, and if the target address of the data frame is not in the ring network, discarding the data frame;
the ring network comprises addresses of all ring networks linked with the first ring network, does not comprise a second ring network address, and comprises the address of the first ring network;
the second ring network is connected with the switch, and one or more second ring networks are provided.
Preferably, the F port of the first bridge node receives a data frame;
judging whether the target address of the data frame is a second ring network or not;
if the target address of the data frame is the second ring network, forwarding the data frame to an F port;
if the target address of the data frame is not in the second ring network, judging whether the target address of the data frame is in the ring network; if the target address of the data frame is in the ring network, forwarding the data frame to an L1 or an L2 port, and if the target address of the data frame is not in the ring network, discarding the data frame;
the ring network includes addresses of all ring networks linked with the first ring network, does not include a second ring network address, and includes an address of the first ring network;
the second ring network is connected with the switch, and one or more second ring networks are provided.
Further, the destination address includes a ring network number and a node number;
the ring network number is used for identifying a ring network to which a target node of the data frame belongs, and the node number is used for identifying an address of the target node in the ring network to which the target node belongs.
Further, the destination address of the data frame is a second ring network including: if the network number in the target address is consistent with the network number of the second ring network, the target address is the second ring network;
the data frame not having a target address of the second ring network includes: and if the network number in the target address is not consistent with the network number of the second ring network, the target address is not the second ring network.
Further, after receiving the data frame from one of the port a and the port B, the ring node determines whether a target address of the data frame is consistent with an address of the ring node itself; if the ring network number in the data frame is consistent with the ring network number of the ring node, and the node number of the data frame is consistent with the node number of the ring node, receiving the content of the data frame, otherwise forwarding the data frame from another port;
wherein the A port and the B port are two different connection ports of the ring node in a ring network.
Preferably, the first ring network and the second ring network are bidirectional ring networks.
Preferably, the port L1 and the port L2 form a port group, and jointly occupy a node number of the first ring network.
By the ring topology structure communication method, the low-bandwidth complete machine is accessed into the bidirectional ring network, the high-bandwidth or high-real-time complete machine is accessed through the switch, and the advantages of the switching and ring topology structure are exerted, so that the requirement on the number of ports of the switch is reduced, the cost is reduced, and the reliability and the real-time performance are improved.
In a second aspect, an embodiment of the present application further provides a ring topology and switch hybrid communication apparatus, including:
the first bridge node is used for receiving a data frame from a port of the first bridge node and forwarding or discarding the data frame according to a target address of the data frame;
the ring node is used for judging whether the target address of the data frame is consistent with the address of the ring node after receiving the data frame from one of the port A and the port B; if the ring network number in the data frame is consistent with the ring network number of the ring node, and the node number of the data frame is consistent with the node number of the ring node, receiving the content of the data frame, otherwise forwarding the data frame from another port;
the switch is used for receiving the data frame of the first ring network and forwarding the data frame to the second ring network, or receiving the data frame of the second ring network and forwarding the data frame to the first ring network;
wherein the L1 port and the L2 port of the first bridge node are connected with a first ring network; the F port of the first ring network is connected with the switch, the second ring network is connected with the switch, and one or more second ring networks are provided; the A port and the B port are two different connection ports of the ring node in a ring network.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a point-to-point topology in the prior art;
FIG. 2 is a diagram of a prior art switched topology;
FIG. 3 is a diagram illustrating an arbitration topology according to the prior art;
fig. 4 is a schematic diagram of a hybrid communication method of a ring topology and a switch according to an embodiment of the present application;
fig. 5 is a first schematic diagram of a ring topology and switch hybrid communication structure provided in an embodiment of the present application;
fig. 6 is a schematic diagram of a ring topology and switch hybrid communication structure provided in the embodiment of the present application;
fig. 7 is a schematic diagram three of a ring topology and switch hybrid communication structure provided in the embodiment of the present application;
fig. 8 is a schematic diagram of a hybrid communication structure of a ring topology and a switch according to an embodiment of the present application;
fig. 9 is a fifth schematic view of a ring topology and switch hybrid communication structure provided in the embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, 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.
Some of the words that appear in the text are explained below:
1. the term "and/or" in the embodiments of the present invention describes an association relationship of associated objects, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
2. In the embodiments of the present application, the term "plurality" means two or more, and other terms are similar thereto.
In the topology of data bus transmission, the common architectures include a point-to-point architecture, an arbitration ring architecture and a switching architecture.
Point-to-point architecture as shown in fig. 1, point-to-point communication consists of only master stations, transmission channels and end stations. The information may be sent by the master site (NC) to the terminal site (NT) or by the terminal site (NT) to the master site (NC). Because only fixed transmission is carried out between the two devices, the certainty and the real-time performance of communication can be ensured; and tasks initiated between devices can use the full bandwidth; the communication link is simple and has higher reliability; the disadvantage is that both ports must use the same transmission medium and clock frequency, and this architecture can only be used between two devices, lacking scalability.
As shown in fig. 2, after a ring section is formed by a plurality of stations, each station may be used as a master station (NC) and a terminal station (NT). The arbitration ring has the advantage that it can interconnect a plurality of nodes without additional equipment, and is less costly compared to a switched network architecture. However, there is a limitation on the system scale when used, i.e., a maximum of 127 devices can be connected in a loop, which is only suitable for small scale applications. The arbitration ring has the disadvantages that in the aspects of real-time performance and certainty, all nodes on the ring share the bandwidth, and when the number of devices on the network is large, the whole bandwidth cannot be guaranteed to be used for transmitting task data, so that a task cannot be completed within a specified time; in addition, the arbitration mechanism will bring about a small delay, so that the arbitration loop cannot meet the real-time requirement of the complex electronic system well.
The switching network has a structure as shown in fig. 3, and is composed of a computer master control station (NC), a switch, a plurality of computer terminal stations (NT), and transmission channels. The computer master control site is the master control site of the whole exchange network and is the initiator of data exchange; the computer terminal station data exchange receiver, the exchanger is the data transfer center to complete the data dispatching and transferring, and the transmission channel is the data exchange channel. The switching network transmits the message route to the destination N port by judging the destination N port address of the message sent by the source N port. The switching network can establish a plurality of connections among the N ports, so that a plurality of paths can be selected for data communication without arbitration, and the reliability is higher; up to 1600 ten thousand devices can be connected by the switch cascade; the device has the hot plug characteristic, can realize the plug and play of the device, and ensures higher certainty than an arbitration ring. The switching network is not bandwidth-shared, can provide simultaneous full-bandwidth communication among a plurality of N ports, and guarantees the real-time performance of message transmission. The disadvantage of switched networks is that special fibre channel switch equipment is required and therefore is costly.
In a specific missile/rocket-borne system, if point-to-point communication is adopted in data interaction among a plurality of complete machines or data interaction among a plurality of single boards in the complete machine, the complexity of communication is greatly increased, and even the realization is difficult; if an arbitration ring is adopted, the real-time performance cannot meet the requirement; if the switching topology is adopted, the switching topology can be adopted among the complete machines, but the cost is increased, and the switch cannot be used in the complete machine. Aiming at the technical problems, the ring topology and switch hybrid topology architecture is adopted, so that the requirement of complex communication on a missile/rocket-borne system can be met, and meanwhile, the topology architecture can be unified, and the management is convenient. By adopting a mixed architecture of ring topology and switches, the low-bandwidth complete machine is accessed into a bidirectional ring network, and the high-bandwidth or high-real-time complete machine is accessed through the switches, so that the advantages of the switching and ring topology architectures are exerted, the requirement on the number of ports of the switches is reduced, the cost is reduced, the engineering realization is facilitated, and the real-time performance and the reliability are improved.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
It should be noted that the display sequence of the embodiment of the present application only represents the sequence of the embodiment, and does not represent the merits of the technical solutions provided by the embodiments.
Example one
In the embodiment of the present invention, the ring topology includes two types of nodes: ring nodes and bridge nodes.
A ring Node (Node), which is a component Node of a ring network, is a target Node for data reception or a starting point for data transmission. Each ring node includes an a port and a B port, which are connection ports constituting a ring network. Both the A port and the B port can receive and transmit data. It should be noted that if the data frame is received from the a port, the ring node forwards the data frame from the B port, not from the a port. Accordingly, if the data frame is received from the B port, the ring node forwards the data frame from the a port, not from the B port. I.e. the data flow in the ring network is clockwise or counter-clockwise. The addresses of the ring nodes in the ring network are identified by node numbers, and the node numbers of different ring nodes in the same ring network are different.
Bridge nodes (bridges) for connecting the ring network and the switches, or connecting the two ring networks. When connected to a switch, there are 3 ports, which are classified as L1, L2, and F. Wherein, L1 and L2 connect a ring network, and F connects the switch. The bridge node needs to occupy one node number in the ring network, that is, L1 and L2 form a port group, and jointly occupy one node number of one ring network.
The ring network is identified by ring network numbers, and the ring network numbers are different for different ring networks in a ring topology structure.
When data is communicated in a ring topology structure, a data frame at least comprises a target address and data, wherein the target address comprises a ring network number (ring network ID) and a node number (node ID), the ring network number is used for identifying a ring network to which a target node of the data frame belongs, and the node number is used for identifying an address of the target node in the ring network to which the target node belongs.
It should be noted that, one ring network may be connected to multiple switches at the same time, and this embodiment is not limited thereto.
A ring topology and switch hybrid architecture is shown in fig. 5, and includes a first ring network, a second ring network, and a first switch. The first ring network with the ring network ID of 0x00 comprises four ring nodes of Node01, Node02, Node03 and Node04, and the second ring network with the ring network ID of 0x01 comprises four ring nodes of Node11, Node12, Node13 and Node 14. The (L1, L2) port group of Bridge node Bridge1 of the first ring network occupies node number 0x0 with ring network ID 0x 00; the (L1, L2) port group of Bridge2 of the second ring network occupies node number 0x0 with ring network ID 0x 01. The F port of the first ring network is connected with the first switch, the F port of the second ring network is connected with the first switch, and the first switch comprises 10F ports.
It should be noted that fig. 5 is merely an example, there may be a plurality of ring nodes in the first ring network and the second ring network, and there may be a plurality of ports F of the first switch.
Referring to fig. 4, a schematic diagram of a method for mixing a ring topology and a switch provided in the embodiment of the present application, as shown in the drawing, the method includes steps S401 to S402:
s401, a port of a first bridge node receives a data frame;
s402, forwarding or discarding the data frame according to the target address of the data frame;
wherein the ports of the first bridge node include L1, L2, and at least one F port, the L1 port and the L2 port of the first bridge node are connected to a first ring network, and each F port of the first bridge node is connected to a switch.
It should be noted that the ports L1, L2, and F may all receive and transmit data frames, and when a port receives a data frame, the data frame may come from a node connected to the port, or may come from another port of the first bridge node.
In order to complete the data transfer process, the first bridge node stores the ring networks, and the list is used for storing the addresses of all the ring networks linked with the first ring network, does not contain the address of the second ring network, and contains the address of the first ring network. The first bridge node judges whether the target address of the data frame is the second ring network or not, if so, the data is sent to the first switch, if not, the target address of the data frame is continuously judged whether the target address is in the ring network, if the target address of the data frame is in the ring network, the data frame is continuously circulated in the first ring network to reach the target address, and the target address of the data frame can be the first ring network itself or other ring networks connected with the first ring network except the first ring network and the second ring network; if the destination address of the data frame is not in the ring network, the data frame is discarded.
The following describes the processing procedure when the three ports receive data:
case 1: the L1 port of the first bridge node receiving a data frame;
disconnecting whether the target address of the data frame is a second ring network:
if the target address of the data frame is the second ring network, forwarding the data frame to an F port;
if the target address of the data frame is not in the second ring network, judging whether the target address of the data frame is in the ring network; if the target address of the data frame is in the ring network, forwarding the data frame to an L2 port, and if the target address of the data frame is not in the ring network, discarding the data frame.
Case 2: the L2 port of the first bridge node receiving a data frame;
disconnecting whether the target address of the data frame is a second ring network:
if the target address of the data frame is the second ring network, forwarding the data frame to an F port;
if the target address of the data frame is not in the second ring network, judging whether the target address of the data frame is in the ring network; if the target address of the data frame is in the ring network, forwarding the data frame to an L1 port, and if the target address of the data frame is not in the ring network, discarding the data frame.
Case 3: receiving a data frame by the F port of the first bridge node;
judging whether the target address of the data frame is a second ring network or not;
if the target address of the data frame is the second ring network, forwarding the data frame to an F port;
if the target address of the data frame is not in the second ring network, judging whether the target address of the data frame is in the ring network; if the target address of the data frame is in the ring network, forwarding the data frame to an L1 or an L2 port, and if the target address of the data frame is not in the ring network, discarding the data frame.
The data transmission process is given below in connection with the example of fig. 5 as follows:
in the ring topology and switch hybrid structure shown in fig. 5, there is no other ring network connected to the first ring network except for the second ring network, so the ring network includes only the address of the first ring network itself: {0x00 }.
1) When the ring network ID of a target node (also called a destination node) of the data frame is equal to 0x01, the Bridge controller forwards the data frame to the F port and sends the data frame to a target address by the switch; when the ring network ID of the destination node of the data frame is equal to 0x00, forwarding the data frame to the L2 port; for other types of data frames, directly discarding;
2) when the network ID of a ring where a destination node of the data frame is located is equal to 0x01, the Bridge controller forwards the data frame to the F port and sends the data frame to a target address by the switch; when the ring network ID of the destination node of the data frame is equal to 0x00, forwarding the data frame to the L1 port; for other types of data frames, directly discarding;
3) when the ring network ID of the destination node of the data frame is equal to 0x01, the Bridge controller forwards the data frame to the F port; when the ring network ID of the destination node of the data frame is equal to 0x00, forwarding the data frame to an L1 or L2 port; for other types of data frames, the discard is straightforward.
One switch may connect a plurality of ring networks, and a preferred example is shown in fig. 6, and includes a first ring network, a second ring network, and a third ring network. The first ring network with the ring network ID of 0x00 comprises four ring nodes of Node01, Node02, Node03 and Node04, the second ring network with the ring network ID of 0x01 comprises four ring nodes of Node11, Node12, Node13 and Node14, and the third ring network with the ring network ID of 0x02 comprises four ring nodes of Node21, Node22, Node23 and Node 24.
A first ring network with a ring network ID of 0x00 is connected with the first switch through Bridge node Bridge1, a second ring network with a ring network ID of 0x01 is connected with the first switch through Bridge node Bridge2, and a third ring network with a ring network ID of 0x02 is connected with the first ring network through Bridge node Bridge 3.
The (L1, L2) port group of Bridge1 occupies ring network node number 0x0 with ring network ID 0x 00; the (L1, L2) port group of Bridge2 occupies ring network node number 0x0 with ring network ID 0x 01; the (L1, L2) port group of Bridge3 occupies ring network node number 0x0 with ring network ID 0x 02.
In the ring topology and switch hybrid structure shown in fig. 6, a third ring network is connected to the first ring network, so the ring network is: {0x00, 0x02 }.
Taking Bridge1 as an example of how the quantity data stream is delivered, Bridge2 is transmitted in the same way as Bridge1, and will not be described in detail:
1) when the ring network ID of a target node (also called a destination node) of the data frame is equal to 0x01, the Bridge controller forwards the data frame to the F port and the target address by the first switch; when the ring network ID of the destination node of the data frame is equal to 0x00 or 0x02, forwarding the data frame to the L2 port; for other types of data frames, directly discarding;
2) when the network ID of a ring where a destination node of the data frame is located is equal to 0x01, the Bridge controller forwards the data frame to the F port and the target address by the first switch; when the ring network ID of the destination node of the data frame is equal to 0x00 or 0x02, forwarding the data frame to the L1 port; for other types of data frames, directly discarding;
3) when the ring network ID of the destination node of the data frame is equal to 0x01, the Bridge controller forwards the data frame to the F port; when the ring network ID of the destination node of the data frame is equal to 0x00 or 0x02, forwarding the data frame to an L1 or L2 port; for other types of data frames, the discard is straightforward.
It should be noted that there may be a plurality of second ring networks shown in fig. 5, which means that there are other ring networks connected to the first switch in addition to the first ring network. The data transmission process of the second ring network is consistent with that of the first ring network, and is not described herein again. For example, as shown in fig. 7, a first ring network, a second ring network, and a third ring network are connected to the first switch. The first ring network is connected with the first switch through Bridge1, the second ring network is connected with the first switch through Bridge2, and the third ring network is connected with the first switch through Bridge 3.
It should be noted that there may be a plurality of first switches in fig. 5, which indicate switches connected to the first ring network, and there may be other switches connected through a plurality of F interfaces in addition to the first switches. When the first bridge node of the first ring network forwards the data to the F port, the data can be sent to all the switches at the same time. For example, as shown in fig. 8, the first ring network is connected to the first switch and the second switch at the same time, the second ring network is connected to the first switch, and the third ring network is connected to the second switch.
As a preferred example, the ring network and all the switches may be connected to each other, and the switches may be connected to each other. As shown in fig. 9, the first ring network is connected to the first switch and the second switch, the second ring network is connected to the first switch and the second switch, the third ring network is connected to the first switch and the second switch, and the first switch and the second switch are connected. The redundant connection improves the reliability of data transmission, and when one switch fails, the other switch can work normally.
As a preferred example, the method of determining whether the destination address of the data frame is the second ring network or the third ring network may be:
the destination address of the data frame is a second ring network comprising: if the network number in the target address is consistent with the network number of the second ring network, the target address is the second ring network;
the data frame not having a target address of the second ring network includes: if the network number in the target address is not consistent with the network number of the second ring network, the target address is not the second ring network;
the destination address of the data frame is a third ring network comprising: if the network number in the target address is consistent with the network number of the third ring network, the target address is the third ring network;
the data frame not having a target address of the third ring network comprises: and if the network number in the target address is not consistent with the network number of the third ring network, the target address is not the third ring network.
As a preferred example, each ring node in the ring network is connected to the ring network through two ports a and B, respectively, and after receiving data from one of the ports, if forwarding is required to be continued, the ring node forwards the data from the other port, instead of the port that receives the data, so as to implement data flow in a clockwise direction or a counterclockwise direction. That is, the ring node in the ring network, after receiving the data frame, the processing method may be:
after receiving the data frame from one of the port A and the port B, the ring node judges whether the target address of the data frame is consistent with the address of the ring node; if the ring network number in the data frame is consistent with the ring network number of the ring node, and the node number of the data frame is consistent with the node number of the ring node, receiving the content of the data frame, otherwise forwarding the data frame from another port;
wherein the A port and the B port are two different connection ports of the ring node in a ring network.
As a preferable example, the ring network described in this embodiment is a bidirectional ring network, that is, data can be transmitted in a clockwise direction or a counterclockwise direction. By adopting the bidirectional ring communication architecture, when one link fails, the other link can be used as a backup, so that the reliability of the system is improved.
It should be noted that, in the ring network of this embodiment, communication between the bridge node and the ring node may be implemented by a high-speed optical fiber or by a cable, and this embodiment is not limited in this embodiment.
By adopting the method of the embodiment, the ring topology and switch mixed architecture is adopted, the low-bandwidth complete machine is accessed into the bidirectional ring, the high-bandwidth or high-real-time complete machine is accessed through the switch, and the advantages of the switching and ring topology architecture are exerted, so that the requirement on the number of ports of the switch is reduced, the cost is reduced, the reliability and the real-time performance are improved, and the engineering realization is facilitated.
Example two
Based on the same inventive concept, an embodiment of the present invention further provides a communication device with a ring topology and switch mixed structure, where the device includes:
the first bridge node is used for receiving a data frame from a port of the first bridge node and forwarding or discarding the data frame according to a target address of the data frame;
the ring node is used for judging whether the target address of the data frame is consistent with the address of the ring node after receiving the data frame from one of the port A and the port B; if the ring network number in the data frame is consistent with the ring network number of the ring node, and the node number of the data frame is consistent with the node number of the ring node, receiving the content of the data frame, otherwise forwarding the data frame from another port;
the switch is used for receiving the data frame of the first ring network and forwarding the data frame to the second ring network, or receiving the data frame of the second ring network and forwarding the data frame to the first ring network;
wherein the L1 port and the L2 port of the first bridge node are connected with a first ring network; an F port of the first ring network is connected with the switch, and the second ring network is connected with the switch; the A port and the B port are two different connection ports of the ring node in a ring network.
It should be noted that, the first bridge node provided in this embodiment can implement all functions of the bridge node in the first embodiment, solve the same technical problem, and achieve the same technical effect, which is not described herein again;
accordingly, the ring node provided in this embodiment can implement all functions included in the ring node in the first embodiment, solve the same technical problem, achieve the same technical effect, and is not described herein again.
Correspondingly, the switch provided in this embodiment can implement all functions included in the switch in the first embodiment, solve the same technical problem, achieve the same technical effect, and is not described herein again.
It should be noted that the apparatus provided in the second embodiment and the method provided in the first embodiment belong to the same inventive concept, solve the same technical problem, and achieve the same technical effect, and the apparatus provided in the second embodiment can implement all the methods of the first embodiment, and the same parts are not described again.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (11)

1. A ring topology and switch hybrid communication method is characterized by comprising the following steps:
a port of the first bridge node receives a data frame;
forwarding or discarding the data frame according to the target address of the data frame;
wherein the ports of the first bridge node include L1, L2, and at least one F port, the L1 port and the L2 port of the first bridge node are connected to a first ring network, and each F port of the first bridge node is connected to a switch.
2. The method of claim 1, comprising:
the L1 port of the first bridge node receiving a data frame;
disconnecting whether the target address of the data frame is a second ring network:
if the target address of the data frame is the second ring network, forwarding the data frame to an F port;
if the target address of the data frame is not in the second ring network, judging whether the target address of the data frame is in the ring network; if the target address of the data frame is in the ring network, forwarding the data frame to an L2 port, and if the target address of the data frame is not in the ring network, discarding the data frame;
the second ring network is connected with the switch, and one or more second ring networks are provided.
3. The method of claim 1, comprising:
the L2 port of the first bridge node receiving a data frame;
disconnecting whether the target address of the data frame is a second ring network:
if the target address of the data frame is the second ring network, forwarding the data frame to an F1 port or an F2 port;
if the target address of the data frame is not in the second ring network, judging whether the target address of the data frame is in the ring network; if the target address of the data frame is in the ring network, forwarding the data frame to an L1 port, and if the target address of the data frame is not in the ring network, discarding the data frame;
the ring network comprises addresses of all ring networks linked with the first ring network, does not comprise a second ring network address, and comprises the address of the first ring network;
the second ring network is connected with the switch, and one or more second ring networks are provided.
4. The method of claim 1, comprising:
receiving a data frame by the F port of the first bridge node;
judging whether the target address of the data frame is a second ring network or not;
if the target address of the data frame is the second ring network, forwarding the data frame to an F port;
if the target address of the data frame is not in the second ring network, judging whether the target address of the data frame is in the ring network; if the target address of the data frame is in the ring network, forwarding the data frame to an L1 or an L2 port, and if the target address of the data frame is not in the ring network, discarding the data frame;
the ring network includes addresses of all ring networks linked with the first ring network, does not include a second ring network address, and includes an address of the first ring network;
the second ring network is connected with the switch, and one or more second ring networks are provided.
5. The method according to one of claims 1 to 4, comprising:
the target address comprises a ring network number and a node number;
the ring network number is used for identifying a ring network to which a target node of the data frame belongs, and the node number is used for identifying an address of the target node in the ring network to which the target node belongs.
6. The method according to one of claims 1 to 4, comprising:
the destination address of the data frame is a second ring network comprising: if the network number in the target address is consistent with the network number of the second ring network, the target address is the second ring network;
the data frame not having a target address of the second ring network includes: and if the network number in the target address is not consistent with the network number of the second ring network, the target address is not the second ring network.
7. The method according to one of claims 1 to 4, further comprising:
after receiving the data frame from one of the port A and the port B, the ring node judges whether the target address of the data frame is consistent with the address of the ring node; if the ring network number in the data frame is consistent with the ring network number of the ring node, and the node number of the data frame is consistent with the node number of the ring node, receiving the content of the data frame, otherwise forwarding the data frame from another port;
wherein the A port and the B port are two different connection ports of the ring node in a ring network.
8. The method according to one of claims 1 to 4, comprising:
the first ring network and the second ring network are bidirectional ring networks.
9. The method according to one of claims 1 to 4, comprising:
the port L1 and the port L2 form a port group, and jointly occupy a node number of the first ring network.
10. The method according to one of claims 1 to 4, comprising:
one or more of the first switches.
11. A ring topology and switch hybrid communication device, comprising:
the first bridge node is used for receiving a data frame from a port of the first bridge node and forwarding or discarding the data frame according to a target address of the data frame;
the ring node is used for judging whether the target address of the data frame is consistent with the address of the ring node after receiving the data frame from one of the port A and the port B; if the ring network number in the data frame is consistent with the ring network number of the ring node, and the node number of the data frame is consistent with the node number of the ring node, receiving the content of the data frame, otherwise forwarding the data frame from another port;
the switch is used for receiving the data frame of the first ring network and forwarding the data frame to the second ring network, or receiving the data frame of the second ring network and forwarding the data frame to the first ring network;
wherein the L1 port and the L2 port of the first bridge node are connected with a first ring network; the F port of the first ring network is connected with the switch, the second ring network is connected with the switch, and one or more second ring networks are provided; the A port and the B port are two different connection ports of the ring node in a ring network.
CN202110194314.XA 2021-02-20 2021-02-20 Method and device for mixed communication of ring topology and switch Pending CN113055260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110194314.XA CN113055260A (en) 2021-02-20 2021-02-20 Method and device for mixed communication of ring topology and switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110194314.XA CN113055260A (en) 2021-02-20 2021-02-20 Method and device for mixed communication of ring topology and switch

Publications (1)

Publication Number Publication Date
CN113055260A true CN113055260A (en) 2021-06-29

Family

ID=76509448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110194314.XA Pending CN113055260A (en) 2021-02-20 2021-02-20 Method and device for mixed communication of ring topology and switch

Country Status (1)

Country Link
CN (1) CN113055260A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1328090A1 (en) * 2002-01-09 2003-07-16 Alcatel Topology discovery method, a related system and related node
US20070186027A1 (en) * 2006-02-07 2007-08-09 International Business Machines Corporation Method and apparatus for implementing control of a multiple ring hybrid crossbar partially non-blocking data switch
CN101536425A (en) * 2006-11-09 2009-09-16 艾利森电话股份有限公司 Arrangement and method relating to identification of hardware units
CN102215165A (en) * 2011-05-27 2011-10-12 杭州迪普科技有限公司 Message processing method for tangent ring networks and Ethernet switch
US20140115221A1 (en) * 2012-10-18 2014-04-24 Qualcomm Incorporated Processor-Based System Hybrid Ring Bus Interconnects, and Related Devices, Processor-Based Systems, and Methods
US20140119235A1 (en) * 2011-03-31 2014-05-01 Tejas Networks Limited Method for managing a logical topology change in a network
CN104219115A (en) * 2014-09-18 2014-12-17 北京博维亚讯技术有限公司 Method and system of performing heterogeneous hybrid networking through Ethernet ring protocol and spanning tree protocol
CN109889447A (en) * 2019-01-08 2019-06-14 北京全路通信信号研究设计院集团有限公司 Network transmission method and system based on hybrid ring networking and fountain codes

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1328090A1 (en) * 2002-01-09 2003-07-16 Alcatel Topology discovery method, a related system and related node
US20070186027A1 (en) * 2006-02-07 2007-08-09 International Business Machines Corporation Method and apparatus for implementing control of a multiple ring hybrid crossbar partially non-blocking data switch
CN101536425A (en) * 2006-11-09 2009-09-16 艾利森电话股份有限公司 Arrangement and method relating to identification of hardware units
US20140119235A1 (en) * 2011-03-31 2014-05-01 Tejas Networks Limited Method for managing a logical topology change in a network
CN102215165A (en) * 2011-05-27 2011-10-12 杭州迪普科技有限公司 Message processing method for tangent ring networks and Ethernet switch
US20140115221A1 (en) * 2012-10-18 2014-04-24 Qualcomm Incorporated Processor-Based System Hybrid Ring Bus Interconnects, and Related Devices, Processor-Based Systems, and Methods
CN104219115A (en) * 2014-09-18 2014-12-17 北京博维亚讯技术有限公司 Method and system of performing heterogeneous hybrid networking through Ethernet ring protocol and spanning tree protocol
CN109889447A (en) * 2019-01-08 2019-06-14 北京全路通信信号研究设计院集团有限公司 Network transmission method and system based on hybrid ring networking and fountain codes

Similar Documents

Publication Publication Date Title
US5600642A (en) Method for modifying a multicast tree in a switching network
JPH0817388B2 (en) Protocol system, method for controlling the state of ports of a dynamic coupling device, dynamic switch and method for operating a bidirectional transmission system
EP1454440A1 (en) Method and apparatus for providing optimized high speed link utilization
EP0463528A2 (en) Method for controlling the insertion of stations into a fiber distributed data interface network
US8064347B2 (en) System and method for redundant switched communications
US9465417B2 (en) Cluster system, method and device for expanding cluster system
HU214136B (en) Serial data transfer system and method for developing serial data transfer channel
US5898676A (en) Method, communication system and conference unit for carrying out conferences
US20070217438A1 (en) Ring node device and method of connecting terminal to ring node device
JPH06237256A (en) Fddi station bypass device
US6944156B2 (en) Label request packet transmission method, packet transfer network and method thereof, and packet transfer device
CN116260884A (en) TTE network system design method based on distributed data distribution DDS
US20090103554A1 (en) Data transfer device for ring protocol high speed switching and method for the same
US5210742A (en) Communication process and switching element for carrying out this process
CN112383474A (en) Multiport SpaceFibre route IP
CN112953805A (en) Communication method and device of ring topology structure and storage medium
CN113055260A (en) Method and device for mixed communication of ring topology and switch
CN116094988A (en) Method for constructing cascade switching network, maintaining network and maintaining route
US6144666A (en) Technique for efficiently transporting information through an asynchronous transfer mode (ATM) network
CN113055264A (en) Networking communication method and device for ring topology and storage medium
JPH11112513A (en) Multi-processor exchange and its communication method
JP2012054861A (en) Communication system, and communication control method
KR100745674B1 (en) Packet processing apparatus and method with multiple switching ports support structure and packet processing system using the same
CN117768382B (en) Backup link switching method, device, medium and equipment for realizing redundant DRP (data packet processing) ring
US7009986B2 (en) Network apparatus

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210629

RJ01 Rejection of invention patent application after publication