Multi-protocol data transmission method based on optical fiber channel

Through the multi-protocol data transmission method based on fiber channel, the problems of complex communication network, difficult wiring and numerous equipment types during multi-protocol data transmission in the prior art are solved, and the rapid transmission and coordination of multi-protocol data are realized, thereby reducing system costs.

CN120151418APending Publication Date: 2025-06-13BEIJING MECHANICAL EQUIP INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311713696.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-13
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

In the prior art, the communication network is complex, difficult to route and numerous equipment types during multi-protocol data transmission, resulting in high system costs.

Method used

Through a multi-protocol data transmission method based on fiber channel, NC nodes are used to query several NT nodes, determine the total amount of data to be sent in the current cycle, and under the control of the protocol scheduling mode, determine the amount of data and priority to be sent by each NT node, and transmit data in the order of priority from high to low.

Benefits of technology

It realizes the rapid transmission of multi-protocol data in fiber channel, simplifies the layout of communication networks, reduces system costs, and improves the coordination and transmission effect of data transmission of multiple protocols.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120151418A_ABST
    Figure CN120151418A_ABST
Patent Text Reader

Abstract

The invention relates to a multi-protocol data transmission method based on an optical fiber channel, belongs to the technical field of data transmission, and solves the problems of complex communication network, difficult wiring and various equipment types during multi-protocol data transmission in the prior art. The multi-protocol data transmission method comprises the following steps: querying a plurality of controlled NT nodes, and determining the total data volume required to be sent in the current period; comparing the total data volume required to be sent in the current period with the total data volume capable of being sent, and determining a protocol scheduling mode for data transmission in the current period; and under the control of a protocol scheduling mode, for each protocol type, determining the data volume required to be sent by each NT node and the corresponding priority, and sending the data volume required to be sent by each NT node to the destination NT node of the corresponding protocol type according to the sequence of the priorities from high to low. Data transmission of the nodes of multiple protocols in the optical fiber channel is realized, and the equipment type is simple.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission, and particularly to a multi-protocol data transmission method based on a Fibre Channel. Background Art

[0002] FC (Fibre Channel) has solved the technical bottleneck encountered by the parallel bus SCSI and can map more FC-4 upper-layer protocols under the framework of the same large protocol platform. FC has the dual advantages of a channel and a network, with high bandwidth, high reliability, high stability, and resistance to electromagnetic interference. It can provide a very stable and reliable optical fiber connection, is easy to build a large data transmission and communication network, supports bandwidth connection rates of 1x, 2x, 4x, and 8x, and this bandwidth is continuously expanding with the continuous development of technology to meet the technical performance requirements of higher-bandwidth data transmission.

[0003] In the existing information communication network field, in order to meet the communication requirements between multiple different protocol nodes, different bus types and bus protocols are required, which in turn leads to a series of problems such as a complex communication network, difficult wiring, and a large variety of device types. In addition, it also causes the system cost to remain high.

[0004] Therefore, there is an urgent need for a new technical solution for multi-protocol data transmission. Summary of the Invention

[0005] In view of the above analysis, an embodiment of the present invention aims to provide a multi-protocol data transmission method based on a Fibre Channel to solve the problems of a complex communication network, difficult wiring, and a large variety of device types in multi-protocol data transmission in the prior art.

[0006] On the one hand, an embodiment of the present invention provides a multi-protocol data transmission method based on a Fibre Channel, including:

[0007] Query a plurality of NT nodes controlled to determine the total amount of data to be sent in the current cycle;

[0008] Compare the total amount of data to be sent in the current cycle with the total amount of data that can be sent to determine the protocol scheduling mode for data transmission in the current cycle;

[0009] Under the control of the protocol scheduling mode, for each protocol type, determine the amount of data to be sent by each NT node and the corresponding priority, and send the amount of data to be sent by each NT node to the destination NT node of the corresponding protocol type in descending order of priority.

[0010] Based on a further improvement of the above method, the querying a plurality of NT nodes controlled to determine the total amount of data to be sent in the current cycle includes:

[0011] Send a query command sequence to a number of NT nodes to be controlled. After receiving the query command sequence, each NT node sends status information through a status sequence and returns the pre-configured send message status information to the NC node through a data sequence;

