CN106789609B - FC-EG gateway, communication conversion method between fiber channel and Ethernet - Google Patents

FC-EG gateway, communication conversion method between fiber channel and Ethernet Download PDF

Info

Publication number
CN106789609B
CN106789609B CN201611218356.8A CN201611218356A CN106789609B CN 106789609 B CN106789609 B CN 106789609B CN 201611218356 A CN201611218356 A CN 201611218356A CN 106789609 B CN106789609 B CN 106789609B
Authority
CN
China
Prior art keywords
ethernet
frame
interface module
gateway
protocol conversion
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
CN201611218356.8A
Other languages
Chinese (zh)
Other versions
CN106789609A (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.)
Technology and Engineering Center for Space Utilization of CAS
Original Assignee
Technology and Engineering Center for Space Utilization of CAS
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 Technology and Engineering Center for Space Utilization of CAS filed Critical Technology and Engineering Center for Space Utilization of CAS
Priority to CN201611218356.8A priority Critical patent/CN106789609B/en
Publication of CN106789609A publication Critical patent/CN106789609A/en
Application granted granted Critical
Publication of CN106789609B publication Critical patent/CN106789609B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention relates to an FC-EG gateway and a communication conversion method between a fiber channel and an Ethernet. The FC-EG gateway comprises: the device comprises an Ethernet general interface module, an FC general interface module and a protocol conversion module. The Ethernet universal interface module is used for packaging and analyzing an Ethernet frame header to realize the conversion between a physical layer and a data link layer; the FC general interface module is used for performing photoelectric and electro-optical conversion, 8B/10B encoding and decoding, and packaging and analyzing a general frame header; and the protocol conversion module is used for converting the IPFC sequence and the IP message. The invention also discloses a method for converting communication between the fiber channel and the Ethernet by using the FC-EG gateway. The heterogeneous network IP fusion communication based on the Ethernet and the fiber channel is realized through the design of the FC-EG gateway, so that IP messages in the common Ethernet can be accessed to the FC network through the FC-EG gateway.

Description

