CN103379031B - Equipment connection method, system and apparatus - Google Patents

Equipment connection method, system and apparatus Download PDF

Info

Publication number
CN103379031B
CN103379031B CN201210105980.2A CN201210105980A CN103379031B CN 103379031 B CN103379031 B CN 103379031B CN 201210105980 A CN201210105980 A CN 201210105980A CN 103379031 B CN103379031 B CN 103379031B
Authority
CN
China
Prior art keywords
terminal node
switch
equipment
real
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.)
Active
Application number
CN201210105980.2A
Other languages
Chinese (zh)
Other versions
CN103379031A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210105980.2A priority Critical patent/CN103379031B/en
Publication of CN103379031A publication Critical patent/CN103379031A/en
Application granted granted Critical
Publication of CN103379031B publication Critical patent/CN103379031B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses an equipment connection method, system and apparatus, and belongs to the field of computer networks. The method comprises: at least one forwarder receives an equipment discovery request message sent by a first terminal node; the at least one forwarder generates a real-time priority based on current network information; the at least one forwarder sends an equipment discovery response message carrying the real-time priority to the first terminal node; and the first terminal node selects a forwarder corresponding to the equipment discovery response message carrying the highest real-time priority and establishes a connection with the forwarder. According to the equipment connection method, system and apparatus, the forwarder generates the real-time priority based on the current network information, so that a more reasonable connection relationship between the terminal node and the terminal node and a more reasonable connection relationship between the terminal node and the forwarder are guided to be established, communication path between the terminal node is reduced and forwarding efficiency of the system is improved.

Description

