A network monitoring node deployment method and device

By performing evolutionary operations on the initial parent population, satisfying network flow constraints and selecting appropriate individuals, the problem of being unable to simultaneously optimize multiple targets in the existing technology is solved, and a more reasonable monitoring node deployment scheme is achieved.

CN116155747BActive Publication Date: 2024-10-01广州广哈通信股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310088351.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-06
Publication Date
2024-10-01
Estimated Expiration
2043-02-06

AI Technical Summary

Technical Problem

The existing technology cannot simultaneously optimize multiple nonlinear objectives during the selection and deployment process of monitoring nodes, resulting in the inability to obtain a more reasonable monitoring node deployment plan that comprehensively considers multiple optimization objectives.

Method used

By associating individuals in the initial parent population with different monitoring solutions one-to-one, multiple evolution operations are performed to ensure that the preset network flow constraints are met during each evolution operation, and new ones are selected based on the objective function value and constraint violation value. The initial parent population is obtained until it reaches the preset threshold, and the final parent population is obtained to deploy monitoring nodes.

Benefits of technology

It is realized that multiple optimization objectives in network flow constraints are considered in each evolution operation, making the final monitoring solution more reasonable after comprehensively considering multiple optimization objectives.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116155747B_ABST
    Figure CN116155747B_ABST
Patent Text Reader

Abstract

The present invention discloses a network monitoring node deployment method and device, the method comprising: obtaining nodes and network flows in a network, and obtaining an initial parent population including several individuals; performing an evolution operation on the initial parent population to obtain an evolved population; for each evolved individual in the evolved population, determining whether the evolved individual satisfies a preset network flow constraint condition; calculating a corresponding objective function value or constraint violation value according to the satisfaction condition; selecting several evolved individuals from the evolved population according to the objective function value and the constraint violation value to obtain a new initial parent population and re-executing the evolution operation until the number of executions of the evolution operation reaches a preset threshold, and using the final initial parent population as the final parent population; and deploying a monitoring scheme according to the individuals in the final parent population. The embodiment of the present invention can obtain a more reasonable monitoring scheme.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a network monitoring node deployment method and device. Background Art

[0002] In the prior art, when monitoring network flows in a network, different monitoring nodes are deployed in the network, and each monitoring node monitors part of the network flows in the network. In the process of selecting and deploying the monitoring nodes, a single-objective optimization problem is established or multiple mergeable linear objective optimization problems are added together to construct a monitoring node selection model. For example, in the maximum coverage problem under budget constraints, there is only the maximization optimization goal of network coverage, which is mapped to the maximum coverage problem with budget and solved using a greedy strategy; or, the problem of minimizing the sum of the two optimization goals of minimum deployment overhead and operation overhead is mapped to a site selection problem for solution.

[0003] It can be seen that in the prior art, in the process of selecting and deploying monitoring nodes, constructing a monitoring node selection model needs to consider a single-objective optimization problem, or add multiple linear objective optimization problems that can be combined before considering them. As a result, it is impossible to simultaneously optimize multiple objectives that cannot be linearly added in the network, and thus it is impossible to obtain a more reasonable monitoring node deployment plan that comprehensively considers multiple optimization objectives. Summary of the invention

[0004] In order to solve the above technical problems, an embodiment of the present invention proposes a network monitoring node deployment method and device, which associates different individuals in an initial parent population with different monitoring schemes one by one, then performs multiple evolution operations on the initial parent population to obtain a final parent population, and implements the deployment of monitoring nodes according to the monitoring scheme associated with the individuals in the final parent population, wherein each time an evolution operation is performed, it is necessary to determine whether each evolved individual meets the preset network flow constraints, so that the monitoring scheme finally implemented comprehensively considers multiple optimization objectives in the preset network flow constraints.

[0005] In order to achieve the above object, an embodiment of the present invention provides a network monitoring node deployment method, including:

[0006] Obtaining nodes and network flows in a network, and obtaining an initial parent population including a plurality of individuals; wherein each of the individuals determines a monitoring scheme, and the monitoring scheme includes selecting a plurality of monitoring nodes from the nodes and a first monitoring range of the network flow corresponding to each of the monitoring nodes;

[0007] Performing an evolution operation on the initial parent population to obtain an evolved population;

[0008] For each evolved individual in the evolved population, determining whether the evolved individual satisfies a preset network flow constraint condition;

[0009] If satisfied, the evolved individual is taken as a feasible individual, and the corresponding objective function value is calculated based on the feasible individual;

