Method for determining an interconnection topology between switches in a communication network, producing corresponding computer program and device.

By calculating a metric function based on data rate to capacity ratios for each section of candidate paths, the method optimizes Ethernet network topologies, addressing inefficiencies in existing methods by prioritizing paths with minimal capacity impact, thus enhancing network resource utilization.

FR3126576B1Active Publication Date: 2024-08-30LATELEC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
FR2021009146
Authority / Receiving Office
FR · FR
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-09-01
Publication Date
2024-08-30
Estimated Expiration
2041-09-01

AI Technical Summary

Technical Problem

Existing Ethernet communications networks often determine interconnection topologies that are sub-optimal, leading to inefficient use of network resources due to overloading certain connections while others remain underutilized, as they primarily rely on administrative distance to the root switch without considering actual data flow requirements.

Method used

A method for determining an interconnection topology by calculating a metric function based on the ratio of effective data rate need to transport capacity for each section of a candidate path, prioritizing paths with minimal impact on existing capacities, and iteratively optimizing data paths to reflect actual data flow demands.

Benefits of technology

This approach results in an optimized interconnection topology that maximizes network resource utilization by prioritizing paths with the highest throughput requirements, ensuring efficient use of available bandwidth and reducing congestion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000020_0000
    Figure 00000020_0000
  • Figure 00000020_0001
    Figure 00000020_0001
Patent Text Reader

Abstract

Method for determining an interconnection topology between switches of a communication network, producing corresponding computer program and device. The invention relates to a method for determining an interconnection topology between switches of a communication network.Such a method includes, for at least one given leaf switch, a determination (E210) of an effective path for data communication between the leaf switch and a root switch. The determination of the effective path includes: - a determination (E210a) of at least one candidate path between the leaf switch and the root switch, the candidate path comprising at least one segment between a first switch and a second switch; - for each candidate path, a calculation (E210b) of a metric based on at least a quantity representative of a ratio, determined for a corresponding segment of the candidate path, between an effective data throughput requirement through the segment and a transport capacity of the connection in the segment. The effective path is determined to be the candidate path with the extreme metric among the candidate path(s). SUMMARY FIGURE: Fig. 2.
Need to check novelty before this filing date? Find Prior Art

Description

Description Title of the invention: Method for determining an interconnection topology between switches of a communication network, computer program product and corresponding device laying. Field of invention

[0001] The field of the invention is that of communications networks.

[0002] = The invention relates more particularly to a method for determining the interconnection topology between switches of such a communications network.

[0003] The invention thus has numerous applications, in particular, but not exclusively, in all areas in which such communications networks are used. This is the case, for example, in the field of IT or telecommunications. Prior art and its drawbacks

[0004] — In the remainder of this document, we will focus more particularly on describing a pro- existing problem in the field of Ethernet type communications networks which the inventors of the present patent application were faced with. The invention is of course not limited to this particular field of application, but is of interest for determining the interconnection topology between com- transformers of any type of communications network.

[0005] — The topology of Ethernet-type networks is dynamic in the sense that it can be modified during network operation. More specifically, the topology interconnection is determined at network initialization but it is also update in case of switch or link failure. The topology is de- completed or updated via the implementation of an algorithm called STP (for "Spanning Tree Protocol" in English). Spanning Tree Protocol is a network protocol level 2 to determine a topology for such a network. The STP protocol is defined by the IEEE 802.1D standard. The STP algorithm defines a unique path between two points in the network by administratively blocking certain ports on the switches. For example, the STP algorithm determines for each switch in the network, from a part, the root ports (ie. the ports of each switch that owns the "distance" the shortest to the switch elected as root switch) and, on the other hand, the designated ports (i.e. the ports on each switch connected to the connection that leads the more directly to the root switch). Ports that are neither root nor designated are blocked.

