A method and system for optimizing edge network data age

By building an edge network data age optimization framework near IoT devices, using micro clouds and remote data centers to optimize the scheduling strategy of data sets, the problem of data processing delay is solved, and the quality of IoT big data analysis and communication is improved.

CN114186416BActive Publication Date: 2024-09-24DALIAN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111513549.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-13
Publication Date
2024-09-24
Estimated Expiration
2041-12-13

AI Technical Summary

Technical Problem

Existing big data processing methods ignore or fail to effectively consider the age of data in IoT devices, resulting in data processing delays and loss of real-time analysis value. The quality of analysis needs to be improved.

Method used

Construct an edge network data age optimization framework, use micro clouds and remote data centers in mobile edge computing networks, and optimize the scheduling strategy of data sets through objective functions and constraints, combined with offline heuristic algorithms, approximation algorithms and online heuristic algorithms. Account for unpredictable request and transfer delays.

Benefits of technology

It improves the analysis quality of IoT big data, reduces data age, improves communication quality, and enables timely data processing near IoT devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114186416B
    Figure CN114186416B
Patent Text Reader

Abstract

The present invention discloses an edge network data age optimization method and system. The method comprises: constructing an edge network data age optimization framework including an objective function and constraints; the objective function is constructed based on data age and transmission processing delay; the constraints include that the data set is scheduled after generation, the data set is placed at a potential location through a base station, the computing power of the potential location is greater than the resource requirements for processing requests, and the budget of the Internet of Things device is not exceeded; the edge network data age optimization offline heuristic algorithm, the edge network data age optimization approximate algorithm or the edge network data age optimization online heuristic algorithm is used to solve the edge network data age optimization framework to obtain a scheduling strategy. The present invention realizes the age-aware big data processing of Internet of Things device applications in the mobile edge computing framework, improves the analysis quality of the big data of Internet of Things devices, and thus improves the communication quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data age optimization, and in particular to a method and system for optimizing edge network data age. Background Art

[0002] With the rapid development of 5G, various Internet of Things (IoT) devices such as sensors, sensing devices, and wearable devices are widely connected to each other. Due to the nature of this machine-to-machine communication, gigabytes of information will shuttle between IoT devices at an unprecedented speed. This requires big data technology to analyze the collected IoT big data and then obtain valuable analytical conclusions. A notable feature of IoT big data is that the quality of analysis depends on the age of data (Age of Data, AoD), where the AoD of a piece of data is defined as the time that has passed since the data was generated. This is because newly generated data is usually "hot" and is frequently accessed. Over time, data becomes cold data and is rarely or never accessed again. Therefore, big data collected from IoT devices must be analyzed in a timely manner to minimize AoD. For example, Google uses AoD to represent the data retention time and data statistics latency in the data flow pipeline.

[0003] Traditional big data analysis mainly deals with big data generated or placed in remote data centers. Since remote data centers are far away from edge IoT devices, there will be severe communication delays in data processing, making the data obsolete and losing its value for real-time analysis. The Mobile Edge Computing (MEC) framework, which deploys cloud computing capabilities near IoT devices, can ensure the timeliness of data processing.

[0004] Currently, existing big data processing methods either ignore the age of the data set or only focus on the processing of age-aware information at the data packet level, assuming a given requested data volume. The analysis quality of IoT big data by existing big data processing methods needs to be improved. Summary of the invention

[0005] Based on this, an embodiment of the present invention provides an edge network data age optimization method and system, which realizes age-aware big data processing of IoT applications in a mobile edge computing framework, takes into account the arrival and transmission of unpredictable requests, and considers the processing of uncertain delays, thereby improving the analysis quality of IoT big data and improving communication quality.

[0006] To achieve the above object, the present invention provides the following solutions:

[0007] A method for optimizing edge network data age, comprising:

[0008] Constructing an edge network data age optimization framework; the edge network data age optimization framework includes an objective function and constraints; the objective function is based on the minimum data age, and is constructed based on the waiting time from generation to processing of a data set generated by an IoT device in a mobile edge computing network, and the delay of transmitting the data set to a potential location and processing the data set; the constraints include that the data set is scheduled after generation, the data set is placed at a potential location through a base station, the computing power of the potential location is greater than the resource requirement for processing the request, and the budget of the IoT device is not exceeded; the potential location includes a micro cloud and a remote data center in a mobile edge computing network;

[0009] When a data set is known in a network environment and does not need to be scheduled at the time of generation, an edge network data age optimization offline heuristic algorithm is used to solve the edge network data age optimization framework to obtain a scheduling strategy; the scheduling strategy is a target location for each data set to achieve the request; the target location is a micro cloud or a remote data center;

[0010] When the data set in the network environment is known and scheduled at the time of generation, the edge network data age optimization framework is solved by using the edge network data age optimization approximation algorithm to obtain a scheduling strategy;

[0011] When the data set is unknown, the arrival and transmission of the request are unknown, and the delay is unknown in the network environment, an edge network data age optimization online heuristic algorithm is used to solve the edge network data age optimization framework to obtain a scheduling strategy.

[0012] Optionally, the objective function is:

[0013]

[0014] Among them, DA m,t represents the data age of the data set generated by the mth IoT device in time slot t; M represents the number of IoT devices; T represents the number of time slots; τ represents the time slot for processing a data set; τ-t represents the waiting time from generation to processing of a data set generated by an IoT device; Represents the set of base stations in the mobile edge computing network; bs k represents the kth base station in the mobile edge computing network; is a set of potential locations; LOC l is the lth potential position; x τ,l,m,k (t) Indicates whether to use LOC l By bs k Process the dataset generated by the mth IoT device at time slot t at time slot τ; d m,k,l,t Indicates that bs kThe data set generated by the mth IoT device at time slot t is transmitted to the LOC l and processing delay;

[0015] The constraints are:

[0016]

[0017]

[0018]

[0019]

[0020] x τ,l,m,k (t)∈{0,1};

[0021] Where R represents the set of requests issued by all IoT devices; ds m,t represents the data set generated by the mth IoT device at time slot t; r m (t) represents ds m,t Corresponding request;δ l Indicates that the LOC l The computing resources consumed by processing a data set of the same size; l ·|ds m,t |Indicates in LOC l The above is for processing ds m,t The total amount of computing resources allocated; C(LOC l ) indicates LOC l The computing power of m,k,l,t represents the total cost; Indicates that ds m,t From the bs directly connected to the mth IoT device k Transfer to LOC l The cost, Indicates ds m,t In LOC l The storage cost in Indicates that the LOC l Processing ds m,t The cost of B m represents the budget of the mth IoT device.

[0022] Optionally, the edge network data age optimization offline heuristic algorithm is used to solve the edge network data age optimization framework to obtain a scheduling strategy, which specifically includes:

[0023] The x in the constraint condition τ,l,m,k (t)∈{0,1} is relaxed to 0≤x τ,l,m,k(t)≤1, the objective function is solved by the simplex method based on the relaxed constraint conditions to obtain the first fractional solution x * τ,l,m,k (t);

