CN111181792B - SDN controller deployment method and device based on network topology and electronic equipment - Google Patents

SDN controller deployment method and device based on network topology and electronic equipment Download PDF

Info

Publication number
CN111181792B
CN111181792B CN201911420654.9A CN201911420654A CN111181792B CN 111181792 B CN111181792 B CN 111181792B CN 201911420654 A CN201911420654 A CN 201911420654A CN 111181792 B CN111181792 B CN 111181792B
Authority
CN
China
Prior art keywords
link
subgraphs
undirected graph
subgraph
weighted undirected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911420654.9A
Other languages
Chinese (zh)
Other versions
CN111181792A (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.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology 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 China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201911420654.9A priority Critical patent/CN111181792B/en
Publication of CN111181792A publication Critical patent/CN111181792A/en
Application granted granted Critical
Publication of CN111181792B publication Critical patent/CN111181792B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention relates to the technical field of networks, and discloses a method and a device for deploying an SDN controller based on network topology and electronic equipment. The SDN network topology is modeled to be a weighted undirected graph, the weight of each edge in the weighted undirected graph is the link weight of a corresponding link, and the higher the link weight is, the worse the data transmission capability of the corresponding link is; dividing the weighted undirected graph into a plurality of subgraphs according to a minimum cutting edge principle; and determining each subgraph as a control domain, wherein the central position of the subgraph is the deployment position of the controller, and the shortest distance sum of the element in the central position to other elements in the subgraph is the smallest. The method and the device can be suitable for multi-controller position deployment algorithms with various network scales, and the problem of controller position deployment is solved systematically.

Description

SDN controller deployment method and device based on network topology and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of networks, in particular to a method and a device for deploying an SDN controller based on network topology and electronic equipment.
Background
Software-Defined Networking (SDN) originated from the Ethane project developed by the Clean Slate project group of stanford university, usa. The SDN realizes the logic centralized control of the network data forwarding device by separating the control plane and the data plane. The distributed SDN network is composed of a plurality of controllers and data forwarding devices (such as openflow switches), the controllers respectively manage the data forwarding devices in respective control domains, forwarding strategies of bottom layer data forwarding devices are formulated and issued by upper layer controllers, deployment positions of the controllers and topological association relations between the switches and the controllers directly affect the performance of the whole SDN network, and how to reasonably and effectively deploy the controllers becomes one of current important research contents of the SDN.
With respect to the SDN controller deployment method, currently, the controller deployment location is mainly determined by targeting communication costs such as link delay, link bandwidth, and link load between the SDN controller and the data forwarding device. In related patents, an SDN network multi-controller deployment method that guarantees minimal latency is disclosed. The method comprises the steps of firstly analyzing network time delay and a topological structure, calculating the time delay from each switch to the rest of all switches, then randomly selecting one switch as an initial controller deployment point, updating the deployment position to a new switch according to a K-medoids algorithm, and ensuring the time delay to the rest of all switches to be minimum; selecting the switch with the maximum time delay from the controller deployment point in the whole network as another new controller deployment point, redistributing the switches in the whole network according to the time delay, and then updating each controller deployment point through a K-medoids algorithm; the above process is repeated until there are K controller deployment points.
In the related technology, a time delay and structure of a network topology are analyzed, time delay between each switch and degree of each node in the network are calculated, the number of switches which can be deployed by each controller is determined, then a node which meets conditions is selected as a deployment position of the controller according to a custom algorithm, all switches in a management area are determined, and the minimum average time delay size and the worst case minimum time delay size are obtained according to a minimum average time delay model and a worst case minimum time delay model; calculating the residual nodes meeting the conditions by the same method to be used as the deployment position of another controller to obtain the minimum average time delay and the minimum time delay under the worst condition; the above process is repeated until the controller position is deployed.
However, the inventors of the present application have found that the following disadvantages exist in the above two schemes, respectively.
The first disadvantage of the scheme is that:
only the time delay between the switch and the controller is considered as network performance optimization, and the optimization target is single; the K-medoids algorithm used in the scheme has high complexity and is only suitable for a small-scale network, and the small-scale network is a low-delay network (compared with a medium-scale network and a large-scale network under the same condition); in the K-medoids algorithm used in the scheme, the number of controllers (K values mentioned in the algorithm) must be given in advance, and the algorithm is only applicable to a spherical network and is poor in applicability.
The second scheme has the following defects:
similar to the defect of the first scheme, the second scheme only considers the time delay between the switch and the controller as the network performance optimization, and the optimization target is single. The scheme is based on a greedy algorithm, and selects controller positions based on the degrees of the nodes as quality criteria. The greedy algorithm needs to traverse all possible combinations of solution spaces, and has low algorithm efficiency, high time complexity and inapplicability to medium-scale and large-scale networks.
Disclosure of Invention
The embodiment of the invention aims to provide a network topology-based SDN controller deployment scheme which can be suitable for multi-controller position deployment algorithms of various network scales and can solve the problem of controller position deployment systematically.
The embodiment of the invention provides a SDN controller deployment method based on network topology, which comprises the following steps:
modeling an SDN network topology as a weighted undirected graph, wherein the weight of each edge in the weighted undirected graph is the link weight of a corresponding link, and the higher the link weight is, the worse the data transmission capability of the corresponding link is;
dividing the weighted undirected graph into a plurality of subgraphs according to a minimum cutting edge principle;
and determining each subgraph as a control domain, wherein the central position of each subgraph is the deployment position of the controller, and the shortest distance sum of the element of the central position to other elements in the subgraph is the smallest.
The embodiment of the present invention further provides a device for deploying an SDN controller based on a network topology, including:
the mapping module is used for modeling an SDN network topology as a weighted undirected graph, wherein the weight of each edge in the weighted undirected graph is the link weight of a corresponding link, and the higher the link weight is, the worse the data transmission capacity of the corresponding link is;
the dividing module is used for dividing the weighted undirected graph into a plurality of subgraphs according to a minimum cutting edge principle;
and the determining module is used for determining each subgraph as a control domain, the central position of the subgraph is the deployment position of the controller, and the shortest distance sum from the element of the central position to other elements in the subgraph is the smallest.
An embodiment of the present invention also provides an electronic device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a network topology based SDN controller deployment method as described above.
Embodiments of the present invention further provide a computer-readable storage medium storing a computer program, which when executed by a processor, implements the SDN controller deployment method based on network topology as described above.
Compared with the prior art, the method and the device have the advantages that the SDN network topology is modeled into the weighted undirected graph, the weight of each edge in the weighted undirected graph is the link weight of the corresponding link, and the higher the link weight is, the poorer the data transmission capability of the corresponding link is; dividing the weighted undirected graph into a plurality of subgraphs according to a minimum cutting edge principle; and determining each subgraph as a control domain, wherein the central position of each subgraph is the deployment position of the controller, and the shortest distance and the smallest sum of the elements in the central position to other elements in the subgraph are determined. The scheme divides the subgraphs based on the rule of minimum cut edge for the weighted undirected graph, is not limited by the scale of the graph, can be suitable for the multi-controller position deployment algorithm with various network scales, and can effectively ensure the data transmission performance between the subgraphs due to the minimum cut edge value between the subgraphs, thereby more systematically solving the problem of controller position deployment.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings which correspond to and are not to be construed as limiting the embodiments, in which elements having the same reference numeral designations represent like elements throughout, and in which the drawings are not to be construed as limiting in scale unless otherwise specified.
Fig. 1 is a flowchart of a SDN controller deployment method based on a network topology according to a first embodiment of the present invention;
figure 2 is a diagram of an SDN network topology according to a first embodiment of the present invention;
figure 3 is a schematic diagram of a SDN controller deployment device architecture based on a network topology according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to a network topology-based SDN controller deployment method, as shown in fig. 1, the method includes:
s101: modeling an SDN network topology as a weighted undirected graph, wherein the weight of each edge in the weighted undirected graph is the link weight of a corresponding link, and the higher the link weight is, the worse the data transmission capability of the corresponding link is;
as shown in fig. 2, in a typical SDN network topology diagram, when the SDN network topology diagram is modeled as a weighted undirected graph, each switch may be used as an element, a link between two switches having a direct connection relationship is used as an edge, and a weight of each edge is a link weight of a corresponding link, where the higher the link weight is, the worse the data transmission capability of the corresponding link is.
In particular, when evaluating the data transmission capability of each link in the SDN network topology, the evaluation may be performed through a plurality of transmission metrics. For example, shown in this scheme: and calculating the link weight of each link in the SDN network topology according to at least one index of link bandwidth, link delay, link load and link packet loss.
For example, assume that an SDN network has n switches, and the ith switch in the network is denoted as V i 1 ≦ i ≦ n, and the set of all switches is denoted V = { V = 1 ,V 2 ,...,V n }; in the network V i And V j The inter-link is denoted as E ij The link weight (link bandwidth, link delay, link load, link packet loss) is denoted c ij 1 ≦ i, j ≦ n, and the set of all links denoted E = { E ≦ n ij }. Introduction of a switch link connection identifier alpha for characterizing network connection relations between switches in a network ij ,α ij Denotes V i And V j Inter link connection identifier, if V i And V j Inter-route link E ij Are directly connected to each other, then alpha ij =1, otherwise α ij =0。
When modeling the SDN network topology as an undirected graph G (V, E), elements in the graph G represent switches in the SDN network, edges in the graph G represent SDN network links, and an adjacency matrix of the graph G is represented as M (G) = (alpha) ij ) n×n The weight matrix is represented as C (G) = (C) ij ) n×n
S102: and dividing the weighted undirected graph into a plurality of subgraphs according to a cut edge minimum principle.
Specifically, the weighted undirected graph can be split according to the minimum edge-cutting principle, so that a plurality of subgraphs are formed. The specific division may be to divide a plurality of subgraphs at one time according to the order of the cut edge values from small to large, or to perform multiple iterative divisions to form a plurality of subgraphs.
For example, the partitioning can be iteratively performed by the following method steps:
step 1: confirming a minimum cut edge set of the weighted undirected graph by adopting a minimum cut Stoer-Wagner algorithm;
step 2: deleting the minimum cut edge set, and dividing the weighted undirected graph into two subgraphs;
and (3) taking the two subgraphs as the next weighted undirected graph to be divided, and repeatedly executing the step (1) and the step (2) until the weighted undirected graph is divided into subgraphs meeting the first preset number.
For example, the minimum cut edge set of the graph G is confirmed by adopting a minimum cut Stoer-Wagner algorithm, the minimum cut edge set is deleted, and the graph G is divided into subgraphs G 1 And subfigure G 2 (ii) a Then respectively confirming and deleting G 1 And G 2 Minimum cut edge set of G 1 Division into subgraphs G 3 And subfigure G 4 G is to be 2 Division into subgraphs G 5 And subfigure G 6 . The above process is repeated until G is divided into k subgraphs.
In addition, in the process of dividing the subsets, some subset divisions may be too scattered, and at this time, the divided subsets may be partially merged to reduce the number of subgraphs, thereby reducing the number of control domains and the number of deployed controllers.
For example, the relative interconnectivity and relative proximity between each two adjacent subgraphs in the weighted undirected graph may be computed after obtaining a first preset number of subgraphs. The similarity between two subgraphs is determined by the relative interconnectivity and relative proximity between the two adjacent subgraphs.
Wherein, the relative interconnection degree between two adjacent subgraphs is:
Figure BDA0002352295990000051
wherein, EC (G) i ,G j ) Representation subgraph G i And sub-graph G j Cut edge weight sum, EC (G) of cut edge set of i ) Representation subgraph G i The sum of the weights of all edges within.
The relative proximity between two adjacent subgraphs is:
Figure BDA0002352295990000052
wherein, | G i I represents subgraph G i Number of middle element, | G j I represents subgraph G j The number of the elements in the Chinese character.
Of course, those skilled in the art may also rely on EC (G) i ,G j )、EC(G i )、|G i Other formulas are constructed to express relative interconnectivity and relative proximity between two adjacent subgraphs.
And merging the partial adjacent subgraphs according to the relative interconnection degree and the relative proximity degree so as to reduce the number of the subgraphs to a second preset number.
For example, a subgraph similarity function of R (G) can be modeled i ,G j )=RI(G i ,G j )RC(G i ,G j ) μ Wherein RI (G) i ,G j ) Representation subgraph G i And sub-diagram G j Relative degree of interconnection between, RC (G) i ,G j ) Representation subgraph G i And sub-diagram G j Relative proximity of each other, μ represents a function adjustment factor.
A relative interconnectivity threshold TRI, a relative closeness TRC is set. Computation subgraph G i Similarity with adjacent joint graph, find G i Form the maximum similarity
Figure BDA0002352295990000053
In a sub-picture>
Figure BDA0002352295990000054
If/or>
Figure BDA0002352295990000055
Exceeding threshold TRI + TRC μ Then subgraph G will be i And sub-picture>
Figure BDA0002352295990000056
Are combined into a map>
Figure BDA0002352295990000057
S103: and determining each subgraph as a control domain, wherein the central position of each subgraph is the deployment position of the controller, and the shortest distance and the smallest sum of the elements in the central position to other elements in the subgraph are determined.
Specifically, the present embodiment is not limited to calculating the shortest distance between any two elements in the subgraph.
For example, dijstra's algorithm may be used to calculate the map
Figure BDA0002352295990000058
The shortest distance between any two elements in (a) is aimed at->
Figure BDA0002352295990000059
For each element, calculate the sum of the shortest distances from the element to all other elements (called "shortest distance sum" for short), and determine the element corresponding to the minimum value from the sum of the shortest distances as the chart->
Figure BDA00023522959900000510
The center position of (a). Thus far, the figure->
Figure BDA00023522959900000511
I.e. a control domain, the central location being the deployment location of the controller in the control domain, figure &>
Figure BDA00023522959900000512
The connection relationship of the edges is the association relationship between the controller and the switch.
Compared with the prior art, the embodiment of the invention takes the SDN network topology as the weighted undirected graph by modeling, the weight of each edge in the weighted undirected graph is the link weight of the corresponding link, and the higher the link weight is, the worse the data transmission capability of the corresponding link is; dividing the weighted undirected graph into a plurality of subgraphs according to a minimum cutting edge principle; and determining each subgraph as a control domain, wherein the central position of each subgraph is the deployment position of the controller, and the shortest distance and the smallest sum of the elements in the central position to other elements in the subgraph are determined. The method and the device can be suitable for multi-controller position deployment algorithms with various network scales, and the problem of controller position deployment is solved systematically. According to the scheme, the subgraphs are divided based on the weighted undirected graph by adopting the minimum edge cutting principle, the method is not limited by the scale of the graph, and can be suitable for multi-controller position deployment algorithms with various network scales.
In addition, the link weight can be optimized in a multi-dimensional mode by taking link bandwidth, link time delay, link load, link packet loss and the like as optimization targets, the performance of the network in the control domain and the performance of the network between the control domains are considered on the basis of network topology, and the overall performance of the network is better. And the number of the first and second electrodes,
in addition, compared with the prior scheme I, the number of the controllers does not need to be given in advance; compared with the existing scheme II, the time complexity of the scheme is lower.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A second embodiment of the present invention relates to an SDN controller deployment apparatus based on a network topology, as shown in fig. 3, including:
the mapping module 310 is configured to model an SDN network topology as a weighted undirected graph, where a weight of each edge in the weighted undirected graph is a link weight of a corresponding link, and a higher link weight results in poorer data transmission capability of the corresponding link;
a dividing module 320, configured to divide the weighted undirected graph into multiple subgraphs according to a rule of minimum cut edge;
the determining module 330 is configured to determine each sub-graph as a control domain, where a central position of the sub-graph is a deployment position of the controller, and a shortest distance sum of an element in the central position to other elements in the sub-graph is smallest.
Further, the mapping module 310 may be further configured to calculate a link weight of each link in the SDN network topology according to at least one of the indexes of link bandwidth, link delay, link load, and link packet loss.
Further, the dividing module 320 may be configured to perform:
step 1: confirming a minimum cut edge set of the weighted undirected graph by adopting a minimum cut Stoer-Wagner algorithm;
and 2, step: deleting the minimum cut edge set, and dividing the weighted undirected graph into two subgraphs;
and (3) taking the two subgraphs as the next weighted undirected graph to be divided respectively, and repeatedly executing the step (1) and the step (2) until the weighted undirected graph is divided into the subgraphs meeting the first preset number.
Further, the partitioning module 320 may be further configured to calculate a relative interconnection degree and a relative proximity degree between every two adjacent subgraphs in the weighted undirected graph after obtaining the first preset number of subgraphs;
and merging the partial adjacent subgraphs according to the relative interconnection degree and the relative proximity degree so as to reduce the number of the subgraphs to a second preset number.
Further, the relative interconnection degree between the two adjacent subgraphs is as follows:
Figure BDA0002352295990000071
wherein, EC (G) i ,G j ) Representation subgraph G i And sub-diagram G j Cut edge weight sum, EC (G) of cut edge set of i ) Representation subgraph G i The sum of the weights of all edges within.
Further, the relative proximity between the two adjacent subgraphs is:
Figure BDA0002352295990000072
wherein, | G i I denotes subgraph G i Number of middle elements, | G j I represents subgraph G j The number of the elements in the Chinese character 'Zhongqin'.
Further, the determining module 330 may be configured to calculate a shortest distance between any two elements in the sub-graph by using Dijstra algorithm, and use an element of the shortest distance to another element and the minimum value as the center position of the sub-graph.
A third embodiment of the invention is directed to an electronic device, as shown in FIG. 4, comprising at least one processor 402; and a memory 401 communicatively coupled to the at least one processor 402; the memory 401 stores instructions executable by the at least one processor 402, and the instructions are executed by the at least one processor 402 to enable the at least one processor 402 to execute the SDN controller deployment method based on the network topology.
Where the memory 401 and the processor 402 are coupled by a bus, which may include any number of interconnected buses and bridges that couple one or more of the various circuits of the processor 402 and the memory 401 together. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 402 is transmitted over a wireless medium through an antenna, which further receives the data and transmits the data to the processor 402.
The processor 402 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 401 may be used to store data used by processor 402 in performing operations.
A fourth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes any of the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (8)

