Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of method and apparatus setting up data transfer path.Described technical scheme is as follows:
First aspect, provide a kind of method setting up data transfer path, described method comprises:
Determine the local routing iinformation arriving at least two data transfer paths of the target outbound port of convergence switch;
According to the routing iinformation in first data transmission path in described at least two data transfer paths, set up described first data transmission path;
When detecting to break down in described first data transmission path, in described at least two data transfer paths, choosing the second data transfer path except described first data transmission path, obtaining the routing iinformation of described second data transfer path;
According to the routing iinformation of described second data transfer path, set up described second data transfer path.
In conjunction with first aspect, in the first possibility implementation of first aspect, described when detecting to break down in described first data transmission path, in described at least two data transfer paths, choose the second data transfer path except described first data transmission path, obtain the routing iinformation of described second data transfer path, comprising:
When arriving predetermined period, obtain the transmitting state information of each port in described first data transmission path;
If determine to there is the abnormal port of transmission state in described first data transmission path according to described transmitting state information, then judge to break down in described first data transmission path, in described at least two data transfer paths, choose the second data transfer path except described first data transmission path, obtain the routing iinformation of described second data transfer path.
In conjunction with first aspect, in the second possibility implementation of first aspect, the routing iinformation in first data transmission path at least two data transfer paths described in described basis, after setting up described first data transmission path, described method also comprises:
When arriving predetermined period, the transmitting state information of each port at least two data transfer paths described in acquisition;
If there is the abnormal port of transmission state according in the 3rd data transfer path that described transmitting state information is determined except described first data transmission path, then cancel described 3rd data transfer path, delete the routing iinformation of described 3rd data transfer path.
In conjunction with first aspect, in the third possibility implementation of first aspect, described routing iinformation comprises the first routing iinformation and secondary route information;
The described routing iinformation according to described second data transfer path, set up described second data transfer path, comprising:
Send to the access switch in described second data transfer path the path carrying the first routing iinformation of described second data transfer path and set up message, and/or the routing iinformation of this locality is replaced with described secondary route information.
In conjunction with first aspect, in the 4th kind of possibility implementation of first aspect, the routing iinformation in first data transmission path at least two data transfer paths described in described basis, set up described first data transmission path, comprising:
According to the transmitting state information of each port in described at least two data transfer paths, in described at least two data transfer paths, determine the first data transmission path of port transmission state the best;
According to the routing iinformation in described first data transmission path, set up described first data transmission path.
Second aspect, provide a kind of device setting up data transfer path, described device comprises:
Determination module, for determining the local routing iinformation arriving at least two data transfer paths of the target outbound port of convergence switch;
Set up module, for the routing iinformation according to first data transmission path in described at least two data transfer paths, set up described first data transmission path;
Acquisition module, for when detecting to break down in described first data transmission path, in described at least two data transfer paths, choose the second data transfer path except described first data transmission path, obtain the routing iinformation of described second data transfer path;
Describedly set up module, also for the routing iinformation according to described second data transfer path, set up described second data transfer path.
In conjunction with second aspect, in the first possibility implementation of second aspect, described acquisition module, for:
When arriving predetermined period, obtain the transmitting state information of each port in described first data transmission path;
If determine to there is the abnormal port of transmission state in described first data transmission path according to described transmitting state information, then judge to break down in described first data transmission path, in described at least two data transfer paths, choose the second data transfer path except described first data transmission path, obtain the routing iinformation of described second data transfer path.
In conjunction with second aspect, in the second possibility implementation of second aspect, described device also comprises removing module, for:
When arriving predetermined period, the transmitting state information of each port at least two data transfer paths described in acquisition;
If there is the abnormal port of transmission state according in the 3rd data transfer path that described transmitting state information is determined except described first data transmission path, then cancel described 3rd data transfer path, delete the routing iinformation of described 3rd data transfer path.
In conjunction with second aspect, in the third possibility implementation of second aspect, described routing iinformation comprises the first routing iinformation and secondary route information;
Describedly set up module, for:
Send to the access switch in described second data transfer path the path carrying the first routing iinformation of described second data transfer path and set up message, and/or the routing iinformation of this locality is replaced with described secondary route information.
In conjunction with second aspect, may in implementation at the 4th kind of second aspect, describedly set up module, for:
According to the transmitting state information of each port in described at least two data transfer paths, in described at least two data transfer paths, determine the first data transmission path of port transmission state the best;
According to the routing iinformation in described first data transmission path, set up described first data transmission path.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
In the embodiment of the present invention, determine the local routing iinformation arriving at least two data transfer paths of the target outbound port of convergence switch, according to the routing iinformation in first data transmission path at least two data transfer paths, set up first data transmission path, when detecting to break down in first data transmission path, in at least two data transfer paths, choose the second data transfer path except first data transmission path, obtain the routing iinformation of the second data transfer path, according to the routing iinformation of the second data transfer path, set up the second data transfer path, like this, server can set up at least two data transfer paths, in the handoff procedure of data transfer path, server can choose the second data transfer path except the first data transmission path set up at least two data transfer paths, and can by the second data transfer path transmission data set up, thus, the delay of transfer of data can be reduced.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment one
Embodiments provide a kind of method setting up data transfer path, as shown in Figure 1, the handling process of the method can comprise following step:
Step 101, determines the local routing iinformation arriving at least two data transfer paths of the target outbound port of convergence switch.
Step 102, according to the routing iinformation in first data transmission path at least two data transfer paths, sets up first data transmission path.
Step 103, when detecting to break down in first data transmission path, at least two data transfer paths, choosing the second data transfer path except first data transmission path, obtaining the routing iinformation of the second data transfer path.
Step 104, according to the routing iinformation of the second data transfer path, sets up the second data transfer path.
In the embodiment of the present invention, determine the local routing iinformation arriving at least two data transfer paths of the target outbound port of convergence switch, according to the routing iinformation in first data transmission path at least two data transfer paths, set up first data transmission path, when detecting to break down in first data transmission path, in at least two data transfer paths, choose the second data transfer path except first data transmission path, obtain the routing iinformation of the second data transfer path, according to the routing iinformation of the second data transfer path, set up the second data transfer path, like this, server can set up at least two data transfer paths, in the handoff procedure of data transfer path, server can choose the second data transfer path except the first data transmission path set up at least two data transfer paths, and can by the second data transfer path transmission data set up, thus, the delay of transfer of data can be reduced.
Embodiment two
Embodiments provide a kind of method setting up data transfer path, the executive agent of the method is server.Wherein, server can be the server being provided with openSM application program, and this server plays control action in the subnet at its place.
Below in conjunction with embodiment, be described in detail the handling process shown in Fig. 1, content can be as follows:
Step 101, determines the local routing iinformation arriving at least two data transfer paths of the target outbound port of convergence switch.
In force, IB network is a network with unified interconnect architecture, be mainly used in large-scale or small-sized data center, IB network can provide high bandwidth in relatively short distance, the transfer of data of low delay, convergence switch can be comprised in IB network, multiple server and multiple access switch, each server in multiple server can be provided with openSM application program, wherein, openSM application program realizes the basis based on IB network interconnection, mainly realize the Topology Discovery of network, the functions such as the calculating of data transfer path and the generation of routing iinformation, wherein, a main openSM can only be there is in a subnet, for managing whole subnet, openSM in other server can be backup openSM, and, the startup number backing up openSM can be determined by main openSM.In IB network, in order to ensure that the data in server are transferred to target outbound port in time, can by the server in IB network, annexation between access switch and convergence switch is arranged, namely each port of server can be connected from different access switch, in order to ensure the reliability of transfer of data, the outbound port of at least two access switch can be connected with convergence switch, as shown in Figure 2, convergence switch is provided with multiple outbound port, convergence switch can be connected with memory device or for the analytical equipment of data analysis by outbound port, can will be transferred to the transfer of data of the outbound port of convergence switch in this memory device or analytical equipment, the data obtained can carry out storing or the operation such as analysis by memory device or analytical equipment.Connection server by the way, after access switch and convergence switch, the data transfer path of server to certain outbound port (i.e. target outbound port) of convergence switch can be determined, particularly, the server of main openSM can to access switch and the request of convergence switch transmit port transmission state, after access switch receives port transmission status request, the message transmission rate of each port can be obtained, the information such as Packet Error Rate and packet loss, and the transmitting state information of each port is generated by above-mentioned information, send to server, in like manner, convergence switch also can pass through said process, the transmitting state information of each port obtained is sent to server, after server receives the transmitting state information of each port, can by calculating, determine at least two data transfer paths arriving target outbound port, by at least two data transfer paths, generate the routing iinformation of every bar data transfer path, this routing iinformation can be preserved in the server.Such as, as shown in Figure 2, server comprises two source ports, namely 1 and 2, be connected with an access switch respectively, two outbound ports 5 of one of them access switch are connected with the port one 1 and 12 of convergence switch respectively with 6, two outbound ports 9 of another access switch are connected with the port one 3 and 14 of convergence switch respectively with 10, four data transfer paths of convergence switch target outbound port 15 can be determined by above-mentioned connection server, then, can by the connection status of each port, generate the routing iinformation of every bar data transfer path, and store.
Step 102, according to the routing iinformation in first data transmission path at least two data transfer paths, sets up first data transmission path.
Wherein, routing iinformation can be the mark of each port in data transfer path, as port numbers etc.
In force, after server determines at least two data transfer paths, a data transfer path (i.e. first data transmission path) can be selected arbitrarily in above-mentioned data transfer path, server can in the routing iinformation of at least two data transfer paths stored, find the routing iinformation in first data transmission path, the routing iinformation found can be sent to access switch, the routing iinformation of current use also can be deleted by server, corresponding routing iinformation in first data transmission path is set to the routing iinformation arriving target outbound port, such server, access switch obtains the routing iinformation in corresponding first data transmission path, the data transfer path that server reaches target outbound port is set up.Wherein, the first data transmission path of foundation also can be called master data transfer path, and other data transfer path at least two data transfer paths except first data transmission path can be called preliminary data transmission path.
Alternatively, server sets up the processing mode in first data transmission path can be varied, below provides a kind of optional processing mode, specifically can comprise the following steps:
Step one, according to the transmitting state information of each port at least two data transfer paths, at least two data transfer paths, determines the first data transmission path of port transmission state the best.
In force, the transmitting state information of each port at least two data transfer paths that server can be got by step 101, this transmitting state information comprises message transmission rate, the Packet Error Rate and packet loss etc. of port, the transmitting state information of the port of identical type equipment in any two data transfer paths contrasts by server, the mark of the good port of record transmission state, the rest may be inferred, can determine a data transfer path (i.e. first data transmission path) of port transmission state the best.Such as, based on the example of step 101, server from four data transfer paths, can determine a data transfer path (i.e. first data transmission path) of port transmission state the best, as data transfer path 1 → 4 → 5 → 11 → 15 by the way.
Step 2, according to the routing iinformation in first data transmission path, sets up first data transmission path.
In force, server can in the routing iinformation of at least two data transfer paths stored, find the routing iinformation in first data transmission path, and corresponding routing iinformation is informed to server and access switch, thus set up the first data transmission path of server to target outbound port.
Alternatively, other data transfer path except first data transmission path broken down can be cancelled by server, specifically can comprise the following steps:
Step one, when arriving predetermined period, obtains the transmitting state information of each port at least two data transfer paths.
In force, server can pre-set one-period, whether normal for judging the transmission state of each port in each data transfer path, when arriving predetermined period, server can obtain the mark of each port at least two data transfer paths, and then generate port transmission status request, send to access switch and convergence switch, access switch and convergence switch can obtain message transmission rate, the information such as Packet Error Rate and packet loss of corresponding port, and the transmitting state information of port is generated by above-mentioned information, send to server.
Step 2, if there is the abnormal port of transmission state in determining except first data transmission path the 3rd data transfer path according to transmitting state information, then cancels the 3rd data transfer path, deletes the routing iinformation of the 3rd data transfer path.
Wherein, the 3rd data transfer path can be at least two articles of data transfer paths, the arbitrary data transfer path except first data transmission path.
In force, server can by the transmitting state information received, determine that whether each port at least two data transfer paths is normal, such as, the message transmission rate that the message transmission rate of certain port and this port are preset can be compared, if this message transmission rate is less than default message transmission rate, then judge that this port is normal, otherwise, this port is abnormal, if server judges to there is the abnormal port of transmission state in certain data transfer path (i.e. the 3rd data transfer path) except first data transmission path, server can cancel the 3rd data transfer path, the routing iinformation of the 3rd data transfer path stored in server can be deleted.
It should be noted that, the routing iinformation that this locality determined can be arrived at least two data transfer paths of the target outbound port of convergence switch by server sends to access switch, can be arranged master data transfer path by the mode of priority, particularly, server can by the routing iinformation of at least two data transfer paths, determine that a data transfer path (i.e. first data transmission path) is as master data transfer path, and notify to access switch transmit path, to make access switch, the priority of the corresponding routing iinformation in first data transmission path is set to the highest, thus set up first data transmission path.
Step 103, when detecting to break down in first data transmission path, at least two data transfer paths, choosing the second data transfer path except first data transmission path, obtaining the routing iinformation of the second data transfer path.
In force, server can detect the transmission state of at least two data transfer paths that it is determined, this testing process can periodically be carried out, such as, server is often through just detecting the transmission state of at least two data transfer paths after an hour, whether good to determine the transmission state of each data transfer path, if detect to break down in first data transmission path, such as, certain port in the first transmission path damages, now, server can by the mark of source port in first data transmission path and the mark of target outbound port, find at least two data transfer paths corresponding thereto, and select the second data transfer path except first data transmission path wherein, select the process of the second data transfer path can be in other data transfer path except first data transmission path, choose arbitrarily a data transfer path as the second data transfer path, also can choose by other means, from other data transfer path, such as determine the data transfer path of a data transmission state the best, as the second data transfer path, then, server can pass through this data transfer path, the server corresponding with this data transfer path and the routing iinformation of access switch is found in the routing iinformation stored.
Alternatively, server detects the processing mode whether broken down in first data transmission path can be varied, below provides a kind of optional processing mode, specifically can comprise the following steps:
Step one, when arriving predetermined period, obtains the transmitting state information of each port in first data transmission path.
The processing procedure of above-mentioned steps one see above-mentioned related content, can not repeat them here.
Step 2, if there is the abnormal port of transmission state according in transmitting state information determination first data transmission path, then judge to break down in first data transmission path, in at least two data transfer paths, choose the second data transfer path except first data transmission path, obtain the routing iinformation of the second data transfer path.
The processing procedure of the routing iinformation whether the judgement first data transmission path in above-mentioned steps two is broken down and obtained the second data transfer path see above-mentioned related content, can not repeat them here.
Step 104, according to the routing iinformation of the second data transfer path, sets up the second data transfer path.
In force, server can pass through routing iinformation, and set up notice to access switch and convergence switch transmit path, corresponding port can be arranged ID of trace route path by access switch and convergence switch, thus, set up second data transfer path of server to target outbound port.
Alternatively, routing iinformation can comprise the first routing iinformation and secondary route information, then the processing procedure of corresponding above-mentioned steps 104 can comprise following content: send to the access switch in the second data transfer path the path carrying the first routing iinformation of the second data transfer path and set up message, and/or the routing iinformation of this locality is replaced with secondary route information.
In force, routing iinformation can comprise the first routing iinformation and secondary route information, wherein, the first via comprises the mark of source port by information, the mark of target outbound port and the outbound port mark of access switch, secondary route information comprises the mark of source port, the mark of target outbound port, the routing iinformation of current for server use can use secondary route information to replace by server, and the first routing iinformation is sent to access switch, when access switch receives the first routing iinformation, by the source port of its current storage, the routing iinformation that target outbound port is corresponding replaces with the first routing iinformation, thus, server is established to the second data transfer path of target outbound port.
In the embodiment of the present invention, determine the local routing iinformation arriving at least two data transfer paths of the target outbound port of convergence switch, according to the routing iinformation in first data transmission path at least two data transfer paths, set up first data transmission path, when detecting to break down in first data transmission path, in at least two data transfer paths, choose the second data transfer path except first data transmission path, obtain the routing iinformation of the second data transfer path, according to the routing iinformation of the second data transfer path, set up the second data transfer path, like this, server can set up at least two data transfer paths, in the handoff procedure of data transfer path, server can choose the second data transfer path except the first data transmission path set up at least two data transfer paths, and can by the second data transfer path transmission data set up, thus, the delay of transfer of data can be reduced.
Embodiment three
Below in conjunction with concrete application scenarios, be described in detail to the method setting up data transfer path that the embodiment of the present invention provides, server can be the server being provided with openSM application program, and the openSM in server is main openSM.As shown in Figure 3, following treatment step can be comprised:
Step 301, server determines the local routing iinformation arriving at least two data transfer paths of the target outbound port of convergence switch.
Step 302, server is to access switch and the request of convergence switch transmit port transmission state.
Step 303, switch and convergence switch obtain the transmitting state information of each port, and send to server respectively.
Step 304, server, according to the transmitting state information of each port at least two data transfer paths, at least two data transfer paths, determines the first data transmission path of port transmission state the best.
Step 305, server notice access switch and this locality, replace with corresponding routing iinformation in first data transmission path by respective routing iinformation.
Step 306, when arriving predetermined period, server sends the transmission state request of each port at least two data transfer paths to access switch and convergence switch.
Step 307, switch and convergence switch obtain the transmitting state information of corresponding port, and send to server respectively.
Step 308, if when breaking down according to transmitting state information determination first data transmission path, at least two data transfer paths, chooses the second data transfer path except first data transmission path, obtains the routing iinformation of the second data transfer path.
Step 309, sends to the access switch in the second data transfer path the path carrying the first routing iinformation of the second data transfer path and sets up message, and/or the routing iinformation of this locality is replaced with secondary route information.
Step 310, if there is the abnormal port of transmission state in determining except first data transmission path the 3rd data transfer path according to transmitting state information, then server cancels the 3rd data transfer path, deletes the routing iinformation of the 3rd data transfer path.
The concrete processing mode of above-mentioned steps 301-310 with reference to the related content in embodiment two, can repeat no more herein.
In the embodiment of the present invention, determine the local routing iinformation arriving at least two data transfer paths of the target outbound port of convergence switch, according to the routing iinformation in first data transmission path at least two data transfer paths, set up first data transmission path, when detecting to break down in first data transmission path, in at least two data transfer paths, choose the second data transfer path except first data transmission path, obtain the routing iinformation of the second data transfer path, according to the routing iinformation of the second data transfer path, set up the second data transfer path, like this, server can set up at least two data transfer paths, in the handoff procedure of data transfer path, server can choose the second data transfer path except the first data transmission path set up at least two data transfer paths, and can by the second data transfer path transmission data set up, thus, the delay of transfer of data can be reduced.
Embodiment four
Based on identical technical conceive, the embodiment of the present invention additionally provides a kind of device setting up data transfer path, and as shown in Figure 4, this device comprises:
Determination module 410, for determining the local routing iinformation arriving at least two data transfer paths of the target outbound port of convergence switch;
Set up module 420, for the routing iinformation according to first data transmission path at least two data transfer paths, set up first data transmission path;
Acquisition module 430, for when detecting to break down in first data transmission path, at least two data transfer paths, choosing the second data transfer path except first data transmission path, obtaining the routing iinformation of the second data transfer path;
Set up module 420, also for the routing iinformation according to the second data transfer path, set up the second data transfer path.
Alternatively, acquisition module 430, for:
When arriving predetermined period, obtain the transmitting state information of each port in first data transmission path;
If there is the abnormal port of transmission state according in transmitting state information determination first data transmission path, then judge to break down in first data transmission path, in at least two data transfer paths, choose the second data transfer path except first data transmission path, obtain the routing iinformation of the second data transfer path.
Alternatively, this device also comprises removing module, for:
When arriving predetermined period, obtain the transmitting state information of each port at least two data transfer paths;
If there is the abnormal port of transmission state according in the 3rd data transfer path that transmitting state information is determined except first data transmission path, then cancel the 3rd data transfer path, delete the routing iinformation of the 3rd data transfer path.
Alternatively, routing iinformation comprises the first routing iinformation and secondary route information;
Set up module 420, for:
Send to the access switch in the second data transfer path the path carrying the first routing iinformation of the second data transfer path and set up message, and/or the routing iinformation of this locality is replaced with secondary route information.
Alternatively, set up module 420, for:
According to the transmitting state information of each port at least two data transfer paths, at least two data transfer paths, determine the first data transmission path of port transmission state the best;
According to the routing iinformation in first data transmission path, set up first data transmission path.
In the embodiment of the present invention, determine the local routing iinformation arriving at least two data transfer paths of the target outbound port of convergence switch, according to the routing iinformation in first data transmission path at least two data transfer paths, set up first data transmission path, when detecting to break down in first data transmission path, in at least two data transfer paths, choose the second data transfer path except first data transmission path, obtain the routing iinformation of the second data transfer path, according to the routing iinformation of the second data transfer path, set up the second data transfer path, like this, server can set up at least two data transfer paths, in the handoff procedure of data transfer path, server can choose the second data transfer path except the first data transmission path set up at least two data transfer paths, and can by the second data transfer path transmission data set up, thus, the delay of transfer of data can be reduced.
It should be noted that: what above-described embodiment provided sets up the device of data transfer path when setting up data transfer path, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by server is divided into different functional modules, to complete all or part of function described above.In addition, the device of what above-described embodiment provided set up data transfer path belongs to same design with the embodiment of the method setting up data transfer path, and its specific implementation process refers to embodiment of the method, repeats no more here.
Embodiment five
Please refer to Fig. 5, it illustrates the structural representation of the server involved by the embodiment of the present invention, this server may be used for the method setting up data transfer path implementing to provide in above-described embodiment.Specifically:
Server 1000 can produce larger difference because of configuration or performance difference, one or more central processing units (central processing units can be comprised, CPU) 1022 (such as, one or more processors) and memory 1032, one or more store the storage medium 1030 (such as one or more mass memory units) of application program 1042 or data 1044.Wherein, memory 1032 and storage medium 1030 can be of short duration storages or store lastingly.The program being stored in storage medium 1030 can comprise one or more modules (illustrating not shown), and each module can comprise a series of command operatings in server.Further, central processing unit 1022 can be set to communicate with storage medium 1030, and server 1000 performs a series of command operatings in storage medium 1030.Server 1000 can also comprise one or more power supplys 1026, one or more wired or wireless network interfaces 1050, one or more input/output interfaces 1058, one or more keyboards 1056, and/or, one or more operating systems 1041, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.Specifically in the present embodiment, server includes memory, and one or more program, one of them or more than one program are stored in memory, and more than one or one program can comprise one or more modules, and each module can comprise a series of command operatings in server, and be configured to perform this more than one or one program package containing the instruction for carrying out following operation by more than one or one processor:
Determine the local routing iinformation arriving at least two data transfer paths of the target outbound port of convergence switch;
According to the routing iinformation in first data transmission path at least two data transfer paths, set up first data transmission path;
When detecting to break down in first data transmission path, at least two data transfer paths, choosing the second data transfer path except first data transmission path, obtaining the routing iinformation of the second data transfer path;
According to the routing iinformation of the second data transfer path, set up the second data transfer path.
Alternatively, when detecting to break down in first data transmission path, at least two data transfer paths, choosing the second data transfer path except first data transmission path, obtaining the routing iinformation of the second data transfer path, comprising:
When arriving predetermined period, obtain the transmitting state information of each port in first data transmission path;
If there is the abnormal port of transmission state according in transmitting state information determination first data transmission path, then judge to break down in first data transmission path, in at least two data transfer paths, choose the second data transfer path except first data transmission path, obtain the routing iinformation of the second data transfer path.
Alternatively, according to the routing iinformation in first data transmission path at least two data transfer paths, after setting up first data transmission path, the method also comprises:
When arriving predetermined period, obtain the transmitting state information of each port at least two data transfer paths;
If there is the abnormal port of transmission state according in the 3rd data transfer path that transmitting state information is determined except first data transmission path, then cancel the 3rd data transfer path, delete the routing iinformation of the 3rd data transfer path.
Alternatively, routing iinformation comprises the first routing iinformation and secondary route information;
According to the routing iinformation of the second data transfer path, set up the second data transfer path, comprising:
Send to the access switch in the second data transfer path the path carrying the first routing iinformation of the second data transfer path and set up message, and/or the routing iinformation of this locality is replaced with secondary route information.
Alternatively, according to the routing iinformation in first data transmission path at least two data transfer paths, set up first data transmission path, comprising:
According to the transmitting state information of each port at least two data transfer paths, at least two data transfer paths, determine the first data transmission path of port transmission state the best;
According to the routing iinformation in first data transmission path, set up first data transmission path.
In the invention process, determine the local routing iinformation arriving at least two data transfer paths of the target outbound port of convergence switch, according to the routing iinformation in first data transmission path at least two data transfer paths, set up first data transmission path, when detecting to break down in first data transmission path, in at least two data transfer paths, choose the second data transfer path except first data transmission path, obtain the routing iinformation of the second data transfer path, according to the routing iinformation of the second data transfer path, set up the second data transfer path, like this, server can set up at least two data transfer paths, in the handoff procedure of data transfer path, server can choose the second data transfer path except the first data transmission path set up at least two data transfer paths, and can by the second data transfer path transmission data set up, thus, the delay of transfer of data can be reduced.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.