Fiber channel ring network processing method

The ring network is formed through fiber switches, and the network spanning tree and bidirectional propagation mechanism are used to optimize data forwarding, which solves the problems of high cabling costs, low utilization and large delays of the fiber channel ring network, and achieves efficient data transmission and low latency.

CN119277240APending Publication Date: 2025-01-07CHINA STATE SHIPBUILDING CORP LTD RESEARCH INSTITUTE 719
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411530069.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

The existing fiber channel ring network has high cabling costs, low utilization and large transmission delays when nodes are connected, resulting in complex system deployment and slow response speed.

Method used

At least three optical fiber switches are connected in sequence to form a ring network, a routing table is established using the network spanning tree mechanism, a two-way propagation mechanism and optimal path selection are introduced, and a hash table and a propagation termination mechanism are combined to optimize data forwarding.

Benefits of technology

It significantly reduces the number of physical connection lines and wiring complexity, improves network utilization and throughput, reduces data transmission delay, and improves the real-time and response speed of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119277240A_ABST
    Figure CN119277240A_ABST
Patent Text Reader

Abstract

The invention discloses an optical fiber channel ring network processing method, which relates to the technical field of optical fiber communication, and comprises the following steps: at least three optical fiber switches are sequentially connected to form a ring network structure, each optical fiber switch is provided with a plurality of communication ports and two uplink ports, all the optical fiber switches are mutually connected through the uplink ports to form a closed loop, and the communication ports are used for accessing a plurality of communication terminals in a network; a network routing table is established by adopting a network spanning tree mechanism according to the address of the communication terminal, the routing tables of all the optical fiber switches are kept consistent, the routing table is used for storing a source identifier SID and a target identifier DID of each communication terminal, and the optical fiber switches determine the optimal forwarding path of the FC frame sent by the network terminal by querying the routing table.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of optical fiber communication, and in particular to a method for processing an optical fiber channel ring network. Background Art

[0002] Fibre Channel (FC) is a high-speed network interface, which is often used in control systems to achieve high-bandwidth, low-latency transmission of business data. Fibre Channel Ring Network (FCRN) is a special network structure in which all nodes are connected in a closed loop. FCRN has high reliability: because it adopts a bidirectional ring topology, even if a node fails, information can still be transmitted through other paths, thus ensuring the connectivity of the entire network; at the same time, the optical fiber itself has strong durability and anti-interference ability, and can operate for a long time in harsh working environments. FCRN is also highly secure: because the optical fiber itself does not generate electromagnetic radiation, it can effectively avoid security issues such as signal leakage and eavesdropping. Therefore, FCRN is widely used in high-reliability control systems or high-security storage networks as a high-speed data frame bus.

[0003] In the existing FCNR network, all nodes are connected in a closed loop, which has the following disadvantages: high network wiring cost. When N communication terminals form a ring network, N-1 wires are required, which increases the complexity of the system physical wiring and the system wiring cost is very high; low network utilization. In the FCRN of N communication terminals, time-deterministic transmission is realized. Each communication will occupy the link resources of the entire network. The remaining N-1 communication terminals must be in a silent state, and the network utilization is very low; large network transmission delay. In the FCRN network of N communication terminals, when the communication terminal P1 sends data to the farthest communication terminal Pt, the network transmission delay is (N / 2)*T (Note: 1. T is the forwarding delay of the communication terminal; 2. The transmission delay of the optical fiber link is not considered). The forwarding delay of the farthest distance increases with the increase of the scale of the network. Summary of the invention

[0004] The purpose of the present invention is to establish a new type of fiber channel ring network by forming a ring connection by fiber switches according to the layout characteristics of the system.

[0005] The technical solution of the present invention is to provide a method for processing a fiber channel ring network, the method comprising:

[0006] A ring network structure is formed by connecting at least three fiber optic switches in sequence, each fiber optic switch has multiple communication ports and two uplink ports, all fiber optic switches are interconnected through the uplink ports to form a closed loop, and the communication ports are used to access multiple communication terminals in the network;