1. A SDN controller deployment method based on network topology is characterized by comprising the following steps:
modeling an SDN network topology as a weighted undirected graph, wherein the weight of each edge in the weighted undirected graph is the link weight of a corresponding link, the link weight of each link is calculated according to at least one index of link bandwidth, link delay, link load and link packet loss, and the higher the link weight is, the worse the data transmission capability of the corresponding link is;
dividing the weighted undirected graph into a plurality of subgraphs according to a minimum cutting edge principle;
determining each subgraph as a control domain, wherein the central position of each subgraph is the deployment position of a controller, and the shortest distance sum of the element of the central position to other elements in the subgraph is the smallest;
the dividing the weighted undirected graph into a plurality of subgraphs according to the minimum cutting edge principle comprises the following steps:
step 1: confirming a minimum cut edge set of the weighted undirected graph by adopting a minimum cut Stoer-Wagner algorithm;
step 2: deleting the minimum cut edge set, and dividing the weighted undirected graph into two subgraphs;
and (3) respectively taking the two subgraphs as a next weighted undirected graph to be divided, and repeatedly executing the step (1) and the step (2) until the weighted undirected graph is divided into subgraphs meeting a first preset number.
2. The method of claim 1, further comprising:
after the first preset number of subgraphs are obtained, calculating the relative interconnection degree and the relative proximity degree between every two adjacent subgraphs in the weighted undirected graph;
and merging the adjacent subgraphs of the part according to the relative interconnection degree and the relative proximity degree so as to reduce the number of the subgraphs to a second preset number.
3. The method of claim 2, wherein the relative degree of interconnection between the two adjacent subgraphs is:
Figure FDA0003907744940000011
wherein, EC (G) i ,G j ) Representation subgraph G i And sub-graph G j Cut edge weight sum, EC (G) of cut edge set of i ) Representation subgraph G i The sum of the weights of all edges within.
4. The method of claim 3, wherein the relative proximity between the two adjacent subgraphs is:
Figure FDA0003907744940000012
wherein, | G i I represents subgraph G i Number of middle elements, | G j I denotes subgraph G j The number of the elements in the Chinese character 'Zhongqin'.
5. The method of claim 3, wherein computing the center position of the subgraph comprises:
and calculating the shortest distance between any two elements in the subgraph by adopting a Dijstra algorithm, and taking the element with the shortest distance to other elements and the minimum value as the central position of the subgraph.
6. An SDN controller deployment apparatus based on a network topology, comprising:
the mapping module is used for modeling an SDN network topology as a weighted undirected graph, wherein the weight of each edge in the weighted undirected graph is the link weight of a corresponding link, the link weight of each link is calculated according to at least one index of link bandwidth, link delay, link load and link packet loss, and the higher the link weight is, the worse the data transmission capacity of the corresponding link is;
the dividing module is used for dividing the weighted undirected graph into a plurality of subgraphs according to a minimum cutting edge principle; the dividing the weighted undirected graph into a plurality of subgraphs according to the minimum cutting edge principle comprises the following steps: step 1: confirming a minimum cut edge set of the weighted undirected graph by adopting a minimum cut Stoer-Wagner algorithm; step 2: deleting the minimum cut edge set, and dividing the weighted undirected graph into two subgraphs; taking the two subgraphs as a next weighted undirected graph to be divided respectively, and repeatedly executing the step 1 and the step 2 until the weighted undirected graph is divided into subgraphs meeting a first preset number;
and the determining module is used for determining each subgraph as a control domain, the central position of each subgraph is the deployment position of the controller, and the shortest distance sum of the element of the central position to other elements in the subgraph is minimum.
7. An electronic device, comprising:
at least one processor; and (c) a second step of,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the network topology based SDN controller deployment method of any of claims 1-5.
8. A computer readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the network topology based SDN controller deployment method of any of claims 1 to 5.
CN201911420654.9A 2019-12-31 2019-12-31 SDN controller deployment method and device based on network topology and electronic equipment Active CN111181792B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911420654.9A CN111181792B (en) 2019-12-31 2019-12-31 SDN controller deployment method and device based on network topology and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911420654.9A CN111181792B (en) 2019-12-31 2019-12-31 SDN controller deployment method and device based on network topology and electronic equipment

