Flow sensing lightweight layered unloading framework for adaptive slice enabled space-air-ground integrated network
By introducing a traffic-aware lightweight hierarchical offloading framework into SAGIN, and utilizing sparse probabilistic self-attention and lightweight computing offloading algorithms, the problem of insufficient resource management and computing power in SAGIN is solved, and an efficient and low-cost computing offloading service is achieved. , improving resource utilization and service quality.
Patent Information
- Application Number
- CN202410551822.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-07
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-05-07
AI Technical Summary
When the existing Space-Space-Ground Integrated Network (SAGIN) provides computing offloading services, the resource management model is imperfect, which makes it difficult to achieve full-time domain services in a dynamic network environment. The load is unbalanced, the computing power is limited, and the computing offloading method is complex and complicated. The high cost limits its adaptability and application prospects.
Adopting a SAGIN-oriented traffic-aware lightweight hierarchical offloading framework, the network is divided into a communication access platform (CAP) and a computing access platform (COP), using sparse probability self-attention to capture dynamic traffic changes, and through adaptive network slicing and Lightweight computing offloading algorithm realizes intelligent allocation of resources and task offloading, reducing latency and energy consumption.
It improves resource utilization and service quality in SAGIN, reduces resource costs, enhances ESP benefits, and achieves efficient computing offloading, adaptability and performance in limited resource environments.
Smart Images