[0007] According to the communication terminal address, a network routing table is established using the network spanning tree mechanism, and the routing tables of all fiber switches are kept consistent. The routing table is used to store the source identifier SID and the destination identifier DID of each communication terminal. The fiber switch determines the best forwarding path for the FC frame sent by the network terminal by querying the routing table.

[0008] In any of the above technical solutions, further, the network adopts a two-way propagation mechanism to forward the FC frame sent by the network terminal, and the two-way propagation mechanism is:

[0009] 1) When the DID of the FC frame received by the communication port of the fiber optic switch is queried through the routing table and is determined to be an internal route of the local fiber optic switch, the FC frame is directly forwarded to the destination port in the fiber optic switch;

[0010] 2) When the DID of the FC frame received by the communication port of the fiber optic switch is queried through the routing table and is determined to be routed by other fiber optic switches, the FC frame will be sent out through the uplink port of the local fiber optic switch at the same time;

[0011] 3) When the DID of the FC frame received by the communication port of the fiber optic switch is queried through the routing table and it is determined that it needs to be forwarded to both the local and other fiber optic switches, the FC frame is forwarded to the destination port of the local fiber optic switch, and the FC frame is sent out through the uplink port of the fiber optic switch at the same time.

[0012] In any of the above technical solutions, further, when the fiber optic switch receives the same FC frame from two directions, it preferentially selects a path with the smallest delay for data forwarding. The fiber optic switch stores the SID of the FC frame and the number of the preferentially received uplink port in a hash table. The hash table records the optimal path for each SID. The life cycle of the record is 200 milliseconds. If no frame with the same SID is received within this period, the record is cleared.

[0013] In any of the above technical solutions, further, the fiber optic switch has a propagation termination mechanism, the fiber optic switch records the SID of the FC frame received from the communication port and caches it, when the uplink port of the fiber optic switch receives the FC frame, the SID is extracted, and it is searched and matched with the SID in the cache, if the SID already exists in the cache, the FC frame is discarded and the cache is cleared, if the SID does not exist in the cache, the FC frame is routed and forwarded.

[0014] In any of the above technical solutions, further, the fiber optic switch includes a sending port blocking mechanism. When the optimal path is determined, the fiber optic switch at the receiving end will notify the sending end to stop data propagation on the non-optimal path through the communication handshake mechanism. After receiving the handshake information, the sending end extracts the FC frame SID in the information and updates the corresponding table entry in its hash table. When the same FC frame is received again, it will no longer be forwarded to the non-optimal path, preventing subsequent FC frames with the same source identifier SID from being sent to the non-optimal path.

[0015] The beneficial effects of the present invention are:

[0016] The technical solution of the present invention optimizes the layout structure of direct interconnection of communication terminals in the traditional ring network by forming a ring network through optical fiber switches; compared with the prior art, the solution greatly reduces the number of physical connection lines required in the system, reduces the wiring complexity and cost, and simplifies the deployment and maintenance of the network;

[0017] The present invention introduces a two-way propagation mechanism and optimal path selection to ensure that multiple communication terminals in the network can efficiently utilize network resources at the same time, greatly improving the throughput and utilization rate of the entire network; data frames are transmitted in two directions at the same time, and the receiving-end switch selects a path with less delay for forwarding, which significantly reduces the data transmission delay between the farthest communication terminals and improves the real-time performance and response speed of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The advantages of the above and additional aspects of the present invention will become apparent and easily understood in the description of the embodiments in conjunction with the following drawings, in which:

[0019] Figure 1 Schematic diagram of a ring network of a Fibre Channel ring network processing method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0020] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.

[0021] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0022] like Figure 1 As shown, this embodiment provides a method for processing a fiber channel ring network, the method comprising:

[0023] Several fiber optic switches with 16 ports are connected in sequence to form a ring network. Specifically, port 15 of each fiber optic switch is connected to port 16 of the next fiber optic switch. Ports 15 and 16 of the fiber optic switch are collectively referred to as uplink ports. Ports 1 to 14 of each fiber optic switch are respectively connected to a network terminal.

