Embodiment
The embodiment of the invention provides the method for selecting route in a kind of CLOS switching network, and a kind of routing arrangement, can realize optimizing the Route Selection of intergrade, and the each several part business tends to balance in the system thereby make, and improves system works efficient.
Below in conjunction with accompanying drawing, the embodiment of the invention is elaborated.
Fig. 4 is the first embodiment schematic diagram of selecting the method for route in the CLOS switching network of the present invention, and with reference to this figure, this method has following flow process:
S401, that acquisition is provided by intergrade, can between input stage crosspoint and output stage crosspoint, carry the route set of current business, flow to according to current business, there are input stage crosspoint, the output stage crosspoint of current business and the intergrade that middle route is provided for current business in the CLOS switching network, wherein, the set of intergrade crosspoint forms CLOS switching network intergrade, a plurality of intergrade crosspoints form the set of intergrade crosspoint, intergrade can be current business many routes is provided, thereby forms above-mentioned route set;
S402, calculate described each route correspondence, described intergrade is to the routing capabilities of described input stage crosspoint and output stage crosspoint follow-up business, each route of S401 gained is as candidate's route of carrying current business, need calculate each candidate's route correspondence, intergrade is to the routing capabilities of current business input stage crosspoint and output stage crosspoint follow-up business, and according to the routing capabilities of each candidate's route correspondence, execution in step S403, wherein, the calculating of intergrade crosspoint set routing capabilities can comprise the calculating that may have time-delay to candidate's route, or to the real-time test and appraisal of each candidate's route reliability, or to the calculating of each candidate's routing capacity, or to each candidate's route correspondence, calculating of the number of routes (being available number of routes) that current business input stage crosspoint and output stage crosspoint follow-up business may successfully be connected etc.;
S403, routing capabilities information according to each candidate's route correspondence among the S402, from described route set, determine a route that is used for carrying current business between described input stage crosspoint and output stage crosspoint, at the calculating of mentioned various routing capabilities among the S402, can comprise following situation:
(1) may there be the calculating of time-delay to each candidate's route, wherein, may has the unsuitable route of the bigger route of time-delay, and can determine to exist the minimum route of time-delay to carry current business as the carrying current business;
(2) to the real-time test and appraisal of each candidate's route reliability, wherein, the unsuitable route of route that reliability is relatively poor as the carrying current business, and can determine that the best route of reliability carries current business;
(3) to the calculating of each candidate's routing capacity, wherein, the unsuitable route of the less route of capacity as the carrying current business, and can determine that the route of capacity maximum carries current route, perhaps, can select to carry current business with the be complementary route of capacity of current business;
(4) to the calculating of number of routes each candidate's route correspondence, that current business input stage crosspoint and output stage crosspoint follow-up business may successfully be connected, wherein, the unsuitable route of the less route of the number of routes that may successfully connect as the carrying current business, and can determine that the maximum route of number of routes that may successfully connect carries current business.
The calculating of the routing capabilities of above-mentioned various situations is prior art, repeats no more herein, can adopt one or more the combination in the calculating of above-mentioned various routing capabilities to realize the present invention simultaneously according to actual conditions in addition.
Implement as select in the CLOS switching network among Fig. 4 first embodiment of the method for route, can optimize the Route Selection of intergrade, make that the each several part business tends to balance in the system, raising system works efficient.
Fig. 5 is the second embodiment schematic diagram of selecting the method for route in the CLOS switching network of the present invention, this method flow is when describing, can be with reference to three grades of CLOS switching network operation exchange route simulation drawings as shown in Figure 6, we only describe intergrade crosspoint 1,2,3, in Fig. 6, current business flows to from a to b, wherein, a is the input port (a is positioned on the input stage crosspoint f) of current business, b is the output port (b is positioned on the output stage crosspoint g) of current business, and this method mainly comprises following flow process so:
S501, that acquisition is provided by intergrade, can between input stage crosspoint and output stage crosspoint, carry the route set of current business, with reference to Fig. 6, wherein intergrade crosspoint 1,2,3 all can provide the middle route of current business, and f can use route set to line and the composition of the line on the intergrade crosspoint 1,2,3 to g current business on the intergrade crosspoint 1,2,3;
S502 drafts at least two routes that are used between described input stage crosspoint and output stage crosspoint the carrying current business from described route set, can in available route set, select as Fig. 6 in route A, route B conduct draft route;
S503, calculate and respectively draft under the route, the number of available routes that intergrade provides described input stage crosspoint and output stage crosspoint follow-up business, when draft route A, route B as the carrying current business alternative the time, the number of available routes that we consider in intergrade under the route A f and g follow-up business to be provided, the number of available routes that intergrade provides f and g follow-up business under route B, the calculating number of available routes can be carried out with reference to following content:
A1, when drafting route A, route A belongs to intergrade crosspoint 1, because each input, output stage crosspoint can link to each other with the intergrade crosspoint and can only be connected once, the follow-up business of f, g can only be carried by the available route on the intergrade crosspoint 2,3 so, the number of available routes P on statistics intergrade crosspoint this moment 2,3;
A2, when drafting route B, route B belongs to intergrade crosspoint 3, according to aforementioned reason, the follow-up business of f, g can only be carried by the available route on the intergrade crosspoint 1,2 so, the available route Q on statistics intergrade crosspoint this moment 1,2;
S504, according to the number of available routes of respectively drafting the route correspondence of adding up among the S503, from draft route set, determine a route that is used for carrying current business between described input stage crosspoint and output stage crosspoint, can be according to the value of P, Q, from draft route A, B, determine a route that is used for carrying current business between described f, g, when P>Q, we preferentially select the bigger route A that drafts of number of available routes to carry current business, if otherwise Q>during P, we are preferential to select to draft route B and carries current business.
Implement to select in the CLOS switching network of the present invention as shown in Figure 5 second embodiment of the method for route, can be in the Route Selection of optimizing intergrade, make that the each several part business tends to balance in the system, when improving system works efficient, to draft available route that the part intergrade provides as the alternative route of current business, thereby need not all take said method to select a carrying current business to the available route that all intergrades provide, improve screening system efficient.
Fig. 7 is the 3rd an embodiment schematic diagram of selecting the method for route in the CLOS switching network of the present invention, this method flow is when describing, still can be with reference to three grades of CLOS exchange network traffic exchange route simulation drawings as shown in Figure 6, we only describe intergrade crosspoint 1,2,3, in Fig. 6, current business flows to from a to b, wherein, a is the input port (a is positioned on the input stage crosspoint f) of current business, b is the output port (b is positioned on the output stage crosspoint g) of current business, and this method mainly comprises following flow process so:
S701, acquisition is provided by intergrade, can between input stage crosspoint and output stage crosspoint, carry the route set of current business, with reference to Fig. 6, wherein the intergrade crosspoint 1,2,3 all can provide the middle route of current business, f is to intergrade crosspoint 1,2, line on 3 and intergrade crosspoint 1,2, line on 3 to g is formed current business can use route set, this available route is with the input to the current business free time of each crosspoint of intergrade, the output port indication, and each intergrade crosspoint input, output port all adopts same numbering, as intergrade crosspoint 1,2,3 all use numbering set { 0,1,2,3,4,5,6} represents on it 7 ports from top to bottom, input port and output port quantity are all 7, so, we have following processing:
B1, idle output port on the intergrade crosspoint 1 (represent with open circles among the figure, take port and represent with filled circles) is { 0,2,4,5}, idle output port is { 1 on the intergrade crosspoint 2,6}, idle output port is { 0,1,2 on the intergrade crosspoint 3,5,6}, we form set output[i with above-mentioned all idle output ports] be { 0,1,2,4,5,6}, Fout (V) is output[i] in the set of idle output port (V gathers for the intergrade crosspoint that can link to each other with f, be that the business that intergrade crosspoint among the V can be f provides idle output port), promptly Fout (V) is { (0,2,4,5), (1,6), (0,1,2,5,6) }, it is to be numbered 0 that Fout (V) is made an explanation, 1,2,5, repeating and having repeated 2 times has all appearred in 6 output port, and illustrate has respectively that these output ports are that the free time is available on 2 intergrade crosspoints, being numbered 4 output port has only occurred once, illustrate and have only that to be numbered 4 output port on the intergrade crosspoint be idle available, different elements are { 0,1 among the Fout (V), 2,4,5, the remaining port of 6} explanation input stage crosspoint f can arrive 6 output stage crosspoints;
B2, idle input port (is represented with open circles among the figure on the intergrade crosspoint 1, taking port represents with filled circles) be { 1,2,5}, idle input port is { 1 on the intergrade crosspoint 2,2,4}, idle input port is { 1,2,4 on the intergrade crosspoint 3,5,6}, we form set input[i with above-mentioned all idle output ports] be { 1,2,4,5,6}, Fin (W) is input[i] in idle output port set (W gathers for the intergrade crosspoint that can link to each other with g, be that the business that intergrade crosspoint among the W can be g provides idle input port), be that Fin (W) is { (1,2,5), (1,2,4), (1,2,4,5,6) }, Fin (W) made an explanation be, be numbered 1, repeating and having repeated 3 times has all appearred in 2 input port, illustrates that these input ports are idle available on whole 3 intergrade crosspoints, is numbered 6 input port and has only occurred once, illustrate and have only that to be numbered 6 input port on the intergrade crosspoint be idle available, be numbered 4, repeating and having repeated 2 times has all appearred in 5 input port, illustrates on 2 intergrade crosspoints to be numbered 4,5 input port is idle available, and different elements are { 1 among the Fin (W), 2,4,5, the remaining port of 6} explanation input stage crosspoint f can arrive 5 output stage crosspoints;
S702, from described route set, draft at least two routes that are used for carrying current business between described input stage crosspoint and output stage crosspoint, can in the route of intergrade crosspoint 1,2,3 carried of the current business that provided, draft at least two routes, we draft three routes (R1, R2, R3) at this, these three routes are provided by intergrade crosspoint 1,2,3 respectively, draft route for every and all can be indicated by above-mentioned idle input, output slogan;
S703, draft route to described every, obtain to remove the input that this drafts the affiliated intergrade crosspoint of route, outside the output port, other intergrade crosspoints and residue are drafted the set of route corresponding input end mouth numbering, the set of output port numbering, owing to drafted three route R1 among the S702, R2, R3, therefore, we consider the number of available routes that under route R1 intergrade provides f and g follow-up business, the number of available routes that intergrade provides f and g follow-up business under route R2, the number of available routes that intergrade provides f and g follow-up business under route R3:
C1, when drafting route R1, route R1 belongs to intergrade crosspoint 1, because each input, output stage crosspoint can link to each other with the intergrade crosspoint and can only be connected once, the follow-up business of f, g can only be carried by the available route on the intergrade crosspoint 2,3 so, number of available routes on statistics intergrade crosspoint this moment 2,3, this number of available routes is indicated with input, output port to the current business free time, promptly by the definition of above-mentioned Fout1 (V), Fin1 (W), we have:
On the intergrade crosspoint 2 idle output port be 1,6}, on the intergrade crosspoint 3 idle output port be 0,1,2,5,6}, so in the Fout1 (V) different elements be 0,1,2,5,6};
On the intergrade crosspoint 2 idle input port be 1,2,4}, on the intergrade crosspoint 3 idle input port be 1,2,4,5,6}, so in the Fin1 (W) different elements be 1,2,4,5,6};
We count F=max{Fout ∪ Fin}, and we have F1=max{Fout1 ∪ Fin1}={ (0,1 at drafting route R1 so, 2,5,6) ∪ (1,2,4,5,6) }, the maximum that F1 got be exactly for above-mentioned different element numbers and value, promptly 10, the remaining port that is interpreted as f when selecting Unit 1 can also arrive 5 output stage crosspoints, and the remaining port of g can also arrive 5 input stage crosspoints, and like this, maximum that F1 gets 10 is just indicated in maximum Path selection of drafting under the R1;
C2, when drafting route R2, route R2 belongs to intergrade crosspoint 2, because each input, output stage crosspoint can link to each other with the intergrade crosspoint and can only be connected once, the follow-up business of f, g can only be carried by the available route on the intergrade crosspoint 1,3 so, number of available routes on statistics intergrade crosspoint this moment 1,3, this number of available routes is indicated with input, output port to the current business free time, promptly by the definition of above-mentioned Fout2 (V), Fin2 (W), we have:
On the intergrade crosspoint 1 idle output port be 0,2,4,5}, on the intergrade crosspoint 3 idle output port be 0,1,2,5,6}, so in the Fout2 (V) different elements be 0,1,2,4,5,6};
On the intergrade crosspoint 1 idle input port be 1,2,5}, on the intergrade crosspoint 3 idle input port be 1,2,4,5,6}, so in the Fin2 (W) different elements be 1,2,4,5,6};
We count F=max{Fout ∪ Fin}, and we have F2=max{Fout2 ∪ Fin2}={ (0,1 at drafting route R2 so, 2,4,5,6) ∪ (1,2,4,5,6) }, the maximum that F1 got be exactly for above-mentioned different element numbers and value, promptly 11, the remaining port that is interpreted as f when selecting Unit 1 can also arrive 6 output stage crosspoints, and the remaining port of g can also arrive 5 input stage crosspoints, like this, maximum that F2 gets 11 is exactly that expression has had maximum Path selection;
C3, when drafting route R3, route R3 belongs to intergrade crosspoint 3, because each input, output stage crosspoint can link to each other with the intergrade crosspoint and can only be connected once, the follow-up business of f, g can only be carried by the available route on the intergrade crosspoint 1,2 so, number of available routes on statistics intergrade crosspoint this moment 1,2, this number of available routes is indicated with input, output port to the current business free time, promptly by the definition of above-mentioned Fout3 (V), Fin3 (W), we have:
On the intergrade crosspoint 1 idle output port be 0,2,4,5}, on the intergrade crosspoint 2 idle output port be 1,6}, so in the Fout3 (V) different elements be 0,1,2,4,5,6};
On the intergrade crosspoint 1 idle input port be 1,2,5}, on the intergrade crosspoint 2 idle input port be 1,2,4}, so in the Fin3 (W) different elements be 1,2,4,5};
We count F=max{Fout ∪ Fin}, and we have F3=max{Fout3 ∪ Fin3}={ (0,1 at drafting route R3 so, 2,4,5,6) ∪ (1,2,4,5) }, the maximum that F1 got be exactly for above-mentioned different element numbers and value, promptly 10, the remaining port that is interpreted as f when selecting Unit 1 can also arrive 6 output stage crosspoints, and the remaining port of g can also arrive 5 input stage crosspoints, and like this, maximum that F3 gets 10 is exactly that expression has had maximum Path selection;
S704 indicates described number of available routes with different element number sum values in different element numbers in the set of described input port numbering and the set of described output port numbering, promptly indicates number of available routes with the F value, and number of available routes has promptly been represented aforementioned routing capabilities;
S705, according to described routing capabilities information (with the indication of F value), from described route set, determine a route that is used for carrying current business between described input stage crosspoint and output stage crosspoint, promptly gained F1, F2, F3 can learn from S703, and the route R2 (promptly get intergrade crosspoint 2 middle route is provided) that drafts that should get F maximum 11 correspondences carries the current business between f and the g.
In addition, from above-mentioned gained F value as can be known, when we only draft route R1, R3, and the corresponding F value maximum of R1, R3, and gained F value is equal to 10, and at this moment, we can further select as follows:
D1, select a route to carry current business at random from F value maximum (equal'sing 10) R1, R3 route, this situation about selecting at random can occur when the operation exchange load is low;
D2, from F value maximum (equal'sing 10) R1, R3 route, select in the F set the maximum route of different element numbers to carry current business.
Implement to select in the CLOS switching network of the present invention as shown in Figure 7 the 3rd embodiment of the method for route, following advantage arranged:
At first, can use input on the intergrade crosspoint, output port numbering, number of available routes is quantized, and to quantize the Route Selection that gained index F optimizes intergrade, make that the each several part business tends to balance in the system, improve system works efficient
Secondly, drafting available route that the part intergrade provides, thereby need not all take said method to select a carrying current business, improve screening system efficient the available route that all intergrades provide as the alternative route of current business;
At last, occur at least two when drafting route, adopt above-mentioned D1, D2 mode to optimize the Route Selection of current business for avoiding above-mentioned maximum F value.
Correspondingly, below the routing arrangement of the embodiment of the invention is described.
Fig. 8 is the first embodiment schematic diagram of routing arrangement of the present invention, and with reference to this figure, this routing arrangement includes acquiring unit 81, computing unit 82, determining unit 83, wherein each unit connection relation and function such as following:
Acquiring unit 81, determining unit 83 link to each other with computing unit 82 respectively;
Acquiring unit 81, be used to obtain to provide by CLOS switching network intergrade, can between input stage crosspoint and output stage crosspoint, carry the route set of current business, flow to according to current business, there are input stage crosspoint, the output stage crosspoint of current business and the intergrade crosspoint set that middle route is provided for current business in the CLOS switching network, this intergrade crosspoint can be current business many routes is provided, and forms above-mentioned route set;
Computing unit 82, be used to calculate described each route correspondence, described intergrade is to the routing capabilities of described input stage crosspoint and output stage crosspoint follow-up business, obtain the candidate route of unit each route of 81 gained as the carrying current business, need calculate each candidate's route correspondence, intergrade is to the routing capabilities of current business input stage crosspoint and output stage crosspoint follow-up business, and according to the routing capabilities of each candidate's route correspondence, trigger determining unit 83 work, wherein, computing unit 83 carries out the calculating of intergrade crosspoint set routing capabilities, can comprise the calculating that may have time-delay to candidate's route, or to the real-time test and appraisal of each candidate's route reliability, or to the calculating of each candidate's routing capacity, or to each candidate's route correspondence, calculating of the number of routes (being available number of routes) that current business input stage crosspoint and output stage crosspoint follow-up business may successfully be connected etc.;
Determining unit 83, the routing capabilities information of each the candidate's route correspondence that is used for calculating according to computing unit 82, from described route set, determine a route that is used for carrying current business between described input stage crosspoint and output stage crosspoint, at the calculating of mentioned various routing capabilities in the computing unit 82, the function of this determining unit 83 can comprise following several situation:
(1) may there be the calculating of time-delay to each candidate's route, wherein, may has the unsuitable route of the bigger route of time-delay, and can determine to exist the minimum route of time-delay to carry current business as the carrying current business;
(2) to the real-time test and appraisal of each candidate's route reliability, wherein, the unsuitable route of route that reliability is relatively poor as the carrying current business, and can determine that the best route of reliability carries current business;
(3) to the calculating of each candidate's routing capacity, wherein, the unsuitable route of the less route of capacity as the carrying current business, and can determine that the route of capacity maximum carries current route, perhaps, can select to carry current business with the be complementary route of capacity of current business;
(4) to the calculating of number of routes each candidate's route correspondence, that current business input stage crosspoint and output stage crosspoint follow-up business may successfully be connected, wherein, the unsuitable route of the less route of the number of routes that may successfully connect as the carrying current business, and can determine that the maximum route of number of routes that may successfully connect carries current business.
The calculating of the routing capabilities of above-mentioned various situations is prior art, repeats no more herein, can adopt one or more the combination in the calculating of above-mentioned various routing capabilities to realize the present invention simultaneously according to actual conditions in addition.
Implement as first embodiment of routing arrangement among Fig. 8, can optimize the Route Selection of intergrade, make that the each several part business tends to balance in the system, raising system works efficient.
Fig. 9 is second embodiment of routing arrangement of the present invention, this routing arrangement is a switch, this switch comprises acquiring unit 91, computing unit 92, determining unit 93, wherein, computing unit 92 includes drafts unit 921, number of available routes computing unit 922, the function of said units still can be with reference to three grades of CLOS exchange network traffic exchange route simulation drawings as shown in Figure 6, we are only to intergrade crosspoint 1,2,3 describe, in Fig. 6, current business flows to from a to b, wherein, a is the input port (a is positioned on the input stage crosspoint f) of current business, b is the output port (b is positioned on the output stage crosspoint g) of current business, so, and each unit connection relation of this switch and function such as following:
Acquiring unit 91, determining unit 93 link to each other with computing unit 92 respectively, draft unit 921 and link to each other with number of available routes computing unit 922;
Acquiring unit 91, be used to obtain to provide by CLOS switching network intergrade, can between input stage crosspoint and output stage crosspoint, carry the route set of current business, with reference to Fig. 6, wherein intergrade crosspoint 1,2,3 all can provide the middle route of current business, and f can use route set to line and the composition of the line on the intergrade crosspoint 1,2,3 to g current business on the intergrade crosspoint 1,2,3;
Draft unit 921, be used for drafting at least two routes that are used for carrying current business between described input stage crosspoint and output stage crosspoint from the route set that described acquiring unit 91 obtains, can in available route set, select as Fig. 6 in route A, route B conduct draft route;
Number of available routes computing unit 922, be used to calculate and respectively draft under the route, the number of available routes that intergrade provides described input stage crosspoint and output stage crosspoint follow-up business, draft route A according to drafting unit 921, route B is as the alternative of carrying current business, we consider the number of available routes that under route A intergrade provides f and g follow-up business, the number of available routes that intergrade provides f and g follow-up business under route B, this number of available routes computing unit 922 calculate number of available routes can with reference to as above-mentioned A1, the A2 content is carried out, and obtains number of available routes P, Q;
Determining unit 93, be used for the number of available routes of respectively drafting the route correspondence according to number of available routes computing unit 922 statistics, from draft route set, determine a route that is used for carrying current business between described input stage crosspoint and output stage crosspoint, can be according to P, the value of Q, from drafting route A, determining one among the B is used at described f, the route of carrying current business between the g, when P>Q, we preferentially select the bigger route A that drafts of number of available routes to carry current business, if otherwise Q>during P, we are preferential to select to draft route B and carries current business.
Implement second embodiment of routing arrangement of the present invention as shown in Figure 9, this routing arrangement is a switch, can be in the Route Selection of optimizing intergrade, make that the each several part business tends to balance in the system, when improving system works efficient, draft available route that the part intergrade provides as the alternative route of current business to draft unit 921, thereby need not all take said method to select a carrying current business, improved screening system efficient the available route that all intergrades provide.
Figure 10 is the 3rd embodiment of routing arrangement of the present invention, this routing arrangement includes acquiring unit 101, computing unit 102, determining unit 103, wherein, computing unit 102 comprises drafts unit 1021, number of available routes computing unit 1022, determining unit 103 comprises contrast unit 1031, selected cell 1032, wherein number of available routes computing unit 1022 includes numbering set acquiring unit 10221, indicating member 10222, the function of said units still can be with reference to three grades of CLOS exchange network traffic exchange route simulation drawings as shown in Figure 6, we are only to intergrade crosspoint 1,2,3 describe, in Fig. 6, current business flows to from a to b, wherein, a is the input port (a is positioned on the input stage crosspoint f) of current business, b is the output port (b is positioned on the output stage crosspoint g) of current business, so, each unit connection relation of this routing arrangement and function such as following:
Acquiring unit 101, be used to obtain to provide by CLOS switching network intergrade, can between input stage crosspoint and output stage crosspoint, carry the route set of current business, with reference to Fig. 6, wherein the intergrade crosspoint 1,2,3 all can provide the middle route of current business, f is to intergrade switching stage crosspoint 1,2, line on 3 and intergrade crosspoint 1,2, line on 3 to g is formed current business can use route set, this available route is with the input to the current business free time of each crosspoint of intergrade, the output port indication, and each intergrade crosspoint input, output port all adopts same numbering, as intergrade crosspoint 1,2,3 all use numbering set { 0,1,2,3,4,5,6} represents 7 ports on it, input port and output port quantity are all 7, so, this acquiring unit 101 is followed as above-mentioned B1 for numbering, the processing mode of B2;
Draft unit 1021, be used for drafting at least two routes that are used for carrying current business between described input stage crosspoint and output stage crosspoint from described route set, can in the route of intergrade crosspoint 1,2,3 carried of the current business that provided, draft at least two routes, we draft three routes (R1, R2, R3) at this, these three routes are provided by intergrade crosspoint 1,2,3 respectively, draft route for every and all can be indicated by above-mentioned idle input, output slogan;
Numbering set acquiring unit 10221, be used for drafting every route that unit 1021 is drafted, obtain to remove the input that this drafts the affiliated intergrade crosspoint of route, outside the output port, other intergrade crosspoints and residue are drafted the set of route corresponding input end mouth numbering, the set of output port numbering, owing to draft and drafted three route R1 in the unit 1021, R2, R3, therefore, we consider the number of available routes that under route R1 intergrade provides f and g follow-up business, the number of available routes that intergrade provides f and g follow-up business under route R2, the number of available routes that intergrade provides f and g follow-up business under route R3 specifically can be with reference to above-mentioned C1, C2, the function of C3 flow process correspondence;
Indicating member 10222, different element number sum values are indicated described number of available routes in being used for the different element numbers of input port numbering set that obtain with numbering set acquiring unit 10221 and described output port numbering being gathered, promptly with F value indication number of available routes, number of available routes has promptly been represented aforementioned routing capabilities;
Contrast unit 1031 is used to contrast described every F value of drafting the route correspondence, i.e. F1, F2, the F3 value that obtains respectively among C1, C2, the C3;
Selected cell 1032 is used for the comparison by contrast unit 1031, selects the maximum route of drafting of F value to carry current business between f and the g.
In addition, in order to improve the embodiment of the invention, selected cell 1032 can also comprise judging unit and selected unit, wherein:
Judging unit, be used to judge whether to exist at least two described F values maximum draft route;
Selected unit, be used for when described judgement exist at least two described F values maximums draft route the time, selected at random wherein maximum route of drafting of F value is used for carrying current business between f and g, or, select this and concentrate the different elements route of drafting maximum, described F value maximum to be used between f and g, carrying current business according to set of described input port numbering and output port numbering union of sets collection.
Implement the 3rd embodiment of routing arrangement of the present invention as shown in figure 10, following advantage arranged:
At first, can use input on the intergrade crosspoint, output port numbering, number of available routes is quantized, and to quantize the Route Selection that gained index F optimizes intergrade, make that the each several part business tends to balance in the system, improve system works efficient
Secondly, drafting available route that the part intergrade provides, thereby need not all take said method to select a carrying current business, improve screening system efficient the available route that all intergrades provide as the alternative route of current business;
At last, occur at least two when drafting route, adopt the function of above-mentioned selected unit correspondence to optimize the Route Selection of current business for avoiding above-mentioned maximum F value.
In addition, one of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Radom Access Memory, RAM) etc.
Worth explanation, above-mentioned routing arrangement can be a switch, also can be router, perhaps other have the equipment of routing function.
The above is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also are considered as protection scope of the present invention.