[0024] Determine a candidate time slot set according to the first fractional solution and a set threshold and the candidate location set in, η represents the set threshold;

[0025] Based on the candidate time slot set and the candidate position set, a scheduling strategy is obtained by using a heuristic algorithm of bipartite graph minimum weight maximum matching based on the Hungarian algorithm.

[0026] Optionally, the edge network data age optimization approximation algorithm is used to solve the edge network data age optimization framework to obtain a scheduling strategy, which specifically includes:

[0027] Under the condition that the generation time is scheduled, the objective function is changed to The x in the constraint condition τ,l,m,k (t)∈{0,1} is changed to x l,m,k (t)∈{0,1}, and x l,m,k (t)∈{0,1} is relaxed to 0≤x l,m,k (t)≤1, and the updated objective function and relaxed constraints are obtained; where x l,m,k (t) Indicates whether to use LOC l By bs k Process the dataset generated by the mth IoT device at time slot t;

[0028] Based on the relaxed constraints, the updated objective function is solved using the simplex method to obtain the second fractional solution x * l,m,k (t);

[0029] Based on the second fractional solution, a scheduling strategy is obtained by using an approximate algorithm of minimum weight maximum matching.

[0030] Optionally, the edge network data age optimization online heuristic algorithm is used to solve the edge network data age optimization framework to obtain a scheduling strategy, which specifically includes:

[0031] The multi-armed bandit method is used to predict the delay of the data set being transmitted to the potential location and processed, and obtain the delay prediction value;

[0032] The delay prediction value is input into the edge network data age optimization framework, and the edge network data age optimization approximation algorithm is used to solve it to obtain the scheduling strategy.

[0033] Optionally, the scheduling strategy is obtained based on the candidate time slot set and the candidate position by using a heuristic algorithm based on the minimum weight maximum matching of a bipartite graph implemented by the Hungarian algorithm, specifically including:

[0034] Adding the data set to a first set of nodes in the bipartite graph, and adding the virtual positions created for each time slot to a second set of nodes in the bipartite graph;

[0035] Sort the data sets in the first group of nodes in ascending order to obtain a list of data sets in ascending order;

[0036] For any data set in the ascending data set list and any virtual position in the second group of nodes, when the first condition, the second condition and the third condition are met at the same time, an edge is added between the data set and the virtual position, and the edge weight of the edge is the data age corresponding to the data set when the data set is processed at the virtual position; the first condition is that the time slot for processing the data set belongs to the candidate time slot set And the virtual position belongs to the candidate position set The second condition is that the computing power of the virtual location is greater than the resource requirements for processing the request; the third condition is that it does not exceed the budget of the IoT device that generates the data set;

[0037] Traversing all data sets in the ascending data set list to obtain the edge set of the bipartite graph, and selecting an optimal edge set from the edge set using the Hungarian algorithm; the optimal edge set satisfies an edge selection condition; the edge selection condition is that the data set in the first group of nodes has and only has one edge connected to the virtual position in the second group of nodes, and the sum of the edge weights of all edges is the smallest; the virtual position connected by each edge in the optimal edge set is used as the target position of the corresponding data set to implement the request;

[0038] When all data sets find the target location to achieve the request, the scheduling strategy is obtained.

[0039] Optionally, the step of obtaining a scheduling strategy based on the second fractional solution by using an approximate algorithm of minimum weight maximum matching specifically includes:

[0040] Solve x according to the second fraction * l,m,k (t) is the potential location LOC l Create κ l virtual locations; deg l Indicates potential location LOC l The distribution score of

[0041] Adding the data set to a first set of nodes in the bipartite graph and adding the virtual position to a second set of nodes in the bipartite graph;

[0042] Sort the data sets in the first group of nodes in descending order to obtain a list of data sets in descending order;

[0043] For any dataset ds in the descending dataset list m,t and any virtual position in the second set of nodes When satisfied When , add an edge The edge weight is in Otherwise, add two edges, the first of which is The edge weight is in Article 2 is The edge weight is in Represents the dataset ds m,t In a virtual location The assigned score, Represents the dataset ds m,t In a virtual location the points assigned;

[0044] Using the minimum weight maximum matching method to find the optimal edge for the data set, and using the virtual position connected by the optimal edge as the target position of the data set to implement the request;

[0045] When all data sets find the target location to achieve the request, the scheduling strategy is obtained.

[0046] Optionally, the multi-armed bandit-based method predicts the delay of transmitting the data set to the potential location and processing it to obtain a delay prediction value, specifically including:

[0047] The probability of each expert being selected is calculated according to the weight of each expert in the current time slot; one expert corresponds to a number of arms, and the expert is used to predict the delay of all the corresponding arms; the arm is a pair consisting of a base station and a potential position;

[0048] determining a target expert based on the probability;

[0049] The target expert is used to predict the delay of the data set being transmitted to the potential location and processed to obtain a delay prediction value.

[0050] Optionally, the calculating the probability of each expert being selected according to the weight of each expert in the current time slot specifically includes:

[0051] according to Determine the weight of each expert in the current time slot; where wτ+1 (exp n ) indicates expert exp n The weight at the current time slot, w τ (exp n ) indicates expert exp n The weight in the previous time slot, c τ (exp n ) indicates expert exp n The cost accepted in the previous time slot; ∈ is a constant and 0<∈≤1 / 2;

[0052] according to Calculate the probability of each expert being selected; where p τ+1 (exp n ) indicates expert exp n The probability of being selected in the current time slot, N represents the total number of experts.

[0053] The present invention also provides an edge network data age optimization system, comprising:

[0054] A model building module is used to build an edge network data age optimization framework; the edge network data age optimization framework includes an objective function and constraints; the objective function is based on the minimum data age, and is constructed based on the waiting time from generation to processing of a data set generated by an IoT device in a mobile edge computing network and the delay of transmitting the data set to a potential location and processing the data set; the constraints include that the data set is scheduled after generation, the data set is placed at a potential location through a base station, the computing power of the potential location is greater than the resource requirement for processing the request, and the budget of the IoT device is not exceeded; the potential location includes a micro cloud and a remote data center in a mobile edge computing network;

[0055] A first scheduling strategy generation module is used to solve the edge network data age optimization framework using an edge network data age optimization offline heuristic algorithm to obtain a scheduling strategy when a data set in a network environment is known and does not need to be scheduled at the time of generation; the scheduling strategy is a target location for each data set to achieve the request; the target location is a micro cloud or a remote data center;

[0056] A second scheduling strategy generation module is used to solve the edge network data age optimization framework using an edge network data age optimization approximation algorithm to obtain a scheduling strategy when a data set in a network environment is known and scheduled at the generation time;

[0057] The third scheduling strategy generation module is used to solve the edge network data age optimization framework using an edge network data age optimization online heuristic algorithm to obtain a scheduling strategy when the data set in the network environment is unknown, the arrival and transmission of the request are unknown, and the delay position is unknown.

