Edge server deployment method based on elite niche improved genetic algorithm

By adopting genetic algorithm based on elite niche improvement in edge computing, the multimodality and insufficient global search capabilities in edge server deployment problems are solved, the service quality of edge computing platform is improved, and efficient edge servers are realized deploy.

CN118885183APending Publication Date: 2024-11-01UNIV FOR SCI & TECH ZHENGZHOU
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410998419.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The multimodality and global search capabilities of edge server deployment problems in the prior art in edge computing have insufficient service quality, and the lack of information interaction between different niches in the evolution process of niche technology, which affects the edge deployment. Efficiency and effect.

Method used

Using genetic algorithm based on elite niche improvement, the solution space and fitness function are designed, combined with cross-niche and mutant operators, cross-niche gene interaction is achieved, the global search efficiency and quality of the genetic algorithm are improved, and the edge server deployment scheme is optimized. .

Benefits of technology

The service quality of the edge computing platform has been improved, and the service quality has been improved by improving the global search capability and efficiency of edge server deployment, meeting resource limitations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0004960901080000031
    Figure BDA0004960901080000031
  • Figure BDA0004960901080000032
    Figure BDA0004960901080000032
  • Figure BDA0004960901080000053
    Figure BDA0004960901080000053
Patent Text Reader

Abstract

The invention discloses an edge server deployment method based on an elite niche improved genetic algorithm, and the method comprises the steps: 1, designing a solution space construction method, and coding an edge server deployment scheme; 2, designing a fitness function; 3, a genetic algorithm evolutionary strategy is designed based on the elite thought and the niche technology, and the population iteration updating step is repeatedly executed; and step 4, returning an edge server deployment strategy corresponding to the globally optimal individual. The response time of user request processing is optimized. According to the method, a server is constructed through binary coding to deploy a solution search space, and then the method is inspired by a hybrid dominance phenomenon in biogenetics, and on the basis of niche technology optimization, the method innovatively puts forward application of cross-niche gene crossover to improve population diversity and improve the evolution efficiency and effect of a genetic algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of network computers, and in particular to an edge server deployment method based on an elite niche improved genetic algorithm. Background Art

[0002] Various smart devices can be seen everywhere in our lives, such as smartphones, smart bracelets, drones, networked home appliances, etc., and their types and numbers are growing rapidly. At the same time, information and communication technologies have also developed rapidly, and the types and complexity of smart applications have also increased, and they are constantly updated and iterated. These phenomena have led to the inability of traditional centralized cloud computing or cluster computing platforms to meet diverse service quality requirements. To this end, many existing works focus on using edge computing technology, using ultra-low latency communication technology (5G, WiFi 7, etc.), deploying a small number of edge server resources in the vicinity of user devices, and improving the service quality of various smart applications by caching data or services at the edge.

[0003] The edge computing scenario can be abstracted into a three-layer node structure, which is composed of a variety of user devices, the edge side composed of edge servers, and the cloud side composed of rich cloud computing and storage resources. The user sends a service request to the service provider on the device side, and the request can be processed on the edge server side or the cloud side. Usually, the network access device configured for each edge server has a limited coverage range (such as the network coverage range of 5G base stations is usually hundreds of meters), and the edge server has very limited computing resources and storage resources. Therefore, each edge server can only serve some task requests of some users. The cloud is often equipped with rich computing and storage resources, and is generally considered to be able to serve all requests of all users when network delays are ignored.

[0004] A key problem that edge computing needs to solve is the edge service or data deployment problem, which determines the user requests that each edge server can handle, thus affecting the overall service quality. The edge deployment problem is to determine which services to deploy on each edge server to meet the resource constraints of the edge server and improve the overall service quality. The edge deployment problem is a discrete optimization problem with constraints and has been proven to be NP-hard. Due to the search ability of the global optimal solution of the metaheuristic algorithm, it has become one of the main methods for solving the edge deployment problem. However, many research works have ignored the multimodality of the edge deployment problem, resulting in poor implementation results. At the same time, some metaheuristic methods based on niche technology do not interact with each other during the evolution process, resulting in limited global search capabilities of each independently evolving niche. Summary of the invention

