CN103379151B - A kind of flux exchange, Apparatus and system - Google Patents

A kind of flux exchange, Apparatus and system Download PDF

Info

Publication number
CN103379151B
CN103379151B CN201210118340.5A CN201210118340A CN103379151B CN 103379151 B CN103379151 B CN 103379151B CN 201210118340 A CN201210118340 A CN 201210118340A CN 103379151 B CN103379151 B CN 103379151B
Authority
CN
China
Prior art keywords
node
switch
new registration
mode standard
identification information
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.)
Expired - Fee Related
Application number
CN201210118340.5A
Other languages
Chinese (zh)
Other versions
CN103379151A (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.)
Shandong Rongzhixin Enterprise Consulting Service Co ltd
Suzhou Yudeshui Electric Technology Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210118340.5A priority Critical patent/CN103379151B/en
Publication of CN103379151A publication Critical patent/CN103379151A/en
Application granted granted Critical
Publication of CN103379151B publication Critical patent/CN103379151B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Embodiments provide a kind of flow conversion method, Apparatus and system, relate to the communications field, it is possible to reduce at the converting flow of mode standard FC switch, improve systematic function.NPV model F C switch receives new registration node and the node identification information of matched node that mode standard FC switch sends, local forward table is generated, so that the flow of exchange is directly forwarded according to described local forward table by NPV model F C switch when described new registration node and described matched node carry out flow exchange according to described node identification information.The flow that the embodiment of the present invention is applied in FC SAN forwards.

Description