[0006] — However, according to such an algorithm, the network interconnection topology does not depends only on the "distance" of a given switch to the root switch. It depends on follows topologies that may be suboptimal from the point of view of the effective use, particularly with regard to the data rate, which will be made of the network. For example, some interconnections will find themselves overloaded while other interconnections will find themselves under-exploited. There is thus a need for a technique for determining the interconnection topology in a communications network in an improved manner in view of the actual use that will be made of it. Statement of the invention In one embodiment of the invention, a method is provided for determining an interconnection topology between switches of a communications network comprising a plurality of switches, including at least one leaf switch and a root switch, as well as a set of connections for data communication between the switches. Such a method comprises, for at least one given leaf switch, determining an effective path for data communication between the given leaf switch and the root switch. Determining the effective path comprises: - a determination of at least one candidate path for data communication between the given leaf switch and the root switch, the candidate path comprising at least one leg comprising a connection between a first switch and a second switch; and - for each candidate path, a calculation of a metric based on at least one quantity representative of a ratio, determined for a corresponding section of the candidate path, between an effective requirement in data flow passing through the section and a transport capacity of the section's connection. The effective path for data communication between the given leaf switch and the root switch is determined to be the extremal metric candidate path among the at least one candidate path. Thus, the invention provides a novel and inventive solution for determining the interconnection topology in a communications network. More specifically, since the metric is based on the ratio between the effective data throughput requirement and the capacity of the corresponding segment connection, the candidate path with the extreme metric corresponds to the candidate path for which the effective data throughput has the least impact on its own capacity at the time of determining the effective path in question. For example, the effective path is determined as being the candidate path with the minimum metric when the effective data throughput requirement passing through each segment considered is interpreted as the numerator of the corresponding ratio, and the transport capacity of the segment connection section as the denominator. Such an approach makes it possible to obtain an interconnection topology optimized in view of the data actually passing within the network. According to certain embodiments, the effective data throughput requirement transiting through the section is expressed as a weighted sum between, on the one hand, an already known data throughput requirement transiting through the first switch of the section and, on the other hand, a specific data throughput requirement associated with the given leaf switch. Thus, the weighting allows a prioritization of the needs of the different equipment, e.g. as decided by the network administrator. In some embodiments, the metric is a function of a weighted sum of quantities representative of the ratios, determined for each of a plurality of candidate path segments, between the data throughput requirement passing through the segment and the transport capacity of the segment's connection. Such weighting also allows prioritization of the needs of the different switching equipment, but also prioritization of certain sections of the candidate path. In some embodiments, the first switch is the closest switch to the given leaf switch along the candidate path, with the second switch being the closest to the root switch along the candidate path. In some embodiments, the method includes updating the data throughput requirement through each switch along the effective path by increasing it by the specific data throughput requirement associated with the given leaf switch. The updating allows for subsequent implementation of the method applied to determining an effective path for data communication between another given leaf switch and the root switch. Thus, the data rate passing through a network switch evolves as the interconnection topology is constructed so as to correctly reflect the actual rate passing through the switch in question given the determined topology. In some embodiments, the method is implemented iteratively for each leaf switch of a plurality of leaf switches. A current iteration is applied to a leaf switch of maximum data rate requirement among the at least one leaf switch of the plurality that has not yet been iterated over. In this way, the data paths corresponding to the greatest throughput requirements are determined as a priority. The data paths in question are thus determined by taking full advantage of the transport capacities of the network connections. In some embodiments, the switches are each further associated with a different identifier from an ordered set of identifiers. When at least two leaf switches of the plurality have the same maximum data rate requirement among the at least one leaf switch of the plurality that has not yet been iterated, the current iteration is applied to the switch associated with the smallest identifier among the at least two leaf switches. According to certain embodiments, the method comprises a preliminary phase of initializing the need for specific data flow associated with said at least one leaf switch and the need for data flow passing through the switches of the plurality of switches. According to some embodiments, the pre-initialization phase comprises collecting the data rate requirement of said at least one leaf switch. For example, such collection is performed by the electronic device implementing the method by sending requests to the leaf switches of the network and collecting the corresponding responses. The data throughput requirement of a given leaf switch corresponds to the requirements of the terminal equipment accessing the network via the given leaf switch in question. According to some embodiments, the pre-initialization phase comprises initializing the data rate requirement passing through the switches of the plurality of switches to a default value. According to some embodiments, the pre-initialization phase further comprises an election of the root switch from among the plurality of switches. According to some embodiments, the electronic device is implemented in the root switch. The invention also relates to a computer program comprising program code instructions for implementing a method as described above, according to any one of its different embodiments, when executed on a computer. The invention also relates to an electronic device for determining an interconnection topology between switches of a communications network comprising a plurality of switches, including at least one leaf switch and one root switch, as well as a set of connections for data communication between the switches. Such an estimation device comprises a reprogrammable computing machine or a dedicated computing machine configured to implement the steps of the determination method as described previously (according to any one of the various embodiments mentioned above). Thus, the characteristics and advantages of this device are the same as those of the corresponding steps of the determination method described above. Therefore, they are not detailed further. The invention also relates to a switch of a communication network comprising an electronic determination device as described previously (according to any one of the different embodiments mentioned above). List of figures Other aims, characteristics and advantages of the invention will appear more clearly on reading the following description, given as a simple illustrative, and non-limiting, example, in relation to the figures, among which: [Fig.1] represents a communications network comprising a plurality of switches according to one embodiment of the invention; [Fig.2] represents the steps of a method for determining an interconnection topology between the switches of the network of [Fig.1] according to an embodiment of the invention; and [Fig.3] represents an example of a device structure allowing the implementation of the steps of the estimation method of [Fig.2] according to an embodiment of the invention. Detailed description of embodiments of the invention The general principle of the invention is based on the estimation, for the determination of an effective path for data communication between a given leaf switch and a root switch of a communications network, of a metric associated with each candidate path between the switches in question. According to the proposed technique, such a metric is a function of the ratios between the effective data rate requirements transiting through the candidate path and the transport capacities of the connections of the candidate path. The effective path is determined as being the candidate path with the extreme metric, i.e. for which the effective data rate to be carried has the least impact on its capacity for transporting such data. Such an approach makes it possible to obtain an interconnection topology optimized in view of the data actually transiting within the network, i.e. in view of the effective use that will be made of the network. We now present, in relation to [Fig. 1], a communications network 100 comprising a plurality of switches 110, 110r, 110f (eg a gateway, a router or equivalent equipment) according to an embodiment of the invention. More particularly, the plurality of switches 110, 110r, 110f comprises several leaf switches 110f. However, in other embodiments, the network comprises a single leaf switch 110f. Returning to [Fig.1], a 110f leaf switch is a switch to which one (or more) user equipment is connected. Such user equipment (e.g. example a computer, a smartphone, a tablet or equivalent equipment) accesses, via the leaf switch 110f in question, a service eg hosted by a remote server also connected to the network 100. For example, the remote server is connected to the network 100 via the root switch 110r. The root switch 110r is for example a gateway type switch connected to the internet. The root switch 110r is for example elected as such by the network administrator as described below and in relation to [Fig.2]. Returning to [Fig. 1], the switches 110, 110r, 110f are here each associated with a different identifier. According to the present embodiment, the identifiers are integers. More particularly, the first-rank switches (e.g. the switches closest to the core network) are associated with identifiers 1 and 2. The second-rank switches (e.g. the switches directly connected to the first-rank switches) are associated with identifiers 21, 22 and 23. The third-rank switches (e.g. the switches directly connected to the second-rank switches) are associated with identifiers 31, 32, 33 and 34. Such identifiers make it possible to define an order relationship and thus to separate the switches 110, 110r, 110f in the event of equivalent bandwidth requirements as described below in relation to [Fig. 2]. In other embodiments, the identifiers of the switches 110, 110r, 110f more generally belong to an ordered set of identifiers (e.g. letters of the alphabet) so that an order relationship can be defined. In other embodiments, the switches 110, 110r, 110f are not each associated with such a different identifier. In this case, the switches 110, 110r, 110f cannot be separated on the basis of such an identifier. Returning to [Fig. 1], the network 100 comprises a set of connections 120 for data communication between the switches 110, 110r, 110f, each connection 120 having a determined transport capacity. For the sake of clarity, the different connections 120 are here identified by a corresponding identifier: L10, L21, L22, L31, L32, L41, L42, L43, L44, L51. As a non-limiting illustrative example, [Tab. 1] below gives the transport capacity (in standardized units representative of a quantity of data per unit of time) associated with each of the connections 120 of the network 100. Such values ​​will be used as an example to illustrate the implementation of certain steps of the determination method described below in relation to [Fig. 2]. [Tab.1] Connections | 120 transport capacity (identifier) ​​|(normalized) L10 10 |La1 25 L31 10 & qe ja |La2 # [5 [L51 [lo Returning to [Fig. 1], based on the existing connections 120 in the network 100, several candidate paths are most of the time possible for data communication between a given leaf switch 110f and the root switch 110r. For example, two candidate paths 150a, 150b exist between the leaf switch 110f with identifier 22 and the root switch 110r. More particularly, the first candidate path 150a passes through the switch 110 with identifier 21 and the second candidate path 150b passes through the switches 110 with identifiers 23 and 2. The determination method described below in relation to [Fig. 2] thus makes it possible to determine the actual path to be used from among the two candidate paths 150a, 150b. Such a method is implemented by the device 300 described further below in relation to [Fig. 3]. Device 300 is here implemented in the root 110r switch.In other embodiments, the device 300 is implemented in another switch 110, 110f of the network 110. In other embodiments, the device 300 is implemented in a remote equipment connected to a switch 110, 110r, 110f of the network 100. We now present, in relation to [Fig. 2], the steps of a method for determining an interconnection topology between switches of the network 100 according to an embodiment of the invention. During a step E200, the device 300 implements an initialization phase comprising, during a step E200a, an election of the root switch 110r from among the switches 110, 110r, 110f of the network 100. Such an election is made for example via a method known in itself, e.g. on the basis of the MAC address (for “Media Access Control” in English) and a priority number configurable by the administrator of the network 100. Alternatively, The network administrator elects the root switch 110r as the switch 110, 110r, 110f closest to the core network to which the network 100 is connected. This allows the root switch 110r to be the switch through which data exchanged between the leaf switches 110f and the core network passes. In other embodiments, step E200a is not implemented, and the root switch 110r is predetermined in the network 100. Returning to [Fig.2], the initialization phase comprises the initialization of the specific data rate requirement associated with the leaf switches 110f. Such a specific data rate requirement associated with a leaf switch 110f corresponds, for example, to the total data rate that the leaf switch 110f in question must provide to the various user equipment connected to it. For example, during a step E200b, the device 300 collects the data rate requirements of the leaf switches 110f. To do this, the device 300 sends, for example, a request to the various switches in order to obtain the respective requirements of the various leaf switches 110f. In response to the request, the leaf switches 110f send a message comprising information representative of their specific data rate requirement. In other embodiments, step E200b is not implemented, and the specific needs of the leaf switches 110f are estimated, e.g. from average uses previously observed in the network 100. As a non-limiting illustrative example, [Tab.2] below gives an example of specific requirements (in the same standardized unit as the data of [Tab.1] above) of the leaf switches 1 1Of of the network 100. Such values ​​will be used as an example to illustrate the implementation of certain steps of the determination method described below. [Tab.2] Switch |Need own in 110f sheet data rate (identifier) ​​(normalized) 22 5 31 7 32 [12 33 10 34 40 Returning to [Fig.2], the initialization phase further includes initializing the data rate requirement passing through the switches 110, 110f, 110r of the plurality of switches. For example, during a step E200c, the device 300 initializes the data rate requirement passing through the switches 110, 110f, 110r of the plurality of switches to a default value. Such a default value is used for the implementation of the step E210 of determining the effective paths described below. For example, the default value is assigned by the administrator of the network 100. Such a default value corresponds eg to a minimum data throughput requirement within the network 100 in the absence of taking into account the additional requirements linked to the specific requirements of the leaf switches 100f. For example, if no data throughput is envisaged in the network 100 in the absence of the data necessary to supply the leaf switches 110f, the device 300 initializes the data throughput requirement passing through the switches 110, 110f, 110r of the plurality of switches to a zero value. In other embodiments, all or part of step E200 is not implemented. Indeed, as detailed below, step E210 can be implemented iteratively. Step E210 can also be implemented when the topology has been previously established, but a failure of a connection 120 requires a new implementation of the method. In this case, values ​​previously obtained for the data rate requirement passing through the switches 110, 110f, 110r of the network 100 or for the data rate requirements of the leaf switches 110f can be used. The same applies to the election of the root switch 110r. Step E200 may therefore not be implemented. Returning to [Fig.2], during a step E210, the device 300 implements, for at least one given leaf switch 100f, a determination of an effective path for data communication between the given leaf switch 100f and the root switch 100r. More particularly, the determination of the effective path comprises a step E210a of determining at least one candidate path for data communication between the given leaf switch 100f and the root switch 110r. Such a candidate path comprises at least one section comprising a connection 120 between a first switch and a second switch. As a non-limiting illustrative example, the implementation of step E210 applied to the switch 100! leaf of identifier 22 is considered here. As indicated above in relation to [Fig. 1], two candidate paths 150a, 150b exist between the switch 110f leaf of identifier 22 and the root switch 110r. The first candidate path 150a passes through the switch 110 of identifier 21 and the second candidate path 150b passes through the switches 110 of identifier 23 and 2. Furthermore, path 150a includes: - a first section between the switch 100f identifier sheet 22 and the switch 110 identifier 21; and - a second section between switch 110 with identifier 21 and the root switch 110r. Route 150b includes: - a first section between the switch 100f identifier sheet 22 and the switch 110 identifier 23; - a second section between the switch 110 of identifier 23 and the switch 110 of identifier 2; and - a third section between switch 110 with identifier 2 and the root switch 110r. In this way, during the implementation of step E210a, the two candidate paths 150a, 150b are thus determined. Returning to [Fig.2], for each candidate path, during a step E210b a metric associated with the candidate path considered is calculated. Such a metric is a function of at least one quantity representative of a ratio, determined for a corresponding section of the candidate path considered, between an effective need for data throughput passing through the section in question and a transport capacity of the connection of the section in question. Here, by quantity representative of a ratio, we mean that the metric is a function of any quantity that can ultimately be expressed from the ratio initially described above. For example, the inverse ratio, i.e. the ratio between the transport capacity of the connection of the section considered and the actual need for data throughput passing through the section considered, can be expressed as the inverse of the ratio initially described. The metric can thus be calculated in practice from the inverse ratio, this quantity remaining representative of the ratio initially described. The same is true when the metric is calculated from a difference between the quantities in question, e.g. when the quantities are expressed in logarithmic units. In this case again, the metric can be calculated in practice from such a difference, this quantity remaining representative of the ratio initially described. Returning to [Fig.2], the actual data throughput requirement for a given section is expressed as a weighted sum between, on the one hand, an already known data throughput requirement for the first switch in the section and, on the other hand, a specific data throughput requirement associated with the given leaf 110f switch from which the candidate path considered departs. For example, the already known data rate requirement passing through the first switch in the section corresponds to the initialized value described above in relation to step E210, eg during a first implementation of step E210. Alternatively, the already known requirement for data throughput passing through the first switch of the section may correspond to a value determined, where appropriate, during a previous iteration of step E210 as described below in the context of an iterative implementation of step E210 for different leaf switches 110f of the network 100. Furthermore, the specific data rate requirement associated with the given leaf switch 110f corresponds to the requirement as described above in relation to step E200b. In the present embodiment, the sum is weighted between, on the one hand, the already known need for data throughput passing through the first switch of the section and, on the other hand, the need for specific data throughput associated with the given leaf switch. Such a weighting allows a prioritization of the needs of the different switches, e.g. as decided by the network administrator. In other embodiments, no weighting is applied, which is equivalent to applying a unit weighting coefficient to each term of the sum. In some embodiments, the metric associated with a given candidate path is a function of a weighted sum of the quantities representative of the ratios as defined above and determined for each segment of a plurality of segments of the candidate path considered. Such weighting also allows prioritization of the needs of the different switches 110, 110r, 110f of the network 100, but also prioritization of certain sections of the candidate path considered. However, in certain embodiments, no weighting is applied, which is equivalent to applying a unit weighting coefficient to each term of the sum. In some embodiments, the metric is a function of the ratios determined for all the segments that constitute the candidate path considered. In other embodiments, only the ratios determined for certain segments of the path in question are taken into account. For example, when the leaf switch 110f considered is connected by a single connection 120 to the rest of the network 100, all the candidate paths include the corresponding segment. In this way, it is not necessary to take this segment into account because this would simply lead to the same additional term in the different metrics associated with each candidate path. The computational load associated with the method is thus reduced. In some embodiments, a leg is defined such that the first switch of the leg is the switch closest to the leaf switch 110f along the candidate path, with the second switch being closest to the root switch 110r along the candidate path. In other embodiments, lization, the first switch in the hop is the switch closest to the root switch 110r along the candidate path, the second switch being the switch closest to the leaf switch 110f along the candidate path. Returning to [Fig.2], once the metric has been calculated for each candidate path considered, the effective path is determined as being the candidate path with the extreme metric among the different metrics associated with the different candidate paths. For example, the effective path is determined as being the candidate path with the minimum metric when the quantities on which the metric is a function are directly the ratios between the effective need for data throughput passing through each section considered and the transport capacity of the connection of the section considered (and not the inverse or other ratios as discussed above in relation to step E210b). The effective path thus corresponds to the candidate path for which the effective data throughput to be carried has the least impact on its own capacity at the time of determining the effective path in question. Such an approach makes it possible to obtain an interconnection topology optimized in view of the data actually passing within the network. To illustrate step E210, we now consider the implementation of step E210 applied to the switch 100f identifier sheet 22. To do this, we consider here that the implementation in question corresponds to a first implementation of step E210 after the initialization phase described above. In this way, we assume that the data rate requirement passing through the switches 110, 110f, 110r of the plurality of switches is equal to the default value initialized during the implementation of step E200c. We also consider for simplicity that the default value in question is zero. In this way, the effective data throughput requirement passing through each section of the path 150a is reduced to a specific data throughput requirement associated with the switch 100f identifier sheet 22, i.e. to the normalized value 5 if we refer to [Tab.2] above. We also consider that the transport capacities of the connections with identifiers L31 and L21 are given in [Tab.1] above. In this way, considering that the metric implemented corresponds directly to the ratio between the actual need for data flow passing through the section considered and the transport capacity of the connection of the section considered, we obtain the following ratios for the sections of path 150a: - first section between switch 100f sheet identifier 22 and switch 110 identifier 21: 5 / 10; - second section between switch 110 with identifier 21 and switch 110r root: 5 / 25. Considering for simplicity that there is no weighting between the different sections of path 150a, we obtain a metric for the complete path 150a equal to 5 / 10 + 5 / 25 = 7 / 10. Under the same assumptions, we obtain the following ratios for the sections of path 150b: - first section between switch 100f identifier sheet 22 and switch 110 identifier 23: 5 / 10; - second section between switch 110 with identifier 23 and switch 110 with identifier 2: 5 / 25; and - third section between switch 110 with identifier 2 and switch 110r root: 5 / 10. Considering again for simplicity that there is no weighting between the different sections of the 150b path, we obtain a metric for the complete 150b path equal to 5 / 10 + 5 / 25 + 5 / 10 = 12 / 10. In this way, the effective path for data communication between the leaf switch 110f and the root switch 110r is determined to be the candidate path with the lowest metric, i.e., path 150a. Path 150a is effectively the candidate path for which the data rate to be carried to supply the leaf switch 110f with identifier 22 has the least impact in view of its capacity at the time of determining the effective path. Returning to [Fig. 2], once the effective path has been determined for a given leaf switch 100f, an update of the data throughput requirement passing through each switch along the effective path in question is carried out. More particularly, the data throughput requirement in question is increased by the specific data throughput requirement associated with the given leaf switch 100f. Such an update allows, for example, a subsequent implementation of the method, in particular step E210, applied to the determination of an effective path for the communication of data between another leaf switch 110f and the root switch 110r. Thus, the data rate passing through a switch 110, 110f, 110r of the network 100 evolves as the interconnection topology is constructed so as to correctly reflect the actual rate passing through the switch 110, 110f, 110r in question in view of the topology already determined. In some embodiments, step E210 is implemented iteratively for each leaf switch 110f of a plurality of leaf switches 110f. In other embodiments, step E210 is not implemented again, eg when an effective path has been determined for all the leaf switches 110f. In this case, the updating of the data rate requirement passing through each switch along the effective path which has just been determined is not necessarily carried out. In some embodiments, step E210 is implemented iteratively for each leaf switch 110f of a plurality of leaf switches 110f. A current iteration is applied to a leaf switch 110f of maximum data rate requirement among the leaf switch(es) 110f of the plurality that has not yet been iterated upon. In this way, the data paths corresponding to the greatest throughput requirements are determined as a priority. The data paths in question are thus determined by taking full advantage of the transport capacities of the network connections. In certain embodiments in which the switches 110, 110f, 110r are each further associated with a different identifier belonging to an ordered set of identifiers (here integers), when at least two leaf switches 110f of the network 100 have the same maximum data rate requirement among the leaf switches 110f that have not yet been iterated upon, the current iteration of step E210 is applied to the switch associated with the smallest identifier, in the sense of the order relationship of the ordered set, among the at least two leaf switches. In other embodiments, the switches are not each associated with such an identifier. In this case, the switches cannot be separated on the basis of such an identifier during the implementation of step E210. In other embodiments, step E210 is not implemented iteratively. For example, when the topology of the network 100 is already fixed, the method can be implemented for a single iteration, e.g. following a failure on a link of a data path serving a given leaf switch 1 LOf. Once the interconnection topology of the network 100 has been determined by implementing the method of [Fig. 2], the device 300 can also configure the network 100 according to the configuration thus determined. For example, the device 300 sends messages to the various switches 110, 110f, 110r in order to block the unused ports in the configuration in question. Alternatively, the device 300 provides the topology determined by implementing the method of [Fig. 2] to a third-party device so that the third-party device itself implements the topology by configuring the various switches 110, 110f, 110r of the network 100. We now present, in relation to [Fig. 3], an example of the structure of the device 300 making it possible to implement certain steps of the determination method of [Fig. 2] according to an embodiment of the invention. The device 300 comprises a random access memory 303 (for example a RAM memory), a processing unit 302 equipped for example with a processor, and controlled by a computer program stored in a read-only memory 301 (for example a ROM memory or a hard disk). During initialization, the code instructions of the computer program are for example loaded into the RAM 303 before being executed by the processor of the processing unit 302. This [Fig. 3] illustrates only one particular way, among several possible ones, of producing the device 300 so that it performs certain steps of the determination method according to the invention (according to any one of the embodiments and / or variants described above in relation to [Fig. 2]). Indeed, these steps can be performed indifferently on a reprogrammable computing machine (a PC computer, a DSP processor or a microcontroller) executing a program comprising a sequence of instructions, or on a dedicated computing machine (for example a set of logic gates such as an FPGA or an ASIC, or any other hardware module). In the case where the device 300 is produced with a reprogrammable computing machine, the corresponding program (i.e. the sequence of instructions) may be stored in a removable storage medium (such as for example a CD-ROM, a DVD-ROM, a USB key) or not, this storage medium being partially or totally readable by a computer or a processor. In some embodiments, the device 300 is included in a switch 110 of the network 100. In some embodiments, the device 300 is included in the root switch 110r. In some embodiments, the device 300 is included in a 110f leaf switch.

Claims

Claims

1. Method for determining an interconnection topology between com- mutators (110, 110r, 110f) of a communications network comprising a plurality of switches, including at least one switch (110f) leaf and a switch (110r) root, as well as a set of connections for data communication between switches, characterized in that an electronic device (300) performs, for at least minus a given leaf switch, a determination (E210) of a effective path for data communication between said com- given leaf mutator and the root switch, determining the effective path including: - a determination (E210a) of at least one candidate path for the data communication between the given leaf switch and the root switch, the candidate path including at least one section comprising a connection between a first switch and a second switch; and - for each candidate path, a calculation (E210b) of a metric function of at least one quantity representative of a ratio, determined for a corresponding section of the candidate path, between a need effective data rate passing through the section and a capacity of transport of the section connection, said effective path for data communication between said com- given leaf mutator and the root switch being determined as being the candidate path of extremal metric among said at least one candidate path, in which said effective need for data flow passing through the section is expressed as a weighted sum between, on the one hand, a already known need in data flow passing through the first com- mutator of said section and, on the other hand, a need for data flow own associated with the given leaf switch.

2. A method according to claim !, wherein said metric is function of a weighted sum of the quantities representative of the reports, determined for each section of a plurality of sections of the candidate path, between the data rate requirement passing through the section and the carrying capacity of the section connection.

