CN115086455B - IPFC communication node, system and method - Google Patents

IPFC communication node, system and method Download PDF

Info

Publication number
CN115086455B
CN115086455B CN202210851148.0A CN202210851148A CN115086455B CN 115086455 B CN115086455 B CN 115086455B CN 202210851148 A CN202210851148 A CN 202210851148A CN 115086455 B CN115086455 B CN 115086455B
Authority
CN
China
Prior art keywords
ipfc
data
firmware
target
transmitting
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
CN202210851148.0A
Other languages
Chinese (zh)
Other versions
CN115086455A (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.)
Beijing Tasson Science and Technology Co Ltd
Original Assignee
Beijing Tasson Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Tasson Science and Technology Co Ltd filed Critical Beijing Tasson Science and Technology Co Ltd
Priority to CN202210851148.0A priority Critical patent/CN115086455B/en
Publication of CN115086455A publication Critical patent/CN115086455A/en
Application granted granted Critical
Publication of CN115086455B publication Critical patent/CN115086455B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)

Abstract

The invention provides an IPFC communication node, a system and a method, wherein the method comprises the following steps: transmitting target sending data to a data link layer of a network protocol stack through network equipment, and transmitting the target sending data to first IPFC firmware through a hardware driving module of the data link layer; carrying out IPFC communication through the first IPFC firmware and sending target sending data to a second IPFC firmware of the adjacent node; carrying out IPFC communication through the first IPFC firmware to receive target receiving data sent by the second IPFC firmware of the adjacent node; and transmitting the target receiving data to a data link layer of a network protocol stack through the first IPFC firmware, and transmitting the target receiving data to the network equipment through a hardware driving module of the data link layer. IPFC communication is accomplished through a hardware driver installed at the data link layer of the network protocol stack without requiring changes to the network program on the network device in the communication node.

Description

