A fitness-based edge server deployment method in mobile edge networks
By calculating the fitness of wireless access points in the mobile edge network and dynamically deploying edge servers, the problems of high deployment costs and load imbalance are solved, and a low-cost, low-latency edge server deployment solution is realized.
Patent Information
- Application Number
- CN202210888036.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-07-26
AI Technical Summary
In mobile edge networks, existing edge server deployment solutions are difficult to effectively reduce deployment costs and avoid load imbalance problems while meeting user access delay thresholds.
By calculating the fitness of each wireless access point, taking into account its degree centrality in the edge network topology, the number of mobile users within the coverage area, and the impact factors of deployed edge servers, the AP with the highest fitness is selected to deploy the edge server. , and dynamically adjust the deployment quantity according to the response delay to meet the delay requirements.
On the premise of ensuring mobile user service experience, it reduces the deployment cost of edge servers, reduces user access delays and network transmission delays, and effectively utilizes edge network resources.
Smart Images

Figure CN115277394B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a method for deploying an edge server based on fitness in a mobile edge network, and belongs to the field of resource configuration of mobile edge computing. Background Art
[0002] At present, the era of centralized processing in cloud computing data centers has gradually shifted to the era of edge computing with the Internet of Everything as its core. As we all know, cloud computing is to decompose huge data computing processing programs into countless small programs through the network "cloud", and then process and analyze these small programs through a system composed of multiple servers to obtain results and return them to users. Therefore, the user's access delay is relatively long under the cloud computing data processing method. In the mobile edge computing method, since edge servers are usually deployed at wireless access points close to users, data no longer needs to be transmitted to the distant cloud, but is solved at the edge side. Therefore, compared with the traditional cloud computing paradigm, a significant advantage of deploying edge servers in edge networks is that it greatly reduces user access delays.
[0003] In a mobile edge network, the user's access delay is closely related to the deployment location of the edge server and the number of processors in the mobile edge network. When edge servers are deployed in some key locations (such as areas with high user density), more users can access computing resources at their proximal end, thereby reducing the overall access delay in the edge network (the edge server deployment solution based on the greedy algorithm in the prior art is deployed according to user density). At the same time, deploying more edge servers in the edge network can also reduce the user's access delay.
[0004] However, in actual applications, in addition to user access delay, the edge server deployment plan also needs to consider other impacts, such as load balancing. If the edge server is deployed in an improper location, it will lead to load imbalance between edge servers, and it is easy for some servers to be severely overloaded while other servers are idle, which will cause a waste of edge network computing resources. Another example is the service cost issue. If a large number of edge servers are deployed to reduce user access delay, it will lead to a high service cost. Therefore, a deployment plan is needed that can effectively reduce the deployment cost of edge servers while meeting the user access delay threshold. Summary of the invention
[0005] In order to reduce the deployment cost of edge servers as much as possible while ensuring the service experience of mobile users, the present invention provides a method for deploying edge servers based on fitness in a mobile edge network, the method comprising:
[0006] Step 1: Get the topology of the mobile edge network and represent the network topology with G(V,E), where the set V = {v i , i=1,2,...,|V|} represents all wireless access points AP deployed in the network, and the set E={e i ,i=1,2,...,|E|} is the data link set between APs;
[0007] Step 2: Calculate the fitness W of each AP in the network i , where the fitness W i Three factors are considered comprehensively: the degree centrality of each AP in the edge network topology, the number of mobile users within the coverage of each AP, and the influence factor of the APs of the deployed edge servers on the candidate APs where the edge servers will be deployed next;
[0008] Step 3: Select the AP with the highest fitness to deploy the edge server;
[0009] Step 4: Calculate the response delay T of the service provided by the mobile edge network after the edge server is deployed a , if the response delay is greater than the delay threshold θ, then a new edge server is added; otherwise, the deployment is completed.
[0010] Optionally, the degree centrality of each AP in the edge network topology is the total number of APs directly connected to it.
[0011] Optionally, calculate the fitness W of each AP in the network i The calculation formula is:
[0012]
[0013] Among them, F i is the impact factor between the ith wireless access point APi and the currently deployed edge server, C i is the degree centrality of APi in the edge network topology, A i is the number of mobile users within the service range of APi, ω={ω1,ω2} is the scaling factor;
[0014]
[0015] Among them, t(i,j) is the normalized shortest path hop number between APi and APj in the mobile edge network, β is the distance attenuation coefficient, satisfying 0<β<1, and Q represents the AP set of the currently deployed edge servers.
[0016] Optionally, in Step 4, the response delay T of the service provided by the mobile edge network after the edge server is deployed is calculated. a ,include:
[0017] The response delay T is calculated according to the following formula a :
[0018]
[0019] Among them, R total is the total number of mobile users in the entire mobile edge network, T v,u The network transmission delay when the edge server deployed at ACu provides services to mobile users in the service area of APv. is the average processing delay of APv for mobile user’s application request, A v The average request arrival rate for mobile user requests routed to APv.
[0020] Optionally, if the response delay in Step 4 is greater than the delay threshold θ, then adding an edge server includes:
[0021] If the response delay is greater than the delay threshold θ, the fitness of the remaining APs in the network is recalculated, and the AP with the highest fitness among the remaining APs is selected to deploy the new edge server.
[0022] Optionally, the network transmission delay T when the edge server deployed at ACu provides services to mobile users in the service area of APv v,u The calculation formula is:
[0023]
[0024] Among them, R v Indicates the number of requests for application services from mobile users within the service area of APv. Indicates that the mobile user requests data on link e i Average transmission time on ∈E; indicator variable When , it indicates that the network link e i In the request transmission path from AP site v to ADu.
[0025] Optionally, the average processing delay of the APv for the application request of the mobile user The calculation formula is:
[0026]
[0027] Among them, μ v Indicates the average service rate of APv.
[0028] Optionally, the deployment cost L of the edge server in the mobile edge network is calculated as follows:
[0029]
[0030] Among them, f i is the fixed cost of using APi, ξ i is the cost of installing a processor in the edge server, and the indicator variable y i Indicates whether the APi is deployed with an edge server. If yes, y i =1, otherwise, y i =0; z i The number of processors installed for the Edge Server.
[0031] The present application also provides a mobile edge network, which includes |V| wireless access points AP, and there are |E| data links between APs. The mobile edge network deploys edge servers according to the above-mentioned fitness-based edge server deployment method.
[0032] The beneficial effects of the present invention are:
[0033] By calculating the fitness of all wireless access points (APs) in the edge network, the most suitable AP site is found to deploy the edge server, thereby reducing the deployment cost of the edge server while ensuring the service experience of mobile users; the fitness evaluation indicators include: the degree centrality of the AP in the edge network topology, the number of mobile users within the coverage of each AP, and the influence factor of the AP with deployed edge servers on the next candidate AP to deploy the server; the present application can reduce the user's access delay by considering the degree centrality of the AP in the edge network topology; significantly reduce the network transmission delay by considering the number of mobile users within the coverage of each AP; by considering the influence factor of the AP with deployed edge servers on the next candidate AP to deploy the server, all users can access the computing resources of the edge server with less transmission delay; and by setting the calculation method of the fitness, the deployment method of the edge server can reduce the deployment cost as much as possible while ensuring the service experience of mobile users. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0035] Figure 1 It is a real Noel network diagram used in the edge server deployment method based on fitness provided in one embodiment of the present invention.
[0036] Figure 2It is an AP node distribution diagram of the Noel network topology used in the edge server deployment method based on fitness provided in one embodiment of the present invention.
[0037] Figure 3 This is a simulation diagram of the results of the average deployment cost changing with the delay requirement when the edge server is deployed using the method provided by the application and the two existing strategies respectively, provided in one embodiment of the present invention.
[0038] Figure 4 This is a simulation diagram of the results of the average deployment cost changing with the number of mobile users when the edge server is deployed using the method provided by the application and two existing strategies respectively, given in an embodiment of the present invention.
[0039] Figure 5 This is a simulation diagram of the results of the average deployment cost changing with the edge network scale when the edge server is deployed using the method provided by the application and two existing strategies respectively, given in an embodiment of the present invention. DETAILED DESCRIPTION
[0040] In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
[0041] Embodiment 1:
[0042] This embodiment provides a method for deploying an edge server based on fitness in a mobile edge network, the method comprising:
[0043] Step 1: Get the topology of the mobile edge network and represent the network topology with G(V,E), where the set V = {v i , i=1,2,...,|V|} represents all wireless access points AP deployed in the network, and the set E={e i ,i=1,2,...,|E|} is the data link set between APs;
[0044] Step 2: Calculate the fitness W of each AP in the network i , where the fitness W i Three factors are considered comprehensively: the degree centrality of each AP in the edge network topology, the number of mobile users within the coverage of each AP, and the influence factor of the APs of the deployed edge servers on the candidate APs where the edge servers will be deployed next;
[0045] Step 3: Select the AP with the highest fitness to deploy the edge server;
[0046] Step 4: Calculate the response delay T of the service provided by the mobile edge network after the edge server is deployed a, if the response delay is greater than the delay threshold θ, then a new edge server is added; otherwise, the deployment is completed.
[0047] In the edge server deployment method based on fitness provided in this application, the fitness W i The degree centrality of the AP node in can directly reflect the importance of the node in the network. The higher the degree centrality, the more directly the AP is connected to more APs in the network. If the edge server is deployed here, the surrounding APs can access the computing resources of the server through fewer network connections, which can reduce the user's access delay; secondly, the more mobile users there are within the coverage of the AP, the more local users can access the server through a one-hop wireless network connection, which can greatly reduce the network transmission delay; in addition, in order to avoid the concentrated deployment of edge servers in a certain local area in the network, the present invention takes into account the influence of the APs with deployed edge servers on the remaining candidate APs. When the deployment location of the next edge server is far away from the current edge server, the service resources of the edge network can be more fully utilized, so that all users can access the computing resources of the edge server with less transmission delay.
[0048] Embodiment 2:
[0049] This embodiment provides a method for deploying an edge server based on fitness in a mobile edge network, the method comprising:
[0050] S1 obtains the topology of the mobile edge network and uses G(V,E) to represent the network topology, where the set V = {v i , i=1,2,...,|V|} represents all wireless access points AP deployed in the network, and the set E={e i ,i=1,2,...,|E|} is the data link set between APs.
[0051] S2 calculates the fitness W of each AP in the network according to formula (1) i .
[0052]
[0053] Among them, F i is the impact factor between the ith wireless access point APi and the currently deployed edge server, C i is the degree centrality of APi in the edge network topology, A i is the number of mobile users within the service range of APi, ω={ω1,ω2} is the scaling factor, usually the two have the same value, ranging from 0 to 1; in practical applications, if the connectivity is more important, the technicians can appropriately increase the scaling factor. In the subsequent experiments of this application, the two values are both 0.1.
[0054] Specifically, step S2 includes:
[0055] In the S21 edge network, the degree centrality of an AP is the total number of APs directly connected to it. This method uses the variable C i Represents the degree centrality of APi after normalization.
[0056] S22 When the number of mobile users within the service range of APi increases, edge servers are deployed on APi to provide services to more local users. This method uses variable A i Indicates the normalized number of users within the coverage area of the API.
[0057] S23 calculates the impact factor F according to formula (2) i This method takes into account the impact of the AP of the currently deployed edge server on the remaining candidate APs. The farther the AP is from the currently deployed server AP, the less impact the candidate AP will have.
[0058]
[0059] Among them, t(i,j) is the normalized shortest path hop number between APi and APj in the edge network, β is the distance attenuation coefficient, satisfying 0<β<1, and Q represents the AP set of the currently deployed edge servers.
[0060] S3 selects the AP with the highest fitness to deploy the edge server.
[0061] S4 calculates the response delay T of the service provided by the edge network at this time according to formula (3): a If the response delay is greater than the delay threshold θ, go to S5. Otherwise, go to S6.
[0062]
[0063] Among them, R total is the total number of mobile users in the entire edge network, T v,u The network transmission delay when the edge server is deployed for ACu to provide services to mobile users in the service area of APv. is the average processing delay of APv for application requests, A v The average request arrival rate of user requests routed to APv.
[0064] Specifically, step S4 includes:
[0065] Step S4 specifically includes the following steps:
[0066] S41 Since the edge server deployment does not affect the wireless transmission delay from mobile devices to APs, this method only considers the network transmission delay of AP routing user requests to the AP where the target edge server is located. When APu provides services to mobile users in the service area of APv, the overall network transmission delay of all user requests arriving at APv can be calculated by formula (4).
[0067]
[0068] Among them, R v Indicates the number of requests for application services from users within the service area of APv. Indicates that the mobile user requests data on link e i The average transmission time on ∈E. Indicator variable When , it indicates that the network link e i In the request transmission path from AP site v to ADu.
[0069] S42 According to the characteristics of the edge server in the network processing each mobile user's application request, the request processing process can be regarded as a queuing model, and the average processing delay of the application request assigned to APv can be obtained according to formula (5).
[0070]
[0071] Among them, μ v Indicates the average service rate of APv.
[0072] S43 When all users' requests are served, the average response delay of the entire mobile edge network can be calculated.
[0073] In S5, the number of edge servers increases by 1, the fitness of the remaining APs in the network is recalculated, and the process goes to S3.
[0074] S6 obtains the edge server deployment cost L of the edge network providing services to mobile users based on the current server deployment location and deployment quantity according to formula (6).
[0075]
[0076] Among them, f i is the fixed cost of using APi, ξ i is the cost of installing a processor in the edge server, and the indicator variable y i Indicates whether the APi is deployed with an edge server. If yes, y i =1, otherwise, y i = 0. i The number of processors installed for the Edge Server.
[0077] Embodiment three:
[0078] This embodiment provides an application example of a method for deploying edge servers based on fitness in a mobile edge network. Figure 1 , Figure 1 This is the Noel network topology in a real environment. The Noel network topology has 19 nodes, and the nodes are connected to each other through 25 data links to achieve data transmission. Each node can be regarded as an AP point. After the nodes are labeled, Figure 2 As shown, a distribution diagram of all AP nodes can be obtained, and each AP has its own service coverage area. Mobile users within the service range are connected to the AP through a one-hop wireless network.
[0079] In order to provide services to users, a certain number of edge servers need to be deployed on the AP of the edge network. Under the requirement of ensuring user service experience, the number of deployed edge servers should be reduced as much as possible. Therefore, the edge servers need to be deployed at appropriate APs. Taking the user delay requirement of 1ms as an example, the method of the present invention includes the following steps:
[0080] Step 1: First, according to Figure 1 The Noel network shown in the figure builds the network model, and the result is as follows Figure 2 shown.
[0081] Step 2: Based on the degree centrality of all AP nodes in the network and the number of users within the service range of each AP in the network, and taking into account the influence of the AP nodes where the edge servers are currently deployed, the fitness of each AP node is calculated according to formula (1).
[0082] Step 3: Select the AP with the highest fitness to deploy the edge server. In this embodiment, the AP node with the highest initial fitness is 15, so the edge server is deployed on the AP node 15.
[0083] Step 4: Calculate the response delay of the service provided by the edge network at this time according to formula (3). In this embodiment, only one edge server is deployed on AP node No. 15, and the response delay of the service provided is 1.8275ms>1ms. Therefore, go to step 5.
[0084] Step 5: Add 1 to the number of edge servers, recalculate the fitness of the remaining nodes in the network except AP node 15, and go to step 3. In this embodiment, after repeating steps 3 to 5 for many times, it is concluded that in this embodiment, 5 edge servers need to be deployed in the edge network to meet the latency requirement of no more than 1ms, and the selected AP nodes are 15, 0, 8, 9, and 12.
[0085] Step 6: Calculate the cost of deploying 5 edge servers at this time according to formula (6).
[0086] In addition, the scalability of the method proposed in the present invention is verified in a random scale-free network. In order to verify the effectiveness of the method proposed in the present invention, the present invention is compared with the existing methods for edge server deployment based on greedy strategies and random deployment strategies. Among them, the random deployment strategy deploys edge servers at AP sites in the edge network in a random manner, which can be referred to in the introduction of “Li, Yuanzhen and Shangguang Wang. “An Energy-Aware EdgeServer Placement Algorithm in Mobile Edge Computing.” 2018 IEEE International Conference on Edge Computing (EDGE) (2018): 66-73”. The greedy strategy selects the top-ranked AP to deploy the edge server according to the ranking of the number of mobile users within the AP service range, which can be specifically referred to in the introduction of “Wang, Shangguang et al. “Edge server placement in mobile edge computing.” J. Parallel Distributed Comput. 127 (2019): 160-168”.
[0087] like Figure 3 As shown in the figure, when the user access delay limit increases from 1.0ms to 2.0ms, the three methods will reduce their respective edge server deployment costs as the access delay is relaxed, and the method proposed in the present invention performs best. This is because as the access delay limit is relaxed, each method can meet the user's access delay requirements by deploying fewer edge servers in the edge network, thereby having a lower deployment cost.
[0088] like Figure 4 As shown in the figure, when the number of mobile users in the network increases from 1000 to 3000, the deployment cost of configuring edge servers in the edge network of the three methods will increase. It can be clearly observed from the figure that the performance of the method proposed in the present invention is better than that of the greedy strategy and the random strategy.
[0089] like Figure 5As shown in the figure, in order to verify the scalability of the method proposed in the present invention, the performance of the proposed method is further verified in a randomly generated small-scale scale-free network topology. The network topology used in the experiment is a random scale-free network generated using the Barabasi-Albert model. As can be seen from the figure, as the number of inherent APs in the edge network increases from 10 to 40, the deployment cost of the edge server configured in the edge network by the method proposed in the present invention is always lower than that of the other two strategies, and as the network scale continues to increase, the advantage of the present invention in reducing deployment costs becomes more and more obvious
[0090] Some steps in the embodiments of the present invention may be implemented using software, and the corresponding software program may be stored in a readable storage medium, such as a CD or a hard disk.
[0091] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for deploying edge servers based on fitness in a mobile edge network, characterized in that: The method comprises: Step 1: Get the topology of the mobile edge network and represent the network topology with G(V,E), where the set V = {v i , i=1,2,...,|V|} represents all wireless access points AP deployed in the network, and the set E={e i ,i=1,2,...,|E|} is the data link set between APs; Step 2: Calculate the fitness W of each AP in the network i , where the fitness W i Three factors are considered comprehensively: the degree centrality of each AP in the edge network topology, the number of mobile users within the coverage of each AP, and the influence factor of the APs of the deployed edge servers on the candidate APs where the next edge server will be deployed; Step 3: Select the AP with the highest fitness to deploy the edge server; Step 4: Calculate the response delay T of the service provided by the mobile edge network after the edge server is deployed a , if the response delay is greater than the delay threshold θ, then add an edge server; otherwise, complete the deployment; Calculate the fitness W of each AP in the network i The calculation formula is: Among them, F i is the impact factor between the ith wireless access point APi and the currently deployed edge server, C i is the degree centrality of APi in the edge network topology, A i is the number of mobile users within the service range of APi, ω={ω1,ω2} is the scaling factor; Among them, t(i,j) is the normalized shortest path hop number between APi and APj in the mobile edge network, β is the distance attenuation coefficient, satisfying 0<β<1, and Q represents the AP set of the currently deployed edge servers.
2. The method according to claim 1, characterized in that The degree centrality of each AP in the edge network topology is the total number of APs directly connected to it.
3. The method according to claim 2, characterized in that In Step 4, the response delay T of the service provided by the mobile edge network after the edge server is deployed is calculated. a ,include: The response delay T is calculated according to the following formula a : Among them, R total is the total number of mobile users in the entire mobile edge network, T v,u The network transmission delay when the edge server deployed at ACu provides services to mobile users in the service area of APv. is the average processing delay of APv for mobile user’s application request, A v The average request arrival rate for mobile user requests routed to APv.
4. The method according to claim 3, characterized in that In Step 4, if the response delay is greater than the delay threshold θ, a new edge server is added, including: If the response delay is greater than the delay threshold θ, the fitness of the remaining APs in the network is recalculated, and the AP with the highest fitness among the remaining APs is selected to deploy the new edge server.
5. The method according to claim 4, characterized in that The network transmission delay T when the edge server deployed at ATu provides services to mobile users in the service area of APv v,u The calculation formula is: Among them, R v represents the number of requests for application services from mobile users in the service area of APv, D ei Indicates that the mobile user requests data on link e i Average transmission time on ∈E; indicator variable When , it indicates that the network link e i In the request transmission path from AP site v to ADu.
6. The method according to claim 5, characterized in that The average processing delay of the APv for the application request of the mobile user The calculation formula is: Among them, μ v Indicates the average service rate of APv.
7. The method according to claim 6, characterized in that The calculation formula for the deployment cost L of the edge server in the mobile edge network is: Among them, f i is the fixed cost of using APi, ξ i is the cost of installing a processor in the edge server, and the indicator variable y i Indicates whether the APi is deployed with an edge server. If yes, y i =1, otherwise, y i =0; z i The number of processors installed for the Edge Server.
8. A mobile edge network, comprising |V| wireless access points AP, and |E| data links between APs, characterized in that: The mobile edge network deploys edge servers according to the method described in any one of claims 1-7.