3. A method according to any one of claims 1 or 2, wherein said first switch is the switch closest to said com- given leaf mutator along said candidate path, said second switch being closest to said root switch along of said candidate path.

4. A method according to any one of claims 1 to 3, comprising, when said effective path for data communication between said given leaf switch and the root switch is determined, an update of the data flow requirement passing through each switch along said effective path by increasing it by the need for own data rate associated with the given leaf switch, said update allowing for subsequent implementation of said determination mination of an effective path applied to the determination of a path effective for data communication between another switch given leaf and root switch.

5. A method according to claim 4, said determining a path effective being implemented iteratively for each switch sheet of a plurality of sheet switches, a current iteration being applied to a leaf switch of maximum data rate requirement among the leaf switch(es) of said plurality not yet iterated.

6. The method of claim 5, wherein the switches are in in addition each associated with a different identifier belonging to a ordered set of identifiers, wherein when at least two leaf switches of said plurality have the same maximum data rate requirement among the leaf switch(es) of said plurality not having yet made the object of an iteration, the current iteration is applied to the switch associated with the smallest identifier among the at least two com- leaf mutators.

7. A method according to any one of claims 1 to 6, comprising a preliminary initialization phase (E200) of the flow rate requirement of own data associated with said at least one leaf switch and the data throughput requirement passing through the switches of the plurality of switches.