[0058] Compared with the prior art, the present invention has the following beneficial effects:

[0059] The embodiment of the present invention proposes an edge network data age optimization method and system, constructs an edge network data age optimization framework in IoT big data processing, and for different network environments (the data set is known and does not need to be scheduled at the time of generation, the data set is known and is scheduled at the time of generation, the data set is unknown, the arrival and transmission of the request are unknown and the delay is unknown), the edge network data age optimization offline heuristic algorithm, the edge network data age optimization approximate algorithm or the edge network data age optimization online heuristic algorithm is used to solve the edge network data age optimization framework to obtain a scheduling strategy. The present invention realizes the age-aware big data processing of IoT applications in the mobile edge computing framework, taking into account the arrival and transmission of unpredictable requests, and the processing of uncertain delays, thereby improving the analysis quality of IoT big data and improving the communication quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. 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 paying creative labor.

[0061] Figure 1 A flow chart of an edge network data age optimization method provided by an embodiment of the present invention;

[0062] Figure 2 A structural diagram of a hierarchical MEC network provided in an embodiment of the present invention;

[0063] Figure 3 A schematic diagram of the structure of a bipartite graph provided by the present invention. DETAILED DESCRIPTION

[0064] 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.

[0065] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0066] In order to meet the timeliness and huge resource requirements of big data processing, this embodiment considers a hierarchical MEC network consisting of a local cloud and a remote cloud (remote service center) operated by an IoT service provider. In the MEC network, multiple IoT devices measure the physical environment of an area, and all measurements need to be sent to the cloud of the MEC network or the remote cloud through their nearby base stations. This embodiment studies the age-aware big data processing of IoT applications in such a hierarchical MEC network to minimize the AoD of IoT big data analysis.

[0067] Minimizing the AoD of IoT big data analytics in hierarchical MEC networks poses several fundamental challenges. First, the AoD minimization problem involves a complex interaction between the time to wait before transmission, data transmission delay, and processing delay. At the generation of a dataset, a decision needs to be made whether to schedule the processing of the dataset or wait. Specifically, if a dataset is scheduled for transmission immediately after generation, the micro-cloud or backhaul link may be too congested to process the dataset. Conversely, if a dataset is delayed, its AoD may increase. However, the dataset may be processed very quickly, offsetting the increased AoD due to waiting for scheduling and transmission delay. How to jointly consider the generation time of the dataset, the resource availability of the micro-cloud, and the transmission delay in IoT big data processing is a challenge. Second, IoT service requests usually enter the system dynamically, and the network delay cannot be predicted in advance. How to use deep learning techniques to assist in scheduling big data analytics requests with uncertain network delays while minimizing the regret bound of the decision is the second challenge. Third, each IoT service provider has its own budget in terms of energy, transmission, and processing costs to avoid unpredictable cost surges in unexpected situations. In addition, the micro-clouds and remote cloud data centers in MEC networks have limited computing resource capacity. It is a challenge to jointly consider the limitations of budget and resource capabilities while minimizing the AoD of IoT big data analytics.

[0068] Although there are extensive studies on big data processing in remote clouds or MEC networks, most of them ignore the AoD requirements of IoT big data processing. Most of these studies do not consider the uncertain delay of MEC networks. In addition, their goal is to minimize the age of packet-level data rather than big data scenarios. This embodiment implements age-aware big data processing of IoT applications in MEC networks, and considers the arrival and transmission of unpredictable requests, and the processing of uncertain delays.

[0069] See also Figure 1 , the edge network data age optimization method provided in this embodiment includes:

[0070] Step 101: Build an edge network data age optimization framework.

[0071] The edge network data age optimization framework includes an objective function and constraints; the objective function is to minimize the data age and is constructed based on the waiting time from generation to processing of the data set generated by the IoT device in the mobile edge computing network and the delay in transmitting the data set to the potential location and processing it; the constraints include that the data set is scheduled after generation, the data set is placed at the potential location through the base station, the computing power of the potential location is greater than the resource requirements for processing the request and does not exceed the budget of the IoT device; the potential location includes micro clouds and remote data centers in the mobile edge computing network.

[0072] Step 101 specifically includes:

[0073] 1) MEC network structure:

[0074] This example considers a hierarchical MEC network operated by an IoT service provider. like Figure 2 As shown, it consists of a group of micro clouds and a set of remote data centers Composition. Use CL i and DC j Represents a micro-cloud and a remote data center. Each micro-cloud There are servers that implement various user requests. i ) and C(DC j ) respectively represent the i Remote data centers DC j IoT devices use computing power to process IoT device data. The base stations in the IoT access the micro cloud, where an IoT device may be within the range of multiple base stations. k for The base stations in . E is a set of communication links connecting the micro cloud and the remote data center. Figure 2 In the figure, 11 represents edge cloud, 12 represents switch, and 13 represents data processing.

[0075] IoT devices continuously generate data, and IoT applications issue requests to process the generated data. m is an IoT device with subscript m. In a given monitoring period, each dv m Generate data continuously and divide this time period into equal time slots. m (t) represents IoT device dv m Requests at time slot t, let R(t) be the request set of all IoT devices at time slot t. m,t Indicates IoT device dv mDataset generated at time slot t. When IoT device generates data set ds at time slot t m,t When m (t). Assuming that the time slot for processing the data set is τ, then r m The AoD of (t) is defined as τ-t.

[0076] For ease of description, we consider micro-clouds and remote data centers as potential locations for fulfilling requests. is the set of potential locations, that is Set LOC l for A potential location in the l The computing power is expressed in C (LOC l )express.

[0077] 2) Cost model:

[0078] The IoT service provider of MEC network owns its own IoT devices and rents resources from cloud service providers to process its IoT big data. Therefore, the data transmission, processing and storage costs are regarded as system overhead. m The dataset ds m,t The base station bs k After transmission, it is placed in a micro cloud or a remote data center. k,l To pass the base station bs k and LOC l The communication link between the two is the cost of transmitting unit-sized data. m (t) From IoT device dv m Directly connected bs k Transfer to LOC l The cost is

[0079]

[0080] Assume that at location LOC l Processing a data set of unit size consumes computing resources δ l , where δ l is a known constant. Then at LOC l The above is the processed data set ds m,t The total amount of computing resources allocated is δ l ·|ds m,t |. Use c l Indicates that the LOC l The cost of using unit computing resources in LOC l Processing data set ds m,t The cost is

[0081]

[0082] At location LOC l Storing a unit-sized data in will produce φ l The cost of l is a known constant. For the dataset ds m,t In LOC l The storage cost in is

[0083]

[0084] 3) Delay Model:

[0085] Assume d m,k For a unit size of data in the base station bs k The delay of wireless channel transmission, d k,l For a unit of data from bs k Transfer to location LOC l The delay of l YesLocationLOC l The delay of processing a unit size of data in the base station bs k The dataset ds m,t Transfer to location LOC l The processing delay is