FC-EG gateway, communication conversion method between fiber channel and Ethernet
Technical Field
The invention relates to the technical field of communication, in particular to an FC-EG gateway and a communication conversion method between a fiber channel and an Ethernet.
Background
The fiber channel technology is more and more widely applied to the aerospace field at home and abroad by virtue of the characteristics of high bandwidth, low delay and high reliability. At present, FC-AE releases 5 avionics-oriented protocol standards such as FC-AE-1553, FC-AE-ASM and FC-AE-RDMA, and the FC-AE-1553 and FC-AE-ASM protocols have been widely applied at home and abroad.
The spatial information network is a network system for realizing the spatial information which is acquired, transmitted and processed in real time because the spatial information network takes a spatial platform (a satellite, an airship, an aircraft and the like) as a carrier. Since the FC (fiber channel) can construct a deterministic network with high speed, high reliability, and support real-time deterministic transmission behavior, it is suitable for aerospace command control, data management, load device data transmission, and the like. The space platform generally adopts a highly reliable and strong real-time FC network to perform internal key task control and data communication instead of adopting a common Ethernet. However, due to the flexibility of routing, IP communication technology is increasingly being used across systems, platforms, and even between satellites. In addition, some non-critical data communication inside the space platform also adopts the common Ethernet.
At present, no method for converged communication of an IP network of a fibre channel and an ethernet interface exists. Therefore, it is necessary to provide an IP communication conversion technology between the FC network and the IP network, that is, a convergence technology of heterogeneous networks, which can interconnect the FC network in the satellite-borne platform with the planet through the IP network, efficiently carry the IP packet on the fiber channel, and implement seamless traversal of the IP packet on the ethernet interface and the FC channel, thereby providing diversified network services for users.
Disclosure of Invention
In view of the foregoing analysis, the present invention aims to provide an FC-EG gateway, a fibre channel to ethernet communication conversion method, and an ethernet to fibre channel communication conversion method, so as to solve the problem that there is no IP network convergence communication method for a fibre channel and an ethernet interface in the prior art.
The purpose of the invention is mainly realized by the following technical scheme:
provided is an FC-EG gateway including: the device comprises an Ethernet general interface module, an FC general interface module and a protocol conversion module.
The Ethernet universal interface module is connected to the Ethernet and used for packaging and analyzing the Ethernet frame header to realize the conversion between a physical layer and a data link layer;
the FC general interface module is connected to an FC network and used for performing photoelectric and electro-optical conversion, 8B/10B encoding and decoding, and packaging and analyzing a general frame header;
and the protocol conversion module is connected between the Ethernet general interface module and the FC general interface module and is used for converting an IPFC sequence and an IP message.
The protocol conversion module further comprises an IP segmentation and recombination submodule and an IPFC encapsulation and analysis submodule.
The IP segmentation and recombination submodule is connected between the Ethernet universal interface module and the IPFC encapsulation and analysis submodule and is used for recombining the Ethernet frames transmitted from the Ethernet universal interface module into 1 IP message and segmenting 1 IPFC sequence transmitted from the IPFC encapsulation and analysis submodule;
and the IPFC packaging and analyzing sub-module is connected between the IP segmentation and recombination sub-module and the FC general interface module and is used for punching a network frame header and a link control frame header suitable for FC transmission on an IP message received from the IP segmentation and recombination sub-module, sending the IP message to the FC general interface module, analyzing an IPFC sequence sent from the FC general interface module, disassembling the network frame header and the link control frame header of the IPFC sequence and sending the IPFC sequence to the IP segmentation and recombination sub-module.
Preferably, a mapping table of FC port addresses and IP addresses is loaded statically or dynamically in the FC-EG gateway; and inquiring the destination FC port address according to the destination IP address by calling the mapping table, and packaging the destination FC port address into an FC universal frame header.
Preferably, the FC-EG gateway further includes an ethernet-side FIFO data buffer and an FC-side FIFO data buffer, which are respectively used for buffering ethernet frames and IPFC sequences; the FIFO data buffer at the Ethernet side is connected between the Ethernet universal interface module and the protocol conversion module; the FIFO data buffer at the FC side is connected between the FC general interface module and the protocol conversion module.
Preferably, the maximum buffer frame number of the FIFO data buffer on the ethernet side and the FIFO data buffer on the FC side is not less than 8.
The invention also provides a communication conversion method from the fiber channel to the Ethernet by using the FC-EG gateway, which comprises the following steps:
s1, powering on and resetting an FC-EG gateway;
s2, an FC general interface module of the FC-EG gateway receives FC protocol frames from an FC network, analyzes and removes FC-2 frame headers at an FC-2 layer, and then recombines one or more received FC frames into 1 IPFC sequence and transmits the IPFC sequence to a protocol conversion module;
s3, the protocol conversion module analyzes and removes the network frame header and the link control frame header of the IPFC sequence, restores the network frame header and the link control frame header into an information unit, segments the IP sequence according to the length of the information unit and the size of the maximum transmission unit of the Ethernet link and sends the IP sequence to the Ethernet universal interface module;
and S4, the Ethernet general interface module packs the plurality of IP sections segmented by the IP sequence into Ethernet frame headers and then sends the Ethernet frame headers to the Ethernet.
Preferably, the FC-EG gateway performs parallel processing: after being processed by the FC general interface module, the FC protocol frame is sent to an FIFO data buffer at the FC side for caching; the protocol conversion module reads FC protocol frames from the FC side FIFO data buffer and then processes the FC protocol frames, the processing in the protocol conversion module adopts the pipeline operation, as long as the protocol conversion module finishes the operation of one FC protocol frame, the FC protocol frame is sent to the Ethernet side FIFO data buffer to wait for sending, and the protocol conversion module reads the next frame for processing.
The invention also provides a communication conversion method from Ethernet to a fiber channel by using the FC-EG gateway, which comprises the following steps:
s1, powering on and resetting an FC-EG gateway;
s2, the Ethernet universal interface module receives an Ethernet frame from the Ethernet, analyzes and removes an MAC frame header, and sends the Ethernet frame to a protocol conversion module;
s3, the protocol conversion module recombines the received one or more Ethernet frames into 1 IP message, then maps the IP message into an information unit, performs IPFC encapsulation, punches FC network frame headers and link control frame headers, further maps the IP message into an IP sequence and sends the IP sequence to an FC general interface module;
and S4, the FC universal interface module performs FC universal frame header packing on the IP sequence and sends the IP sequence to the optical fiber channel.
Preferably, the FC-EG gateway includes a caching process: after an Ethernet frame received from the Ethernet is processed by the Ethernet universal interface module, the Ethernet frame is cached by the FIFO data buffer at the Ethernet side, the protocol conversion module reads the Ethernet frame from the FIFO data buffer at the Ethernet side for processing, the processing in the protocol conversion module adopts the pipeline operation, as long as the protocol conversion module finishes the operation of the Ethernet frame, the Ethernet frame is sent to the FIFO data buffer at the FC side to wait for sending, and the protocol conversion module reads the next frame for processing.
The invention has the following beneficial effects:
the scheme designs the FC-EG gateway, realizes heterogeneous network IP fusion communication based on Ethernet and fiber channel, and enables IP messages in the common Ethernet to be accessed into the FC network through the FC-EG, to communicate with FC network nodes through IPFC frames, or to pass through the FC network to communicate with the Ethernet nodes at the other end.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The drawings are only for purposes of illustrating particular embodiments and are not to be construed as limiting the invention, wherein like reference numerals are used to designate like parts throughout.
FIG. 1 is a schematic diagram of an FC-EG gateway;
FIG. 2 is a flow chart of a Fibre Channel (FC) to Ethernet (Eth) communication conversion method;
fig. 3 is a flowchart of a method for converting ethernet (Eth) to Fibre Channel (FC) communication.
Detailed Description
The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which form a part hereof, and which together with the embodiments of the invention serve to explain the principles of the invention.
In one embodiment of the present invention, an FC-EG Gateway (Fiber Channel and Ethernet Gateway) for spatial information network is disclosed, as shown in fig. 1. The FC-EG gateway can be realized based on FPGA, but the protection scope of the invention is not limited to FPGA, and FC-EG gateways capable of realizing the functions of the invention based on other hardware are also within the protection scope of the invention.
The spatial information network includes an FC (fibre channel) network within a spatial platform, an ethernet network within the spatial platform, and an IP network (IPover CCSDS) based on a CCSDS (international space data system counseling committee) spatial communication protocol between the spatial platforms.
The FC network in the space platform is used for controlling key tasks and communicating data in the space platform;
the Ethernet in the space platform is used for non-critical data communication in the space platform;
the IP network based on the CCSDS space communication protocol among the space platforms is used for task control and data communication among the space platforms, and the inter-satellite wireless communication is realized;
the FC network in the space platform, the Ethernet in the space platform and the IP network based on the CCSDS space communication protocol among the space platforms are connected through the FC-EG gateway arranged on the space platform.
The FC-EG gateway specifically comprises the following modules:
the Ethernet general interface module is connected to the Ethernet in the space platform and the Ethernet among the space platforms; the method is used for packaging and analyzing the Ethernet frame header, and realizes the conversion between a physical layer and a data link layer. The ethernet universal interface module further includes an ethernet Media Access Controller (MAC) and a physical interface transceiver (PHY), which may be integrated into the same chip.
The FC general interface module is connected to an FC network in the space platform; the method is used for photoelectric and electro-optical conversion, 8B/10B encoding and decoding, and encapsulation and analysis of the universal frame header. The FC general interface module comprises FC-0-FC-3 layers, wherein the FC-0 layer comprises a transmission medium, a transmitter, a receiver, an optical module and an interface, supports cable or optical cable connection and is used for performing photoelectric and electro-optical conversion and information transmission; the FC-1 layer carries out 8B/10B coding and decoding and can be completed based on a GTX transceiver on an FPGA chip; the FC-2 layer carries out encapsulation and analysis of a universal frame header and segmentation and recombination of an IPFC sequence, and specifies rules and flow control of transmitted data so as to realize flow control from FC cache to cache, and can realize various functional modules of the FC-2 layer based on logic codes developed on FPGA; the FC-3 is used for public service, including login, logout and other operations, and is generally realized by developing embedded software codes by adopting an embedded soft core or a hard core on the FPGA.
And the protocol conversion module is connected between the Ethernet general interface module and the FC general interface module, can be used as an FC-4 layer and is used for converting an IPFC sequence and an IP message, and specifically comprises operations of IP message recombination, IPFC sequence segmentation, IP message encapsulation, IPFC sequence analysis and the like. In order to ensure the efficiency of protocol conversion, logic codes are generally developed on the basis of an FPGA (field programmable gate array) for implementation. The protocol conversion module further comprises the following two sub-modules.
IP segmentation and recombination submodule connected between the Ethernet universal interface module and the IPFC encapsulation and analysis submodule: a plurality of Ethernet frames transmitted from the Ethernet universal interface module are recombined into 1 IP message; and segmenting the 1 IPFC sequence transmitted from the IPFC encapsulation and parsing submodule into a plurality of segments suitable for an Ethernet MTU (Maximum Transmission Unit). This submodule corresponds to the IP layer. A plurality of Ethernet frames transmitted by the Ethernet through the interface module are originated from the Ethernet, and IPFC sequences transmitted by the IPFC encapsulation and analysis sub-module are originated from the FC network.
The IPFC encapsulation and analysis submodule is connected between the IP segmentation and recombination submodule and the FC universal interface module: the IP message received from the IP segmentation and recombination submodule is marked with a network frame header and a link control frame header suitable for FC transmission and sent to an FC general interface module; and analyzing the IPFC sequence received from the FC, solving the network frame header and the link control frame header, and sending to the IP segmentation and recombination sub-module.
By adopting the FC-EG gateway, IP messages sent by a common Ethernet in the Ethernet can be accessed to an FC network; or converting the frame into an IPFC frame to communicate with the FC network node; or a cross-domain FC network, which communicates with a common Ethernet node connected to an FC-EG gateway at the other end.
Preferably, a mapping table of FC port addresses and IP addresses is statically or dynamically loaded in the FC-EG gateway, each FC port corresponds to an IP address, and the IP address can be identified in the general ethernet. The mapping table is stored in a cache (such as a RAM of an FPGA) of the FC-EG gateway, the mapping between the FC PORT address and the IP address in the mapping table may be in the form of < IP _ ADDR, FC _ PORT _ ID > or < FC _ PORT _ ID, IP _ ADDR >, and the destination FC PORT address may be searched according to the destination IP address, for packing into the FC generic frame header at the FC-2 layer. When the IP message crosses the FC network, the IP message can be conveniently converted into an FC protocol frame and an IPFC protocol frame, and can also be converted into the IP message loaded on the Ethernet through the FC-EG gateway. Therefore, the FC-EG gateway can realize cross-network IP communication according to the mapping table.
The FC-EG gateway further comprises an address table lookup module, and the address table lookup module calls an address mapping table in the cache and queries the destination FC port address according to the destination IP address.
Preferably, the FC-EG gateway further comprises an ethernet side FIFO data buffer and an FC side FIFO data buffer. The FIFO data buffer at the Ethernet side is connected between the Ethernet universal interface module and the protocol conversion module; the Ethernet frame processed by the Ethernet universal interface module is sent to an FIFO data buffer at the Ethernet side, and then the protocol conversion module reads the data in the FIFO data buffer at the Ethernet side for further processing; and sending the Ethernet frame processed by the protocol conversion module to an FIFO data buffer at the Ethernet side, and acquiring the data therein by the Ethernet universal interface module for further processing. The FIFO data buffer at the FC side is connected between the FC general interface module and the protocol conversion module; the IPFC sequence processed by the FC general interface module is sent to an FIFO data buffer at the FC side, and then the protocol conversion module reads the data in the FIFO data buffer at the FC side for further processing; and the IPFC sequence processed by the protocol conversion module is sent to an FIFO data buffer at the FC side, and the FC general interface module acquires the data therein for further processing. The frames buffered in the FIFO data buffer on the FC side and the FIFO data buffer on the Ethernet side comprise data frames transmitted from the Ethernet side to the FC side and data frames transmitted from the FC side to the Ethernet side, and the maximum buffer frame number of the two FIFO data buffers is not less than 8.
The second embodiment of the present invention discloses a method for converting Fiber Channel (FC) to ethernet (Eth) communication using the FC-EG gateway (fiber channel and ethernet gateway), as shown in fig. 2, which specifically includes:
and S1, powering on and resetting the FC-EG gateway.
And S2, receiving an FC protocol frame from an FC network interface (interface B in figure 2) by the FC-EG gateway, performing photoelectric conversion on an FC-0 layer, performing 8B/10B decoding on an FC-1 layer, analyzing and removing an FC-2 frame header on an FC-2 layer, recombining one or more received FC frames into 1 IPFC sequence, and transmitting the IPFC sequence to a protocol conversion module after the recombination is completed. This step is realized by the FC general interface module in the FC-EG gateway.
S3, analyzing and removing the network frame header and the link control frame header of the IPFC sequence by a protocol conversion module, and recovering an Information Unit (IU); and segmenting the IP sequence according to the length of the IU and the value of an Ethernet link MTU (maximum transmission Unit), segmenting the IP sequence into a plurality of IP segments suitable for the Ethernet MTU so as to transmit the IP segments on an Ethernet channel, and transmitting the segmented IP segments to an Ethernet universal interface module.
The step is realized by the protocol conversion module in the FC-EG gateway. Specifically, the steps of analyzing and removing the network frame header and the link control frame header of the IPFC sequence are realized by an IPFC encapsulation and analysis sub-module in a protocol conversion module; the step of IP message segmentation is realized by an IP segmentation and recombination submodule in the protocol conversion module.
And S4, the Ethernet general interface module packages a plurality of IP sections segmented by the IP sequence through an MAC layer, and then sends the Ethernet frame header (MAC frame header) to an Ethernet interface, namely the interface A in the figure 2 through PHY. The step is realized by the Ethernet general interface module in the FC-EG gateway.
Preferably, in the method for converting the Fibre Channel (FC) to ethernet (Eth) communication, more than one FC frame is received from the B interface, and the FC-EG gateway is designed to have parallel processing capability. Even if there is a switching service of the IPFC being processed, if the FC frame sent by the FC is received, the response and processing can still be carried out in time. Specifically, after the FC protocol frame received from the B port is processed by the FC general interface module, the FC protocol frame is buffered by the FIFO data buffer on the FC side, and the protocol conversion module reads the FC protocol frame from the FIFO data buffer on the FC side for processing, and after the read frame is processed, it is not necessary to wait for the frame to be completely sent from the a port, and then reads the next frame. Therefore, the protocol conversion module can read and process the frame as long as the protocol conversion module is idle, then send the frame to the FIFO and wait for sending the frame out, and the design can improve the throughput.
A third embodiment of the present invention discloses a method for converting communications from ethernet (Eth) to Fibre Channel (FC) using the FC-EG gateway (fibre channel and ethernet gateway), as shown in fig. 3, which specifically includes:
and S1, powering on and resetting the FC-EG gateway.
And S2, the FC-EG gateway receives the Ethernet frame from the Ethernet interface (the interface A in the figure 3), performs level conversion on the PHY layer, analyzes and removes the MAC frame header on the MAC layer, and sends the Ethernet frame to the protocol conversion module. The step is realized by the Ethernet general interface module in the FC-EG gateway.
S3, the protocol conversion module recombines the received one or more Ethernet frames into 1 IP message, and further maps the IP message into an Information Unit (IU) after the IP message is recombined, wherein the step is realized by an IP segmentation and recombination module in the protocol conversion module in the FC-EG;
then, the information unit is subjected to IPFC packaging, an FC network frame header and a link control frame header are punched, an IP sequence is mapped and sent to an FC general interface module; the part of steps are realized by an IPFC encapsulation and analysis submodule in a protocol conversion module in the FC-EG gateway. And the mapped IP sequence is further delivered to an FC-2 layer of an FC general interface module to carry out FC general frame header packaging.
And S4, performing FC universal frame header packing on the IP sequence at an FC-2 layer, and sending the IP sequence to an optical fiber channel, namely a B interface in the figure after 8B/10B coding of FC-1 and electro-optical conversion of an FC-0 layer. This step is realized by the FC general interface module in the FC-EG gateway. And searching a target FC port address corresponding to the target IP address according to the mapping table in the process of packaging the FC universal frame header by the FC-2 layer, and packaging the FC port address to the FC universal frame header.
Preferably, in the ethernet (Eth) to Fibre Channel (FC) communication conversion method, more than one ethernet frame is generally received from the a interface, and the FC-EG gateway is designed to have a cache processing capability. Even if there is a conversion service of the IPFC being processed, if the Ethernet frame sent by the Ethernet is received, the response and processing can be carried out in time, and the Ethernet frame is ensured not to be lost. Specifically, after the ethernet frame received from the port a is processed by the ethernet universal interface module, the ethernet frame is buffered by the FIFO data buffer on the ethernet side, the protocol conversion module reads an ethernet frame from the FIFO data buffer on the ethernet side for processing, and after the read frame is processed, the protocol conversion module does not necessarily wait for completely transmitting the ethernet frame from the port B, and then reads the next frame. Therefore, the protocol conversion module can read and process the frame as long as the protocol conversion module is idle, then send the frame to the FIFO and wait for sending the frame out, and the design can improve the throughput.
Preferably, in the second and third embodiments, the frames buffered in the FIFO data buffer on the FC side and the FIFO data buffer on the ethernet side both include data frames sent from the ethernet side to the FC side and also data frames sent from the FC side to the ethernet side, and the number of frames that can be buffered in the two FIFO data buffers is generally greater than 8.
The IP network and FC network in the spatial information network are connected and converted in communication through the FC-EG gateway, the method for converting IP packets from FC network to IP network adopts the method for converting FC packets to ETH in the second embodiment, and the method for converting IP packets from IP network to FC network adopts the method for converting ETH packets to FC in the third embodiment.
In summary, embodiments of the present invention provide an FC-EG gateway for a spatial information network, and a method for converting a fibre channel to an ethernet using the FC-EG, and a method for converting an ethernet to a fibre channel, so that an IP packet in a normal ethernet may access an FC network through the FC-EG, and further communicate with an FC network node through an IPFC frame, or communicate with a normal ethernet node connected to the FC-EG gateway at another end through the FC network. The FC-EG gateway is used for heterogeneous network IP convergence communication based on Ethernet and fiber channels, multi-protocol convergence of the FC network is achieved, and seamless support for IP communication is achieved finally.
Those skilled in the art will appreciate that all or part of the flow of the method implementing the above embodiments may be implemented by the relevant hardware instructed by a computer program, which may be stored in a computer-readable storage medium. The computer readable storage medium is a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention.