[0010] If not, the evolved individual is regarded as an infeasible individual, and the corresponding constraint violation value is calculated based on the infeasible individual;

[0011] According to the objective function value and the constraint violation value, a number of evolutionary individuals are selected from the evolutionary population to obtain a new initial parent population and the evolutionary operation is re-executed until the number of executions of the evolutionary operation reaches a preset threshold, and the final initial parent population is used as the final parent population;

[0012] A monitoring scheme is deployed based on the individuals in the final parent population.

[0013] Furthermore, performing an evolution operation on the initial parent population to obtain an evolved population includes: selecting two individuals from the initial parent population; wherein the individuals have a chromosome structure, and the chromosome structure includes multiple gene segments; performing an exchange operation on a number of gene segments of the two individuals that are in the same position on their respective chromosome structures to obtain two crossover individuals; performing a gene mutation operation on the two crossover individuals to obtain two mutant individuals; and adding the two mutant individuals to the initial parent population to obtain an evolved population.

[0014] Furthermore, the network flow constraint conditions include: data flow constraint conditions and signaling flow constraint conditions;

[0015] The data flow constraints are as follows:

[0016] G1(i, j) = x ij -y i ≤0, i∈N, j∈S i ; (1)

[0017]

[0018]

[0019] Among them, i is the evolution node, j is the data stream, N is the set of monitoring nodes corresponding to all individuals in the initial parent population, S i is the first monitoring range corresponding to the evolution node i, x ij When it is 0, it means that data stream j is not measured by evolution node i, and when it is 1, it means that data stream j is measured by evolution node i.i When it is 1, it means that i is the monitoring node of the monitoring scheme corresponding to the evolved individual, G1 is the first condition, G2 is the second condition, and G3 is the third condition;

[0020] The signaling flow constraint conditions are as follows:

[0021] G4(i, k) = x ik -y i =0, i∈N, k∈S i ; (4)

[0022]

[0023]

[0024] Among them, i is the evolution node, k is the signaling flow, N is the set of monitoring nodes corresponding to all individuals in the initial parent population, S i is the first monitoring range corresponding to the evolution node i, x ik When it is 0, it means that the signaling flow k is not measured by the evolved node i, and when it is 1, it means that the signaling flow k is measured by the evolved node i. i When it is 1, it means that i is the monitoring node of the monitoring scheme corresponding to the evolved individual, G4 is the fourth condition, G5 is the fifth condition, and G6 is the sixth condition.

[0025] Furthermore, the method of taking the evolved individual as a feasible individual and calculating the corresponding objective function value based on the feasible individual includes: taking the evolved individual as a feasible individual and obtaining the deployment cost, operation cost and network coverage corresponding to the feasible individual; constructing an optimization objective function that minimizes the sum of the deployment cost and the operation cost; constructing an optimization objective function that maximizes the network coverage; calculating the minimization optimization objective function and the maximization optimization objective function to obtain the objective function value corresponding to the feasible individual.

[0026] Furthermore, the evolving individual is regarded as an infeasible individual, and a corresponding constraint violation value is calculated based on the infeasible individual, including: calculating the data flow constraint violation value of the infeasible individual in each formula of the data flow constraint condition; calculating the signaling flow constraint violation value of the infeasible individual in each formula of the signaling flow constraint condition; and calculating the constraint violation value corresponding to the infeasible individual based on the data flow constraint violation value and the signaling flow constraint violation value.

[0027] Furthermore, according to the objective function value and the constraint violation value, a number of evolved individuals are selected from the evolved population to obtain a new initial parent population and the evolution operation is re-executed until the number of executions of the evolution operation reaches a preset threshold, and the finally obtained initial parent population is used as the final parent population, including: according to the objective function value, a first level of each feasible individual is obtained, and the crowding degree corresponding to each feasible individual is calculated; according to the constraint violation value, a second level of each infeasible individual is obtained; according to the first level, the second level and the crowding degree, all evolved individuals in the evolved population are sorted; and a number of evolved individuals are selected in sequence from the sorted evolved population to form a new initial parent population.