[0086] d m,k,l,t =(d m,k +d k,l +d l )·|ds m,t | (4)

[0087] 4) Design of edge network data age optimization framework (ILP data age minimization model):

[0088] Assume that each IoT device dv m Given a budget B m For storing, transmitting, and processing their datasets, the AoD minimization problem in hierarchical MEC networks is to minimize the total data age of all datasets processed by the MEC network, constrained by each potential location. The computing power and budget of each IoT device B m and the cost of storing, transmitting, and processing its dataset over time horizon T.

[0089] This embodiment transforms the AoD minimization problem in the hierarchical MEC network into an integer linear programming (ILP) and proposes a solution framework for an exact solution. Let τ be the processing ds of the micro cloud or data center m,t The time slot of the dataset dsm,t The transmission and processing may not be scheduled immediately after its generation, and the waiting time from the generation of a dataset to its processing is τ-t. Once the scheduling is completed, the dataset ds m,t Will be transferred to a micro cloud or data center. ds m,t The transmission and processing time determines the ds m,t AoD. Let x τ,l,m,k (t) is a 0-1 decision variable indicating whether to use LOC l Through the base station bs k Process the dataset ds generated by the mth IoT device at time slot t at time slot τ m,t . Then ds m,t The AoD is

[0090]

[0091] The objective function is:

[0092]

[0093] Among them, DA m,t represents the data age of the data set generated by the mth IoT device in time slot t; M represents the number of IoT devices; T represents the number of time slots;

[0094] The constraints are:

[0095]

[0096]

[0097]

[0098]

[0099] x τ,l,m,k (t)∈{0,1} (11)

[0100] Where R represents the set of requests issued by all IoT devices; ds m,t represents the data set generated by the mth IoT device at time slot t; r m (t) represents ds m,t Corresponding request;δ l Indicates that the LOC l The computing resources consumed by processing a data set of the same size; l ·|ds m,t |Indicates in LOC l The above is for processing ds m,t The total amount of computing resources allocated; C(LOC l ) indicates LOCl The computing power of m,k,l,t represents the total cost; Indicates that ds m,t From the bs directly connected to the mth IoT device k Transfer to LOC l The cost, Indicates ds m,t In LOC l The storage cost in Indicates that the LOC l Processing ds m,t The cost of B m represents the budget of the mth IoT device.

[0101] Where, formula (7) ensures that the request r m (t) dataset ds m,t Cannot be scheduled before generation; Formula (8) ensures that the data set ds m,t Placed in a micro cloud or a remote data center through a base station; Formula (9) indicates that the computing power of a location is not less than the total resource requirements of the requests allocated to it; Formula (10) ensures that the budget of each IoT device is not exceeded.

[0102] Step 102: When the data set in the network environment is known and does not need to be scheduled at the time of generation, the edge network data age optimization offline heuristic algorithm (Heu) is used to solve the edge network data age optimization framework to obtain a scheduling strategy. The scheduling strategy is the target location for each data set to achieve the request; the target location is a micro cloud or a remote data center.

[0103] The step 102 specifically includes:

[0104] 1) Considering the high time complexity of ILP, when the problem scale is large, the solution based on ILP may not provide effective expansion. Therefore, an effective heuristic algorithm is designed for the offline data age minimization problem. In the absence of budget constraints, an approximation algorithm with approximation ratio is proposed. The basic idea is to relax ILP into LP (linear program). Specifically, the x in the constraint condition is τ,l,m,k (t)∈{0,1} is relaxed to 0≤x τ,l,m,k (t)≤1, and the optimization function of LP is consistent with other constraints and ILP. In this way, the simplex method is used to solve the objective function based on the relaxed constraints, and a fractional solution of LP can be obtained in polynomial time, that is, a set of x that minimizes AoD. τ,l,m,k The optimal value of (t) is expressed as x *τ,l,m,k (t) represents the optimal fractional solution (the first fractional solution) of LP.

[0105] 2) Some non-integer values ​​of the first fractional solution represent the conversion of a single data set ds m (t) is scheduled to different time slots and split into multiple locations (micro-clouds or remote data centers). However, this solution is illegal for the original problem because each dataset can only be scheduled in one time slot and assigned to only a single location for processing. Therefore, it is necessary to modify the fractional solution to a feasible integer solution of the original problem. To this end, a set of candidate time slots and candidate locations are first obtained, so that each dataset ds is assigned to a feasible integer solution based on the fractional solution. m,t Specifically, a threshold η is set for the non-integer value of each variable in the fractional solution, and the time slots, micro-clouds or remote data centers corresponding to the non-integer values ​​greater than η in the fractional solution are regarded as candidate time slots, candidate micro-clouds or candidate data centers, respectively. That is, according to the first fractional solution and the set threshold, the data set ds is determined. m,T The candidate time slot set and the candidate location set in,

[0106] 3) Based on the candidate time slot set and the candidate position set, a scheduling strategy is obtained by using a heuristic algorithm based on the minimum weight maximum matching of a bipartite graph implemented by the Hungarian algorithm. Specifically:

[0107] By converting the LP problem into a minimum weight maximum matching problem in a bipartite graph, the fractional solution of LP is rounded. Let G′ be the constructed bipartite graph, such as Figure 3 As shown, there are two groups of nodes V a and V b And an edge set E′. By putting each data set ds m,t Add to V a Initialize, then for each location LOC l Create T virtual locations, one for each time slot τ∈[1,T]. l,τ represents the virtual position corresponding to the time slot τ. Add these virtual positions to V b .

[0108] Sort all datasets in ascending order by their size and consider the sorted datasets one by one. For each dataset ds in the list of sorted datasets m,t , add a link ds to the edge set E′ if and only if the following conditions are met m,t and LOC l,τ The edge:

[0109] The first condition: τ is in the set Medium, LOC l In the collection (the time slot for processing the data set belongs to the candidate time slot set And the virtual position belongs to the candidate position set

[0110] Second condition: Processing ds m,t Does not violate LOC l The computing resource capacity at time τ, that is, all the sum LOC in G′ l,τ Datasets with edges and ds m,t The data sets are all in LOC l The computing resources required for processing do not exceed C(LOC l )(the computing power of the virtual location is greater than the resource requirements to process the request);

[0111] The third condition: not violating IoT device DV m Budget B m (Not exceeding the budget of the IoT device generating said dataset).

[0112] And set the weight of this edge to ds m,t AoD, that is, w( <ds m,t ,LOC l,τ >)=DA m,t Then, the Hungarian algorithm is used to find the minimum weight maximum matching in the bipartite graph G′. Specifically, the Hungarian algorithm is used to find a minimum weight maximum matching for the bipartite graph G′, that is, a set of edges is selected from the edge set E′ of the bipartite graph: a Any node (data set) in V has only one edge with V b While connecting any node (virtual location) in the cloud, the sum of the weights of the selected edges is minimized as much as possible. This matching actually corresponds to allocating a subset of all the data sets to be scheduled to the micro cloud and the remote data center. This is repeated until all data sets are scheduled.

[0113] Step 3) is summarized as follows:

[0114] In a matching process, first, the data set is added to the first group of nodes of the bipartite graph, the virtual position created for each time slot is added to the second group of nodes of the bipartite graph, and the data sets in the first group of nodes are sorted in ascending order to obtain an ascending data set list. Then, for any data set in the ascending data set list and any virtual position in the second group of nodes, when the first condition, the second condition and the third condition are met at the same time, an edge is added between the data set and the virtual position, and the edge weight of the edge is the data age corresponding to the data set when the data set is processed at the virtual position. All data sets in the ascending data set list are traversed to obtain the edge set of the bipartite graph, and the Hungarian algorithm is used to select the optimal edge set from the edge set. The selection principle of the optimal edge set is: the Hungarian algorithm is used to find a minimum weight maximum matching for the bipartite graph, that is, a set of edges is selected from the edge set of the bipartite graph, while ensuring that as many as possible nodes (data sets) in the first group of nodes have and only have one edge connected to any node (virtual position) in the second group of nodes, while minimizing the sum of the weights of the selected edges as much as possible. Therefore, the optimal edge set should meet the following edge selection conditions: the data set in the first group of nodes has one and only one edge connected to the virtual position in the second group of nodes, and the sum of the edge weights of all edges is the smallest. The virtual position connected by each edge in the optimal edge set is used as the target position for the corresponding data set to implement the request. The optimal edge set is the scheduling strategy obtained by a matching process.

[0115] Since the algorithm matching is relatively conservative, some data sets will not match any virtual location in a single round. The algorithm needs to be repeated for multiple rounds to match each data set to a virtual location, that is, to obtain a complete scheduling strategy. Therefore, when all data sets find the target location that implements the request, the final complete scheduling strategy is obtained.

[0116] The specific steps of the above Heu algorithm are formally summarized as follows:

[0117] 1. Solve LP and get the fractional solution x * τ,l,m,k (t);

[0118] 2. Initialization

[0119] 3. Set V according to the size of the data set a Sort in ascending order;

[0120] 4. Initialization

[0121] 5. Initialize E′={}, V b ={};

[0122] 6. For each position Add T virtual positions to V b , these T virtual positions are respectively used

[0123] LOC l,1 ...,LOC l,τ ...,LOC l,T express;

[0124] 7. For each ds m,t ∈V a With LOC l,τ ∈V b , if satisfied And process the data set ds m,t Constraints (7)-(10) will not be violated, that is, all sums in G′ l,τ Datasets with edges and ds m,t The data sets are all in LOC l The computing resources required for processing do not exceed C(LOC l ), and in LOC l Processing ds m,t No violation of IoT device DV m Budget B m , then add a weight of DA m,t Edge <ds m,t ,LOC l,τ > to E′;

[0125] 8. In G′={V a ,V b ; In E′}, the Hungarian algorithm is called to find a minimum weight maximum matching M′, that is, to select a subset of edges in the edge set E′, while ensuring that as many V a Any node (data set) in V has only one edge with V b While connecting any node (virtual position) in the network, try to minimize the sum of the weights of the selected edges;

[0126] 9. Update the dataset schedule according to M′, that is, every edge (match) existing in M′ <ds m,t ,LOC l,τ > represents the corresponding data set ds m,t Assigned to location LOC l Processing is performed at time τ; let has not yet been scheduled};

[0127] 10. If V a ≠{}, return to step 5; otherwise, output the complete scheduling strategy of the data set.

[0128] Step 103: When the data set in the network environment is known and scheduled at the time of generation, the edge network data age optimization approximation algorithm (Appro) is used to solve the edge network data age optimization framework to obtain a scheduling strategy.

[0129] The step 103 specifically includes:

[0130] 1) Edge network data age optimization approximation algorithm considers a special case of the ILP problem - the data set must be scheduled for transmission immediately at the time of generation, that is, τ = t. τ,l,m,k (t) is replaced by x l,m,k (t), that is, under the condition that the generation time is scheduled, the objective function is changed to The x in the constraint condition τ,l,m,k (t)∈{0,1} is changed to x l,m,k (t)∈{0,1}. The basic idea of ​​the Appro algorithm is similar to that of the Heu algorithm. Both use the LP rounding method, that is, firstly perform appropriate relaxation and convert the constraint condition x in ILP-SC into l,m,k (t)∈{0,1} is relaxed to 0≤x l,m,k (t)≤1, and the updated objective function and relaxed constraints are obtained; where x l,m,k (t) Indicates whether to use LOC l By bs k Process the dataset generated by the mth IoT device at time slot t.

[0131] 2) Based on the relaxed constraints, the updated objective function is solved using the simplex method to obtain the second fractional solution x * l,m,k (t).

[0132] Specifically, the ILP-SC in step 1) may reduce the quality of the solution because the fractional solution obtained after relaxation may cause the data set to be "split" into many small pieces. To avoid this, a parametric LP relaxation method is used. By relaxing the problem into an LP, only the resource consumption that does not exceed the threshold res is allowed to be th The data sets are assigned to micro-clouds or remote data centers for processing.

[0133] Let LP-SC(res th ) is the ILP-SC problem after parameter LP relaxation, and its objective function remains unchanged, that is:

[0134]

[0135] At the same time, subject to formulas (7)-(10), 0≤x l,m,k (t)≤1 and for all satisfying |dsm,t |·δ l >res th ds m,t The existence of x l,m,k (t)=0, by solving LP-SC(res th ) to obtain the second fractional solution x * l,m,k (t).

[0136] 3) Based on the second fractional solution, a scheduling strategy is obtained by using an approximate algorithm of minimum weight maximum matching.

[0137] Specific:

[0138] Based on x * l,m,k (t), construct another bipartite graph G″=(V″ a ,V″ b ; E″), where V″ a and V″ b For two sets, E″ is the connection V″ a and V″ b A collection of connected lines.

[0139] use Indicates location LOC l The score distribution, that is, the distribution to the location LOC l The sum of the fractional proportions of the data set. Let In G″, LOC l Create κ l virtual positions, namely, κ l LOC l , respectively. Indicates and adds to V″ b This ensures that LOC l Assigned to κ l or (κ l -1) data sets to be processed. If each data set is evenly distributed to the location LOC l κ l In the number of copies, a fractional solution to the problem can be obtained by solving the minimum weight maximum matching problem, as shown in Algorithm Heu. In addition, an integer solution with an approximately unchanged AoD compared to the fractional solution can also be obtained, but this does not guarantee the position LOC l Capacity constraints and IoT devices m The extent of the budget violation.