Claims (5)

1. An FC-EG gateway, comprising: the system comprises an Ethernet universal interface module, an FC universal interface module and a protocol conversion module;
the Ethernet general interface module is connected to the Ethernet and used for packaging and analyzing the Ethernet frame header to realize the conversion between a physical layer and a data link layer;
the FC general interface module is connected to an FC network and used for performing photoelectric and electro-optical conversion, 8B/10B encoding and decoding, and packaging and analyzing a general frame header; the protocol conversion module is connected between the Ethernet general interface module and the FC general interface module and is used for converting an IPFC sequence and an IP message;
the protocol conversion module comprises an IP segmentation and recombination submodule and an IPFC encapsulation and analysis submodule;
the IP segmentation and recombination submodule is connected between the Ethernet universal interface module and the IPFC encapsulation and analysis submodule: a plurality of Ethernet frames transmitted from the Ethernet universal interface module are recombined into 1 IP message; segmenting the 1 IPFC sequence transmitted from the IPFC encapsulation and analysis sub-module into a plurality of segments suitable for the maximum transmission unit of the Ethernet;
the IPFC encapsulation and analysis submodule is connected between the IP segmentation and recombination submodule and the FC universal interface module: the IP message received from the IP segmentation and recombination submodule is marked with a network frame header and a link control frame header suitable for FC transmission and sent to an FC general interface module; analyzing the IPFC sequence received from FC, solving the network frame header and the link control frame header, and sending to the IP segmentation and recombination submodule;
the FC-EG gateway also comprises an FIFO data buffer at the Ethernet side and an FIFO data buffer at the FC side, which are respectively used for buffering Ethernet frames and IPFC sequences; the FIFO data buffer at the Ethernet side is connected between the Ethernet universal interface module and the protocol conversion module; the FIFO data buffer at the FC side is connected between the FC general interface module and the protocol conversion module.
2. The FC-EG gateway of claim 1, wherein a mapping table of FC port addresses to IP addresses is statically or dynamically loaded in the FC-EG gateway; and inquiring the destination FC port address according to the destination IP address by calling the mapping table, and packaging the destination FC port address into an FC universal frame header.
3. The FC-EG gateway of claim 1, wherein the maximum buffer frame number of the FIFO data buffer on the ethernet side and the FIFO data buffer on the FC side is not less than 8.
4. A method for converting fibre channel to ethernet communications using the FC-EG gateway of any of claims 1 to 3, comprising the steps of:
s1, powering on and resetting an FC-EG gateway;
s2, an FC general interface module of the FC-EG gateway receives FC protocol frames from an FC network, analyzes and removes FC-2 frame headers at an FC-2 layer, and then recombines one or more received FC frames into 1 IPFC sequence and transmits the IPFC sequence to a protocol conversion module;
s3, the protocol conversion module analyzes and removes the network frame header and the link control frame header of the IPFC sequence, restores the network frame header and the link control frame header into an information unit, segments the IP sequence according to the length of the information unit and the size of the maximum transmission unit of the Ethernet link and sends the IP sequence to the Ethernet universal interface module;
s4, the Ethernet general interface module packs a plurality of IP sections segmented by the IP sequence into Ethernet frame headers and then sends the Ethernet frame headers to the Ethernet;
and the FC-EG gateway performs parallel processing: after being processed by the FC general interface module, the FC protocol frame is sent to an FIFO data buffer at the FC side for caching; the protocol conversion module reads FC protocol frames from the FC side FIFO data buffer and then processes the FC protocol frames, the processing in the protocol conversion module adopts the pipeline operation, as long as the protocol conversion module finishes the operation of one FC protocol frame, the FC protocol frame is sent to the Ethernet side FIFO data buffer to wait for sending, and the protocol conversion module reads the next frame for processing.
5. A method for converting ethernet to fibre channel communications using the FC-EG gateway of any of claims 1 to 3, comprising the steps of:
s1, powering on and resetting an FC-EG gateway;
s2, the Ethernet universal interface module receives an Ethernet frame from the Ethernet, analyzes and removes an MAC frame header, and sends the Ethernet frame to a protocol conversion module;
s3, the protocol conversion module recombines the received one or more Ethernet frames into 1 IP message, then maps the IP message into an information unit, performs IPFC encapsulation, punches FC network frame headers and link control frame headers, further maps the IP message into an IP sequence and sends the IP sequence to an FC general interface module;
s4, the FC universal interface module performs FC universal frame header packing on the IP sequence and sends the IP sequence to an optical fiber channel;
the FC-EG gateway comprises a cache process: after an Ethernet frame received from the Ethernet is processed by the Ethernet universal interface module, the Ethernet frame is cached by the FIFO data buffer at the Ethernet side, the protocol conversion module reads the Ethernet frame from the FIFO data buffer at the Ethernet side for processing, the processing in the protocol conversion module adopts the pipeline operation, as long as the protocol conversion module finishes the operation of the Ethernet frame, the Ethernet frame is sent to the FIFO data buffer at the FC side to wait for sending, and the protocol conversion module reads the next frame for processing.
CN201611218356.8A 2016-12-26 2016-12-26 FC-EG gateway, communication conversion method between fiber channel and Ethernet Active CN106789609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611218356.8A CN106789609B (en) 2016-12-26 2016-12-26 FC-EG gateway, communication conversion method between fiber channel and Ethernet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611218356.8A CN106789609B (en) 2016-12-26 2016-12-26 FC-EG gateway, communication conversion method between fiber channel and Ethernet

Publications (2)

Publication Number Publication Date
CN106789609A CN106789609A (en) 2017-05-31
CN106789609B true CN106789609B (en) 2019-12-27

Family

ID=58925996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611218356.8A Active CN106789609B (en) 2016-12-26 2016-12-26 FC-EG gateway, communication conversion method between fiber channel and Ethernet

Country Status (1)

Country Link
CN (1) CN106789609B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108134782A (en) * 2017-12-15 2018-06-08 天津津航计算技术研究所 A kind of method based on 10,000,000,000 network transmission high-bandwidth video of FCoE protocol realizations
CN110212983B (en) * 2018-02-28 2022-03-08 中航光电科技股份有限公司 Conversion method and device of FC (fiber channel) signal and Ethernet signal
CN109905321B (en) * 2019-02-13 2021-01-05 西安微电子技术研究所 Routing control system for interaction between user-defined high-speed interface and Ethernet
CN112486877B (en) * 2020-11-05 2024-05-28 中国航空工业集团公司西安航空计算技术研究所 Outfield guarantee and test platform of generalized FC conversion interface module
CN112486422B (en) * 2020-12-24 2021-10-15 成都成电光信科技股份有限公司 FC network data monitoring system based on disk array and storage method
CN113542941A (en) * 2021-07-23 2021-10-22 电子科技大学长三角研究院(湖州) Optical fiber channel and Ethernet networking method based on network on chip
CN113612955A (en) * 2021-08-09 2021-11-05 北京数码视讯技术有限公司 Multi-interface conversion device
CN114143295B (en) * 2021-10-14 2024-06-07 北京国科天迅科技股份有限公司 Transmission switch, FC-AE device and Ethernet device communication method
CN114338831A (en) * 2021-12-02 2022-04-12 中国科学院空间应用工程与技术中心 Gateway communication method, communication equipment and storage medium
CN114697405A (en) * 2022-03-15 2022-07-01 北京旋极信息技术股份有限公司 Control method, device and conversion system for communication protocol conversion
CN115396261A (en) * 2022-07-18 2022-11-25 北京空间飞行器总体设计部 World protocol conversion gateway supporting instant use
CN115086455B (en) * 2022-07-20 2023-01-13 北京国科天迅科技有限公司 IPFC communication node, system and method
CN115484127A (en) * 2022-09-27 2022-12-16 成都成电光信科技股份有限公司 FC and Ethernet hybrid switching device and method based on system on chip

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7830793B2 (en) * 2004-10-22 2010-11-09 Cisco Technology, Inc. Network device architecture for consolidating input/output and reducing latency
CN104378161B (en) * 2014-10-22 2017-03-01 华中科技大学 A kind of FCoE agreement accelerating engine IP kernel based on AXI4 bus architecture