Equipment method of attachment, system and device
Technical field
The present invention relates to computer network field, more particularly to a kind of equipment method of attachment, system and device.
Background technology
Ethernet optical-fibre channel (English:Fibre Channel over Ethernet, referred to as:FCoE) technology is storage Local Area Network (English:Storage Area Network, referred to as:SAN the main flow framework in), which adopts optical-fibre channel (English: Fibre Channel, referred to as:FC) as support technology, by optical-fibre channel related protocol standard implementation SAN network server With the exchanging visit of storage device.In the art, the web-transporting device for supporting FCoE technologies is referred to as into FCoE switches (English: FCoE Forwarder, referred to as:FCF), the main process equipment for supporting FCoE technologies is referred to as into FCoE terminal nodes (English:FCoE Node, referred to as:Enode).
Fig. 1 is refer to, scene of the fiber channel storage network of the prior art in data transfer is it illustrates and is illustrated Figure.First terminal node Enode X, second terminal node Enode Y, the first exchange are included in the fiber channel storage network Machine FCF A, second switch FCF B and 3rd switch FCF C.Between terminal node and switch, switch and switch Between can set up connection by priority, such as terminal node can send equipment to respective switch and find request report Text, each switch find response message to the terminal node feedback device, and the equipment includes switch in finding response message The priority of itself, then terminal node select the switch of highest priority to set up connection.As first terminal node Enode When X needs and second terminal node Enode Y communicate, need by switch FCF to forward data, due to there are multiple friendships Change planes FCF, it is possible that there is following scene:First terminal node Enode X are set up with the first switch FCF A and are connected, the One switch FCF A are set up with second switch FCF B and are connected, and second switch FCF B and 3rd switch FCF C sets up and connects Connect, 3rd switch is set up with second terminal node Enode Y and is connected, then first terminal node Enode X and second terminal Communicated between node Enode Y.
During the present invention is realized, inventor has found that prior art at least has problems with:When there are multiple friendships When changing planes, in prior art it is possible that between two terminal nodes set up connection when across multiple switch situation, I.e. transmission path is longer, is not the situation of shortest path so that the forward efficiency of whole system is low.
The content of the invention
In order to solve the problems, such as the unreasonable connection being likely to occur between terminal node, between terminal node and switch, Embodiments provide a kind of equipment method of attachment, system and device.The technical scheme is as follows:
According to an aspect of the present invention, a kind of equipment method of attachment is embodiments provided, methods described includes:
At least one switch receives the equipment discovery request message that first terminal node sends;
At least one switch generates real-time priority according to current network information;
At least one switch is found to equipment of the first terminal node feeding back comprising the real-time priority Response message;
The first terminal node selects real-time priority highest equipment to find the exchange corresponding to response message Machine sets up connection;
Wherein, the current network information is included between the related information between terminal node and terminal node and switch Annexation, the related information between the terminal node is:Domain between the terminal node defines relation;
At least one switch generates real-time priority according to current network information, including:
At least one switch according to the related information between the terminal node and the terminal node with exchange Annexation between machine, judges whether the second terminal node being associated with the first terminal node, and switch Whether itself is established with the second terminal node is connected;
If at least one switch is determined has the second terminal section being associated with the first terminal node Point, and switch itself established with the second terminal node and is connected, then generate rank for the real-time of limit priority Priority.
According to a further aspect in the invention, the embodiment of the present invention additionally provides a kind of equipment connection system, the system bag Include at least one switch and first terminal node;
At least one switch, finds request message for receiving the equipment that the first terminal node sends;Root Real-time priority is generated according to current network information;Send out to equipment of the first terminal node feeding back comprising the real-time priority Existing response message;
The first terminal node, for selecting real-time priority highest equipment to find the exchange corresponding to response message Machine sets up connection;
Wherein, the current network information is included between the related information between terminal node and terminal node and switch Annexation, the related information between the terminal node is:Domain between the terminal node defines relation;
At least one switch generates real-time priority according to current network information, including:
At least one switch according to the related information between the terminal node and the terminal node with exchange Annexation between machine, judges whether the second terminal node being associated with the first terminal node, and switch Whether itself is established with the second terminal node is connected;
If at least one switch is determined has the second terminal section being associated with the first terminal node Point, and switch itself established with the second terminal node and is connected, then generate rank for the real-time of limit priority Priority.
In accordance with a further aspect of the present invention, the embodiment of the present invention additionally provides a kind of equipment connecting device, described device bag Include:
Request message receiver module, the equipment for receiving the transmission of first terminal node find request message;
Priority generation module, for generating real-time priority according to current network information;
Response message feedback module, for sending out to equipment of the first terminal node feeding back comprising the real-time priority Existing response message, so that the first terminal node selects real-time priority highest equipment to find the institute corresponding to response message State switch and set up connection;
Network information memory module, for storing the current network information, the current network information includes terminal section Related information and the annexation between terminal node and switch between point, the related information between the terminal node For:Domain between the terminal node defines relation;
The priority generation module, specifically includes:Information judging unit and the first priority signal generating unit;
Described information judging unit, for according between the terminal node stored in the network information memory module Related information and the annexation between the terminal node and switch, judge whether and the first terminal node Associated second terminal node, and whether switch itself established with the second terminal node and be connected;
The first priority signal generating unit, if determining presence with described first eventually for described information judging unit The associated second terminal node of end node, and switch itself established with the second terminal node and is connected, then give birth to Into the real-time priority that rank is limit priority.
The embodiment of the present invention generates the equipment discovery that switch feeds back to terminal node by according to current network information Real-time priority in response message, can be between guiding terminal node and terminal node, between terminal node and switch more Reasonably establish a connection, and then reached the communication path shortened between terminal node, improve the forward efficiency of system Effect.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to making needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, can be obtaining other according to these accompanying drawings Accompanying drawing.
Fig. 1 is schematic diagram of a scenario of the FC SAN networks of the prior art in data transfer;
Fig. 2 is the structural representation of Zone definition provided in an embodiment of the present invention;
Fig. 3 A are that the structure that virtual link is set up between terminal node provided in an embodiment of the present invention and FCoE switches is shown It is intended to;
Fig. 3 B are the structures that virtual link is set up between FCoE switches provided in an embodiment of the present invention and FCoE switches Schematic diagram;
Fig. 4 is the method flow diagram of the equipment method of attachment that the embodiment of the present invention one is provided;
Fig. 5 is the method flow diagram of the equipment method of attachment that the embodiment of the present invention two is provided;
Fig. 6 is the method flow diagram of the equipment method of attachment that the embodiment of the present invention three is provided;
Fig. 7 is the block diagram of the equipment connection system that the embodiment of the present invention four is provided;
Fig. 8 is the block diagram of the equipment connecting device that the embodiment of the present invention five is provided;
Fig. 9 is the block diagram of another kind of equipment connecting device that the embodiment of the present invention five is provided;
Figure 10 is the block diagram of another equipment connecting device that the embodiment of the present invention five is provided.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
For the ease of description, the technological concept involved by some embodiment of the present invention is introduced first.
Zone
Zone, also referred to as domain are defined, and are a kind of secure interaction mechanism in fiber channel storage network technology.Briefly, Can be with predefined as a Zone the terminal node for having mutual requirements for access, the definition procedure of Zone can be:The One, a Zone is configured on FCoE switches;Second, add member in the Zone, member can utilize WWN (World Wide Name, global only name) or FCID identifying, wherein WWN is the one kind being cured on the hardware of terminal node Identification information, and FCID is terminal node when registering to fiber channel network in initialization procedure, by fiber channel network institute A kind of identification information of distribution.As shown in Figure 2, terminal node H1 can be defined as a Zone 1, terminal with terminal node S1 Node H2 can be defined as a Zone 2 with terminal node S2, and terminal node H3 can be defined as one with terminal node S3 Zone 3.There may be at least two members in a Zone, usually multiple members.The Zone definition can be in each FCoE It is mutually synchronized in switch so that each FCoE switch knows that the Zone is defined.
Virtual connections
Virtual connections refer to the virtual link in FCoE technologies between two network element nodes, including terminal node is handed over FCoE Virtual link between virtual link between changing planes, and two FCoE switches.Fig. 3 A show terminal node and FCoE The structural representation set up between switch after virtual link (in figure shown in dotted line), terminal node H1, terminal node H2, Connected by Ethernet between one switch FCF A and second switch FCF B, then between terminal node and FCoE switches Virtual link can be set up.The process of setting up of the virtual link is usually:One terminal node is sent to each FCoE switch Equipment finds request message, and then each FCoE switch finds response message to the terminal node feedback device, and the equipment is sent out The FCoE switches precedence informations of itself is included in existing response message, then the terminal node selects wherein highest priority A FCoE switch set up virtual link.One terminal node can be set up between multiple FCoE switches and virtually be connected Connect.
Fig. 3 B then show that the structure set up between two FCoE switches after virtual link (in figure shown in dotted line) is shown It is intended to.First switch FCF A, between second switch FCF B and 3rd switch FCF C physically by Ethernet connect Connect, so virtual link can be set up between latter two FCoE switch.
The precedence information of each switch is usually the value of default value or manual configuration in the prior art, it is clear that Virtual link is set up according to default priority, it is possible to occur crossing between described in aforementioned background art two terminal nodes Multiple FCoE switches are come the problem that communicates.In order to make as far as possible two terminal nodes of communication requirement with it is same FCoE switches set up virtual connections, the invention provides technical scheme below.
Fig. 4 is refer to, the method flow diagram of the equipment method of attachment of the offer of the embodiment of the present invention one, the equipment are provided Method of attachment can be used in Ethernet fibre channel sanses, and the Ethernet fibre channel sanses can be with Including at least one FCoE switches and at least one terminal node, the equipment method of attachment can include:
Step 402, at least one switch receive the equipment discovery request message that first terminal node sends.
Ethernet fibre channel sanses generally include several FCoE switches and several terminal nodes, this First terminal node in several terminal nodes needs to set up with FCoE switches when being connected, can first to all of FCoE Switch sends equipment and finds request message, and equipment finds that request message is also referred to as FCF Discovery, then in the L 2 broadcast All FCoE switches in domain can all receive the equipment of first terminal node transmission and find request message.
Step 404, at least one switch generate real-time priority according to current network information.
The inside of each FCoE switch can be stored with current network information, and current network information can include terminal section In the current load situation of related information, the annexation between terminal node and switch and switch between point at least It is a kind of.Specifically, the related information between terminal node may refer to define relation with the presence or absence of Zone between terminal node.Often Individual FCoE switches can generate real-time priority according to current network information.
Step 406, at least one switch is found to the equipment that the transmission of first terminal node carries the real-time priority should Answer message.
After each FCoE switch can generate real-time priority according to current network information, each FCoE is exchanged The equipment that machine can send the real-time priority to first terminal node finds response message.Now, first terminal node can be with Receive one or more equipment and find response message, each equipment carries a real-time priority in finding response message Level.
Step 408, first terminal node select real-time priority highest equipment to find the exchange corresponding to response message Machine sets up connection.
First terminal node can select real-time priority after receiving one or more equipment and finding response message Level highest equipment finds switch corresponding to response message to set up connection.Specifically, real-time priority highest sets The existing response message of preparation is referred to:First terminal node, can be with after receiving one or more equipment and finding response message All devices are found into that the real-time priority carried in response message is ranked up from high to low according to priority-level, sequence knot The equipment corresponding to most front real-time priority is come in fruit and finds that response message is real-time priority highest equipment and finds Response message, such as, priority is characterized with 0~100, and the less priority of numerical value is higher, and first terminal node receives three and sets The existing response message of preparation, three equipment find that the real-time priority that response message is carried is respectively 10,56 and 99, then carry real When priority be 10 equipment find response message be real-time priority highest equipment find response message.In addition, herein " setting up connection " is:Virtual link is set up in Ethernet optical-fibre channel.
In sum, the equipment method of attachment that the embodiment of the present invention one is provided is by striking a bargain according to current network information next life Change planes feed back to terminal node equipment find response message in real-time priority, being capable of guiding terminal node and terminal node Between, more reasonably establish a connection between terminal node and switch, and then reached and shortened logical between terminal node Letter path, improves the effect of the forward efficiency of system.
According to the difference of the content included in current network information, there may be different embodiments.When current network is believed Ceasing the content for including is:During annexation between the related information and terminal node and switch between terminal node, please join Examine following examples.Fig. 5 shows the method flow diagram of the equipment method of attachment that the embodiment of the present invention two is provided, and the equipment connects Method can be used in Ethernet fibre channel sanses, and the Ethernet fibre channel sanses are included at least One FCoE switch and at least one terminal node, the equipment method of attachment can include:
Step 502, at least one switch receive the equipment discovery request message that first terminal node broadcasts send.
Ethernet fibre channel sanses generally include several FCoE switches and several terminal nodes, this First terminal node in several terminal nodes needs to set up with FCoE switches when being connected, it is necessary first in double layer network Equipment is sent to all of FCoE switches in a broadcast manner and finds request message, equipment finds that request message is also referred to as FCF Discovery, then all FCoE switches in the L 2 broadcast domain can all receive the equipment that the terminal node sends It was found that request message.
Step 504, at least one switch according to the related information and terminal node between terminal node and switch it Between annexation, judge whether the second terminal node being associated with first terminal node, and whether switch itself Establish with second terminal node and be connected.
The inside of each FCoE switch can be stored with current network information, and current network information can include terminal section Related information and the annexation between terminal node and switch between point.Specifically, the association letter between terminal node Breath may refer to define relation with the presence or absence of Zone between terminal node.
Each FCoE switch can generate real-time priority according to current network information.Specifically:When each FCoE switches receive from first terminal node equipment find request message when, can be according to the pass between terminal node Annexation between connection information and terminal node and switch, judges whether second be associated with first terminal node Terminal node.In the present embodiment, the second terminal node being associated with the first terminal node is primarily referred to as:With first end End node belongs to other terminal nodes in a Zone definition, and the second terminal node can be with more than one.Zone is defined Characterizing has exchanging visit request between the terminal node in the Zone, namely can represent that presence is closed between these terminal nodes Connection.FCoE switches can be believed using current network when the equipment for receiving the transmission of first terminal node finds request message The related information between terminal node in breath judges whether the Zone definition related to the first terminal node, and then obtains To other terminal nodes in related to first terminal node Zone definition, then using these other terminal nodes as with The associated second terminal node of first terminal node.Obviously, second terminal node can be one or more.
Meanwhile, FCoE switches also need to while judging whether itself is established with second terminal node be connected, when During second terminal node more than one, if FCoE switches confirm itself with multiple second terminal nodes at least one It is individual to establish connection, it is possible to think that FCoE switches are established with second terminal node and be connected.Specifically, herein " establishing connection " refers to:Virtual link is established in Ethernet optical-fibre channel.
Step 506, if at least one switch is determined has the second terminal section being associated with first terminal node Point, and switch itself established with second terminal node and is connected, then generate real-time priority of the rank for limit priority Level.When FCoE switches judge there is the second terminal node that is associated with first terminal node, and switch itself with Second terminal node establishes virtual link, then generate real-time priority of the rank for limit priority.If in step 504 Judged result is no, then FCoE switches can generate the real-time priority that rank is default priority.Default priority it is excellent First level rank can be lowest priority.
Rank is referred to for the real-time priority of limit priority:In the priority-level of the possible value of real-time priority, Highest-ranking priority, such as priority are characterized with 0~100, and the less priority of numerical value is higher, then rank is that highest is excellent The real-time priority of first level is 0.
Step 508, at least one switch send the equipment discovery response for carrying real-time priority to first terminal node Message.
As FCoE switches generally are several, each FCoE switch each can be sent to first terminal node The equipment for carrying the real-time priority of itself finds response message.First terminal node can receive setting for each FCoE switch The existing response message of preparation.
Step 510, first terminal node select real-time priority highest equipment to find the exchange corresponding to response message Machine sets up connection.
First terminal node after the equipment for receiving each FCoE switch finds response message selects to send excellent in real time First level highest equipment finds that the FCoE switches corresponding to response message initiate connection request, if while receiving more than one Individual real-time priority highest equipment finds response message, then initiate connection request to more than one FCoE switch.Correspondence FCoE switches can receive the connection request of the first terminal node, and receive the FCoE switches of connection request can It is connected with being set up with first terminal node according to the connection request, connection namely aforementioned virtual herein connect.Specifically, it is real When highest priority equipment find response message refer to:First terminal node receive that one or more equipment finds should After answering message, the real-time priority carried in response message can be found according to priority-level from high to low all devices It is ranked up, the equipment corresponding to most front real-time priority that comes in ranking results finds that response message is real-time priority Highest equipment finds response message, and such as, priority is characterized with 0~100, and the less priority of numerical value is higher, first terminal Node receives three equipment and finds response message, and three equipment find that the real-time priority that response message is carried is respectively 0,56 and 99, then carry the equipment that real-time priority is 0 and find that response message is that real-time priority highest equipment finds response message.
For environment shown in Fig. 1, it is assumed that first terminal node Enode X are predetermined with second terminal node Enode Y For same Zone, current scene is:First switch FCF A are set up with second switch FCF B and are connected, second switch FCF B are set up with 3rd switch FCF C and are connected, and 3rd switch FCF C is set up with second terminal node Enode Y and is connected, Then need to be communicated between first terminal node Enode X and second terminal node Enode Y.So, first terminal section Point Enode X can have found request message to all FCoE switches initiating equipments in the form of broadcasting;Each FCoE switch After the equipment that receives finds request message, the Zone definition related to first terminal node Enode X is judged whether, so Each FCoE switch may determine that to there is second terminal node Enode Y relevant with first terminal node Enode X afterwards Connection, and 3rd switch FCF C has found that oneself establishes virtual connections with second terminal node Enode Y;Then first Switch FCF A and second switch FCF B are excellent for acquiescence to the rank that first terminal node Enode X send real-time priority The equipment of first level finds response message, and 3rd switch FCF C sends the level of real-time priority to first terminal node Enode X Not Wei limit priority equipment find response message;First terminal node Enode X receive each FCoE switch and send Equipment find response message after, select real-time priority highest equipment to find the 3rd switch corresponding to response message FCF C initiate connection request, and then first terminal node Enode X and 3rd switch FCF C sets up virtual link.By upper Process is stated, when first terminal node Enode X are communicated with second terminal node Enode Y, can be through 3rd switch FCF C mono- are finished into.
In sum, the equipment method of attachment that the embodiment of the present invention two is provided is by according to the terminal in current network information The annexation between related information and terminal node and switch between node, generates switch and feeds back to first terminal The equipment of node finds the real-time priority in response message, can guide between first terminal node and switch more reasonably Establish a connection so that the communication path between the first terminal node and second terminal node of relevant information is as much as possible It is short, improve the forward efficiency of system.
According to the difference of the content included in current network information, there may be different embodiments.When current network is believed Ceasing the content for including is:During current load situation, following examples are refer to.Fig. 6 shows what the embodiment of the present invention three was provided The method flow diagram of equipment method of attachment, the equipment method of attachment can be used in Ethernet fibre channel sanses, The Ethernet fibre channel sanses include at least one FCoE switches and at least one terminal node, and the equipment connects The method of connecing can include:
Step 602, at least one switch receive the equipment discovery request message that first terminal node broadcasts send.
Ethernet fibre channel sanses generally include several FCoE switches and several terminal nodes, this First terminal node in several terminal nodes needs to set up with FCoE switches when being connected, it is necessary first in double layer network Equipment is sent to all of FCoE switches in a broadcast manner and finds request message, equipment finds that request message is also referred to as FCF Discovery, then all FCoE switches in the L 2 broadcast domain can all receive the equipment that the terminal node sends It was found that request message.
Step 604, at least one switch inquiry priority corresponding with current load situation in default correspondence table, And generate the real-time priority that rank is the priority.
The inside of each FCoE switch can be stored with current network information, and current network information can be with present load feelings Condition.Specifically, current load situation can include that current CPU usage, current connection number and present flow rate be accounted for can load flow Ratio at least one.The inside of each FCoE switch can also be stored with and correspond to table, include load in correspondence table Corresponding relation between situation and priority, the weight of loading condition can be with proportional with the height of priority.That is, negative Carry heavier priority lower, load that lighter priority is higher, such as loading condition is characterized with 0~100%, priority with 0~ 100 characterizing, and the less priority of numerical value is higher;So, current load situation is 10%, then corresponding priority can be 10; Current load situation is 90%, then corresponding priority can be 90;Namely loading condition/priority=constant.Certainly, load Situation is characterized with 0~100%, priority with 0~128 to characterize when, in order to ensure priority always integer, in addition it is also necessary to take Whole process etc..And the weight of the loading condition being not excluded in correspondence table and the not strict proportional feelings of the height of priority Condition, such as one specific corresponding to table are as follows:
Loading condition Priority
0% 0
1% 2
2% 4
3% 5
4% 10
5% 17
、、、 、、、
99% 100
100% 128
Current load situation according to itself can be corresponded to Query priority in table at this by FCoE switches, and generate level The real-time priority of the priority that Wei not inquire.
Step 606, at least one switch is found to the equipment that the transmission of first terminal node carries the real-time priority should Answer message.
As FCoE switches generally are several, each FCoE switch each can be sent to first terminal node The equipment for carrying the real-time priority of itself finds response message.First terminal node can receive setting for each FCoE switch The existing response message of preparation.
Step 608, first terminal node select real-time priority highest equipment to find the exchange corresponding to response message Machine sets up connection.
First terminal node, can be to each equipment after the equipment for receiving each FCoE switch finds response message It was found that the real-time priority in response message is ranked up, wherein real-time priority highest equipment is selected to find response message institute Corresponding FCoE switches initiate connection request.Correspondence FCoE switches can receive the connection of the first terminal node please Ask, and receive the FCoE switches of connection request and can be connected with the foundation of first terminal node according to the connection request, this The connection at place namely aforementioned virtual connection.Specifically, real-time priority highest equipment finds that response message is referred to:First eventually All devices after receiving one or more equipment and finding response message can be found to take in response message by end node The real-time priority of band is ranked up from high to low according to priority-level, and most front real-time priority institute is come in ranking results Corresponding equipment finds that response message is real-time priority highest equipment and finds response message, such as, priority with 0~ 100 characterizing, and the less priority of numerical value is higher, and first terminal node receives three equipment and finds response messages, and three equipment are sent out The real-time priority that existing response message is carried is respectively 0,56 and 99, then carries the equipment that real-time priority is 0 and finds response Message is that real-time priority highest equipment finds response message.
In sum, the equipment method of attachment that the embodiment of the present invention three is provided is by according to current in current network information Loading condition, generates switch and feeds back to the real-time priority that the equipment of first terminal node is found in response message, can More reasonably establish a connection between guiding first terminal node and switch so that the load of respective switch is as far as possible equal Weighing apparatus, improves the forward efficiency of system.
Fig. 7 is refer to, the block diagram of the equipment connection system of the offer of the embodiment of the present invention four is provided.The equipment Connection system can be Ethernet fibre channel sanses, and the equipment connection system can include at least one switch 720 and first terminal node 740.The equipment connection system can be used to realize above-mentioned each method embodiment of the invention.
At least one switch 720 is used to receive the equipment of the transmission of first terminal node 740 and finds request message;Root Real-time priority is generated according to current network information;The equipment discovery response report for carrying real-time priority is sent to first terminal node Text.Wherein, current network information includes the related information between terminal node, the annexation between terminal node and switch With at least one in the current load situation of switch.
The first terminal node 740 is used for the friendship for selecting real-time priority highest equipment to find corresponding to response message Foundation of changing planes connects.
In sum, the equipment connection system that the embodiment of the present invention four is provided is by striking a bargain according to current network information next life Change planes feed back to terminal node equipment find response message in real-time priority, being capable of guiding terminal node and terminal node Between, more reasonably establish a connection between terminal node and switch, and then reached and shortened logical between terminal node Letter path, improves the effect of the forward efficiency of system.
It should be noted that:Example IV provide equipment connection system connect equipment when, only with above-mentioned each function mould The division of block is illustrated, and in practical application, can distribute above-mentioned functions by different functional modules as desired Complete, will the internal structure of device be divided into different functional modules, to complete all or part of function described above. In addition, the equipment connection system that example IV is provided belongs to same design with the equipment method of attachment embodiment in embodiment one, Which implements process and refers to embodiment of the method, repeats no more here.
Fig. 8 is refer to, the block diagram of the equipment connecting device of the offer of the embodiment of the present invention five, the equipment are provided Attachment means can be used in Ethernet fibre channel media, or in fibre channel sanses system.That is, should In the switch that equipment connecting device can be used in the equipment connection system of the offer of embodiment illustrated in fig. 7 four.The equipment connects Device can include request message receiver module 820, priority generation module 840, response message feedback module 860 and network letter Breath memory module 880, the equipment connecting device can be used to realize above-mentioned each method embodiment of the invention.
Request message receiver module 820 is used to receive the equipment of first terminal node transmission and finds request message.
Priority generation module 840 is for according to current network information generation real-time priority.
Response message feedback module 860 finds response for the equipment for carrying real-time priority is sent to first terminal node Message, so that first terminal node selects real-time priority highest equipment to find that the switch corresponding to response message sets up company Connect.
Network information memory module 880 is used to store the current network information required for priority generation module 840, currently The network information includes working as the related information between terminal node, the annexation between terminal node and switch and switch At least one in front loading condition.
Specifically, as shown in figure 9, priority generation module 840 can include:Information judging unit 842 and first is excellent First level signal generating unit 844.Information judging unit 842 for according to the terminal node stored in network information memory module 880 it Between related information and the annexation between terminal node and switch, judge whether to be associated with first terminal node Second terminal node, and whether switch itself set up with second terminal node and be connected.First priority signal generating unit If 844 are used for information judging unit 842 determines the second terminal node that presence is associated with first terminal node, and exchanges Machine itself is set up with second terminal node and is connected, then generate real-time priority of the rank for limit priority.Specifically, eventually Related information between end node can be:Domain between terminal node defines relation.Setting up connection can be:In Ethernet light Virtual link is set up in fine passage.
Specifically, as shown in Figure 10, priority generation module 840 can also include:Second priority signal generating unit 846.Second priority signal generating unit 846 is for the inquiry in default correspondence table and storage in network information memory module 880 The corresponding priority of current load situation, and generate the real-time priority that rank is the priority for inquiring.Further, it is right Include the corresponding relation between loading condition and priority in answering table, the weight of loading condition is directly proportional to the height of priority Relation.
In sum, the equipment connecting device that the embodiment of the present invention five is provided is by striking a bargain according to current network information next life Change planes feed back to terminal node equipment find response message in real-time priority, being capable of guiding terminal node and terminal node Between, more reasonably establish a connection between terminal node and switch, and then reached and shortened logical between terminal node Letter path, improves the effect of the forward efficiency of system.
It should be noted that:Embodiment five provide equipment connecting device connect equipment when, only with above-mentioned each function mould The division of block is illustrated, and in practical application, can distribute above-mentioned functions by different functional modules as desired Complete, will the internal structure of device be divided into different functional modules, to complete all or part of function described above. In addition, the equipment connecting device that example IV is provided is belonged to the equipment method of attachment embodiment in embodiment two and embodiment three Same design, which implements process and refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware To complete, it is also possible to instruct the hardware of correlation to complete by program, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.