8. The method of claim 7, wherein the prior step initialization includes a collection (E200b) of the flow rate requirement of data of said at least one leaf switch.

9. A method according to claim 7 or 8, wherein the preliminary phase initialization includes an initialization (E200c) of the flow requirement of data passing through the switches of the plurality of com- mutators to a default value.

10. A method according to any one of claims 7 to 9, wherein the preliminary initialization phase also includes an election (E200a) said root switch among the switches of the plurality of switches.

11. A method according to any one of claims 7 to 10, wherein said electronic device is implemented in said switch root.

12. Computer program product comprising code instructions program for implementing the method according to any of claims 1 to 11, when said program is executed on a computer.

13. Electronic device (300) for determining a topology interconnection between switches (110, 110r, 110f) of a network of communications comprising a plurality of switches, including at minus one (110f) leaf switch and one (110r) root switch, as well as a set of connections for data communication between the switches, characterized in that it comprises a reproducible computing machine grammable (302) or a dedicated computing machine contiguous for carry out, for at least one given leaf switch, a deter- establishment of an effective path for data communication between said given leaf switch and the root switch, the deter- mination of the effective path including: - a determination of at least one candidate path for the commu- data communication between the given leaf switch and the com- root mutator, the candidate path comprising at least one segment comprising a connection between a first switch and a second switch; and - for each candidate path, a calculation of a metric function of at least less a quantity representative of a ratio, determined for a corresponding section of the candidate path, between an actual need in data rate passing through the section and a transport capacity of the connection of the section, said effective path for data communication between said com- given leaf mutator and the root switch being determined as being the candidate path of extremal metric among said at least one candidate path, in which said effective need for data flow passing through the section is expressed as a weighted sum between, on the one hand, a already known need in data flow passing through the first com- mutator of said section and, on the other hand, a need for data flow own associated with the given leaf switch.

14. Switch (110, 110r, 110f) of a communication network ca- characterized in that it comprises a device according to claim 14.