CN103023803A - Method and system for optimizing virtual links of fiber channel over Ethernet - Google Patents

Method and system for optimizing virtual links of fiber channel over Ethernet Download PDF

Info

Publication number
CN103023803A
CN103023803A CN2012105375781A CN201210537578A CN103023803A CN 103023803 A CN103023803 A CN 103023803A CN 2012105375781 A CN2012105375781 A CN 2012105375781A CN 201210537578 A CN201210537578 A CN 201210537578A CN 103023803 A CN103023803 A CN 103023803A
Authority
CN
China
Prior art keywords
virtual link
priority
fcoe
module
endpoint device
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
CN2012105375781A
Other languages
Chinese (zh)
Other versions
CN103023803B (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.)
Huazhong University of Science and Technology
Original Assignee
Huazhong University of Science and Technology
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 Huazhong University of Science and Technology filed Critical Huazhong University of Science and Technology
Priority to CN201210537578.1A priority Critical patent/CN103023803B/en
Publication of CN103023803A publication Critical patent/CN103023803A/en
Application granted granted Critical
Publication of CN103023803B publication Critical patent/CN103023803B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method for optimizing virtual links of a fiber channel over Ethernet. The method includes that a fiber channel over Ethernet (FCoE) end device generates an initial priority level value which is written into an FCoE login message, the message is transmitted to a target FCoE switchboard in the same network in unicast mode, and the FCoE end device judges whether the message received from the target FCoE switchboard is a response message or a refusing message. If the refusing message is received, the FCoE end device receives a request from a user, and whether a new virtual link needs building is judged according to the request, otherwise the FCoE end device judges whether the virtual links exist. If the virtual links exist, the FCoE end device monitors all virtual links so as to obtain data transmission load of each virtual link. The FCoE end device adjusts a priority level corresponding to each virtual link according to the obtained data transmission load dynamically, and the priority level is placed into a keeping message of each virtual link. By means of the method, a problem in the existing method that virtual link processing resource distribution is not reasonable is solved.

Description