[0005] The technical problem to be solved by the present invention is: how to improve the global search capability and efficiency, and provide an edge server deployment method based on an elite niche improved genetic algorithm.

[0006] An edge server deployment method based on an elite niche improved genetic algorithm comprises the following steps:

[0007] Step 1: First, design a solution space construction method to encode the edge server deployment plan; use an N×M binary string to represent a deployment plan, where N and M are the number of edge servers and the number of services, respectively; the M×(i-1) to M×i-1 bits of the binary string represent the i-th edge server e i Server deployment on: For the M-(i-1)+j-1th position (x ij ), 1 represents the jth service a j At the i-th edge server e i Deploy on; 0 means no deployment;

[0008] Step 2: Design a fitness function to evaluate the pros and cons of the deployment scheme corresponding to each binary string; use the inverse of the average response time of all service requests calculated based on queuing theory as the fitness function of the deployment scheme; the specific steps for calculating its fitness are as follows:

[0009] Step 2-1: For each binary string, modify it to meet the storage capacity constraints of each edge server; for edge server e i ,if Then iteratively clear one of the bits with a value of 1 to 0 until The specific steps are as in step 2-1-1; if As long as it satisfies Then, iteratively set one of the bits with a value of 0, and the specific steps are as in step 2-1-2; wherein S i For edge servers i Storage capacity, s j For service j The amount of storage resources required for the deployment;

[0010] Step 2-1-1: Select services j , satisfying j = argmax j {s j / λ ij |x ij =1}, and x ij Set to 0; if Continue to repeat this step, where λ ij Indicates in e i Previous j Request arrival rate;

[0011] Step 2-1-2: For all undeployed services ({s j |x ij =0}), press s j / λ ij Sort and execute the steps once: If x ij Set to 1 to satisfy Then x ij Set to 1;

[0012] Step 2-2: Use formula (1) to calculate the response time of each service processing task request on each edge server, where t ij represents the delay of processing request of the jth service on the i-th edge server; T j represents the delay of the cloud processing the request of the jth service; x ij is the value of the N×(j-1)+i-1th bit of the binary string; μ ij represents the service capacity of the jth service on the i-th edge server, λ ij represents the request arrival rate of the jth service on the i-th edge server,

[0013]

[0014] Step 2-3: Calculate the inverse of the average response time of all service requests through formula (2), which is the fitness of the binary string or edge deployment solution;

[0015]

[0016] Step 3: Design a genetic algorithm evolution strategy based on elite thinking and niche technology: First, randomly generate a population consisting of several binary string individuals, use step 2 to calculate the fitness of each binary string, and find the individual with the best fitness as the global optimal individual; then divide the entire population into several groups, each group is an ordinary niche, and select the individuals with the top elite_size fitness in the entire population to form an elite niche; thereafter, repeat the population iterative update step;

[0017] Step 4: Return the edge server deployment strategy corresponding to the global optimal individual.

[0018] In step 3, the population iterative update step includes:

[0019] Step 3-1: For each individual in each common niche, use the crossover operator of the genetic algorithm to crossover with another individual in the same niche, an individual in another niche, and an individual in the elite niche to generate offspring;

[0020] Step 3-2: For each generated offspring, calculate its fitness using step 2, and find the offspring with the best fitness to replace the individual;

[0021] Step 3-3: Execute the mutation operator of the genetic algorithm for each individual in each common niche and replace it with the generated offspring, while calculating the fitness of the offspring;

[0022] Step 3-4: Update the elite niche to the individuals with the top elite_size fitness in the current population;

[0023] Step 3-5: Find the individual with the best fitness in the current population and compare it with the current global best individual; if the current global best individual has poor fitness, update the global best individual to the new best individual.