Figure CN118784599A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical fields of air-space-ground integrated networks, edge computing, computing offloading, etc., and specifically relates to a traffic-aware lightweight hierarchical offloading framework for adaptive slicing-enabled air-space-ground integrated networks. Background Art
[0002] Emerging intelligent applications (such as autonomous driving, video analysis, etc.) show characteristics such as computational intensity and delay sensitivity, while the limited computing power of terminal devices has severely restricted their further development and popularization. To alleviate this problem, Mobile Edge Computing (MEC) is considered to be an advanced computing paradigm with a bright future. By deploying computing and storage resources at the edge of the network, MEC can greatly reduce network bandwidth pressure and data transmission delay. However, due to limited coverage and fixed network architecture, existing ground infrastructure such as base stations (BS) and roadside units cannot well meet the high service quality requirements of intelligent applications. On the one hand, the ground network cannot provide stable and continuous network access to users worldwide. More than 50% of the world's regions, especially some areas with complex terrain such as oceans and isolated islands, still lack effective network coverage. On the other hand, as the core infrastructure in classic MEC, ground base stations are easily affected by natural disasters such as earthquakes and floods, resulting in interruptions in network communication services. In recent years, the development of space and air communication technologies has led to a shift in the classic MEC paradigm. Specifically, the aerial network composed of unmanned aerial vehicles (UAVs) and civil aircraft can provide a temporary communication service for densely populated areas, with the advantages of flexible deployment and low access latency. The satellite network composed of low-Earth orbit (LEO) satellites can provide a communication service with global coverage and universal interconnection by integrating with the ground network. Therefore, through the complementary advantages of these three networks, MEC enabled by Space-Air-Ground Integrated Networks (SAGIN) is expected to provide seamless, full-time global access services for smart applications to better support many application areas that require real-time data sensing and complex computing.
[0003] However, due to the limited resources in SAGIN, when providing services for smart applications, unreasonable supply methods will seriously reduce resource utilization efficiency and service quality. By using software-defined networking and virtualization technology, infrastructure providers (InP) can virtualize communication and computing resources into network slices and sell them to edge service providers (ESP) according to resource pricing. ESP can deploy different services to appropriate slices according to system status and user needs to provide a resource-customized service. When a user initiates a computation offloading request, ESP can receive the user's task through SAGIN and use slice resources to execute the task and return the result. Although SAGIN has good characteristics and bright prospects, it still faces the following important challenges in designing an efficient computation offloading framework for SAGIN.
[0004] (1) The existing SAGIN lacks a complete resource management model and is difficult to effectively cope with the dynamic network environment. To achieve full-time services, ESP needs to access and manage multiple communication and computing platforms at the same time. However, due to user mobility, user traffic in SAGIN changes over time, resulting in uneven distribution of system load in time and space. Therefore, while ensuring high quality of service (QoS) between different platforms, ESP also needs to consider load balancing to reduce resource costs.
[0005] (2) Due to the limited computing power of space nodes such as satellites and drones, the existing SAGIN cannot efficiently process computing-intensive tasks from intelligent applications. Although SAGIN has powerful network access capabilities, satellites and drones in real scenarios are usually used to provide communication services and are only equipped with limited storage and computing resources, making it difficult to handle complex tasks.
[0006] (3) The high complexity and computational overhead of computational offloading methods severely limit their adaptability and application prospects in SAGIN. Although there are some computational offloading methods in SAGIN, it is difficult to efficiently deploy these methods in SAGIN due to the limited computing resources and low-power architecture design of drones and satellites. As the scale of the network continues to increase, the latency and energy consumption introduced by running these methods are also unacceptable. Summary of the invention
[0007] In order to overcome the problems existing in the prior art and solve the above challenges, the present invention comprehensively analyzes the advantages and disadvantages of the communication and computing platforms in SAGIN, and explores a new traffic-aware hierarchical computing offloading framework for SAGIN. Specifically, in the coverage area of SAGIN, users can access the services provided by ESP without perception and upload their tasks to the available communication platform. Based on the analysis of user traffic distribution and platform computing power, ESP transfers tasks from the communication platform to the computing platform to perform computing offloading to achieve a balance between QoS and leasing costs. In order to achieve reasonable task offloading, DRL is introduced to interact with dynamic SAGIN, and decisions are made with the goal of maximizing ESP benefits. In particular, in response to the problem of limited computing power of drones, satellites, etc., policy distillation technology is introduced to reduce the scale of deep neural networks while extracting effective strategies in DRL, thereby reducing the latency and energy consumption required for model operation.
[0008] The technical solution specifically adopted by the present invention to solve the technical problem is:
[0009] A traffic-aware lightweight hierarchical offloading framework for adaptive slicing-enabled air-ground integrated networks divides SAGIN into CAP and COP, and uses network slicing to manage resources on each platform; ESP provides computing offloading services while allocating resources; for slice resource allocation, sparse probabilistic self-attention is used to capture dynamic traffic changes, and adaptive network slicing is performed according to the predicted traffic and system load; for computing offloading, the communication process and the computing process are separated, sub-channels are allocated on demand according to channel conditions, and virtual machines are allocated to tasks through a lightweight computing offloading algorithm. The converged strategy is refined into a lightweight neural network for online reasoning.
[0010] Furthermore, at the beginning of the time slot, slice resources are adjusted according to historical traffic, load, and task completion. slice The adaptive network slicing algorithm is executed once in each time slot to determine whether to adjust the slice; then, the user sends what he needs to offload to the CAP closest to him. When both the base station and the drone are unavailable, the user sends the task to the satellite; after receiving the offloading request, ESP allocates a subchannel for the task and uploads it to the CAP; then, the user task is transmitted from the CAP to the COP through the dedicated link in SAGIN; when the CAP is the ground and satellite, the COP is the ground base station; when the CAP is a drone, the COP is the drone or the ground base station; after the task is transmitted to the COP, the lightweight computing offloading algorithm is called to assign the task to the corresponding virtual machine for execution, and the result is transmitted back to the user device after the calculation is completed; at the end of the time slot, ESP collects task completion status, system load and user traffic information for revenue calculation and slice adjustment.
[0011] Furthermore, the adaptive network slicing algorithm specifically includes the following steps:
[0012] Step 1: Predict future user traffic through the Transformer-based traffic prediction model; First, use historical traffic to construct the input of the encoder and decoder; Then, send the encoder output and the decoder input to the decoder, which consists of a layer of multi-head sparse probabilistic self-attention mechanism and a layer of multi-head attention mechanism; Finally, send the encoder output to the MLP, and after inference, get the future traffic prediction sequence;
[0013] Step 2: Calculate the expected system load. To accurately measure the slice load, define the communication load and computational load of the system respectively: the communication load in time slot t is expressed as the ratio of the used channel resources to the total channel resources, and the computational load is expressed as T que With T exe sum and After obtaining the system load, the expected resource demand is calculated by multiplying the historical load by the ratio of the expected traffic to the historical traffic.
[0014] Step 3: Calculate the expected slice resources and determine whether to adjust the slice. If the difference between the benefit generated by adjusting the slice and the interruption cost is greater than 0, the slice adjustment is triggered and the communication and computing slice resources are adjusted to B respectively. * and F * , otherwise keep the slice resource unchanged.
[0015] Furthermore, the lightweight computation offloading algorithm is a computation offloading method for dynamic task traffic and number of virtual machines to improve resource utilization in SAGIN and the benefit of ESP, and the interaction between the DRL agent and the SAGIN environment is defined as a Markov decision process.
[0016] Furthermore, in the lightweight computing offloading algorithm:
[0017] First, initialize the network parameters and environment; for each received task, the state s t are all input into the participant network, and then the agent explores the unloading action in the current state according to π;
[0018] After receiving the action, the SAGIN environment executes the action and feedbacks the status s of the next task t+1 , Instant Rewards t+1 and time slot state ω t , where ω t Indicates whether the task is the last task of the current time slot, which is used to calculate the discounted reward; then, the samples of the state transition function are stored in the buffer;
[0019] When updating the network, in order to reduce the impact of noise caused by task attributes on gradient estimation, generalized advantage estimation is introduced as the network update target;
[0020] After all rounds of training, the converged strategy executes the offloading decision by interacting with SAGIN;
[0021] To gain experience from the teacher model in SAGIN, the teacher model is used to interact with the environment and the state transition samples are stored in a buffer; next, state transition samples are randomly selected from the buffer for policy distillation.
[0022] Furthermore, the working process of the unloading framework includes the following steps:
[0023] (1) Collect historical user traffic of ESP, predict future user traffic, and calculate the resource requirements required by ESP. ESP performs adaptive network slicing adjustment at regular intervals based on the resource requirements.
[0024] (2) The infrastructure provider responds to the ESP's resource request, divides the network slice for it, and charges the corresponding cost;
[0025] (3) The user accesses and uploads the computation offloading request to ESP through SAGIN;
[0026] (4) Allocate CAP and COP to users based on their locations, and generate subchannel and VM allocation policies based on task attributes and user priorities;
[0027] (5) During computation offloading, THOAS records the user traffic, status, actions taken, rewards obtained, and new status entered in each time slot, and continuously optimizes its own performance based on this information.
[0028] Compared with the prior art, the present invention and its preferred solution first divide SAGIN into CAP and COP, and use network slicing to manage resources on each platform. Then, a traffic prediction method is designed to capture dynamic traffic changes using probabilistic sparse self-attention, and an adaptive network slicing method is developed based on this. Finally, a lightweight improved DRL offloading method is designed to reduce network complexity while maintaining good performance. In further verification experiments, compared with other existing methods, the solution of the present invention made better slice adjustment and offloading decisions, and showed higher performance in ESP profit, task completion time, RU and DVR. The model complexity can be greatly reduced while retaining the original performance, further proving its practicality in the resource-constrained SAGIN environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:
[0030] Figure 1 This is a hierarchical offloading framework diagram for adaptive slicing enabling SAGIN proposed in an embodiment of the present invention;
[0031] Figure 2 Overview of the traffic-aware lightweight hierarchical offloading framework THOAS designed for an embodiment of the present invention;
[0032] Figure 3 A schematic diagram of the performance of THOAS in terms of traffic prediction and adaptive slicing according to an embodiment of the present invention;
[0033] Figure 4 Schematic diagram of convergence performance in different methods and distillation processes of embodiments of the present invention;
[0034] Figure 5 Schematic diagram of the performance of THOAS under different distillation network sizes according to an embodiment of the present invention;
[0035] Figure 6 Schematic diagram of the impact of traffic prediction on ESP return, cost and revenue according to an embodiment of the present invention;
[0036] Figure 7 A schematic diagram showing a comparison of task completion time using different methods in an embodiment of the present invention;
[0037] Figure 8 Schematic diagram of the impact of user traffic on RUs of different methods according to an embodiment of the present invention;
[0038] Fig. 9 This is a schematic diagram of the impact of the maximum tolerable delay of a task on DVR of different methods according to an embodiment of the present invention;
[0039] Fig.10 This is a schematic diagram showing the impact of slice expansion ratio on ESP revenue under different methods according to an embodiment of the present invention;
[0040] Fig.11 This is a schematic diagram of the impact of the communication delay ratio on the ESP benefit under different methods according to an embodiment of the present invention. DETAILED DESCRIPTION
[0041] In order to make the features and advantages of this patent more obvious and easy to understand, the following embodiments are specifically described in detail as follows:
[0042] It should be noted that the following detailed descriptions are illustrative and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used in this specification have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.
[0043] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0044] like Figure 1 As shown in FIG. 1 , the model example of the hierarchical offloading framework for adaptive slicing enabled SAGIN proposed in the embodiment of the present invention consists of a satellite, a ground base station and several drones. The satellite, base station and drone are all equipped with wireless access channels, which can provide network access functions to users, called Communication Access Platforms (CAPs). The CAP set is denoted as A = {a1, a2, ..., a R Based on the Orthogonal Frequency Division Multiplexing (OFDM) technology, the CAP channel can be divided into several orthogonal sub-channels (SC). j ∈A The total number of subchannels is recorded as Base stations and drones are equipped with computing units that can provide computing resources for tasks from intelligent applications. They are called Computation Offloading Platforms (COPs). The set of COPs is denoted as O = {o1, o2, ..., o S The computing resources of COP are provided in the form of virtual machines (VMs). j ∈O The total number of virtual machines is recorded as
[0045] InP maintains the wireless channels and virtual machines in SAGIN and provides them to ESP in the form of network slices. ESP pays fees to InP to apply for network slices, deploys services to each network slice after obtaining slice resources, and charges service fees by satisfying users' computing offload requests. In order to meet service needs in more scenarios and save resource costs, ESP needs to deploy services to multiple network slices in SAGIN, configure appropriate resources for each slice, and continuously monitor and dynamically adjust them. j The number of slice subchannels configured at is denoted as B j , in o j The number of slice virtual machines configured at is denoted as F j .
[0046] When a user generates a computation offloading request, the user accesses SAGIN through the nearest available CAP and uploads the task to be offloaded. Then, the task is transferred from the CAP to the COP for computation and returned to the user through the CAP after the computation is completed. If the task is completed within the user's maximum tolerable delay, the user will pay the corresponding fee to the ESP. All users served by ESP are denoted as the set U = {u1,u2,...,u N}, where different CAPs are located in different geographical locations and have different communication coverage. j The number of users within the coverage area is denoted as N j , the number of users served by ESP is the sum of all users covered by CAP, that is:
[0047]
[0048] Due to user mobility, user traffic in different areas of SAGIN will continue to change over time, which leads to uneven distribution of user traffic in time and space, and then to unbalanced CAP and COP loads. In order to solve this problem, ESP is required to monitor and analyze user traffic and system load in different regions, so as to dynamically adjust network slices and improve service adaptability and resource utilization efficiency. Specifically, define time slot t∈{1,2,...,T}. At the beginning of time slot t, ESP allocates slice resources to users to meet users' unloading requests, and at the end of time slot t, ESP collects user access traffic and system load under each slice. Based on the analysis of traffic and load, ESP can predict future user needs and adjust slices in time according to the package configuration provided by InP.
[0049] communication model
[0050] From user u i The task ∈U is defined as a six-tuple, denoted as <d i ,η i ,ρ i ,a i ,l i ,o i >, where d i is the amount of data for this task, η i To complete the computational density of this task, ρ i for u i The priority of a i Indicates u i Connected to the CAP, l i for u i and a i The distance between i Indicates execution of ui The COP of the task. The priority reflects the user's service level. The higher the priority, the higher the reward for completing the task.
[0051] Compared with drones and satellites, base stations have more stable communication links and more cost-effective channel costs. For areas outside the coverage of base stations, drones can provide a more flexible expansion of communication and computing capabilities. However, for users in some remote areas (such as the sea and desert), satellites may be the only available communication method, and users can only access the network through satellites. Therefore, when a user needs to initiate a computing offload request, users within the coverage of base stations and drones will preferentially access SAGIN through base stations and drones, and other users will access SAGIN through satellites.
[0052] When u i When an uninstall request is initiated, u i Input data needs to be uploaded. Consider the following different situations.
[0053] (1) If the user is within the coverage of a base station or drone, the user will upload the task through the base station or drone.
[0054] The signal-to-noise ratio of the upload process is expressed as
[0055]
[0056] Among them, p u is the upload power, σ 2 is the noise power, P loss =10βlog(l i )+C+X G is the average path loss, β is the path loss exponent, C is a constant that depends on the operating frequency and antenna gain, and X G is a Gaussian random variable.
[0057] (2) If the user is not within the coverage of the base station and the drone, the user will upload the task via satellite. The signal-to-noise ratio during data transmission is defined as
[0058]
[0059] Among them G u and G s are the antenna gains of the user and satellite respectively, λ is the wavelength, F rain is the rain fall attenuation, which follows the Weibull distribution.
[0060] When ESP is assigned to u i The number of sub-channels is According to Shannon's theorem, u i The upload rate is
[0061] r i =b i H log2(1+SNR), (4)
[0062] Where H is the bandwidth of a subchannel. Therefore, u i The time required to upload the task to CAP is
[0063]
[0064] Although satellites can also provide computing services, their energy consumption and resource costs are very expensive compared to ground base stations. Therefore, in real scenarios, it is not suitable to use satellites as a computing node because their costs usually exceed the benefits generated. Considering that the advantage of satellites is that they can simultaneously connect to users in remote areas and ground base stations with abundant resources, user tasks from remote areas can be transmitted to ground base stations through satellite-to-ground links for offloading, which saves computing costs while achieving long-distance communication. In addition, drones can provide a flexible computing service by carrying small computing units, but due to the limitations of computing power and battery energy storage, they may not be able to meet the needs of all tasks. When encountering this situation, it is necessary to consider whether the tasks received by the drone should be appropriately forwarded to the ground base station for execution.
[0065] Therefore, when the user task is transmitted to SAGIN, it is necessary to allocate a suitable COP to it according to the CAP to which the user is connected. When the user is connected through a ground base station, the task can be executed directly on the base station. When the user is connected to a satellite, the task needs to be forwarded to the ground base station through a satellite-ground link for execution. When the user is connected to a drone, it will be decided whether to forward it to the ground base station for execution based on the task requirements and network conditions. If forwarding is required, the task will be forwarded to the ground base station for execution through the drone-satellite and satellite-ground links. Otherwise, the task is executed on the drone. Accordingly, u i The task forwarding time between different platforms is defined as
[0066]
[0067] Among them, R s2g Represents the communication rate between the satellite and the base station, R a2s Indicates the communication rate between the drone and the satellite.
[0068] Computational model
[0069] When a task is transferred to a suitable COP, the COP will assign the task to a virtual machine for computation. The virtual machine may execute multiple tasks. iThe queuing time required for a task from arriving at the virtual machine to starting execution is
[0070]
[0071] Among them, Q represents the existing task queue when a task arrives at the virtual machine, f edge represents the computing power of the virtual machine in COP. In addition, u i The actual execution time of the task in the virtual machine is
[0072]
[0073] Finally, the execution results will be returned to the user through CAP. Compared with the input data, the amount of output data is usually small, so the time to return the results can be ignored.
[0074] Return and cost model
[0075] Considering the communication and computing models, processing u i The total time for the task is:
[0076] T i total =T i up +T i tran +T i que +T i exe . (9)
[0077] On the one hand, ESP will charge users a certain fee based on the services it provides. max If completed within time slot t, ESP can obtain reward Φ. Otherwise, there is no reward. In time slot t, ESP obtains i The return is defined as
[0078]
[0079] The rewards obtained by completing tasks of users with different priorities are different. Therefore, the total reward of ESP in time slot t is defined as
[0080]
[0081] On the other hand, ESP needs to pay a certain fee to rent sub-channels and VM resources in SAGIN, which is proportional to the number of rented resources. Therefore, in time slot t, the total cost required for ESP to rent channel and VM resources is
[0082]
[0083] Among them, b and f Respectively represent the unit price of renting sub-channel and virtual machine resources.
[0084] Based on the above proposed model, the optimization goal is to maximize the long-term benefits of ESP. The optimization problem is formally defined as
[0085]
[0086] Among them, B and F represent the communication and computing slicing strategies respectively, and π represents the computing offloading strategy. Constraints C1 and C2 respectively indicate that the number of sub-channels and virtual machines requesting slices cannot exceed the maximum number of sub-channels and virtual machines of the access platform. It should be noted that when user traffic fluctuates, the offloading strategy may not be able to meet the offloading needs of all users. At this time, the slices need to be adjusted to increase the slice resource capacity. At the same time, this adjustment will also affect the offloading strategy. Therefore, the decision between network slicing and computing offloading is mutually coupled. The designed strategy needs to achieve reasonable computing offloading while adapting to changes in user traffic and slice resources in the system.
[0087] Overview of the proposed THOAS technical solution
[0088] In order to solve the optimization problem and maximize the ESP benefit, this paper proposes THOAS, a traffic-aware lightweight hierarchical offloading framework, to support SAGIN with adaptive slicing. Figure 2 As shown in the figure, ESP provides computing offloading services while performing resource allocation. For slice resource allocation, a new traffic prediction method is designed to analyze and predict future traffic fluctuations, and then adaptive network slicing is performed based on the predicted traffic and system load. For computing offloading, the communication process and the computing process are separated, and sub-channels are first allocated on demand according to the channel conditions. Then, an improved DRL is designed to effectively allocate virtual machines to tasks, where the converged strategy is refined into a lightweight neural network for online reasoning and better adapting to resource-limited SAGIN.
[0089] The overview of THOAS is shown in Algorithm 1. At the beginning of a time slot, Algorithm 2 is called to adjust the slice resources according to the historical traffic, load, and task completion status (lines 2-3). Since frequent adjustments will cause excessive system overhead, consider adjusting the slice resources every T sliceAlgorithm 2 is executed once per time slot to determine whether to adjust the slice. Then, the user sends the task to be offloaded to the CAP closest to it (such as a ground base station or an aerial drone). When both are unavailable, the user sends the task to the satellite (line 5). After receiving the offloading request, ESP allocates a subchannel for the task and uploads it to the CAP (line 6). Then, the user task is transmitted from the CAP to the COP through the dedicated link in SAGIN (line 7). When the CAP is the ground and satellite, the COP is the ground base station. When the CAP is a drone, the COP is the drone or the ground base station, depending on the load of the drone. After the task is transmitted to the COP, Algorithm 3 is called to assign the task to the appropriate virtual machine for execution, and the result is transmitted back to the user device after its calculation is completed (lines 8-9). At the end of the time slot, ESP collects information such as task completion, system load and user traffic for subsequent revenue calculation and slice adjustment (line 10).
[0090] In order to better manage the load of different access platforms, the maximum tolerable delay of the task is split into the maximum communication tolerance delay and maximum computational tolerance delay Let ω represent the ratio between the maximum communication tolerance delay and the maximum tolerance delay, that is, Furthermore, an on-demand channel allocation strategy is defined
[0091]
[0092] Among them, SNR depends on u i The CAP to which it is connected.
[0093]
[0094] Adaptive network slicing method
[0095] The performance of ESP management system resources can be significantly improved by analyzing load status and predicting resource requirements. In general, system load is affected by user traffic and service demand. Existing advanced prediction models can predict future user request patterns by capturing historical traffic change characteristics, while user service demand depends on the type of service provided by ESP, which can be obtained by analyzing historical load. Therefore, the future ESP load situation is derived by combining user traffic prediction and service demand analysis. When the expected load significantly exceeds or falls below the current ESP slice capacity, the slice resources are adjusted to keep the load within a reasonable range. In addition, it is worth noting that frequent slice adjustments may cause service interruptions and affect QoS, so ESP needs to consider these factors comprehensively to determine the appropriate time for slice adjustment.
[0096] In SAGIN, the traffic pattern of user offloading requests includes long-term demand changes (such as the impact of application popularity, etc.) and short-term load fluctuations (such as user mobility, etc.), among which long-term demand changes have a more significant impact on the resource utilization efficiency of SAGIN. Compared with the prediction models based on RNN and CNN, Transformer shows outstanding ability in capturing long-term memory dependencies, and it can better learn the global patterns and local trends of user access services. In addition, the slice windows in the proposed adaptive network slice are dynamic, so the input traffic sequences are usually of unequal length. Thanks to the self-attention mechanism, Transformer can process input data of different time scales without adjusting the model structure, and has better practicality in predicting the traffic of different slice windows. Based on user traffic prediction and task demand analysis, an adaptive network slicing method is proposed, and its main steps are shown in Algorithm 2.
[0097] Step 1: Predict future user traffic. We designed a Transformer-based traffic prediction model. First, we use historical traffic to construct the input of the encoder and decoder (line 1). his Indicates historical access traffic, X cur represents the traffic sequence collected in the current slice window, X 0 Represents the time sampling of the traffic sequence to be predicted. When constructing the Encoder, the classic self-attention mechanism needs to calculate the attention weights of all historical time slots, which leads to high computational complexity. To alleviate this problem, sparse probabilistic self-attention is used in the Encoder and self-attention distillation is used between layers to reduce computational overhead (line 2). Specifically, the feature extraction process from layer j to layer j+1 is defined as
[0098]
[0099]
[0100] in,[·] attention represents sparse self-attention, and d is Conv1d represents a one-dimensional convolution on the time series, ELU is the activation function, and MaxPool is the maximum pooling operation. Next, the encoder output and the decoder input are sent to the decoder, which consists of a layer of multi-head sparse probabilistic self-attention mechanism and a layer of multi-head attention mechanism (line 3). Finally, the encoder output is sent to the MLP, and after inference, the future traffic prediction sequence can be obtained (line 4).
[0101] Step 2: Calculate the expected system load. Since the system load is positively correlated with user traffic, the load fluctuation can be deduced from the traffic change. In order to accurately measure the slice load, the communication load and computing load of the system are defined separately (line 5). Specifically, the communication load in time slot t is expressed as the ratio of the used channel resources to the total channel resources, and the computing load is expressed as T que With T exe sum and After obtaining the system load, the expected resource demand can be calculated by multiplying the historical load by the ratio of expected traffic to historical traffic.
[0102] Step 3: Calculate the expected slice resources and determine whether to adjust the slices. Take 1+δ times the peak load as the expected slice resources, where δ represents the proportion of additional resources purchased by ESP (line 6). On the one hand, adjusting the slices may affect the ESP return and bring additional system overhead. On the other hand, the process of adjusting the virtual machine may cause service unavailability, resulting in interruption costs. Therefore, ESP needs to consider these factors comprehensively to decide whether to adjust the slices. The benefits of adjusting the slices can be defined as
[0103] ΔP=ΔR-ΔC, (17)
[0104] Where ΔR represents the difference between the expected return of ESP after adjusting the slice and the expected return of ESP after keeping the current slice, and ΔC represents the difference between the ESP cost after adjusting the slice and the ESP cost after keeping the current slice (row 7). The interruption cost caused by adjusting the slice can be defined as
[0105]
[0106] Among them, T int represents the number of time slots required to adjust the slice (line 8). If the difference between the benefit generated by adjusting the slice and the interruption cost is greater than 0, the slice adjustment is triggered and the communication and computing slice resources are adjusted to B and B respectively. * and F * , otherwise keep the slice resource unchanged (lines 9-10).
[0107]
[0108] Lightweight computing offloading method
[0109] Based on adaptive network slicing, a computation offloading method for dynamic task traffic and number of virtual machines is further designed to improve resource utilization and ESP benefits in SAGIN. In recent years, DRL has been widely used to solve complex problems such as computation offloading and task scheduling. Although the deep network structure increases the fitting ability of DRL, it undoubtedly introduces more computational costs, which limits its application in resource-constrained SAGIN. In the actual decision-making process, when faced with a limited search space, the strategy generated by the DRL agent after training is mainly affected by some network parameters. Therefore, compressing the original deep network to obtain a lightweight decision model helps to improve the training and reasoning efficiency of DRL while maintaining its superior decision-making ability. As an emerging learning paradigm, knowledge distillation can transfer knowledge from a deep teacher network to a shallow student network and has been widely used in model compression. For actor-critic-based DRL, by interacting the trained actor network with the environment, the action probability distribution of the teacher model can be collected and used as the distillation target. Then, the parameters of the student model are trained through the loss function and optimizer, so that the output of the student model can be consistent with the teacher model. Based on this idea, a novel lightweight computation offloading method combining DRL with knowledge distillation is proposed. Specifically, the interaction between the DRL agent and the SAGIN environment is defined as a Markov decision process, where the state space, action space, and reward function are defined as follows.
[0110] State space: It contains the VM task queues of the ESP slice, the task attributes, and the user priority of sending the task. In order to better capture the state characteristics, the maximum computational tolerable delay and the CPU cycles required for the task are converted into computational frequency, which can represent the computational resources required for the task. Therefore, the state is defined as
[0111]
[0112] Action Space: When the UAV's VM cannot meet the offloading requirements of all tasks, the tasks can be forwarded to the BS for offloading. Therefore, in order to make the algorithm applicable to UAVs and ground base stations, action spaces that adapt to different scenarios are defined. When the task is executed on the BS, the action space includes the target VM. When the task is executed on the UAV, the action space includes the target VM and forwarding to the BS for execution. Using VM G It means that the task is forwarded to the BS through the SAGIN wireless link, and the task will be reallocated to the virtual machine at the BS. Therefore, the action space is defined as
[0113] a t ∈{VM G ,VM1,VM2,...,VM max}.(20)
[0114] Reward function: Based on the P1 optimization objective, the reward function is defined as the reward obtained by completing the task. When the task is forwarded from the UAV to the BS, the reward is calculated at the BS. A small positive value is used as the reward to distinguish between forwarded tasks and failed tasks. Therefore, r t is defined as
[0115]
[0116] Based on the above definitions, Algorithm 3 outlines the key steps of the proposed computation offloading method. First, the network parameters and environment are initialized (Line 2). For each received task, the state s t are input into the participant network, and then the agent explores the unloading action in the current state according to π (line 4).
[0117] After receiving the action, the SAGIN environment will execute the action and feedback the status of the next task s t+1 , Instant Rewards t+1 and time slot state ω t , where ω t Indicates whether the task is the last task of the current time slot, which is used to calculate the discounted reward (line 5). Next, the samples of the state transition function are stored in the buffer.
[0118] When updating the network, in order to reduce the impact of noise caused by task attributes on gradient estimation, the generalized advantage estimate is introduced as the network update target, which is defined as
[0119]
[0120] δ t =R t +γV(s t+1 )-V(s t ), (twenty three)
[0121] where γ is the reward discount rate, λ is the advantage function discount rate, and δ t is the time differential error, R t is the reward, and V is the state value function (lines 6-7). Since the action of each task may affect the queuing time and execution time of subsequent tasks, it is necessary to use the reward of the subsequent tasks in the current time slot to calculate the discounted reward, R t Defined as
[0122]
[0123] However, due to the dynamic changes in task traffic and the number of virtual machines, the step size of updating the policy in the policy gradient is difficult to determine. To solve this problem, a clipping mechanism is used to ensure that each update is within a certain range (line 8). Therefore, the objective function of the policy update is defined as
[0124]
[0125] Where r(θ) is the ratio of the sample weights under the new strategy to the old strategy, which is defined as
[0126]
[0127] In order to increase the stability of the policy update, the clipping function is first used to avoid the policy update range being too large. At the same time, in order to prevent the fixed confidence interval from causing the update to be too slow, two layers of dynamic confidence intervals are designed, defined as follows
[0128]
[0129] where ∈ is the clip ratio, α t is a dynamic confidence factor, which is dynamically adjusted according to the timing differential error, α t Defined as
[0130]
[0131] κ is used to control the update speed of the dynamic confidence factor. Then, by minimizing L critic (φ) (line 9) to optimize the critic network, which is expressed as
[0132]
[0133] After all rounds of training, the converged strategy can be used to execute unloading decisions by interacting with SAGIN. Based on the structure of the neural network, the complexity of the above method is Where P, n p are the number of layers and the number of neural units in each layer, respectively. Therefore, in order to better adapt to the limited computing units in SAGIN, it is necessary to reduce P and n p To reduce the algorithm complexity.
[0134] To gain experience from the teacher model (i.e., the model after convergence) in SAGIN, the teacher model is used to interact with the environment and the state transition samples are stored in a buffer (Line 12). Next, state transition samples are randomly selected from the buffer for policy distillation (Line 13).
[0135] For each sample, the teacher network’s policy is used as the learning target, and the Adam optimizer is used to train the student network to output a similar action probability distribution as the teacher network (line 14). This process can be regarded as supervised learning. The loss function is constructed using soft labels and KL divergence, which is defined as
[0136]
[0137] in, and are the action probability distributions output by the teacher model and the student model, respectively, and τ is the temperature. Compared with directly using the Q value as the distillation target, using the action probability after softmax as the distillation target can make the variance of the loss function smaller and easier for the student network to converge. In addition, in the proposed Markov model, two actions with similar action probabilities may have very different rewards. Therefore, by using a low-temperature softmax to sharpen the action probability distribution, the high-reward actions of the teacher model can be more effectively transferred to the student model.
[0138] Through policy distillation, the depth and width of the neural network origin model can be effectively reduced. Compared with agents that directly use small-scale networks, large networks are more efficient in exploring high-reward actions and fitting complex strategies during training. At the same time, the distillation process can also converge quickly, so it is worthwhile to balance system performance and overhead by distilling large-scale networks instead of using small-scale networks.
[0139]
[0140]
[0141] According to the above framework design, the workflow can be obtained as follows:
[0142] (1) THOAS collects historical user traffic of ESP, predicts future user traffic, and calculates the resource requirements required by ESP. ESP performs adaptive network slicing adjustment at regular intervals based on the resource requirements.
[0143] (2) The infrastructure provider responds to the ESP's resource request, divides the network slice for it, and charges the corresponding cost.
[0144] (3) The user accesses and uploads the computation offloading request to ESP through SAGIN.
[0145] (4) THOAS allocates appropriate CAP and COP to users based on their locations, and generates sub-channel and virtual machine allocation strategies based on task attributes (such as task size, computing requirements, maximum tolerable delay, etc.) and user priorities.
[0146] (5) During the computation offloading process, THOAS records the user traffic, status, actions taken, rewards obtained, and new status of each time slot, and continuously optimizes its own performance based on the above information.
[0147] Method evaluation
[0148] The proposed system and THOAS are implemented using PyTorch based on a workstation equipped with an 8-core Intel(R) Xeon(R) Silver 4208 CPU @ 3.2GHz, an NVIDIA GeForce RTX3090 GPU and 32GB RAM. A real dataset of Milan cellular traffic is used to build dynamic user requests in SAGIN, which contains three types of services: messaging, calling and Internet. User request traffic is recorded for two months with a sampling frequency of 10 minutes. Specifically, three regions are selected and the Internet service traffic recorded in each sampling is regarded as the number of user requests in a time slot. The settings of the main parameters in the experiment are shown in Table 1, where different parameters of satellites, drones and base stations are represented by triple lists.
[0149] Table 1. Parameter settings
[0150]
[0151]
[0152] In addition to ESP benefits and task completion time, the following performance metrics are used to further evaluate THOAS.
[0153] (1) Resource Utilization (RU): The ratio between the SC and VM used to execute tasks and the ESP leased resources.
[0154] (2) Deadline violation rate (DVR): the ratio of the number of tasks whose delay exceeds the maximum tolerable delay to the total number of tasks.
[0155] THOAS is compared with the following baseline methods to verify its superiority.
[0156] (1) GL-TCN: Temporal convolutional network for flow and adaptive slicing, which uses dilated convolutions and residual connections to capture long-term and short-term dependencies in flow sequences;
[0157] (2) PredRNN: Utilizes long short-term memory for flow and adaptive slicing, which combines recurrent neural networks and gating mechanisms to capture long-term and short-term dependencies in flow sequences;
[0158] (3) Static: The adaptive network slicing method is not used (i.e., ESP resources remain unchanged), and the offloading algorithm is consistent with THOAS.
[0159] (4) PPO-TO: Proximal Policy Optimization-Penalty Strategy is used to make offloading decisions, which introduces a penalty function to improve the stability of policy updates.
[0160] (5) DDQN-TS: Dual DQN is used for offloading decisions, and the target network is introduced to solve the problem of overestimation of Q value in DQN.
[0161] (6) DQNM: Deep Q-network is used to make offloading decisions. It uses a deep neural network to approximate the Q-network and selects the action with the largest Q value as the candidate action.
[0162] First, the ability of THOAS to capture traffic changes and adaptively adjust resources (including SCs and VMs) is evaluated. Figure 3 As shown, when user traffic shows a periodic increase, THOAS can accurately predict this growth trend. Accordingly, THOAS will adaptively adjust the slice resources (i.e., increase the number of sub-channels and virtual machines leased by ESP) so that the leased resources can meet user needs. When user traffic shows a decreasing trend, THOAS can also adaptively adjust the slice resources again at the right time to reduce resource waste and the cost of ESP leasing resources. It is worth noting that THOAS did not respond to small traffic fluctuations by adjusting slice resources. This is because THOAS performs traffic prediction and slice resource adjustment at regular intervals, which can effectively reduce the overhead of system operation and avoid service interruptions caused by frequent slice adjustments.
[0163] Next, the convergence of different methods and distillation processes was evaluated. Figure 4 As shown in the figure, DDQN-TS achieves higher rewards than DQNM and shows better convergence. This is because the Q network in DQNM is used for both action evaluation and action selection, which leads to the problem of overestimation of Q values and reduces the correlation between samples, while DDQN-TS alleviates this problem by using the target network. Compared with DQNM and DDQN-TS, PPO-TO can converge to higher rewards during training because PPO-TO uses the advantage value function to improve the accuracy of action-value estimation. At the same time, the proximal policy clipping adopted by PPO-TO limits the step size of policy updates, which to some extent alleviates the impact of environmental dynamics such as traffic fluctuations and resource changes on policy updates. However, this fixed interval restriction also reduces the efficiency of policy updates, resulting in insufficient sample utilization efficiency. Based on this, THOAS adopts a dynamic confidence interval clipping strategy, so that the range of policy updates can be adjusted according to the sample advantage value, which significantly improves the sample utilization efficiency, so THOAS can converge to better performance.
[0164] Next, the effect of using different network sizes in the distillation process on the performance of THOAS was evaluated. Figure 5 As shown in the figure, when the student model uses the same network size as the teacher model, the performance of the distilled student model is only slightly reduced. When the network size of the student model continues to decrease to 6% of the teacher model, the distilled student model can still maintain 73% of the original performance. This is because when faced with the discrete action space in SAGIN, the strategy generated by the trained DRL model is mainly affected by only part of the network parameters. The proposed policy distillation utilizes the action probability distribution output by the teacher model and passes its core network parameters to a shallow network, which not only maintains the accuracy of the strategy generated by the teacher model but also reduces the redundancy of the network structure. Therefore, by utilizing the distillation technology, the proposed THOAS can significantly reduce the network size of the agent while maintaining superior performance, so as to be better suitable for SAGIN environments with different levels of computing power.
[0165] Then, the impact of different traffic prediction methods on ESP return, cost and benefit is analyzed, where ESP return is composed of cost and benefit. Figure 6 As shown in the figure, when adaptive slicing based on traffic prediction is adopted, the cost is slightly higher than the Static method, but the return and benefit can be significantly improved. This is because when user traffic increases, the static slice resources cannot meet user needs. This causes the completion time of some tasks to exceed their maximum tolerable delay, so ESP cannot obtain corresponding returns. Similarly, when user traffic decreases, the proposed adaptive network slicing can also reduce resources and avoid unnecessary resource costs. Compared with GL-TCN and PredRNN, the proposed THOAS can achieve higher traffic prediction accuracy, so the return and benefit are also higher. This is because the proposed traffic prediction model based on sparse probabilistic self-attention can better capture the periodic traffic fluctuations in SAGIN, so the prediction performance is better than other methods. The results show that the proposed adaptive slicing based on traffic prediction can effectively improve the benefits of ESP.
[0166] Next, the task completion time of different methods is compared, which is composed of task upload time, transmission time, queuing time and execution time. Since the channel allocation strategy is fixed, the upload time of the four methods is the same. Figure 7As shown in the figure, compared with the other three methods, DQNM generates longer task queuing time. This is because DQNM cannot schedule tasks to suitable virtual machines, resulting in too long task waiting queues on some virtual machines. Compared with PPO-TO and DDQN-TS, THOAS has longer transmission time, but shorter execution time and queuing time. This is because when the traffic in SAGIN increases to a certain extent, the user demand within the coverage area of the drone may exceed its computing capacity. To address this problem, THOAS forwards tasks to the ground base station for execution through the wireless link within SAGIN, which has a higher computing frequency, so the queuing time and execution time are reduced accordingly. As can be seen from the figure, under this hierarchical offloading framework, the transmission time caused by task forwarding is less than the saved queuing time and execution time, so the total task completion time of THOAS is less than that of other methods. In addition, the network size of the PPO-TO method is larger than that of DQNM and DDQN-TS. This is because PPO-TO uses an actor-critic structure to select and evaluate offloading actions, which is more complex than the Q network used by DQNM and DDQN-TS. Compared with other methods, THOAS uses distillation technology to effectively compress the network size, which significantly reduces the complexity and training overhead of the model and is more suitable for SAGIN with resource-constrained devices (such as drones).
[0167] Next, the impact of user traffic changes on RU under different methods is compared. Figure 8 As shown in the figure, when the traffic volume changes from 1.0 times to 0.5 times, the RU decreases significantly. This is because when the traffic volume decreases, the chances of the resources leased by ESP being utilized decrease. Even in some time slots, the traffic volume approaches 0, but ESP still needs to maintain basic resources to ensure the availability of the service, so the RU equals 0. It is worth noting that sparse traffic may lead to an increase in prediction errors, so the resource utilization rate in the 0.5 times traffic scenario is lower than that in the 1.0 times traffic scenario. When the traffic volume increases from 1.0 times to 1.5 times, the RU increases slightly. This is because when the user traffic volume increases, the probability of the additional resources leased by ESP being utilized is greater, and there are fewer resources in an idle state, resulting in a higher RU. Compared with GL-TCN and PredRNN, THOAS can achieve higher traffic prediction accuracy and higher RU, which also shows that better prediction model performance helps improve resource utilization in SAGIN.
[0168] Then, the impact of the maximum tolerable delay of tasks on DVR under different methods is compared. Fig. 9As shown in the figure, as the maximum tolerable delay of the task increases, the DVR decreases significantly. This is because there is more time to complete the task, so the proportion of violations of the maximum delay of the task will decrease. When the maximum tolerable delay of the task continues to increase, the DVR may approach 0, which means that the resources rented by ESP can meet user needs well. Compared with PPO-TO and DDQN-TS, THOAS can complete more tasks within the same maximum tolerable delay of the task, thereby achieving a lower DVR. This is because THOAS uses generalized advantage estimation and proximal policy pruning based on dynamic confidence intervals to improve the performance of decision-making, and can adaptively make more reasonable decisions in different scenarios and complete more tasks.
[0169] Next, the impact of the slice expansion ratio δ on ESP revenue is analyzed. Fig.10 As shown in the figure, as δ increases, the EPS benefits of different methods first increase and then decrease. This is because when δ is low, the additional rented resources may not be able to meet the needs of all tasks, which makes some tasks unable to be completed within their maximum tolerable delay, resulting in lower ESP benefits. As δ increases, the additional rented resources will increase when the slice is adjusted, so the above problem can be alleviated and the ESP benefit can be improved. When δ continues to increase, the ESP benefit begins to decrease. This is because the cost of additional rented resources exceeds the return it brings, resulting in a decrease in ESP benefits. The above results show that based on the expected resources calculated by THOAS, appropriately renting additional resources can increase ESP benefits while maintaining costs. Under different δ, the performance of THOAS is better than other methods, which shows the superior performance of the proposed precise traffic prediction and adaptive network slicing in improving ESP benefits.
[0170] Next, the impact of the communication delay ratio ω on ESP benefits is analyzed. Fig.11As shown in the figure, as ω increases, the ESP benefits of different methods increase first and then decrease. This is because when ω is low, the restrictions on task upload time are stricter. In this case, ESP needs to allocate more subchannels to tasks, and the cost of ESP leasing resources will increase accordingly. As ω increases, there is more task upload time, so the above problems are alleviated. However, as ω continues to increase, the task queuing delay and execution delay will decrease accordingly. At this time, the execution frequency of the virtual machine in SAGIN may not meet the task requirements, causing some tasks to exceed their maximum tolerable delay, thereby reducing the ESP benefit. The above results show that THOAS splits the maximum tolerable delay into communication delay and computational delay, which can improve its perception of system requirements and thus improve the ESP benefit. Compared with PPO-TO, DDQN-TS and DQNM, the proposed THOAS can achieve the highest ESP benefit in different communication scenarios, indicating its superiority in dealing with the offloading problem in SAGIN.
[0171] The above is only a preferred embodiment of the present invention, and does not limit the present invention in other forms. Any technician familiar with the profession may use the above disclosed technical content to change or modify it into an equivalent embodiment with equivalent changes. However, any simple modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention without departing from the technical solution of the present invention still belongs to the protection scope of the technical solution of the present invention.
[0172] This patent is not limited to the above-mentioned optimal implementation mode. Anyone can derive other forms of traffic-aware lightweight layered offloading frameworks for adaptive slicing-enabled air-ground integrated networks under the inspiration of this patent. All equal changes and modifications made according to the scope of the patent application of this invention should be covered by this patent.
Claims
1. A traffic-aware lightweight hierarchical offloading framework for adaptive slicing-enabled air-ground integrated networks, It is characterized in that SAGIN is divided into CAP and COP, and network slicing is used to manage resources on each platform; ESP provides computing offloading services while allocating resources; For slice resource allocation, sparse probabilistic self-attention is used to capture dynamic traffic changes, and adaptive network slicing is performed based on the predicted traffic and system load. For computational offloading, the communication process and the computational process are separated, and sub-channels are allocated on demand based on channel conditions. Virtual machines are then assigned to tasks through a lightweight computational offloading algorithm. The converged strategy is refined into a lightweight neural network for online reasoning.
2. According to claim 1, the traffic-aware lightweight hierarchical offloading framework for adaptive slicing-enabled air-ground integrated networks, Features: At the beginning of the time slot, slice resources are adjusted according to historical traffic, load, and task completion. slice The adaptive network slicing algorithm is executed once in each time slot to determine whether to adjust the slice; then, the user sends what he needs to offload to the CAP closest to him. When both the base station and the drone are unavailable, the user sends the task to the satellite; after receiving the offloading request, ESP allocates a subchannel for the task and uploads it to the CAP; then, the user task is transmitted from the CAP to the COP through the dedicated link in SAGIN; when the CAP is the ground and satellite, the COP is the ground base station; when the CAP is a drone, the COP is the drone or the ground base station; after the task is transmitted to the COP, the lightweight computing offloading algorithm is called to assign the task to the corresponding virtual machine for execution, and the result is transmitted back to the user device after the calculation is completed; at the end of the time slot, ESP collects task completion status, system load and user traffic information for revenue calculation and slice adjustment.
3. According to claim 2, the traffic-aware lightweight hierarchical offloading framework based on adaptive slicing-enabled air-ground integrated network, Features: The adaptive network slicing algorithm specifically includes the following steps: Step 1: Predict future user traffic through the Transformer-based traffic prediction model; First, use historical traffic to construct the input of the encoder and decoder; where X his Indicates historical access traffic, X cur represents the traffic sequence collected in the current slice window, X 0 Represents the time sampling of the traffic sequence to be predicted; sparse probabilistic self-attention is used in the Encoder and self-attention distillation is used between layers to reduce computational overhead. The feature extraction process from layer j to layer j+1 is defined as: in,[·] attention represents sparse self-attention, and d is Conv1d represents a one-dimensional convolution on the time series, ELU is the activation function, and MaxPool is the maximum pooling operation. Then, the encoder output and the decoder input are sent to the decoder. The decoder consists of a layer of multi-head sparse probabilistic self-attention mechanism and a layer of multi-head attention mechanism. Finally, the encoder output is sent to MLP, and the future traffic prediction sequence is obtained after inference. Step 2: Calculate the expected system load. To accurately measure the slice load, define the communication load and computational load of the system respectively: the communication load in time slot t is expressed as the ratio of the used channel resources to the total channel resources, and the computational load is expressed as T que With T exe sum and After obtaining the system load, the expected resource demand is calculated by multiplying the historical load by the ratio of the expected traffic to the historical traffic. Step 3: Calculate the expected slice resources and determine whether to adjust the slices: 1+δ times the load peak is taken as the expected slice resources, where δ represents the proportion of additional resources purchased by the ESP; the benefit of adjusting the slices is defined as ΔP = ΔR - ΔC Where ΔR represents the difference between the expected ESP return after adjusting the slice and the expected ESP return of keeping the current slice, ΔC represents the difference between the ESP cost after adjusting the slice and the ESP cost of keeping the current slice, and the interruption cost caused by adjusting the slice is defined as Among them, T int Indicates the number of time slots required to adjust the slice; if the difference between the benefit generated by adjusting the slice and the interruption cost is greater than 0, the slice adjustment is triggered and the communication and computing slice resources are adjusted to B respectively. * and F * , otherwise keep the slice resource unchanged.
4. The traffic-aware lightweight hierarchical offloading framework for adaptive slicing-enabled air-ground integrated networks according to claim 2, Features: The lightweight computation offloading algorithm is a computation offloading method for dynamic task traffic and number of virtual machines to improve resource utilization in SAGIN and the benefit of ESP, and the interaction between the DRL agent and the SAGIN environment is defined as a Markov decision process.
5. The traffic-aware lightweight hierarchical offloading framework for adaptive slicing-enabled air-ground integrated networks according to claim 4, Features: In the Markov decision process, the state space, action space and reward function are defined as follows; State space: Contains the VM task queues of the ESP slices, task attributes, and user priorities for sending tasks; converts the maximum computational tolerable delay and the CPU cycles required for the task into computational frequencies to represent the computational resources required for the task; Action space: When the UAV's VM cannot meet the offloading requirements of all tasks, the task is forwarded to the BS for offloading; define action spaces that adapt to different scenarios: when the task is executed on the BS, the action space includes the target VM; when the task is executed on the UAV, the action space includes the target VM and forwarding to the BS for execution; use VM G It indicates that the task is forwarded to the BS via the SAGIN wireless link, and the task is reallocated to the virtual machine at the BS; Reward function: Based on the optimization goal, the reward function is defined as the gain obtained from completing the task; When a task is forwarded from the UAV to the BS, the reward is calculated at the BS; a positive value is used as the reward to distinguish between forwarded tasks and failed tasks.
6. The traffic-aware lightweight hierarchical offloading framework for adaptive slicing-enabled air-ground integrated networks according to claim 4, Features: In the lightweight computing offloading algorithm: First, initialize the network parameters and environment; for each received task, the state s t are all input into the participant network, and then the agent explores the unloading action in the current state according to π; After receiving the action, the SAGIN environment executes the action and feedbacks the status s of the next task t+1 , Instant Rewards t+1 and time slot state ω t , where ω t Indicates whether the task is the last task of the current time slot, which is used to calculate the discounted reward; then, the samples of the state transition function are stored in the buffer; When updating the network, in order to reduce the impact of noise caused by task attributes on gradient estimation, the generalized advantage estimate is introduced as the network update target, which is defined as δ t =R t +γV(s t+1 )-V(s t ) where γ is the reward discount rate, λ is the advantage function discount rate, and δ t is the time differential error, R t is the reward, V is the state value function; the discounted reward is calculated using the reward of the subsequent task in the current time slot, R t Defined as Using the clipping mechanism to ensure that each update is within a given range, the objective function of the policy update is defined as Where r(θ) is the ratio of the sample weights under the new strategy to the old strategy, which is defined as A two-level dynamic confidence interval is used, defined as follows where ∈ is the clip ratio, α t is a dynamic confidence factor, which is dynamically adjusted according to the timing differential error, α t Defined as κ is used to control the update speed of the dynamic confidence factor; then, by minimizing L critic (φ) optimizes the critic network, which is expressed as 50 critic (φ)=E(R t +γV(S t+1 )-V(S t )) 2 After all rounds of training, the converged strategy executes the offloading decision by interacting with SAGIN; In order to gain experience from the teacher model in SAGIN, the teacher model is used to interact with the environment and the state transition samples are stored in a buffer. Next, state transition samples are randomly selected from the buffer for policy distillation. For each sample, the teacher network’s strategy is used as the learning target, and the Adam optimizer is used to train the student network to output a similar action probability distribution as the teacher network. This process is considered supervised learning; the loss function is constructed using soft labels and KL divergence, which is defined as in, and are the action probability distributions output by the teacher model and the student model respectively, and τ is the temperature; the action probability is softmaxed as the distillation target.
7. The traffic-aware lightweight hierarchical offloading framework for adaptive slicing-enabled air-ground integrated networks according to claim 2, Features: The working process of the unloading framework includes the following steps: (1) Collect historical user traffic of ESP, predict future user traffic, and calculate the resource requirements required by ESP. ESP performs adaptive network slicing adjustment at regular intervals based on the resource requirements. (2) The infrastructure provider responds to the ESP's resource request, divides the network slice for it, and charges the corresponding cost; (3) The user accesses and uploads the computation offloading request to ESP through SAGIN; (4) Allocate CAP and COP to users based on their locations, and generate subchannel and VM allocation policies based on task attributes and user priorities; (5) During computation offloading, THOAS records the user traffic, status, actions taken, rewards obtained, and new status entered in each time slot, and continuously optimizes its own performance based on this information.
Citation Information
Patent Citations
Slice-based collaborative task unloading method in air-space-ground integrated Internet of Vehicles
CN116193396A
Task unloading method in space-air-ground network based on multi-target depth Q network
CN116431240A
Method for automatically regulating explicit congestion notification of data center network based on multi-agent reinforcement learning
US20240080270A1
Cited By
Unmanned aerial vehicle trajectory optimization and task offloading method facing air-space-ground integrated network
CN119907048A
A method for UAV trajectory optimization and task offloading for integrated air-space-ground networks
CN119907048B