A kind of optimization method and system of Ethernet optical-fibre channel virtual link
Technical field
The invention belongs to technical field of data transmission, more specifically, relate to a kind of optimization method and system of Ethernet optical-fibre channel virtual link.
Background technology
Storage area network (Storage Area Network is called for short SAN) is a kind of storage dedicated network that is widely used in the large-scale data center.SAN provides the high speed access passage of server and memory device.The present transmission realization technology of SAN is mainly relied on optical-fibre channel (Fiber Channel is called for short FC) and iSCSI transmission technology, and the SAN that the former realizes is called for short FC-SAN, and the SAN that the latter realizes claims IP-SAN.FC-SAN uses very extensive at present.For keeping the existing investment of FC-SAN advantage and protection, industry proposes a kind of FC-SAN that operates on the harmless Ethernet, i.e. Ethernet optical-fibre channel (FiberChannel over Ethernet is called for short FCoE).The deployment of harmless Ethernet is the placement-and-routing at reduced data center greatly.The realization of FCoE so that SAN and Ethernet unification become a reality.Fig. 1 is the harmless Ethernet architecture schematic diagram of typical FCoE.In the art, support the main frame of FCoE or integrated circuit board equipment to be called FCoE endpoint device (FCoE Node is called for short ENode), and support the switch of FCoE to be called FCoE switch (FCoE Forwarder is called for short FCF).
In the prior art, the FCoE endpoint device can be passed through one or more FCoE switches and memory device swap data, each FCoE switch can have different priority, and can be dynamically adapted to another FCoE switch set up link and continue the transmission of data when a certain FCoE switch breaks down.
But in the prior art, the foundation of common FCoE network is dynamically to be determined by the FCoE switch, the FCoE endpoint device is control and the arrangement of passive reception FCoE switch, be not endowed more right, therefore the transfer of data for virtual link in the FCoE endpoint device might not be in Optimal State, the situation that may cause is: the virtual link that the virtual link that volume of transmitted data is large and volume of transmitted data are little has consumed suitable FCoE endpoint device and has processed resource, cause processing resource allocation unreasonable, so that the data of the large virtual link of volume of transmitted data can not be in time processed, cause data transfer delay or lose; Simultaneously also so that whole Ethernet fibre channel system transfer of data load imbalance.
Summary of the invention
For the defective of prior art, the object of the present invention is to provide a kind of optimization method of Ethernet optical-fibre channel virtual link, be intended to solve the irrational problem of virtual link processing resource allocation that exists in the existing method.
For achieving the above object, the invention provides a kind of optimization method of Ethernet optical-fibre channel virtual link, may further comprise the steps:
(1) the FCoE endpoint device produces the initialization priority value, and writes FCoE login message, and this message is unicast to target FCoE switch;
(2) the FCoE endpoint device judges that what receive from target FCoE switch is response message or refusal message, if response message illustrates that then virtual link is successfully established, and enters step (3), if receive the refusal message, then enters step (4);
(3) the FCoE endpoint device for should be newly-established virtual link distribute data receive and dispatch buffering area, and priority is write among the priority list item related with this virtual link;
(4) the FCoE endpoint device receives the request from the user, and judges whether that according to this request needs set up new virtual link, if it is returns step (1), otherwise enters step (5);
(5) the FCoE endpoint device judges wherein whether to have virtual link, if having then enter step (6), otherwise returns step (4);
(6) the FCoE endpoint device is monitored all virtual links in the FCoE endpoint device, to obtain the data transfer load of every virtual link;
(7) the FCoE endpoint device is dynamically adjusted every priority that virtual link is corresponding according to the data transfer load of obtaining, the principle of adjusting is priority corresponding to high-transmission load, and the priority after will adjusting is placed in the maintenance message of every virtual link;
(8) the FCoE target switch is extracted priority and is utilized each virtual link to carry out transfer of data according to priority from the maintenance message of virtual link;
(9) the FCoE endpoint device utilizes each virtual link to carry out transfer of data according to priority;
(10) the FCoE endpoint device is behind DTD, and judging whether needs to discharge virtual link, if so, then changes step (11) over to, otherwise returns step (4);
(11) the FCoE endpoint device is sent virtual link to the FCoE target switch and is removed frame, and the priority that virtual link is corresponding writes in the virtual link removing frame;
(12) the FCoE target switch is removed the frame priority that this virtual link is corresponding and buffering area removing according to virtual link.
The FCoE endpoint device is the terminal equipment with the FCoE network interface card.
The initialization priority value is to be written in the reserved field of FLOGI descriptor of FCoE login header.
Data transfer load in the step (6) is to think that the ratio that current valid data in the data transmit-receive buffering area that every virtual link distributes account for whole data transmit-receive buffering area weighs.
Step (1) comprises following substep:
(1-1) whether the inspection of FCoE endpoint device himself exists priority list, if exist, then changes step (1-3) over to, otherwise changes step (1-2) over to;
(1-2) set up priority list, wherein comprise at least two fields of numbering of priority and virtual link;
(1-3) judge whether the priority in the priority list is manual configuration, if then enter step (1-4), otherwise enter step (1-5);
(1-4) the FCoE endpoint device includes priority from the input of user side reception manual configuration program in this input, then changes step (1-6) over to;
(1-5) priority of FCoE endpoint device auto-initiation, its value equals the maximum of all virtual link priority in the current system;
(1-6) the FCoE endpoint device is put into the login message with priority, and will login message and send to the FCoE target switch.
Step (6) comprises following substep:
(6-1) the FCoE endpoint device is regularly added up the data transfer load of data transmit-receive buffering area corresponding to each bar virtual link;
(6-2) the FCoE endpoint device obtains after the data transfer load of all virtual links, by size all transmission loads is sorted.
The cycle of statistics can be the integral multiple that virtual link is kept the cycle, and the method for statistics is the ratio that current valid data account for whole data transmit-receive buffering area in each virtual link data transmit-receive buffering area of calculating.
Step (7) comprises following substep:
(7-1) dynamically adjust every priority that virtual link is corresponding according to the data transfer load of all virtual links, principle is the high corresponding high priority of data transfer load, and low transfer of data meets corresponding low priority;
(7-2) priority with every virtual link writes in the corresponding priority list, and this priority is write in maintenance message corresponding to every virtual link.
By the above technical scheme that the present invention conceives, compared with prior art, method of the present invention has following advantage:
(1) virtual link has dynamic priority: owing to adopted step (1), step (6), step (7), so each bar virtual link has corresponding with it dynamic priority;
(2) resource is distributed rationally: owing to adopted step (3), step (6), step (7), step (8), step (9), therefore FCoE endpoint device and FCoE switch can be processed according to the transmitting-receiving of virtual link priority process data, so that the resource distribution is more reasonable.
Another object of the present invention is to provide a kind of optimization system of Ethernet optical-fibre channel virtual link, be intended to solve the unbalanced problem of virtual link data transfer load that exists in the existing system.
For achieving the above object, the invention provides a kind of optimization system of Ethernet optical-fibre channel virtual link, comprise the priority value generation module, the message judge module, data transmit-receive Buffer allocation module, the newly-built judge module of virtual link, there is judge module in virtual link, the data transfer load acquisition module, virtual link priority adjusting module, priority is obtained and data transmission module according to priority, data transmission module according to priority, virtual link discharges judge module, remove frame and send module, resource is removed module, the priority value generation module, the message judge module, data transmit-receive Buffer allocation module, the newly-built judge module of virtual link, there is judge module in virtual link, the data transfer load acquisition module, virtual link priority adjusting module, data transmission module according to priority, virtual link discharges judge module, it is to be arranged in the FCoE endpoint device that the removing frame sends module, priority obtain and according to priority data transmission module and resource to remove module be to be arranged in the FCoE target switch, the priority value generation module is for generation of the initialization priority value, and write FCoE login message, and this message unicast to target FCoE switch, the message judge module be used for to judge that what receive from target FCoE switch is response message or refusal message, if response message, illustrate that then virtual link is successfully established, and enter data transmit-receive Buffer allocation module, if receive the refusal message, then enter the newly-built judge module of virtual link, it is that newly-built virtual link distributes corresponding data transmit-receive buffering area and priority is write among the priority list item related with this virtual link that data transmit-receive Buffer allocation module is used for the FCoE endpoint device, and the newly-built judge module of virtual link is used for need judging whether a newly-built virtual link.If need to would enter the priority value generation module, otherwise enter virtual link and have judge module, virtual link exists judge module to be used for FCoE to judge the current virtual link that whether exists, if have then enter the data transfer load acquisition module, otherwise enter the newly-built judge module of virtual link, the data transfer load acquisition module is used for all virtual links of FCoE endpoint device and monitors, to obtain the data transfer load of every virtual link, virtual link priority adjusting module is used for the FCoE endpoint device is placed into every virtual link according to the dynamic priority of adjusting after every priority corresponding to virtual link also will be adjusted of the data transfer load of obtaining maintenance message, priority obtain and according to priority data transmission module be used for the FCoE target switch and extract priority from the maintenance message of virtual link, and utilize each virtual link to carry out transfer of data according to priority, virtual link discharges judge module and is used for the FCoE endpoint device behind DTD, judge whether to need to discharge virtual link, if, then enter the removing frame and send the module module, otherwise enter the newly-built judge module of virtual link, according to priority data transmission module utilizes each virtual link to carry out transfer of data for the FCoE endpoint device according to priority, the removing frame sends module and sends virtual link removing frame for the FCoE target switch, and the priority that virtual link is corresponding writes virtual link and removes in the frame, and resource is removed module and is used for that the FCoE target switch is removed the frame priority that this virtual link is corresponding according to virtual link and buffering area is removed.
By the above technical scheme that the present invention conceives, compared with prior art, system of the present invention has following advantage:
(1) resource is distributed rationally: owing to adopted priority generation module, data transmit-receive Buffer allocation module, data transfer load acquisition module, virtual link priority adjusting module, priority is obtained and according to priority data transmission module, data transmission module according to priority, therefore FCoE endpoint device and FCoE switch can according to the actual transmissions load reasonable distribution resource of every virtual link, carry out data transmit-receive and process;
(2) system load is more balanced: owing to adopted priority generation module, data transmit-receive Buffer allocation module, data transfer load acquisition module, virtual link priority adjusting module, priority is obtained and according to priority data transmission module, data transmission module according to priority, the data transfer load of the Ethernet fibre channel system that therefore is comprised of FCoE endpoint device and FCoE switch can be loaded according to the actual transmissions of virtual link in the system and is optimized, thereby so that system load is more balanced.
Description of drawings
Fig. 1 is the harmless Ethernet architecture schematic diagram of the typical FCoE of prior art.
Fig. 2 is the flow chart of the optimization method of Ethernet optical-fibre channel virtual link of the present invention.
Fig. 3 be login among the present invention/reply/refuse the structure of descriptor.
Fig. 4 is the refinement flow chart of step in the inventive method (1).
Fig. 5 is the refinement flow chart of step in the inventive method (6).
Fig. 6 is the refinement flow chart of step in the inventive method (7).
Fig. 7 is FCoE endpoint device schematic block diagram in the optimization system of Ethernet optical-fibre channel virtual link of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 2, the optimization method of Ethernet optical-fibre channel virtual link of the present invention may further comprise the steps:
(1) the FCoE endpoint device produces the initialization priority value, and writes FCoE login message, and this message is unicast to target FCoE switch; In the present embodiment, the FCoE endpoint device is the terminal equipment with the FCoE network interface card; As shown in Figure 3, the initialization priority value is the FLOGI(Fabric Login that is written in FCoE login header) in the reserved field (i.e. 0 to 15 bit) of descriptor, it should be noted, in the present embodiment, with 16 bit reserved fields all for the expression priority, in other embodiments, represent that with any digit of reserved field priority all satisfies requirement of the present invention, also can increase arbitrarily later on bit at header and represent priority.
(2) the FCoE endpoint device judges that what receive from target FCoE switch is response message or refusal message, if response message illustrates that then virtual link is successfully established, and enters step (3), if receive the refusal message, then enters step (4);
(3) the FCoE endpoint device for should be newly-established virtual link distribute data receive and dispatch buffering area, and priority is write among the priority list item related with this virtual link; It should be noted that optimal size the present invention that the data transmit-receive buffering area is set up does not consider, must satisfy but have a bit: all data transmit-receive buffer size should be consistent, like this comparativity could be arranged when calculating each data transmit-receive buffer data load;
(4) the FCoE endpoint device receives the request from the user, and judges whether that according to this request needs set up new virtual link, if it is returns step (1), otherwise enters step (5);
(5) the FCoE endpoint device judges wherein whether to have virtual link, if having then enter step (6), otherwise returns step (4);
(6) the FCoE endpoint device is monitored all virtual links in the FCoE endpoint device, to obtain the data transfer load of every virtual link; Particularly, data transfer load is to think that the ratio that current valid data in the data transmit-receive buffering area that every virtual link distributes account for whole data transmit-receive buffering area weighs;
(7) the FCoE endpoint device is dynamically adjusted every priority that virtual link is corresponding according to the data transfer load of obtaining, the principle of adjusting is priority corresponding to high-transmission load, and the priority after will adjusting is placed in the maintenance message of every virtual link;
(8) the FCoE target switch is extracted priority and is utilized each virtual link to carry out transfer of data according to priority from the maintenance message of virtual link;
(9) the FCoE endpoint device utilizes each virtual link to carry out transfer of data according to priority;
(10) the FCoE endpoint device is behind DTD, and judging whether needs to discharge virtual link, if so, then changes step (11) over to, otherwise returns step (4);
(11) the FCoE endpoint device is sent virtual link to the FCoE target switch and is removed frame, and the priority that virtual link is corresponding writes in the virtual link removing frame;
(12) the FCoE target switch is removed the frame priority that this virtual link is corresponding and buffering area removing according to virtual link.
As shown in Figure 4, the step of the inventive method (1) comprises following substep:
(1-1) whether the inspection of FCoE endpoint device himself exists priority list, if exist, then changes step (1-3) over to, otherwise changes step (1-2) over to; This priority list is as the carrier of each virtual link priority, and is corresponding one by one with virtual link;
(1-2) set up priority list, wherein comprise at least two fields of numbering of priority and virtual link;
(1-3) judge whether the priority in the priority list is manual configuration, if then enter step (1-4), otherwise enter step (1-5);
(1-4) the FCoE endpoint device includes priority from the input of user side reception manual configuration program in this input, then changes step (1-6) over to;
(1-5) priority of FCoE endpoint device auto-initiation, its value equals the maximum of all virtual link priority in the current system;
(1-6) the FCoE endpoint device is put into the login message with priority, and will login message and send to the FCoE target switch.
As shown in Figure 5, the step of the inventive method (6) comprises following substep:
(6-1) the FCoE endpoint device is regularly added up the data transfer load of data transmit-receive buffering area corresponding to each bar virtual link; Wherein the cycle of statistics can be the integral multiple that virtual link is kept the cycle, and the method for statistics is the ratio that current valid data account for whole data transmit-receive buffering area in each virtual link data transmit-receive buffering area of calculating;
(6-2) the FCoE endpoint device obtains after the data transfer load of all virtual links, by size all transmission loads is sorted.
As shown in Figure 6, the step of the inventive method (7) comprises following substep:
(7-1) dynamically adjust every priority that virtual link is corresponding according to the data transfer load of all virtual links, principle is the high corresponding high priority of data transfer load, and low transfer of data meets corresponding low priority;
(7-2) priority with every virtual link writes in the corresponding priority list, and this priority is write in maintenance message corresponding to every virtual link; The position that writes can be with reference to its position at the login message.
In yet another embodiment of the present invention, above-mentioned steps (1-1) and (1-2) also can be arranged at step (1-5) afterwards, this depends on actual application fully.
The optimization system of Ethernet optical-fibre channel virtual link of the present invention comprises priority value generation module 1, message judge module 2, data transmit-receive Buffer allocation module 3, the newly-built judge module 4 of virtual link, there is judge module 5 in virtual link, data transfer load acquisition module 6, virtual link priority adjusting module 7, priority is obtained and data transmission module 8 according to priority, according to priority data transmission module 9, virtual link discharges judge module 10, remove frame and send module 11, resource is removed module 12, wherein, priority value generation module 1, message judge module 2, data transmit-receive Buffer allocation module 3, the newly-built judge module 4 of virtual link, there is judge module 5 in virtual link, data transfer load acquisition module 6, virtual link priority adjusting module 7, according to priority data transmission module 9, virtual link discharges judge module 10, removing frame, to send module 11 be to be arranged in the FCoE endpoint device, priority obtain and according to priority data transmission module 8 and resource to remove module 12 be to be arranged in the FCoE target switch.
Priority value generation module 1 is for generation of the initialization priority value, and writes FCoE login message, and this message is unicast to target FCoE switch.
Message judge module 2 is used for judging that what receive from target FCoE switch is response message or refusal message, if response message, illustrate that then virtual link is successfully established, and enter data transmit-receive Buffer allocation module 3, if receive the refusal message, then enter the newly-built judge module 4 of virtual link.
It is that newly-built virtual link distributes corresponding data transmit-receive buffering area and priority is write among the priority list item related with this virtual link that data transmit-receive Buffer allocation module 3 is used for the FCoE endpoint device.
The newly-built judge module 4 of virtual link is used for need judging whether a newly-built virtual link.If need to would enter priority value generation module 1, have judge module 5 otherwise enter virtual link.
Virtual link exists judge module 5 to be used for FCoE to judge currently whether have virtual link, if having then enter data transfer load acquisition module 6, otherwise enters the newly-built judge module 4 of virtual link.
All virtual links that data transfer load acquisition module 6 is used for the FCoE endpoint device are monitored, to obtain the data transfer load of every virtual link.
Virtual link priority adjusting module 7 is used for the FCoE endpoint device is placed into every virtual link according to the dynamic priority of adjusting after every priority corresponding to virtual link also will be adjusted of the data transfer load of obtaining maintenance message.
Priority obtain and according to priority data transmission module 8 be used for the FCoE target switch and extract priority from the maintenance message of virtual link, and utilize each virtual link to carry out transfer of data according to priority.
Virtual link discharges judge module 10 and is used for the FCoE endpoint device behind DTD, judges whether to need to discharge virtual link, if so, then enters the removing frame and sends module module 11, otherwise enter the newly-built judge module 4 of virtual link.
According to priority data transmission module 9 utilizes each virtual link to carry out transfer of data for the FCoE endpoint device according to priority.
The removing frame sends module 11 and sends virtual link removing frame for the FCoE target switch, and the priority that virtual link is corresponding writes in the virtual link removing frame.
Resource is removed module 12 and is used for FCoE target switch priority and buffering area removing this virtual link is corresponding according to virtual link removing frame.
Fig. 7 is the structural representation of optical-fibre channel endpoint device of the present invention, and this structure has only represented the module directly related with the present invention.The FCoE endpoint device comprises that virtual link initialization module 701, processing module 702, virtual link keep module 703, the work of these three modules around the generation of the keeping of the foundation of the initialization of virtual link initial priority value, virtual link, virtual link, dynamic priority, and the FCoE switch between priority synchronous etc.Present embodiment with the funtion part of setting up and dynamically adjusting about the multipriority virtual link of FCoE endpoint device abstract be three modules.These three modules cooperate mutually, some resources of also combination necessity, such as processor, storage resources, finish the function that the FCoE endpoint device has among the present invention.The actual FCoE endpoint device that present embodiment provides should comprise module shown in the above-mentioned figure at least.Can see that simultaneously this structural representation is equally applicable to represent obtain and the part of processing about priority among the FCF among the present invention.
The invention provides a kind of Ethernet optical-fibre channel virtual link optimization method and system, the FCoE endpoint device is when the initialization virtual link, for it distributes an initialization priority value as initial priority, processing module is processed resource according to the priority assignment of each virtual link, so that the high virtual link of priority obtains more resource; When processing, the FCoE endpoint device also need be monitored the data transfer load of every link, dynamically adjusts corresponding priority according to the load height, so that the priority of high load capacity virtual link is enhanced, underload virtual link priority is lowered; The FCoE switch can be kept this link priority value of extraction the message from login message and virtual link that the FCoE endpoint device is sent, and according to priority carries out forward process; Above method and apparatus can effectively dynamically be adjusted the processing resource according to the load of virtual link, has avoided processing resource allocation unreasonable, largest optimization process the use of resource.
Those skilled in the art will readily understand; the above only is preferred embodiment of the present invention; not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. the optimization method of an Ethernet optical-fibre channel virtual link is characterized in that, may further comprise the steps:
(1) the FCoE endpoint device produces the initialization priority value, and writes FCoE login message, and this message is unicast to target FCoE switch;
(2) the FCoE endpoint device judges that what receive from target FCoE switch is response message or refusal message, if response message illustrates that then virtual link is successfully established, and enters step (3), if receive the refusal message, then enters step (4);
(3) the FCoE endpoint device for should be newly-established virtual link distribute data receive and dispatch buffering area, and priority is write among the priority list item related with this virtual link;
(4) the FCoE endpoint device receives the request from the user, and judges whether that according to this request needs set up new virtual link, if it is returns step (1), otherwise enters step (5);
(5) the FCoE endpoint device judges wherein whether to have virtual link, if having then enter step (6), otherwise returns step (4);
(6) the FCoE endpoint device is monitored all virtual links in the FCoE endpoint device, to obtain the data transfer load of every virtual link;
(7) the FCoE endpoint device is dynamically adjusted every priority that virtual link is corresponding according to the data transfer load of obtaining, the principle of adjusting is priority corresponding to high-transmission load, and the priority after will adjusting is placed in the maintenance message of every virtual link;
(8) the FCoE target switch is extracted priority and is utilized each virtual link to carry out transfer of data according to priority from the maintenance message of virtual link;
(9) the FCoE endpoint device utilizes each virtual link to carry out transfer of data according to priority;
(10) the FCoE endpoint device is behind DTD, and judging whether needs to discharge virtual link, if so, then changes step (11) over to, otherwise returns step (4);
(11) the FCoE endpoint device is sent virtual link to the FCoE target switch and is removed frame, and the priority that virtual link is corresponding writes in the virtual link removing frame;
(12) the FCoE target switch is removed the frame priority that this virtual link is corresponding and buffering area removing according to virtual link.
2. optimization method according to claim 1 is characterized in that, the FCoE endpoint device is the terminal equipment with the FCoE network interface card.
3. optimization method according to claim 1 is characterized in that, the initialization priority value is to be written in the reserved field of FLOGI descriptor of FCoE login header.
4. optimization method according to claim 1 is characterized in that, the data transfer load in the step (6) is to think that the ratio that current valid data in the data transmit-receive buffering area that every virtual link distributes account for whole data transmit-receive buffering area weighs.
5. optimization method according to claim 1 is characterized in that, step (1) comprises following substep:
(1-1) whether the inspection of FCoE endpoint device himself exists priority list, if exist, then changes step (1-3) over to, otherwise changes step (1-2) over to;
(1-2) set up priority list, wherein comprise at least two fields of numbering of priority and virtual link;
(1-3) judge whether the priority in the priority list is manual configuration, if then enter step (1-4), otherwise enter step (1-5);
(1-4) the FCoE endpoint device includes priority from the input of user side reception manual configuration program in this input, then changes step (1-6) over to;
(1-5) priority of FCoE endpoint device auto-initiation, its value equals the maximum of all virtual link priority in the current system;
(1-6) the FCoE endpoint device is put into the login message with priority, and will login message and send to the FCoE target switch.
6. optimization method according to claim 1 is characterized in that, step (6) comprises following substep:
(6-1) the FCoE endpoint device is regularly added up the data transfer load of data transmit-receive buffering area corresponding to each bar virtual link;
(6-2) the FCoE endpoint device obtains after the data transfer load of all virtual links, by size all transmission loads is sorted.
7. optimization method according to claim 6, it is characterized in that, the cycle of statistics can be the integral multiple that virtual link is kept the cycle, and the method for statistics is the ratio that current valid data account for whole data transmit-receive buffering area in each virtual link data transmit-receive buffering area of calculating.
8. optimization method according to claim 1 is characterized in that, step (7) comprises following substep:
(7-1) dynamically adjust every priority that virtual link is corresponding according to the data transfer load of all virtual links, principle is the high corresponding high priority of data transfer load, and low transfer of data meets corresponding low priority;
(7-2) priority with every virtual link writes in the corresponding priority list, and this priority is write in maintenance message corresponding to every virtual link.
9. the optimization system of an Ethernet optical-fibre channel virtual link is characterized in that,
Comprise that priority value generation module, message judge module, data transmit-receive Buffer allocation module, the newly-built judge module of virtual link, virtual link exist judge module, data transfer load acquisition module, virtual link priority adjusting module, priority is obtained and according to priority data transmission module, according to priority data transmission module, virtual link discharge judge module, remove that frame sends module, resource is removed module;
Priority value generation module, message judge module, data transmit-receive Buffer allocation module, the newly-built judge module of virtual link, virtual link exist judge module, data transfer load acquisition module, virtual link priority adjusting module, according to priority data transmission module, virtual link discharge judge module, removing frame, to send module be to be arranged in the FCoE endpoint device, priority obtain and according to priority data transmission module and resource to remove module be to be arranged in the FCoE target switch;
The priority value generation module is for generation of the initialization priority value, and writes FCoE login message, and this message is unicast to target FCoE switch;
The message judge module be used for to judge that what receive from target FCoE switch is response message or refusal message, if response message, illustrate that then virtual link is successfully established, and enter data transmit-receive Buffer allocation module, if receive the refusal message, then enter the newly-built judge module of virtual link;
It is that newly-built virtual link distributes corresponding data transmit-receive buffering area and priority is write among the priority list item related with this virtual link that data transmit-receive Buffer allocation module is used for the FCoE endpoint device;
The newly-built judge module of virtual link is used for need judging whether a newly-built virtual link.If need to would enter the priority value generation module, have judge module otherwise enter virtual link;
Virtual link exists judge module to be used for FCoE to judge currently whether have virtual link, if having then enter the data transfer load acquisition module, otherwise enters the newly-built judge module of virtual link;
The data transfer load acquisition module is used for all virtual links of FCoE endpoint device to be monitored, to obtain the data transfer load of every virtual link;
Virtual link priority adjusting module is used for the FCoE endpoint device is placed into every virtual link according to the dynamic priority of adjusting after every priority corresponding to virtual link also will be adjusted of the data transfer load of obtaining maintenance message;
Priority obtain and according to priority data transmission module be used for the FCoE target switch and extract priority from the maintenance message of virtual link, and utilize each virtual link to carry out transfer of data according to priority;
Virtual link discharges judge module and is used for the FCoE endpoint device behind DTD, judges whether to need to discharge virtual link, if so, then enters the removing frame and sends the module module, otherwise enter the newly-built judge module of virtual link;
According to priority data transmission module utilizes each virtual link to carry out transfer of data for the FCoE endpoint device according to priority;
The removing frame sends module and sends virtual link removing frame for the FCoE target switch, and the priority that virtual link is corresponding writes in the virtual link removing frame;
Resource is removed module and is used for FCoE target switch priority and buffering area removing this virtual link is corresponding according to virtual link removing frame.
CN201210537578.1A 2012-12-12 2012-12-12 Method and system for optimizing virtual links of fiber channel over Ethernet Expired - Fee Related CN103023803B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210537578.1A CN103023803B (en) 2012-12-12 2012-12-12 Method and system for optimizing virtual links of fiber channel over Ethernet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210537578.1A CN103023803B (en) 2012-12-12 2012-12-12 Method and system for optimizing virtual links of fiber channel over Ethernet