Claims (4)

1. a kind of equipment method of attachment, it is characterised in that methods described includes:
At least one switch receives the equipment discovery request message that first terminal node sends;
At least one switch generates real-time priority according to current network information;At least one switch is to described First terminal node sends the equipment discovery response message for carrying the real-time priority;
The first terminal node selects real-time priority highest equipment to find that the switch corresponding to response message sets up company Connect;
Wherein, the current network information includes the company between the related information between terminal node and terminal node and switch Relation is connect, the related information between the terminal node is:Domain between the terminal node defines relation;
At least one switch generates real-time priority according to current network information, including:
At least one switch according to the related information between the terminal node and the terminal node and switch it Between annexation, judge whether the second terminal node being associated with the first terminal node, and switch itself Whether establish with the second terminal node and be connected;
If at least one switch is determined has the second terminal node being associated with the first terminal node, and Switch itself is established with the second terminal node and is connected, then generate real-time priority of the rank for limit priority Level.
2. a kind of equipment connecting device, it is characterised in that described device includes:
Request message receiver module, the equipment for receiving the transmission of first terminal node find request message;
Priority generation module, for generating real-time priority according to current network information;
Response message feedback module, finds to answer for the equipment for carrying the real-time priority is sent to the first terminal node Message is answered, so that the first terminal node selects real-time priority highest equipment to find the switch corresponding to response message Set up connection;
Network information memory module, for storing the current network information, the current network information include terminal node it Between related information and the annexation between terminal node and switch, the related information between the terminal node is:Institute The domain stated between terminal node defines relation;
The priority generation module, specifically includes:Information judging unit and the first priority signal generating unit;
Described information judging unit, for according to the pass between the terminal node stored in the network information memory module Annexation between connection information and the terminal node and switch, judges whether related to the first terminal node The second terminal node of connection, and whether switch itself established with the second terminal node and be connected;
The first priority signal generating unit, if determining presence and the first terminal section for described information judging unit Associated second terminal node is put, and switch itself has been established with the second terminal node and has been connected, then generate level Not Wei limit priority real-time priority.
3. a kind of Ethernet fibre channel media, it is characterised in which includes equipment connection dress as claimed in claim 2 Put.
4. a kind of equipment connection system, it is characterised in that the system includes:At least one exchange as claimed in claim 3 Machine and first terminal node;
At least one switch, finds request message for receiving the equipment that the first terminal node sends;According to work as The front network information generates real-time priority;The equipment that the carrying real-time priority is sent to the first terminal node finds should Answer message;
The first terminal node, for selecting real-time priority highest equipment to find that the switch corresponding to response message is built Vertical connection;
Wherein, the current network information includes the company between the related information between terminal node and terminal node and switch Relation is connect, the related information between the terminal node is:Domain between the terminal node defines relation;
At least one switch generates real-time priority according to current network information, including:
At least one switch according to the related information between the terminal node and the terminal node and switch it Between annexation, judge whether the second terminal node being associated with the first terminal node, and switch itself Whether establish with the second terminal node and be connected;
If at least one switch is determined has the second terminal node being associated with the first terminal node, and Switch itself is established with the second terminal node and is connected, then generate real-time priority of the rank for limit priority Level.
CN201210105980.2A 2012-04-12 2012-04-12 Equipment connection method, system and apparatus Active CN103379031B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210105980.2A CN103379031B (en) 2012-04-12 2012-04-12 Equipment connection method, system and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210105980.2A CN103379031B (en) 2012-04-12 2012-04-12 Equipment connection method, system and apparatus

