Data transmission processing method and device of fiber channel switch

By using the routing information management module in the Fibre Channel switch to optimize the data transmission process, the problems of low data transmission efficiency and high latency of the Fibre Channel switch are solved, and more efficient data transmission and real-time performance are achieved.

CN118972322AInactive Publication Date: 2024-11-15BEIJING TASSON SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411420773.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2024-11-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The data transmission processing technology of existing fiber channel switches is low, resulting in poor data transmission efficiency and high forwarding delay, affecting the real-time nature of data interaction.

Method used

By introducing a routing information management module in a fiber channel switch, we can obtain the destination address information of the data frame, query and obtain forward routing information, and directly write and read the data exchange module to reduce data forwarding delay and optimize the switch architecture to reduce resource usage and power consumption.

Benefits of technology

It improves the data transmission efficiency of Fibre Channel switches, reduces forwarding delay, improves the real-timeness of data interactions, and saves resources and power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972322A_ABST
    Figure CN118972322A_ABST
Patent Text Reader

Abstract

The invention provides a data transmission processing method and device of a fiber channel switch, and the method comprises the steps: obtaining the destination address information of a fiber channel data frame under the condition of carrying out data transmission based on the fiber channel switch, and transmitting the destination address information to a routing information management module to request to forward routing information; acquiring source port information and destination port information, and acquiring data forwarding address information; sending the data forwarding address information to a source data input module; according to the destination port information, the source port information and the data forwarding address information are sent to the destination data output module; writing the data frame into the data exchange module based on the data forwarding address information obtained by the source data input module; and based on the source port information and the data forwarding address information of the source data input module obtained by the destination data output module, the data frame in the data exchange module is read for data transmission. According to the method provided by the invention, the data transmission efficiency of the fiber channel switch can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer application technology, and in particular to a data transmission processing method and device for a fiber channel switch, and also to an electronic device, a non-transitory computer-readable storage medium, and a computer program product. Background Art

[0002] In recent years, with the rapid development of computer technology, Fiber Channel (FC) switches have been used more and more widely in various fields. Fiber Channel is a high-speed serial transmission bus. Due to its dual advantages of channel and network, it has the advantages of high bandwidth, high reliability, and resistance to electromagnetic interference. It can provide very stable and reliable fiber optic connections and easily build large-scale data transmission and communication networks. At present, FC-AE networks have been widely used in many avionics networks and equipment. As the core device in the FC-AE network, the Fiber Channel switch plays a key role in the data exchange of the entire FC-AE network. Therefore, how to design a more efficient data transmission processing solution for the Fiber Channel switch has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] The present invention provides a data transmission processing method for a fiber channel switch, which is used to solve the defect that the data transmission processing technology of the fiber channel switch in the prior art has high limitations, resulting in poor data transmission efficiency of the fiber channel switch.

[0004] The present invention provides a data transmission processing method of a fiber channel switch, comprising: In the case of data transmission based on a Fibre Channel switch, obtaining destination address information of a Fibre Channel data frame to be forwarded based on a source data input module in the Fibre Channel switch, and sending the destination address information to a routing information management module in the Fibre Channel switch, so as to request forwarding routing information from the routing information management module in the Fibre Channel switch based on the destination address information; In the case where the routing information management module obtains a request for forwarding routing information, the routing information management module obtains source port information of a source data input module requesting forwarding routing information, and performs routing query based on the destination address information to obtain destination port information of a destination data output module corresponding to the destination address information; and performs query based on the destination port information of the destination data output module to obtain data forwarding address information used for forwarding the Fibre Channel data frame; sends the queried data forwarding address information to the source data input module; and sends the source port information of the source data input module and the data forwarding address information to the destination data output module based on the queried destination port information of the destination data output module; Based on the data forwarding address information obtained by the source data input module, writing the inputted Fibre Channel data frame to be forwarded into the data exchange module in the Fibre Channel switch; Based on the source port information and data forwarding address information of the source data input module obtained by the destination data output module, the fiber channel data frame in the data exchange module is read to perform data transmission.

[0005] According to the data transmission processing method of the Fibre Channel switch of the present invention, the source port information and data forwarding address information of the source data input module obtained by the destination data output module, reading the Fibre Channel data frame in the data exchange module for data transmission specifically includes: Parsing the source port information of the source data input module and the data forwarding address information obtained by the destination data output module to obtain corresponding data reading address information; According to the data reading address information, the Fibre Channel data frame to be forwarded written in the data exchange module is read out through the data reading control module in the Fibre Channel switch, and the read Fibre Channel data frame is transmitted to the device terminal associated with the Fibre Channel switch.

[0006] According to the data transmission processing method of the Fibre Channel switch of the present invention, the step of writing the input Fibre Channel data frame to be forwarded into the data exchange module in the Fibre Channel switch based on the data forwarding address information obtained by the source data input module specifically includes: Based on the data forwarding address information obtained by the source data input module, the write data control module in the Fibre Channel switch is called to write the Fibre Channel data frame to be forwarded input into the source data input module into the data exchange module in the Fibre Channel switch.

