CN104283780A - Method and device for establishing data transmission route - Google Patents

Method and device for establishing data transmission route Download PDF

Info

Publication number
CN104283780A
CN104283780A CN201410505880.8A CN201410505880A CN104283780A CN 104283780 A CN104283780 A CN 104283780A CN 201410505880 A CN201410505880 A CN 201410505880A CN 104283780 A CN104283780 A CN 104283780A
Authority
CN
China
Prior art keywords
data transfer
path
routing iinformation
data transmission
transmission path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410505880.8A
Other languages
Chinese (zh)
Other versions
CN104283780B (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 Cloud Computing Technologies Co Ltd
Original Assignee
Shenzhen Huawei Communication 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 Shenzhen Huawei Communication Technologies Co Ltd filed Critical Shenzhen Huawei Communication Technologies Co Ltd
Priority to CN201410505880.8A priority Critical patent/CN104283780B/en
Publication of CN104283780A publication Critical patent/CN104283780A/en
Application granted granted Critical
Publication of CN104283780B publication Critical patent/CN104283780B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and device for establishing a data transmission route, and belongs to the technical field of networks. The method includes the steps of determining the routing information of at least two data transmission routes between the locality and a target outlet interface of a convergence switch, establishing the first data transmission route according to the routing information of the first data transmission route in the data transmission routes, selecting the second data transmission route except the first data transmission route in the data transmission routes when detecting that faults happen to the first data transmission route, obtaining the routing information of the second data transmission route, and establishing the second route transmission route according to the routing information of the second data transmission route. By means of the method and the device, the delay of data transmission can be reduced.

Description

Set up the method and apparatus of data transfer path
Technical field
The present invention relates to networking technology area, particularly a kind of method and apparatus setting up data transfer path.
Background technology
Along with the development of network technology, increasing by the data volume of internet transmission, so just more and more higher to the requirement of the network bandwidth, in order to meet the demand of the network bandwidth, a lot of data center adopts based on IB (InfiniBand, infinite bandwidth) network interconnection technology of framework, openSM (open Subnet Manager, the open subnet management) transfer of data of application program to whole network that server can be installed by it manage.
In IB network architecture, the port of server is connected with access switch, access switch is connected with convergence switch, and each outbound port of convergence switch can be connected with data storage device or analytical equipment (for carrying out storage and the analysis of data).Server by port to access switch, convergence switch transmit port data collection request, access switch and convergence switch are by the message transmission rate of its each port, the transmitting state information such as Packet Error Rate and packet loss sends to server, server is according to above-mentioned information, the routing iinformation of the data transfer path arriving convergence switch outbound port (i.e. target outbound port) is determined through calculating, this routing iinformation can comprise the routing iinformation of local use and the routing iinformation of access switch use, then, a data transfer path of the target outbound port arriving convergence switch is set up according to this routing iinformation, when needing certain data in server to be sent to target port, these data can be sent to target outbound port by the data transfer path set up by server.Server can carry out periodicity to this data transfer path and detect, if detect that certain port in this data transfer path breaks down, server will recalculate the routing iinformation of the new data transfer path of of determining to arrive target outbound port, set up new data transfer path according to this routing iinformation, thus corresponding data can be transferred to target outbound port by this data transfer path.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
In the handoff procedure of data transfer path, server needs to recalculate the data transfer path arriving target outbound port, when recalculating data transfer path, if there are the data needed to the transmission of target outbound port, then can cause the delay of transfer of data.
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.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram setting up data transfer path that the embodiment of the present invention provides;
Fig. 2 is the connection diagram of a kind of system that the embodiment of the present invention provides;
Fig. 3 is a kind of method flow diagram setting up data transfer path that the embodiment of the present invention provides;
Fig. 4 is a kind of apparatus structure schematic diagram setting up data transfer path that the embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of server that the embodiment of the present invention provides.
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.

Claims (10)

1. set up a method for data transfer path, it is characterized in that, 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.
2. method according to claim 1, it is characterized in that, 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.
3. method according to claim 1, is characterized in that, the routing iinformation in first data transmission path at least two data transfer paths described in described basis, and 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.
4. method according to claim 1, is characterized in that, 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.
5. method according to claim 1, is characterized in that, the routing iinformation in first data transmission path at least two data transfer paths described in described basis, sets 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.
6. set up a device for data transfer path, it is characterized in that, 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.
7. device according to claim 6, is characterized in that, 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.
8. device according to claim 6, is characterized in that, 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.
9. device according to claim 6, is characterized in that, 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.
10. device according to claim 6, is characterized in that, describedly sets 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.
CN201410505880.8A 2014-09-26 2014-09-26 The method and apparatus for establishing data transfer path Active CN104283780B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410505880.8A CN104283780B (en) 2014-09-26 2014-09-26 The method and apparatus for establishing data transfer path

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410505880.8A CN104283780B (en) 2014-09-26 2014-09-26 The method and apparatus for establishing data transfer path

Publications (2)

Publication Number Publication Date
CN104283780A true CN104283780A (en) 2015-01-14
CN104283780B CN104283780B (en) 2018-03-13

Family

ID=52258278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410505880.8A Active CN104283780B (en) 2014-09-26 2014-09-26 The method and apparatus for establishing data transfer path

Country Status (1)

Country Link
CN (1) CN104283780B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897615A (en) * 2015-09-14 2016-08-24 乐视云计算有限公司 Data transmission method and device
CN107950013A (en) * 2015-09-11 2018-04-20 微软技术许可有限责任公司 Backup communication scheme in computer network
WO2018120389A1 (en) * 2016-12-28 2018-07-05 华为技术有限公司 Data transmitting method, data receiving method, data transmitting end, and data receiving end
CN109218190A (en) * 2017-06-29 2019-01-15 华为技术有限公司 A kind of the determination method and node of transmission path
CN109951738A (en) * 2017-12-21 2019-06-28 腾讯数码(天津)有限公司 Transmission path acquisition methods, the first electronic equipment and readable storage medium storing program for executing
WO2020078381A1 (en) * 2018-10-16 2020-04-23 杭州海康威视数字技术股份有限公司 Data aggregation method, device, equipment, storage medium and system
CN111817955A (en) * 2019-04-12 2020-10-23 阿里巴巴集团控股有限公司 Data transmission system, method, device and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1897567A (en) * 2005-07-15 2007-01-17 华为技术有限公司 Method for improving transmission reliability in virtual exchange system
CN101227371A (en) * 2008-02-18 2008-07-23 中兴通讯股份有限公司 Method and apparatus of backup switch among same level switch equipments
CN102281200A (en) * 2011-08-24 2011-12-14 华为技术有限公司 Method for selecting current backup route and router
CN102594667A (en) * 2012-02-03 2012-07-18 中兴通讯股份有限公司 Method and device for realizing fast heavy route redundancy protection
CN103647710A (en) * 2013-11-01 2014-03-19 华为技术有限公司 Path configuration method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1897567A (en) * 2005-07-15 2007-01-17 华为技术有限公司 Method for improving transmission reliability in virtual exchange system
CN101227371A (en) * 2008-02-18 2008-07-23 中兴通讯股份有限公司 Method and apparatus of backup switch among same level switch equipments
CN102281200A (en) * 2011-08-24 2011-12-14 华为技术有限公司 Method for selecting current backup route and router
CN102594667A (en) * 2012-02-03 2012-07-18 中兴通讯股份有限公司 Method and device for realizing fast heavy route redundancy protection
CN103647710A (en) * 2013-11-01 2014-03-19 华为技术有限公司 Path configuration method and device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107950013B (en) * 2015-09-11 2020-11-03 微软技术许可有限责任公司 Backup communication scheme in computer network
CN107950013A (en) * 2015-09-11 2018-04-20 微软技术许可有限责任公司 Backup communication scheme in computer network
CN105897615A (en) * 2015-09-14 2016-08-24 乐视云计算有限公司 Data transmission method and device
US11102690B2 (en) 2016-12-28 2021-08-24 Huawei Technologies Co., Ltd. Data sending method, data receiving method, data transmit end, and data receive end
CN108476456A (en) * 2016-12-28 2018-08-31 华为技术有限公司 A kind of data transmission method for uplink, method of reseptance and transmitting terminal and receiving terminal
WO2018120389A1 (en) * 2016-12-28 2018-07-05 华为技术有限公司 Data transmitting method, data receiving method, data transmitting end, and data receiving end
CN109218190A (en) * 2017-06-29 2019-01-15 华为技术有限公司 A kind of the determination method and node of transmission path
US11146480B2 (en) 2017-06-29 2021-10-12 Huawei Technologies Co., Ltd. Apparatus, method of determining transmission path and computer-readable storage medium
CN109951738A (en) * 2017-12-21 2019-06-28 腾讯数码(天津)有限公司 Transmission path acquisition methods, the first electronic equipment and readable storage medium storing program for executing
CN109951738B (en) * 2017-12-21 2022-02-01 腾讯数码(天津)有限公司 Transmission path acquisition method, first electronic device, and readable storage medium
WO2020078381A1 (en) * 2018-10-16 2020-04-23 杭州海康威视数字技术股份有限公司 Data aggregation method, device, equipment, storage medium and system
CN111817955A (en) * 2019-04-12 2020-10-23 阿里巴巴集团控股有限公司 Data transmission system, method, device and equipment
CN111817955B (en) * 2019-04-12 2022-10-21 阿里巴巴集团控股有限公司 Data transmission system, method, device and equipment

Also Published As

Publication number Publication date
CN104283780B (en) 2018-03-13

Similar Documents

Publication Publication Date Title
US10917322B2 (en) Network traffic tracking using encapsulation protocol
CN104283780A (en) Method and device for establishing data transmission route
CN110752952B (en) Network fault positioning method and device, network equipment and computer storage medium
US10103851B2 (en) Network link monitoring and testing
US10484265B2 (en) Dynamic update of virtual network topology
US8661295B1 (en) Monitoring and detecting causes of failures of network paths
CN103297396B (en) The apparatus and method that in cluster system, managing failures shifts
US10033602B1 (en) Network health management using metrics from encapsulation protocol endpoints
CN104081731A (en) Network system and topology management method
EP3520325B1 (en) Dynamically identifying criticality of services and data sources
CN112737871B (en) Link fault detection method and device, computer equipment and storage medium
CN105516292A (en) Hot standby method of cloud platform of intelligent substation
CN109542781B (en) Block chain consensus algorithm testing method and device, calculating device and storage medium
CN103262046A (en) Server management apparatus, server management method, and program
CN110768840A (en) Control method, device, equipment and storage medium of communication equipment
CN109889411A (en) A kind of method and device of data transmission
US9280426B2 (en) System and method for server redundancy
WO2014091663A1 (en) Detecting and isolating dropped or out-of-order packets in communication networks
US11223559B2 (en) Determining connectivity between compute nodes in multi-hop paths
US8681645B2 (en) System and method for coordinated discovery of the status of network routes by hosts in a network
WO2019079961A1 (en) Method and device for determining shared risk link group
US10320954B2 (en) Diffusing packets to identify faulty network apparatuses in multipath inter-data center networks
CN108390780B (en) Method and apparatus for processing information
CN112217718A (en) Service processing method, device, equipment and storage medium
JP5514153B2 (en) Transmission apparatus, relay apparatus, monitoring control apparatus, IP network system, and network device existence confirmation method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160726

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant after: Huawei Technologies Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Applicant before: Shenzhen Huawei Technologies Co., Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220217

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.