Also Published As

Publication number Publication date
CN106789609A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106789609B (en) FC-EG gateway, communication conversion method between fiber channel and Ethernet
CN109194660B (en) Network access method and device of mobile terminal
JP2021100271A (en) Packet processing method and device
US8369347B2 (en) Fiber channel over Ethernet and fiber channel switching based on Ethernet switch fabrics
US9225656B2 (en) Quality of service in a heterogeneous network
US9461912B2 (en) Load distribution architecture for processing tunnelled internet protocol traffic
CN105791214B (en) Method and equipment for converting RapidIO message and Ethernet message
US10812292B2 (en) Packet processing method and device
CN101848168B (en) Target MAC (Media Access Control) address based flow control method, system and equipment
CN101304302A (en) Method and system for transmitting video data
CN102932461A (en) Network acceleration transmission method and device
CN107707476A (en) Efficient wireless relay device and method based on FPGA
CN105052106A (en) Methods and systems for receiving and transmitting internet protocol (ip) data packets
JP5672836B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
CN102238164B (en) Internet protocol (IP) telecommunication network-oriented multi-protocol message adaptation method
US7697566B2 (en) Method and apparatus for enabling transport of ethernet data over a serial digital interface transport service
CN109951458B (en) RapidIO/FC protocol conversion system and method applied to simulation ICP environment
US10050880B2 (en) Multi-link aggregation method and device
CN105072057A (en) Intermediate switch equipment for network data transmission, and network communication system
CN112637705B (en) Method and device for forwarding in-band remote measurement message
CN115065982A (en) Method and system for improving 5G service transmission rate based on satellite link
CN109873763A (en) A kind of communication means and equipment
CN1293726C (en) Method for implementing quick transmission of bridge data on network link
RU2768799C1 (en) Telecommunication hardware and software complex and method for ensuring seamless integration of communication networks via an ip network (variants)
CN117081640B (en) Multi-protocol star warship-ground integrated gateway design method based on frame header compression

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant