CN102291465A - Load balancing method, device and system - Google Patents
Load balancing method, device and system Download PDFInfo
- Publication number
- CN102291465A CN102291465A CN2011102547866A CN201110254786A CN102291465A CN 102291465 A CN102291465 A CN 102291465A CN 2011102547866 A CN2011102547866 A CN 2011102547866A CN 201110254786 A CN201110254786 A CN 201110254786A CN 102291465 A CN102291465 A CN 102291465A
- Authority
- CN
- China
- Prior art keywords
- fcf
- equipment
- fcoe
- terminal
- forwarding priority
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a load balancing method, device and system. The method comprises the following steps of: when an equipment finding request message sent by an FCoE (Fiber Channel over Ethernet) terminal is received, acquiring the forwarding priority of each piece of FCF (Fiber Channel Forwarder) equipment corresponding to the FCoE terminal respectively according to FCF information collected from each piece of FCF equipment in the same network; and sending an equipment finding answering message to the FCoE terminal, wherein the equipment finding request message carries the forwarding priority, so that the FCoE terminal can be used for forwarding a message by selecting FCF equipment with the highest forwarding priority according to the forwarding priority of each piece of FCF equipment corresponding to the FCoE terminal. The invention further provides a load balancing method, the FCF equipment, the FCoE terminal and a load balancing system. According to the invention, load balance of the FCF equipment is realized, and excessively high load and flow of the FCF equipment with a high forwarding priority are avoided.
Description
Technical field
The present invention relates to the communication technology, relate in particular to a kind of load-balancing method, device and system.
Background technology
Storage networking (Storage Area Network; Hereinafter to be referred as: SAN) for a kind of different memory devices is connected to quick, the special-purpose network of server, Fig. 1 is the typical architecture schematic diagram of SAN network of the prior art.Optical-fibre channel (Fibre Channel; Hereinafter to be referred as: FC), itself defined a cover and followed interconnected (the Open System Interconnect of open system for the support technology of main flow among the existing SAN; Hereinafter to be referred as: the OSI) protocol stack of model, realize the exchanging visit of the SAN webserver and memory device by FC related protocol standard.Polymerization strengthens Ethernet (Converged Enhanced Ethernet; Hereinafter to be referred as: CEE) can comprise data center's bridge (Data Center Bridging; Hereinafter to be referred as: DCB) with data center's Ethernet (Data Center Ethernet; Hereinafter to be referred as: DCE).Traditional Ethernet storage transmission is unreliable, and require the reliability of transmission based on the storage net of FC, the proposition of CEE correlation technique, solve traditional ethernet and transmitted insecure problem, thereby, ether optical-fibre channel (Fibre Channel over Ethernet has been proposed for this reason for the integration of storage net and Ethernet provides chance; Hereinafter to be referred as: FCoE) technology.The FCoE technology has solved the problem that the FC Frame is transmitted in Ethernet, promptly encapsulate the FC Frame by newly-increased FCoE protocol type.In the art, will support the web-transporting device of FCoE technology to be called FC transmitter (FC Forwarder; Hereinafter to be referred as: FCF), will support the main process equipment of FCoE technology to be called FCoE node (FCoE Node; Hereinafter to be referred as: ENode).
In the prior art, the data flow of FCoE terminal is forwarded in optical fiber (Fabric) network by FCF, each FCF equipment has different forwarding priorities, when existing among the same LAN under the situation of a plurality of FCF equipment, the FCoE terminal is understood the high FCF equipment of preferred same forwarding priority as forwarding unit.
Yet prior art can cause the load and the flow of the high FCF equipment of forwarding priority excessive, and other FCF equipment are in idle condition, and the load that equipment occurs is unbalanced.
Summary of the invention
The invention provides a kind of load-balancing method, device and system, realize the load balancing of FCF equipment, avoid forwarding priority high FCF apparatus of load and flow excessive.
The invention provides a kind of load-balancing method, comprising:
When receiving the device discovery request message of Ethernet optical-fibre channel FCoE terminal transmission,, obtain the forwarding priority of each FCF equipment respectively corresponding to described FCoE terminal according to the FCF information of each optical-fibre channel transmitter FCF equipment in the consolidated network of collecting;
Find response message to described FCoE terminal transmitting apparatus, carry described forwarding priority in the described device discovery response message, transmit so that described FCoE terminal selects the highest FCF equipment of forwarding priority to carry out message according to each FCF equipment corresponding to the forwarding priority of described FCoE terminal.
The invention provides a kind of load-balancing method, comprising:
Each optical-fibre channel transmitter FCF device broadcasts transmitting apparatus in network is found request message;
Receive the device discovery response message that each FCF equipment sends, carry the forwarding priority of each FCF equipment corresponding to Ethernet optical-fibre channel FCoE terminal in the described device discovery response message, described forwarding priority obtains according to the FCF information of each FCF equipment in the consolidated network of collecting for each described FCF equipment;
Selecting the highest FCF equipment of forwarding priority to carry out message according to described each FCF equipment corresponding to the forwarding priority of FCoE terminal transmits.
The invention provides a kind of optical-fibre channel transmitter FCF equipment, comprising:
Acquisition module, be used for when receiving the device discovery request message of Ethernet optical-fibre channel FCoE terminal transmission, according to the FCF information of each optical-fibre channel transmitter FCF equipment in the consolidated network of collecting, obtain the forwarding priority of FCF equipment respectively corresponding to described FCoE terminal;
First sending module, be used for finding response message to described FCoE terminal transmitting apparatus, carry described forwarding priority in the described device discovery response message, transmit so that described FCoE terminal selects the highest FCF equipment of forwarding priority to carry out message according to each FCF equipment corresponding to the forwarding priority of described FCoE terminal.
The invention provides a kind of Ethernet optical-fibre channel FCoE terminal, comprising:
Second sending module is used for finding request message to each optical-fibre channel transmitter FCF device broadcasts transmitting apparatus of network;
Receiver module, be used to receive the device discovery response message that each FCF equipment sends, carry the forwarding priority of each FCF equipment corresponding to Ethernet optical-fibre channel FCoE terminal in the described device discovery response message, described forwarding priority obtains according to the FCF information of each FCF equipment in the consolidated network of collecting for each described FCF equipment;
Select module, be used for selecting the highest FCF equipment of forwarding priority to carry out message corresponding to the forwarding priority of FCoE terminal and transmit according to described each FCF equipment.
The invention provides a kind of SiteServer LBS, comprise at least one above-mentioned optical-fibre channel transmitter FCF equipment and at least one above-mentioned Ethernet optical-fibre channel FCoE terminal.
Load-balancing method of the present invention, device and system, when FCF equipment receives the device discovery request message of FCoE terminal transmission, FCF information according to each FCF equipment of collecting, obtain the forwarding priority of each FCF equipment respectively corresponding to the FCoE terminal, each FCF equipment all sends to the FCoE terminal with self corresponding to the forwarding priority of FCoE terminal, and the FCoE terminal is selected the highest FCF equipment of forwarding priority to carry out message according to forwarding priority to transmit; Present embodiment has been realized the load balancing of FCF equipment, has avoided forwarding priority high FCF apparatus of load and flow excessive.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the typical architecture schematic diagram of SAN network of the prior art;
Fig. 2 is the flow chart of load-balancing method embodiment one of the present invention;
Fig. 3 is the flow chart of load-balancing method embodiment two of the present invention;
Fig. 4 is the flow chart of load-balancing method embodiment three of the present invention;
Fig. 5 is the network architecture schematic diagram among the load-balancing method embodiment three of the present invention;
Fig. 6 is the structural representation of optical-fibre channel transmitter FCF apparatus embodiments one of the present invention;
Fig. 7 is the structural representation of optical-fibre channel transmitter FCF apparatus embodiments two of the present invention;
Fig. 8 is the structural representation of Ethernet optical-fibre channel FCoE terminal embodiment of the present invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 2 is the flow chart of load-balancing method embodiment one of the present invention, as shown in Figure 2, present embodiment provides a kind of load-balancing method, present embodiment is specifically described technical scheme of the present invention from FCF equipment one side, and the load-balancing method that present embodiment provides can specifically comprise the steps:
Step 201 when receiving the device discovery request message of FCoE terminal transmission, according to the FCF information of each FCF equipment in the consolidated network of collecting, is obtained the forwarding priority of each FCF equipment corresponding to the FCoE terminal respectively.
In the present embodiment, when FCoE terminal access Fabric network, need E-Packet by FCF equipment, present embodiment is selected for the FCF equipment that the FCoE terminal is landed, promptly adjust the FCoE terminal on each FCF equipment in the consolidated network, to realize load balancing.This step is when FCF equipment receives the device discovery request message of FCoE terminal transmission, and this FCF equipment obtains the forwarding priority of each FCF equipment corresponding to the FCoE terminal respectively according to the FCF information of each FCF equipment in the consolidated network of collecting.Wherein, the FCoE terminal is found request message with form each FCF equipment transmitting apparatus in network of broadcasting, and the source MAC of device discovery message i.e. the MAC Address of this FCoE terminal.FCF information herein can comprise node name sign, the current FCoE terminal of supporting of FCF equipment, the i.e. current forwarding person as which FCoE terminal of this FCF equipment of FCF equipment.Network herein is specially local area network (LAN) (Local Area Network; Hereinafter to be referred as: LAN), the FCF equipment among the same LAN is all carried out above-mentioned steps, and the FCF information of each FCF equipment of collecting according to self calculates the forwarding priority of each FCF equipment corresponding to this FCoE terminal respectively.
Step 202, find response message to FCoE terminal transmitting apparatus, carry described forwarding priority in the described device discovery response message, transmit so that described FCoE terminal selects the highest FCF equipment of forwarding priority to carry out message according to each FCF equipment corresponding to the forwarding priority of described FCoE terminal.
FCF equipment returns to the FCoE terminal with the forwarding priority that gets access to by the device discovery response message, be that FCF equipment is found response message to FCoE terminal transmitting apparatus, in this device discovery response message, carry the forwarding priority of this FCF equipment corresponding to this FCoE terminal.Terminal is behind the forwarding priority of knowing each FCF equipment correspondence, terminal can select the highest FCF equipment of forwarding priority to carry out follow-up message forwarding according to the height of priority, and promptly this FCoE terminal logs on the FCF equipment as the load of the FCF equipment of selecting.In the present embodiment, can select to carry out follow-up message corresponding to the highest FCF equipment of the forwarding priority of this FCoE terminal transmits.Because the FCF information that each FCF equipment is all collected other FCF equipment can get access to the forwarding priority of each FCF equipment corresponding to the FCoE terminal according to FCF information, select to land the high FCF equipment of current forwarding priority this moment again and carry out the message forwarding.The above-mentioned forwarding priority that gets access to is the priority of FCF equipment corresponding to the FCoE terminal, and get access to according to the FCF information of FCF equipment, considered the current loading condition of each FCF equipment, then this forwarding priority is the priority that is applicable to present case, this priority is not the fixed priority of each FCF equipment of the prior art, select FCF equipment as forwarding person by this priority, make a plurality of FCoE terminals in the network can be distributed on each FCF equipment, can realize load balancing each FCF equipment among the same LAN.
Further, above-mentioned steps 201 can specifically comprise the steps: when receiving the device discovery request message of Ethernet optical-fibre channel FCoE terminal transmission, FCF equipment obtains the forwarding priority of each FCF equipment corresponding to the FCoE terminal respectively according to the ordinal relation of the number of the current FCoE terminal of supporting of each FCF equipment in the consolidated network of collecting; When the number of the current FCoE terminal of supporting of a plurality of FCF equipment equated, FCF equipment obtained the forwarding priority of described a plurality of FCF equipment corresponding to the FCoE terminal respectively according to the size sequence relation of the node name sign of described a plurality of FCF equipment.
Further, the load-balancing method that present embodiment provides can also comprise the steps: the FCF information of each FCF equipment in the FCF equipment collection consolidated network, and FCF information is that each FCF equipment is periodically issued in network respectively by field bus protocol FIP message.
Further, when the load-balancing method that present embodiment provides can also comprise the steps: in receiving network the FCF information of newly-increased FCF equipment issue, the FCF information in the consolidated network that FCF equipment is collected according to the FCF information updating of described newly-increased FCF equipment.
Further, the load-balancing method that present embodiment provides can also comprise the steps: if do not receive the FCF information of a FCF equipment issue in default release cycle, this FCF equipment can be called the FCF equipment that do not respond herein, to distinguish mutually, then delete the FCF information of this FCF equipment that does not respond in the FCF information of FCF equipment from the consolidated network of collecting with other FCF equipment of its information of reception.
Present embodiment provides a kind of load-balancing method, when FCF equipment receives the device discovery request message of FCoE terminal transmission, FCF information according to each FCF equipment of collecting gets access to the forwarding priority of each FCF equipment corresponding to the FCoE terminal respectively, each FCF equipment all sends to the FCoE terminal with self corresponding to the forwarding priority of FCoE terminal, and the FCoE terminal is selected the highest FCF equipment of forwarding priority to carry out message according to forwarding priority to transmit; Present embodiment has been realized the load balancing of FCF equipment, has avoided forwarding priority high FCF apparatus of load and flow excessive.
Fig. 3 is the flow chart of load-balancing method embodiment two of the present invention, as shown in Figure 3, present embodiment provides a kind of load-balancing method, present embodiment is specifically described technical scheme of the present invention from FCoE terminal one side, and the load-balancing method that present embodiment provides can specifically comprise the steps:
Step 301, each the FCF device broadcasts transmitting apparatus in network is found request message.
When FCoE terminal access Fabric network, FCoE terminal each FCF device broadcasts transmitting apparatus in network is found request message.
Step 302 receives the device discovery response message that each FCF equipment sends, and carries the forwarding priority of each FCF equipment corresponding to the FCoE terminal in the described device discovery response message.
This step receives the device discovery response message that each FCF equipment sends for the FCoE terminal, carries the forwarding priority of each FCF equipment corresponding to this FCoE terminal in this device discovery response message.Wherein, this forwarding priority obtains according to the FCF information of each FCF equipment in the consolidated network of collecting for each FCF equipment.Be the FCF information of each FCF equipment of collecting according to self respectively of the FCF equipment among the same LAN, calculate the forwarding priority of each FCF equipment respectively corresponding to this FCoE terminal.
The FCoE terminal selects the highest FCF equipment of forwarding priority as forwarding person according to each forwarding priority behind the forwarding priority that gets access to each FCF equipment correspondence, and the message of the follow-up transmission of this FCoE terminal is all transmitted by this FCF equipment.
Further, the load-balancing method that present embodiment provides can also comprise the steps: if do not receive the device discovery response message that a FCF equipment sends in the default time interval, then the FCoE terminal again the FCF of each in network device broadcasts transmitting apparatus find request message.
Present embodiment provides a kind of load-balancing method, find request message by each the FCF device broadcasts transmitting apparatus in network, and from the device discovery response message that each FCF equipment returns, obtain the forwarding priority of each FCF equipment corresponding to the FCoE terminal, this forwarding priority obtains according to the FCF information of each FCF equipment in the consolidated network of collecting for each FCF equipment, selects the highest FCF equipment of forwarding priority to carry out message according to each FCF equipment corresponding to the forwarding priority of FCoE terminal again and transmits; Present embodiment has been realized the load balancing of FCF equipment, has avoided forwarding priority high FCF apparatus of load and flow excessive.
Fig. 4 is the flow chart of load-balancing method embodiment three of the present invention, and as shown in Figure 4, present embodiment provides a kind of load-balancing method, can specifically comprise the steps:
Because the interface of the F pattern of FCF equipment can't carry out mutual communication, then realize by existing standard, can't get access to the FCF information of all the FCF equipment in the same shared network.In order to get access to the FCF information of all the FCF equipment in the same shared network, be specially all FCF information among the same LAN herein, each FCF equipment is periodically issued the FCF information of self respectively by the business men customization type field in the FIP message in the present embodiment in network.Each FCF equipment is other FCF equipment periodic issues FIP message in same LAN respectively, in the business men customization type field of this FIP message, carry the FCF information of this FCF equipment self, thereby other FCF equipment among the same LAN that make can be collected the whole FCF information that exist among the same LAN by this message.
Fig. 5 as shown in Figure 5, supposes to be provided with in the network two FCoE terminals for the network architecture schematic diagram among the load-balancing method embodiment three of the present invention, and promptly H1 and H2 exist two FCF equipment, i.e. FCF A and FCF B among the same LAN.This step is the FCF information that FCF A and FCF B periodically issue self, and FCF A and FCF B all know and have FCF A, FCF B among the same LAN like this.
Step 402, FCoE terminal each FCF device broadcasts transmitting apparatus in consolidated network is found request message.
Still be example with Fig. 5, FCoE terminal H1 or H2 find request message with the FCF equipment transmitting apparatus of form in same LAN of broadcasting, and then FCF A and FCF B all can receive the device discovery request message that H1 or H2 send.
Receive the device discovery request message of FCoE terminal transmission when FCF equipment after,, obtain the forwarding priority of each FCF equipment respectively corresponding to this FCoE terminal according to the FCF information of each FCF equipment among the same LAN that collects.Particularly, this step can be specially: FCF equipment obtains the forwarding priority of each FCF equipment corresponding to the FCoE terminal respectively according to the ordinal relation of the number of the current FCoE terminal of supporting of each FCF equipment in the consolidated network of collecting; When the number of the current FCoE terminal of supporting of a plurality of FCF equipment equated, FCF equipment obtained the forwarding priority of a plurality of FCF equipment corresponding to the FCoE terminal respectively according to the size sequence relation of the node name sign of described a plurality of FCF equipment.In the present embodiment, the number of the current FCoE terminal of supporting of FCF equipment is few more, and then this FCF equipment is high more corresponding to the forwarding priority of FCoE terminal.When the number that has the current FCoE terminal of supporting of a plurality of FCF equipment equates, if only with the number of the current FCoE terminal of being supported of FCF equipment as the standard of weighing the forwarding priority height, the forwarding priority that this moment then occurs a plurality of FCF equipment is identical.Therefore, in this case, be used as weighing the forwarding priority standard just of FCF equipment in the present embodiment with the node name sign of FCF equipment; Even the node name sign of FCF equipment in a plurality of FCF equipment is more little, and then this FCF equipment is high more at the forwarding priority of these a plurality of FCF equipment, and the node name sign of FCF equipment herein can be the AC II code value of the node name of FCF equipment.
Still be example with Fig. 5, after FCF A received the device discovery request message that H1 sends, the FCF information according among the same LAN that collects calculated the forwarding priority of FCF A for H1, and correspondingly, FCF B also calculates the forwarding priority of FCF B for H1.Particularly, when calculating forwarding priority, the forwarding priority of the FCF equipment that the number of the current FCoE terminal of supporting is minimum is the highest; If the current number that has a FCoE terminal that a plurality of FCF equipment are supported is the most after a little while, then with the node name sign of FCF equipment as criterion, the FCF equipment that node name sign in a plurality of FCF equipment is minimum is as the highest FCF equipment of forwarding priority.For example, the number of supposing the current FCoE terminal of supporting of FCF A is 0, and the number of the current FCoE terminal of supporting of FCF B is 0, then this moment, the FCF A that obtains and FCF B equated with respect to the forwarding priority of H1, then continued node name according to FCF A and FCF B and identified and calculate the forwarding priority of FCF equipment for H1.The forwarding priority that is specially the minimum FCF equipment of node name sign herein is set to the highest, node name sign can be the AC II code value of the node name of FCF equipment, as the AC II code value of " A " AC II code value less than " B ", therefore, the forwarding priority that calculates FCF A is higher than the forwarding priority of FCF B.Same FCF B also needs the FCF information according to FCFA and FCF B, and it is lower for the forwarding priority of H1 to generate FCF B.
After FCF A receives the device discovery request message that H2 sends, go out the forwarding priority of each FCF equipment for H2 according to the FCF information calculations of FCF A and FCF B.For example, the number of the current FCoE terminal of supporting of FCF A is 1, and the number of the current FCoE terminal of supporting of FCF B is 0, according to the size order relation of the two, obtains FCF A and is lower than the forwarding priority of FCF B corresponding to H2 corresponding to the forwarding priority of H2.Similarly, FCF B is also higher for the forwarding priority of H2 according to the FCF information generation FCF B of FCF A and FCF B.
FCF equipment is found response message to FCoE terminal transmitting apparatus after calculating separately the forwarding priority corresponding to the FCoE terminal, carry forwarding priority in the device discovery response message.
The FCoE terminal selects the highest FCF equipment of forwarding priority as forwarding person according to each forwarding priority behind the forwarding priority that gets access to each FCF equipment correspondence, and the message of the follow-up transmission of this FCoE terminal is all transmitted by this FCF equipment.
Still be example with Fig. 5, FCF A obtains the forwarding priority of FCF A corresponding to H1 according to the FCF information of FCF A and FCF B, and then FCF A is just to the higher device discovery response message of H1 self forwarding priority of announcement.FCF B obtains the forwarding priority of FCF B corresponding to H1 according to the FCF information based on FCF A and FCF B, and then FCF B is just to the lower device discovery response message of H1 self forwarding priority of announcement.Like this, H1 just receives two device discovery response messages, and wherein the forwarding priority of FCF A is than the forwarding priority height of FCF B, so H1 will land to FCF A, the message that follow-up H1 of mailing to or H1 send just all can be with transmitting by FCF A.
FCF A obtains the forwarding priority of FCF A corresponding to H2 to the MAC Address of H2 based on the FCF information of FCF A and FCF B, and FCF A is just to the lower device discovery response message of H2 self forwarding priority of announcement.FCF B obtains the forwarding priority of FCF B corresponding to H2 according to the FCF information of FCF A and FCF B, and FCF B is just to the higher device discovery response message of H2 self forwarding priority of announcement.H2 just receives two device discovery response messages like this, and wherein the forwarding priority of FCF A is lower than the forwarding priority of FCFB, so H2 will land to FCF B, the message that follow-up H2 of mailing to or H2 send just all can be with transmitting by FCF B.
In the present embodiment, the MAC Address of different FCoE terminals is generated the forwarding priority based on the FCF information of all the FCF equipment among the same LAN, can guarantee that then all FCoE terminals land to different FCF equipment in a kind of average mode, on specific implementation, can adopt various modes, a simple realization use-case of lifting herein.When FCF equipment is received the device discovery request message of new FCoE terminal transmission, each FCF equipment all moves identical algorithm, obtain the forwarding person of the current support permission of all FCF equipment, from wherein electing the minimum FCF equipment of support terminal number as forwarding person as which FCoE terminal.If exist the minimum FCF equipment of the number of terminals of a plurality of supports as forwarding person, a FCF equipment then choosing the name identification minimum is as forwarding person.With Fig. 5 is example, when FCF A receives the device discovery request message of H1, know that at FCF A FCF A and FCF B are current all not as the forwarding person of terminal, so FCF A just selects the forwarding person of the less FCF A of title as H1 from FCF A and FCF B; Similarly, when FCF B receives the device discovery request message of H1, know that at FCFB FCF A and FCF B are current all not as the forwarding person of terminal, so FCF B just selects the forwarding person of the less FCF A of title as H1 from FCF A and FCF B.When FCF A received the device discovery request message of H2, FCF A was known FCF A as the forwarding person of H1, and FCF B is current also not as the forwarding person of terminal, so FCF A just selects the forwarding person of FCF B as H2 from FCF A and FCF B; Similarly, when FCF B received the device discovery request message of H2, FCF B was known FCF A as the forwarding person of H1, and FCF B is current also not as the forwarding person of terminal, so FCF B just selects the forwarding person of FCF B as H2 from FCF A and FCF B.
Further, in the present embodiment, when increasing a FCF equipment newly in the shared network, should also issue the FCF information of self by newly-increased FCF equipment by FIP message periodicity other FCF equipment in network, original FCF equipment can upgrade self FCF information in this moment network, i.e. FCF information in the consolidated network of collecting according to the FCF information updating FCF equipment self of newly-increased FCF equipment.At this moment, for the FCoE terminal of having landed, then still keep existing forwarding state, to prevent the phenomenon that stops.
When removing a FCF equipment in shared network, other FCF equipment in this shared network need remove the overtime FCF information of upgrading the shared network of self of FCF facility information because of this.For other FCF equipment in the consolidated network, if in default release cycle, do not receive the FCF information of a FCF equipment issue, show that then this FCF equipment is removed, then the FCF information of this FCF equipment of deletion in the FCF information of other FCF equipment from the consolidated network that self collects.For the FCoE terminal, if do not receive the device discovery response message that any one FCF equipment sends in the default time interval, then the FCF of each in network device broadcasts transmitting apparatus is found request message again.
Present embodiment provides a kind of load-balancing method, when FCF equipment receives the device discovery request message of FCoE terminal transmission, FCF information according to each FCF equipment of collecting, obtain the forwarding priority of each FCF equipment respectively corresponding to the FCoE terminal, each FCF equipment all sends to the FCoE terminal with self corresponding to the forwarding priority of FCoE terminal, and the FCoE terminal is selected the highest FCF equipment of forwarding priority to carry out message according to forwarding priority to transmit; Present embodiment has been realized the load balancing of FCF equipment, has avoided forwarding priority high FCF apparatus of load and flow excessive.And present embodiment need not FCoE terminal and FCF equipment are carried out manual configuration, just can dynamically carry out load balancing alternately based on basic protocol.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment 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 said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 6 is the structural representation of optical-fibre channel transmitter FCF apparatus embodiments one of the present invention, and as shown in Figure 6, present embodiment provides a kind of optical-fibre channel transmitter FCF equipment, can specifically carry out each step among the said method embodiment one, repeats no more herein.The FCF equipment that present embodiment provides can specifically comprise the acquisition module 601 and first sending module 602.Wherein, acquisition module 601 is used for when receiving the device discovery request message of Ethernet optical-fibre channel FCoE terminal transmission, according to the FCF information of each optical-fibre channel transmitter FCF equipment in the consolidated network of collecting, obtain the forwarding priority of each FCF equipment respectively corresponding to described FCoE terminal.First sending module 602 is used for finding response message to described FCoE terminal transmitting apparatus, carry described forwarding priority in the described device discovery response message, transmit so that described FCoE terminal selects the highest FCF equipment of forwarding priority to carry out message according to each FCF equipment corresponding to the forwarding priority of described FCoE terminal.
Fig. 7 is the structural representation of optical-fibre channel transmitter FCF apparatus embodiments two of the present invention, and as shown in Figure 7, present embodiment provides a kind of optical-fibre channel transmitter FCF equipment, can specifically carry out each step among the said method embodiment three, repeats no more herein.The FCF equipment that present embodiment provides is on above-mentioned basis shown in Figure 6, and acquisition module 601 can specifically comprise first acquiring unit 611 and second acquisition unit 621.Wherein, first acquiring unit 611 is used for the ordinal relation according to the number of the current FCoE terminal of supporting of each FCF equipment of consolidated network of collecting, and obtains the forwarding priority of each FCF equipment corresponding to the FCoE terminal respectively.Second acquisition unit 621 is used for when the number of the current FCoE terminal of supporting of a plurality of FCF equipment equates, according to the size sequence relation of the node name of described a plurality of FCF equipment sign, obtain the forwarding priority of described a plurality of FCF equipment respectively corresponding to the FCoE terminal.
Further, the FCF equipment that present embodiment provides can also comprise collection module 701, collection module 701 is used for collecting the FCF information of each FCF equipment of consolidated network, and described FCF information is that each FCF equipment is periodically issued in network respectively by field bus protocol FIP message.
Further, the FCF equipment that this enforcement provides can also comprise update module 702, update module 702 is used for when receiving the FCF information of the newly-increased FCF equipment issue of network, the FCF information in the consolidated network of collecting according to the FCF information updating of described newly-increased FCF equipment.
Further, the FCF equipment that this enforcement provides can also comprise removing module 703, removing module 703 is used for if do not receive the FCF information of a FCF equipment issue in default release cycle, then the FCF information of deletion FCF equipment in the FCF information from the consolidated network of collecting.
Present embodiment provides a kind of FCF equipment, when receiving the device discovery request message of FCoE terminal transmission, FCF information according to each FCF equipment of collecting, obtain the forwarding priority of each FCF equipment respectively corresponding to the FCoE terminal, each FCF equipment sends to the FCoE terminal with self corresponding to the forwarding priority of FCoE terminal, and the FCoE terminal is selected the highest FCF equipment of forwarding priority to carry out message according to forwarding priority to transmit; Present embodiment has been realized the load balancing of FCF equipment, has avoided forwarding priority high FCF apparatus of load and flow excessive.
Fig. 8 is the structural representation of Ethernet optical-fibre channel FCoE terminal embodiment of the present invention, and as shown in Figure 8, present embodiment provides a kind of FCoE terminal, can specifically carry out each step among said method embodiment two or the embodiment three, repeats no more herein.The FCoE terminal that present embodiment provides can specifically comprise second sending module 801, receiver module 802 and select module 803.Wherein, second sending module 801 is used for finding request message to each optical-fibre channel transmitter FCF device broadcasts transmitting apparatus of network.Receiver module 802 is used to receive the device discovery response message that each FCF equipment sends, carry the forwarding priority of each FCF equipment corresponding to Ethernet optical-fibre channel FCoE terminal in the described device discovery response message, described forwarding priority obtains according to the FCF information of each FCF equipment in the consolidated network of collecting for each described FCF equipment.Selecting module 803 to be used for selecting the highest FCF equipment of forwarding priority to carry out message according to described each FCF equipment corresponding to the forwarding priority of FCoE terminal transmits.
Particularly, second sending module 801 in the present embodiment can also be used for if do not receive the device discovery response message that a FCF equipment sends in the default time interval, and then the FCF of each in network device broadcasts transmitting apparatus is found request message again.
Present embodiment provides a kind of FCoE terminal, find request message by each the FCF device broadcasts transmitting apparatus in network, and from the device discovery response message that each FCF equipment returns, obtain the forwarding priority of each FCF equipment corresponding to the FCoE terminal, this forwarding priority obtains according to the FCF information of each FCF equipment in the consolidated network of collecting for each FCF equipment, selects the highest FCF equipment of forwarding priority to carry out message according to each FCF equipment corresponding to the forwarding priority of FCoE terminal again and transmits; Present embodiment has been realized the load balancing of FCF equipment, has avoided forwarding priority high FCF apparatus of load and flow excessive.
Present embodiment also provides a kind of SiteServer LBS, can specifically comprise at least one above-mentioned Fig. 6 or FCF equipment shown in Figure 7 and the FCoE terminal that at least one is shown in Figure 8.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous 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 put down in writing, and perhaps part 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 spirit and scope of various embodiments of the present invention technical scheme.
Claims (15)
1. a load-balancing method is characterized in that, comprising:
When receiving the device discovery request message of Ethernet optical-fibre channel FCoE terminal transmission,, obtain the forwarding priority of each FCF equipment respectively corresponding to described FCoE terminal according to the FCF information of each optical-fibre channel transmitter FCF equipment in the consolidated network of collecting;
Find response message to described FCoE terminal transmitting apparatus, carry described forwarding priority in the described device discovery response message, transmit so that described FCoE terminal selects the highest FCF equipment of forwarding priority to carry out message according to each FCF equipment corresponding to the forwarding priority of described FCoE terminal.
2. method according to claim 1 is characterized in that, described FCF information according to each optical-fibre channel transmitter FCF equipment in the consolidated network of collecting is obtained each FCF equipment respectively and comprised corresponding to the forwarding priority of described FCoE terminal:
According to the ordinal relation of the number of the current FCoE terminal of supporting of each FCF equipment in the consolidated network of collecting, obtain the forwarding priority of each FCF equipment respectively corresponding to the FCoE terminal;
When the number of the current FCoE terminal of supporting of a plurality of FCF equipment equates,, obtain the forwarding priority of described a plurality of FCF equipment respectively corresponding to the FCoE terminal according to the size sequence relation of the node name sign of described a plurality of FCF equipment.
3. method according to claim 2 is characterized in that, also comprises:
Collect the FCF information of each FCF equipment in the consolidated network, described FCF information is that each FCF equipment is periodically issued in network respectively by field bus protocol FIP message.
4. according to each described method among the claim 1-3, it is characterized in that, also comprise:
In receiving network during the FCF information of newly-increased FCF equipment issue, the FCF information in the consolidated network of collecting according to the FCF information updating of described newly-increased FCF equipment.
5. according to each described method among the claim 1-3, it is characterized in that, also comprise:
If in default release cycle, do not receive the FCF information of a FCF equipment issue, then delete the FCF information of described FCF equipment in the FCF information from the consolidated network of collecting.
6. a load-balancing method is characterized in that, comprising:
Each optical-fibre channel transmitter FCF device broadcasts transmitting apparatus in network is found request message;
Receive the device discovery response message that each FCF equipment sends, carry the forwarding priority of each FCF equipment corresponding to Ethernet optical-fibre channel FCoE terminal in the described device discovery response message, described forwarding priority obtains according to the FCF information of each FCF equipment in the consolidated network of collecting for each described FCF equipment;
Selecting the highest FCF equipment of forwarding priority to carry out message according to described each FCF equipment corresponding to the forwarding priority of FCoE terminal transmits.
7. method according to claim 6 is characterized in that, also comprises:
If do not receive the device discovery response message that a FCF equipment sends in the default time interval, then the FCF of each in network device broadcasts transmitting apparatus is found request message again.
8. an optical-fibre channel transmitter FCF equipment is characterized in that, comprising:
Acquisition module, be used for when receiving the device discovery request message of Ethernet optical-fibre channel FCoE terminal transmission, according to the FCF information of each optical-fibre channel transmitter FCF equipment in the consolidated network of collecting, obtain the forwarding priority of each FCF equipment respectively corresponding to described FCoE terminal;
First sending module, be used for finding response message to described FCoE terminal transmitting apparatus, carry described forwarding priority in the described device discovery response message, transmit so that described FCoE terminal selects the highest FCF equipment of forwarding priority to carry out message according to each FCF equipment corresponding to the forwarding priority of described FCoE terminal.
9. equipment according to claim 8 is characterized in that, described acquisition module comprises:
First acquiring unit is used for the ordinal relation according to the number of the current FCoE terminal of supporting of each FCF equipment of consolidated network of collecting, and obtains the forwarding priority of each FCF equipment corresponding to the FCoE terminal respectively;
Second acquisition unit, be used for when the number of the current FCoE terminal of supporting of a plurality of FCF equipment equates, according to the size sequence relation of the node name of described a plurality of FCF equipment sign, obtain the forwarding priority of described a plurality of FCF equipment respectively corresponding to the FCoE terminal.
10. equipment according to claim 9 is characterized in that, also comprises:
Collection module, the FCF information that is used for collecting each FCF equipment of consolidated network, described FCF information are that each FCF equipment is periodically issued in network respectively by field bus protocol FIP message.
11. each described equipment is characterized in that according to Claim 8-10, also comprises:
Update module is used for when receiving the FCF information of the newly-increased FCF equipment issue of network, the FCF information in the consolidated network of collecting according to the FCF information updating of described newly-increased FCF equipment.
12. each described equipment is characterized in that according to Claim 8-10, also comprises:
Removing module is used for if do not receive the FCF information of a FCF equipment issue in default release cycle, then the FCF information of the described FCF equipment of deletion in the FCF information from the consolidated network of collecting.
13. an Ethernet optical-fibre channel FCoE terminal is characterized in that, comprising:
Second sending module is used for finding request message to each optical-fibre channel transmitter FCF device broadcasts transmitting apparatus of network;
Receiver module, be used to receive the device discovery response message that each FCF equipment sends, carry the forwarding priority of each FCF equipment corresponding to Ethernet optical-fibre channel FCoE terminal in the described device discovery response message, described forwarding priority obtains according to the FCF information of each FCF equipment in the consolidated network of collecting for each described FCF equipment;
Select module, be used for selecting the highest FCF equipment of forwarding priority to carry out message corresponding to the forwarding priority of FCoE terminal and transmit according to described each FCF equipment.
14. terminal according to claim 13, it is characterized in that, described second sending module also is used for if do not receive the device discovery response message that a FCF equipment sends in the default time interval, and then the FCF of each in network device broadcasts transmitting apparatus is found request message again.
15. a SiteServer LBS is characterized in that, comprises among at least one claim 8-12 each described Ethernet optical-fibre channel FCoE terminal in each described optical-fibre channel transmitter FCF equipment and at least one claim 13 or 14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011102547866A CN102291465B (en) | 2011-08-31 | 2011-08-31 | Load balancing method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011102547866A CN102291465B (en) | 2011-08-31 | 2011-08-31 | Load balancing method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102291465A true CN102291465A (en) | 2011-12-21 |
CN102291465B CN102291465B (en) | 2013-12-25 |
Family
ID=45337565
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011102547866A Expired - Fee Related CN102291465B (en) | 2011-08-31 | 2011-08-31 | Load balancing method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102291465B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103379031A (en) * | 2012-04-12 | 2013-10-30 | 华为技术有限公司 | Equipment connection method, system and apparatus |
CN104125123A (en) * | 2013-04-28 | 2014-10-29 | 深圳市同洲电子股份有限公司 | Virtual device discovering method and system |
CN104780063A (en) * | 2015-03-26 | 2015-07-15 | 杭州华三通信技术有限公司 | Login method and device for node equipment |
CN104821847A (en) * | 2015-04-29 | 2015-08-05 | 杭州华三通信技术有限公司 | Method and apparatus for assisting fiber-channel-over-ethernet node in logging in forwarder |
US9473423B2 (en) | 2012-04-25 | 2016-10-18 | Hewlett Packard Enterprise Development Lp | Inter domain link for fibre channel |
CN109246024A (en) * | 2018-09-29 | 2019-01-18 | 新华三技术有限公司 | Load sharing method, device, terminal device and storage medium in a kind of networking |
CN109547361A (en) * | 2018-11-16 | 2019-03-29 | 上海博达数据通信有限公司 | A kind of message processing method and system for FCF equipment |
CN109584105A (en) * | 2018-11-12 | 2019-04-05 | 平安科技(深圳)有限公司 | A kind of method and system of service response |
CN109964456A (en) * | 2016-08-23 | 2019-07-02 | 萨托里环球有限责任公司 | Expansible real-time messages conveyer system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1816203A (en) * | 2005-02-01 | 2006-08-09 | 华为技术有限公司 | Method for equalizing hometown agent load in mobile network |
CN101610593A (en) * | 2009-06-26 | 2009-12-23 | 杭州华三通信技术有限公司 | The method of access point, access controller and access point to select access controller |
CN102131235A (en) * | 2010-01-15 | 2011-07-20 | 西门子公司 | Load balancing method in radio communication system |
-
2011
- 2011-08-31 CN CN2011102547866A patent/CN102291465B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1816203A (en) * | 2005-02-01 | 2006-08-09 | 华为技术有限公司 | Method for equalizing hometown agent load in mobile network |
CN101610593A (en) * | 2009-06-26 | 2009-12-23 | 杭州华三通信技术有限公司 | The method of access point, access controller and access point to select access controller |
CN102131235A (en) * | 2010-01-15 | 2011-07-20 | 西门子公司 | Load balancing method in radio communication system |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103379031A (en) * | 2012-04-12 | 2013-10-30 | 华为技术有限公司 | Equipment connection method, system and apparatus |
CN103379031B (en) * | 2012-04-12 | 2017-04-12 | 华为技术有限公司 | Equipment connection method, system and apparatus |
US9473423B2 (en) | 2012-04-25 | 2016-10-18 | Hewlett Packard Enterprise Development Lp | Inter domain link for fibre channel |
CN104125123A (en) * | 2013-04-28 | 2014-10-29 | 深圳市同洲电子股份有限公司 | Virtual device discovering method and system |
CN104780063A (en) * | 2015-03-26 | 2015-07-15 | 杭州华三通信技术有限公司 | Login method and device for node equipment |
CN104780063B (en) * | 2015-03-26 | 2018-11-27 | 新华三技术有限公司 | node device login method and device |
CN104821847B (en) * | 2015-04-29 | 2018-02-09 | 新华三技术有限公司 | Ethernet optical-fibre channel endpoint device is aided in log in the method and device of transponder |
CN104821847A (en) * | 2015-04-29 | 2015-08-05 | 杭州华三通信技术有限公司 | Method and apparatus for assisting fiber-channel-over-ethernet node in logging in forwarder |
CN109964456A (en) * | 2016-08-23 | 2019-07-02 | 萨托里环球有限责任公司 | Expansible real-time messages conveyer system |
CN109246024A (en) * | 2018-09-29 | 2019-01-18 | 新华三技术有限公司 | Load sharing method, device, terminal device and storage medium in a kind of networking |
CN109246024B (en) * | 2018-09-29 | 2022-06-10 | 新华三技术有限公司 | Method, device, terminal equipment and storage medium for load sharing in networking |
CN109584105A (en) * | 2018-11-12 | 2019-04-05 | 平安科技(深圳)有限公司 | A kind of method and system of service response |
CN109584105B (en) * | 2018-11-12 | 2023-10-17 | 平安科技(深圳)有限公司 | Service response method and system |
CN109547361A (en) * | 2018-11-16 | 2019-03-29 | 上海博达数据通信有限公司 | A kind of message processing method and system for FCF equipment |
Also Published As
Publication number | Publication date |
---|---|
CN102291465B (en) | 2013-12-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102291465A (en) | Load balancing method, device and system | |
CN101488928B (en) | Internet enterprise group communication device and internet enterprise group communication method | |
CN103348637B (en) | For the method and apparatus that the frame delivery path in hybrid communication network is selected | |
CN102244614B (en) | Message forwarding method, system and routing switch | |
CN102025630A (en) | Load balancing method and load balancing system | |
CN103297560A (en) | Data flow classification method and data flow classification server | |
CN103095605A (en) | Data transmission method and system capable of fusing router in mobile internet of things | |
CN102195851A (en) | Load sharing method, system and access server | |
CN103607351A (en) | Chip forwarding item generation method and equipment thereof | |
CN101513098A (en) | System and method for providing high speed content and services | |
CN102318322A (en) | Device and method for distributing MAC address | |
CN103023785A (en) | MAC (media access control) address acquisition method and device | |
CN113315717B (en) | Service balancing method and device, electronic equipment and storage medium | |
CN101616343A (en) | A kind of auto-negotiation method for service types and convergence device thereof | |
CN112217884B (en) | Internet of things data transmission method and system and electronic equipment | |
CN104704867B (en) | The method and apparatus of data routing | |
CN104780120A (en) | Method and device for transmitting files in local area network | |
CN105376155A (en) | Intelligent route system and method based on distributed cluster framework | |
CN101695049A (en) | Method and device for processing businesses in monitoring system | |
CN115174026B (en) | Method and device for allocating number of beacon time slots and computer equipment | |
CN103826276A (en) | Data transmission method, base station, management control center and system | |
CN102868771A (en) | Converged address book based contact synchronizing method, device and system | |
CN107888398B (en) | A kind of service bearer system and control method | |
CN103379031A (en) | Equipment connection method, system and apparatus | |
CN105682173A (en) | Network access method and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20131225 Termination date: 20210831 |