[0007] According to the data transmission processing method of the Fibre Channel switch of the present invention, performing a route query based on the destination address information to obtain the destination port information of the destination data output module corresponding to the destination address information specifically includes: Using the destination address information as an index, and searching multiple data output modules in the Fibre Channel switch through the routing information management module for port information that matches the destination address information; In the case where port information matching the destination address information is found in the multiple data output modules in the Fibre Channel switch, the port information matching the destination address information is used as the destination port information of the destination data output module.

[0008] According to the data transmission processing method of the Fibre Channel switch of the present invention, the source port information of the source data input module and the data forwarding address information are sent to the destination data output module according to the queried destination port information of the destination data output module, specifically comprising: Determine, according to the queried destination port information of the destination data output module, a destination port of the destination data output module corresponding to the destination port information; The source port information of the source data input module and the data forwarding address information are sent to the destination port of the destination data output module.

[0009] According to the data transmission processing method of the Fibre Channel switch of the present invention, the querying according to the destination port information of the destination data output module to obtain the data forwarding address information used for forwarding the Fibre Channel data frame specifically includes: Using the destination port information as an index, and performing a matching query through the routing information management module to find data forwarding address information that matches the destination port information; The data forwarding address information matching the destination port information is used as the data forwarding address information used for forwarding the fiber channel data frame.

[0010] The present invention also provides a data transmission processing device for a fiber channel switch, comprising: a forwarding routing information request unit, configured to obtain, based on a source data input module in the Fibre Channel switch, destination address information of a Fibre Channel data frame to be forwarded, and send the destination address information to a routing information management module in the Fibre Channel switch, so as to request forwarding routing information from the routing information management module in the Fibre Channel switch based on the destination address information, when data transmission is performed based on the Fibre Channel switch; A port and forwarding address information distribution unit, configured to obtain source port information of a source data input module requesting forwarding routing information based on the routing information management module when the routing information management module obtains a forwarding routing information request, and perform routing query based on the destination address information to obtain destination port information of a destination data output module corresponding to the destination address information; and perform query based on the destination port information of the destination data output module to obtain data forwarding address information used for forwarding the Fibre Channel data frame; send the queried data forwarding address information to the source data input module; and send the source port information of the source data input module and the data forwarding address information to the destination data output module based on the queried destination port information of the destination data output module; A data writing unit, configured to write the inputted Fibre Channel data frame to be forwarded into the data exchange module in the Fibre Channel switch based on the data forwarding address information obtained by the source data input module; The data reading and transmission unit is used to read the fiber channel data frame in the data exchange module for data transmission based on the source port information and data forwarding address information of the source data input module obtained by the destination data output module.

[0011] According to the data transmission processing device of the Fibre Channel switch of the present invention, the data reading and transmission unit is specifically used for: Parsing the source port information of the source data input module and the data forwarding address information obtained by the destination data output module to obtain corresponding data reading address information; According to the data reading address information, the Fibre Channel data frame to be forwarded written in the data exchange module is read out through the data reading control module in the Fibre Channel switch, and the read Fibre Channel data frame is transmitted to the device terminal associated with the Fibre Channel switch.

[0012] According to the data transmission processing device of the Fibre Channel switch of the present invention, the data writing unit is specifically used for: Based on the data forwarding address information obtained by the source data input module, the write data control module in the Fibre Channel switch is called to write the Fibre Channel data frame to be forwarded input into the source data input module into the data exchange module in the Fibre Channel switch.

[0013] According to the data transmission processing device of the Fibre Channel switch of the present invention, performing a route query based on the destination address information to obtain the destination port information of the destination data output module corresponding to the destination address information specifically includes: Using the destination address information as an index, and searching multiple data output modules in the Fibre Channel switch through the routing information management module for port information that matches the destination address information; In the case where port information matching the destination address information is found in the multiple data output modules in the Fibre Channel switch, the port information matching the destination address information is used as the destination port information of the destination data output module.

[0014] According to the data transmission processing device of the Fibre Channel switch of the present invention, the sending of the source port information of the source data input module and the data forwarding address information to the destination data output module according to the queried destination port information of the destination data output module specifically includes: Determine, according to the queried destination port information of the destination data output module, a destination port of the destination data output module corresponding to the destination port information; The source port information of the source data input module and the data forwarding address information are sent to the destination port of the destination data output module.

[0015] According to the data transmission processing device of the Fibre Channel switch of the present invention, the querying according to the destination port information of the destination data output module to obtain the data forwarding address information used for forwarding the Fibre Channel data frame specifically includes: Using the destination port information as an index, and performing a matching query through the routing information management module to find data forwarding address information that matches the destination port information; The data forwarding address information matching the destination port information is used as the data forwarding address information used for forwarding the fiber channel data frame.