[0028] Furthermore, the first level of each feasible individual is obtained according to the objective function value, and the crowding degree corresponding to each feasible individual is calculated, including: extracting a first feasible individual and a second feasible individual from the evolving population, and obtaining a first function value corresponding to the first feasible individual and a second function value corresponding to the second feasible individual in all preset optimization objective functions; if in any of the optimization objective functions, the first function value is less than or equal to the second function value, then the first feasible individual dominates the second feasible individual; if in any of the optimization objective functions, the first function value is less than or equal to the second function value, and in at least one optimization objective function, the first function value is less than the second function value, then the first feasible individual weakly dominates the second feasible individual; if there is an optimization objective function in which the first function value is less than or equal to the second function value, and there is another optimization objective function in which the first function value is greater than the second function value, then the first feasible individual and the second feasible individual do not dominate each other; determining the dominance relationship between all feasible individuals, and determining the first level of each feasible individual according to the dominance relationship.

[0029] Furthermore, obtaining the second level of each infeasible individual according to the constraint violation value includes: sorting all infeasible individuals from small to large according to the calculated constraint violation value; and assigning the second level from large to small to the sorted infeasible individuals in order.

[0030] Furthermore, the step of sorting all evolved individuals in the evolved population according to the first level, the second level and the crowding degree includes: for all evolved individuals in the evolved population, sorting the feasible individuals among the evolved individuals from small to large according to the first level, and if the first levels of the feasible individuals are the same, sorting them from large to small according to the crowding degree; arranging all infeasible individuals among the evolved individuals after the feasible individuals; and sorting the infeasible individuals from large to small according to the second level corresponding to each infeasible individual.

[0031] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and run by the processor, wherein the processor implements the steps of any of the above-mentioned network monitoring node deployment methods when executing the program.

[0032] In summary, the present invention has the following beneficial effects:

[0033] According to an embodiment of the present invention, nodes and network flows in a network are obtained, and an initial parent population including several individuals is obtained; wherein each individual determines a monitoring scheme, and the monitoring scheme includes selecting multiple monitoring nodes from the nodes and a first monitoring range of the network flow corresponding to each monitoring node; an evolution operation is performed on the initial parent population to obtain an evolved population; for each evolved individual in the evolved population, it is determined whether the evolved individual satisfies a preset network flow constraint condition; if satisfied, the evolved individual is taken as a feasible individual, and a corresponding objective function value is calculated based on the feasible individual; if not satisfied, the evolved individual is taken as an infeasible individual, and a corresponding constraint violation value is calculated based on the infeasible individual; according to the objective function value and the constraint violation value, several evolved individuals are selected from the evolved population to obtain a new initial parent population and the evolution operation is re-executed until the number of executions of the evolution operation reaches a preset threshold, and the final initial parent population is taken as the final parent population; according to the individuals in the final parent population, a monitoring scheme is deployed. The embodiment of the present invention calculates the objective function value corresponding to when the evolving individuals satisfy the network flow constraints and the constraint violation value corresponding to when they do not satisfy the constraints, thereby taking into account multiple optimization objectives contained in the network flow constraints each time the evolution operation is performed, so that the monitoring plan determined by the individuals in the final parent population is more reasonable after comprehensively considering multiple optimization objectives. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a flow chart of an embodiment of a network monitoring node deployment method provided by the present invention. DETAILED DESCRIPTION

[0035] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0036] See also Figure 1 , is a flow chart of an embodiment of a network monitoring node deployment method provided by the present invention, the method includes steps S1 to S7, which are as follows:

[0037] S1, obtaining nodes and network flows in the network, and obtaining an initial parent population including a plurality of individuals; wherein each of the individuals determines a monitoring scheme, and the monitoring scheme includes selecting a plurality of monitoring nodes from the nodes and a first monitoring range of the network flow corresponding to each of the monitoring nodes;

[0038] For example, the number of nodes that can be deployed as monitoring nodes in the network is n, the number of all network flows in the network is f, and the variable y is i (i=1,2,3…,n) and x ij (i=1,2,3…,n;j=1,2,3…,f) respectively represent “whether a monitoring node is deployed at node i” and “whether network flow j is monitored by node i”. The value range is 0 or 1, so binary encoding is chosen. i The value can be 0 or 1, and only one binary digit is needed to represent it. ij The value can be 0 or 1, and only one binary digit is needed to represent it. Therefore, each solution can be represented by (n+n*f) binary digits (the first n digits represent y i , the last n*f digits represent x ij ). Then randomly generate a set of coded solutions Vm (m = 1, 2, 3…, M) for the problem to be optimized, where each solution represents a monitoring scheme. The monitoring scheme includes the deployment location of the monitoring node and the first monitoring range of each monitoring node for the network flow. A total of M solutions are used as the initial parent population.

[0039] Specifically, a network flow is a collection of data packets that originate and terminate at the same node and share the same route in the network.

[0040] S2, performing an evolution operation on the initial parent population to obtain an evolved population;

[0041] Preferably, performing an evolution operation on the initial parent population to obtain an evolved population includes: selecting two individuals from the initial parent population; wherein the individuals have a chromosome structure, and the chromosome structure includes multiple gene segments; performing an exchange operation on a number of gene segments of the two individuals that are in the same position on their respective chromosome structures to obtain two crossover individuals; performing a gene mutation operation on the two crossover individuals to obtain two mutant individuals; and adding the two mutant individuals to the initial parent population to obtain an evolved population.

[0042] Specifically, firstly, the above binary coding method is selected as the chromosome coding method, and a crossover operation is performed on the initial parent population. Two individuals are randomly selected, the position of chromosome crossover is specified, and the gene segments in the two chromosomes are exchanged to generate new individuals, that is, a segment in the binary code is exchanged. Then, a mutation operation is performed on the population after the crossover, the position of gene mutation is specified, and each gene bit before the mutation bit is inverted, that is, the corresponding binary bit is inverted to generate new offspring population individuals. After obtaining the new offspring population, the original parent population and the offspring population are merged to form a new population, so as to expand the screening range when generating the next generation of individuals.

[0043] S3, for each evolved individual in the evolved population, determining whether the evolved individual satisfies a preset network flow constraint condition;

[0044] Preferably, the network flow constraint conditions include: data flow constraint conditions and signaling flow constraint conditions;

[0045] The data flow constraints are as follows:

[0046] G1(i, j) = x ij -y i ≤0, i∈N, j∈S i ; (1)

[0047]

[0048]

[0049] Among them, i is the evolution node, j is the data stream, N is the set of monitoring nodes corresponding to all individuals in the initial parent population, S i is the first monitoring range corresponding to the evolution node i, x ij When it is 0, it means that data stream j is not measured by evolution node i, and when it is 1, it means that data stream j is measured by evolution node i. i When it is 1, it means that i is the monitoring node of the monitoring scheme corresponding to the evolved individual, G1 is the first condition, G2 is the second condition, and G3 is the third condition;

[0050] The signaling flow constraint conditions are as follows:

[0051] G4(i, k) = x ik -y i =0, i∈N, k∈S i ; (4)

[0052]

[0053]

[0054] Among them, i is the evolution node, k is the signaling flow, N is the set of monitoring nodes corresponding to all individuals in the initial parent population, S i is the first monitoring range corresponding to the evolution node i, x ik When it is 0, it means that the signaling flow k is not measured by the evolved node i, and when it is 1, it means that the signaling flow k is measured by the evolved node i. i When it is 1, it means that i is the monitoring node of the monitoring scheme corresponding to the evolved individual, G4 is the fourth condition, G5 is the fifth condition, and G6 is the sixth condition.

[0055] Specifically, 5G network flows include data flows and signaling flows. For data flows, the constraints must meet the following two conditions: First, if a node that a data flow passes through is a monitoring node, each data flow within its measurable range may or may not be monitored by it, and data flows within the unmeasurable range will definitely not be monitored by it; second, the monitoring of a data flow cannot be assigned to several monitoring points and can only be monitored by one node at most. Therefore, the constraints can be converted into the following three constraint functions:

[0056] G1(i, j) = x ij -y i ≤0, i∈N, j∈S i ; (1)

[0057]

[0058]

[0059] Among them, i is the evolution node, j is the data stream, N is the set of monitoring nodes corresponding to all individuals in the initial parent population, S i is the first monitoring range corresponding to the evolution node i, x ij When it is 0, it means that data stream j is not measured by evolution node i, and when it is 1, it means that data stream j is measured by evolution node i. i When it is 1, it means that i is the monitoring node of the monitoring scheme corresponding to the evolved individual, G1 is the first condition, G2 is the second condition, and G3 is the third condition;

[0060] For signaling flows, the constraints must meet the following two conditions: First, if a node that a signaling flow passes through is a monitoring point, each signaling flow within its measurable range is monitored by it; second, the monitoring of a signaling flow cannot be assigned to several monitoring nodes, and each signaling flow has and can only have one monitoring node. Therefore, the constraints can be converted into the following three constraint functions:

[0061] G4(i, k) = x ik -y i =0, i∈N, k∈S i ; (4)

[0062]

[0063]

[0064] Among them, i is the evolution node, k is the signaling flow, N is the set of monitoring nodes corresponding to all individuals in the initial parent population, S i is the first monitoring range corresponding to the evolution node i, x ik When it is 0, it means that the signaling flow k is not measured by the evolved node i, and when it is 1, it means that the signaling flow k is measured by the evolved node i. i When it is 1, it means that i is the monitoring node of the monitoring scheme corresponding to the evolved individual, G4 is the fourth condition, G5 is the fifth condition, and G6 is the sixth condition.

[0065] Specifically, according to the network architecture and business flow characteristics, user data flows and signaling flows are distinguished, and different monitoring modes are executed: a full coverage monitoring mode is executed for the signaling flow, and a partial coverage monitoring mode is executed for the data flow; by respectively substituting different constraints for the data flow and the signaling flow, a partial coverage monitoring mode for the data flow and a full coverage monitoring mode for the signaling flow are realized, so as to reduce the monitoring overhead of some user data flows and obtain more useful control signaling flow data.

[0066] S4, if satisfied, taking the evolved individual as a feasible individual, and calculating the corresponding objective function value according to the feasible individual;

[0067] Preferably, the evolving individual is taken as a feasible individual, and the corresponding objective function value is calculated based on the feasible individual, including: taking the evolving individual as a feasible individual, and obtaining the deployment cost, operation cost and network coverage corresponding to the feasible individual; constructing an optimization objective function that minimizes the sum of the deployment cost and the operation cost; constructing an optimization objective function that maximizes the network coverage; calculating the minimization optimization objective function and the maximization optimization objective function to obtain the objective function value corresponding to the feasible individual.

[0068] Specifically, the objective function value of the feasible individual is calculated. The three indicators of deployment cost, operation cost and network coverage are selected as the objective function to be optimized, which can be converted into two optimization objective functions: minimizing deployment cost and operation cost and maximizing network coverage, as follows:

[0069]

[0070]

[0071] Among them, C D represents the deployment overhead, C O represents the operation cost, C OV represents the network coverage, c i represents the unit operation cost, ρ j represents the flow size of network flow j, E i Represents the set of measurable flows S of node i i The number of network flows in .

[0072] S5, if not satisfied, the evolved individual is regarded as an infeasible individual, and a corresponding constraint violation value is calculated based on the infeasible individual;

[0073] Preferably, the evolving individual is regarded as an infeasible individual, and the corresponding constraint violation value is calculated based on the infeasible individual, including: calculating the data flow constraint violation value of the infeasible individual in each formula of the data flow constraint condition; calculating the signaling flow constraint violation value of the infeasible individual in each formula of the signaling flow constraint condition; and calculating the constraint violation value corresponding to the infeasible individual based on the data flow constraint violation value and the signaling flow constraint violation value.

[0074] Specifically, the constraint violation value of the infeasible individual is calculated. For inequality constraints, the constraint violation value err is the true constraint function value, that is, the absolute value of the result obtained after substituting the infeasible individual into the constraint function. For equality constraints, if the constraint condition is not met, err is 1, and if the constraint condition is met, err is 0. In this way, the sum of the constraint violation values ​​of the three constraint functions of each infeasible individual can be obtained.

[0075] S6, according to the objective function value and the constraint violation value, select a number of evolutionary individuals from the evolutionary population to obtain a new initial parent population and re-execute the evolution operation until the number of executions of the evolution operation reaches a preset threshold, and use the final initial parent population as the final parent population;

[0076] Preferably, the method selects a number of evolved individuals from the evolved population according to the objective function value and the constraint violation value to obtain a new initial parent population and re-executes the evolution operation until the number of executions of the evolution operation reaches a preset threshold, and uses the final initial parent population as the final parent population, including: obtaining a first level of each feasible individual according to the objective function value, and calculating the crowding degree corresponding to each feasible individual; obtaining a second level of each infeasible individual according to the constraint violation value; sorting all evolved individuals in the evolved population according to the first level, the second level and the crowding degree; and selecting a number of evolved individuals in sequence from the sorted evolved population to form a new initial parent population.

[0077] As an improvement of the above scheme, the first level of each feasible individual is obtained according to the objective function value, and the crowding degree corresponding to each feasible individual is calculated, including: extracting a first feasible individual and a second feasible individual from the evolving population, and obtaining a first function value corresponding to the first feasible individual and a second function value corresponding to the second feasible individual in all preset optimization objective functions; if the first function value is less than the second function value in any of the optimization objective functions, the first feasible individual dominates the second feasible individual; if the first function value is less than or equal to the second function value in any of the optimization objective functions, and the first function value is less than the second function value in at least one optimization objective function, the first feasible individual weakly dominates the second feasible individual; if there is an optimization objective function in which the first function value is less than or equal to the second function value, and there is another optimization objective function in which the first function value is greater than the second function value, the first feasible individual and the second feasible individual do not dominate each other; determining the dominance relationship between all feasible individuals, and determining the first level of each feasible individual according to the dominance relationship.

[0078] As an improvement of the above scheme, the second level of each infeasible individual is obtained according to the constraint violation value, including: sorting all infeasible individuals from small to large according to the calculated constraint violation value; and assigning the second level from large to small to the sorted infeasible individuals in order.

[0079] As an improvement of the above scheme, all evolved individuals in the evolved population are sorted according to the first level, the second level and the crowding degree, including: for all evolved individuals in the evolved population, the feasible individuals among the evolved individuals are sorted from small to large according to the first level, and if the first levels of the feasible individuals are the same, they are sorted from large to small according to the crowding degree; all infeasible individuals among the evolved individuals are arranged after the feasible individuals; and for the infeasible individuals, they are sorted from large to small according to the second level corresponding to each infeasible individual.

[0080] Specifically, the feasible individuals are sorted first, and then the Pareto non-dominated solution set is constructed and sorted according to the calculation result of the objective function. For any two feasible individuals V1 and V2, if for any objective function, there are F i (V1)<F i (V2), then V1 dominates V2; if for any objective function, there is F i (V1)≤F i (V2) and there is at least one objective function such that F i (V1)<F i (V2) holds, then V1 weakly dominates V2; if there exists an objective function such that F i (V1)≤F i (V2) holds and there exists an objective function that satisfies F i (V1)>F i (V2), then V1 and V2 do not dominate each other. An individual that is not dominated by any other individual is called a non-dominated solution, and its rank is set to Rank = 1. All non-dominated solutions are deleted from the set of feasible individuals, and then a non-dominated solution that is not dominated by any other individual is found from the remaining individuals, and its rank is set to Rank = 2. Repeat the operation until all feasible individuals are assigned a rank as the first rank.

[0081] Specifically, the set of infeasible individuals is sorted according to the calculation results of the constraint violation values. The smaller the constraint violation value, the higher the rank, but they are all ranked behind all feasible individuals. By calculating the constraint violation values ​​of infeasible individuals, the dominance relationships caused by multiple constraints are merged into the Pareto dominance relationship, making it easier to select a better solution and pass it on to the next generation.

[0082] Specifically, after determining the level of each individual, multiple feasible individuals at the same level are sorted within the level according to the degree of crowding. The more crowded the feasible individuals are, the better they are. When calculating the crowding of feasible individuals at a certain level, the result of subtracting the minimum value from the maximum value of the two objective functions is multiplied. The calculation formula is as follows:

[0083] dist=(F 1MAX-F 1MIN )×(F 2MAX -F 2MIN ) (9)

[0084] Among them, dist is the crowding degree of feasible individuals, F 1MAX is the maximum value of the feasible individual in the first objective function, F 1MIN is the minimum value of the feasible individual in the first objective function, F 2MAX is the maximum value of the feasible individual in the second objective function, F 2MAX is the minimum value of the feasible individual in the second objective function.

[0085] Exemplarily, finally, better individuals are selected from the initial parent population to form a new parent population, and the next iteration is entered to repeat the evolution operation, wherein the tournament strategy is used for the selection operation. Two individuals are randomly selected from the initial parent population for comparison, and the better one is selected to enter the offspring. If the levels are different, the individual with the higher level is selected. If there are feasible individuals with the same level, the congestion is compared and the individual with greater congestion is selected. If the level and congestion are the same, one of them is randomly selected. Repeat this operation until the number of individuals in the new initial parent population reaches the number of individuals in the original initial parent population. By establishing a constrained multi-objective optimization model for 5G network architecture and services, using constraint dominance relations and Pareto dominance relations and introducing congestion operators, an improved genetic algorithm is designed to solve the optimal solution, thereby optimizing multiple conflicting objectives in the network at the same time, such as optimizing both the two objectives of minimizing overhead and maximizing network coverage.

[0086] S7, deploying a monitoring plan according to the individuals in the final parent population.

[0087] Specifically, since a monitoring plan is determined for each individual in the initial parent population, a monitoring plan is still determined one by one for each individual in the final parent population obtained after a series of operations are performed on the initial parent population. The monitoring plan includes selecting multiple monitoring nodes from the nodes and a first monitoring range of the network flow corresponding to each monitoring node.

[0088] An embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and run by the processor, wherein when the processor executes the program, the steps of the network monitoring node deployment method described in any of the above embodiments are implemented.

[0089] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary hardware platform, and of course can also be implemented entirely by hardware. Based on such an understanding, all or part of the contribution of the technical solution of the present invention to the background technology can be embodied in the form of a software product, and the computer software product can be stored in a storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention or certain parts of the embodiments.

[0090] In summary, the present invention has the following beneficial effects:

[0091] According to an embodiment of the present invention, nodes and network flows in a network are obtained, and an initial parent population including several individuals is obtained; wherein each individual determines a monitoring scheme, and the monitoring scheme includes selecting multiple monitoring nodes from the nodes and a first monitoring range of the network flow corresponding to each monitoring node; an evolution operation is performed on the initial parent population to obtain an evolved population; for each evolved individual in the evolved population, it is determined whether the evolved individual satisfies a preset network flow constraint condition; if satisfied, the evolved individual is taken as a feasible individual, and a corresponding objective function value is calculated based on the feasible individual; if not satisfied, the evolved individual is taken as an infeasible individual, and a corresponding constraint violation value is calculated based on the infeasible individual; according to the objective function value and the constraint violation value, several evolved individuals are selected from the evolved population to obtain a new initial parent population and the evolution operation is re-executed until the number of executions of the evolution operation reaches a preset threshold, and the final initial parent population is taken as the final parent population; according to the individuals in the final parent population, a monitoring scheme is deployed. The embodiment of the present invention calculates the objective function value corresponding to when the evolving individuals satisfy the network flow constraints and the constraint violation value corresponding to when they do not satisfy the constraints, thereby taking into account multiple optimization objectives contained in the network flow constraints each time the evolution operation is performed, so that the monitoring plan determined by the individuals in the final parent population is more reasonable after comprehensively considering multiple optimization objectives.

[0092] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A network monitoring node deployment method, characterized in that: include: Obtaining nodes and network flows in a network, and obtaining an initial parent population including a plurality of individuals; wherein each of the individuals determines a monitoring scheme, and the monitoring scheme includes selecting a plurality of monitoring nodes from the nodes and a first monitoring range of the network flow corresponding to each of the monitoring nodes; Performing an evolution operation on the initial parent population to obtain an evolved population; For each evolved individual in the evolved population, determining whether the evolved individual satisfies a preset network flow constraint condition; If satisfied, the evolved individual is taken as a feasible individual, and the corresponding objective function value is calculated based on the feasible individual; If not, the evolved individual is regarded as an infeasible individual, and the corresponding constraint violation value is calculated based on the infeasible individual; According to the objective function value and the constraint violation value, a number of evolutionary individuals are selected from the evolutionary population to obtain a new initial parent population and the evolutionary operation is re-executed until the number of executions of the evolutionary operation reaches a preset threshold, and the final initial parent population is used as the final parent population; deploying a monitoring scheme based on individuals in the final parent population; Wherein, the network flow constraint conditions include: data flow constraint conditions and signaling flow constraint conditions; The data flow constraints are as follows: G1(i,j)=x ij -y i ≤0,i∈N,j∈S i ; (1) Among them, i is the evolution node, j is the data stream, N is the set of monitoring nodes corresponding to all individuals in the initial parent population, S i is the first monitoring range corresponding to the evolution node i, x ij When it is 0, it means that data stream j is not measured by evolution node i, and when it is 1, it means that data stream j is measured by evolution node i. i When it is 1, it means that i is the monitoring node of the monitoring scheme corresponding to the evolved individual, G1 is the first condition, G2 is the second condition, and G3 is the third condition; The signaling flow constraint conditions are as follows: G4(i,k)=x ik -y i =0,i∈N,k∈S i ; (4) Among them, i is the evolution node, k is the signaling flow, N is the set of monitoring nodes corresponding to all individuals in the initial parent population, S i is the first monitoring range corresponding to the evolution node i, x ik When it is 0, it means that the signaling flow k is not measured by the evolved node i, and when it is 1, it means that the signaling flow k is measured by the evolved node i. i When it is 1, it means that i is the monitoring node of the monitoring scheme corresponding to the evolved individual, G4 is the fourth condition, G5 is the fifth condition, and G6 is the sixth condition.

2. The network monitoring node deployment method according to claim 1, characterized in that: The performing an evolution operation on the initial parent population to obtain an evolved population includes: Selecting two individuals from the initial parent population; wherein the individuals have a chromosome structure, and the chromosome structure includes a plurality of gene segments; Perform exchange operations on several gene segments of the two individuals that have the same position on their respective chromosome structures to obtain two crossover individuals; Perform gene mutation operation on two crossover individuals to obtain two mutant individuals; Two mutant individuals are added to the initial parent population to obtain an evolved population.

3. The network monitoring node deployment method according to claim 1, characterized in that: The step of taking the evolved individuals as feasible individuals and calculating corresponding objective function values ​​according to the feasible individuals includes: Taking the evolved individual as a feasible individual, and obtaining deployment cost, operation cost and network coverage corresponding to the feasible individual; Constructing an optimization objective function for minimizing the sum of the deployment cost and the operation cost; Constructing a maximization optimization objective function for the network coverage; The minimization optimization objective function and the maximization optimization objective function are calculated to obtain the objective function values ​​corresponding to the feasible individuals.

4. The network monitoring node deployment method according to claim 1, characterized in that: The step of taking the evolved individual as an infeasible individual and calculating a corresponding constraint violation value according to the infeasible individual includes: Calculate the data flow constraint violation value of the infeasible individual in each formula of the data flow constraint condition; Calculate the signaling flow constraint violation value of the infeasible individual in each formula of the signaling flow constraint condition; A constraint violation value corresponding to the infeasible individual is calculated based on the data flow constraint violation value and the signaling flow constraint violation value.

5. The network monitoring node deployment method according to claim 1, characterized in that: The step of selecting a number of evolutionary individuals from the evolutionary population according to the objective function value and the constraint violation value to obtain a new initial parent population and re-executing the evolutionary operation until the number of executions of the evolutionary operation reaches a preset threshold, and using the final initial parent population as the final parent population, comprises: According to the objective function value, obtaining the first level of each feasible individual, and calculating the congestion degree corresponding to each feasible individual; According to the constraint violation value, obtaining a second level of each of the infeasible individuals; sorting all evolved individuals in the evolutionary population according to the first level, the second level and the crowding degree; A number of evolved individuals are selected in sequence from the sorted evolved population to form a new initial parent population.

6. The network monitoring node deployment method according to claim 5, characterized in that: The step of obtaining the first level of each feasible individual according to the objective function value and calculating the congestion degree corresponding to each feasible individual includes: Extracting a first feasible individual and a second feasible individual from the evolutionary population, and obtaining a first function value corresponding to the first feasible individual and a second function value corresponding to the second feasible individual in all preset optimization objective functions; If in any of the optimization objective functions, the first function value is smaller than the second function value, then the first feasible individual dominates the second feasible individual; If in any of the optimization objective functions, the first function value is less than or equal to the second function value, and in at least one optimization objective function, the first function value is less than the second function value, then the first feasible individual weakly dominates the second feasible individual; If there exists an optimization objective function in which the first function value is less than or equal to the second function value, and there exists another optimization objective function in which the first function value is greater than the second function value, then the first feasible individual and the second feasible individual do not dominate each other; The dominance relationship between all feasible individuals is determined, and the first level of each feasible individual is determined according to the dominance relationship.

7. The network monitoring node deployment method according to claim 5, characterized in that: The step of obtaining a second level of each of the infeasible individuals according to the constraint violation value comprises: Sort all infeasible individuals from small to large according to the calculated constraint violation values; The sorted infeasible individuals are assigned a second rank in order from largest to smallest.

8. The network monitoring node deployment method according to claim 5, characterized in that: The step of sorting all the evolved individuals in the evolved population according to the first level, the second level and the crowding degree comprises: For all the evolved individuals in the evolved population, the feasible individuals among the evolved individuals are sorted from small to large according to the first level; if the first levels of the feasible individuals are the same, they are sorted from large to small according to the crowding degree; Arrange all the infeasible individuals in the evolving individuals behind the feasible individuals; For the infeasible individuals, the infeasible individuals are sorted in descending order according to the second level corresponding to each infeasible individual.

9. A computer device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the network monitoring node deployment method according to any one of claims 1 to 8 when executing the computer program.