Publications (2)

Publication Number Publication Date
CN103023803A true CN103023803A (en) 2013-04-03
CN103023803B CN103023803B (en) 2015-05-20

Family

ID=47971946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210537578.1A Expired - Fee Related CN103023803B (en) 2012-12-12 2012-12-12 Method and system for optimizing virtual links of fiber channel over Ethernet

Country Status (1)

Country Link
CN (1) CN103023803B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683023A (en) * 2013-12-03 2015-06-03 华为技术有限公司 Method, equipment and system for rapidly recovering after FCoE (Fibre Channel Over Ethernet) network packet loss
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
CN104980359A (en) * 2014-04-04 2015-10-14 中兴通讯股份有限公司 Flow control method of fiber channel over Ethernet (FCoE), flow control device of FCoE and flow control system of FCoE
CN106982238A (en) * 2016-01-18 2017-07-25 华为技术有限公司 A kind of method, policy control center and main frame for distributing network path resource

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571391A (en) * 2003-07-11 2005-01-26 港湾网络有限公司 A method for implementing bandwidth sharing architecture of virtual user ring network
CN1984043A (en) * 2006-06-07 2007-06-20 华为技术有限公司 Method and system for controlling flow based on bandwidth adjusting mechanism
CN101917331A (en) * 2008-09-11 2010-12-15 丛林网络公司 Systems, methods, and apparatus for a data centre

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571391A (en) * 2003-07-11 2005-01-26 港湾网络有限公司 A method for implementing bandwidth sharing architecture of virtual user ring network
CN1984043A (en) * 2006-06-07 2007-06-20 华为技术有限公司 Method and system for controlling flow based on bandwidth adjusting mechanism
CN101917331A (en) * 2008-09-11 2010-12-15 丛林网络公司 Systems, methods, and apparatus for a data centre

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683023A (en) * 2013-12-03 2015-06-03 华为技术有限公司 Method, equipment and system for rapidly recovering after FCoE (Fibre Channel Over Ethernet) network packet loss
CN104683023B (en) * 2013-12-03 2018-02-13 华为技术有限公司 Method, equipment and the system of fast quick-recovery after a kind of FCoE network packet loss
CN104980359A (en) * 2014-04-04 2015-10-14 中兴通讯股份有限公司 Flow control method of fiber channel over Ethernet (FCoE), flow control device of FCoE and flow control system of FCoE
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
CN104821847A (en) * 2015-04-29 2015-08-05 杭州华三通信技术有限公司 Method and apparatus for assisting fiber-channel-over-ethernet node in logging in forwarder
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
CN106982238A (en) * 2016-01-18 2017-07-25 华为技术有限公司 A kind of method, policy control center and main frame for distributing network path resource
CN106982238B (en) * 2016-01-18 2020-07-28 华为技术有限公司 Method for distributing network path resources, policy control center and host

Also Published As

Publication number Publication date
CN103023803B (en) 2015-05-20

Similar Documents

Publication Publication Date Title
CN103023803B (en) Method and system for optimizing virtual links of fiber channel over Ethernet
CN105391797B (en) Cloud Server load-balancing method and device based on SDN
CN103369601B (en) For cell-phone customer terminal provides the method for large concurrent processing and flow control
CN103560967B (en) The virtual data center mapping method of a kind of business demand perception
CN104243265A (en) Gateway control method, device and system based on virtual machine migration
CN102916903B (en) Cache adjusting method and device
CN103095521A (en) Control method, control system and control device for flow detection, controller and detection equipment
CN107872340B (en) Single board registration method, single board and forwarding equipment
CN101739287A (en) Device, system and method for managing virtual machines
CN104253767A (en) Virtual shard network implementing method and switch
CN103236986B (en) Load sharing method and device
CN102546813A (en) High-performance cluster computing system based on x86PC framework
CN102932281A (en) Method and equipment for dynamic allocation of resources
CN105472291A (en) Digital video recorder with multiprocessor cluster and realization method of digital video recorder
CN102984082A (en) Network service quality control method and device
CN102769556A (en) Dynamic regulation method and device for active VLAN
CN103533306B (en) Intelligent distribution device and method of video bandwidth
CN104852859A (en) Aggregate interface service processing method and aggregate interface service processing equipment
CN104811403A (en) Openflow-based group table processing method and device and group table configuration unit
CN103607360A (en) Message processing method, line card and switching equipment
CN104618157A (en) Network management method, device and system
CN105207856A (en) Load balancing system and method based on SDN virtual switch
CN106790411B (en) The non-polymeric port cascade system and method for virtual switch and physical switches
CN104598403A (en) Cluster storage system based on PCIE (peripheral component interface express) switch
CN103107959A (en) Electronic equipment and allocation method of data bandwidth thereof

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: 20150520

Termination date: 20171212