[0024] The present invention adopts the above technical solution, inspired by the universal phenomenon of "hybrid advantage" in biological genetics, designs a genetic algorithm for cross-microhabitat gene interaction, improves the quality and diversity of offspring generation during the evolution process, and improves the global search efficiency and quality of the genetic algorithm, efficiently solves the edge server deployment problem, and improves the service quality of the edge computing platform. DETAILED DESCRIPTION

[0025] The specific steps of the edge server deployment method based on elite niche improved genetic algorithm of the present invention are as follows.

[0026] Step 1: First, design a solution space construction method to encode the edge server deployment plan. Use an N×M binary string to represent a deployment plan, where N and M are the number of edge servers and the number of services, respectively. The M×(i-1) to M×i-1 bits of the binary string represent the i-th edge server (e i ) on the server deployment: For the M-(i-1)+j-1th position (x ij ) value, 1 means the jth service (a j ) i 0 means do not deploy.

[0027] Step 2: Design a fitness function to evaluate the pros and cons of each binary string corresponding to the deployment scheme. This patent uses the inverse of the average response time of all service requests calculated based on queuing theory as the fitness function of the deployment scheme. Given a binary string, that is, an edge deployment scheme, the specific steps to calculate its fitness are as follows.

[0028] Step 2-1: For each binary string, modify it to meet the storage capacity constraints of each edge server. i ,if Then iteratively clear one of the bits with a value of 1 to 0 until The specific steps are as in step 2-1-1. As long as it satisfies Then, iteratively set one of the bits with a value of 0, and the specific steps are as in step 2-1-2. i For edge servers i Storage capacity, s j For service j The amount of storage resources required for the deployment.

[0029] Step 2-1-1: Select services j , satisfying j = argmax j {s j / λ ij |x ij =1}, and x ij Set to 0. If Continue to repeat this step. ij Indicates in e i Previous j Request arrival rate;

[0030] Step 2-1-2: For all undeployed services ({s j |x ij =0}), press s j / λ ij Sort and execute the steps once: If x ij Set to 1 to satisfy Then x ij Set to 1.

[0031] Step 2-2: Use formula (1) to calculate the response time of each service processing task request on each edge server. ij represents the delay of processing request of the jth service on the i-th edge server; T j represents the delay of the cloud processing the request of the jth service; x ij is the value of the N×(j-1)+i-1th bit of the binary string; μ ij represents the service capacity of the jth service on the i-th edge server. ij represents the request arrival rate of the jth service on the ith edge server.

[0032]

[0033] Step 2-3: Calculate the inverse of the average response time of all service requests using formula (2), which is the fitness of the binary string or edge deployment solution.

[0034]

[0035] Step 3: Design a genetic algorithm evolution strategy based on elite thinking and niche technology. First, randomly generate a population consisting of several binary string individuals, use step 2 to calculate the fitness of each binary string, and find the individual with the best fitness as the global optimal individual. Then divide the entire population into several groups, each group is an ordinary niche, and select the individuals with the top elite_size fitness in the entire population to form an elite niche. After that, repeat the following population iterative update steps.

[0036] Step 3-1: For each individual in each common niche, use the crossover operator of the genetic algorithm to cross with another individual in the same niche, an individual in another niche, and an individual in the elite niche to generate offspring.

[0037] Step 3-2: For each generated offspring, use step 2 to calculate its fitness, and find the offspring with the best fitness to replace the individual.

[0038] Step 3-3: Execute the mutation operator of the genetic algorithm for each individual in each common niche and replace it with the generated offspring, while calculating the fitness of the offspring.

[0039] Step 3-4: Update the elite niche to the individuals with the top elite_size fitness in the current population.

[0040] Step 3-5: Find the individual with the best fitness in the current population and compare it with the current global best individual. If the current global best individual has a poor fitness, update the global best individual to the new best individual.

[0041] Step 4: Return the edge server deployment strategy corresponding to the global optimal individual.