[0140] In order to constrain the violation of computing resource capacity and budget constraints, data sets with roughly similar data volumes are assigned to locations LOC lTo do this, sort the datasets in descending order by data size and check each dataset in turn. Specifically, start with the first replica at each location, i.e., LOC l1 .if only Just in ds m,t and LOC l1 Add an edge between them and set the edge weight to the partial AoD calculated according to the fractional solution, that is, x * l1,m,k (t)·d m,k,l,t When encountering a data set, consider this data set will When it changes from less than 1 to greater than 1, it is LOC l1 Add a fractional distribution such that (and correspondingly in ds m,t and LOC l1 Add an edge between them), and then add an edge to LOC l2 Add a score assignment At the same time, add an edge This process is repeated until all data sets are considered. After constructing the bipartite graph G″, find the minimum weight maximum matching M″ for G″.

[0141] Step 3) is summarized as follows:

[0142] Solve x according to the second fraction * l,m,k (t) is the potential location LOC l Create κ l virtual locations; deg l Indicates potential location LOC l The distribution score of Add the data set to the first set of nodes in the bipartite graph, and add the virtual position to the second set of nodes in the bipartite graph. Sort the data sets in the first set of nodes in descending order to obtain a list of data sets in descending order. For any data set ds in the list of data sets in descending order m,t and any virtual position in the second set of nodes When satisfied When , add an edge The edge weight is in Otherwise, add two edges, the first of which is The edge weight is in Article 2 is The edge weight is in The minimum weight maximum matching method is used to find the optimal edge for the data set, and the virtual position connected by the optimal edge is used as the target position of the data set to implement the request. The selection principle of the optimal edge is similar to the selection principle of the algorithm Heu, that is, a set of edges is selected from the edge set of the bipartite graph, while ensuring that as many as possible any nodes (data sets) in the first group of nodes have and only have one edge connected to any node (virtual position) in the second group of nodes, and the sum of the weights of the selected edges is minimized as much as possible. When all data sets find the target position to implement the request, the scheduling strategy is obtained.

[0143] The specific steps of the Appro algorithm are as follows:

[0144] 1. Solve LP-SC (res th ), and get the fractional solution x * l,m,k (t);

[0145] 2. For each location LOC l ,Add to Virtual nodes to V″ b ;

[0146] 3. Add all data sets into V″ a , and V″ is set according to the size of the data set. a Sort in descending order;

[0147] 4. For each Consider its virtual node The allocation starts from the first virtual node κ=1 and considers all data sets in order: for each data set ds m,t ∈V a ,if When , E″ adds an edge The edge weight is in Otherwise, add two edges to E″, the first of which is The edge weight is in Article 2 is The edge weight is in Represents the dataset ds m,t In a virtual location The assigned score, Represents the dataset ds m,t In a virtual location The assigned score.

[0148] 5. When G″={V″ a ,V″ b ; Find a minimum weight maximum matching M″ in E″};

[0149] 6. Update the data set scheduling according to M′; output the complete scheduling strategy of the data set.

[0150] Step 104: When the data set in the network environment is unknown, the arrival and transmission of the request are unknown, and the delay is unknown, the edge network data age optimization online heuristic algorithm (OL_MAB) is used to solve the edge network data age optimization framework to obtain a scheduling strategy.

[0151] The step 104 specifically includes:

[0152] The multi-armed bandit-based method predicts the delay of transmitting a data set to a potential location and processing it, and obtains a delay prediction value. The delay prediction value is input into the edge network data age optimization framework, and is solved using the edge network data age optimization approximation algorithm to obtain a scheduling strategy. Among them, the prediction process of the multi-armed bandit-based method is as follows: the probability of each expert being selected is calculated based on the weight of each expert in the current time slot; one expert corresponds to several arms, and the expert is used to predict the delay of all corresponding arms; the arm is a pair consisting of a base station and a potential location. According to Determine the weight of each expert in the current time slot; w τ+1 (exp n ) indicates expert exp n The weight at the current time slot, w τ (exp n ) indicates expert exp n The weight in the previous time slot, c τ (exp n ) indicates expert exp n The cost accepted in the previous time slot, ∈ is a constant and 0<∈≤1 / 2. Calculate the probability of each expert being selected; p τ+1 (exp n ) indicates expert exp n The probability of being selected in the current time slot. Determine the target expert based on the probability. Use the target expert to predict the delay of the data set being transmitted to the potential location and processed to obtain a delay prediction value.

[0153] In practical applications, a specific implementation process of step 104 is as follows:

[0154] In practical scenarios, processing and transmission delays are uncertain because they depend on the wireless channel, link congestion, and the workload of the micro cloud / data center. Assume that many "probes" are deployed in the MEC network to monitor and predict delays by issuing queries to network components. However, when requests are assigned to micro clouds or data centers, the predicted delay may not be the actual delay. The uncertainty of network delay is handled by a multi-armed bandit algorithm designed for "experts". Specifically, the probes deployed in the MEC network are regarded as "experts". These experts obtain processing and transmission delays from base stations, micro clouds, data centers, and links. Requests are then assigned based on the delay information, and the experts track the actual delay experienced by the requests.

[0155] The basic idea is that at the beginning of each time slot τ, each expert predicts the delay of transmitting and processing unit-sized data in the MEC network G through an autoregressive prediction model. Then the algorithm Appro is called to allocate requests to micro-clouds and remote data centers based on the predicted information. At the end of the time slot τ, the actual delay can be obtained through the deployed probes, thereby calculating the cost of each expert.

[0156] This step proposes an online learning algorithm, assuming that there are N experts in the MEC network G. Each pair of a base station and a micro cloud (or a data center) is regarded as an arm in a MAB algorithm. In actual network deployment, one expert corresponds to one probe, monitoring a small number of network nodes and links. Each expert is responsible for a subset of the arm set and recommends an arm by predicting the delay of the arm it has learned. If the delay of the recommended arm is different from the actual delay, it will receive a penalty.

[0157] Let exp n is an expert, where 1≤n≤N. Each arm corresponds to two parts: a base station bs k and a location LOC l The algorithm initially assigns each expert a weight of 1, which represents full trust in its delay predictions for base stations and locations. As the algorithm iterates, at each time slot τ, it reduces the expert's weight according to the cost (i.e., penalty) received. The probability of the algorithm selecting an expert is proportional to its weight. Let w τ (exp n ) is the expert exp n The weight, p τ (exp n ) is the expert exp n The probability of being selected in time slot τ is defined as

[0158]

[0159] The selected expert reports the delay of its base station location pair (i.e., arm). The algorithm Appro is then called, and Appro assigns the request to the microcloud and data center for processing based on the delay reported by the expert. The data set of the assigned request is then processed. After the request is executed, the actual delay for processing and transmitting one unit of data can be obtained. Based on the actual delay, the expert obtains a corresponding cost. Let this cost be the difference between the predicted delay and the actual delay. If the delay reported by the expert differs too much from the actual delay, the expert will receive a higher cost (i.e., penalty). Let To pass the base station bs k At location LOC l Processing IoT device dv m The delay of the data set. τ (exp n ) indicates expert exp n The price of acceptance is