A kind of flux exchange, Apparatus and system
Technical field
The present invention relates to the communications field, particularly relate to a kind of flux exchange, Apparatus and system.
Background technology
(Fibre Channel is called for short: FC) storage area network (Storage Area optical-fibre channel Network, is called for short: SAN) mainly by band host bus adaptor (Host Bus Adapter, It is called for short: the HBA) node blocked i.e. main frame or memorizer and fiber channel network (FC Fabric) Composition, described FC Fabric includes several mode standard FC switches, each standard Model F C switch has a domain name identification (domain ID).Described node is at FC Fabric On succeed in registration after, described FC Fabric can give described node distribute a node port identification (Node Port ID, is called for short: N_Pord ID), described N_Port ID is formed by 24, Wherein only having most-significant byte field is that the domain ID of standard FC switch is for distinguishing described joint The mode standard FC switch of some ownership, so FC SAN network Plays model F C The number of switch the most not can exceed that 256, and due to route technology, chain of command number Being usually no more than 50 according to the number of the reason mode standard FC switches such as synchronization, this limits The scale of FC SAN network.Prior art introduces node port virtualization NPV (Node Port Virtualization, is called for short: NPV) model F C switch carrys out spread F C SAN net The scale of network.Described NPV model F C switch is in node and mode standard FC switch Between, be equivalent to proxy server, there is no domain ID, for transparent transmission node and master die Flow between formula FC switch.
In FC SAN network all of node carry out each other flow exchange all follow subregion (Zone) secure interaction mechanism, the most only node in same Zone just can be carried out Flow exchanges.Often one Zone of definition, manager can be handed down to institute Zone synchronizing information Stating all mode standard FC switches in FC Fabric, described Zone information includes being in The node identification information of all nodes in described Zone.Due to NPV model F C switch There is no domain ID, and be with domain ID as destination when manager issues Zone information Location issues, so NPV model F C switch does not receives the Zone information synchronizing to issue.
It is between two main frames under same NPV model F C switch and is carrying out flow During exchange, need first to be sent to by flow this NPV model F C switch, then sent by it Give the mode standard FC switch of ownership, this mode standard FC switch confirm described two After individual main frame belongs to same Zone, the flow received is handed over by this NPV model F C again Change planes and be sent to carry out the main frame of flow exchange.So flow is all sent to mode standard FC Switch, then forwarded by mode standard FC switch, cause a large amount of flow to concentrate on master die Formula FC switch, causes network congestion, reduces the systematic function of network.
Summary of the invention
Embodiments of the invention provide the method for a kind of flow forwarding, Apparatus and system, can subtract Few converting flow at mode standard FC switch, improves systematic function.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
A kind of flux exchange, including:
Node port virtualization NPV pattern Fibre Channel switch receives mode standard FC The new registration node of switch transmission and the node identification information of matched node;Described matched node For identical with the registered port of described new registration node and belong to the registered of same subregion Zone Node;
Described NPV model F C switch is according to described new registration node and the joint of matched node Point identification information generates local forward table, and described local forward table includes carrying out two-by-two flow exchange Described new registration node and the node identification information of described matched node;
Described NPV model F C switch clicks at described new registration node and described matching section Directly the flow of exchange is forwarded according to described local forward table during the exchange of row flow.
A kind of flow forwarding method, including:
Mode standard Fibre Channel switch query is identical with the registered port of new registration node And belong to the node identification information of the matched node of same subregion Zone;
Described mode standard FC switch by described registered port by described new registration node and The node identification information of described matched node is sent to node port virtualization NPV model F C Switch, so that described NPV model F C switch generates local forward table, so that Described NPV model F C switch flows at described new registration node and described matched node Directly the flow of exchange is forwarded according to described local forward table during amount exchange;Described this locality Forward table includes can carrying out the described new registration node of flow exchange and described matching section two-by-two The node identification information of point.
A kind of NPV model F C switch, including:
Receptor, for receiving new registration node and the coupling that mode standard FC switch sends The node identification information of node;Described matched node is identical with the registered port of new registration node And belong to the node of same Zone;
Signal generating unit, for according to described new registration node and the node identification information of matched node Generating local forward table, described local forward table includes the described new note carrying out flow exchange two-by-two Volume node and the node identification information of described matched node;
Processor, for when described new registration node and described matched node carry out flow exchange Directly the flow of exchange is forwarded according to described local forward table.
A kind of mode standard FC switch, including:
Query unit, for inquiring about identical with the registered port of new registration node and belonging to same The node identification information of the matched node of Zone;
Transmitter, by described registered port by described new registration node and described matched node Node identification information is sent to NPV model F C switch;So that described NPV model F C Switch generates local forward table so that described NPV model F C switch described newly Register node and described matched node carry out during flow exchange direct according to described local forward table The flow of exchange is forwarded;Described local forward table includes the institute carrying out flow exchange two-by-two State new registration node and the node identification information of described matched node.
A kind of flow exchange system, including above-mentioned NPV model F C switch and master die Formula FC switch.
A kind of flux exchange of technique scheme offer, Apparatus and system, can allow The node of the same Zone under same NPV model F C switch is directly by described NPV Model F C switch carries out flow exchange, it is not necessary to carried out by mode standard FC switch again Flow exchanges, such that it is able to reduce the converting flow of mode standard FC switch, improves system Performance.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below by right In embodiment or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, Accompanying drawing in describing below is only some embodiments of the present invention, for those of ordinary skill in the art From the point of view of, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings Figure.
A kind of flux exchange schematic flow sheet that Fig. 1 provides for embodiment 1;
The another kind of flux exchange schematic flow sheet that Fig. 2 provides for embodiment 1;
A kind of flux exchange schematic flow sheet that Fig. 3 provides for embodiment 2;
The structured flowchart of a kind of NPV model F C switch that Fig. 4 provides for embodiment 2;
The structured flowchart of the another kind of NPV model F C switch that Fig. 5 provides for embodiment 2;
The structured flowchart of a kind of mode standard FC switch that Fig. 6 provides for embodiment 2;
The structured flowchart of the another kind of mode standard FC switch that Fig. 7 provides for embodiment 2;
A kind of flow exchange system that Fig. 8 provides for embodiment 2.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is entered Row clearly and completely describes, it is clear that described embodiment is only a part of embodiment of the present invention, Rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having Have and make the every other embodiment obtained under creative work premise, broadly fall into present invention protection Scope.
Embodiment 1:
Embodiments provide a kind of flux exchange, hand over for NPV model F C Change planes side, as it is shown in figure 1, said method comprising the steps of:
101, NPV model F C switch receives the new note that mode standard FC switch sends Volume node and the node identification information of matched node.
FC SAN is mainly by the node i.e. main frame of band HBA card or memorizer and FC Fabric Composition, includes several mode standard FC switch and NPV in described FC Fabric Model F C switch.When there being new node FC to be accessed SAN network, optical fiber can be passed through The NPV model F C switch that orientation connects mode standard FC in described FC Fabric Switch sends registration request;Described mode standard FC switch and described NPV model F C Switch also has optical fiber to connect in corresponding ports orientation, and described mode standard FC switch is The mode standard FC switch of new access node ownership.The standard of described new access node ownership Model F C switch, can be to described new access after the registration request receiving new access node Node sends a N_Port ID, represents that described new access node succeeds in registration.Wherein said First 8 of N_Port ID, the address for the mode standard FC switch of described ownership identifies, Latter 16 is that to be that new registration node is the most above-mentioned newly connect for the mode standard FC switch of described ownership The address mark of ingress distribution, is used for representing described new registration address of node.
Described matched node is identical with the registered port of new registration node and belongs to same Zone Registered nodes.Registered port described here is that standard FC switch receiving node sends Registration request time port used.Described mode standard FC switch is to described new registration After node is assigned with N_Port ID, described mode standard FC switch can inquire about described newly The matched node of register node.The registered port phase of described matched node and described new registration node With, owing to a port of each NPV mode exchange with standard FC switch passes through Optical fiber connects one to one, therefore can confirm that described matched node and described new registration node are same Under one NPV model F C switch, be by same NPV model F C switch to The registration of described mode standard FC switch.Described matched node belongs to described new registration node In same Zone, then can confirm that described matched node and described new registration node can be two-by-two Directly carry out flow exchange.From the foregoing, it will be observed that described matched node is and described new registration node exists The node of flow exchange can be directly carried out under same NPV model F C switch.Described Mode standard FC switch can inquire the node identification information of described matched node.Then, Described mode standard FC exchange opportunity is by the node identification information of described new registration node and described The node identification information of matched node is sent out by the optical fiber of above-mentioned registered port and connectivity port Giving described NPV model F C switch, described NPV model F C switch receives standard The new registration node of model F C switch transmission and the node identification information of matched node.
102, NPV model F C switch generates this locality forwarding according to described node identification information Table.
Described NPV model F C switch can be according to the new registration node received and coupling The node identification information of node generates local forward table, and described local forward table includes described new note The node identification information of volume node and the node identification information of described matched node.
103, described NPV model F C switch is at described new registration node and described matching section Directly the flow of exchange is forwarded according to described local forward table when point carries out flow exchange.
When described new registration node need with certain matched node carry out flow exchange time, described newly The flow needing exchange can be sent to described by register node and certain matched node described NPV model F C switch, local forward table described in described NPV model F C switch query Find the node identification information of described new registration node and the node mark of certain matched node described Knowledge information in same described local forward table, therefore judge described new registration node with described certain Individual matched node can carry out flow exchange, and the most described NPV model F C switch can be straight Connect and described flow is transmitted to the destination node that this flow is corresponding.Said herein directly flow is turned Issue destination node to refer to directly flow is not transmitted to target by mode standard FC switch Node.The most described flow needing to forward need not send to mode standard FC switch, Forwarded by mode standard FC switch again, it is possible to reduce the forwarding of mode standard FC switch Flow, improves systematic function.
The flux exchange that the embodiment of the present invention provides, is additionally operable to mode standard FC switch Side, as in figure 2 it is shown, said method comprising the steps of:
201, mode standard FC switch query identical with the registered port of new registration node and Belong to the node identification information of the matched node of same Zone.
FC SAN is mainly by the node i.e. main frame of band HBA card or memorizer and FC Fabric Composition, includes several mode standard FC switch and NPV in described FC Fabric Model F C switch.When there being new node FC to be accessed SAN network, optical fiber can be passed through The NPV model F C switch that orientation connects mode standard FC in described FC Fabric Switch sends registration request;Described mode standard FC switch and described NPV model F C Switch also has optical fiber to connect in corresponding ports orientation, and described mode standard FC switch is The mode standard FC switch of new access node ownership.The standard of described new access node ownership Model F C switch, can be to described new access after the registration request receiving new access node Node sends a N_Port ID, represents that described new access node succeeds in registration.Wherein said First 8 of N_Port ID, the address for the mode standard FC switch of described ownership identifies, Latter 16 is that to be that new registration node is the most above-mentioned newly connect for the mode standard FC switch of described ownership The address mark of ingress distribution, is used for representing described new registration address of node.
The mode standard FC switch of described new registration node-home can be inquired about and save with new registration The registered port of point is identical and belongs to the matched node of same Zone, registration end described here The port that mouth is used when being the registration request of standard FC switch receiving node transmission.Due to often Individual NPV mode exchange all with a port of standard FC switch by optical fiber one a pair Should connect, if described registered port is identical, can confirm that described matched node and described new registration Node, under same NPV model F C switch, is by same NPV model F C Switch is registered to described mode standard FC switch.If described matched node with described newly Register node belongs to same Zone, and the most described matched node and described new registration node can two Two directly carry out flow exchange.From the foregoing, it will be observed that described matched node and described new registration node are Can the most directly carry out the node of flow exchange.Described mode standard FC switch can be looked into Ask the node identification information of described matched node.
202, mode standard FC switch passes through registered port by described new registration node and institute The node identification information stating matched node is sent to NPV model F C switch;So that institute State NPV model F C switch and generate local forward table, so that described NPV model F C Switch is carried out when flow exchanges according to described at described new registration node and described matched node The flow of exchange is directly forwarded by local forward table.
Described local forward table includes the described new registration node that can carry out flow exchange two-by-two Node identification information with described matched node.
Described mode standard FC switch is at the node identification information inquiring described matched node After, can be by the node identification information of described new registration node and the node identification of described matched node Information is sent to described NPV pattern by the optical fiber of above-mentioned registered port and this port of connection FC switch.Described NPV model F C switch can accordingly generate local forward table, institute State local forward table and include described new registration node and the node identification information of described matched node. So that need to carry out flow exchange when described new registration node and certain described matched node Time, the flow needing exchange can be sent by described new registration node and certain matched node described To described NPV model F C switch, described in described NPV model F C switch query this Ground forward table finds that described new registration node and certain matched node described can carry out flow friendship Changing, described flow directly can be transmitted to flow pair by the most described NPV model F C switch The destination node answered, described directly forwarding by flow refers to not by mode standard FC switch Directly flow is transmitted to destination node.The most described flow needing to forward need not send To mode standard FC switch, then forwarded by mode standard FC switch, it is possible to reduce The converting flow of mode standard FC switch, improves systematic function.
The flux exchange that the embodiment of the present invention provides, can allow NPV model F C exchange Machine is carried out when flow exchanges according to described this locality at described new registration node and described matched node The flow of exchange is directly forwarded by forward table, it is not necessary to again by mode standard FC switch Carry out flow forwarding, such that it is able to reduce the converting flow of mode standard FC switch, improve Systematic function.
Embodiment 2:
Embodiments provide a kind of flux exchange, be the expansion to above-described embodiment 1 Exhibition.As described in Figure 3, said method comprising the steps of:
301, mode standard FC switch receives and stores Zone information;Described Zone believes Breath includes the node identification information of all nodes being in same Zone.
In FC SAN network, manager can be fixed in advance the node having flow switching requirement Justice is a Zone, and all nodes in described Zone can carry out flow exchange, manages subsequently The Zone newly defined can be handed down to described FC SAN network as Zone synchronizing information by reason person In all mode standard FC switches.Described Zone information includes being in same Zone In the node identification information of all nodes, i.e. represent all nodes in described Zone information The node that identification information represents can mutually carry out flow exchange.Wherein said node identification information (World Wide Port Name is called for short: WWPN) the conventional only name in the whole world for port Or N_Port ID.Described mode standard FC switch stores after receiving described Zone information Described Zone information.
302, NPV model F C switch is to listen to described new registration Node registry successful After information, send inquiry request to described mode standard FC switch.
When there being new node FC to be accessed SAN network, can be connected by fiber orientation NPV model F C switch mode standard FC switch in described FC Fabric sends Registration request;Mode standard FC switch after the registration request receiving new registration node, N_Port id information can be sent by NPV model F C switch to new registration node, represent The success of described new registration Node registry.Described NPV model F C switch listens to described After N_Port id information, it is believed that listen to the described successful information of new registration Node registry; The most described NPV model F C switch sends inquiry to described mode standard FC switch please Ask.
303, described mode standard FC switch receives and looks into described in described inquiry request basis Ask requesting query identical with the registered port of new registration node and belong to the matching section of same Zone The node identification information of point.
The mode standard FC switch of described new registration node-home please according to the inquiry received Ask and can inquire coupling that is identical with the registered port of new registration node and that belong to same Zone The node identification information of node, registered port described here is that standard FC switch receives joint Port used during the registration request that point sends.Due to each NPV mode exchange and mark One port of quasi-FC switch is connected one to one by optical fiber, therefore described registered port phase With can confirm that described matched node and described new registration node are in same NPV model F C Under switch, it is to be handed over to described mode standard FC by same NPV model F C switch Change planes application for registration successfully.If described matched node belongs to same with described new registration node Zone, the most described matched node and described new registration node can the most directly carry out flow friendship Change.
Optionally, described mode standard FC switch receives the registration request of new registration node After can to described new registration node send N_Port id information, this shows described new registration node Succeed in registration.The most described mode standard FC exchange opportunity active inquiry and new registration node Registered port is identical and belongs to the node identification information of matched node of same Zone.
304, described mode standard FC switch passes through registered port by described new registration node It is sent to NPV model F C switch with the node identification information of described matched node.
Described mode standard FC switch is at the node identification information inquiring described matched node After, can be by the node identification information of described new registration node and the node identification of described matched node Information is sent to described NPV pattern by the optical fiber of above-mentioned registered port and this port of connection FC switch.
305, NPV model F C switch receives described node identification information and according to described joint Point identification information generates local forward table;So that described NPV model F C switch is in institute State new registration node and described matched node is carried out when flow exchanges according to described local forward table Directly the flow of exchange is forwarded.
Described NPV model F C switch can be according to the new registration node received and coupling The node identification information of node generates local forward table, and described local forward table includes can be two-by-two Carry out described new registration node and the node identification information of described matched node of flow exchange.. When described new registration node and certain described matched node need to carry out flow exchange, described newly The flow needing exchange can be sent to described by register node and certain matched node described NPV model F C switch, described NPV model F C switch is according to described local forward table Inquiry finds node identification information and the joint of certain matched node described of described new registration node Point identification information is in same described local forward table, therefore judges described new registration node and institute Stating certain matched node and can directly carry out flow exchange, the most described NPV model F C exchanges Described flow directly can be transmitted to the destination node that flow is corresponding by machine, described directly by flow Forwarding refers to directly flow is not transmitted to destination node by mode standard FC switch.This The described flow needing to forward of sample one need not send to mode standard FC switch, then by marking Quasi-mode FC switch forwards, it is possible to reduce at the converting flow of mode standard FC switch, Improve systematic function.
The embodiment of the present invention additionally provides a kind of NPV model F C switch, is used for realizing Fig. 1 Shown method.As shown in Figure 4, described NPV model F C switch includes receptor 401, Signal generating unit 402, and processor 403.
Receptor 401, for receive mode standard FC switch send new registration node and The node identification information of matched node.
Described matched node is identical with the registered port of new registration node and belongs to same Zone Node.The mode standard FC switch of described new registration node-home can be inquired about and newly note The identical registered nodes of registered port of volume node, and inquire described registered nodes and institute State new registration node and belong to same Zone.Described registered port is identical can confirm that described coupling Node and described new registration node, under same NPV model F C switch, are by same One NPV model F C switch succeeds in registration to described mode standard FC switch.If Described matched node and described new registration node belong to same Zone, the most described registered nodes Flow exchange can be the most directly carried out with described new registration node.Described mode standard FC is handed over Change planes and can inquire the node identification information of described matched node.Then, described mode standard The FC exchange opportunity node identification by described new registration node and the node mark of described matched node Knowledge information is sent to described NPV mould by the optical fiber of above-mentioned registered port and this port of connection Formula FC switch, the receptor 401 of described NPV model F C switch receives mode standard The new registration node of FC switch transmission and the node identification information of matched node.
Signal generating unit 402, for generating local forward table, institute according to described node identification information State local forward table and include carrying out two-by-two the described new registration node of flow exchange and described coupling The node identification information of node.
Processor 403, for carrying out flow friendship at described new registration node and described matched node Directly the flow of exchange is forwarded according to described local forward table when changing.
The signal generating unit 402 of described NPV model F C switch can be according to described node mark Knowledge information generates local forward table, and described local forward table includes described new registration node and described The node identification information of matched node.When described new registration node needs with certain described matched node During flow to be carried out exchange, described new registration node and certain matched node described can be by needs The flow of exchange sends the processor 403 to described NPV model F C switch, described process Device 403 inquire about described local forward table find described new registration node node identification information and The node identification information of certain matched node described is in same described local forward table, therefore sentences Fixed described new registration node can carry out flow exchange, the most described place with certain matched node described Described flow directly can be transmitted to the destination node that flow is corresponding by reason device 403.Said herein Flow is directly transmitted to destination node refer to directly will not be flowed by mode standard FC switch Amount is transmitted to destination node.The most described flow needing to forward need not send to master die Formula FC switch, then forwarded by mode standard FC switch, it is possible to reduce mode standard FC The converting flow of switch, improves systematic function.
Further, as it is shown in figure 5, described NPV model F C switch also includes monitoring Device 404.
Described audiomonitor 403, for listening to the described successful information of new registration Node registry After, send inquiry request to described mode standard FC switch, so that described mode standard FC switch is identical with the registered port of new registration node according to the inquiry of described inquiry request and belongs to Node identification information in the described matched node of same Zone.
When there being new node FC to be accessed SAN network, can be connected by fiber orientation NPV model F C switch mode standard FC switch in described FC Fabric sends Registration request;Described mode standard FC switch is at the registration request receiving new registration node After, N_Port id information can be sent by NPV model F C switch to new registration node, Represent the success of described new registration Node registry.Described audiomonitor 404 can listen to described N_Port id information i.e. listens to the described successful information of new registration Node registry;Now monitor Device sends inquiry request to described mode standard FC switch.So that described mode standard FC switch query to described new registration node and the node identification information of described matched node, And described node identification information is sent to described NPV model F C switch, so that institute The receptor 401 stating NPV model F C switch receives what mode standard FC switch sent New registration node and the node identification information of matched node.
The embodiment of the present invention additionally provides a kind of mode standard FC switch, as shown in Figure 6, Described mode standard FC switch includes query unit 601, transmitter 602.
Query unit 601, for inquiring about identical with the registered port of new registration node and belonging to same The node identification information of the matched node of one Zone.
FC SAN is mainly by the node i.e. main frame of band HBA card or memorizer and FC Fabric Composition, includes several mode standard FC switch and NPV in described FC Fabric Model F C switch.When there being new node FC to be accessed SAN network, optical fiber can be passed through The NPV model F C switch that orientation connects mode standard FC in described FC Fabric Switch sends registration request;Described mode standard FC switch and described NPV model F C Switch also has optical fiber to connect in corresponding ports orientation, and described mode standard FC switch is The mode standard FC switch of new access node ownership.The standard of described new access node ownership Model F C switch, can be to described new access after the registration request receiving new access node Node sends a N_Port ID, represents that described new access node succeeds in registration.Wherein said First 8 of N_Port ID, the address for the mode standard FC switch of described ownership identifies, Latter 16 is that to be that new registration node is the most above-mentioned newly connect for the mode standard FC switch of described ownership The address mark of ingress distribution, is used for representing described new registration address of node.
Described query unit 601 can be specifically for confirming that described new registration Node registry becomes After merit, inquire about matching section that is identical with the registered port of new registration node and that belong to same Zone The node identification information of point.
The query unit 601 of the mode standard FC switch of described new registration node-home is permissible Inquire about the joint of matched node that is identical with the registered port of new registration node and that belong to same Zone Point identification information, registered port described here is that standard FC switch receiving node sends Port used during registration request.Owing to each NPV mode exchange is handed over standard FC The port changed planes is connected one to one by optical fiber, thus described registered port is identical can be true Recognize described matched node with described new registration node under same NPV model F C switch, It is to be registered to described mode standard FC switch by same NPV model F C switch Merit.If described matched node and described new registration node belong to same Zone, then described Join node and can the most directly carry out flow exchange with described new registration node.At described master die Formula FC switch confirms that described new registration Node registry is successfully the exchange of described mode standard FC Machine is after described new registration node sends N_Port id information, and described query unit 601 is permissible Active inquiry is identical with the registered port of new registration node and belongs to the matched node of same Zone Node identification information.
Transmitter 602, by registered port by described new registration node and described matched node Node identification information is sent to NPV model F C switch;So that described NPV model F C Switch generates local forward table so that described NPV model F C switch described newly Register node and described matched node carry out during flow exchange direct according to described local forward table The flow of exchange is forwarded;Described local forward table includes can carrying out flow exchange two-by-two Described new registration node and the node identification information of described matched node.
Described mode standard FC switch inquires described matched node in query unit 601 After node identification information, transmitter 602 can by the node identification information of described new registration node and The node identification information of described matched node is sent out by the optical fiber of registered port and this port of connection Give described NPV model F C switch.Described NPV model F C switch can basis These node identification information generate local forward table, and described local forward table includes described new registration Node and the node identification information of described matched node.When described in described new registration node and certain When matched node needs to carry out flow exchange, described new registration node and certain matched node described The flow needing exchange can be sent to described NPV model F C switch, described NPV Model F C switch finds the node of described new registration node according to described local forward table inquiry The node identification information of identification information and certain matched node described turns in same described this locality In delivering, therefore judge that described new registration node can directly flow with certain matched node described Amount exchange, the most described NPV model F C switch can be directly by the described stream needing exchange Amount is transmitted to the destination node that flow is corresponding.Described directly forwarding by flow refers to not pass through standard Flow is directly transmitted to destination node by model F C switch.The most described needs forwards Flow need not send to mode standard FC switch, then turned by mode standard FC switch Send out, it is possible to reduce at the converting flow of mode standard FC switch, improve systematic function.
Optionally, as it is shown in fig. 7, described query unit 601 specifically includes: receive subelement 6011 and inquiry subelement 6012.
Receive subelement 6011, be used for receiving described NPV model F C switch and listening to The inquiry request sent after the described successful information of new registration Node registry.
NPV model F C switch is listening to the described successful information of new registration Node registry i.e. Mode standard FC switch, can be to described when new registration node sends N_Port id information Mode standard FC switch sends inquiry request, the reception of described mode standard FC switch Device 6011 receives described inquiry request.
Inquiry subelement 6012, for according to the inquiry of described inquiry request and new registration node Registered port is identical and belongs to the matched node of same Zone.
The inquiry subelement 6012 of described mode standard FC switch is according to the inquiry received Request can inquire identical with the registered port of new registration node and belong to same Zone Joining the node identification information of node, registered port described here is that standard FC switch receives Port used during the registration request that node sends.Due to each NPV mode exchange with One port of standard FC switch is connected one to one by optical fiber, therefore described registered port Identical can confirm that described matched node and described new registration node are in same NPV model F C Under switch, it is to be handed over to described mode standard FC by same NPV model F C switch Change planes application for registration successfully.If described matched node belongs to same with described new registration node Zone, the most described registered nodes and described new registration node can the most directly carry out flow friendship Changing, described inquiry subelement 6012 can inquire the node identification information of described matched node. The transmitter 602 of the most described mode standard FC switch can be by the joint of described matched node The node identification information of point identification information and described new registration node is sent to NPV model F C Switch.
The embodiment of the present invention additionally provides a kind of flow exchange system, as shown in Figure 8, described system System includes: NPV model F C switch 81 and mode standard FC switch 82.Described NPV Model F C switch can be the NPV model F C switch shown in Fig. 4 or Fig. 5;Described Mode standard FC switch can be mode standard FC switch as shown in figs. 6 or 7.
Described mode standard FC switch 82 is used for after confirming the success of new registration Node registry, Active inquiry is identical with the registered port of described new registration node and belongs to the coupling of same Zone The node identification information of node, then by described registered port by described new registration node and institute The node identification information stating matched node is sent to described NPV model F C switch 81.Institute State NPV model F C switch 81 and receive described node identification information, and according to described node Identification information generates local forward table;So that NPV model F C switch is at described new note It is the most right according to described local forward table that volume node and described matched node are carried out during flow exchange The flow of exchange forwards.
Certainly, optionally, NPV model F C switch 81 can also listen to described newly After the information that register node succeeds in registration, sending inquiry to described mode standard FC switch please Ask;Described mode standard FC switch is according to the inquiry of described inquiry request and new registration node Registered port is identical and belongs to the node identification information of matched node of same Zone, then leads to Cross described registered port by described new registration node and the node identification information of described matched node It is sent to NPV model F C switch.Described NPV model F C switch 81 receives described Node identification information, and generate local forward table according to described node identification information;So that NPV model F C switch carries out flow exchange at described new registration node and described matched node Time directly the flow of exchange is forwarded according to described local forward table.
Flow conversion method that the embodiment of the present invention provides, Apparatus and system, allow NPV pattern FC switch is carried out when flow exchanges according to institute at described new registration node and described matched node State local forward table directly the flow of exchange to be forwarded, it is not necessary to again by mode standard FC Switch carries out flow forwarding, such that it is able to reduce the converting flow of mode standard FC switch, Improve systematic function.
One of ordinary skill in the art will appreciate that: realize all or part of step of said method embodiment Suddenly can be completed by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer In read/write memory medium, this program upon execution, performs to include the step of said method embodiment; And aforesaid storage medium includes: ROM, RAM, magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is also Being not limited to this, any those familiar with the art is at the technology model that the invention discloses In enclosing, change can be readily occurred in or replace, all should contain within protection scope of the present invention. Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.

Claims (15)

1. a flow forwarding method, it is characterised in that including:
Node port virtualization NPV pattern Fibre Channel switch receives mode standard FC and hands over Change planes send new registration node and the node identification information of matched node;Described node identification information Including the address mark that described mode standard FC switch is corresponding node distribution, described address identifies For representing the address of corresponding node;Described matched node is and the registration end of described new registration node Mouthful identical and belong to the registered nodes of same subregion Zone;
Described NPV model F C switch is according to described new registration node and the node mark of matched node Knowledge information generates local forward table, and described local forward table includes carrying out two-by-two the described of flow exchange New registration node and the node identification information of described matched node;
Described NPV model F C switch flows at described new registration node and described matched node Directly the flow of exchange is forwarded according to described local forward table during amount exchange.
Method the most according to claim 1, it is characterised in that receiving mode standard FC Before the new registration node of switch transmission and the node identification information of matched node, described method is also Including:
Described NPV model F C switch is listening to the described successful information of new registration Node registry After, send inquiry request to described mode standard FC switch, so that described mode standard FC Switch is identical with the registered port of described new registration node according to the inquiry of described inquiry request and belongs to The node identification information of the described matched node of same Zone.
Method the most according to claim 1 and 2, it is characterised in that described node identification is believed Breath includes: only name WWPN in the whole world of port or node port identification N_Port ID.
4. a flow forwarding method, it is characterised in that including:
Mode standard Fibre Channel switch query identical with the registered port of new registration node and Belong to the node identification information of the matched node of same subregion Zone;Described node identification information includes Described mode standard FC switch is the address mark of corresponding node distribution, and described address mark is used for Represent the address of corresponding node;
Described mode standard FC switch by described registered port by described new registration node and institute The node identification information stating matched node is sent to node port virtualization NPV model F C switch, So that described NPV model F C switch generates local forward table, so that described NPV pattern FC switch is carried out when flow exchanges according to described at described new registration node and described matched node The flow of exchange is directly forwarded by ground forward table;Described local forward table includes entering two-by-two The described new registration node of row flow exchange and the node identification information of described matched node.
Method the most according to claim 4, it is characterised in that described inquiry saves with new registration The registered port of point is identical and belongs to the matched node of same Zone and specifically includes:
Described mode standard FC switch receives described NPV model F C switch listening to The inquiry request sent after stating the successful information of new registration Node registry;
Described mode standard FC switch is according to the note of the inquiry of described inquiry request with new registration node Volume port is identical and belongs to the matched node of same Zone.
Method the most according to claim 4, it is characterised in that described inquiry saves with new registration The registered port of point is identical and belongs to the matched node of same Zone and specifically includes:
Confirm described new registration Node registry success after, described mode standard FC switch query with The registered port of new registration node identical and belong to same Zone matched node node identification letter Breath.
7. according to the method described in any one of claim 4~6, it is characterised in that also include:
Described mode standard FC switch receives and stores Zone information;Described Zone information includes The node identification information of all nodes being in same Zone.
Method the most according to claim 7, it is characterised in that described node identification information bag Include: WWPN or N_Port ID.
9. a NPV model F C switch, it is characterised in that including:
Receptor, for receiving new registration node and the matched node that mode standard FC switch sends Node identification information;Described node identification information includes that described mode standard FC switch is for correspondence The address mark of node distribution, described address mark is for representing the address of corresponding node;Described Join node to be identical with the registered port of new registration node and belong to the node of same Zone;
Signal generating unit, raw for the node identification information according to described new registration node and matched node Local forward table, described local forward table is become to include the described new registration joint carrying out flow exchange two-by-two Point and the node identification information of described matched node;
Processor, for the root when described new registration node and described matched node carry out flow exchange Directly the flow of exchange is forwarded according to described local forward table.
NPV model F C switch the most according to claim 9, it is characterised in that also Including:
Audiomonitor, for after listening to the described successful information of new registration Node registry, to described Mode standard FC switch sends inquiry request, so that the looking into of described mode standard FC switch Ask unit inquire about identical with the registered port of new registration node according to described inquiry request and belong to same The described node identification information of the described matched node of Zone.
11. 1 kinds of mode standard FC switches, it is characterised in that including:
Query unit, for inquiring about identical with the registered port of new registration node and belonging to same Zone The node identification information of matched node;Described node identification information includes that described mode standard FC is handed over Changing planes the address mark for corresponding node distribution, described address mark is for representing the ground of corresponding node Location;
Transmitter, by described registered port by described new registration node and the joint of described matched node Point identification information is sent to NPV model F C switch;So that the exchange of described NPV model F C Machine generates local forward table, so that described NPV model F C switch is at described new registration node When carrying out flow exchange with described matched node according to described local forward table direct flow to exchange Forward;Described new registration node that described local forward table includes carrying out flow exchange two-by-two and The node identification information of described matched node.
12. mode standard FC switches according to claim 11, it is characterised in that institute State query unit to specifically include:
Receive subelement, be used for receiving described NPV model F C switch and listening to described new note The inquiry request sent after the volume successful information of Node registry;
Inquiry subelement, for the registered port according to the inquiry of described inquiry request with new registration node Identical and belong to the matched node of same Zone.
13. mode standard FC switches according to claim 11, it is characterised in that institute State query unit specifically for, after confirming the success of described new registration Node registry, inquiring about and new registration The registered port of node is identical and belongs to the node identification information of matched node of same Zone.
14. mode standard FC switches according to claim 12, it is characterised in that institute State reception subelement to be additionally operable to receive and store Zone information;Described Zone information includes being in together The node identification information of all nodes in one Zone.
15. 1 kinds of flow exchange systems, it is characterised in that include NPV model F C switch and Mode standard FC switch;
Described NPV model F C switch is NPV model F C described in claim 9 or 10 Switch;
Described mode standard FC switch is the exchange of claim 11~14 any one mode standard FC Machine.
CN201210118340.5A 2012-04-19 2012-04-19 A kind of flux exchange, Apparatus and system Expired - Fee Related CN103379151B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210118340.5A CN103379151B (en) 2012-04-19 2012-04-19 A kind of flux exchange, Apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210118340.5A CN103379151B (en) 2012-04-19 2012-04-19 A kind of flux exchange, Apparatus and system

Publications (2)

Publication Number Publication Date
CN103379151A CN103379151A (en) 2013-10-30
CN103379151B true CN103379151B (en) 2016-11-23

Family

ID=49463707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210118340.5A Expired - Fee Related CN103379151B (en) 2012-04-19 2012-04-19 A kind of flux exchange, Apparatus and system

Country Status (1)

Country Link
CN (1) CN103379151B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306387B (en) * 2014-07-31 2018-11-13 华为技术有限公司 A kind of partition method and equipment
CN104283803B (en) * 2014-10-11 2018-12-11 新华三技术有限公司 A kind of method and apparatus of control message forwarding
CN107885491A (en) * 2017-11-03 2018-04-06 郑州云海信息技术有限公司 Simple tool realizes the quick-adjustsing method and system of FC SAN switches

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1943173A (en) * 2004-04-28 2007-04-04 思科技术公司 Intelligent adjunct network device
CN101213818A (en) * 2005-07-01 2008-07-02 国际商业机器公司 Method and system for managing virtual instances of a physical port attached to a network
WO2011119200A1 (en) * 2010-03-22 2011-09-29 Cisco Technology, Inc. N_port id virtualization node redundancy

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8775580B2 (en) * 2009-07-22 2014-07-08 Cisco Technology, Inc. Hard zoning on NPIV proxy/NPV devices
US8243746B2 (en) * 2010-02-01 2012-08-14 Cisco Technology, Inc. Ethernet node port virtualizer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1943173A (en) * 2004-04-28 2007-04-04 思科技术公司 Intelligent adjunct network device
CN101213818A (en) * 2005-07-01 2008-07-02 国际商业机器公司 Method and system for managing virtual instances of a physical port attached to a network
WO2011119200A1 (en) * 2010-03-22 2011-09-29 Cisco Technology, Inc. N_port id virtualization node redundancy

Also Published As

Publication number Publication date
CN103379151A (en) 2013-10-30

Similar Documents

Publication Publication Date Title
CN105515978B (en) Realize the method and device of distributed routing, physical host access
CN105553849B (en) A kind of traditional IP and SPTN network intercommunication method and system
CN103765833B (en) The method and device of the exchange for enabling GID in for infinite bandwidth woven structure
CN101820358B (en) High availability and multipathing for fibre channel over Ethernet
CN107465590A (en) Network infrastructure system, the method for route network traffic and computer-readable medium
CN104426680B (en) Data transmission method, device and system
CN107257291B (en) Network equipment data interaction method and system
CN108199865A (en) A kind of route service implementation method based on distribution subscription
CN103368808B (en) For transmitting the devices, systems, and methods of grouping in a network
CN105282003B (en) Establish the method and system and tunnel control device and virtual switch in tunnel
CN102511151A (en) Router, virtual cluster router system and establishing method thereof
CN104184663A (en) Communication method and device based on software-defined network and integrated identification network
CN103634217A (en) Method for issuing route information, method and device for transmitting massage
CN103825826B (en) The implementation method and device of a kind of dynamic routing
CN103067295A (en) Method and device and system for service transmission
CN103634214B (en) A kind of routing iinformation generation method and device
CN106383736A (en) Port extension method and apparatus
CN103379151B (en) A kind of flux exchange, Apparatus and system
CN103684959A (en) VPN realization method and PE device
CN108141384A (en) The automatic arranging of LISP two mobility networks
US7860027B2 (en) Extending an IP everywhere network over a plurality of flooding domains
CN109639552A (en) A kind of three-layer forwarding method and device
CN104796336B (en) A kind of method and device for being configured, issuing flow table item
CN106961400A (en) A kind of method and system for realizing cloud platform virtual port mirror image
CN111382115A (en) Path creating method and device for network on chip and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20211213

Address after: 256599 No. 166, Chemical Road, boxing Economic Development Zone, Boxing County, Binzhou City, Shandong Province

Patentee after: Shandong rongzhixin Enterprise Consulting Service Co.,Ltd.

Address before: 215010 room 704, building 5, No. 556, Changjiang Road, high tech Zone, Suzhou, Jiangsu

Patentee before: SUZHOU YUDESHUI ELECTRICAL TECHNOLOGY Co.,Ltd.

Effective date of registration: 20211213

Address after: 215010 room 704, building 5, No. 556, Changjiang Road, high tech Zone, Suzhou, Jiangsu

Patentee after: SUZHOU YUDESHUI ELECTRICAL TECHNOLOGY Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161123

CF01 Termination of patent right due to non-payment of annual fee