IPFC communication node, system and method
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an IPFC communication node, system, and method.
Background
With the increasing popularization of the FC technology, the original system transformation gradually occurs in the engineering development process, and the system can be seamlessly accessed to the FC optical fiber network under the condition of keeping the original network program unchanged.
Therefore, it is a problem to be solved urgently to implement IPFC communication while keeping the original network program unchanged.
Disclosure of Invention
The invention provides an IPFC communication node, a system and a method, which are used for solving the defect that IPFC communication is realized without keeping the original network program unchanged in the prior art and realizing IPFC communication under the condition of keeping the original network program unchanged.
The invention provides an IPFC communication node, comprising:
the network device, the network protocol stack and the first IPFC firmware;
the network equipment is used for transmitting target sending data to a data link layer of the network protocol stack;
the data link layer of the network protocol stack includes a hardware driver module for transmitting the target transmit data to the first IPFC firmware via the data link layer;
the first IPFC firmware is used for sending the target sending data to second IPFC firmware of an adjacent node through IPFC communication, and receiving target receiving data sent by the second IPFC firmware of the adjacent node through IPFC communication;
the hardware driver module is further configured to transmit the target receive data to the data link layer via the first IPFC firmware;
the network device is further configured to receive the target receive data transmitted by the data link layer of the network protocol stack.
According to the IPFC communication node provided by the invention, the hardware driving module comprises an interrupt control unit and a Direct Memory Access (DMA) control unit;
the interrupt control unit is used for receiving a first MSI interrupt request sent by the first IPFC firmware and sending a first DMA operation instruction to the DMA control unit according to the first MSI interrupt request;
the DMA control unit is used for executing a first DMA operation according to the first DMA operation instruction and transmitting the target sending data to the first IPFC firmware through the data link layer;
the interrupt control unit is further configured to receive a second MSI interrupt request sent by the first IPFC firmware, and send a second DMA operation instruction to the DMA control unit according to the second MSI interrupt request;
the DMA control unit is further configured to execute a second DMA operation according to the second DMA operation instruction, and transmit the target received data to the data link layer via the first IPFC firmware.
According to the IPFC communication node provided by the invention, a data sending buffer area, a data receiving buffer area and a state monitoring unit are arranged in the hardware driving module;
the data transmission buffer is configured to receive target transmission data transmitted by the data link layer of the network protocol stack, and transmit the target transmission data to the first IPFC firmware when the first DMA operation is executed;
the data receiving buffer is used for receiving the target receiving data transmitted by the first IPFC firmware and transmitting the target receiving data to the data link layer when the second DMA operation is executed;
the interrupt control unit is further configured to receive a third MSI interrupt request sent by the first IPFC firmware, and send a monitoring instruction to the state monitoring unit according to the third MSI interrupt request;
and the state monitoring unit is used for monitoring communication state information according to the monitoring instruction, and transmitting the abnormal communication state information to the network protocol stack when the communication state information is abnormal.
The invention also provides an IPFC communication system, which comprises at least one IPFC communication node and at least one adjacent node adjacent to the IPFC communication node.
The invention also provides an IPFC communication method used for the IPFC communication system, which comprises the following steps:
transmitting target sending data to a data link layer of a network protocol stack through network equipment, and transmitting the target sending data to first IPFC firmware through a hardware driving module of the data link layer;
carrying out IPFC communication through the first IPFC firmware and sending the target sending data to a second IPFC firmware of an adjacent node;
carrying out IPFC communication through the first IPFC firmware to receive target receiving data sent by the second IPFC firmware of the adjacent node;
transmitting, by the first IPFC firmware, the target receive data to the data link layer of the network protocol stack, the target receive data to the network device via the hardware driver module of the data link layer.
According to the IPFC communication method provided by the invention, the hardware driving module comprises an interrupt control unit and a Direct Memory Access (DMA) control unit;
the step of transmitting the target sending data to a data link layer of a network protocol stack through the network device, and transmitting the target sending data to the first IPFC firmware via a hardware driving module of the data link layer includes:
transmitting, by the network device, the target send data to the hardware driver module via the data link layer of the network protocol stack;
receiving a first MSI interruption request sent by the first IPFC firmware through the interruption control unit, and sending a first DMA operation instruction to the DMA control unit according to the first MSI interruption request;
and executing a first DMA operation according to the first DMA operation instruction through the DMA control unit, and transmitting the target sending data in the hardware driving module to the first IPFC firmware.
According to the IPFC communication method provided by the invention, a data sending buffer area is arranged in the hardware driving module;
the step of transmitting, by the network device, the target transmission data to the hardware driver module via the data link layer of the network protocol stack includes:
transmitting, by the network device, the target transmit data to the data transmit buffer via a data link layer of the network protocol stack.
According to an IPFC communication method provided by the present invention, the step of transmitting the target sending data in the hardware driver module to the first IPFC firmware includes:
transmitting the target send data in the data send buffer to the first IPFC firmware;
the step of transmitting, by the first IPFC firmware, the target receive data to the data link layer of the network protocol stack, the target receive data to the network device via the hardware driver module of the data link layer, includes:
receiving, by the interrupt control unit, a second MSI interrupt request sent by the first IPFC firmware, and sending a second DMA operation instruction to the DMA control unit according to the second MSI interrupt request;
executing a second DMA operation according to the second DMA operation instruction through the DMA control unit, and transmitting the target receiving data in the first IPFC firmware to the hardware driving module;
transmitting, by the hardware driver module, the target receive data to the network device via the data link layer of the network protocol stack.
According to the IPFC communication method provided by the invention, a data receiving buffer area is arranged in the hardware driving module;
the step of transmitting the target receive data in the first IPFC firmware to the hardware driver module includes:
transmitting the target receive data in the first IPFC firmware to the data receive buffer;
the step of transmitting the target receiving data to the network device via the network protocol stack by the hardware driver module includes:
transmitting the target reception data to the network device via a data link layer of the network protocol stack through the data reception buffer.
According to the IPFC communication method provided by the present invention, the hardware driving module further includes a status monitoring unit, and the method further includes:
receiving, by the interrupt control unit, a third MSI interrupt request sent by the first IPFC firmware, and sending a monitoring instruction to the state monitoring unit according to the third MSI interrupt request;
and monitoring communication state information through the state monitoring unit, and transmitting the abnormal communication state information to the network protocol stack when the communication state information is abnormal.
The IPFC communication node, the system and the method provided by the invention transmit target sending data to a data link layer of a network protocol stack through network equipment, and transmit the target sending data to a first IPFC firmware through a hardware driving module of the data link layer; carrying out IPFC communication through the first IPFC firmware and sending target sending data to a second IPFC firmware of the adjacent node; carrying out IPFC communication through the first IPFC firmware to receive target receiving data sent by the second IPFC firmware of the adjacent node; and transmitting the target receiving data to a data link layer of a network protocol stack through the first IPFC firmware, and transmitting the target receiving data to the network equipment through a hardware driving module of the data link layer.
The method comprises the steps that target sending data of network equipment in a communication node are sent to second IPFC firmware of an adjacent node through a hardware driving module and first IPFC firmware by a hardware driver installed on a data link layer of a network protocol stack, target receiving data transmitted by the second IPFC firmware are transmitted to the network equipment through the first IPFC firmware and a hardware driving module, and therefore IPFC communication is completed under the condition that a network program on the network equipment in the communication node is not required to be changed.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an IPFC communication node according to the present invention;
FIG. 2 is a diagram of the interface call relationship among the network protocol layer, the Mux adaptation layer and the IPFC-END hardware driver module provided by the present invention;
fig. 3 is a second schematic structural diagram of an IPFC communication node according to the present invention;
FIG. 4 is a schematic structural diagram of an IPFC communication system provided by the present invention;
fig. 5 is a schematic flow chart of an IPFC communication method provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. 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.
FC: fibre Channel is a high-speed serial interface, supports many upper layer protocols, including: minimum computer system interface (SCSI), IPv6, and IPv4 interfaces.
IPFC: the IP over Fibre Channel, defined by the RFC-2625 standard, encapsulates IPv4 and ARP packets for network data transfer between FC devices.
With the increasing popularization of the FC technology, the original system transformation gradually occurs in the engineering development process, and the system can be seamlessly accessed to the FC optical fiber network under the condition of keeping the original network program unchanged.
Therefore, it is a problem to be solved urgently to implement IPFC communication while keeping the original network program unchanged.
The invention provides an IPFC communication node, comprising: the network equipment, the network protocol stack and the first IPFC firmware;
the network equipment is used for transmitting the target sending data to a data link layer of a network protocol stack;
the data link layer of the network protocol stack comprises a hardware driving module, and the hardware driving module is used for transmitting target sending data to the first IPFC firmware through the data link layer;
the first IPFC firmware is used for sending target sending data to second IPFC firmware of the adjacent node through IPFC communication, and receiving target receiving data sent by the second IPFC firmware of the adjacent node through IPFC communication;
the hardware driving module is also used for transmitting the target receiving data to the data link layer through the first IPFC firmware;
the network device is further configured to receive target receive data transmitted by a data link layer of the network protocol stack.
Specifically, as shown in fig. 1, the a node is an IPFC communication node, and includes a network device, a network protocol stack, and a first IPFC firmware. The node B is a neighbor node adjacent to the node a.
The Network protocol Stack is a Network protocol Stack SENS (Scalable Enhanced Network Stack) based on a Vxworks operating system and is realized based on a 4.4 BSD TCP/IP Network protocol Stack, and the SENS protocol Stack can be divided into a Socket interface layer, a Network protocol layer, a Mux adaptation layer and a data link layer from top to bottom.
1) Socket interface layer: the method provides a standard socket programming api interface for application software, and the common function interface comprises the following steps: socket, bind, accpet, listen, connect, send, recv, and the like. The application program can realize network communication by calling a socket-api interface;
2) A network protocol layer: the network protocols such as TCP/IP, UDP, ARP and the like are realized, and the work such as maintaining and managing the network MAC address of the node is carried out;
3) Mux adaptation layer: the special layer of the SENS protocol stack of the Vxworks system is used as an intermediate layer for adaptation and isolation between a network protocol layer and a data link layer, namely the network protocol layer sends downlink data to the data link layer through a Mux adaptation layer, and the data link layer reports uplink data to the network protocol layer through the Mux adaptation layer. The Mux adaptation layer isolates a network protocol layer and a data link layer;
4) A data link layer: the IPFC-END driver is a hardware driver module and is realized on the layer;
5) IPFC-END: and the IPFC network equipment hardware driving module, namely the hardware driving module, is realized based on a Vxbus architecture, internally completes the IPFC hardware driving function, and sends the downlink network data packet received from the Mux adaptation layer to IPFC firmware equipment through a PCIe bus. Sending an uplink network data packet received from IPFC firmware equipment to a network protocol layer through a Mux adaptation layer, and processing the uplink network data packet by the network protocol layer;
IPFC-END drive is designed based on a Vxbus bus drive model provided by a Vxworks operating system, and the version of the system is supported to be Vxworks 6.2 or more.
The first IPFC firmware is mounted on a PCIe bus, IPFC communication is carried out through the PCIe bus and second IPFC firmware of an adjacent node, an IPFC-END driver adopts a probe mode of a PCIe device driver to carry out matching between the driver and the device, and an MATCH matching character is designed as follows:
VendorID:0x10EE; deviceID:0x7086; version VXB: VXB _ VER _4_0 \, or VXB _ VER _3_0 \.
As shown in table 1, table 1 is an interface design table of the IPFC-END hardware driver module;
watch (A)
Figure 779701DEST_PATH_IMAGE001
IPFC-END hardware drive module interface design table
Figure 539846DEST_PATH_IMAGE002
Based on SENS protocol stack architecture design, the network protocol layer and the Mux adaptation layer interface are integrated and used without additional development, and the interface calling relationship diagram among the network protocol layer, the Mux adaptation layer and the IPFC-END hardware driving module is shown in FIG. 2;
the hardware driving module and the network equipment can be loaded in the following way:
A. when the system is started, the Vxworks system creates a tUsrroot task, the task initializes a network task work queue, and a tNetTask task is created in a netLibInit function to process the tasks in the network task queue.
B. And the tNetTask task invokes a muxDevLoad function to load a hardware driving module, and defines and completes the endLoad access point mounting work of the network equipment in the tNetTask.
C. And the muxDevLoad function executes an endLoad function, the endLoad function executes the initialization of the network equipment and returns the END _ OBJ structure handle of the network equipment.
D. And the Mux adaptation layer assigns the END _ OBJ structure handle to a functional function pointer which can finish sending data to the Mux adaptation layer. And then the Mux adaptation layer adds the returned END _ OBJ structure body handle to an END _ OBJ structure body linked list of the system, wherein the END _ OBJ structure body linked list comprises all available network equipment structure body handles in the current system.
And E, returning the MuxDevLoad function, and enabling the network equipment to enter an available state.
6) First IPFC firmware: the method is integrated on a hardware PCB board card, and the IPFC firmware encapsulates TCP/IP, UDP and ARP data packets sent by IPFC-END based on [ RFC-2625] protocol, and is responsible for protocol mapping and management between IP and FC, and comprises the following steps: the MAC address is mapped with the FC address.
In the embodiment of the invention, the purpose of sending the target sending data of the network equipment in the communication node to the second IPFC firmware of the adjacent node through the hardware driving module and the first IPFC firmware is realized through the hardware driver installed on the data link layer of the network protocol stack, and the purpose of receiving data transmitted by the second IPFC firmware is transmitted to the network equipment through the first IPFC firmware and the hardware driving module, so that the IPFC communication is completed without changing the network program on the network equipment in the communication node.
According to the IPFC communication node provided by the invention, a hardware driving module comprises an interrupt control unit and a Direct Memory Access (DMA) control unit;
the interrupt control unit is used for receiving a first MSI interrupt request sent by the first IPFC firmware and sending a first DMA operation instruction to the DMA control unit according to the first MSI interrupt request;
and the DMA control unit is used for executing a first DMA operation according to the first DMA operation instruction sent by the interrupt control unit and transmitting the target sending data to the first IPFC firmware through the data link layer.
Specifically, in one example, an interrupt control unit is built in the IPFC-END hardware driver module, the interrupt control unit may discriminate a first MSI interrupt request whose interrupt type is a DMA operation type interrupt, and when the first MSI interrupt request sent by the first IPFC firmware is received, the interrupt control unit performs operations such as interrupt closing, enable interrupt, open interrupt and the like based on the multi-core system interrupt protection function interface, and sends a first DMA operation instruction to the DMA control unit. And the DMA control unit executes a first DMA operation according to the first DMA operation instruction, and transmits the target sending data to the first IPFC firmware through the data link layer.
In the embodiment of the invention, the interruption control unit and the DMA control unit in the hardware driving module are used for sending the target sending data to the first IPFC firmware through the data link layer after the first IPFC firmware sends the first MSI interruption request with the interruption type of DMA operation, so that simple, convenient and efficient data transmission is realized.
According to the IPFC communication node provided by the invention, a data sending buffer area is arranged in a hardware driving module;
and the data sending buffer is used for receiving target sending data transmitted by a data link layer of the network protocol stack and transmitting the target sending data to the first IPFC firmware when the first DMA operation is executed.
In the embodiment of the invention, the hardware driving module is provided with the data sending buffer area, the target sending data can be temporarily stored in the data sending buffer area, and the target sending data in the data sending buffer area is sent to the first IPFC firmware when the first DMA operation is executed, so that simple, convenient and efficient data transmission is realized.
According to the IPFC communication node provided by the invention, the interrupt control unit is also used for receiving a second MSI interrupt request sent by the first IPFC firmware and sending a second DMA operation instruction to the DMA control unit according to the second MSI interrupt request;
and the DMA control unit is also used for executing second DMA operation according to the second DMA operation instruction and transmitting the target receiving data to the data link layer through the first IPFC firmware.
Specifically, in an example, an interrupt control unit built in the IPFC-END hardware driver module may discriminate a second MSI interrupt request whose interrupt type is a DMA operation type interrupt, and when the second MSI interrupt request sent by the first IPFC firmware is received, the interrupt control unit performs operations such as interrupt closing, enable interrupt, open interrupt and the like based on the multi-core system interrupt protection function interface, and sends a second DMA operation instruction to the DMA control unit. And the DMA control unit executes a second DMA operation according to the second DMA operation instruction, and transmits the target receiving data to the data link layer through the first IPFC firmware.
In the embodiment of the invention, the interruption control unit and the DMA control unit in the hardware driving module are used for sending the target receiving and sending data to the first IPFC firmware through the data link layer after the first IPFC firmware sends the second MSI interruption request with the interruption type being DMA operation type interruption, so that simple, convenient and efficient data transmission is realized.
According to the IPFC communication node provided by the invention, a data receiving buffer area is arranged in a hardware driving module;
and the data receiving buffer is used for receiving the target receiving data transmitted by the first IPFC firmware and transmitting the target receiving data to the data link layer when the second DMA operation is executed.
In the embodiment of the invention, the hardware driving module is provided with the data receiving buffer area, so that the target receiving data can be temporarily stored in the data receiving buffer area when the second DMA operation is executed, and then the target receiving data is sent to the data link layer, thereby realizing simple, convenient and efficient data transmission.
According to the IPFC communication node provided by the invention, the hardware driving module also comprises a state monitoring unit;
the interrupt control unit is also used for receiving a third MSI interrupt request sent by the first IPFC firmware and sending a monitoring instruction to the state monitoring unit according to the third MSI interrupt request;
and the state monitoring unit is used for monitoring the communication state information according to the monitoring instruction, and transmitting the abnormal communication state information to the network protocol stack when the communication state information is abnormal.
Specifically, in an example, an interrupt control unit built in the IPFC-END hardware driver module may discriminate that the interrupt type is a third MSI interrupt request of a state change type interrupt, and after receiving the third MSI interrupt request sent by the first IPFC firmware, the interrupt control unit performs operations such as state query and related processing based on the multi-core system interrupt protection function interface, and sends a monitoring instruction to the state monitoring unit. The state monitoring unit monitors communication state information according to the monitoring instruction, and transmits the abnormal communication state information to the network protocol stack when the communication state information is abnormal, wherein the communication state information comprises but is not limited to one or more of the following: the first IPFC firmware running state (normal and abnormal), the state of a link between the first IPFC and a second IPFC (link and abnormal), whether a network error exists (no and abnormal), and whether network reconnection occurs (no and abnormal). And when the communication information state is abnormal, sending the abnormal communication state information to a Mux adaptation layer of the SENS network protocol stack.
In one example, as shown in fig. 3, the Mux adaptation layer transmits target transmission data to a data transmission buffer in the hardware driver module through function call, the first IPFC firmware transmits a first MSI interrupt request to the interrupt control unit, the interrupt control unit transmits a first DMA operation instruction to the DMA control unit according to the first MSI interrupt request, and the DMA control unit transmits the target transmission data in the data transmission buffer to the first firmware IPFC according to the first DMA operation instruction; the first IPFC firmware sends target sending data to second IPFC firmware of the adjacent node; after receiving target receiving data sent by second IPFC firmware of an adjacent node, first IPFC firmware sends a second MSI interruption request to an interruption control unit, the interruption control unit sends a second DMA operation instruction to a DMA control unit according to the second MSI interruption request, and the DMA control unit transmits the target receiving data in the first IPFC to a data receiving buffer area according to the second DMA operation instruction and transmits the target receiving data to a Mux adaptation layer through function calling; the first IPFC firmware can send a third MSI interruption request to the interruption control unit, the interruption control unit sends a monitoring instruction to the state monitoring unit according to the third MSI interruption request, the state monitoring unit monitors communication state information according to the monitoring instruction, and when the communication state information is abnormal, the abnormal communication state information is transmitted to the Mux adaptation layer.
In the embodiment of the invention, the hardware driving module further comprises a state monitoring unit, the interrupt control unit receives a third MSI interrupt request sent by the first IPFC firmware and then sends a monitoring instruction to the state monitoring unit according to the third MSI interrupt request, and the state monitoring unit transmits abnormal state information to the network protocol stack according to the state information monitored by the monitoring instruction when the state information is abnormal. The detection of the communication state information is realized, and the controllability of the stability of the communication node is improved.
The IPFC communication system and method provided by the present invention are described below, and the IPFC communication system and method described below and the IPFC communication node described above may be referred to correspondingly.
The present invention further provides an IPFC communication system, as shown in fig. 4, including at least one IPFC communication node according to any one of the above embodiments and at least one neighboring node adjacent to the IPFC communication node.
In the embodiment of the invention, the IPFC communication system comprises at least one IPFC communication node and a neighboring node adjacent to the IPFC communication node, and IPFC communication between the IPFC communication node and the neighboring node is realized.
The present invention further provides an IPFC communication method, which is used in the IPFC communication system, and as shown in fig. 5, the method includes:
s51, transmitting target sending data to a data link layer of a network protocol stack through network equipment, and transmitting the target sending data to first IPFC firmware through a hardware driving module of the data link layer.
And S52, carrying out IPFC communication through the first IPFC firmware and sending the target sending data to a second IPFC firmware of an adjacent node.
And S53, carrying out IPFC communication through the first IPFC firmware to receive target receiving data sent by the second IPFC firmware of the adjacent node.
And S54, transmitting the target receiving data to the data link layer of the network protocol stack through the first IPFC firmware, and transmitting the target receiving data to the network equipment through the hardware driving module of the data link layer.
In the embodiment of the invention, the network equipment transmits the target sending data to the first IPFC firmware through the hardware driving module in the data link layer of the network protocol stack, the first IPFC firmware transmits the target sending data to the second IPFC firmware of the adjacent node and receives the target receiving data transmitted by the second IPFC firmware, and the first IPFC transmits the target receiving data to the network equipment through the hardware driving module in the data link layer of the network protocol stack. IPFC communication is accomplished through a hardware driver installed at the data link layer of the network protocol stack without requiring changes to the network program on the network device in the communication node.
According to the IPFC communication method provided by the invention, the hardware driving module comprises an interrupt control unit and a Direct Memory Access (DMA) control unit;
step S51 includes:
s511, transmitting the target sending data to the hardware driver module through the data link layer of the network protocol stack by the network device.
S512, receiving a first MSI interrupt request sent by the first IPFC firmware through the interrupt control unit, and sending a first DMA operation instruction to the DMA control unit according to the first MSI interrupt request.
S513, executing a first DMA operation according to the first DMA operation instruction by the DMA control unit, and transmitting the target sending data in the hardware driving module to the first IPFC firmware.
In the embodiment of the invention, the interruption control unit and the DMA control unit in the hardware driving module are used for sending the target sending data to the first IPFC firmware through the data link layer after the first IPFC firmware sends the first MSI interruption request with the interruption type of DMA operation, so that simple, convenient and efficient data transmission is realized.
According to the IPFC communication method provided by the invention, a data sending buffer area is arranged in the hardware driving module;
step S511 specifically includes:
transmitting, by the network device, the target transmit data to the data transmit buffer via a data link layer of the network protocol stack.
In the embodiment of the invention, the hardware driving module is provided with the data sending buffer area, so that the target sending data can be temporarily stored in the data sending buffer area, and simple, convenient and efficient data transmission is realized.
According to the IPFC communication method provided by the present invention, the step of transmitting the target sending data in the hardware driver module to the first IPFC firmware specifically includes:
transmitting the target send data in the data send buffer to the first IPFC firmware.
In the embodiment of the invention, the target sending data of the data sending buffer area is sent to the first IPFC firmware when the first DMA operation is executed, so that simple, convenient and efficient data transmission is realized.
According to the IPFC communication method provided by the present invention, step S54 includes:
s541, receiving, by the interrupt control unit, a second MSI interrupt request sent by the first IPFC firmware, and sending a second DMA operation instruction to the DMA control unit according to the second MSI interrupt request.
And S542, executing a second DMA operation according to the second DMA operation instruction through the DMA control unit, and transmitting the target receiving data in the first IPFC firmware to the hardware driving module.
S543, transmitting the target receiving data to the network device through the data link layer of the network protocol stack by the hardware driver module.
In the embodiment of the invention, after the first IPFC firmware sends the second MSI interrupt request with the DMA operation type interrupt, the target receiving and sending data is sent to the first IPFC firmware through the data link layer by the interrupt control unit and the DMA control unit in the hardware driving module, so that simple, convenient and efficient data transmission is realized.
According to the IPFC communication method provided by the invention, a data receiving buffer area is arranged in the hardware driving module;
the step of transmitting the target receiving data in the first IPFC firmware to the hardware driver module specifically includes:
transmitting the target receive data in the first IPFC firmware to the data receive buffer.
In the embodiment of the invention, the hardware driving module is provided with the data receiving buffer area, so that the target receiving data can be temporarily stored in the data receiving buffer area when the second DMA operation is executed, and simple, convenient and efficient data transmission is realized.
According to the IPFC communication method provided by the present invention, step S543 specifically is:
transmitting the target receive data to the network device via a data link layer of the network protocol stack through the data receive buffer.
In the embodiment of the invention, the target receiving data is temporarily stored in the data receiving buffer area and then is sent to the data link layer, so that simple, convenient and efficient data transmission is realized.
According to the IPFC communication method provided by the present invention, the hardware driving module further comprises a status monitoring unit, and the method further comprises:
and S55, receiving a third MSI interrupt request sent by the first IPFC firmware through the interrupt control unit, and sending a monitoring instruction to the state monitoring unit according to the third MSI interrupt request.
And S56, monitoring communication state information through the state monitoring unit, and transmitting the abnormal communication state information to the network protocol stack when the communication state information is abnormal.
In this embodiment of the present invention, the hardware driving module further includes a state monitoring unit, the interrupt control unit sends a monitoring instruction to the state monitoring unit according to the third MSI interrupt request after receiving the third MSI interrupt request sent by the first IPFC firmware, and the state monitoring unit transmits abnormal state information to the network protocol stack according to the state information monitored by the monitoring instruction when the state information is abnormal. The detection of the communication state information is realized, and the controllability of the stability of the communication node is improved.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. An IPFC communication node, comprising:
the network equipment, the network protocol stack and the first IPFC firmware;
the network equipment is used for transmitting target sending data to a data link layer of the network protocol stack;
the data link layer of the network protocol stack includes a hardware driver module for transmitting the target transmit data to the first IPFC firmware via the data link layer;
the first IPFC firmware is used for sending the target sending data to second IPFC firmware of an adjacent node through IPFC communication, and receiving target receiving data sent by the second IPFC firmware of the adjacent node through IPFC communication;
the hardware driver module is further configured to transmit the target receive data to the data link layer via the first IPFC firmware;
the network device is further configured to receive the target receiving data transmitted by the data link layer of the network protocol stack;
the hardware driving module comprises an interrupt control unit and a Direct Memory Access (DMA) control unit;
the interrupt control unit is used for receiving a first MSI interrupt request sent by the first IPFC firmware and sending a first DMA operation instruction to the DMA control unit according to the first MSI interrupt request;
the DMA control unit is used for executing a first DMA operation according to the first DMA operation instruction and transmitting the target sending data to the first IPFC firmware through the data link layer;
the interrupt control unit is further configured to receive a second MSI interrupt request sent by the first IPFC firmware, and send a second DMA operation instruction to the DMA control unit according to the second MSI interrupt request;
the DMA control unit is further configured to execute a second DMA operation according to the second DMA operation instruction, and transmit the target received data to the data link layer via the first IPFC firmware.
2. The IPFC communication node according to claim 1, wherein said hardware driver module is configured with a data sending buffer, a data receiving buffer and a status monitoring unit;
the data transmission buffer is configured to receive target transmission data transmitted by the data link layer of the network protocol stack, and transmit the target transmission data to the first IPFC firmware when the first DMA operation is executed;
the data receiving buffer is used for receiving the target receiving data transmitted by the first IPFC firmware and transmitting the target receiving data to the data link layer when the second DMA operation is executed;
the interrupt control unit is further configured to receive a third MSI interrupt request sent by the first IPFC firmware, and send a monitoring instruction to the state monitoring unit according to the third MSI interrupt request;
and the state monitoring unit is used for monitoring communication state information according to the monitoring instruction, and transmitting the abnormal communication state information to the network protocol stack when the communication state information is abnormal.
3. An IPFC communication system, comprising at least one IPFC communication node according to any one of claims 1-2 and at least one neighboring node adjacent to said IPFC communication node.
4. An IPFC communication method for use in the IPFC communication system of claim 3, the method comprising:
transmitting target sending data to a data link layer of a network protocol stack through network equipment, and transmitting the target sending data to first IPFC firmware through a hardware driving module of the data link layer;
carrying out IPFC communication through the first IPFC firmware and sending the target sending data to a second IPFC firmware of an adjacent node;
carrying out IPFC communication through the first IPFC firmware to receive target receiving data sent by the second IPFC firmware of the adjacent node;
transmitting, by the first IPFC firmware, the target receive data to the data link layer of the network protocol stack, the target receive data to the network device via the hardware driver module of the data link layer;
the hardware driving module comprises an interrupt control unit and a Direct Memory Access (DMA) control unit;
the step of transmitting the target sending data to a data link layer of a network protocol stack through the network device, and transmitting the target sending data to the first IPFC firmware via a hardware driving module of the data link layer includes:
transmitting, by the network device, the target transmit data to the hardware driver module via the data link layer of the network protocol stack;
receiving a first MSI interruption request sent by the first IPFC firmware through the interruption control unit, and sending a first DMA operation instruction to the DMA control unit according to the first MSI interruption request;
and executing a first DMA operation according to the first DMA operation instruction through the DMA control unit, and transmitting the target sending data in the hardware driving module to the first IPFC firmware.
5. The IPFC communication method according to claim 4, wherein a data transmission buffer is arranged in the hardware driving module;
the step of transmitting, by the network device, the target transmission data to the hardware driver module via the data link layer of the network protocol stack includes:
transmitting, by the network device, the target transmit data to the data transmit buffer via a data link layer of the network protocol stack;
the step of transmitting the target send data in the hardware driver module to the first IPFC firmware comprises:
transmitting the target send data in the data send buffer to the first IPFC firmware.
6. The IPFC communication method of claim 5,
the step of transmitting, by the first IPFC firmware, the target receive data to the data link layer of the network protocol stack, the target receive data to the network device via the hardware driver module of the data link layer, comprising:
receiving, by the interrupt control unit, a second MSI interrupt request sent by the first IPFC firmware, and sending a second DMA operation instruction to the DMA control unit according to the second MSI interrupt request;
executing a second DMA operation according to the second DMA operation instruction through the DMA control unit, and transmitting the target receiving data in the first IPFC firmware to the hardware driving module;
transmitting, by the hardware driver module, the target receive data to the network device via the data link layer of the network protocol stack.
7. The IPFC communication method according to claim 6, wherein a data receiving buffer is arranged in the hardware driving module;
the step of transmitting the target receive data in the first IPFC firmware to the hardware driver module includes:
transmitting the target receive data in the first IPFC firmware to the data receive buffer;
the step of transmitting the target receiving data to the network device via the network protocol stack by the hardware driver module includes:
transmitting the target receive data to the network device via a data link layer of the network protocol stack through the data receive buffer.
8. The IPFC communication method according to claim 7, wherein said hardware driver module further comprises a status monitoring unit, said method further comprising:
receiving, by the interrupt control unit, a third MSI interrupt request sent by the first IPFC firmware, and sending a monitoring instruction to the state monitoring unit according to the third MSI interrupt request;
and monitoring communication state information through the state monitoring unit, and transmitting the abnormal communication state information to the network protocol stack when the communication state information is abnormal.
CN202210851148.0A 2022-07-20 2022-07-20 IPFC communication node, system and method Active CN115086455B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210851148.0A CN115086455B (en) 2022-07-20 2022-07-20 IPFC communication node, system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210851148.0A CN115086455B (en) 2022-07-20 2022-07-20 IPFC communication node, system and method

