CN110166856B - Fiber channel network reconstruction design method and device - Google Patents

Fiber channel network reconstruction design method and device Download PDF

Info

Publication number
CN110166856B
CN110166856B CN201910386631.4A CN201910386631A CN110166856B CN 110166856 B CN110166856 B CN 110166856B CN 201910386631 A CN201910386631 A CN 201910386631A CN 110166856 B CN110166856 B CN 110166856B
Authority
CN
China
Prior art keywords
mapping table
application
port
reconstruction
node machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910386631.4A
Other languages
Chinese (zh)
Other versions
CN110166856A (en
Inventor
王建宇
魏雪菲
邱征
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Aeronautics Computing Technique Research Institute of AVIC
Original Assignee
Xian Aeronautics Computing Technique Research Institute of AVIC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Aeronautics Computing Technique Research Institute of AVIC filed Critical Xian Aeronautics Computing Technique Research Institute of AVIC
Priority to CN201910386631.4A priority Critical patent/CN110166856B/en
Publication of CN110166856A publication Critical patent/CN110166856A/en
Application granted granted Critical
Publication of CN110166856B publication Critical patent/CN110166856B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0073Provisions for forwarding or routing, e.g. lookup tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0081Fault tolerance; Redundancy; Recovery; Reconfigurability

Abstract

The invention belongs to the computer communication technology and provides a method and a device for designing a fiber channel network reconstruction. The method comprises the following steps: when the node machine sends a message, inquiring a port ID corresponding to the application ID in the basic mapping table; filling the inquired port ID into a frame header buffer area and sending a data frame; when the application is reconstructed, the port ID corresponding to the node machine application ID is inquired in the reconstruction mapping table, and the inquired port ID is used for replacing the port ID corresponding to the node machine application ID in the basic mapping table.

Description

Fiber channel network reconstruction design method and device
Technical Field
The invention belongs to the computer communication technology, and relates to an FC network reconstruction design method based on port ID and application mapping in an FC communication network.
Background
In the current design of the onboard FC network, the FC node machines in the network adopt static configuration, and the switch carries out routing according to the destination port ID in the FC frame header. When a certain node or an application residing on the node in a network fails, the application residing on the node needs to be migrated to another node, and after the application migrates to a reconstructed node, the problem of routing errors can be caused by using original message communication.
Disclosure of Invention
The purpose of the invention is as follows:
the invention provides a design method for realizing FC network reconstruction based on port ID and application ID mapping, which avoids normal message communication interruption caused by switching a message configuration table.
The technical scheme is as follows:
in a first aspect, a method for designing a fiber channel network reconfiguration is provided, which includes:
when the node machine sends a message, inquiring a port ID corresponding to the application ID in the basic mapping table;
filling the inquired port ID into a frame header buffer area and sending a data frame;
when the application is reconstructed, the port ID corresponding to the node machine application ID is inquired in the reconstruction mapping table, and the inquired port ID is used for replacing the port ID corresponding to the node machine application ID in the basic mapping table.
Optionally, the application comprises a source application and a destination application,
the method further comprises the following steps: before the node machine sends a message, setting an ID corresponding to an application; adding a source application ID and a destination application ID in the message attribute of the fiber channel node machine; a base mapping table and a reconstruction mapping table are defined.
Optionally, defining the base mapping table comprises:
and defining a basic mapping table according to the position of the node machine for the task operation of the avionic system.
Optionally, defining the reconfiguration mapping table includes: and defining a reconstruction mapping table according to the fault processing rule and the reconstruction strategy.
In a second aspect, a device for designing a fibre channel network reconfiguration is provided, which includes:
a query module configured to query a base mapping table for a port ID corresponding to the application ID;
a filling and sending module configured to fill the queried port ID into a frame header buffer and send a data frame;
and the replacing module is configured to query the port ID corresponding to the node machine application ID in the reconfiguration mapping table when the application is reconfigured, and replace the port ID corresponding to the node machine application ID in the basic mapping table with the queried port ID.
Optionally, the application includes a source application and a destination application, and the apparatus further includes:
an ID setting module configured to set an ID corresponding to an application;
an attribute adding module configured to add a source application ID, a destination application ID in a fibre channel node machine message attribute;
a mapping table definition module configured to define a base mapping table and a reconstruction mapping table.
Optionally, the mapping table defining module further includes:
a base mapping table definition module configured to define a base mapping table according to a node machine location where the avionics system task is running.
Optionally, the mapping table defining module further includes:
a reconstruction mapping table definition module configured to define a reconstruction mapping table according to the fault handling rules and the reconstruction policy.
Has the advantages that:
when network reconfiguration occurs, the node machine does not need to switch the message configuration table, so that normal message communication interruption caused by switching the message configuration table is avoided; in the whole reconstruction process, only application communication needing to be reconstructed is influenced, and other application communication irrelevant to reconstruction is not influenced, so that the safety of the avionic system is improved.
Drawings
Fig. 1 is a flow chart of a node machine sending a message.
Fig. 2 is an alternative base mapping table flow diagram.
Detailed Description
By adopting the FC network reconfiguration design method based on port ID and application ID mapping, when network reconfiguration occurs, the node machine does not need to switch the message configuration table, thereby avoiding normal message communication interruption caused by switching the message configuration table; only the communication related to the reconstruction application is influenced in the whole reconstruction process, and the communication of other applications which are not related to the reconstruction is not influenced.
The technical solution of the present invention is clearly and completely described below with reference to the specific examples. It is obvious that the described embodiments are only a part of the embodiments of the present invention, rather than the whole embodiments, and that all other embodiments, which can be derived by a person skilled in the art without inventive step based on the embodiments of the present invention, belong to the scope of protection of the present invention.
The invention is further described below:
firstly, according to information such as airborne network node configuration, application operation position, message flow direction and the like of an avionic system, IDs corresponding to all avionic applications in a network are predefined, message configuration tables of all FC node machines in the network are configured according to the flow direction of messages, and information such as message names, message IDs, source application IDs, destination application IDs, priorities and the like are set in message attributes, for example, the message configuration table of one node is as follows:
message name Message ID Source application ID Destination application ID Priority level
"message 1" 1 101 102 4
"message 2" 2 101 103 3
"message 3" 3 101 104 2
"message 4" 4 101 105 1
Secondly, defining a basic mapping table of application IDs and port IDs according to the positions of node machines for the task operation of the avionic system; according to the fault processing plan, a network reconstruction strategy after the node machine or the avionic application has faults is preset, and according to the reconstruction strategy, a reconstruction mapping table of an application ID and a port ID is defined:
Figure BDA0002054360090000031
thirdly, loading a message configuration table and a mapping table to all node machines in the network, when the node machines send messages, inquiring port IDs corresponding to application IDs in the basic mapping table, filling the inquired port IDs corresponding to the source application IDs and the target application IDs in a frame header buffer area, and sending data frames, as shown in FIG. 1;
fourthly, when the network fails, the system issues a reconfiguration instruction to the relevant node machine, and the node machine replaces the relevant content in the basic mapping table with the content in the specified reconfiguration mapping table according to the reconfiguration instruction of the system, and modifies the mapping relation between the application ID and the port ID, as shown in FIG. 2; when the node machine sends a message, the port ID corresponding to the application ID is changed into the reconstructed port ID, the destination port ID in the data frame is also changed into the reconstructed destination port ID, and the FC switch forwards the frame to the reconstructed node according to the destination port ID in the data frame.

Claims (8)

1. A method for designing a fiber channel network reconfiguration is characterized by comprising the following steps:
when the node machine sends a message, inquiring a port ID corresponding to the application ID in the basic mapping table;
filling the inquired port ID into a frame header buffer area and sending a data frame;
when the application is reconstructed, the port ID corresponding to the node machine application ID is inquired in the reconstruction mapping table, and the inquired port ID is used for replacing the port ID corresponding to the node machine application ID in the basic mapping table.
2. The method of claim 1, wherein the applications include a source application and a destination application,
the method further comprises the following steps: before the node machine sends a message, setting an ID corresponding to an application; adding a source application ID and a destination application ID in the message attribute of the fiber channel node machine; a base mapping table and a reconstruction mapping table are defined.
3. The method of claim 2, wherein defining a base mapping table comprises:
and defining a basic mapping table according to the position of the node machine for the task operation of the avionic system.
4. The method of claim 2, wherein defining a reconfiguration mapping table comprises: and defining a reconstruction mapping table according to the fault processing rule and the reconstruction strategy.
5. A fibre channel network reconfiguration device, comprising:
a query module configured to query a base mapping table for a port ID corresponding to the application ID;
a filling and sending module configured to fill the queried port ID into a frame header buffer and send a data frame;
and the replacing module is configured to query the port ID corresponding to the node machine application ID in the reconfiguration mapping table when the application is reconfigured, and replace the port ID corresponding to the node machine application ID in the basic mapping table with the queried port ID.
6. The apparatus of claim 5, wherein the applications comprise a source application and a destination application, and the apparatus further comprises:
an ID setting module configured to set an ID corresponding to an application;
an attribute adding module configured to add a source application ID, a destination application ID in a fibre channel node machine message attribute;
a mapping table definition module configured to define a base mapping table and a reconstruction mapping table.
7. The apparatus of claim 6, wherein the mapping table defining module further comprises:
a base mapping table definition module configured to define a base mapping table according to a node machine location where the avionics system task is running.
8. The apparatus of claim 6, wherein the mapping table defining module further comprises:
a reconstruction mapping table definition module configured to define a reconstruction mapping table according to the fault handling rules and the reconstruction policy.
CN201910386631.4A 2019-05-09 2019-05-09 Fiber channel network reconstruction design method and device Active CN110166856B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910386631.4A CN110166856B (en) 2019-05-09 2019-05-09 Fiber channel network reconstruction design method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910386631.4A CN110166856B (en) 2019-05-09 2019-05-09 Fiber channel network reconstruction design method and device

Publications (2)

Publication Number Publication Date
CN110166856A CN110166856A (en) 2019-08-23
CN110166856B true CN110166856B (en) 2021-07-16

Family

ID=67634100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910386631.4A Active CN110166856B (en) 2019-05-09 2019-05-09 Fiber channel network reconstruction design method and device

Country Status (1)

Country Link
CN (1) CN110166856B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010353A (en) * 2019-11-19 2020-04-14 中国航空工业集团公司西安航空计算技术研究所 Self-adaptive carefree network implementation method based on optical fiber channel

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281153A (en) * 2010-06-10 2011-12-14 美国博通公司 System and method for managing energy efficiency and control mechanisms in a network
WO2013013051A3 (en) * 2011-07-20 2013-03-14 Adc Telecommunications Inc. M-pair mode protection switching
CN109379130A (en) * 2018-11-21 2019-02-22 中国航空工业集团公司洛阳电光设备研究所 A kind of network reconstruction method based on optical-fibre channel node card
CN109547875A (en) * 2018-12-21 2019-03-29 西安云维智联科技有限公司 A kind of FC exchange network arbitrary port access design method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10296216B2 (en) * 2017-05-17 2019-05-21 International Business Machines Corporation Prioritizing dedicated host ports when N-port ID virtualization is enabled in a storage controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281153A (en) * 2010-06-10 2011-12-14 美国博通公司 System and method for managing energy efficiency and control mechanisms in a network
WO2013013051A3 (en) * 2011-07-20 2013-03-14 Adc Telecommunications Inc. M-pair mode protection switching
CN109379130A (en) * 2018-11-21 2019-02-22 中国航空工业集团公司洛阳电光设备研究所 A kind of network reconstruction method based on optical-fibre channel node card
CN109547875A (en) * 2018-12-21 2019-03-29 西安云维智联科技有限公司 A kind of FC exchange network arbitrary port access design method

Also Published As

Publication number Publication date
CN110166856A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
US10148485B2 (en) Apparatus and method for on-process migration of industrial control and automation system across disparate network types
CN112104486A (en) Kubernetes container-based network endpoint slicing method and system
CN104333512A (en) Distributed memory database access system and method
CN106576074A (en) Routing rule acquisition method, device and system
US11132265B2 (en) Multi-replica data restoration method and apparatus
CN101325597A (en) Method, apparatus and system for processing data
US20140344424A1 (en) System, method and computer-readable medium
CN107317832A (en) Message forwarding method and device
CN107682426B (en) Interface proxy method and application server
CN110166856B (en) Fiber channel network reconstruction design method and device
US9754032B2 (en) Distributed multi-system management
CN111190775A (en) OSD (on Screen display) replacing method, system, equipment and computer readable storage medium
CN115086330B (en) Cross-cluster load balancing system
EP3021533A1 (en) Switching device, controller, and method and system for switching device configuration and packet processing
CN109218458B (en) Writing method and device of MAC address and computer readable storage medium
CN113141405A (en) Service access method, middleware system, electronic device, and storage medium
CN104506893A (en) Information updating method, cloud server and CRM (customer relation management) server
CN106487598B (en) The more examples of isomery redundancy Snmp agreements realize system and its implementation
CN108540408B (en) Openstack-based distributed virtual switch management method and system
CN106897421A (en) Memory database read and write abruption system and method based on sentry's pattern
CN104079679B (en) Realize the method that mac address table is consistent
CN116016028A (en) Method, system, medium and equipment for creating multiple network interfaces for Pod based on IPvlan
CN106899504B (en) Cross-cluster service routing method and device
EP4181475A1 (en) Method, apparatus and system for processing fault
CN105335217A (en) Server quiescing method and system

Legal Events

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