[0016] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the data transmission processing method of the Fibre Channel switch as described in any one of the above items is implemented.

[0017] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the data transmission processing method of the fiber channel switch as described in any one of the above items is implemented.

[0018] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the data transmission processing method of the fiber channel switch as described in any one of the above items is implemented.

[0019] The data transmission processing method of the Fibre Channel switch provided by the present invention comprises the following steps: when data transmission is performed based on the Fibre Channel switch, the destination address information of the Fibre Channel data frame to be forwarded is obtained based on the source data input module in the Fibre Channel switch, and the destination address information is sent to the routing information management module in the Fibre Channel switch, so as to request forwarding routing information from the routing information management module in the Fibre Channel switch based on the destination address information; when the routing information management module obtains the forwarding routing information request, the source port information of the source data input module requesting forwarding routing information is obtained based on the routing information management module, and a routing query is performed based on the destination address information to obtain the destination port information of the destination data output module corresponding to the destination address information; and a query is performed based on the destination port information of the destination data output module. The method comprises: obtaining data forwarding address information used for forwarding the Fibre Channel data frame; sending the queried data forwarding address information to the source data input module; and sending the source port information of the source data input module and the data forwarding address information to the destination data output module according to the queried destination port information of the destination data output module; writing the input Fibre Channel data frame to be forwarded into the data exchange module in the Fibre Channel switch based on the data forwarding address information obtained by the source data input module; reading the Fibre Channel data frame in the data exchange module for data transmission based on the source port information and data forwarding address information of the source data input module obtained by the destination data output module, which can effectively improve the data transmission efficiency of the Fibre Channel switch, reduce the forwarding delay of the Fibre Channel switch, and thus improve the real-time performance of data interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0021] Figure 1 This is one of the flow charts of the data transmission processing method of the fiber channel switch provided by the present invention.

[0022] Figure 2 This is the second flow chart of the data transmission processing method of the fiber channel switch provided by the present invention.

[0023] Figure 3 This is the third flow chart of the data transmission processing method of the Fibre Channel switch provided by the present invention.

[0024] Figure 4 This is the fourth flow chart of the data transmission processing method of the Fibre Channel switch provided by the present invention.

[0025] Figure 5 It is a structural schematic diagram of a data transmission processing device of a fiber channel switch provided by the present invention.

[0026] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0028] Combine the following Figure 1-Figure 6 The data transmission processing method and device of the fiber channel switch of the present invention are described, and the embodiments thereof are described in detail.

[0029] The following is a detailed description of an embodiment of the data transmission processing method of the Fibre Channel switch according to the present invention. Figure 1 As shown, it is one of the flow charts of the data transmission processing method of the fiber channel switch provided by the present invention, and the specific implementation process includes the following steps: Step 101: In the case of data transmission based on a Fibre Channel switch, destination address information of a Fibre Channel data frame to be forwarded is obtained based on a source data input module in the Fibre Channel switch, and the destination address information is sent to a routing information management module in the Fibre Channel switch, so as to request forwarding routing information from the routing information management module in the Fibre Channel switch based on the destination address information.

[0030] The Fiber Channel switch, namely the FC (Fiber Switch) switch, is a high-speed network transmission relay device that uses optical fiber cable as a transmission medium. The Fiber Channel data frame is an FC (Fiber Switch) data frame. The destination address information includes the destination address for transmitting the Fiber Channel data frame. In an embodiment of the present invention, during the process of forwarding data using the Fiber Channel switch, the destination address information (i.e., D_ID) of the Fiber Channel data frame is obtained based on the source data input module, and the destination address information is used to apply for forwarding routing information to the routing information management module. Among them, the source data input module can be as follows Figure 2At least one of the data input modules 1 ... data input modules a ... data input modules n shown. Where n is an integer greater than 1. For example, the source data input module may be at least one data input module that obtains inputted Fibre Channel data frames to be forwarded from the data input modules 1 ... data input modules a ... data input modules n, and transmits the Fibre Channel data frames to be forwarded to the destination data output module.

[0031] Step 102: When the routing information management module obtains a request for forwarding routing information, the routing information management module obtains source port information of a source data input module requesting forwarding routing information, and performs routing query based on the destination address information to obtain destination port information of a destination data output module corresponding to the destination address information; and performs query based on the destination port information of the destination data output module to obtain data forwarding address information used for forwarding the Fibre Channel data frame; sends the queried data forwarding address information to the source data input module; and sends the source port information of the source data input module and the data forwarding address information to the destination data output module based on the queried destination port information of the destination data output module.

[0032] Specifically, when the routing information management module obtains a forwarding routing information request, the destination address information can be used as an index, and the routing information management module is used to search for port information matching the destination address information in multiple data output modules in the fiber channel switch. When port information matching the destination address information is found in multiple data output modules in the fiber channel switch, the port information matching the destination address information found in multiple data output modules in the fiber channel switch is used as the destination port information of the destination data output module. Further, the destination port of the destination data output module corresponding to the destination port information can be determined according to the queried destination port information of the destination data output module. The source port information of the source data input module and the data forwarding address information are sent to the destination port of the destination data output module. In addition, the destination port information can be used as an index, and a matching query can be performed through the routing information management module to search for data forwarding address information matching the destination port information. The data forwarding address information matching the destination port information is used as the data forwarding address information used for forwarding the fiber channel data frame. The queried data forwarding address information is sent to the source data input module; and according to the queried destination port information of the destination data output module, the source port information of the source data input module and the data forwarding address information are sent to the destination data output module. That is, based on the source port information of the source data input module that records the application for routing information in the routing information management module, the destination address information is used to perform routing query, and the destination port information corresponding to the destination data output module corresponding to the destination address information is obtained, and the forwarding address information used for data forwarding is obtained according to the destination port information corresponding to the destination data output module, and the queried forwarding address information used for data forwarding is sent to the source data input module, and according to the queried destination port information corresponding to the destination data output module, the source port information of the source data input module and the forwarding address information used for data forwarding are sent to the destination data output module.

[0033] Wherein, the target data output module can be as follows Figure 2 At least one of the data output modules 1 ... data output module a ... data output module n shown. Where n is an integer greater than 1. For example, the destination data output module may be at least one data output module among the data output modules 1 ... data output module a ... data output module n that receives the fiber channel data frame to be forwarded transmitted by the source data input module.

[0034] Step 103: Based on the data forwarding address information obtained by the source data input module, write the input Fibre Channel data frame to be forwarded into the data exchange module in the Fibre Channel switch.

[0035] Specifically, based on the data forwarding address information obtained by the source data input module, the write data control module in the fiber channel switch is called to write the fiber channel data frame to be forwarded input into the source data input module into the data exchange module in the fiber channel switch. That is, based on the source data input module using the data forwarding address information, a data forwarding address is generated, and based on the data forwarding address, data (i.e., the fiber channel data frame to be forwarded) is written into the data exchange unit of the data exchange module through the write data control module.

[0036] Step 104: Based on the source port information and data forwarding address information of the source data input module obtained by the destination data output module, read the Fibre Channel data frame in the data exchange module to perform data transmission.

[0037] In an embodiment of the present invention, the source port information of the source data input module and the data forwarding address information obtained can be parsed based on the destination data output module to obtain corresponding data reading address information. According to the data reading address information, the Fiber Channel data frame to be forwarded written in the data exchange module is read out through the read data control module in the Fiber Channel switch, and the read Fiber Channel data frame is transmitted to the device terminal associated with the Fiber Channel switch. That is, based on the destination data output module, the source port information of the source data input module and the data forwarding address information used for data forwarding are parsed to obtain data reading address information, and based on the data reading address information, the data to be forwarded (i.e., the Fiber Channel data frame to be forwarded) is read out from the data exchange unit of the data exchange module through the read data control module, and the read data is sent out.

[0038] The Fibre Channel switch of the present invention does not need a routing information exchange module. After the destination port information and data forwarding address information (i.e. forwarding routing address information) are applied for by the routing information management module, the routing forwarding address information is sent to the source data input module and the destination data output module at the same time based on the routing information management module. The storage information of the data to be forwarded can be directly obtained based on the destination data output module, and the data to be forwarded can be read from the data exchange module, which saves the time for the source data input module to send the data forwarding address information of the data to be forwarded to the destination data output module via the routing information exchange module, thereby reducing the data forwarding delay. Removing the routing information exchange module also saves the resources used for the entire FC switch implementation.

[0039] It should be noted that in an FC switching network, in order to reduce forwarding delay, the FC switch system operating clock can be increased, but increasing the system operating clock will increase the power consumption of the FC switch. In order to solve the above problem, the present invention proposes a low forwarding delay FC switch data transmission solution. This solution can optimize the switch architecture, reduce forwarding delay, and reduce the resources used by the FC switch, thereby reducing power consumption. In an embodiment of the present invention, the fiber channel switch composition block diagram is as follows Figure 2 As shown. It is composed of data input modules 1-n, routing information management modules, write data control modules, data exchange modules, read data control modules and data output modules 1-n. Specifically, the data input module is a module used to manage the data input to the FC switch, such as the routing application module, which writes the data to the data exchange module through the write data control module according to the routing application result. The routing information management module is a management module for the routing address and status of the FC switch during data exchange. The write data control module is a control module used to write data from several data input modules to the data exchange module. The data exchange module is a module used to write and read data in the FC switch to realize the data exchange function. The read data control module is a control module in the FC switch used to read the written data from the data exchange module for several data output modules. The data output module is a module in the FC switch used to read the data to be sent from the data exchange module and output it in a specific format.

[0040] like Figure 4As shown, the fiber channel data frame to be forwarded (i.e., FC frame or FC data frame) is output to the data input module (such as the source data input module). Based on the data input module, the D_ID information (i.e., the destination address information) of the FC frame (i.e., the fiber channel data frame) is obtained. Based on the data input module, the D_ID information is used to apply for forwarding routing information to the routing information management module. Based on the routing information management module, the port information (i.e., the source port information) of the source data input module that applies for routing information is recorded. Based on the routing information management module, the D_ID information is used to perform routing query to obtain the destination port corresponding to the D_ID information. Based on the routing information management module, the data forwarding address information (i.e., the forwarding address information) used for data forwarding is obtained according to the destination port. Based on the routing information management module, the data forwarding address information is sent to the source data input module, and the data forwarding address information used by the source data input module based on the destination port information and data forwarding is sent to the destination data output module. Based on the data input module, the data forwarding address information is used to generate a data forwarding address, and the data is written to the data exchange unit of the data exchange module through the write data control module. Based on the data output module (i.e., the destination data output module), the source port information of the source data input module and the data forwarding address information used for data forwarding are parsed, and the data to be forwarded is read out from the data exchange unit of the data exchange module through the data reading control module, and the read data is sent out. Based on the destination data output module, after the FC data frame is sent, the forwarding address (i.e., Figure 2 In the address release 1…address release a…address release n), the data forwarding address information includes the forwarding address.

[0041] In addition, if Figure 3As shown, it can also be composed of a data input module, a routing information management module, a routing information exchange module, a write data control module, a data exchange module, a read data control module and a data output module. In the process of data forwarding, the destination address information (D_ID information) of the FC data frame is obtained based on the source data input module, and the D_ID information is used to apply for forwarding routing information to the routing information management module; the routing information management module uses the D_ID information to perform routing query, obtains the destination port corresponding to the destination data output module corresponding to the D_ID information, obtains the forwarding address information used for data forwarding according to the destination port corresponding to the destination data output module, and sends the port information corresponding to the queried destination data output module and the forwarding address information used for data forwarding to the source data input module; the source data input module uses the data forwarding address information to generate a data forwarding address, writes the data to the data exchange unit of the data exchange module through the write data control module, and sends the port information corresponding to the destination data output module and the forwarding address information used for data forwarding to the routing information exchange module. Based on the routing information module, the forwarding address information used for data forwarding is sent to the destination data output module according to the port information corresponding to the destination data output module. Based on the destination data output module, the data to be forwarded is read out from the data exchange unit of the data exchange module through the data reading control module according to the forwarding address information, and the read data is sent out. The Fiber Channel switch described in the present invention does not need a routing information exchange module. After the destination port information and data forwarding address information (i.e. forwarding routing address information) are applied for by the routing information management module, the routing forwarding address information is sent to the source data input module and the destination data output module at the same time based on the routing information management module. Based on the destination data output module, the storage information of the data to be forwarded can be directly obtained, and the data to be forwarded can be read from the data exchange module, which saves the time for the source data input module to send the data forwarding address information of the data to be forwarded to the destination data output module via the routing information exchange module, thereby reducing the data forwarding delay. Removing the routing information exchange module also saves the resources used for the entire FC switch implementation.

[0042] The data transmission processing method of the fiber channel switch of the present invention comprises the following steps: when data transmission is performed based on the fiber channel switch, the destination address information of the fiber channel data frame to be forwarded is obtained based on the source data input module in the fiber channel switch, and the destination address information is sent to the routing information management module in the fiber channel switch, so as to request the routing information management module in the fiber channel switch to forward routing information based on the destination address information; when the routing information management module obtains the forwarding routing information request, the source port information of the source data input module requesting the forwarding routing information is obtained based on the routing information management module, and a routing query is performed based on the destination address information to obtain the destination port information of the destination data output module corresponding to the destination address information; and a query is performed based on the destination port information of the destination data output module to obtain the forwarding routing information of the fiber channel data frame. The invention discloses a method for transmitting the data forwarding address information used by the Fibre Channel switch by sending the queried data forwarding address information to the source data input module; transmitting the queried data forwarding address information to the source data input module; and transmitting the source port information of the source data input module and the data forwarding address information to the destination data output module according to the queried destination port information of the destination data output module; writing the input Fibre Channel data frame to be forwarded into the data exchange module in the Fibre Channel switch based on the data forwarding address information obtained by the source data input module; reading the Fibre Channel data frame in the data exchange module for data transmission based on the source port information and data forwarding address information of the source data input module obtained by the destination data output module, which can effectively improve the data transmission efficiency of the Fibre Channel switch, reduce the forwarding delay of the Fibre Channel switch, and reduce the resources used by the Fibre Channel switch, thereby improving the real-time performance of data interaction and reducing power consumption.