Publications (2)

Publication Number Publication Date
CN103379031A CN103379031A (en) 2013-10-30
CN103379031B true CN103379031B (en) 2017-04-12

Family

ID=49463606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210105980.2A Active CN103379031B (en) 2012-04-12 2012-04-12 Equipment connection method, system and apparatus

Country Status (1)

Country Link
CN (1) CN103379031B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN106060088B (en) * 2016-07-26 2020-11-06 新华三技术有限公司 Service management method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588365A (en) * 2009-06-18 2009-11-25 杭州华三通信技术有限公司 Link negotiation control method and optical fiber chunnel bearing ether protocol integration system
CN101631076A (en) * 2009-08-21 2010-01-20 杭州华三通信技术有限公司 Message transmission control method and fiber channel over Ethernet protocol system
CN102291465A (en) * 2011-08-31 2011-12-21 北京星网锐捷网络技术有限公司 Load balancing method, device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588365A (en) * 2009-06-18 2009-11-25 杭州华三通信技术有限公司 Link negotiation control method and optical fiber chunnel bearing ether protocol integration system
CN101631076A (en) * 2009-08-21 2010-01-20 杭州华三通信技术有限公司 Message transmission control method and fiber channel over Ethernet protocol system
CN102291465A (en) * 2011-08-31 2011-12-21 北京星网锐捷网络技术有限公司 Load balancing method, device and system