[0024] The network terminal accesses the network through the fiber optic switch, adopts the network spanning tree mechanism, establishes the network routing table according to the communication terminal address, and keeps the routing tables of all fiber optic switches consistent; the network adopts the two-way propagation mechanism to forward the FC frames sent by the network terminal, reducing the data transmission delay between the farthest communication nodes in the system; the two-way propagation mechanism is:

[0025] 1) When the DID (destination identifier, which identifies the receiving node of the FC frame) of the FC frame received by the communication port of the fiber optic switch is queried through the routing table and is determined to be an internal route of the local fiber optic switch, the FC frame is directly forwarded to the destination port in the fiber optic switch;

[0026] 2) When the DID of the FC frame received by the communication port of the fiber optic switch is queried through the routing table and is determined to be routed by other fiber optic switches, the FC frame will be sent out through the uplink port of the local fiber optic switch at the same time;

[0027] 3) When the DID of the FC frame received by the communication port of the fiber optic switch is queried through the routing table and it is determined that it needs to be forwarded to both the local and other fiber optic switches, the FC frame is forwarded to the destination port of the local fiber optic switch, and the FC frame is sent out through the uplink port of the fiber optic switch at the same time.

[0028] Since the FC frames exchanged across fiber switches in a ring network are transmitted bidirectionally through the uplink port, the fiber switch as the receiving end will receive the same FC frame from two directions and need to discard the FC frame in one direction; the path delay of the FC frame with the SID (source identifier, identifying the sender node of the FC frame) is the shortest, and the fiber switch stores the SID and the number of the uplink port that is received first in a hash table. The life cycle of the SID and the uplink port number in the hash table is 200ms. If the FC frame of the SID is not received within the life cycle, the SID table entry is cleared; if the FC frame of the SID is received within the life cycle, the fiber switch queries the hash table based on the SID to determine whether the current FC frame receiving port is the cascade port of the optimal path. If so, the FC frame is routed and forwarded, otherwise the FC frame is discarded.

[0029] When the local port of a fiber switch in a ring network sends an FC frame across fiber switches, the FC frame will eventually return to the fiber switch where the FC frame source is located after the optimal path selection. If the FC frame circulates infinitely in the ring network, it will cause network congestion. The FC frame source fiber switch needs to design a propagation termination mechanism to end the propagation of the FC frame in the ring network.

[0030] The mechanism of propagation termination is as follows: the fiber optic switch records the SID of the FC frame received from ports 1 to 14 and caches it. When the uplink port of the fiber optic switch receives the FC frame, it extracts the SID and searches and matches it with the SID in the cache. If the SID already exists in the cache, the FC frame is discarded and the cache is cleared. If the SID does not exist in the cache, the FC frame is routed and forwarded.

[0031] Due to the use of bidirectional transmission, the simultaneous transmission of data in two directions will increase the bandwidth consumption of the uplink port. In order to reduce the bandwidth loss of the uplink port caused by bidirectional transmission, it is necessary to notify the sender through the handshake mechanism to stop forwarding data to the non-optimal path after the optimal path is determined. This process is completed through the communication handshake between switches. After receiving the handshake information, the sender will extract the FC frame SID in the information and update the corresponding table entry in its hash table. When the same FC frame is received again, it will no longer forward it to the non-optimal path, thereby reducing redundant data transmission in the network and saving bandwidth.

[0032] In summary, the present invention provides a method for processing a fiber channel ring network, the method comprising:

[0033] A ring network structure is formed by connecting at least three fiber optic switches in sequence. Each fiber optic switch has multiple communication ports and two uplink ports. All fiber optic switches are interconnected through the uplink ports to form a closed loop. The communication ports are used to access multiple communication terminals in the network.

[0034] A network routing table is established based on the communication terminal address using the network spanning tree mechanism, and the routing tables of all fiber switches are kept consistent. The routing table is used to store the source identifier SID and destination identifier DID of each communication terminal. The fiber switch determines the best forwarding path for the FC frame sent by the network terminal by querying the routing table.

[0035] The steps in the present invention can be adjusted in order, combined or deleted according to actual needs.

[0036] The units in the device of the present invention can be combined, divided and deleted according to actual needs.

[0037] Although the present invention is disclosed in detail with reference to the accompanying drawings, it should be understood that these descriptions are merely exemplary and are not intended to limit the application of the present invention. The scope of protection of the present invention is defined by the appended claims and may include various modifications, alterations and equivalents made to the invention without departing from the scope and spirit of the present invention.

Claims

1. A method for processing a fiber channel ring network, characterized in that: The method comprises: A ring network structure is formed by connecting at least three fiber optic switches in sequence, each fiber optic switch has multiple communication ports and two uplink ports, and all fiber optic switches are interconnected through the uplink ports to form a closed loop, and the communication ports are used to access multiple communication terminals in the network; A network routing table is established according to the communication terminal address and a network spanning tree mechanism, and the routing tables of all fiber switches are kept consistent. The routing table is used to store the source identifier SID and the destination identifier DID of each communication terminal. The fiber switch determines the best forwarding path for the FC frame sent by the network terminal by querying the routing table.

2. The method for processing a fiber channel ring network according to claim 1, wherein: The network adopts a two-way transmission mechanism to forward the FC frames sent by the network terminal. The two-way transmission mechanism is: 1) When the DID of the FC frame received by the communication port of the fiber optic switch is queried through the routing table and is determined to be an internal route of the local fiber optic switch, the FC frame is directly forwarded to the destination port in the fiber optic switch; 2) When the DID of the FC frame received by the communication port of the fiber optic switch is queried through the routing table and is determined to be routed by other fiber optic switches, the FC frame will be sent out through the uplink port of the local fiber optic switch at the same time; 3) When the DID of the FC frame received by the communication port of the fiber optic switch is queried through the routing table and it is determined that it needs to be forwarded to both the local and other fiber optic switches, the FC frame is forwarded to the destination port of the local fiber optic switch, and the FC frame is sent out through the uplink port of the fiber optic switch at the same time.

3. The method for processing a fiber channel ring network according to claim 2, wherein: When the fiber switch receives the same FC frame from two directions, it preferentially selects a path with the smallest delay for data forwarding. The fiber switch stores the SID of the FC frame and the number of the preferentially received uplink port into a hash table. The hash table records the optimal path for each SID. The life cycle of the record is 200 milliseconds. If no frame with the same SID is received within this period, the record is cleared.

4. The method for processing a fiber channel ring network according to claim 1, wherein: The fiber optic switch has a propagation termination mechanism. The fiber optic switch records the SID of the FC frame received from the communication port and caches it. When the uplink port of the fiber optic switch receives the FC frame, the SID is extracted and matched with the SID in the cache. If the SID already exists in the cache, the FC frame is discarded and the cache is cleared. If the SID does not exist in the cache, the FC frame is routed and forwarded.

5. The method for processing a fiber channel ring network according to claim 1, wherein: The fiber optic switch includes a sending port blocking mechanism. When the optimal path is determined, the fiber optic switch at the receiving end will notify the sending end to stop data propagation on the non-optimal path through the communication handshake mechanism. After receiving the handshake information, the sending end extracts the FC frame SID in the information and updates the corresponding table entry in its hash table. When the same FC frame is received again, it will no longer be forwarded to the non-optimal path, preventing subsequent FC frames with the same source identifier SID from being sent to the non-optimal path.

Citation Information

Patent Citations

  • Shortest path transmission method suitable for FC-AE ring network

    CN113194035A

  • Loop network system

    CN1469595A

  • Message processing in local area network with redundancy path

    CN1937569A

  • System and method for optimizing frame routing in a network

    US7334046B1

  • Communication system, transmitter, and communication method

    WO2022267540A1