Publications (2)

Publication Number Publication Date
CN111181792A CN111181792A (en) 2020-05-19
CN111181792B true CN111181792B (en) 2023-04-07

Family

ID=70657724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911420654.9A Active CN111181792B (en) 2019-12-31 2019-12-31 SDN controller deployment method and device based on network topology and electronic equipment

Country Status (1)

Country Link
CN (1) CN111181792B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112699134A (en) * 2021-03-25 2021-04-23 北京智源人工智能研究院 Distributed graph database storage and query method based on graph subdivision
CN113810225B (en) * 2021-09-03 2024-04-30 中科南京信息高铁研究院 In-band network telemetry detection path planning method and system of SDN (software defined network)
CN116055385A (en) * 2022-12-30 2023-05-02 中国联合网络通信集团有限公司 Routing method, management node, routing node and medium
CN116192725B (en) * 2023-04-23 2023-07-07 安徽中科晶格技术有限公司 Distributed SDN controller deployment method, system and equipment based on FPS algorithm

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717098A (en) * 2015-04-09 2015-06-17 北京邮电大学 Data processing method and device
CN108322525A (en) * 2018-01-23 2018-07-24 浙江工商大学 A kind of industry multi-core network establishing method
CN108401015A (en) * 2018-02-02 2018-08-14 广州大学 A kind of data center network method for routing based on deeply study
CN109921991A (en) * 2019-01-14 2019-06-21 湘潭大学 A kind of SDN controller portion arranging method based on Dinkelbach

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3008861B1 (en) * 2013-06-14 2017-12-06 Microsoft Technology Licensing, LLC Fault tolerant and load balanced routing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717098A (en) * 2015-04-09 2015-06-17 北京邮电大学 Data processing method and device
CN108322525A (en) * 2018-01-23 2018-07-24 浙江工商大学 A kind of industry multi-core network establishing method
CN108401015A (en) * 2018-02-02 2018-08-14 广州大学 A kind of data center network method for routing based on deeply study
CN109921991A (en) * 2019-01-14 2019-06-21 湘潭大学 A kind of SDN controller portion arranging method based on Dinkelbach

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
On Resilience of Split-Architecture Networks;Ying Zhang,Neda Beheshti,Mallik Tatipamula;《2011 IEEE Global Telecommunications Conference - GLOBECOM 2011》;20120119;全文 *
SDN网络中控制器放置问题综述;高先明等;《通信学报》;20170725(第07期);全文 *