Publications (2)

Publication Number Publication Date
CN115086455A CN115086455A (en) 2022-09-20
CN115086455B true CN115086455B (en) 2023-01-13

Family

ID=83260691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210851148.0A Active CN115086455B (en) 2022-07-20 2022-07-20 IPFC communication node, system and method

Country Status (1)

Country Link
CN (1) CN115086455B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546426A (en) * 2012-02-02 2012-07-04 杭州华三通信技术有限公司 Route generation method and route generation device for achieving fiber channel over Ethernet
CN106789609A (en) * 2016-12-26 2017-05-31 中国科学院空间应用工程与技术中心 FC EG gateways, the communication conversion method between optical-fibre channel and Ethernet
CN107483370A (en) * 2017-09-14 2017-12-15 电子科技大学 A kind of method in FC transmission over networks IP and CAN business
CN112738662A (en) * 2020-12-25 2021-04-30 中航光电科技股份有限公司 Full-network remote upgrading method based on FC switching network
WO2021247693A1 (en) * 2020-06-03 2021-12-09 Raytheon Company Alternate control channel for network protocol stack
CN113890680A (en) * 2021-09-27 2022-01-04 电子科技大学 Transmission method applied to fiber channel avionics network DDS
CN114428586A (en) * 2020-10-29 2022-05-03 慧与发展有限责任合伙企业 Storage interface command packets transmitted over fibre channel

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9015333B2 (en) * 2009-12-18 2015-04-21 Cisco Technology, Inc. Apparatus and methods for handling network file operations over a fibre channel network
CN114721317B (en) * 2022-06-02 2022-09-16 中国船舶重工集团公司第七0七研究所 Network communication control system and method based on SPI controller

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546426A (en) * 2012-02-02 2012-07-04 杭州华三通信技术有限公司 Route generation method and route generation device for achieving fiber channel over Ethernet
CN106789609A (en) * 2016-12-26 2017-05-31 中国科学院空间应用工程与技术中心 FC EG gateways, the communication conversion method between optical-fibre channel and Ethernet
CN107483370A (en) * 2017-09-14 2017-12-15 电子科技大学 A kind of method in FC transmission over networks IP and CAN business
WO2021247693A1 (en) * 2020-06-03 2021-12-09 Raytheon Company Alternate control channel for network protocol stack
CN114428586A (en) * 2020-10-29 2022-05-03 慧与发展有限责任合伙企业 Storage interface command packets transmitted over fibre channel
CN112738662A (en) * 2020-12-25 2021-04-30 中航光电科技股份有限公司 Full-network remote upgrading method based on FC switching network
CN113890680A (en) * 2021-09-27 2022-01-04 电子科技大学 Transmission method applied to fiber channel avionics network DDS