[0042] Inspired by the universal phenomenon of "hybrid advantage" in biological genetics, this method designs an elite niche-improved genetic algorithm to improve the global search efficiency and quality of the genetic algorithm, efficiently solve the edge server deployment problem, and improve the service quality of the edge computing platform.

Claims

1. An edge server deployment method based on elite niche improved genetic algorithm, characterized by: The steps include: Step 1: First, design a solution space construction method to encode the edge server deployment plan; use an N×M binary string to represent a deployment plan, where N and M are the number of edge servers and the number of services, respectively; the M×(i-1) to M×i-1 bits of the binary string represent the i-th edge server e i Server deployment on: For the M-(i-1)+j-1th position (x ij ), 1 represents the jth service a j At the i-th edge server e i Deploy on; 0 means no deployment; Step 2: Design a fitness function to evaluate the pros and cons of the deployment scheme corresponding to each binary string; use the inverse of the average value of all service request response times calculated based on queuing theory as the fitness function of the deployment scheme; the specific steps for calculating its fitness are as follows: Step 2-1: For each binary string, modify it to meet the storage capacity constraints of each edge server; for edge server e i ,if Then iteratively clear one of the bits with a value of 1 to 0 until The specific steps are as in step 2-1-1; if As long as it satisfies Then, iteratively set one of the bits with a value of 0, and the specific steps are as in step 2-1-2; wherein S i For edge servers i Storage capacity, s j For service j The amount of storage resources required for the deployment; Step 2-1-1: Select services j , satisfying j = argmax j {s j / λ ij |x ij =1}, and x ij Set to 0; if Continue to repeat this step, where λ ij Indicates in e i Previous j Request arrival rate; Step 2-1-2: For all undeployed services ({s j |x ij =0}), press s j / λ ij Sort and execute the steps once: If x ij Set to 1 to satisfy Then x ij Set to 1; Step 2-2: Use formula (1) to calculate the response time of each service processing task request on each edge server, where t ij represents the delay of processing request of the jth service on the i-th edge server; T j represents the delay of the cloud processing the request of the jth service; x ij is the value of the N×(j-1)+i-1th bit of the binary string; μ ij represents the service capacity of the jth service on the i-th edge server, λ ij represents the request arrival rate of the jth service on the i-th edge server, Step 2-3: Calculate the inverse of the average response time of all service requests through formula (2), which is the fitness of the binary string or edge deployment solution; Step 3: Design a genetic algorithm evolution strategy based on elite thinking and niche technology: First, randomly generate a population consisting of several binary string individuals, use step 2 to calculate the fitness of each binary string, and find the individual with the best fitness as the global optimal individual; then divide the entire population into several groups, each group is an ordinary niche, and select the individuals with the top elite_size fitness in the entire population to form an elite niche; thereafter, repeat the population iterative update step; Step 4: Return the edge server deployment strategy corresponding to the global optimal individual.

2. The edge server deployment method based on elite niche improved genetic algorithm according to claim 1, characterized in that: In step 3, the population iterative update step includes: Step 3-1: For each individual in each common niche, use the crossover operator of the genetic algorithm to crossover with another individual in the same niche, an individual in another niche, and an individual in the elite niche to generate offspring; Step 3-2: For each generated offspring, calculate its fitness using step 2, and find the offspring with the best fitness to replace the individual; Step 3-3: Execute the mutation operator of the genetic algorithm for each individual in each common niche and replace it with the generated offspring, while calculating the fitness of the offspring; Step 3-4: Update the elite niche to the individuals with the top elite size in fitness in the current population; Step 3-5: Find the individual with the best fitness in the current population and compare it with the current global optimal individual; If the current global optimal individual has poor fitness, the global optimal individual will be updated to the new individual with the best fitness.

Citation Information

Cited By

  • Multi-pipeline layout method based on ecological niche coevolution algorithm

    CN121525537A

  • Multi-pipeline layout method based on niche co-evolution algorithm

    CN121525537B