CN103078801B - For the method for network dividing domain, device and switch - Google Patents

For the method for network dividing domain, device and switch Download PDF

Info

Publication number
CN103078801B
CN103078801B CN201210583320.5A CN201210583320A CN103078801B CN 103078801 B CN103078801 B CN 103078801B CN 201210583320 A CN201210583320 A CN 201210583320A CN 103078801 B CN103078801 B CN 103078801B
Authority
CN
China
Prior art keywords
equipment
memory device
server
domain
territory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210583320.5A
Other languages
Chinese (zh)
Other versions
CN103078801A (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.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN201210583320.5A priority Critical patent/CN103078801B/en
Publication of CN103078801A publication Critical patent/CN103078801A/en
Application granted granted Critical
Publication of CN103078801B publication Critical patent/CN103078801B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a kind of method for network dividing domain, device and switch.Method comprises: receive the Login Register message comprising the device type information of the first equipment; If the first equipment is server, creates a server domain for the first equipment and added in created server domain, and the RSCN message that the first device logs produces is sent to memory devices all in memory device territory; If have memory device and the first equipment to connect in memory device territory and this memory device can be used, this memory device is moved in the server domain at the first equipment place from memory device territory, and records the first equipment, mapping relations between this memory device and the first equipment place server domain three.Technical solution of the present invention can will need the classification of equipment of communication in same territory, and the process of dividing domain does not need the participation of keeper, and decrease keeper and carry out pre-planning and pre-configured workload to network, its flexibility and efficiency are all higher.

Description

For the method for network dividing domain, device and switch
Technical field
The present invention relates to the communication technology, particularly relate to a kind of method for network dividing domain, device and switch.
Background technology
In optical-fibre channel (FibreChannel, referred to as FC) network, at least comprise switch, server and memory device.When server adds FC network, the exchange opportunity direct-connected with this server produces a login state and upgrades and notice (RegisteredStateChangeNotification, referred to as RSCN) message.Under default situations, with above-mentioned server direct-connected exchange opportunity RSCN message is sent to all devices in FC network.Usually, adding of a station server is only relevant with the part memory device in FC network, but RSCN message needs to send to all devices in FC network, if FC network size is comparatively large, will produces much unnecessary information flow, cause network resources waste.
In order to overcome the problem of above-mentioned network resources waste, it is manually FC network configuration territory (Zone) that prior art adopts by keeper, equipment in same territory just can connect and intercom mutually, such RSCN message just only can send to the equipment needing to connect with the equipment producing this RSCN message, reduce unnecessary information flow, save Internet resources.If FC network size is comparatively large, keeper needs to carry out planning and configuration to FC network, and the method for this dividing domain is dumb, and efficiency is lower.
Summary of the invention
The invention provides a kind of method for network dividing domain, device and switch, in order to raising to the flexibility of network dividing domain and efficiency.
First aspect provides a kind of method for network dividing domain, comprising:
Receive Login Register message, described Login Register message comprises the device type information of the first equipment sending described Login Register message;
If determine that described first equipment is server according to the device type information in described Login Register message, for described first equipment creates a server domain, described first equipment is added in created server domain, and the login state renewal notice RSCN message described first device logs produced is sent to memory devices all in memory device territory;
If have memory device and described first equipment to connect in described memory device territory and described first equipment can use the described memory device connected with described first equipment, the memory device connected by described and described first equipment moves in the server domain at described first equipment place from described memory device territory, and record described first equipment, mapping relations between memory device that described and described first equipment connects and described first equipment place server domain three.
Second aspect provides a kind of device for network dividing domain, comprising:
First receiver module, for receiving Login Register message, described Login Register message comprises the device type information of the first equipment sending described Login Register message;
Create processing module, for when determining that described first equipment is server according to the device type information in described Login Register message, for described first equipment creates a server domain, described first equipment is added in created server domain, and the login state renewal notice RSCN message described first device logs produced is sent to memory devices all in memory device territory;
First migration process module, connect for having memory device and described first equipment in described memory device territory and described first equipment can use the described memory device connected with described first equipment time, the memory device connected by described and described first equipment moves in the server domain at described first equipment place from described memory device territory, and record described first equipment, mapping relations between memory device that described and described first equipment connects and described first equipment place server domain three.
The third aspect provides a kind of switch, comprising: arbitrary device for network dividing domain that second aspect provides.
Provided by the invention is the method for network dividing domain, device and switch, after receiving the Login Register message of equipment, determine the type of equipment, when determining that the equipment sending Login Register message is server, create a server domain for this server and added created server domain, the RSCN message produced by this server is only advertised to the memory device in memory device territory, then according to the process connected between memory device in this server and memory device territory, the memory device needed with this server communication is joined this server place server domain, achieve and the memory device and server that need communication are divided in same territory, the change of equipment only can have influence on other equipment in same territory, only need change to other devices advertise in same territory the RSCN message caused, be conducive to saving Internet resources, and the process of this dividing domain does not need the participation of keeper, decrease keeper and pre-planning and pre-configured workload are carried out to network, its flexibility and efficiency are all higher.
Accompanying drawing explanation
A kind of method flow diagram for network dividing domain that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 for another kind that the embodiment of the present invention provides be the method flow diagram of network dividing domain;
Fig. 3 provide for the embodiment of the present invention another be the method flow diagram of network dividing domain;
Fig. 4 provide for the embodiment of the present invention another be the method flow diagram of network dividing domain;
The structural representation of several FC networks that Fig. 5-Fig. 8 provides for the embodiment of the present invention;
The structural representation of a kind of device for network dividing domain that Fig. 9 provides for the embodiment of the present invention;
Figure 10 for another kind that the embodiment of the present invention provides be the reception schematic diagram of the device of network dividing domain.
Embodiment
A kind of method flow diagram for network dividing domain that Fig. 1 provides for the embodiment of the present invention.As shown in Figure 1, the method for the present embodiment comprises:
Step 101, reception Login Register message, described Login Register message comprises the device type information of the first equipment sending described Login Register message.
If according to the device type information in described Login Register message, step 102 determines that the first equipment is server, be that the first equipment creates a server domain, first equipment is added in created server domain, and the RSCN message that the first device logs produces is sent to memory devices all in memory device territory.
If have memory device and the first equipment to connect in step 103 memory device territory and the first equipment can use the described memory device connected with the first equipment, the described memory device connected with the first equipment is moved in the server domain at the first equipment place from memory device territory, and record the first equipment, mapping relations between memory device that described and the first equipment connects and the first equipment place server domain three.
The executive agent of the present embodiment method can be the switch in FC network.Described switch can be switch (referred to as direct-connected switch) direct-connected with the first equipment in FC network, also can be positioned at the first equipment in FC network communication path on and by other switches (referred to as indirectly connected switch) of direct-connected switch and the first equipment connection.
Concerning direct-connected switch, the process receiving Login Register message is the Login Register message directly receiving the first equipment transmission.Concerning indirectly connected switch, the process receiving Login Register message is receive the Login Register message forwarded by direct-connected switch.Concrete, when first device request logs in FC network, Login Register message can be sent to its direct-connected switch, first equipment is by the address designation (FCID) of this Login Register message application FC network, and can by the device type of self, be such as server or memory device, and the FC parameter etc. that self supports is registered on direct-connected switch.The Login Register message of the first equipment is added in name server (NameServer) by direct-connected exchange opportunity, and to this name server synchronous of other switches in FC network.Name server can be an information list on direct-connected switch.
After switch receives Login Register message, be not send directly to servers all in FC network and memory device the RSCN message produced because of the login of the first equipment as prior art, but therefrom obtain the device type information of the first equipment, the device type of the first equipment is then determined according to this device type information.
If switch determines that the first equipment is server, switch is that the first equipment creates a server domain, first equipment is joined in created server domain, and the RSCN message that the first device logs produces is sent to memory devices all in memory device territory.
In the present embodiment, according to the type of the equipment of access FC network, for FC network divides the territory of two types, one is memory device territory, and one is server domain.Wherein, memory device territory presets, first the memory device of all FC of adding networks is added in memory device territory, when moving in the server domain at the server place connected with this memory device from memory device territory after memory device and certain server connect, further, if the server connected with this memory device can use this memory device, then this memory device just really moves in this server place server domain, if the server connected with this memory device cannot use this memory device, then this memory device also can be moved back in memory device territory from this server place server domain.Each server domain comprises a server, i.e. the corresponding server domain of each server.Concrete, when each server log FC network, switch creates a server domain for this server, and is added created server domain.
Illustrate at this, " territory " that relate in various embodiments of the present invention is not physically real region, but a kind of notional territory; Accordingly, " migration " that relate in various embodiments of the present invention is not real memory device is moved to another place from a place, just switch is carrying out in the partition process of territory to FC network, describe the one of transition state, described " migration " mainly refers to can from a notional domain migration to another notional territory.
Consider in FC network, generally do not need to carry out FC communication between server, a memory device is only distributed to a station server and is used, and a station server can use multiple stage memory device simultaneously.Therefore, when the first equipment is server, switch is for the first equipment establishment server domain and after the first equipment is added created server domain, the RSCN message that the first device logs produces is sent to memory devices all in memory device territory by switch.
Illustrate at this, if the switch of the executive agent as the present embodiment method, be not directly be connected with the memory device in memory device territory, then by other switches, RSCN message can be sent to corresponding memory device.If other places do not have specified otherwise, described switch all refers to the switch of the executive agent as the present embodiment method.
After memory device in memory device territory receives RSCN message, can attempt connecting with the first equipment.Concrete, memory device in memory device territory can log in (PortLogin by switch to the first equipment transmit port, referred to as PLOGI) message, if the refuse information that first equipment that receives in default time of reception returns, then memory device and the first equipment connect unsuccessfully; If do not receive the refuse information that the first equipment returns in default time of reception, then memory device and the first equipment connect successfully.Specifically can carry out timing by timer to the time of reception preset.Whether switch by the process connected between the memory device in monitoring memory device territory and the first equipment, can be determined in memory device territory and has memory device and the first equipment to connect.Optionally, switch can preset the timer for connection establishment process, if after timer timing terminates, also do not hear the refuse information that the first equipment sends, then determine have memory device and the first equipment to connect in memory device territory.
Further, the information of available server that every platform memory device is all pre-configured, after memory device in memory device territory and the first equipment connect, first equipment also can determine whether to use the memory device connected with the first equipment, namely determines whether the memory device connected with the first equipment can be used; If determination result is yes, then the first equipment can keep the connection between itself and this memory device, if determination result is no, the first equipment can remove the connection between itself and this memory device.Concrete, the first equipment publishes (PortLogout, referred to as PLOGO) message by switch to the memory device transmit port connected with it, to remove the connection between itself and this memory device.Switch by the connection demolishing process in monitoring first equipment and memory device territory and between the memory device that connects of the first equipment, can determine whether the first equipment can use the memory device in the memory device territory connected with the first equipment.Optionally, switch can preset the timer for connecting demolishing process, if after timer timing terminates, also do not hear the PLOGO message that the first equipment sends, then determine that the first equipment can use the memory device connected with the first equipment in memory device territory; Otherwise, if before timer timing terminates, listen to the PLOGO message that the first equipment sends, then determine that the first equipment cannot use the memory device connected with the first equipment in memory device territory.
Based on above-mentioned, if switch determines in memory device territory have memory device and the first equipment to connect and the first equipment can use the described memory device connected with the first equipment, the described memory device connected with the first equipment is moved in the server domain at the first equipment place from memory device territory, and record the first equipment, mapping relations between memory device that described and the first equipment connects and the first equipment place server domain three.
If determine in memory device territory and do not have memory device and the first equipment to connect, or determining in memory device territory has memory device and the first equipment to connect but the first equipment cannot use the described memory device connected with the first equipment, then record the first equipment and the first equipment place server domain mapping relations between the two.
So far, switch is when the first equipment is server, first equipment and needs have been divided in same territory with the memory device of the first devices communicating, the RSCN message that equipment in this territory follow-up like this changes and produces only need be noticed in this domain, the server in other territories or memory device can not be advertised to, reduce the coverage that equipment changing causes, decrease the network resources waste that unnecessary announcement process causes, be conducive to the stability and the availability that improve network.In addition, due to the method for network dividing domain that the present embodiment method provides, do not need the participation of keeper, automatically completed by the switch in FC network, have and realize flexibly, the more high advantage of efficiency.
If above-mentioned switch determines in memory device territory have memory device and the first equipment to connect and the first equipment can use the described memory device connected with the first equipment, the described memory device connected with the first equipment is moved in the server domain at the first equipment place from memory device territory, and record the first equipment, a kind of execution mode of mapping relations between memory device that described and the first equipment connects and the first equipment place server domain three comprises:
First, determine in memory device territory, whether have memory device and the first equipment to connect; If determine in memory device territory and have memory device and the first equipment to connect, the described memory device connected with the first equipment is moved in the first equipment place server domain from memory device territory;
Then, determine whether the first equipment can use the described memory device connected with the first equipment; If the first equipment of determining can use the described memory device connected with the first equipment, then record the first equipment, mapping relations between memory device that described and the first equipment connects and the first equipment place server domain three.
Based on above-mentioned execution mode, if have memory device and the first equipment to connect in memory device territory but the first equipment cannot use the described memory device connected with the first equipment, described method also comprises: moved in memory device territory from the first equipment place server domain by the described memory device connected with the first equipment.
If above-mentioned switch determines in memory device territory have memory device and the first equipment to connect and the first equipment can use the described memory device connected with the first equipment, the described memory device connected with the first equipment is moved in the server domain at the first equipment place from memory device territory, and record the first equipment, the another kind of execution mode of mapping relations between memory device that described and the first equipment connects and the first equipment place server domain three comprises:
First, determine in memory device territory, whether have memory device and the first equipment to connect; If determine in memory device territory and have memory device and the first equipment to connect, then determine whether the first equipment can use the described memory device connected with the first equipment; If the first equipment of determining can use the described memory device connected with the first equipment, the described memory device connected with the first equipment is moved in the first equipment place server domain from memory device territory, and record the first equipment, mapping relations between memory device that described and the first equipment connects and the first equipment place server domain three.
In this explanation, mapping relations between the memory device that the present embodiment connects to switch record first equipment and the first equipment and the first equipment place server domain three, and the specific implementation of switch record first equipment and the first equipment place server domain mapping relations does not between the two limit.
Such as, switch can with the above-mentioned mapping relations of mode record of list item, every bar list item at least comprises following information: the port numbers (FC-Port) that equipment is connected with switch, device type, the FCID of equipment, the global unique identification (WorldWideNumber of equipment, referred to as WWN), global unique port mark (WorldWidePortNumber, referred to as WWPN) of equipment and the mark (ID) in territory, equipment place.Wherein, the WWN whole world of equipment is unique, is the NIC address mark of 64; The WWPN whole world of equipment is unique, and be also the NIC address mark of 64, this NIC address identifies the concrete port that can be identified on network interface card, network interface card has a port at least.In this embodiment, each territory is distinguished by its ID, such as, can be the ID arranging memory device territory be 1, and the ID of other server domain increases progressively successively from 2, but is not limited thereto, and every mode that can distinguish each territory can.
Based on above-mentioned, mapping relations between the memory device that switch record first equipment and the first equipment connect and the first equipment place server domain three can adopt two list items, for the ID of the first equipment place server domain for 2, then recorded mapping relations can be as shown in table 1.
Table 1
As can be seen from Table 1, memory device and the first equipment in same territory, namely in the first equipment place server domain.
Fig. 2 for another kind that the embodiment of the present invention provides be the method flow diagram of network dividing domain.As shown in Figure 2, the method for the present embodiment comprises:
Step 201, reception Login Register message, described Login Register message comprises the device type information of the first equipment sending described Login Register message.
If according to the device type information in described Login Register message, step 202 determines that the first equipment is memory device, first equipment is added in memory device territory, and the server RSCN message that the first device logs produces is sent in Servers-all territory and memory device, wherein each server domain comprises a server.
If have server and the first equipment to connect in step 203 Servers-all territory and the described server connected with the first equipment can use the first equipment, first equipment is moved to from memory device territory in the server domain at the described server place connected with the first equipment, and record the first equipment, mapping relations between server that described and the first equipment connects and the server place server domain three that described and the first equipment connects.
The executive agent of the present embodiment method can be the switch in FC network.Described switch can be switch (referred to as direct-connected switch) direct-connected with the first equipment in FC network, also can be positioned at the first equipment in FC network communication path on and by other switches (referred to as indirectly connected switch) of direct-connected switch and the first equipment connection.
Concerning direct-connected switch, the process receiving Login Register message is the Login Register message directly receiving the first equipment transmission.Concerning indirectly connected switch, the process receiving Login Register message is receive the Login Register message forwarded by direct-connected switch.Concrete, when first device request logs in FC network, Login Register message can be sent to its direct-connected switch, first equipment is by the address designation (FCID) of this Login Register message application FC network, and can by the device type of self, be such as server or memory device, and the FC parameter etc. that self supports is registered on direct-connected switch.The Login Register message of the first equipment is added in name server (NaneServer) by direct-connected exchange opportunity, and to this name server synchronous of other switches in FC network.Name server can be an information list on direct-connected switch.
After switch receives Login Register message, be not send directly to servers all in FC network and memory device the RSCN message produced because of the login of the first equipment as prior art, but therefrom obtain the device type information of the first equipment, the device type of the first equipment is then determined according to this device type information.
If switch determines that the first equipment is memory device, the first equipment adds in memory device territory by switch, and the RSCN message that the first device logs produces is sent to the server in Servers-all territory.In the present embodiment, according to the type of the equipment of access FC network, for FC network divides the territory of two types, one is memory device territory (ShareZone), and one is server domain.Wherein, memory device territory presets, first the memory device of all FC of adding networks is added in memory device territory, moves in the server domain at the server place using this memory device when memory device is used by certain server from memory device territory again.Each server domain comprises a server, i.e. the corresponding server domain of each server.Concrete, when each server log FC network, switch creates a server domain for this server, and is added created server domain.
Consider in FC network, generally do not need to carry out FC communication between memory device, a memory device is only distributed to a station server and is used, and a station server can use multiple stage memory device simultaneously.Therefore, when the first equipment is memory device, after first equipment joins in memory device territory by switch, also the RSCN message that the first device logs produces can be sent to the server in Servers-all territory and memory device, namely only send RSCN message to all devices in each server domain.
Illustrate at this, if the switch of the executive agent as the present embodiment method, be not directly be connected with the server in server domain, then by other switches, RSCN message can be sent to corresponding server.
After server in server domain receives RSCN message, can attempt connecting with the first equipment.Concrete, the server in server domain can send PLOGI message by switch to the first equipment, if the refuse information that first equipment that receives in the time of reception preset returns, then server and the first equipment connect unsuccessfully; If do not receive the refuse information that the first equipment returns in the time of reception preset, then server and the first equipment connect successfully.Whether switch by the process connected between the server in monitoring service device territory and the first equipment, can be determined in Servers-all territory and has server and the first equipment to connect.Optionally, switch can preset the timer for connection establishment process, if after timer timing terminates, also do not hear the refuse information that the first equipment sends, then determine have server and the first equipment to connect in Servers-all territory.
Further, as memory device, the information of available server that it is pre-configured.After server in first equipment and server domain connects, first equipment can according to the available server information of its configuration, determine whether it can be used by the server connected with it, if determination result is yes, then the first equipment can keep the connection between this server, if determination result is no, the first equipment can remove the connection between itself and this server.Concrete, the first equipment sends PLOGO message by switch to the server connected with it, to remove the connection between itself and this server.Switch can by the connection demolishing process in monitoring first equipment and server domain and between the server that connects of the first equipment, determines that whether the first equipment can be used by the server in the server domain that connects with it.Optionally, switch can preset the timer for connecting demolishing process, if after timer timing terminates, also do not hear the PLOGO message that the first equipment sends, then determine that the server that the first equipment can connect with it in serviced device territory uses; Otherwise, if before timer timing terminates, listen to the PLOGO message that the first equipment sends, then determine that the server that the first equipment cannot connect with it in serviced device territory uses.
Based on above-mentioned, if switch determines in Servers-all territory have server and the first equipment to connect and the first equipment can be used by the server connected with it, then the first equipment moves in the server domain at the described server place connected with the first equipment from memory device territory, and record the first equipment, mapping relations between server that described and the first equipment connects and the server place server domain three that described and the first equipment connects.
Server and the first equipment is not had to connect if switch is determined in Servers-all territory, or determining in Servers-all territory has server and the first equipment to connect but the first equipment cannot be used by the server connected with it, then record the first equipment and memory device territory mapping relations between the two.
So far, switch is when the first equipment is memory device, first equipment and needs have been divided in same territory with the server of the first devices communicating, the RSCN message that equipment in this territory follow-up like this changes and produces only need be noticed in this domain, the server in other territories or memory device can not be advertised to, reduce the coverage that equipment changing causes, decrease the network resources waste that unnecessary announcement process causes, be conducive to the stability and the availability that improve network.In addition, due to the method for network dividing domain that the present embodiment method provides, do not need the participation of keeper, automatically completed by the switch in FC network, have and realize flexibly, the more high advantage of efficiency.
If above-mentioned switch determines in Servers-all territory have server and the first equipment to connect and the first equipment can be used by the server connected with it, then the first equipment moves in the server domain at the described server place connected with the first equipment from memory device territory, and record the first equipment, a kind of execution mode of mapping relations between server that described and the first equipment connects and the server place server domain three that described and the first equipment connects comprises:
First, determine in Servers-all territory, whether have server and the first equipment to connect; If determine in Servers-all territory and have server and the first equipment to connect, in the server domain at the server place connected with the first equipment described in the first equipment moves to from memory device territory;
Then, determine whether the first equipment can be used by the server connected with it, if determine that the first equipment can be used by the server connected with it, then record the first equipment, mapping relations between server that described and the first equipment connects and the server place server domain three that described and the first equipment connects.
Based on above-mentioned execution mode, if have server and the first equipment to connect in Servers-all territory but the first equipment cannot be used by the server connected with it, described method also comprises: moved in memory device territory from the described server place server domain connected with the first equipment by the first equipment.
If above-mentioned switch determines in Servers-all territory have server and the first equipment to connect and the first equipment can be used by the server connected with it, then the first equipment moves in the server domain at the described server place connected with the first equipment from memory device territory, and record the first equipment, the another kind of execution mode of mapping relations between server that described and the first equipment connects and the server place server domain three that described and the first equipment connects comprises:
First, determine in Servers-all territory, whether have server and the first equipment to connect; If determine in Servers-all territory and have server and the first equipment to connect, then determine whether the first equipment can be used by the server connected with it; If determine that the first equipment can be used by the server connected with it, then the first equipment moves in the server domain at the described server place connected with the first equipment from memory device territory, and record the first equipment, mapping relations between server that described and the first equipment connects and the server place server domain three that described and the first equipment connects.
In this explanation, mapping relations between the server that the present embodiment connects to switch record first equipment, described and the first equipment and the server place server domain three that described and the first equipment connects, and the specific implementation of switch record first equipment and memory device territory mapping relations does not between the two limit.Such as, switch also can with the above-mentioned mapping relations of mode record of list item.For the ID of the server place server domain connected with the first equipment for 3, then the mapping relations between the server place server domain three that connects of the server that connects of the first equipment of switch record and the first equipment and described and the first equipment can be as shown in table 2.
Table 2
As can be seen from Table 2, the first equipment and server in same territory, namely in this server place server domain.
Fig. 3 provide for the embodiment of the present invention another be the method flow diagram of network dividing domain.As shown in Figure 3, the method for the present embodiment comprises:
Step 301, reception Login Register message, described Login Register message comprises the device type information of the first equipment sending described Login Register message.
Step 302, according to the device type information in Login Register message, determine that the first equipment is memory device or server; If determination result is the first equipment is server, then perform step 303; If determination result is the first equipment is memory device, then perform step 309.
Step 303, be that the first equipment creates a server domain, the first equipment is added in created server domain, and the RSCN message that the first device logs produces is sent to memory devices all in memory device territory, continue to perform step 304.
Step 304, determine in memory device territory, whether have memory device and the first equipment to connect; If determination result is yes, perform step 305; If determination result is no, turns and go to perform step 315.Concrete, by determining whether the PLOGI message of the memory device transmission listened in memory device territory, can determine in memory device territory, whether have memory device and the first equipment to connect.If listen to the PLOGI message that the memory device in memory device territory sends, determine in memory device territory, have memory device and the first equipment to connect; Otherwise, determine in memory device territory, do not have memory device and the first equipment to connect.
Step 305, the described memory device connected with the first equipment is moved in the server domain at the first equipment place from memory device territory, continue to perform step 306.
Step 306, determine whether the first equipment can use the memory device connected with the first equipment; If determination result is yes, perform step 307; If determination result is no, perform step 308.Concrete, by determining the PLOGO message whether listening to the first equipment transmission before timer timing terminates, can determine whether the first equipment can use the memory device connected with the first equipment.If listen to the PLOGO message that the first equipment sends before timer timing terminates, determine that the first equipment cannot use the memory device connected with the first equipment; Otherwise, determine that the first equipment can use the memory device connected with the first equipment.
Step 307, record the first equipment, mapping relations between memory device that described and the first equipment connects and the first equipment place server domain three, turn and go to perform step 315.
Step 308, the described memory device connected with the first equipment to be moved in memory device territory from the first equipment place server domain, record the first equipment and the first equipment place server domain mapping relations between the two, turn and go to perform step 315.
Step 309, the first equipment to be added in memory device territory, and the server RSCN message that the first device logs produces is sent in Servers-all territory and memory device, continue to perform step 310.
Step 310, determine in Servers-all territory, whether have server and the first equipment to connect; If determination result is yes, perform step 311; If determination result is no, turns and go to perform step 315.
Concrete, by determining whether the PLOGI message of the server transmission listened in server domain, can determine in Servers-all territory, whether have server and the first equipment to connect.If listen to the PLOGI message that the server in server domain sends, determine in server domain, have server and the first equipment to connect; Otherwise, determine in server domain, do not have server and the first equipment to connect.
Step 311, the first equipment to be moved to from memory device territory in the server domain at the described server place connected with the first equipment, and continue to perform step 312.
Step 312, determine that whether the first equipment can be used by the server connected with the first equipment; If determination result is yes, perform step 313; If determination result is no, perform step 315.
Concrete, by determining whether to listen to before timer timing terminates the PLOGO message that the server that connects with the first equipment sends, can determine whether the first equipment can be used by the server connected with it.If listen to the PLOGO message that the server that connects with the first equipment sends before timer timing terminates, determine that the first equipment cannot be used by the server connected with it; Otherwise, determine that the first equipment can be used by the server connected with it.
Step 313, record the first equipment, mapping relations between server that described and the first equipment connects and the server place server domain three that described and the first equipment connects, and turn and go to perform step 315.
Step 314, the first equipment to be moved in memory device territory from the described server place server domain connected with the first equipment, record the first equipment and memory device territory mapping relations between the two, and turn and go to perform step 315.
This time operation of step 315, end.
In the present embodiment, by the memory device and server that need communication are divided in same territory, the RSCN message that equipment in this territory follow-up like this changes and produces only need be noticed in this domain, the server in other territories or memory device can not be advertised to, reduce the coverage that equipment changing causes, decrease the network resources waste that unnecessary announcement process causes, be conducive to the stability and the availability that improve network.In addition, due to the method for network dividing domain that the present embodiment method provides, do not need the participation of keeper, automatically completed by the switch in FC network, have and realize flexibly, the more high advantage of efficiency.
Fig. 4 provide for the embodiment of the present invention another be the method flow diagram of network dividing domain.The present embodiment can realize based on above-described embodiment, and as shown in Figure 4, the method for the present embodiment comprises:
Step 401, receive and publish registration message, described in publish the device type information that registration message comprises the second equipment publishing registration message described in transmission.
In the above-described embodiments, be the process of network dividing domain when describing server or memory device login FC network.The description of the present embodiment emphasis is the process of network dividing domain when having memory device or server to publish FC network.
The executive agent of the present embodiment method is also the switch in FC network.
Concrete, when the second equipment in FC network needs to publish FC network, send to switch direct-connected with it and publish registration message.This is published registration message and adds in name server by direct-connected switch, and name server is synchronized to other switches in FC network.Based on this, the executive agent of the present embodiment is if direct-connected switch, then what second equipment that can receive directly sent publishes registration message; If the executive agent of the present embodiment is indirectly connected switch, then can receive forwarded by direct-connected switch publish registration message.
Publish the device type information in registration message described in step 402, basis, determine that the second equipment is server or memory device; If the second equipment of determining is server, then perform step 403; If the second equipment of determining is memory device, perform step 406.
Step 403, determine whether there is memory device in the second equipment place server domain; If determination result is yes, perform step 404; If determination result is no, perform step 405.
Step 404, when there is memory device in the second equipment place server domain, the RSCN message second equipment being published generation is sent to the memory device in the second equipment place server domain, memory device in second equipment place server domain is moved in memory device territory from the second equipment place server domain, and delete the second equipment place server domain, delete the mapping relations between memory device in the second equipment, the second equipment place server domain and the second equipment place server domain three, terminate this time operation.
Step 405, when there is not memory device in the second equipment place server domain, delete the second equipment place server domain, delete the second equipment and the second equipment place server domain mapping relations between the two, terminate this time operation.
According to device type information wherein, switch, after receiving and publishing registration message, determines that the second equipment is server or memory device.
If determine that the second equipment is server, then the corresponding server domain of the second equipment meeting, so switch determines whether there is memory device in the second equipment place server domain, namely determines whether there is the memory device connected with the second equipment.Concrete, each mapping relations that switch can be corresponding according to the second equipment recorded before judge.
If determine in the second equipment place server domain to there is memory device, then the RSCN message publishing generation because of the second equipment is sent to each memory device in the second equipment place server domain by switch, to notice the change of the second equipment.Meanwhile, each memory device in the second equipment place server domain moves in memory device territory by switch from this server domain, waits for that other servers or the second equipment continue to use after again logging in FC network.If the second equipment publishes FC network, the server domain that then the second equipment is corresponding is not also just present in, old friend changes planes also needs the second equipment place server domain to delete, the memory device in the second equipment of deletion record simultaneously, the second equipment place server domain and the mapping relations between the second equipment place server domain three.Such as, if mapping relations are here made up of the list item shown in similar table 1 or table 2, then switch is by respective table entry deletion.
If determine in the second equipment place server domain to there is not memory device, now there are not the mapping relations between memory device and the second equipment place server domain three that the second equipment and the second equipment connects, so the second equipment place server domain is directly deleted by switch, and the second equipment and the second equipment place server domain mapping relations are between the two deleted.Such as, if mapping relations are here made up of list item shown in table 1 or table 2, then this list item is deleted by switch.
Step 406, determine described second equipment whether in memory device territory; If determination result is yes, perform step 407; If determination result is no, perform step 408.
Step 407, when the second equipment is in memory device territory, delete the second equipment and memory device territory mapping relations between the two, terminate this time operation.
Step 408, when the second equipment is not in memory device territory, the RSCN message second equipment being published generation is sent to the server in the second equipment place server domain and other memory devices except the second equipment, delete the mapping relations between server in the second equipment, the second equipment place server domain and the second equipment place server domain three, terminate this time operation.
According to device type information wherein, switch, after receiving and publishing registration message, determines that the second equipment is server or memory device.
If the second equipment of determining is memory device, because this memory device may in memory device territory, also likely in certain server domain, old friend changes planes and determines the second equipment further whether in memory device territory.Concrete, switch can according to judging with the mapping relations of the second device-dependent of recording before.
If the second equipment of determining is in memory device territory, then illustrate the second equipment not use by any server, do not need the notice carrying out RSCN message, thus only need by record the second equipment and memory device territory mapping relations between the two delete.Such as, if mapping relations are here a list item, then this list item is deleted by switch.
If determine the second equipment not in memory device territory, then illustrate that the serviced device of the second equipment used, in the server domain at the server place of use second equipment, based on this, the RSCN message publishing generation because of the second equipment is sent to the server in the second equipment place server domain and other memory devices except the second equipment by switch, to notice the change of the second equipment, and the mapping relations between the server deleted in the second equipment, the second equipment place server domain and the second equipment place server domain three are deleted.Such as, if mapping relations are here made up of the list item shown in similar table 1 or table 2, then switch can by respective table entry deletion.
From above-mentioned, in the present embodiment, by dividing different territories for FC network, the memory device and server that need communication are put in same territory, like this when memory device or server publish FC network, the RSCN message produced only need be noticed in same territory, decreases the network resources waste that unnecessary announcement process causes, and is conducive to the stability and the availability that improve network.In addition, due to the method for network dividing domain that the present embodiment method provides, do not need the participation of keeper, automatically completed by the switch in FC network, have and realize flexibly, the more high advantage of efficiency.
Following examples of the present invention are described in conjunction with embody rule scene the method that the above embodiment of the present invention provides.
The structural representation of a kind of FC network existed that Fig. 5 provides for the embodiment of the present invention.This FC network comprises switch 41, switch 42 and switch 43, switch 41, switch 42 are connected successively with switch 43, in addition, this FC network also comprises server 51 and memory device 61, server 51 and memory device 61 access this FC network in advance, and pre-configured memory device 61 can not use by serviced device 51.Switch 41, switch 42, switch 43, server 51 and the interconnective port numbers of memory device 61 are as shown in Figure 5.
Based on this, switch 41, switch 42 and switch 43 respectively can according to the Login Register message of memory device 61, memory device 61 is added in memory device territory, suppose that the ID in this memory device territory is 1, referred to as memory device territory-1, and can with the mode record memory device 61 of list item and memory device territory-1 mapping relations between the two.In addition, switch 41, switch 42 and switch 43 respectively can according to the Login Register message of server 51, for server 51 creates a server domain, suppose that the ID of this server domain is 2, referred to as server domain-2, and server 51 is added in this server domain, also can with the mode record server 51 of list item and server domain-2 mapping relations between the two.
Based on above-mentioned, the list item of switch 41, switch 42 and switch 43 record is respectively as shown in table 3, table 4 and table 5.
Table 3
Table 4
Table 5
Further, as shown in Figure 6, have a new memory device 62 to join in FC network, and pre-configured memory device 62 can only use by serviced device 51.Then first memory device 62 according to the Login Register message of memory device 62, can add in memory device territory-1 by switch 41, switch 42 and switch 43; And the RSCN message that adding of memory device 62 can produce by switch 41 sends to the server 51 in server domain-2; After determining that memory device 62 and server 51 connect and determine that server 51 can use memory device 62, switch 41, switch 42 and switch 43 can move to memory device 62 in the server domain-2 at server 51 place from memory device territory-1, and can with the mode record memory device 62 of list item, mapping relations between server 51 and server domain-2 three.Now, the list item of switch 41, switch 42 and switch 43 record is respectively as shown in table 6, table 7 and table 8.
Table 6
Table 7
Table 8
Further, as shown in Figure 7, suppose have a station server 52 to add FC network, and pre-configured memory device 61 only serviced device 52 use.Now, switch 41, switch 42 and switch 43, respectively according to the Login Register message of server 52, for server 52 creates server domain, suppose that the ID of server domain is 3, referred to as server domain-3; The RSCN message that adding of server 52 produces by switch 42 is sent to the memory device 61 in memory device territory-1; After determining that memory device 61 and server 52 connect and determine that server 52 can use memory device 61, memory device 61 moves in the server domain-3 at server 52 place by switch 41, switch 42 and switch 43 from memory device territory-1, and with the form record server 52 of list item, mapping relations between memory device 61 and server domain-3 three.Now, the list item of switch 41, switch 42 and switch 43 record is as shown in table 9, table 10 and table 11.
Table 9
Table 10
Table 11
So far, after two-server and two memory devices add FC network, the division of dynamic domain just completes.Memory device 51 and server 52 are in server domain-3, and memory device 62 and server 51 are in server domain-2.The RSCN message that an equipment generation status change causes, only can send in same territory, and the equipment in same territory can carry out the mutual of FC data flow.The transition greatly reduced like this because of an equipment in FC network cause the problem needing to send a large amount of RSCN message, improve the efficiency of device processes regular traffic.
Further, as shown in Figure 8, suppose that server 51 shifts out FC network over time, become.Switch 41, switch 42 and switch 43 can publish registration message according to what receive, determine that server 51 needs to shift out FC network, and then can determine to also have a memory device 62 in server 51 place server domain-2 according to the list item recorded before, old friend changes planes and 43 to be published by server 51 and the RSCN message produced sends to memory device 62, memory device 62 is moved in memory device territory-1 from server domain-2 simultaneously, server domain-2 is deleted, and by the memory device 62 of record, mapping relations between server 51 and server domain-2 three are deleted.Now, the list item of switch 41, switch 42 and switch 43 record is respectively as shown in table 12, table 13 and table 14.
Table 12
Table 13
Table 14
The structural representation of a kind of device for network dividing domain that Fig. 9 provides for the embodiment of the present invention.As shown in Figure 9, the device of the present embodiment comprises: the first receiver module 91, establishment processing module 92 and the first migration process module 93.
First receiver module 91, for receiving Login Register message, described Login Register message comprises the device type information of the first equipment sending described Login Register message.
Create processing module 92, be connected with the first receiver module 91, when determining that the first equipment is server for the device type information in the Login Register message received according to the first receiver module 91, be that the first equipment creates a server domain, first equipment is added in created server domain, and the RSCN message that the first device logs produces is sent to memory devices all in memory device territory.
First migration process module 93, be connected with establishment processing module 92, connect for having memory device and the first equipment in memory device territory and the first equipment can use the described memory device connected with the first equipment time, the described memory device connected with the first equipment is moved in the server domain at the first equipment place from memory device territory, and record the first equipment, mapping relations between memory device that described and the first equipment connects and the first equipment place server domain three.
Optionally, can by the first migration process module 93 by monitoring memory device in memory device territory with the connection establishment process between the first equipment with is connected demolishing process, with determine in memory device territory, whether to have memory device and the first equipment to connect and determine the first equipment whether can use described in and the memory device that connects of the first equipment.
The device for network zoning that the present embodiment provides can be arranged in the switch in FC network and realize; Or independent of the switch in FC network, but can be connected with switch.
Each functional module of the device for network zoning that the present embodiment provides can be used for the flow process performing the method for network zoning that above-described embodiment provides, and its specific works principle repeats no more, and refers to the description of embodiment of the method.
The device for network zoning that the present embodiment provides, and can need to be divided in same territory with the memory device of the first devices communicating by the first equipment, the RSCN message that equipment in this territory follow-up like this changes and produces only need be noticed in this domain, the server in other territories or memory device can not be advertised to, reduce the coverage that equipment changing causes, decrease the network resources waste that unnecessary announcement process causes, be conducive to the stability and the availability that improve network.In addition, what provide based on the present embodiment can complete the division in territory in FC network automatically for the device of network dividing domain, and the process of this dividing domain does not need the participation of keeper, has and realizes flexibly, the more high advantage of efficiency.
Figure 10 for another kind that the embodiment of the present invention provides be the structural representation of the device of network dividing domain.The present embodiment is based on realization embodiment illustrated in fig. 9, and as shown in Figure 10, the device of the present embodiment, except comprising the first receiver module 91, creating except processing module 92 and the first migration process module 93, also comprises: the first logging modle 94.
First logging modle 94, connect for there is no memory device and the first equipment in memory device territory, or in memory device territory, have memory device and the first equipment to connect but the first equipment cannot use the described memory device connected with the first equipment time, record the first equipment and the first equipment place server domain mapping relations between the two.Optionally, the first logging modle 94 can be connected with the first migration process module 93.
Optionally, first migration process module 93 is specifically used in be determined in memory device territory when having memory device and the first equipment to connect, the described memory device connected with the first equipment is moved in the server domain at the first equipment place from memory device territory, then, when the first equipment of determining can use the described memory device connected with the first equipment, the first equipment is recorded, mapping relations between memory device that described and the first equipment connects and the first equipment place server domain three.
Further, first migration process module 93 be also used in memory device territory have memory device and the first equipment to connect but the first equipment cannot use the described memory device connected with the first equipment time, the described memory device connected with the first equipment is moved in memory device territory from the server domain at the first equipment place.
Further, the device of the present embodiment can also comprise: add processing module 95 and the second migration process module 96.
Add processing module 95, be connected with the first receiver module 91, when determining that the first equipment is memory device for the device type information in the Login Register message received according to the first receiver module 91, first equipment is added in memory device territory, and the server RSCN message that the first device logs produces is sent in Servers-all territory and memory device, wherein each server domain comprises a server.
Second migration process module 96, with add processing module 95 and be connected, connect for having server and the first equipment in Servers-all territory and the described server connected with the first equipment can use the first equipment time, first equipment is moved to from memory device territory in the server domain at the described server place connected with the first equipment, and record the first equipment, mapping relations between server that described and the first equipment connects and the server place server domain three that described and the first equipment connects.
Optionally, can by the second migration process module 96 by connecting between the server in monitoring first equipment and server domain or removing the process of connection, to determine whether have server and the first equipment to connect in Servers-all territory and determine whether the described server connected with the first equipment can use the first equipment.
Further, the device of the present embodiment can also comprise: the second logging modle 97.
Second logging modle 97, connect for there is no server and the first equipment in Servers-all territory, or in Servers-all territory, have server and the first equipment to connect but the described server connected with the first equipment cannot use the first equipment time, record the first equipment and memory device territory mapping relations between the two.Optionally, the second logging modle 97 can be connected with the second migration process module 96.
Optionally, second migration process module 96 is specifically used in be determined in Servers-all territory when having server and described first equipment to connect, in the server domain at the server place connected with the first equipment described in the first equipment is moved to from memory device territory, then, when determining that the described server connected with the first equipment can use the first equipment, the first equipment is recorded, mapping relations between server that described and the first equipment connects and the server place server domain three that described and the first equipment connects.
Further, second migration process module 96 be also used in Servers-all territory have server and the first equipment to connect but the described server connected with the first equipment cannot use the first equipment time, the first equipment is moved in memory device territory from the server domain at the described server place connected with the first equipment.
Further, as shown in Figure 10, the device of the present embodiment also comprises: the second receiver module 98 and the first delete processing module 99.
Second receiver module 98, publishes registration message for receiving, described in publish the device type information that registration message comprises the second equipment publishing registration message described in transmission.
First delete processing module 99, be connected with the second receiver module 98, during for determining that the second equipment is server at the device type information published in registration message received according to the second receiver module 98, if there is memory device in the second equipment place server domain, the RSCN message second equipment being published generation is sent to the memory device in the second equipment place server domain, memory device in second equipment place server domain is moved in memory device territory from the second equipment place server domain, and delete the second equipment place server domain, delete the second equipment, memory device in second equipment place server domain and the mapping relations between the second equipment place server domain three, if or there is not memory device in the second equipment place server domain, delete the second equipment place server domain, delete the second equipment and the second equipment place server domain mapping relations between the two.
Optionally, the first delete processing module 99 is connected with the first migration process module 93 and the first logging modle 94.First migration process module 93 and the first logging modle 94 can provide the mapping relations with the second device-dependent to the first delete processing module 99.
Further, the device of the present embodiment also comprises: the second delete processing module 100.
Second delete processing module 100, be connected with the second receiver module 98, during for determining that the second equipment is memory device at the device type information published in registration message received according to the second receiver module 98, if the second equipment is in described memory device territory, delete the second equipment and memory device territory mapping relations between the two, if or the second equipment is not in memory device territory, the RSCN message second equipment being published generation is sent to the server in the second equipment place server domain and other memory devices except the second equipment, delete the second equipment, server in second equipment place server domain and the mapping relations between the second equipment place server domain three.
Optionally, the second delete processing module 100 is connected with the second migration process module 96 and the second logging modle 97.Second migration process module 96 and the second logging modle 97 can provide the mapping relations with the second device-dependent to the second delete processing module 100.
In an Alternate embodiments,
The device for network zoning that the present embodiment provides can be arranged in the switch in FC network and realize; Or independent of the switch in FC network, but can be connected with switch.
Each functional module of the device for network zoning that the present embodiment provides can be used for the flow process performing the method for network zoning that above-described embodiment provides, and its specific works principle repeats no more, and refers to the description of embodiment of the method.
The device for network zoning that the present embodiment provides, and can need to be divided in same territory with the memory device of the first devices communicating by the first equipment, the RSCN message that equipment in this territory follow-up like this changes and produces only need be noticed in this domain, the server in other territories or memory device can not be advertised to, reduce the coverage that equipment changing causes, decrease the network resources waste that unnecessary announcement process causes, be conducive to the stability and the availability that improve network.In addition, what provide based on the present embodiment can complete the division in territory in FC network automatically for the device of network dividing domain, and the process of this dividing domain does not need the participation of keeper, has and realizes flexibly, the more high advantage of efficiency.
The embodiment of the present invention provides a kind of switch, and described switch comprises the device for network dividing domain that above-described embodiment provides.See above-described embodiment, can not repeat them here about the operation principle of the device for network dividing domain and implementation structure.
The switch of the present embodiment can be the switch in FC network, but is not limited thereto.
The switch that the present embodiment provides, comprise the device for network zoning that above-described embodiment provides, also and can need to be divided in same territory with the memory device of the first devices communicating by the first equipment, the RSCN message that equipment in this territory follow-up like this changes and produces only need be noticed in this domain, the server in other territories or memory device can not be advertised to, reduce the coverage that equipment changing causes, decrease the network resources waste that unnecessary announcement process causes, be conducive to the stability and the availability that improve network.In addition, the switch provided based on the present embodiment can complete the division in territory in FC network automatically, and the process of this dividing domain does not need the participation of keeper, has and realizes flexibly, the more high advantage of efficiency.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that program command is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (19)

1. be a method for network dividing domain, it is characterized in that, comprising:
Receive Login Register message, described Login Register message comprises the device type information of the first equipment sending described Login Register message;
If determine that described first equipment is server according to the device type information in described Login Register message, for described first equipment creates a server domain, described first equipment is added in created server domain, and the login state renewal notice RSCN message described first device logs produced is sent to memory devices all in memory device territory; If have memory device and described first equipment to connect in described memory device territory and described first equipment can use the described memory device connected with described first equipment, the memory device connected by described and described first equipment moves in the server domain at described first equipment place from described memory device territory, and record described first equipment, mapping relations between memory device that described and described first equipment connects and described first equipment place server domain three;
If determine that described first equipment is memory device according to the device type information in described Login Register message, described first equipment is added in described memory device territory, and the server RSCN message that described first device logs produces is sent in Servers-all territory and memory device, wherein each server domain comprises a server; If have server and described first equipment to connect in Servers-all territory and the server that described and described first equipment connects can use described first equipment, described first equipment is moved to from described memory device territory in the server domain at the described server place connected with described first equipment, and record described first equipment, mapping relations between server that described and described first equipment connects and the server place server domain three that described and described first equipment connects.
2. according to claim 1 is the method for network dividing domain, it is characterized in that, also comprises:
If determine that described first equipment is server according to the device type information in described Login Register message, if do not have memory device and described first equipment to connect in described memory device territory, or there are memory device and described first equipment to connect in described memory device territory but described first equipment cannot use the described memory device connected with described first equipment, record described first equipment and described first equipment place server domain mapping relations between the two.
3. according to claim 1 is the method for network dividing domain, it is characterized in that, also comprises:
If determine that described first equipment is memory device according to the device type information in described Login Register message, if do not have server and described first equipment to connect in Servers-all territory, or there are server and described first equipment to connect in Servers-all territory but the server that described and described first equipment connects cannot use described first equipment, record described first equipment and described memory device territory mapping relations between the two.
4. is the method for network dividing domain according to any one of claim 1-3, it is characterized in that, also comprises:
Registration message is published in reception, described in publish the device type information that registration message comprises the second equipment publishing registration message described in transmission;
If determine that described second equipment is server according to the described device type information published in registration message, when there is memory device in described second equipment place server domain, the RSCN message that described second equipment publishes generation is sent to the memory device in described second equipment place server domain, memory device in described second equipment place server domain is moved in described memory device territory from described second equipment place server domain, and delete described second equipment place server domain, delete described second equipment, memory device in described second equipment place server domain and the mapping relations between described second equipment place server domain three, or when there is not memory device in described second equipment place server domain, delete described second equipment place server domain, delete described second equipment and described second equipment place server domain mapping relations between the two.
5. according to claim 4 is the method for network dividing domain, it is characterized in that, also comprises:
If determine that described second equipment is memory device according to the described device type information published in registration message, when described second equipment is in described memory device territory, delete described second equipment and described memory device territory mapping relations between the two, or when described second equipment is not in described memory device territory, the RSCN message that described second equipment publishes generation is sent to the server in described second equipment place server domain and other memory devices except described second equipment, delete described second equipment, server in described second equipment place server domain and the mapping relations between described second equipment place server domain three.
6. according to claim 2 is the method for network dividing domain, it is characterized in that, the described memory device connected by described and described first equipment moves in the server domain at described first equipment place from described memory device territory, and record described first equipment, mapping relations between memory device that described and described first equipment connects and described first equipment place server domain three comprise:
If have memory device and described first equipment to connect in described memory device territory, the memory device connected by described and described first equipment moves in the server domain at described first equipment place from described memory device territory;
If described first equipment can use the described memory device connected with described first equipment, record described first equipment, mapping relations between memory device that described and described first equipment connects and described first equipment place server domain three.
7. according to claim 6 is the method for network dividing domain, it is characterized in that, also comprises:
If have memory device and described first equipment to connect in described memory device territory but described first equipment cannot use the described memory device connected with described first equipment, the memory device connected by described and described first equipment moves in described memory device territory from the server domain at described first equipment place.
8. according to claim 3 is the method for network dividing domain, it is characterized in that, describedly described first equipment to be moved to from described memory device territory in the server domain at the described server place connected with described first equipment, and record described first equipment, mapping relations between server that described and described first equipment connects and the server place server domain three that described and described first equipment connects comprise:
If have server and described first equipment to connect in Servers-all territory, in the server domain at the server place connected with described first equipment described in described first equipment is moved to from described memory device territory;
If the server that described and described first equipment connects can use described first equipment, record described first equipment, mapping relations between server that described and described first equipment connects and the server place server domain three that described and described first equipment connects.
9. according to claim 8 is the method for network dividing domain, it is characterized in that, also comprises:
If have server and described first equipment to connect in Servers-all territory but the server that described and described first equipment connects cannot use described first equipment, move in described memory device territory the server domain at the server place that described first equipment is connected from described and described first equipment.
10. be a device for network dividing domain, it is characterized in that, comprising:
First receiver module, for receiving Login Register message, described Login Register message comprises the device type information of the first equipment sending described Login Register message;
Create processing module, for when determining that described first equipment is server according to the device type information in described Login Register message, for described first equipment creates a server domain, described first equipment is added in created server domain, and the login state renewal notice RSCN message described first device logs produced is sent to memory devices all in memory device territory;
First migration process module, connect for having memory device and described first equipment in described memory device territory and described first equipment can use the described memory device connected with described first equipment time, the memory device connected by described and described first equipment moves in the server domain at described first equipment place from described memory device territory, and record described first equipment, mapping relations between memory device that described and described first equipment connects and described first equipment place server domain three;
Also comprise: add processing module, for when determining that described first equipment is memory device according to the device type information in described Login Register message, described first equipment is added in described memory device territory, and the server RSCN message that described first device logs produces is sent in Servers-all territory and memory device, wherein each server domain comprises a server;
Second migration process module, connect for having server and described first equipment in Servers-all territory and the server that described and described first equipment connects can use described first equipment time, described first equipment is moved to from described memory device territory in the server domain at the described server place connected with described first equipment, and record described first equipment, mapping relations between server that described and described first equipment connects and the server place server domain three that described and described first equipment connects.
11. according to claim 10 be the device of network dividing domain, it is characterized in that, also comprise:
First logging modle, if for determining that described first equipment is server according to the device type information in described Login Register message, in described memory device territory, do not have memory device and described first equipment to connect, or in described memory device territory, have memory device and described first equipment to connect but described first equipment cannot use the described memory device connected with described first equipment time, record described first equipment and described first equipment place server domain mapping relations between the two.
12. according to claim 10 be the device of network dividing domain, it is characterized in that, also comprise:
Second logging modle, if for determining that described first equipment is memory device according to the device type information in described Login Register message, in Servers-all territory, do not have server and described first equipment to connect, or in Servers-all territory, have server and described first equipment to connect but the server that described and described first equipment connects cannot use described first equipment time, record described first equipment and described memory device territory mapping relations between the two.
13. is the device of network dividing domain according to any one of claim 10-12, it is characterized in that, also comprises:
Second receiver module, publishes registration message for receiving, described in publish the device type information that registration message comprises the second equipment publishing registration message described in transmission;
First delete processing module, for when publishing the device type information in registration message described in basis and determining that described second equipment is server, if there is memory device in described second equipment place server domain, the RSCN message that described second equipment publishes generation is sent to the memory device in described second equipment place server domain, memory device in described second equipment place server domain is moved in described memory device territory from described second equipment place server domain, and delete described second equipment place server domain, delete described second equipment, memory device in described second equipment place server domain and the mapping relations between described second equipment place server domain three, if or there is not memory device in described second equipment place server domain, delete described second equipment place server domain, delete described second equipment and described second equipment place server domain mapping relations between the two.
14. according to claim 13 be the device of network dividing domain, it is characterized in that, also comprise:
Second delete processing module, for when publishing the device type information in registration message described in basis and determining that described second equipment is memory device, if described second equipment is in described memory device territory, delete described second equipment and described memory device territory mapping relations between the two, if or described second equipment is not in described memory device territory, the RSCN message that described second equipment publishes generation is sent to the server in described second equipment place server domain and other memory devices except described second equipment, delete described second equipment, server in described second equipment place server domain and the mapping relations between described second equipment place server domain three.
15. according to claim 11 be the device of network dividing domain, it is characterized in that, described first migration process module specifically for determine in described memory device territory have memory device and described first equipment to connect time, the memory device connected by described and described first equipment moves in the server domain at described first equipment place from described memory device territory, then when determining that described first equipment can use the described memory device connected with described first equipment, record described first equipment, mapping relations between the memory device that described and described first equipment connects and described first equipment place server domain three.
16. according to claim 15 be the device of network dividing domain, it is characterized in that, described first migration process module also in described memory device territory, have memory device and described first equipment to connect but described first equipment cannot use the described memory device connected with described first equipment time, the memory device connected by described and described first equipment moves in described memory device territory from the server domain at described first equipment place.
17. according to claim 12 be the device of network dividing domain, it is characterized in that, described second migration process module specifically for determine in Servers-all territory have server and described first equipment to connect time, in the server domain at the server place connected with described first equipment described in described first equipment is moved to from described memory device territory, then when determining that the described server connected with described first equipment can use described first equipment, record described first equipment, mapping relations between the server that described and described first equipment connects and the server place server domain three that described and described first equipment connects.
18. according to claim 17 be the device of network dividing domain, it is characterized in that, described second migration process module also in Servers-all territory, have server and described first equipment to connect but the server that described and described first equipment connects cannot use described first equipment time, move in described memory device territory the server domain at the server place that described first equipment is connected from described and described first equipment.
19. 1 kinds of switches, is characterized in that, comprise the device for network dividing domain described in any one of claim 10-18.
CN201210583320.5A 2012-12-28 2012-12-28 For the method for network dividing domain, device and switch Active CN103078801B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210583320.5A CN103078801B (en) 2012-12-28 2012-12-28 For the method for network dividing domain, device and switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210583320.5A CN103078801B (en) 2012-12-28 2012-12-28 For the method for network dividing domain, device and switch

Publications (2)

Publication Number Publication Date
CN103078801A CN103078801A (en) 2013-05-01
CN103078801B true CN103078801B (en) 2015-11-25

Family

ID=48155210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210583320.5A Active CN103078801B (en) 2012-12-28 2012-12-28 For the method for network dividing domain, device and switch

Country Status (1)

Country Link
CN (1) CN103078801B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161287A (en) * 2011-12-21 2016-11-23 瞻博网络公司 Method and apparatus for distribution type fiber-optic channel control plane
CN105245636B (en) * 2015-10-23 2018-09-14 中国联合网络通信集团有限公司 message communication method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387175A (en) * 2010-08-31 2012-03-21 国际商业机器公司 Method and system for transferring memory system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005018159A (en) * 2003-06-23 2005-01-20 Fujitsu Ltd Storage system construction support device, storage system construction support method and storage system construction support program
US8805969B2 (en) * 2008-05-08 2014-08-12 Brocade Communications Systems, Inc. HBA boot using network stored information

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387175A (en) * 2010-08-31 2012-03-21 国际商业机器公司 Method and system for transferring memory system

Also Published As

Publication number Publication date
CN103078801A (en) 2013-05-01

Similar Documents

Publication Publication Date Title
CN102845123B (en) Virtual private cloud connection method and tunnel proxy server
CN103118148B (en) A kind of ARP buffering updating method and equipment
CN102802227B (en) Based on the data processing method of base station direct connection framework, equipment and system
CN102594697A (en) Load balancing method and device
CN105072038A (en) Method and device for forwarding data message
CN103475682A (en) File transfer method and file transfer equipment
CN102647704B (en) Data transmission processing method, base station and system
CN103414798B (en) The communication means of address transition Network Based, equipment and system
CN103581317A (en) Method for sharing network resources
CN102811338A (en) Control method and control device for multi-level postback video signal in video conference system
CN102833173A (en) Network device and tunnel adaptation method
CN103078801B (en) For the method for network dividing domain, device and switch
CN103065096B (en) A kind of data guard method, Apparatus and system
CN102647338A (en) Network communication method and equipment
CN104754521A (en) Message transmitting method, wireless access point, wireless controller and system
KR101639403B1 (en) Communication method of herb and transmitting, receiving terminal included in virtual group
CN103002038B (en) The processing method of elastic load equilibrium and device
CN102984739A (en) Breakdown information processing method and processing device
CN102857574B (en) Information processing method and apparatus for Internet of Things
CN109413142A (en) A kind of iSCSI virtual protocol implementation method under Linux
CN115942411A (en) Multi-card multi-mode communication system control method and device of power acquisition terminal
CN102546549B (en) Method, system and device for data transmission
CN107071038A (en) A kind of method and device of transmitting multimedia data
CN112152847A (en) Method, device, equipment and readable medium for establishing connection between RRH and BBU
CN101557398A (en) Method for establishing transparent channel and SIP terminal and SIP server

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
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park building 19#

Patentee after: RUIJIE NETWORKS CO., LTD.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park building 19#

Patentee before: Fujian Xingwangruijie Network Co., Ltd.