CN103078801A - Method, device and exchanger of domain partition for network - Google Patents

Method, device and exchanger of domain partition for network Download PDF

Info

Publication number
CN103078801A
CN103078801A CN2012105833205A CN201210583320A CN103078801A CN 103078801 A CN103078801 A CN 103078801A CN 2012105833205 A CN2012105833205 A CN 2012105833205A CN 201210583320 A CN201210583320 A CN 201210583320A CN 103078801 A CN103078801 A CN 103078801A
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.)
Granted
Application number
CN2012105833205A
Other languages
Chinese (zh)
Other versions
CN103078801B (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

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method, device and exchanger of domain partition for a network. The method comprises the following steps that a login registration message including equipment type information of first equipment is received; if the first equipment is a server, a server domain is created for the first equipment which is then added into the created server domain, and an RSCN (Registered State Change Notification) message generated by login of the first equipment is sent to all storage equipment in a storage equipment domain; and if one storage equipment in the storage equipment domain is connected with the first equipment and the storage equipment is available, the storage equipment is moved from the storage equipment domain to the server domain in which the first equipment is positioned, and the mapping relation among the storage equipment, the first equipment and the server domain in which the first equipment is positioned is recorded. According to the method provided by the technical scheme of the invention, the equipment which needs to be communicated can be partitioned into the same domain, an administrator does not participate in the domain partition process, the workload of the administrator for pre-planning and pre-configuring the network is reduced, and the flexibility and the efficiency of the method are higher.

Description

Method, device and switch for the network dividing domain
Technical field
The present invention relates to the communication technology, relate in particular to a kind of for method, device and the switch of network dividing domain.
Background technology
In optical-fibre channel (Fibre Channel is referred to as FC) network, comprise at least switch, server and memory device.When server added the FC network, the exchange opportunity direct-connected with this server produced login state renewal announcement (Registered State Change Notification is referred to as a RSCN) message.Under the default situations, with the direct-connected exchange opportunity of above-mentioned server the RSCN message is sent to all devices in the FC network.Usually, the adding of a station server is only relevant with the part memory device in the FC network, but the RSCN message need to send to all devices in the FC network, if the FC network size is larger, will produce a lot of unnecessary information flows, causes network resources waste.
In order to overcome the problem of above-mentioned network resources waste, it is FC network configuration territory (Zone) that prior art adopts by administrator hand, equipment in same territory just can connect and mutually intercommunication, the RSCN message just can only send to the equipment that need to connect with the equipment of this RSCN message of generation like this, reduce unnecessary information flow, conserve network resources.If the FC network size is larger, the keeper need to carry out planning installs to the FC network, and the method for this dividing domain is dumb, and efficient is lower.
Summary of the invention
The invention provides a kind of method, device and switch of network dividing domain that be, in order to improve flexibility and the efficient to the network dividing domain.
It is a kind of for the method for network dividing domain that first aspect provides, and comprising:
Receive Login Register message, described Login Register message comprises the device type information of the first equipment that sends described Login Register message;
If determining described the first equipment according to the device type information in the described Login Register message is server, for described the first equipment creates a server domain, described the first equipment is added in the server domain that creates, and the login state renewal announcement RSCN message that described the first device logs produces is sent to memory devices all in the memory device territory;
If memory device and described the first equipment connects and described the first equipment can use described and described the first equipment to connect memory device are arranged in the described memory device territory, the memory device that described and described the first equipment connects is moved in the server domain at described the first equipment place from described memory device territory, and record memory device that described the first equipment, described and described the first equipment connects and the mapping relations between described the first equipment place server domain three.
It is a kind of for the device of network dividing domain that second aspect provides, and comprising:
The first receiver module is used for receiving Login Register message, and described Login Register message comprises the device type information of the first equipment that sends described Login Register message;
Create processing module, be used for when determining described the first equipment according to the device type information of described Login Register message and be server, for described the first equipment creates a server domain, described the first equipment is added in the server domain that creates, and the login state renewal announcement RSCN message that described the first device logs produces is sent to memory devices all in the memory device territory;
The first migration process module, be used for having memory device and described the first equipment to connect in described memory device territory and described the first equipment can use the memory device that described and described the first equipment connects the time, the memory device that described and described the first equipment connects is moved in the server domain at described the first equipment place from described memory device territory, and record memory device that described the first equipment, described and described the first equipment connects and the mapping relations between described the first equipment place server domain three.
The third aspect provides a kind of switch, comprising: second aspect provides arbitraryly is the device of network dividing domain.
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 the equipment of determining transmission Login Register message is server, for this server creates a server domain and it is added the server domain that creates, the RSCN message that this server produces is only announced to the memory device in the memory device territory, then according to the process that connects between the memory device in this server and the memory device territory, need to join with the memory device of this server communication this server place server domain, realized that memory device and the server that will need to communicate by letter are divided in the same territory, the change of equipment only can have influence on other equipment in the same territory, only need get final product to the RSCN message that other devices advertise changes in the same territory cause, be conducive to conserve network resources, and the process of this dividing domain does not need keeper's participation, reduced the keeper network is carried out pre-planning and pre-configured workload, its flexibility and efficient are all higher.
Description of drawings
Fig. 1 for the embodiment of the invention provide a kind of for the method flow diagram of network dividing domain;
The another kind that Fig. 2 provides for the embodiment of the invention is the method flow diagram of network dividing domain;
Fig. 3 provide for the embodiment of the invention another be the method flow diagram of network dividing domain;
Fig. 4 provide for the embodiment of the 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 invention;
The structural representation of a kind of device for the network dividing domain that Fig. 9 provides for the embodiment of the invention;
The another kind that Figure 10 provides for the embodiment of the invention is the reception schematic diagram of the device of network dividing domain.
Embodiment
Fig. 1 for the embodiment of the invention provide a kind of for the method flow diagram of network dividing domain.As shown in Figure 1, the method for present embodiment comprises:
Step 101, reception Login Register message, described Login Register message comprises the device type information of the first equipment that sends described Login Register message.
If it is server that step 102 is determined the first equipment according to the device type information in the described Login Register message, be that the first equipment creates a server domain, the first equipment is added in the server domain that creates, and the RSCN message that the first device logs is produced sends to memory devices all in the memory device territory.
If have memory device and the first equipment to connect in the step 103 memory device territory and memory device that the first equipment can use described and the first equipment to connect, the memory device that described and the first equipment connect is moved in the server domain at the first equipment place from the memory device territory, and record the first equipment, described and memory device that the first equipment connects and the mapping relations between the first equipment place server domain three.
The executive agent of present embodiment method can be the switch in the FC network.Described switch can be in the FC network with the direct-connected switch (referred to as direct-connected switch) of the first equipment, also can be to be positioned in the FC network on the communication path of the first equipment and other switches (referred to as indirectly connected switch) by direct-connected switch and the first equipment connection.
Concerning direct-connected switch, the process that receives Login Register message is directly to receive the Login Register message that the first equipment sends.Concerning indirectly connected switch, receive the process of Login Register message for receiving the Login Register message of being transmitted by direct-connected switch.Concrete, during the first device request login FC network, can send Login Register message to its direct-connected switch, the first equipment is by the address designation (FCID) of this Login Register message application FC network, and can be with the device type of self, for example be server or memory device, and the FC parameter of self supporting etc. is registered on the direct-connected switch.Direct-connected exchange opportunity is added the Login Register message of the first equipment in the name server (Name Server) to, and synchronous this name server of other switches in the FC network.Name server can be an information list on the direct-connected switch.
After switch receives Login Register message, be not that direct server all in the FC network and memory device send the RSCN message that the login because of the first equipment produces as prior art, but therefrom obtain the device type information of the first equipment, then determine the device type of the first equipment according to this device type information.
If it is server that switch is determined the first equipment, switch is that the first equipment creates a server domain, the first equipment is joined in the server domain that creates, and the RSCN message that the first device logs is produced sends to memory devices all in the memory device territory.
In the present embodiment, according to the type of the equipment that accesses the FC network, be that the FC network is divided two types territory, a kind of is the memory device territory, a kind of is server domain.Wherein, the memory device territory is predefined, all memory devices that add the FC network at first are added in the memory device territory, after connecting, memory device and certain server can from the memory device territory, move in the server domain at the server place that connects with this memory device, further, if the server that connects with this memory device can use this memory device, then this memory device is just really moved in this server place server domain, if the server that connects with this memory device cannot use this memory device, then this memory device also can be moved back in the 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 it is added the server domain that creates.
In this explanation, " territory " that relates in various embodiments of the present invention is not physically real region, but a kind of notional territory; Accordingly, " migration " that relates in the various embodiments of the present invention is not real memory device to be moved to another place from a place, just switch is carrying out in the partition process of territory the FC network, to a kind of description of transition state, described " migration " mainly refers to can be from a notional domain migration to another notional territory.
Consider in the FC network, generally do not need to carry out FC communication between the server, a memory device is only distributed to a station server and is used, and a station server can use many memory devices simultaneously.Therefore, be in the situation of server at the first equipment, switch is that the first equipment creates server domain and the first equipment is added after the server domain that creates, and switch sends to memory devices all in the memory device territory with the RSCN message that the first device logs produces.
In this explanation, if as the switch of the executive agent of present embodiment method, not directly to link to each other with memory device in the memory device territory, then can the RSCN message be sent to corresponding memory device by other switches.If other places do not have specified otherwise, described switch all refers to the switch as the executive agent of present embodiment method.
After memory device in the memory device territory receives the RSCN message, can attempt connecting with the first equipment.Concrete, memory device in the memory device territory can be logined (Port Login to the first equipment transmit port by switch, referred to as PLOGI) message, if receive the refuse information that the first equipment returns in default time of reception, 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 to default time of reception by timer.Switch can be by the process that connects between the memory device in the monitoring memory device territory and the first equipment, and whether determine has memory device and the first equipment to connect in the memory device territory.Optionally, switch can preset the timer of setting up process for connection, if after timer regularly finishes, does not also hear the refuse information that the first equipment sends, and then determining has memory device and the first equipment to connect in the memory device territory.
Further, the information of available server that every memory device is all pre-configured, after memory device in the memory device territory and the first equipment connect, the first equipment also can determine whether to use the memory device that connects with the first equipment, determines namely whether the memory device that connects with the first equipment is available; If it be yes determining the result, then the first equipment can keep its with this memory device between be connected, if definite result is no, the first equipment can remove its with this memory device between be connected.Concrete, the first equipment is published (Port Logout is referred to as PLOGO) message by switch to the memory device transmit port that connects with it, with remove its with this memory device between be connected.Switch can by monitor in the first equipment and the memory device territory with memory device that the first equipment connects between be connected demolishing process, whether first equipment of determining can use the memory device in the memory device territory that connects with the first equipment.Optionally, switch can preset for the timer that connects demolishing process, if after timer regularly finishes, also do not hear the PLOGO message that the first equipment sends, determine that then the first equipment can use the memory device that connects with the first equipment in the memory device territory; Otherwise, if before timer regularly finishes, listen to the PLOGO message that the first equipment sends, determine that then the first equipment cannot use the memory device that connects with the first equipment in the memory device territory.
Based on above-mentioned, if determining, switch have memory device and the first equipment to connect in the memory device territory and memory device that the first equipment can use described and the first equipment to connect, the memory device that described and the first equipment connect is moved in the server domain at the first equipment place from the memory device territory, and record the first equipment, described and memory device that the first equipment connects and the mapping relations between the first equipment place server domain three.
There are not memory device and the first equipment to connect in the memory device territory if determine, perhaps determining has memory device and the first equipment to connect but memory device that the first equipment cannot use described and the first equipment to connect in the memory device territory, then record the first equipment and the first equipment place server domain mapping relations between the two.
So far, switch is in the situation of server at the first equipment, with the first equipment and need to be divided into the memory device of the first devices communicating in the same territory, equipment in follow-up like this this territory changes and the RSCN message that produces only needs announce in this territory, can not announce to the server in other territories or memory device, reduced the coverage that equipment changing causes, reduce the network resources waste that unnecessary announcement process causes, be conducive to improve stability and the availability of network.In addition and since the present embodiment method provide be the method for network dividing domain, do not need keeper's participation, automatically finished by the switch in the FC network, have realize flexible, the more high advantage of efficient.
If determining, above-mentioned switch have memory device and the first equipment to connect in the memory device territory and memory device that the first equipment can use described and the first equipment to connect, the memory device that described and the first equipment connect is moved in the server domain at the first equipment place from the memory device territory, and records the first equipment, describedly comprises with memory device that the first equipment connects and a kind of execution mode of the mapping relations between the first equipment place server domain three:
At first, determine whether to have in the memory device territory memory device and the first equipment to connect; There are memory device and the first equipment to connect in the memory device territory if determine, the described memory device that connects with the first equipment is moved to from the memory device territory in the first equipment place server domain;
Then, determine whether the first equipment can use the described memory device that connects with the first equipment; If the memory device that first equipment of determining can use described and the first equipment to connect then records the first equipment, described and memory device that the first equipment connects and the mapping relations between the first equipment place server domain three.
Based on above-mentioned execution mode, if have memory device and the first equipment to connect in the memory device territory but memory device that the first equipment cannot use described and the first equipment to connect, described method also comprises: memory device described and that the first equipment connects is moved in the memory device territory from the first equipment place server domain.
If determining, above-mentioned switch have memory device and the first equipment to connect in the memory device territory and memory device that the first equipment can use described and the first equipment to connect, the memory device that described and the first equipment connect is moved in the server domain at the first equipment place from the memory device territory, and records the first equipment, describedly comprises with memory device that the first equipment connects and the another kind of execution mode of the mapping relations between the first equipment place server domain three:
At first, determine whether to have in the memory device territory memory device and the first equipment to connect; There are memory device and the first equipment to connect in the memory device territory if determine, determine then whether the first equipment can use the described memory device that connects with the first equipment; If first equipment of determining can use the described memory device that connects with the first equipment, the memory device that described and the first equipment connect is moved to from the memory device territory in the first equipment place server domain, and record the first equipment, described and memory device that the first equipment connects and the mapping relations between the first equipment place server domain three.
In this explanation, present embodiment records the first equipment, and the memory device that connects of the first equipment and the mapping relations between the first equipment place server domain three to switch, and the specific implementation that switch records the first equipment and the first equipment place server domain mapping relations is not between the two done restriction.
For example, switch can record in the mode of list item above-mentioned mapping relations, every list item comprises following information at least: the FCID of the port numbers that equipment is connected with switch (FC-Port), device type, equipment, the global unique identification of equipment (World Wide Number, referred to as WWN), the global unique port sign (World Wide Port Number is referred to as WWPN) of equipment and the sign (ID) in territory, equipment place.Wherein, the WWN whole world of equipment is unique, is one 64 NIC address sign; The WWPN whole world of equipment is unique, also is one 64 NIC address sign, and this NIC address sign can be identified to the concrete port on the network interface card, has a port on the network interface card at least.In this embodiment, each territory is distinguished by its ID, for example can be that the ID that the memory device territory is set is 1, and the ID of other server domain increases progressively successively since 2, but is not limited to this, and every mode that can distinguish each territory can.
Based on above-mentioned, switch record the first equipment, and the memory device that connects of the first equipment and the mapping relations between the first equipment place server domain three can adopt two list items, take the ID of the first equipment place server domain as 2 as example, the mapping relations that then record can be as shown in table 1.
Table 1
Figure BDA00002678700600081
As can be seen from Table 1, memory device and the first equipment are in same territory, namely in the first equipment place server domain.
The another kind that Fig. 2 provides for the embodiment of the invention is the method flow diagram of network dividing domain.As shown in Figure 2, the method for present embodiment comprises:
Step 201, reception Login Register message, described Login Register message comprises the device type information of the first equipment that sends described Login Register message.
If it is memory device that step 202 is determined the first equipment according to the device type information in the described Login Register message, the first equipment is added in the memory device territory, and the RSCN message that the first device logs produces sent to server and memory device in the Servers-all territory, wherein each server domain comprises a server.
If have server and the first equipment to connect in the step 203 Servers-all territory and server described and that the first equipment connects can use the first equipment, the first equipment is moved to from the memory device territory in the server domain at the server place that described and the first equipment connects, and record mapping relations between the first equipment, described and server that the first equipment connects and described and the server place server domain three that the first equipment connects.
The executive agent of present embodiment method can be the switch in the FC network.Described switch can be in the FC network with the direct-connected switch (referred to as direct-connected switch) of the first equipment, also can be to be positioned in the FC network on the communication path of the first equipment and other switches (referred to as indirectly connected switch) by direct-connected switch and the first equipment connection.
Concerning direct-connected switch, the process that receives Login Register message is directly to receive the Login Register message that the first equipment sends.Concerning indirectly connected switch, receive the process of Login Register message for receiving the Login Register message of being transmitted by direct-connected switch.Concrete, during the first device request login FC network, can send Login Register message to its direct-connected switch, the first equipment is by the address designation (FCID) of this Login Register message application FC network, and can be with the device type of self, for example be server or memory device, and the FC parameter of self supporting etc. is registered on the direct-connected switch.Direct-connected exchange opportunity is added the Login Register message of the first equipment in the name server (Nane Server) to, and synchronous this name server of other switches in the FC network.Name server can be an information list on the direct-connected switch.
After switch receives Login Register message, be not that direct server all in the FC network and memory device send the RSCN message that the login because of the first equipment produces as prior art, but therefrom obtain the device type information of the first equipment, then determine the device type of the first equipment according to this device type information.
If it is memory device that switch is determined the first equipment, switch adds the first equipment in the memory device territory, and the RSCN message that the first device logs produces is sent to server in the Servers-all territory.In the present embodiment, according to the type of the equipment that accesses the FC network, be that the FC network is divided two types territory, a kind of is memory device territory (Share Zone), a kind of is server domain.Wherein, the memory device territory is predefined, all memory devices that add the FC network at first are added in the memory device territory, move to from the memory device territory in the server domain at the server place of using this memory device when memory device is used by certain server 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 it is added the server domain that creates.
Consider in the FC network, generally do not need to carry out FC communication between the memory device, a memory device is only distributed to a station server and is used, and a station server can use many memory devices simultaneously.Therefore, be in the situation of memory device at the first equipment, after switch joins the first equipment in the memory device territory, the RSCN message that also the first device logs can be produced send to server and the memory device in the Servers-all territory, and namely only all devices in each server domain sends the RSCN message.
In this explanation, if as the switch of the executive agent of present embodiment method, not directly to link to each other with server in the server domain, then can the RSCN message be sent to corresponding server by other switches.
After server in the server domain receives the RSCN message, can attempt connecting with the first equipment.Concrete, the server in the server domain can send the PLOGI message to the first equipment by switch, if receive the refuse information that the first equipment returns in default time of reception, then server and the first equipment connect unsuccessfully; If do not receive the refuse information that the first equipment returns in default time of reception, then server and the first equipment connect successfully.Switch can be by the process that connects between the server in the monitoring service device territory and the first equipment, and whether determine has server and the first equipment to connect in the Servers-all territory.Optionally, switch can preset the timer of setting up process for connection, if after timer regularly finishes, does not also hear the refuse information that the first equipment sends, and then determining has server and the first equipment to connect in the Servers-all territory.
Further, as memory device, the information of available server that it is pre-configured.After server in the first equipment and the server domain connects, the first equipment can be according to the available server information of its configuration, determine that its server that whether can be connected with it uses, if determine that the result is yes, then the first equipment can keep with this server between be connected, if it is no determining the result, the first equipment can remove its with this server between be connected.Concrete, the first equipment sends the PLOGO message by switch to the server that connects with it, with remove its with this server between be connected.Switch can by monitor in the first equipment and the server domain with server that the first equipment connects between be connected demolishing process, the server in the server domain whether first equipment of determining can be connected with it uses.Optionally, switch can preset for the timer that connects demolishing process, if after timer regularly finishes, the PLOGO message that first equipment that also do not hear sends determines that then the server that the first equipment connects with it in can serviced device territory uses; Otherwise if before timer regularly finishes, the PLOGO message that first equipment that listens to sends determines that then the server that the first equipment connects with it in cannot serviced device territory uses.
Based on above-mentioned, if determining, switch have the server that server and the first equipment connect and the first equipment can be connected with it to use in the Servers-all territory, then the first equipment is moved to from the memory device territory in the server domain at the server place that described and the first equipment connects, and records the mapping relations between the first equipment, described and server that the first equipment connects and described and the server place server domain three that the first equipment connects.
If determining, switch do not have server and the first equipment to connect in the Servers-all territory, perhaps determining has server and the first equipment to connect but server that the first equipment cannot be connected with it uses in the Servers-all territory, then record the first equipment and memory device territory mapping relations between the two.
So far, switch is in the situation of memory device at the first equipment, with the first equipment and need to be divided into the server of the first devices communicating in the same territory, equipment in follow-up like this this territory changes and the RSCN message that produces only needs announce in this territory, can not announce to the server in other territories or memory device, reduced the coverage that equipment changing causes, reduce the network resources waste that unnecessary announcement process causes, be conducive to improve stability and the availability of network.In addition and since the present embodiment method provide be the method for network dividing domain, do not need keeper's participation, automatically finished by the switch in the FC network, have realize flexible, the more high advantage of efficient.
If determining, above-mentioned switch have the server that server and the first equipment connect and the first equipment can be connected with it to use in the Servers-all territory, then the first equipment is moved to from the memory device territory in the server domain at the server place that described and the first equipment connects, and a kind of execution mode that records the mapping relations between the first equipment, described and server that the first equipment connects and described and the server place server domain three that the first equipment connects comprises:
At first, determine whether to have in the Servers-all territory server and the first equipment to connect; Have server and the first equipment to connect in the Servers-all territory if determine, the first equipment is moved to from the memory device territory in the server domain at described and the server place that the first equipment connects;
Then, determine that the server whether the first equipment can be connected with it uses, if the server that first equipment of determining can be connected with it uses, then record the mapping relations between the first equipment, described and server that the first equipment connects and described and the server place server domain three that the first equipment connects.
Based on above-mentioned execution mode, if have server and the first equipment to connect in the Servers-all territory but server that the first equipment cannot be connected with it uses, described method also comprises: the first equipment is moved in the memory device territory from the server place server domain that described and the first equipment connect.
If determining, above-mentioned switch have the server that server and the first equipment connect and the first equipment can be connected with it to use in the Servers-all territory, then the first equipment is moved to from the memory device territory in the server domain at the server place that described and the first equipment connects, and the another kind of execution mode that records the mapping relations between the first equipment, described and server that the first equipment connects and described and the server place server domain three that the first equipment connects comprises:
At first, determine whether to have in the Servers-all territory server and the first equipment to connect; There are server and the first equipment to connect in the Servers-all territory if determine, determine that then the server whether the first equipment can be connected with it uses; If the server that first equipment of determining can be connected with it uses, then the first equipment is moved to from the memory device territory in the server domain at the server place that described and the first equipment connects, and records the mapping relations between the first equipment, described and server that the first equipment connects and described and the server place server domain three that the first equipment connects.
In this explanation, present embodiment records mapping relations between the first equipment, described and server that the first equipment connects and described and the server place server domain three that the first equipment connects to switch, and the specific implementation that switch records the first equipment and memory device territory mapping relations is not between the two done restriction.For example, switch also can record in the mode of list item above-mentioned mapping relations.Take the ID of the server place server domain that connects with the first equipment as 3 as example, then the first equipment of switch record, and the server that connects of the first equipment and described and server place server domain three that the first equipment connects between mapping relations can be as shown in table 2.
Table 2
Figure BDA00002678700600121
As can be seen from Table 2, the first equipment and server are in same territory, namely in this server place server domain.
Fig. 3 provide for the embodiment of the invention another be the method flow diagram of network dividing domain.As shown in Figure 3, the method for present embodiment comprises:
Step 301, reception Login Register message, described Login Register message comprises the device type information of the first equipment that sends described Login Register message.
Step 302, according to the device type information in the Login Register message, determine that the first equipment is memory device or server; If determine that the result is that the first equipment is server, then execution in step 303; If determine that the result is that the first equipment is memory device, then execution in step 309.
Step 303, be that the first equipment creates a server domain, the first equipment is added in the server domain that creates, and the RSCN message that the first device logs is produced sends to memory devices all in the memory device territory, continue execution in step 304.
Step 304, determine whether to have in the memory device territory memory device and the first equipment to connect; If determine that the result is yes, execution in step 305; If determine that the result is no, turn execution in step 315.Concrete, whether the PLOGI message that can send by the memory device that determines whether to listen in the memory device territory determines to have in the memory device territory memory device and the first equipment to connect.If listen to the PLOGI message that the memory device in the memory device territory sends, determine to have in the memory device territory memory device and the first equipment to connect; Otherwise, determine not have in the memory device territory memory device and the first equipment to connect.
Step 305, the memory device that described and the first equipment are connected are moved to from the memory device territory in the server domain at the first equipment place, continue execution in step 306.
Step 306, determine whether the first equipment can use the memory device that connects with the first equipment; If determine that the result is yes, execution in step 307; If determine that the result is no, execution in step 308.Concrete, can by determining before timer regularly finishes, whether to listen to the PLOGO message that the first equipment sends, determine whether the first equipment can use the memory device that connects with the first equipment.If before timer regularly finishes, listen to the PLOGO message that the first equipment sends, determine that the first equipment cannot use the memory device that connects with the first equipment; Otherwise, determine that the first equipment can use the memory device that connects with the first equipment.
Step 307, record the first equipment, described and memory device that the first equipment connects and the mapping relations between the first equipment place server domain three turn execution in step 315.
Step 308, the memory device that described and the first equipment are connected are moved in the 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 execution in step 315.
Step 309, the first equipment is added in the memory device territory, and the RSCN message that the first device logs produces is sent to server and memory device in the Servers-all territory, continue execution in step 310.
Step 310, determine whether to have in the Servers-all territory server and the first equipment to connect; If determine that the result is yes, execution in step 311; If determine that the result is no, turn execution in step 315.
Concrete, whether the PLOGI message that can send by the server that determines whether to listen in the server domain determines to have in the Servers-all territory server and the first equipment to connect.If listen to the PLOGI message that the server in the server domain sends, determine to have in the server domain server and the first equipment to connect; Otherwise, determine not have in the server domain server and the first equipment to connect.
Step 311, the first equipment is moved to from the memory device territory in the server domain at the server place that described and the first equipment connects, and continue execution in step 312.
Step 312, determine that whether the first equipment can be used by the server that connects with the first equipment; If determine that the result is yes, execution in step 313; If determine that the result is no, execution in step 315.
Concrete, can by determining before timer regularly finishes, whether to listen to the PLOGO message of the server transmission that connects with the first equipment, determine that the server whether the first equipment can be connected with it uses.If before timer regularly finishes, listen to the PLOGO message of the server transmission that connects with the first equipment, determine that the server that the first equipment cannot be connected with it uses; Otherwise, determine that the server that the first equipment can be connected with it uses.
Mapping relations between step 313, record the first equipment, described and server that the first equipment connects and described and the server place server domain three that the first equipment connects, and turn execution in step 315.
Step 314, the first equipment is moved in the memory device territory from the server place server domain that described and the first equipment connect, record the first equipment and memory device territory mapping relations between the two, and turn execution in step 315.
This time operation of step 315, end.
In the present embodiment, be divided in the same territory by memory device and the server that will need to communicate by letter, equipment in follow-up like this this territory changes and the RSCN message that produces only needs announce in this territory, can not announce to the server in other territories or memory device, reduced the coverage that equipment changing causes, reduce the network resources waste that unnecessary announcement process causes, be conducive to improve stability and the availability of network.In addition and since the present embodiment method provide be the method for network dividing domain, do not need keeper's participation, automatically finished by the switch in the FC network, have realize flexible, the more high advantage of efficient.
Fig. 4 provide for the embodiment of the invention another be the method flow diagram of network dividing domain.Present embodiment can realize that based on above-described embodiment as shown in Figure 4, the method for present embodiment comprises:
Registration message is published in step 401, reception, and the described registration message of publishing comprises the described device type information of publishing the second equipment of registration message of transmission.
Be the process of network dividing domain when in the above-described embodiments, having described server or memory device login FC network.It is the process of network dividing domain that the present embodiment emphasis is described when having memory device or server to publish the FC network.
The executive agent of present embodiment method also is the switch in the FC network.
Concrete, when the second equipment in the FC network need to be published the FC network, publish registration message to switch transmission direct-connected with it.Direct-connected switch is published registration message with this and is added in the name server, and name server is synchronized to other switches in the FC network.Based on this, the executive agent of present embodiment is if direct-connected switch, and second equipment that then can receive directly sends publishes registration message; If the executive agent of present embodiment is indirectly connected switch, then can receive the registration message of publishing by direct-connected switch forwarding.
Step 402, according to the described device type information of publishing in the registration message, determine that the second equipment is server or memory device; If second equipment of determining is server, then execution in step 403; If second equipment of determining is memory device, execution in step 406.
Step 403, determine whether there is memory device in the second equipment place server domain; If determine that the result is yes, execution in step 404; If determine that the result is no, execution in step 405.
Step 404, when in the second equipment place server domain, having memory device, the RSCN message that the second equipment is published generation sends to the memory device in the second equipment place server domain, memory device in the second equipment place server domain is moved in the memory device territory from the second equipment place server domain, and delete the second equipment place server domain, delete memory device in the second equipment, the second equipment place server domain and the mapping relations between the second equipment place server domain three, finish this time operation.
Step 405, when in the second equipment place server domain, not having memory device, delete the second equipment place server domain, delete the second equipment and the second equipment place server domain mapping relations between the two, finish this time operation.
Switch receive publish registration message after, determine that according to device type information wherein the second equipment is server or memory device.
If second equipment of determining is server, then the second equipment is understood corresponding server domain, so switch determines whether there is memory device in the second equipment place server domain, namely determine whether to exist the memory device that connects with the second equipment.Concrete, switch can be judged according to each mapping relations corresponding to the second equipment that record before.
Have memory device if determine in the second equipment place server domain, then switch will send to because of the RSCN message of publishing generation of the second equipment each memory device in the second equipment place server domain, to announce the variation of the second equipment.Simultaneously, switch is moved to each memory device in the second equipment place server domain in the memory device territory from this server domain, waits for that other servers or the second equipment continue to use after again logining the FC network.If the second equipment is published the FC network, the server domain that then the second equipment is corresponding has not just existed yet, the old friend changes planes also to be needed the second equipment place server domain deletion, the second equipment, the memory device in the second equipment place server domain and the mapping relations between the second equipment place server domain three of simultaneously deletion record.For example, if the mapping relations here are to be made of the list item shown in similar table 1 or the table 2, then switch is with the respective table entry deletion.
If determine in the second equipment place server domain and do not have memory device, there are not the second equipment, and the memory device that connects of the second equipment and the mapping relations between the second equipment place server domain three this moment, so switch is directly with the deletion of the second equipment place server domain, and the second equipment deleted with the second equipment place server domain mapping relations between the two gets final product.For example, if the mapping relations here are to be made of list item shown in table 1 or the table 2, then switch is with this list item deletion.
Step 406, determine that described the second equipment is whether in the memory device territory; If determine that the result is yes, execution in step 407; If determine that the result is no, execution in step 408.
Step 407, when the second equipment is in the memory device territory, delete the second equipment and memory device territory mapping relations between the two, finish this time operation.
Step 408, when the second equipment is not in the memory device territory, the RSCN message that the second equipment is published generation sends to server in the second equipment place server domain and other memory devices except the second equipment, delete server in the second equipment, the second equipment place server domain and the mapping relations between the second equipment place server domain three, finish this time operation.
Switch receive publish registration message after, determine that according to device type information wherein the second equipment is server or memory device.
If second equipment of determining is memory device, because this memory device may be in the memory device territory, also might be in certain server domain, the old friend changes planes and determines that further the second equipment is whether in the memory device territory.Concrete, switch can be judged according to the mapping relations with the second device-dependent that record before.
If second equipment of determining is in the memory device territory, second equipment that then illustrates is not used by any server, does not need to carry out the announcement of RSCN message, so only need the second equipment and the mapping relations deletion between the two of memory device territory of record are got final product.For example, if the mapping relations here are a list item, then switch gets final product this list item deletion.
If second equipment of determining is not in the memory device territory, illustrate that then the serviced device of the second equipment uses, in the server domain at the server place of using the second equipment, based on this, switch will send to because of the RSCN message of publishing generation of the second equipment server in the second equipment place server domain and other memory devices except the second equipment, announcing the variation of the second equipment, and delete server and the deletion of the mapping relations between the second equipment place server domain three in the second equipment, the second equipment place server domain.For example, if the mapping relations here are to be made of the list item shown in similar table 1 or the table 2, then switch can get final product the respective table entry deletion.
By as seen above-mentioned, in the present embodiment, by dividing different territories for the FC network, memory device and the server of needs communication are put in the same territory, like this when memory device or server are published the FC network, the RSCN message that produces only needs to announce in same territory, has reduced the network resources waste that unnecessary announcement process causes, and is conducive to improve stability and the availability of network.In addition and since the present embodiment method provide be the method for network dividing domain, do not need keeper's participation, automatically finished by the switch in the FC network, have realize flexible, the more high advantage of efficient.
Following examples of the present invention describe the method that the above embodiment of the present invention provides in connection with concrete application scenarios.
The structural representation of a kind of FC network that has existed that Fig. 5 provides for the embodiment of the invention.This FC network comprises switch 41, switch 42 and switch 43, switch 41, switch 42 are connected with switch successively and are connected, in addition, this FC network also comprises server 51 and memory device 61, server 51 and memory device 61 are to access in advance this FC network, and pre-configured memory device 61 can not use by serviced device 51.Switch 41, switch 42, switch 43, server 51 and memory device 61 interconnective port numbers are as shown in Figure 5.
Based on this, switch 41, switch 42 and switch 43 respectively can be according to the Login Register message of memory device 61, memory device 61 is added in the memory device territory, the ID that supposes this memory device territory is 1, brief note is memory device territory-1, and can record in the mode of list item memory device 61 and memory device territory-1 mapping relations between the two.In addition, switch 41, switch 42 and switch 43 respectively can be according to the Login Register message of server 51, for server 51 creates a server domain, the ID that supposes this server domain is 2, brief note is server domain-2, and with in server 51 these server domain of adding, also can record in the mode of list item server 51 and server domain-2 mapping relations between the two.
Based on above-mentioned, the list item of switch 41, switch 42 and switch 43 records is respectively shown in table 3, table 4 and table 5.
Table 3
Table 4
Figure BDA00002678700600182
Table 5
Figure BDA00002678700600183
Further, as shown in Figure 6, have a new memory device 62 to join in the FC network, and pre-configured memory device 62 can only use by serviced device 51.Then switch 41, switch 42 and switch 43 at first can according to the Login Register message of memory device 62, add memory device 62 in the memory device territory-1; And the RSCN message that switch 41 can produce the adding of memory device 62 sends to the server 51 in the server domain-2; Connect with server 51 and determine after server 51 can use memory device 62 determining memory device 62, switch 41, switch 42 and switch 43 can be moved to memory device 62 in the server domain-2 at server 51 places from memory device territory-1, and can record in the mode of list item the mapping relations between memory device 62, server 51 and server domain-2 three.At this moment, the list item of switch 41, switch 42 and switch 43 records is respectively shown in table 6, table 7 and table 8.
Table 6
Figure BDA00002678700600191
Table 7
Figure BDA00002678700600192
Table 8
Figure BDA00002678700600193
Figure BDA00002678700600201
Further, as shown in Figure 7, suppose to have a station server 52 to add the FC networks, and pre-configured memory device 61 only serviced device 52 use.At this moment, switch 41, switch 42 and switch 43 according to the Login Register message of server 52, for server 52 creates server domain, suppose that the ID of server domain is 3 respectively, note by abridging to be server domain-3; Switch 42 is with the adding of server 52 and the RSCN message that produces sends to the memory device 61 in the memory device territory-1; Connect with server 52 and determine after server 52 can use memory device 61 determining memory device 61, switch 41, switch 42 and switch 43 are moved to memory device 61 in the server domain-3 at server 52 places from memory device territory-1, and with the mapping relations between form record server 52, memory device 61 and server domain-3 three of list item.At this moment, the list item of switch 41, switch 42 and switch 43 records is shown in table 9, table 10 and table 11.
Table 9
Figure BDA00002678700600202
Table 10
Figure BDA00002678700600203
Figure BDA00002678700600211
Table 11
Figure BDA00002678700600212
So far, after two-server and two memory devices added the FC network, the division of dynamic domain had just been finished.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 equipment generation status change causes only can send in same territory, and the equipment in the same territory can carry out the mutual of FC data flow.Great like this minimizing in the FC network sends the problem of a large amount of RSCN messages because the transition of an equipment cause needs, improved the efficient of device processes regular traffic.
Further, as shown in Figure 8, suppose that server 51 shifts out the FC network after a period of time.Switch 41, switch 42 and switch 43 can be according to the registration messages of publishing that receives, determine that server 51 need to shift out the FC network, and then can determine in the server 51 place server domain-2 to also have a memory device 62 according to the list item of record before, the old friend changes planes and 43 server 51 is published and the RSCN message that produces sends to memory device 62, from server domain-2, move to memory device 62 in the memory device territory-1 simultaneously, with server domain-2 deletion, and with the deletion of the mapping relations between memory device 62, server 51 and server domain-2 three of record.At this moment, the list item of switch 41, switch 42 and switch 43 records is respectively shown in table 12, table 13 and table 14.
Table 12
Figure BDA00002678700600221
Table 13
Figure BDA00002678700600222
Table 14
Figure BDA00002678700600223
Figure BDA00002678700600231
The structural representation of a kind of device for the network dividing domain that Fig. 9 provides for the embodiment of the invention.As shown in Figure 9, the device of present embodiment comprises: the first receiver module 91, establishment processing module 92 and the first migration process module 93.
The first receiver module 91 is used for receiving Login Register message, and described Login Register message comprises the device type information of the first equipment that sends described Login Register message.
Create processing module 92, be connected with the first receiver module 91, be used for when the device type information of the Login Register message that receives according to the first receiver module 91 is determined the first equipment and is server, be that the first equipment creates a server domain, the first equipment is added in the server domain that creates, and the RSCN message that the first device logs is produced sends to memory devices all in the memory device territory.
The first migration process module 93, be connected with establishment processing module 92, be used for having memory device and the first equipment to connect in the memory device territory and the first equipment can use described and during memory device that the first equipment connects, the memory device that described and the first equipment connect is moved in the server domain at the first equipment place from the memory device territory, and record the first equipment, described and memory device that the first equipment connects and the mapping relations between the first equipment place server domain three.
Optionally, can be by the first migration process module 93 by monitoring being connected the process of foundation and being connected demolishing process between memory device and the first equipment in the memory device territory, whether to have memory device and the first equipment to connect in definite memory device territory and whether definite the first equipment can use memory device described and that the first equipment connects.
What present embodiment provided realizes for the device of network zoning can be arranged in the switch in the FC network; Perhaps can be independent of the switch in the FC network, but be connected with switch.
Each functional module for the device of network zoning that present embodiment provides can be used for carrying out that above-described embodiment provides is the flow process of the method for network zoning, and its specific works principle repeats no more, and sees the description of embodiment of the method for details.
Present embodiment provide for the device of network zoning, can and need to be divided into the memory device of the first devices communicating in the same territory with the first equipment, equipment in follow-up like this this territory changes and the RSCN message that produces only needs announce in this territory, can not announce to the server in other territories or memory device, reduced the coverage that equipment changing causes, reduce the network resources waste that unnecessary announcement process causes, be conducive to improve stability and the availability of network.In addition, can automatically finish the division in territory in the FC network based on what present embodiment provided for the device of network dividing domain, the process of this dividing domain does not need keeper's participation, has to realize flexibly the more high advantage of efficient.
The another kind that Figure 10 provides for the embodiment of the invention is the structural representation of the device of network dividing domain.Present embodiment is based on realization embodiment illustrated in fig. 9, and as shown in figure 10, the device of present embodiment also comprises: the first logging modle 94 except comprising the first receiver module 91, creating processing module 92 and the first migration process module 93.
The first logging modle 94, be used for not having memory device and the first equipment to connect in the memory device territory, perhaps in the memory device territory, there are memory device and the first equipment to connect but the first equipment cannot use the memory device that described and the first equipment connects the 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, the first migration process module 93 specifically is used in to be determined when having memory device and the first equipment to connect in the memory device territory, from the memory device territory, move to the described memory device that connects with the first equipment in the server domain at the first equipment place, then when first equipment of determining can use the memory device that described and the first equipment connects, record the first equipment, described and memory device that the first equipment connects and the mapping relations between the first equipment place server domain three.
Further, the first migration process module 93 also is used in has memory device and the first equipment to connect but the first equipment cannot use the memory device that described and the first equipment connects the time in the memory device territory, the described memory device that connects with the first equipment is moved in the memory device territory from the server domain at the first equipment place.
Further, the device of 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, be used for when the device type information of the Login Register message that receives according to the first receiver module 91 is determined the first equipment and is memory device, the first equipment is added in the memory device territory, and the RSCN message that the first device logs produces sent to server and memory device in the Servers-all territory, wherein each server domain comprises a server.
The second migration process module 96, be connected with adding processing module 95, be used for having server and the first equipment to connect in the Servers-all territory and server described and that the first equipment connects the first equipment can be used the time, the first equipment is moved to from the memory device territory in the server domain at the server place that described and the first equipment connects, and record mapping relations between the first equipment, described and server that the first equipment connects and described and the server place server domain three that the first equipment connects.
Optionally, can be by the second migration process module 96 by monitoring the process that connects between the server in the first equipment and the server domain or remove connection, to determine whether have server and the first equipment to connect in the Servers-all territory and to determine whether the described server that connects with the first equipment can use the first equipment.
Further, the device of present embodiment can also comprise: the second logging modle 97.
The second logging modle 97, be used for not having server and the first equipment to connect in the Servers-all territory, perhaps in the Servers-all territory, there are server and the first equipment to connect but server that described and the first equipment connect cannot use the first equipment the 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, the second migration process module 96 specifically is used in to be determined when having server and described the first equipment to connect in the Servers-all territory, the first equipment is moved to from the memory device territory in the server domain at described and the server place that the first equipment connects, then when determining server that described and the first equipment connects the first equipment can be used, record the mapping relations between the first equipment, described and server that the first equipment connects and described and the server place server domain three that the first equipment connects.
Further, the second migration process module 96 also is used in has server and the first equipment to connect but server that described and the first equipment connect cannot use the first equipment the time in the Servers-all territory, the first equipment is moved in the memory device territory from the server domain at the server place that described and the first equipment connect.
Further, as shown in figure 10, the device of present embodiment also comprises: the second receiver module 98 and the first deletion processing module 99.
The second receiver module 98 is used for receiving and publishes registration message, and the described registration message of publishing comprises the described device type information of publishing the second equipment of registration message of transmission.
The first deletion processing module 99, be connected with the second receiver module 98, be used for when the device type information of publishing registration message that receives according to the second receiver module 98 is determined the second equipment and is server, if have memory device in the second equipment place server domain, the RSCN message that the second equipment is published generation sends to the memory device in the second equipment place server domain, memory device in the second equipment place server domain is moved in the memory device territory from the second equipment place server domain, and delete the second equipment place server domain, delete the second equipment, mapping relations between memory device in the second equipment place server domain and the second equipment place server domain three, if perhaps do not have 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 deletion processing module 99 and the first migration process module 93 be connected logging modle 94 and be connected.The first migration process module 93 and the first logging modle 94 can provide mapping relations with the second device-dependent to the first deletion processing module 99.
Further, the device of present embodiment also comprises: the second deletion processing module 100.
The second deletion processing module 100, be connected with the second receiver module 98, be used for when the device type information of publishing registration message that receives according to the second receiver module 98 is determined the second equipment and is memory device, if the second equipment is in described memory device territory, delete the second equipment and memory device territory mapping relations between the two, if perhaps the second equipment is not in the memory device territory, the RSCN message that the second equipment is published generation sends to server in the second equipment place server domain and other memory devices except the second equipment, deletes the second equipment, mapping relations between server in the second equipment place server domain and the second equipment place server domain three.
Optionally, the second deletion processing module 100 and the second migration process module 96 be connected logging modle 97 and be connected.The second migration process module 96 and the second logging modle 97 can provide mapping relations with the second device-dependent to the second deletion processing module 100.
In an optional execution mode,
What present embodiment provided realizes for the device of network zoning can be arranged in the switch in the FC network; Perhaps can be independent of the switch in the FC network, but be connected with switch.
Each functional module for the device of network zoning that present embodiment provides can be used for carrying out that above-described embodiment provides is the flow process of the method for network zoning, and its specific works principle repeats no more, and sees the description of embodiment of the method for details.
Present embodiment provide for the device of network zoning, can and need to be divided into the memory device of the first devices communicating in the same territory with the first equipment, equipment in follow-up like this this territory changes and the RSCN message that produces only needs announce in this territory, can not announce to the server in other territories or memory device, reduced the coverage that equipment changing causes, reduce the network resources waste that unnecessary announcement process causes, be conducive to improve stability and the availability of network.In addition, can automatically finish the division in territory in the FC network based on what present embodiment provided for the device of network dividing domain, the process of this dividing domain does not need keeper's participation, has to realize flexibly the more high advantage of efficient.
The embodiment of the invention provides a kind of switch, and described switch comprises that above-described embodiment provides is the device of network dividing domain.About being that operation principle and the implementation structure of the device of network dividing domain can referring to above-described embodiment, not repeat them here.
The switch of present embodiment can be the switch in the FC network, but is not limited to this.
The switch that present embodiment provides, what comprise that above-described embodiment provides is the device of network zoning, also can and need to be divided into the memory device of the first devices communicating in the same territory with the first equipment, equipment in follow-up like this this territory changes and the RSCN message that produces only needs announce in this territory, can not announce to the server in other territories or memory device, reduced the coverage that equipment changing causes, reduce the network resources waste that unnecessary announcement process causes, be conducive to improve stability and the availability of network.In addition, can automatically finish the division in territory in the FC network based on the switch that present embodiment provides, the process of this dividing domain does not need keeper's participation, has to realize flexibly the more high advantage of efficient.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can be finished by the relevant hardware of program command.Aforesaid program can be stored in the computer read/write memory medium.This program is carried out the step that comprises above-mentioned each embodiment of the method when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above each embodiment is not intended to limit only in order to technical scheme of the present invention to be described; Although with reference to aforementioned each embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps some or all of technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the scope of various embodiments of the present invention technical scheme.

Claims (21)

1. one kind is the 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 that sends described Login Register message;
If determining described the first equipment according to the device type information in the described Login Register message is server, for described the first equipment creates a server domain, described the first equipment is added in the server domain that creates, and the login state renewal announcement RSCN message that described the first device logs produces is sent to memory devices all in the memory device territory;
If memory device and described the first equipment connects and described the first equipment can use described and described the first equipment to connect memory device are arranged in the described memory device territory, the memory device that described and described the first equipment connects is moved in the server domain at described the first equipment place from described memory device territory, and record memory device that described the first equipment, described and described the first equipment connects and the mapping relations between described the first equipment place server domain three.
2. according to claim 1 is the method for network dividing domain, it is characterized in that, also comprises:
If do not have memory device and described the first equipment to connect in the described memory device territory, perhaps there are memory device and described the first equipment to connect in the described memory device territory but memory device that described the first equipment cannot use described and described the first equipment to connect, record described the first equipment and described the 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 determining described the first equipment according to the device type information in the described Login Register message is memory device, described the first equipment is added in the described memory device territory, and the RSCN message that described the first device logs produces sent to server and memory device in the Servers-all territory, wherein each server domain comprises a server;
If have server and described the first equipment connects and described and described the first equipment connects server can use described the first equipment in the Servers-all territory, described the first equipment is moved to from described memory device territory in the server domain at the server place that described and described the first equipment connects, and record mapping relations between the server place server domain three that server that described the first equipment, described and described the first equipment connects and described and described the first equipment connects.
4. according to claim 3 is the method for network dividing domain, it is characterized in that, also comprises:
If do not have server and described the first equipment to connect in the Servers-all territory, perhaps there are server and described the first equipment to connect in the Servers-all territory but server that described and described the first equipment connects cannot use described the first equipment, record described the first equipment and described memory device territory mapping relations between the two.
5. according to claim 1-4 each described be the method for network dividing domain, it is characterized in that, also comprise:
Registration message is published in reception, and the described registration message of publishing comprises the described device type information of publishing the second equipment of registration message of transmission;
If determining described the second equipment according to the described device type information of publishing in the registration message is server, when in described the second equipment place server domain, having memory device, the RSCN message that described the second equipment is published generation sends to the memory device in described the second equipment place server domain, memory device in described the second equipment place server domain is moved in the described memory device territory from described the second equipment place server domain, and delete described the second equipment place server domain, delete described the second equipment, mapping relations between memory device in described the second equipment place server domain and described the second equipment place server domain three, when perhaps in described the second equipment place server domain, not having memory device, delete described the second equipment place server domain, delete described the second equipment and described the second equipment place server domain mapping relations between the two.
6. according to claim 5 is the method for network dividing domain, it is characterized in that, also comprises:
If determining described the second equipment according to the described device type information of publishing in the registration message is memory device, when described the second equipment is in described memory device territory, delete described the second equipment and described memory device territory mapping relations between the two, perhaps when described the second equipment is not in described memory device territory, the RSCN message that described the second equipment is published generation sends to server and other memory devices except described the second equipment in described the second equipment place server domain, deletes described the second equipment, mapping relations between server in described the second equipment place server domain and described the second equipment place server domain three.
7. according to claim 2 is the method for network dividing domain, it is characterized in that, the described memory device that described and described the first equipment is connected is moved in the server domain at described the first equipment place from described memory device territory, and records memory device that described the first equipment, described and described the first equipment connects and the mapping relations between described the first equipment place server domain three comprise:
If have memory device and described the first equipment to connect in the described memory device territory, the memory device that described and described the first equipment connects moved in the server domain at described the first equipment place from described memory device territory;
If the memory device that described the first equipment can use described and described the first equipment to connect records memory device that described the first equipment, described and described the first equipment connects and the mapping relations between described the first equipment place server domain three.
8. according to claim 7 is the method for network dividing domain, it is characterized in that, also comprises:
If have memory device and described the first equipment to connect in the described memory device territory but memory device that described the first equipment cannot use described and described the first equipment to connect, the memory device that described and described the first equipment connects moved to from the server domain at described the first equipment place in the described memory device territory.
9. according to claim 4 is the method for network dividing domain, it is characterized in that, in the described server domain of described the first equipment being moved to the server place that described and described the first equipment connects from described memory device territory, and the mapping relations that record between the server place server domain three that server that described the first equipment, described and described the first equipment connects and described and described the first equipment connects comprise:
If have server and described the first equipment to connect in the Servers-all territory, described the first equipment is moved to from described memory device territory in the server domain at the server place that described and described the first equipment connects;
If the server that described and described the first equipment connects can use described the first equipment, record the mapping relations between the server place server domain three that server that described the first equipment, described and described the first equipment connects and described and described the first equipment connects.
10. according to claim 9 is the method for network dividing domain, it is characterized in that, also comprises:
If have server and described the first equipment to connect in the Servers-all territory but server that described and described the first equipment connects cannot use described the first equipment, described the first equipment is moved in the described memory device territory from the server domain at the server place that described and described the first equipment connects.
11. one kind is the device of network dividing domain, it is characterized in that, comprising:
The first receiver module is used for receiving Login Register message, and described Login Register message comprises the device type information of the first equipment that sends described Login Register message;
Create processing module, be used for when determining described the first equipment according to the device type information of described Login Register message and be server, for described the first equipment creates a server domain, described the first equipment is added in the server domain that creates, and the login state renewal announcement RSCN message that described the first device logs produces is sent to memory devices all in the memory device territory;
The first migration process module, be used for having memory device and described the first equipment to connect in described memory device territory and described the first equipment can use the memory device that described and described the first equipment connects the time, the memory device that described and described the first equipment connects is moved in the server domain at described the first equipment place from described memory device territory, and record memory device that described the first equipment, described and described the first equipment connects and the mapping relations between described the first equipment place server domain three.
12. according to claim 11 is the device of network dividing domain, it is characterized in that, also comprises:
The first logging modle, be used for not having memory device and described the first equipment to connect in described memory device territory, perhaps in described memory device territory, there are memory device and described the first equipment to connect but described the first equipment cannot use the memory device that described and described the first equipment connects the time, record described the first equipment and described the first equipment place server domain mapping relations between the two.
13. according to claim 11 is the device of network dividing domain, it is characterized in that, also comprises:
Add processing module, be used for when determining described the first equipment according to the device type information of described Login Register message and be memory device, described the first equipment is added in the described memory device territory, and the RSCN message that described the first device logs produces sent to server and memory device in the Servers-all territory, wherein each server domain comprises a server;
The second migration process module, when being used for having in the Servers-all territory server and described the first equipment connects and described and described the first equipment connects server to use described the first equipment, described the first equipment is moved to from described memory device territory in the server domain at the server place that described and described the first equipment connects, and record mapping relations between the server place server domain three that server that described the first equipment, described and described the first equipment connects and described and described the first equipment connects.
14. according to claim 13 is the device of network dividing domain, it is characterized in that, also comprises:
The second logging modle, be used for not having server and described the first equipment to connect in the Servers-all territory, perhaps in the Servers-all territory, there are server and described the first equipment to connect but server that described and described the first equipment connects cannot use described the first equipment the time, record described the first equipment and described memory device territory mapping relations between the two.
15. according to claim 11-14 each described be the device of network dividing domain, it is characterized in that, also comprise:
The second receiver module is used for receiving and publishes registration message, and the described registration message of publishing comprises the described device type information of publishing the second equipment of registration message of transmission;
The first deletion processing module, be used for when determining described the second equipment according to the described device type information of publishing registration message and be server, if have memory device in described the second equipment place server domain, the RSCN message that described the second equipment is published generation sends to the memory device in described the second equipment place server domain, memory device in described the second equipment place server domain is moved in the described memory device territory from described the second equipment place server domain, and delete described the second equipment place server domain, delete described the second equipment, mapping relations between memory device in described the second equipment place server domain and described the second equipment place server domain three, if perhaps do not have memory device in described the second equipment place server domain, delete described the second equipment place server domain, delete described the second equipment and described the second equipment place server domain mapping relations between the two.
16. according to claim 15 is the device of network dividing domain, it is characterized in that, also comprises:
The second deletion processing module, be used for when determining described the second equipment according to the described device type information of publishing registration message and be memory device, if described the second equipment is in described memory device territory, delete described the second equipment and described memory device territory mapping relations between the two, if perhaps described the second equipment is not in described memory device territory, the RSCN message that described the second equipment is published generation sends to server and other memory devices except described the second equipment in described the second equipment place server domain, deletes described the second equipment, mapping relations between server in described the second equipment place server domain and described the second equipment place server domain three.
17. according to claim 12 is the device of network dividing domain, it is characterized in that, described the first migration process module specifically is used for when determining described memory device territory and have memory device and described the first equipment to connect, the memory device that described and described the first equipment connects is moved in the server domain at described the first equipment place from described memory device territory, then when determining described the first equipment and can use the memory device that described and described the first equipment connects, record described the first equipment, mapping relations between the memory device that described and described the first equipment connects and described the first equipment place server domain three.
18. according to claim 17 is the device of network dividing domain, it is characterized in that, described the first migration process module also is used for having memory device and described the first equipment to connect in described memory device territory but described the first equipment cannot use the memory device that described and described the first equipment connects the time, and the memory device that described and described the first equipment connects is moved to from the server domain at described the first equipment place in the described memory device territory.
19. according to claim 14 is the device of network dividing domain, it is characterized in that, described the second migration process module specifically is used for when determining the Servers-all territory and have server and described the first equipment to connect, described the first equipment is moved to from described memory device territory in the server domain at the server place that described and described the first equipment connects, then when determining server that described and described the first equipment connects described the first equipment can be used, record described the first equipment, mapping relations between the server place server domain three that the server that described and described the first equipment connects and described and described the first equipment connect.
20. according to claim 19 is the device of network dividing domain, it is characterized in that, described the second migration process module also is used for having server and described the first equipment to connect in the Servers-all territory but server that described and described the first equipment connects cannot use described the first equipment the time, and described the first equipment is moved in the described memory device territory from the server domain at the server place that described and described the first equipment connects.
21. a switch is characterized in that, each describedly is the device of network dividing domain to comprise claim 11-20.
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 true CN103078801A (en) 2013-05-01
CN103078801B 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)

Cited By (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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040260672A1 (en) * 2003-06-23 2004-12-23 Fujitsu Limited Apparatus and method of supporting configuration of storage system
US20090282135A1 (en) * 2008-05-08 2009-11-12 Vinodh Ravindran Hba boot using network stored information
CN102387175A (en) * 2010-08-31 2012-03-21 国际商业机器公司 Method and system for transferring memory system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040260672A1 (en) * 2003-06-23 2004-12-23 Fujitsu Limited Apparatus and method of supporting configuration of storage system
US20090282135A1 (en) * 2008-05-08 2009-11-12 Vinodh Ravindran Hba boot using network stored information
CN102387175A (en) * 2010-08-31 2012-03-21 国际商业机器公司 Method and system for transferring memory system

Cited By (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

Also Published As

Publication number Publication date
CN103078801B (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN102447624B (en) Load balancing method in server cluster, as well as node server and cluster
CN101414949B (en) Chain data transmission method, node and system
CN104158891A (en) Method, device and system of cross-regional data transmission, and server
CN102316043B (en) Port virtualization method, switch and communication system
CN102404418A (en) Method, device and system for distributing IP (internet protocol) address for user terminal
CN102802227A (en) Data processing method, equipment and system based on base station direct connection framework
CN102170456A (en) Method, device and system for acquiring content in PPN (peer-to-peer network)
CN104243606B (en) The DDS communication systems and method of a kind of C/S model
CN101197841B (en) Audio oriented conveying method and device
CN103023667A (en) Multicast data transmission method and device based on dynamic virtual private network (DVPN)
CN1487706B (en) Method, system and control process for enterprise to communicate timely
CN103827830A (en) System and method for preventing single-point bottleneck in a transactional middleware machine environment
CN103065096B (en) A kind of data guard method, Apparatus and system
CN103078801A (en) Method, device and exchanger of domain partition for network
CN103002038B (en) The processing method of elastic load equilibrium and device
CN103795635A (en) Processing method, device and system for controlling message broadcast
CN104079663A (en) Distributed type real-time synchronizing network system and data annunciating method thereof
CN104980685A (en) Video service providing method and video service providing system
CN103685497A (en) On-line storing and sharing method and system
CN110417636B (en) Decentralized self-organizing instant messaging system and method thereof
CN101656683B (en) Self-adaptive instant messaging system and method for implementing same
CN105743772A (en) Message processing method and system
CN102904803A (en) Message transmission method and equipment
US9161201B2 (en) Method and apparatus for discovering a wireless device in a wireless network
CN108683586A (en) Data processing method, device, medium in instant communicating system and computing device

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.