[0043] The data transmission processing device of the fiber channel switch provided by the present invention is described below. The data transmission processing device of the fiber channel switch described below and the data transmission processing method of the fiber channel switch described above can be referred to each other. Figure 5 As shown, it is a schematic diagram of the structure of the data transmission processing device of the fiber channel switch provided by the present invention. The data transmission processing device of the fiber channel switch of the present invention specifically includes the following parts: The forwarding routing information request unit 501 is used to obtain the destination address information of the Fibre Channel data frame to be forwarded based on the source data input module in the Fibre Channel switch when data transmission is performed based on the Fibre Channel switch, and send the destination address information to the routing information management module in the Fibre Channel switch to request forwarding routing information from the routing information management module in the Fibre Channel switch based on the destination address information.

[0044] The port and forwarding address information distribution unit 502 is used to obtain the source port information of the source data input module requesting forwarding routing information based on the routing information management module when the routing information management module obtains a forwarding routing information request, and perform routing query based on the destination address information to obtain the destination port information of the destination data output module corresponding to the destination address information; and perform query based on the destination port information of the destination data output module to obtain the data forwarding address information used for forwarding the Fibre Channel data frame; send the queried data forwarding address information to the source data input module; and send the source port information of the source data input module and the data forwarding address information to the destination data output module based on the queried destination port information of the destination data output module.

[0045] The data writing unit 503 is used to write the inputted Fibre Channel data frame to be forwarded into the data exchange module in the Fibre Channel switch based on the data forwarding address information obtained by the source data input module.

[0046] The data reading and transmission unit 504 is used to read the fiber channel data frame in the data exchange module for data transmission based on the source port information and data forwarding address information of the source data input module obtained by the destination data output module.

[0047] According to the data transmission processing device of the Fibre Channel switch of the present invention, the data reading and transmission unit is specifically used for: Parsing the source port information of the source data input module and the data forwarding address information obtained by the destination data output module to obtain corresponding data reading address information; According to the data reading address information, the Fibre Channel data frame to be forwarded written in the data exchange module is read out through the data reading control module in the Fibre Channel switch, and the read Fibre Channel data frame is transmitted to the device terminal associated with the Fibre Channel switch.

[0048] According to the data transmission processing device of the Fibre Channel switch of the present invention, the data writing unit is specifically used for: Based on the data forwarding address information obtained by the source data input module, the write data control module in the Fibre Channel switch is called to write the Fibre Channel data frame to be forwarded input into the source data input module into the data exchange module in the Fibre Channel switch.

[0049] According to the data transmission processing device of the Fibre Channel switch of the present invention, performing a route query based on the destination address information to obtain the destination port information of the destination data output module corresponding to the destination address information specifically includes: Using the destination address information as an index, and searching multiple data output modules in the Fibre Channel switch through the routing information management module for port information that matches the destination address information; In the case where port information matching the destination address information is found in the multiple data output modules in the Fibre Channel switch, the port information matching the destination address information is used as the destination port information of the destination data output module.

[0050] According to the data transmission processing device of the Fibre Channel switch of the present invention, the sending of the source port information of the source data input module and the data forwarding address information to the destination data output module according to the queried destination port information of the destination data output module specifically includes: Determine, according to the queried destination port information of the destination data output module, a destination port of the destination data output module corresponding to the destination port information; The source port information of the source data input module and the data forwarding address information are sent to the destination port of the destination data output module.

[0051] According to the data transmission processing device of the Fibre Channel switch of the present invention, the querying according to the destination port information of the destination data output module to obtain the data forwarding address information used for forwarding the Fibre Channel data frame specifically includes: Using the destination port information as an index, and performing a matching query through the routing information management module to find data forwarding address information that matches the destination port information; The data forwarding address information matching the destination port information is used as the data forwarding address information used for forwarding the fiber channel data frame.

[0052] The data transmission processing device of the Fibre Channel switch provided by the present invention obtains the destination address information of the Fibre Channel data frame to be forwarded based on the source data input module in the Fibre Channel switch when data transmission is performed based on the Fibre Channel switch, and sends the destination address information to the routing information management module in the Fibre Channel switch, so as to request forwarding routing information from the routing information management module in the Fibre Channel switch based on the destination address information; when the routing information management module obtains the forwarding routing information request, the source port information of the source data input module requesting forwarding routing information is obtained based on the routing information management module, and routing query is performed based on the destination address information to obtain the destination port information of the destination data output module corresponding to the destination address information; and query is performed according to the destination port information of the destination data output module, The method comprises: obtaining data forwarding address information used for forwarding the Fibre Channel data frame; sending the queried data forwarding address information to the source data input module; and sending the source port information of the source data input module and the data forwarding address information to the destination data output module according to the queried destination port information of the destination data output module; writing the input Fibre Channel data frame to be forwarded into the data exchange module in the Fibre Channel switch based on the data forwarding address information obtained by the source data input module; reading the Fibre Channel data frame in the data exchange module for data transmission based on the source port information and data forwarding address information of the source data input module obtained by the destination data output module, which can effectively improve the data transmission efficiency of the Fibre Channel switch, reduce the forwarding delay of the Fibre Channel switch, and thus improve the real-time performance of data interaction.

[0053] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6As shown, the electronic device (i.e., electronic device) may include: a processor 601, a communications interface 604, a memory 602, and a communication bus 603, wherein the processor 601, the communications interface 604, and the memory 602 communicate with each other through the communication bus 603. The processor 601 may call the logic instructions in the memory 602 to execute the data transmission processing method of the Fiber Channel switch, the method comprising: in the case of data transmission based on the Fiber Channel switch, obtaining the destination address information of the Fiber Channel data frame to be forwarded based on the source data input module in the Fiber Channel switch, and sending the destination address information to the routing information management module in the Fiber Channel switch, so as to request forwarding routing information from the routing information management module in the Fiber Channel switch based on the destination address information; in the case of the routing information management module obtaining the forwarding routing information request, obtaining the source port information of the source data input module requesting the forwarding routing information based on the routing information management module, and performing routing query based on the destination address information to obtain the destination data corresponding to the destination address information. The data output module obtains the destination port information of the destination data output module; and inquires according to the destination port information of the destination data output module to obtain the data forwarding address information used for forwarding the Fibre Channel data frame; sends the queried data forwarding address information to the source data input module; and according to the queried destination port information of the destination data output module, sends the source port information of the source data input module and the data forwarding address information to the destination data output module; based on the data forwarding address information obtained by the source data input module, writes the input Fibre Channel data frame to be forwarded into the data exchange module in the Fibre Channel switch; based on the source port information and data forwarding address information of the source data input module obtained by the destination data output module, reads the Fibre Channel data frame in the data exchange module for data transmission.

[0054] In addition, the logic instructions in the above-mentioned memory 602 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0055] On the other hand, the present application also provides a computer program product, which includes a computer program. The computer program can be stored on a computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the data transmission processing method of the Fibre Channel switch provided by the above methods. The method includes: in the case of data transmission based on the Fibre Channel switch, based on the source data input module in the Fibre Channel switch, obtaining the destination address information of the Fibre Channel data frame to be forwarded, and sending the destination address information to the routing information management module in the Fibre Channel switch, so as to request forwarding routing information from the routing information management module in the Fibre Channel switch based on the destination address information; in the case where the routing information management module obtains the forwarding routing information request, based on the routing information management module, obtaining the source port information of the source data input module requesting the forwarding routing information, and based on the The method comprises the following steps: performing a routing query based on the destination address information to obtain the destination port information of the destination data output module corresponding to the destination address information; performing a query based on the destination port information of the destination data output module to obtain the data forwarding address information used for forwarding the Fibre Channel data frame; sending the queried data forwarding address information to the source data input module; and sending the source port information of the source data input module and the data forwarding address information to the destination data output module based on the queried destination port information of the destination data output module; writing the input Fibre Channel data frame to be forwarded into the data exchange module in the Fibre Channel switch based on the data forwarding address information obtained by the source data input module; and reading the Fibre Channel data frame in the data exchange module for data transmission based on the source port information and the data forwarding address information of the source data input module obtained by the destination data output module.

[0056] On the other hand, the present application also provides a computer-readable storage medium, the computer-readable storage medium includes a stored program, wherein when the program is run, the data transmission processing method of the Fibre Channel switch provided by the above-mentioned methods is executed, the method comprising: in the case of data transmission based on the Fibre Channel switch, based on the source data input module in the Fibre Channel switch, obtaining the destination address information of the Fibre Channel data frame to be forwarded, and sending the destination address information to the routing information management module in the Fibre Channel switch, so as to request forwarding routing information from the routing information management module in the Fibre Channel switch based on the destination address information; in the case where the routing information management module obtains a forwarding routing information request, based on the routing information management module, obtaining the source port information of the source data input module requesting forwarding routing information, and performing a routing query based on the destination address information. , obtain the destination port information of the destination data output module corresponding to the destination address information; and query according to the destination port information of the destination data output module to obtain the data forwarding address information used for forwarding the Fibre Channel data frame; send the queried data forwarding address information to the source data input module; and according to the queried destination port information of the destination data output module, send the source port information of the source data input module and the data forwarding address information to the destination data output module; based on the data forwarding address information obtained by the source data input module, write the input Fibre Channel data frame to be forwarded into the data exchange module in the Fibre Channel switch; based on the source port information and data forwarding address information of the source data input module obtained by the destination data output module, read the Fibre Channel data frame in the data exchange module for data transmission.

[0057] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0058] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0059] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A data transmission processing method for a fiber channel switch, characterized in that: include: In the case of data transmission based on a Fibre Channel switch, obtaining destination address information of a Fibre Channel data frame to be forwarded based on a source data input module in the Fibre Channel switch, and sending the destination address information to a routing information management module in the Fibre Channel switch, so as to request forwarding routing information from the routing information management module in the Fibre Channel switch based on the destination address information; In the case where the routing information management module obtains a request for forwarding routing information, the routing information management module obtains source port information of a source data input module requesting forwarding routing information, and performs routing query based on the destination address information to obtain destination port information of a destination data output module corresponding to the destination address information; and querying according to the destination port information of the destination data output module to obtain the data forwarding address information used for forwarding the fiber channel data frame; Sending the queried data forwarding address information to the source data input module; And according to the queried destination port information of the destination data output module, the source port information of the source data input module and the data forwarding address information are sent to the destination data output module; Based on the data forwarding address information obtained by the source data input module, writing the inputted Fibre Channel data frame to be forwarded into the data exchange module in the Fibre Channel switch; Based on the source port information and data forwarding address information of the source data input module obtained by the destination data output module, the fiber channel data frame in the data exchange module is read to perform data transmission.

2. The data transmission processing method of a Fibre Channel switch according to claim 1, characterized in that: The step of reading the fiber channel data frame in the data exchange module for data transmission based on the source port information and the data forwarding address information of the source data input module obtained by the destination data output module specifically includes: Parsing the source port information of the source data input module and the data forwarding address information obtained by the destination data output module to obtain corresponding data reading address information; According to the data reading address information, the Fibre Channel data frame to be forwarded written in the data exchange module is read out through the data reading control module in the Fibre Channel switch, and the read Fibre Channel data frame is transmitted to the device terminal associated with the Fibre Channel switch.

3. The data transmission processing method of a Fibre Channel switch according to claim 1, characterized in that: The step of writing the inputted Fibre Channel data frame to be forwarded into the data exchange module in the Fibre Channel switch based on the data forwarding address information obtained by the source data input module specifically includes: Based on the data forwarding address information obtained by the source data input module, the write data control module in the Fibre Channel switch is called to write the Fibre Channel data frame to be forwarded input into the source data input module into the data exchange module in the Fibre Channel switch.

4. The data transmission processing method of a Fibre Channel switch according to claim 1, characterized in that: The performing of routing query based on the destination address information to obtain the destination port information of the destination data output module corresponding to the destination address information specifically includes: Using the destination address information as an index, and searching multiple data output modules in the Fibre Channel switch through the routing information management module for port information that matches the destination address information; In the case where port information matching the destination address information is found in the multiple data output modules in the Fibre Channel switch, the port information matching the destination address information is used as the destination port information of the destination data output module.

5. The data transmission processing method of a Fibre Channel switch according to claim 1, characterized in that: The step of sending the source port information of the source data input module and the data forwarding address information to the destination data output module according to the queried destination port information of the destination data output module specifically includes: Determine, according to the queried destination port information of the destination data output module, a destination port of the destination data output module corresponding to the destination port information; The source port information of the source data input module and the data forwarding address information are sent to the destination port of the destination data output module.

6. The data transmission processing method of a Fibre Channel switch according to claim 1, characterized in that: The querying according to the destination port information of the destination data output module to obtain the data forwarding address information used for forwarding the fiber channel data frame specifically includes: Using the destination port information as an index, and performing a matching query through the routing information management module to find data forwarding address information that matches the destination port information; The data forwarding address information matching the destination port information is used as the data forwarding address information used for forwarding the fiber channel data frame.

7. A data transmission processing device for a fiber channel switch, characterized in that: include: a forwarding routing information request unit, configured to obtain, based on a source data input module in the Fibre Channel switch, destination address information of a Fibre Channel data frame to be forwarded, and send the destination address information to a routing information management module in the Fibre Channel switch, so as to request forwarding routing information from the routing information management module in the Fibre Channel switch based on the destination address information, when data transmission is performed based on the Fibre Channel switch; A port and forwarding address information distribution unit, configured to obtain source port information of a source data input module requesting forwarding routing information based on the routing information management module when the routing information management module obtains a forwarding routing information request, and to perform routing query based on the destination address information to obtain destination port information of a destination data output module corresponding to the destination address information; and querying according to the destination port information of the destination data output module to obtain the data forwarding address information used for forwarding the fiber channel data frame; Sending the queried data forwarding address information to the source data input module; And according to the queried destination port information of the destination data output module, the source port information of the source data input module and the data forwarding address information are sent to the destination data output module; A data writing unit, configured to write the inputted Fibre Channel data frame to be forwarded into the data exchange module in the Fibre Channel switch based on the data forwarding address information obtained by the source data input module; The data reading and transmission unit is used to read the fiber channel data frame in the data exchange module for data transmission based on the source port information and data forwarding address information of the source data input module obtained by the destination data output module.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the data transmission processing method of the Fibre Channel switch according to any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data transmission processing method of the Fibre Channel switch according to any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the data transmission processing method of the Fibre Channel switch according to any one of claims 1 to 6 is implemented.