Also Published As

Publication number Publication date
CN111181792A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN111181792B (en) SDN controller deployment method and device based on network topology and electronic equipment
CN112738820B (en) Dynamic deployment method and device of service function chain and computer equipment
US9680665B2 (en) Apparatus and method for dynamic hybrid routing in SDN networks to avoid congestion and balance loads under changing traffic load
US20030161338A1 (en) Network path selection based on bandwidth
CN109451540B (en) Resource allocation method and equipment for network slices
CN105515987B (en) A kind of mapping method based on SDN framework Virtual optical-fiber networks
CN108684046B (en) Random learning-based access network service function chain deployment method
US10404576B2 (en) Constrained shortest path determination in a network
CN109639575A (en) Route planning method based on link congestion coefficient
CN112543151B (en) SDN controller deployment method and device, electronic equipment and storage medium
CN108965141A (en) A kind of calculation method and device of Multi-path route tree
CN109362093B (en) Resource optimization method for maximizing total throughput of network function virtualization
CN111800352B (en) Service function chain deployment method and storage medium based on load balancing
CN102420797B (en) Topology mapping method and system
JP2011091751A (en) Candidate topology generating method using multi-agent system, topology generating method, topology generating system, and program
CN112055394B (en) Wireless sensor network clustering routing method and system for rapid inclusion elimination
US20160259813A1 (en) System and method for optimizing selection of a replication data node in a distributed file system
CN109889393B (en) Method and system for processing geographic distributed graph
CN116127661A (en) Path determination method, device, equipment and storage medium for terminal to access transformer substation
JP6533498B2 (en) Route selection device, route selection method and program
JP5595342B2 (en) Multiple path search method and apparatus
Rathod et al. Relay placement algorithms for IoT connectivity and coverage in an outdoor heterogeneous propagation environment
CN107623586B (en) Network link prediction method and device
JP2016009977A (en) Network control method and device
Zhang et al. Genetic algorithms for the QoS based multicast routing and wavelength allocation problem in WDM network

Legal Events

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