[0160]

[0161] in and Expert exp n The set of monitored base stations and locations, For LOC l Through bs k Processing ds m,t To avoid experts with large prediction deviations from being selected, their weights are reduced by the following formula:

[0162]

[0163] The specific steps of the online heuristic algorithm OL_MAB are as follows:

[0164] 1. For each expert exp n Initialize weight w1(exp n )=1;

[0165] 2. In the time slot τ, select the expert exp according to the formula n The probability p τ (exp n );

[0166] 3. Select experts based on corresponding probabilities;

[0167] 4. Each selected expert predicts the transmission and processing delays of its corresponding base station and location;

[0168] 5. Call the Appro algorithm and use the delay predicted by the expert as the algorithm input;

[0169] 6. Perform scheduling according to the data set scheduling results output by Appro;

[0170] 7. The cost of obtaining an expert is based on the weight of the updated expert;

[0171] 8. If the current time slot is not the final time slot τ<T, enter the next time slot τ=τ+1 and jump to step 2 to continue execution; otherwise the algorithm ends.

[0172] The edge network data age optimization framework in this embodiment considers the generation of IoT device data sets in edge networks, proposes an edge network data age optimization framework, and expresses the data age optimization problem as ILP.

[0173] This embodiment proposes an effective heuristic algorithm to solve the offline data age optimization problem for edge network data age optimization. The offline heuristic algorithm for edge network data age optimization (Heu), in the offline case of a known data set, based on the ILP solution of the above framework, designs a heuristic algorithm based on minimum weight maximum matching to obtain a data set scheduling strategy with minimized AoD.

[0174] This embodiment proposes an approximate algorithm based on parameterized rounding for the zero-wait offline data age optimization problem of a data set. The edge network data age optimization approximate algorithm (Appro), in the offline case of a known data set set, for a special case of the AoD optimization problem, that is, the data set must be scheduled immediately at the time of generation (zero wait), based on the ILP solution of the above framework, an approximate algorithm based on minimum weight maximum matching is designed to obtain a data set scheduling strategy that minimizes AoD.

[0175] This embodiment proposes an online learning algorithm based on a multi-armed bandit to solve the problem of online data age optimization. The online heuristic algorithm for edge network data age optimization (OL_MAB) is designed based on the ILP solution of the above framework to obtain a data set scheduling strategy with minimum AoD in the case of unknown data set set, unknown data transmission, and processing delay.

[0176] The present invention also provides an edge network data age optimization system, comprising:

[0177] A model building module is used to build an edge network data age optimization framework; the edge network data age optimization framework includes an objective function and constraints; the objective function is to minimize the data age, based on the waiting time from generation to processing of a data set generated by an IoT device in a mobile edge computing network and the delay in transmitting the data set to a potential location and processing it; the constraints include that the data set is scheduled after generation, the data set is placed at a potential location through a base station, the computing power of the potential location is greater than the resource requirements for processing the request, and the budget of the IoT device is not exceeded; the potential location includes a micro cloud and a remote data center in a mobile edge computing network.

[0178] The first scheduling strategy generation module is used to solve the edge network data age optimization framework using an edge network data age optimization offline heuristic algorithm to obtain a scheduling strategy when a data set in a network environment is known and does not need to be scheduled at the time of generation; the scheduling strategy is a target location for each data set to achieve the request; the target location is a micro cloud or a remote data center.

[0179] The second scheduling strategy generation module is used to solve the edge network data age optimization framework using an edge network data age optimization approximation algorithm to obtain a scheduling strategy when a data set in a network environment is known and is scheduled at the time of generation.

[0180] The third scheduling strategy generation module is used to solve the edge network data age optimization framework using an edge network data age optimization online heuristic algorithm to obtain a scheduling strategy when the data set in the network environment is unknown, the arrival and transmission of the request are unknown, and the delay position is unknown.

[0181] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0182] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A method for optimizing edge network data age, characterized in that: include: Construct edge network data age optimization framework; The edge network data age optimization framework includes an objective function and constraints; The objective function is constructed with the goal of minimizing the data age, based on the waiting time from generation to processing of a data set generated by an IoT device in a mobile edge computing network and the delay of transmitting the data set to a potential location and processing the data set; the constraints include that the data set is scheduled after generation, the data set is placed at the potential location through a base station, the computing power of the potential location is greater than the resource requirement for processing the request, and the budget of the IoT device is not exceeded; the potential location includes a micro cloud and a remote data center in a mobile edge computing network; When the data set in the network environment is known and does not need to be scheduled at the time of generation, an edge network data age optimization offline heuristic algorithm is used to solve the edge network data age optimization framework to obtain a scheduling strategy; The scheduling strategy is a target location for each data set to achieve the request; the target location is a micro cloud or a remote data center; When the data set in the network environment is known and scheduled at the time of generation, the edge network data age optimization framework is solved by using the edge network data age optimization approximation algorithm to obtain a scheduling strategy; When the data set is unknown, the arrival and transmission of the request are unknown, and the delay is unknown in the network environment, an edge network data age optimization online heuristic algorithm is used to solve the edge network data age optimization framework to obtain a scheduling strategy.

2. The edge network data age optimization method according to claim 1, characterized in that: The objective function is: Among them, DA m,t represents the data age of the data set generated by the mth IoT device in time slot t; M represents the number of IoT devices; T represents the number of time slots; τ represents the time slot for processing a data set; τ-t represents the waiting time from generation to processing of a data set generated by an IoT device; Represents the set of base stations in the mobile edge computing network; bs k represents the kth base station in the mobile edge computing network; is a set of potential locations; LOC l is the lth potential position; x τ,l,m,k (t) Indicates whether to use LOC l By bs k Process the dataset generated by the mth IoT device at time slot t at time slot τ; d m,k,l,t Indicates that bs k The data set generated by the mth IoT device at time slot t is transmitted to the LOC l and processing delay; The constraints are: x τ,l,m,k (t)∈{0,1}; Where R represents the set of requests issued by all IoT devices; ds m,t represents the data set generated by the mth IoT device at time slot t; r m (t) represents ds m,t Corresponding request;δ l Indicates that the LOC l The computing resources consumed by processing a data set of the same size; l ·|ds m,t |Indicates in LOC l The above is for processing ds m,t The total amount of computing resources allocated; C(LOC l ) indicates LOC l The computing power of m,k,l,t represents the total cost; Indicates that ds m,t From the bs directly connected to the mth IoT device k Transfer to LOC l The cost, Indicates ds m,t In LOC l The storage cost in Indicates that the LOC l Processing ds m,t The cost of B m represents the budget of the mth IoT device.

3. The edge network data age optimization method according to claim 2, characterized in that: The edge network data age optimization offline heuristic algorithm is used to solve the edge network data age optimization framework to obtain a scheduling strategy, which specifically includes: The x in the constraint condition τ,l,m,k (t)∈{0,1} is relaxed to 0≤x τ,l,m,k (t)≤1, the objective function is solved by the simplex method based on the relaxed constraint conditions to obtain the first fractional solution x * τ,l,m,k (t); Determine a candidate time slot set according to the first fractional solution and a set threshold and the candidate location set in, η represents the set threshold; Based on the candidate time slot set and the candidate position set, a scheduling strategy is obtained by using a heuristic algorithm of bipartite graph minimum weight maximum matching based on the Hungarian algorithm.

4. The edge network data age optimization method according to claim 2, characterized in that: The edge network data age optimization approximation algorithm is used to solve the edge network data age optimization framework to obtain a scheduling strategy, which specifically includes: Under the condition that the generation time is scheduled, the objective function is changed to The x in the constraint condition τ,l,m,k (t)∈{0,1} is changed to x l,m,k (t)∈{0,1}, and x l,m,k (t)∈{0,1} is relaxed to 0≤x l,m,k (t)≤1, and the updated objective function and relaxed constraints are obtained; where x l,m,k (t) Indicates whether to use LOC l By bs k Process the dataset generated by the mth IoT device at time slot t; Based on the relaxed constraints, the updated objective function is solved using the simplex method to obtain the second fractional solution x * l,m,k (t); Based on the second fractional solution, a scheduling strategy is obtained by using an approximate algorithm of minimum weight maximum matching.

5. The edge network data age optimization method according to claim 2, characterized in that: The edge network data age optimization online heuristic algorithm is used to solve the edge network data age optimization framework to obtain a scheduling strategy, which specifically includes: The multi-armed bandit method is used to predict the delay of the data set being transmitted to the potential location and processed, and obtain the delay prediction value; The delay prediction value is input into the edge network data age optimization framework, and the edge network data age optimization approximation algorithm is used to solve it to obtain the scheduling strategy.

6. The edge network data age optimization method according to claim 3, characterized in that: The scheduling strategy is obtained based on the candidate time slot set and the candidate position by using a heuristic algorithm based on the minimum weight maximum matching of a bipartite graph implemented by the Hungarian algorithm, specifically including: Adding the data set to a first set of nodes in the bipartite graph, and adding the virtual positions created for each time slot to a second set of nodes in the bipartite graph; Sort the data sets in the first group of nodes in ascending order to obtain a list of data sets in ascending order; For any data set in the ascending data set list and any virtual position in the second group of nodes, when the first condition, the second condition and the third condition are met at the same time, an edge is added between the data set and the virtual position, and the edge weight of the edge is the data age corresponding to the data set when the data set is processed at the virtual position; the first condition is that the time slot for processing the data set belongs to the candidate time slot set And the virtual position belongs to the candidate position set The second condition is that the computing power of the virtual location is greater than the resource requirements for processing the request; the third condition is that it does not exceed the budget of the IoT device that generates the data set; Traversing all data sets in the ascending data set list to obtain the edge set of the bipartite graph, and selecting an optimal edge set from the edge set using the Hungarian algorithm; the optimal edge set satisfies an edge selection condition; the edge selection condition is that the data set in the first group of nodes has and only has one edge connected to the virtual position in the second group of nodes, and the sum of the edge weights of all edges is the smallest; the virtual position connected by each edge in the optimal edge set is used as the target position of the corresponding data set to implement the request; When all data sets find the target location to achieve the request, the scheduling strategy is obtained.

7. The edge network data age optimization method according to claim 4, characterized in that: The step of obtaining a scheduling strategy based on the second fractional solution by using an approximate algorithm of minimum weight maximum matching specifically includes: Solve x according to the second fraction * l,m,k (t) is the potential location LOC l Create κ l virtual locations; deg l Indicates potential location LOC l The distribution score of Adding the data set to a first set of nodes in the bipartite graph and adding the virtual position to a second set of nodes in the bipartite graph; Sort the data sets in the first group of nodes in descending order to obtain a list of data sets in descending order; For any dataset ds in the descending dataset list m,t and any virtual position in the second set of nodes When satisfied When , add an edge The edge weight is in Otherwise, add two edges, the first of which is The edge weight is in Article 2 is The edge weight is in Represents the dataset ds m,t In a virtual location The assigned score, Represents the dataset ds m,t In a virtual location the points assigned; Using the minimum weight maximum matching method to find the optimal edge for the data set, and using the virtual position connected by the optimal edge as the target position of the data set to implement the request; When all data sets find the target location to achieve the request, the scheduling strategy is obtained.

8. The edge network data age optimization method according to claim 5, characterized in that: The multi-armed bandit-based method predicts the delay of transmitting a data set to a potential location and processing it, and obtains a delay prediction value, specifically including: The probability of each expert being selected is calculated according to the weight of each expert in the current time slot; one expert corresponds to a number of arms, and the expert is used to predict the delay of all the corresponding arms; the arm is a pair consisting of a base station and a potential position; determining a target expert based on the probability; The target expert is used to predict the delay of the data set being transmitted to the potential location and processed to obtain a delay prediction value.

9. The edge network data age optimization method according to claim 8, characterized in that: The method of calculating the probability of each expert being selected according to the weight of each expert in the current time slot specifically includes: according to Determine the weight of each expert in the current time slot; where w τ+1 (exp n ) indicates expert exp n The weight at the current time slot, w τ (exp n ) indicates expert exp n The weight in the previous time slot, c τ (exp n ) indicates expert exp n The cost accepted in the previous time slot, ∈ is a constant and 0<∈≤1 / 2; according to Calculate the probability of each expert being selected; where p τ+1 (exp n ) indicates expert exp n The probability of being selected in the current time slot, N represents the total number of experts.

10. An edge network data age optimization system, characterized in that: include: A model building module for building edge network data age optimization framework; The edge network data age optimization framework includes an objective function and constraints; The objective function is constructed with the goal of minimizing the data age, based on the waiting time from generation to processing of a data set generated by an IoT device in a mobile edge computing network and the delay of transmitting the data set to a potential location and processing the data set; the constraints include that the data set is scheduled after generation, the data set is placed at the potential location through a base station, the computing power of the potential location is greater than the resource requirement for processing the request, and the budget of the IoT device is not exceeded; the potential location includes a micro cloud and a remote data center in a mobile edge computing network; A first scheduling strategy generation module is used to solve the edge network data age optimization framework using an edge network data age optimization offline heuristic algorithm to obtain a scheduling strategy when a data set in a network environment is known and does not need to be scheduled at the time of generation; The scheduling strategy is a target location for each data set to achieve the request; the target location is a micro cloud or a remote data center; A second scheduling strategy generation module is used to solve the edge network data age optimization framework using an edge network data age optimization approximation algorithm to obtain a scheduling strategy when a data set in a network environment is known and scheduled at the generation time; The third scheduling strategy generation module is used to solve the edge network data age optimization framework using an edge network data age optimization online heuristic algorithm to obtain a scheduling strategy when the data set in the network environment is unknown, the arrival and transmission of the request are unknown, and the delay position is unknown.