Also Published As

Publication number Publication date
CN103379031A (en) 2013-10-30

Similar Documents

Publication Publication Date Title
CN109412770A (en) Communication means and device
CN105357116B (en) A kind of method and intelligent terminal of multiple terminal access server
CN105744575B (en) Method, wireless network SDN controller and system for cell switching
CN102318322B (en) Device and method for distributing MAC address
CN110167198A (en) The method and apparatus for determining protocol Data Unit conversational services network element
CN106130925A (en) Link scheduling method, equipment and the system of a kind of SDN
CN103379031B (en) Equipment connection method, system and apparatus
CN107078935A (en) Network is the cross-domain Synergistic method of service business, cooperative device and control device
EP2975811A1 (en) Interface switching method and device
CN107332744B (en) Routing path selection method and system and user access server
CN103368847A (en) Broadband convergence communication method and router
CN105450697B (en) A kind of more equipment are same to shield sharing method, device and server
KR102601122B1 (en) Apparatus and method for reporting packet
CN104704867B (en) The method and apparatus of data routing
CN108092896A (en) Pile system and aggregation group establish device
CN106255172A (en) Communication means based on multipath and device
CN102202419A (en) Data allocation method and device thereof with multiple radio access technologies serving one user equipment
US20170373987A1 (en) Method of sharing network resource and network coordination apparatus
CN106559833B (en) A kind of data transmission method, terminal, wireless access point and system
CN105450710B (en) Method for establishing the direct communication of user to user in gateway
CN103441934B (en) A kind of learning method of stacking topology and device
CN106385688B (en) A kind of base-band resource distribution method and system and controller
CN101232510A (en) Method and system for implementing multi-network port device multicast
CN102064970B (en) Management method and system for user line and access node
CN101399775A (en) Moving picture distribution system, moving picture distribution method, moving picture distribution program, and recording medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant