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.