Also Published As

Publication number Publication date
CN115086455A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
US6185607B1 (en) Method for managing network data transfers with minimal host processor involvement
US7996583B2 (en) Multiple context single logic virtual host channel adapter supporting multiple transport protocols
US8458280B2 (en) Apparatus and method for packet transmission over a high speed network supporting remote direct memory access operations
US7865633B2 (en) Multiple context single logic virtual host channel adapter
CN101394400B (en) Method for establishing network connection for avoiding damage of ARP cache
US20100146157A1 (en) Multi-radio interfacing and direct memory access based data transferring methods and sink node for performing the same in wireless sensor network
US20080059686A1 (en) Multiple context single logic virtual host channel adapter supporting multiple transport protocols
JPH1069446A (en) Method for maintaining connection between hosts
JPH11355385A (en) Link control state machine
US20030182440A1 (en) Network processor with high-speed transceiver
CN106534178A (en) System and method for realizing RapidIO network universal socket
US20080192741A1 (en) High Speed Data Processing Communication Method and Apparatus for Embedded System
CN111541688A (en) Embedded system compatible with multiple protocols, data processing method and device
US8111696B2 (en) Method to improve the performance of a computer network
CN113300821B (en) Dual-network-card network hot standby method and system based on sniffing technology
CN115086455B (en) IPFC communication node, system and method
JPH10308791A (en) Method and equipment for data communication and data communication program recording medium
CN113794713B (en) Communication processing method for bridging MIL-STD-1553 and UART by FC-AE-1553 protocol
US9619005B2 (en) Apparatus and method for saving power of USB device
WO2010133020A1 (en) Data transmitting method, terminal processor and terminal device in zigbee network
Cisco Configuring LLC2 and SDLC Parameters
JP5162641B2 (en) Automatic configuration system for media adapter device and router device
KR100412237B1 (en) A user-level sockets layer and method for interfacing communication using the sockets layer
CN113014693B (en) Multi-client temperature control combined server
KR20050107174A (en) Equipment and method for communication between agents in pci system

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
CP03 Change of name, title or address

Address after: 701, 7th Floor, Building 6, Courtyard 8, Kegu 1st Street, Beijing Economic and Technological Development Zone, Daxing District, Beijing, 100176

Patentee after: Beijing Tasson Technology Ltd.

Address before: Room 701, 7 / F, building 6, courtyard 8, KEGU 1st Street, Beijing Economic and Technological Development Zone, Daxing District, Beijing 100176

Patentee before: BEIJING TASSON TECHNOLOGY Ltd.

CP03 Change of name, title or address