[0012] The NC node analyzes the send message status information returned by each NT node to determine the amount of data that each NT node needs to send, so as to obtain the total amount of data that needs to be sent in the current cycle.

[0013] Based on a further improvement of the above method, the send message status information includes the source node ID address, the destination node ID address, whether data delivery is guaranteed, the priority corresponding to the amount of data to be sent, and the amount of data to be sent.

[0014] Based on a further improvement of the above method, each NT node configures the send message status information through the following steps:

[0015] Receive the original data frame that the source node connected to it needs to send, parse the original data frame to determine the source node ID address and the destination node ID address; use the source node ID address and the destination node ID address as the source node ID address and the destination node ID address in the send message status information;

[0016] According to the source node ID address and the destination node ID address, encapsulate the original data frame and whether data delivery is guaranteed in the FC frame format to obtain the FC data frame to be sent; use the amount of data included in the FC data frame to be sent as the amount of data to be sent in the send message status information;

[0017] Receive the user control instruction to determine the information on whether data delivery is guaranteed and the information on the priority corresponding to the amount of data to be sent in the send message status information.

[0018] Based on a further improvement of the above method, comparing the total amount of data that needs to be sent in the current cycle with the total amount of data that can be sent to determine the protocol scheduling mode for data transmission in the current cycle, including:

[0019] Calculate the effective occupancy ratio of the total amount of data that needs to be sent in the current cycle to the total amount of data that can be sent;

[0020] Compare the effective occupancy ratio, a pre-set first threshold, and a pre-set second threshold to determine the protocol scheduling mode for data transmission in the current cycle; wherein, the first threshold is less than the second threshold.

[0021] Based on further improvements to the above method, determining the protocol scheduling mode for data transmission within the current cycle by comparing the effective occupancy ratio, a preset first threshold, and a preset second threshold includes:

[0022] If the effective occupancy ratio is less than or equal to the first threshold, select the first protocol scheduling mode as the protocol scheduling mode for data transmission;

[0023] If the effective occupancy ratio is greater than the first threshold and less than or equal to the second threshold, select the second protocol scheduling mode as the protocol scheduling mode for data transmission;

[0024] If the effective occupancy ratio is greater than the second threshold, select the third protocol scheduling mode as the protocol scheduling mode for data transmission.

[0025] Based on further improvements to the above method, sending the amount of data that each NT node needs to send to the corresponding NT node includes:

[0026] The NC node sends a data transmission command sequence to this NT node, requiring this NT node to send the required FC data frames to the destination NT node;

[0027] This NT node sends a data sending command sequence and the required FC data frames to the destination NT node, and simultaneously updates the sending message status information of this NT node.

[0028] Based on further improvements to the above method, the multi-protocol data transmission method further includes:

[0029] When the destination NT node receives the FC data frames that this NT node needs to send, determine whether data delivery is guaranteed;

[0030] If data delivery needs to be guaranteed, the destination NT node sends a delivery status sequence to this NT node, and after this NT node receives this delivery status sequence, it forwards this delivery status sequence to the NC node.

[0031] Based on further improvements to the above method, the multi-protocol data transmission method further includes:

[0032] The destination NT node parses the FC data frames that need to be sent to obtain the original data frames;

[0033] Send the original data frames to the destination node, and the destination node parses the original data frames to obtain valid data.

[0034] On the other hand, an embodiment of the present invention provides a multi-protocol data transmission system based on Fibre Channel. The multi-protocol data transmission system includes an NC node, several NT nodes, several protocol nodes, and a switch;

[0035] A number of protocol nodes are connected to a switch through a number of NT nodes, and the switch is connected to an NC node;

[0036] The NC node is used to query a number of NT nodes it controls to determine the total amount of data to be sent in the current cycle; compare the total amount of data to be sent in the current cycle with the total amount of data that can be sent to determine the protocol scheduling mode for data transmission in the current cycle; under the control of the protocol scheduling mode, determine the amount of data to be sent by each NT node under each protocol type and the corresponding priority, and send the amount of data to be sent by each NT node to the corresponding NT node in descending order of priority.

[0037] Compared with the prior art, the present invention can at least achieve one of the following beneficial effects:

[0038] 1. By connecting the source nodes of different protocols to the corresponding NT nodes one by one, storing the data to be sent by each source node on the corresponding NT node, and then controlling the data transmission between different NT nodes through the NC node, the fast transmission of multi-protocol data in the fiber channel is realized;

[0039] 2. By periodically querying the NT nodes it controls, confirming the data to be sent by each source node, and further confirming the protocol scheduling mode for data transmission, the coordination during the transmission of multi-protocol data is improved, and the transmission effect is enhanced.

[0040] In the present invention, the above technical solutions can also be combined with each other to achieve more preferred combined solutions. Other features and advantages of the present invention will be described in the subsequent specification, and some advantages can be made obvious from the specification or understood by implementing the present invention. The objectives and other advantages of the present invention can be realized and obtained from the content specifically pointed out in the specification and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The drawings are only for the purpose of showing specific embodiments and are not considered to be a limitation of the present invention. Throughout the drawings, the same reference signs represent the same components.

[0042] Figure 1 It is a schematic flowchart of a multi-protocol data transmission method based on a fiber channel provided by an embodiment of the present invention;

[0043] Figure 2 It is a schematic connection structure diagram of an NC node and a number of NT nodes it controls provided by an embodiment of the present invention;

[0044] Figure 3 It is a schematic diagram of data transmission in a first protocol scheduling mode provided by an embodiment of the present invention;

[0045] Figure 4 Schematic diagram of data transmission in the second protocol scheduling mode provided by an embodiment of the present invention;

[0046] Figure 5 Schematic diagram of the structure of a multi - protocol data transmission system based on Fibre Channel provided by an embodiment of the present invention. Detailed implementation manners

[0047] The following will specifically describe the preferred embodiments of the present invention with reference to the accompanying drawings. The accompanying drawings form a part of this application and are used together with the embodiments of the present invention to explain the principles of the present invention, rather than to limit the scope of the present invention.

[0048] A specific embodiment of the present invention discloses a multi - protocol data transmission method based on Fibre Channel, as Figure 1 shown, including:

[0049] Step S1: Query a plurality of NT nodes under control to determine the total amount of data to be sent in the current cycle;

[0050] Step S2: Compare the total amount of data to be sent in the current cycle with the total amount of data that can be sent, and determine the protocol scheduling mode for data transmission in the current cycle;

[0051] Step S3: Under the control of the protocol scheduling mode, for each protocol type, determine the amount of data to be sent by each NT node and the corresponding priority, and send the amount of data to be sent by each NT node to the destination NT node of the corresponding protocol type in descending order of priority.

[0052] Specifically, as Figure 2 shown, an NC node controls the data transmission of m source nodes of Protocol 1, n source nodes of Protocol 2, and p source nodes of Protocol 3. It should be noted that in the embodiments of the present invention, source nodes belonging to the same protocol can perform data transmission, and source nodes of different protocols cannot communicate. For example, source node 1 of Protocol 1 can only perform data transmission with other source nodes of Protocol 1, and cannot perform data transmission with any source node of Protocol 2. Exemplarily, Protocol 1, Protocol 2, and Protocol 3 can be Ethernet protocol, CAN protocol, and serial communication protocol respectively.

[0053] Specifically, as Figure 2 shown, each source node is connected to the corresponding NT node, each NT node is connected to the switch, and data is forwarded through the switch. At the same time, the NC node is connected to the switch to control the data transmission of the m + n + p source nodes under its control.

[0054] Specifically, asFigure 1 As shown, the NC node controls the data transmission of several nodes of multiple protocols. The NC node can control the data transmission of several NT nodes it controls either by periodic control or by a pre-set data transmission period. For example, the NC node can control the data transmission of several nodes within each period by setting the same period; at the same time, the NC node can also set different data transmission methods for different time periods.

[0055] Specifically, as Figure 1 shown, at a specific period, the NC node queries several NT nodes it controls to determine the total amount of data to be sent within the current period. Thus, it queries the status of several NT nodes it controls, and statistically analyzes the data transmission that several NT nodes need to perform, and can obtain the amount of data that each NT node has determined to send before this period.

[0056] Preferably, the querying of several NT nodes it controls to determine the total amount of data to be sent within the current period includes:

[0057] Sending a query command sequence to several NT nodes it controls. After each NT node receives the query command sequence, it sends status information through the status sequence and returns the pre-configured sending message status information to the NC node through the data sequence;

[0058] The NC node analyzes the sending message status information returned by each NT node to determine the amount of data that each NT node needs to send to obtain the total amount of data to be sent within the current period.

[0059] Specifically, the NC node needs to send a query command sequence to all NT nodes it controls, and requires each NT node to return information related to the amount of data that each node needs to send to the NC node, that is, to send status information through the status sequence. Specifically, after each NT node receives the query command sequence sent by the NC node, it sends its own status information to the NC node through the status sequence, and at the same time sends the status information sent through the status sequence to the NC node through the data sequence. It can be understood that when the NC node sends a query command sequence to all NT nodes it controls, each NT node needs to count the amount of data it needs to send.

[0060] Preferably, the sending message status information includes the source node ID address, the destination node ID address, whether to ensure data delivery, the priority corresponding to the amount of data to be sent, and the amount of data to be sent.

[0061] It can be understood that when data is transmitted in a fiber channel, the data frame is encapsulated in the FC frame format, and each frame includes a source ID address and a destination ID address.

[0062] Specifically, the source node ID address is the ID identification of the NT node corresponding to the source node, and the destination node ID address is the ID identification of the NT node corresponding to the data receiving node; whether to ensure data delivery is whether the data sent from the source node to the destination node needs to confirm successful sending, and this information needs to be set by the user in advance; the priority corresponding to the amount of data to be sent is the priority of the corresponding data to be sent. For data transmission of the same protocol, data with a higher priority is transmitted prior to data with a lower priority.

[0063] Preferably, each NT node configures the sending message status information through the following steps:

[0064] Receive the original data frame that the source node connected to it needs to send, and parse the original data frame to determine the source node ID address and the destination node ID address; use the source node ID address and the destination node ID address as the source node ID address and the destination node ID address in the sending message status information;

[0065] According to the source node ID address and the destination node ID address, encapsulate the original data frame and whether to ensure data delivery in the FC frame format to obtain the FC data frame to be sent; use the amount of data included in the FC data frame to be sent as the amount of data to be sent in the sending message status information;

[0066] Receive the user control instruction to determine the information on whether to ensure data delivery and the information on the priority corresponding to the amount of data to be sent in the sending message status information.

[0067] Specifically, as Figure 2 shown, when the protocol 1 source node 1 sends valid data to the protocol 1 node m, the protocol 1 source node 1 first needs to encapsulate the valid data according to the protocol 1 type. For example, when the protocol 1 is the Ethernet protocol, the protocol 1 source node 1 encapsulates the valid data according to the Ethernet protocol to obtain an Ethernet frame, and sends the Ethernet frame to the corresponding NT node 1. At this time, the Ethernet frame serves as the original data frame.

[0068] Specifically, after the NT node 1 receives the original data frame, it configures the sending message status information. If the protocol type is the Ethernet protocol, it parses the Ethernet frame to obtain the source MAC address and the destination MAC address, and then, according to the mapping relationship between the NT node ID address and the MAC address, obtains the source node ID address and the destination node ID address, that is, the ID address of the NT node 1 and the ID address of the NT node m. The ID address of the NT node 1 and the ID address of the NT node m are used as the source node ID address and the destination node ID address in the sending message status information.

[0069] Specifically, the information on whether to guarantee data delivery and the information on the priority corresponding to the amount of data to be sent in the sending message status information are set according to the user control instruction.

[0070] Specifically, after obtaining the source node ID address and the destination node ID address, the original data frame and whether to guarantee data delivery are encapsulated in the FC frame format to obtain the FC data frame to be sent. As Figure 2 shown, after obtaining the ID address of the NT node 1 and the ID address of the NT node m, the Ethernet frame and the information on whether to guarantee data delivery are encapsulated in the FC frame format to obtain the FC data frame that the NT node 1 needs to send; it can be understood that at this time, the Ethernet frame is used as the data of the valid content in the FC data frame to be sent.

[0071] Specifically, confirm the amount of data included in the FC data frame to be sent obtained by encapsulation, and use this amount of data as the amount of data to be sent in the sending message status information.

[0072] Specifically, after the NT node 1 configures the sending message status information, when it receives the query command sequence sent by the NC node, it sends the status information of the NT node 1 to the NC node through the status sequence, and then sends the sending message status information to the NC node through the data sequence.

[0073] After the NC node receives the sending message status information of all the NT nodes it controls, the NC node analyzes the sending message status information, and can obtain the amount of data that each NT node needs to send, and then accumulates the amount of data that each NT node needs to send to obtain the total amount of data that all NT nodes need to send in the current cycle.

[0074] Specifically, as Figure 1 shown, in step S2, the NC node obtains the total amount of data that all NT nodes need to send in the current cycle through step S1. At this time, the NC node compares the total amount of data that needs to be sent in the current cycle with the total amount of data that can be sent, and determines the protocol scheduling mode for data transmission in the current cycle.

[0075] Preferably, comparing the total amount of data to be sent in the current period and the total amount of data that can be sent, and determining the protocol scheduling mode for data transmission in the current period includes:

[0076] Calculating the effective occupancy ratio of the total amount of data to be sent in the current period and the total amount of data that can be sent;

[0077] Comparing the effective occupancy ratio, a preset first threshold, and a preset second threshold to determine the protocol scheduling mode for data transmission in the current period; wherein, the first threshold is less than the second threshold.

[0078] Specifically, as Figure 1 shown, the total amount of data to be sent in the current period is obtained in step S1, and then the total amount of data that can be sent in the current period is obtained. It can be understood that the amount of data that can be sent in the current period can be obtained according to the bandwidth and the data transmission time, which is not limited here, and the amount of data that can be sent in the current period is obtained by using the existing technology.

[0079] Specifically, the effective occupancy ratio is the mathematical ratio of the total amount of data to be sent in the current period and the total amount of data that can be sent. It can be understood that when the amount of data to be sent is small, the total amount of data to be sent in the current period is less than or equal to the total amount of data that can be sent; if the amount of data to be sent is large, then the total amount of data to be sent in the current period will be greater than the total amount of data that can be sent. That is to say, when the total amount of data to be sent is large, it is certain that all data cannot be transmitted in the current period, and some data needs to be left for transmission in the next period.

[0080] Specifically, the NC node compares the effective occupancy ratio, a preset first threshold, and a preset second threshold to determine the protocol scheduling mode for data transmission in the current period; wherein, the first threshold is less than the second threshold.

[0081] Specifically, the first threshold can be set to 0.4 - 0.6, and the second threshold is set to 1.

[0082] Preferably, comparing the effective occupancy ratio, a preset first threshold, and a preset second threshold to determine the protocol scheduling mode for data transmission in the current period includes:

[0083] If the effective occupancy ratio is less than or equal to the first threshold, then select the first protocol scheduling mode as the protocol scheduling mode for data transmission;

[0084] If the effective occupancy ratio is greater than the first threshold and less than or equal to the second threshold, then select the second protocol scheduling mode as the protocol scheduling mode for data transmission;

[0085] If the effective occupancy ratio is greater than the second threshold, select the third protocol scheduling mode as the protocol scheduling mode for data transmission.

[0086] Specifically, calculate the effective occupancy ratio, compare the effective occupancy ratio, the first threshold, and the second threshold, and determine the protocol scheduling mode.

[0087] When the effective occupancy ratio is less than or equal to the first threshold, it indicates that the total amount of data to be sent in the current cycle is much less than the total amount of data that can be sent currently. At this time, select the first protocol scheduling mode as the protocol scheduling mode for data transmission.

[0088] Specifically, as Figure 3 shown, in the first protocol scheduling mode, the total amount of data that all NT nodes need to send can be transmitted within the current cycle, and the effective occupancy ratio is less than or equal to the first threshold. At this time, data is transmitted according to the protocol priority, that is, data with a higher protocol priority is transmitted first. For example, among all the source nodes corresponding to all NT nodes controlled by this NC node, including Ethernet protocol nodes, CAN protocol nodes, and other protocol nodes, at this time, the Ethernet protocol has the highest transmission priority, and the data of the Ethernet nodes is transmitted first. The CAN protocol has the second highest priority, and other protocols have the lowest priority and are transmitted last.

[0089] It should be noted that when the effective occupancy ratio is less than the first threshold, all the total amount of data to be sent can be transmitted through the first protocol scheduling mode, and the transmission delay of each protocol data is not high.

[0090] Specifically, as Figure 4 shown, when the effective occupancy ratio is greater than the first threshold and less than or equal to the second threshold, select the second protocol scheduling mode as the protocol scheduling mode for data transmission. In the second protocol scheduling mode, the total amount of data that needs to be sent in the current cycle can complete data transmission within the current cycle, and at this time, the effective occupancy ratio is greater than the first threshold. At this time, there may be a large amount of data that needs to be transmitted for a certain protocol. If data is transmitted according to the first protocol scheduling mode at this time, it may lead to a relatively high data transmission delay for the protocols behind a certain protocol. Then select the second protocol scheduling mode and divide the total amount of data that needs to be sent in the current cycle into multiple segments for transmission. Among them, the data that each protocol needs to transmit is divided into segments, and in each segment, it is transmitted according to the priority of the protocol from high to low. Exemplarily, as Figure 4 shown, it is divided into two segments for transmission. In each transmission time slot of each segment, it is still arranged and transmitted according to the priority of protocol transmission.

[0091] Specifically, when the effective occupancy ratio is greater than the second threshold, the total amount of data to be sent in the current cycle is greater than the total amount of data that can be sent. Therefore, all the data to be sent cannot be transmitted within the current cycle. In this case, part of the data must be transferred to the next cycle, and in some cases, this part of the data cannot be transmitted within multiple cycles, resulting in a high latency.

[0092] At this time, the third protocol scheduling mode is selected. In the third protocol scheduling mode, the data to be transmitted by each protocol can be segmented, and there will be some segmented data that cannot be transmitted within the current cycle. If this part of the data cannot be transmitted within the current cycle, the protocol priority of this part of the data is adjusted so that when this part of the data is transmitted in the next cycle, the protocol priority is increased and it can be transmitted preferentially. In the third protocol scheduling mode, in addition to increasing the protocol priority of the untransmitted data, the data transmission method of the second protocol scheduling mode can be selected as the protocol scheduling mode within the current cycle.

[0093] Specifically, in step S3, after determining the specific protocol scheduling mode, the protocols with higher priorities are arranged in the front for transmission, and the protocols with lower priorities are arranged in the back for transmission. For the same protocol type, the data is arranged and transmitted according to the priority corresponding to the amount of data to be sent in the sent message status information. The data with higher priorities is arranged in the front, and the data with lower priorities is arranged in the back for transmission. Then, the amount of data that each NT node needs to send is sent to the corresponding destination NT node of this protocol type.

[0094] Preferably, the step of sending the amount of data that each NT node needs to send to the corresponding NT node includes:

[0095] The NC node sends a data transmission command sequence to this NT node, requiring this NT node to send the required FC data frame to the destination NT node;

[0096] This NT node sends a data sending command sequence and the required FC data frame to the destination NT node, and at the same time updates the sending message status information of this NT node.

[0097] Specifically, as Figure 2 shown, when it comes to the turn of NT node 1 to send data to NT node m within the current cycle, the NC node sends a data transmission command sequence to NT node 1, requiring NT node 1 to send the required FC data frame to NT node m. After receiving the data transmission command sequence from the NC node, NT node 1 sends a data sending command sequence and the required FC data frame to NT node m, completing the data transmission from NT node 1 to NT node m. Finally, the sending message status information of NT node 1 can be initialized to the zero state.

[0098] Preferably, the multi - protocol data transmission method further includes:

[0099] When the destination NT node receives the FC data frame to be sent by this NT node, it determines whether to ensure data delivery;

[0100] If data delivery needs to be ensured, the destination NT node sends a delivery status sequence to this NT node. After receiving the delivery status sequence, this NT node forwards the delivery status sequence to the NC node.

[0101] Specifically, as Figure 2 shown, after NT node m receives the FC data frame to be sent by NT node 1, it determines whether to ensure data delivery. If data delivery needs to be ensured, NT node m needs to send a delivery status sequence to NT node 1. The delivery status sequence is used to reflect whether NT node m has received the FC data frame sent by NT node 1. After receiving the delivery status sequence, NT node 1 forwards it to the NC node so that the NC node can confirm the situation.

[0102] Preferably, the multi - protocol data transmission method further includes:

[0103] The destination NT node parses the FC data frame to be sent to obtain the original data frame;

[0104] The original data frame is sent to the destination node, and the destination node parses the original data frame to obtain the valid data.

[0105] Specifically, as Figure 2 shown, after NT node m receives the FC data frame to be sent by NT node 1, NT node m parses the FC data frame to be sent to obtain the original data frame, that is, the Ethernet frame; NT node m then sends the Ethernet frame to the destination Ethernet protocol node m. The destination Ethernet protocol node m parses the Ethernet frame using the Ethernet protocol to obtain the valid data, that is, the valid data sent by the Ethernet protocol source node 1.

[0106] Another specific embodiment of the present invention discloses a multi - protocol data transmission system based on Fibre Channel, as Figure 5 shown, the multi - protocol data transmission system includes an NC node, several NT nodes, several protocol nodes, and a switch;

[0107] Several protocol nodes are connected to the switch through several NT nodes, and the switch is connected to the NC node;

[0108] The NC node is used to query a number of NT nodes it controls to determine the total amount of data to be sent in the current cycle; compare the total amount of data to be sent in the current cycle with the total amount of data that can be sent to determine the protocol scheduling mode for data transmission in the current cycle; under the control of the protocol scheduling mode, determine the amount of data to be sent by each NT node under each protocol type and the corresponding priority, and send the amount of data to be sent by each NT node to the corresponding NT node in descending order of priority. Among them, the specific implementation means refer to the corresponding content in the previous embodiments and will not be repeated here.

[0109] Specifically, as Figure 5 shown, in the multi-protocol data transmission system, there are multiple NC nodes, NC node 1, NC node..., and NC node D, and at the same time, there are NT node 1... NT node m... NT node m + 1... NT node m + n... NT node m + n + 1... NT node m + n + p. Each NT node is externally connected to a node of any protocol, and each NC node can selectively control some of the NT nodes to control the data transmission of the some NT nodes.

[0110] Compared with the prior art, the multi-protocol data transmission method based on Fibre Channel provided in this embodiment realizes the fast transmission of multi-protocol data in the Fibre Channel by connecting the source nodes of different protocols to the corresponding NT nodes one by one, storing the data to be sent by each source node on the corresponding NT node, and then controlling the data transmission between different NT nodes through the NC node; and by periodically querying the controlled NT nodes to confirm the data to be sent by each source node, further confirming the protocol scheduling mode for data transmission, improving the coordination during the transmission of multiple protocol data and enhancing the transmission effect.

[0111] Those skilled in the art can understand that all or part of the processes for implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. Among them, the computer-readable storage medium is a disk, an optical disc, a read-only memory, or a random access memory, etc.

[0112] The above is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by those skilled in the art within the technical scope disclosed by the present invention should be covered by the protection scope of the present invention.

Claims

1. A multi - protocol data transmission method based on Fibre Channel, characterized in that, it includes: Query a number of NT nodes under control to determine the total amount of data to be sent in the current cycle; Compare the total amount of data to be sent and the total amount of data that can be sent in the current cycle to determine the protocol scheduling mode for data transmission in the current cycle; Under the control of the protocol scheduling mode, for each protocol type, determine the amount of data to be sent by each NT node and the corresponding priority, and send the amount of data to be sent by each NT node to the destination NT node of the corresponding protocol type in descending order of priority.

2. The multi - protocol data transmission method according to claim 1, characterized in that, The query of a number of NT nodes under control to determine the total amount of data to be sent in the current cycle includes: Send a query command sequence to a number of NT nodes under control. After receiving the query command sequence, each NT node sends status information through a status sequence and returns the pre - configured send message status information to the NC node through a data sequence; The NC node analyzes the send message status information returned by each NT node to determine the amount of data to be sent by each NT node to obtain the total amount of data to be sent in the current cycle.

3. The multi - protocol data transmission method according to claim 2, characterized in that, The send message status information includes the source node ID address, destination node ID address, whether data delivery is guaranteed, the priority corresponding to the amount of data to be sent, and the amount of data to be sent.

4. The multi - protocol data transmission method according to claim 3, characterized in that, Each NT node configures the send message status information through the following steps: Receive the original data frame to be sent by the source node connected to it, parse the original data frame to determine the source node ID address and destination node ID address; use the source node ID address and destination node ID address as the source node ID address and destination node ID address in the send message status information; According to the source node ID address and destination node ID address, encapsulate the original data frame and whether data delivery is guaranteed in the FC frame format to obtain the FC data frame to be sent; use the amount of data included in the FC data frame to be sent as the amount of data to be sent in the send message status information; Receive the user control instruction to determine the information on whether data delivery is guaranteed and the information on the priority corresponding to the amount of data to be sent in the send message status information.

5. The multi - protocol data transmission method according to claim 1, characterized in that, The comparison of the total amount of data to be sent and the total amount of data that can be sent in the current cycle to determine the protocol scheduling mode for data transmission in the current cycle includes: Calculate the effective occupancy ratio of the total amount of data to be sent and the total amount of data that can be sent in the current cycle; Compare the effective occupancy ratio, a pre - set first threshold, and a pre - set second threshold to determine the protocol scheduling mode for data transmission in the current cycle; wherein, the first threshold is less than the second threshold.

6. The multi-protocol data transmission method according to claim 5, wherein, comparing the effective occupancy ratio, a preset first threshold, and a preset second threshold to determine the protocol scheduling mode for data transmission in the current cycle, includes: If the effective occupancy ratio is less than or equal to the first threshold, select the first protocol scheduling mode as the protocol scheduling mode for data transmission; If the effective occupancy ratio is greater than the first threshold and less than or equal to the second threshold, select the second protocol scheduling mode as the protocol scheduling mode for data transmission; If the effective occupancy ratio is greater than the second threshold, select the third protocol scheduling mode as the protocol scheduling mode for data transmission.

7. The multi-protocol data transmission method according to claim 4, wherein, sending the data volume required to be sent by each NT node to the corresponding NT node, includes: The NC node sends a data transmission command sequence to the NT node, requiring the NT node to send the required FC data frame to the destination NT node; The NT node sends a data sending command sequence and the required FC data frame to the destination NT node, and simultaneously updates the sending message status information of the NT node.

8. The multi-protocol data transmission method according to claim 7, wherein, the multi-protocol data transmission method further includes: When the destination NT node receives the FC data frame required to be sent by the NT node, determine whether to ensure data delivery; If data delivery needs to be ensured, the destination NT node sends a delivery status sequence to the NT node, and after receiving the delivery status sequence, the NT node forwards the delivery status sequence to the NC node.

9. The multi-protocol data transmission method according to claim 8, wherein, the multi-protocol data transmission method further includes: The destination NT node parses the FC data frame required to be sent to obtain the original data frame; Send the original data frame to the destination node, and the destination node parses the original data frame to obtain the valid data.

10. A multi-protocol data transmission system based on Fibre Channel, wherein, the multi-protocol data transmission system includes an NC node, several NT nodes, several protocol nodes, and a switch; Several protocol nodes are connected to the switch through several NT nodes, and the switch is connected to the NC node; The NC node is used to query the several NT nodes it controls to determine the total data volume required to be sent in the current cycle; compare the total data volume required to be sent in the current cycle with the total data volume that can be sent to determine the protocol scheduling mode for data transmission in the current cycle; Under the control of the protocol scheduling mode, determine the data volume required to be sent by each NT node under each protocol type and the corresponding priority, and send the data volume required to be sent by each NT node to the corresponding NT node in descending order of priority.