Next Article in Journal
Applicability of Sun’s Empirical Relations for Non-Uniform Sediment in Jiaojiang Estuaries, Zhejiang, China
Next Article in Special Issue
Autonomous Control System with Passive Positioning for Unmanned-Aerial-Vehicle-Assisted Edge Communication in 6G
Previous Article in Journal
Secure and Efficient Federated Gradient Boosting Decision Trees
Previous Article in Special Issue
Software-Defined Heterogeneous Edge Computing Network Resource Scheduling Based on Reinforcement Learning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Lyapunov-Optimized Dynamic Task Offloading Strategy for Satellite Edge Computing

1
Innovation Academy for Microsatellites, Chinese Academy of Sciences, Shanghai 201210, China
2
University of Chinese Academy of Sciences, Beijing 100049, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(7), 4281; https://doi.org/10.3390/app13074281
Submission received: 8 March 2023 / Revised: 27 March 2023 / Accepted: 27 March 2023 / Published: 28 March 2023
(This article belongs to the Special Issue Edge Computing in 6G Networks)

Abstract

:
Satellite edge computing (SEC) has garnered significant attention for its potential to deliver services directly to users. However, the uneven distribution of receiving tasks among satellites in the constellation can lead to uneven utilization of computing resources. This paper proposes a task offloading strategy for SEC that aims to minimize the average delay and energy consumption of tasks by assigning them to appropriate satellite nodes. The approach uses Lyapunov optimization to convert the long-term optimization problem with task queue length constraints into an assignment problem within a single time slot and solve it based on the Hungarian algorithm. Experimental simulations have shown that the proposed algorithm performs better than other baseline algorithms.

1. Introduction

Satellite networks are widely utilized for emergency communications, navigation and positioning, earthquake relief, and other applications due to their wide coverage, high data transmission rates, large capacity, and ability to operate independently of geographical limitations. Low Earth orbit (LEO) satellites have attracted the attention of scholars owing to their numerous advantages, including minimal transmission delays, support for global on-demand access, and terminal miniaturization, among others [1]. Currently, several countries have launched their own LEO satellite communication projects to supplement terrestrial services, such as Starlink, OneWeb, and O3b. Nevertheless, the majority of current LEO satellite networks employ the bent-pipe mode of data transmission, which involves forwarding large amounts of user data to the ground center for processing through the LEO network. This approach often leads to substantial network loads and long transmission delays due to complex inter-satellite links (ISLs) [2]. Additionally, the underutilization of LEO satellite communication and computing resources often leads to significant resource waste [2].
Multi-access edge computing (MEC) is an emerging computing paradigm that proposes the use of computing and communication resources near the user edge for task processing, instead of relying on cloud-centric resources [3]. This approach allows for data processing to be executed on edge servers, whereas the ground command center is responsible for storing processing results and conducting further data analysis. Drawing inspiration from MEC technology, edge servers are now being deployed on LEO satellite networks, creating what is known as an edge computing satellite (ECS) [4]. In this architecture, in-orbit resources of LEO satellites can be used directly by ground users for task processing, effectively mitigating time delays and network load issues. However, owing to the varying service regions of satellite networks, there are differences in task loads between satellites. The design of a rational computing offloading strategy for a satellite constellation can ensure a more balanced task load among satellites, and expedite task completion.
Therefore, a collaborative task processing approach among LEO satellites (MLSCTP) is worthy of investigation as it can effectively mitigate issues related to high transmission delay and network congestion caused by long-distance satellite-ground link transmissions. Moreover, it addresses the problem of high computational latency resulting from the limited computing power of a single satellite. However, the research on MLSCTP still faces several significant challenges [1,5]:
  • The satellite topology is highly dynamic, and the ISLs are variable at different moments.
  • Each satellite node is hard to manage during its operational phase as the task load changes, making its computing and communication resources change rapidly.
  • No defined collaborative strategy between multiple LEO satellites to ensure efficient task scheduling while fully utilizing computing resources.
To address the issues mentioned above, this paper proposes a dynamic task offloading method based on the Lyapunov method and the Hungarian algorithm. In particular, for the computing offloading problem among satellites, the Lyapunov method is utilized to convert the long-horizon queue stability-constrained offloading problem into a single time-slot offloading optimization problem. Additionally, the problem is transformed into an assignment problem and solved using the Hungarian algorithm, which has low computational complexity and does not require any prior knowledge or multiple iterations to obtain optimal solutions. This approach provides a valuable reference for dynamic computing offloading among satellite constellations.
The contributions of this paper are summarized below:
  • Consider a satellite edge computing scenario where the satellites in a constellation receive varying task loads. Each mission can be offloaded to any other satellite in the constellation for collaborative computing via an ISL. This problem has not been extensively studied by scholars.
  • A strategy for offloading using the Lyapunov and Hungarian algorithms is proposed. The method is straightforward in principle, easy to implement, and has demonstrated superior performance compared with other benchmark algorithms.
The remainder of this paper is organized as follows. Section 2 summarizes the related work. In Section 3, we describe the system model and problem formulation. Additionally, Section 4 presents the proposed algorithm. Simulation results and analysis are presented in Section 5. Section 6 summarizes the paper.

2. Related Works

Dynamic task scheduling strategies for collaborative computing among multiple satellites play an essential role in edge computing-enhanced LEO satellite networks. At present, some scholars have carried out the research. Liu et al. [6] proposed a novel system of task-oriented intelligent network architecture to deal with the problems arising in edge computing-enhanced sky-ground-water integrated networks. Xie et al. [7] analyzed the feasibility of MEC-enabled satellites-ground converged networks for processing tasks on satellites. An architecture called STECN is proposed, which discusses the solutions and technical challenges of using the resources of its heterogeneous edge computing clusters for task processing. In the above literature, although the authors propose and emphasize the importance and feasibility of task scheduling and resource allocation for MEC-enabled satellite clusters, none of them elaborated on specific task scheduling strategy schemes.
Bradley et al. [8] proposed a model for orbital edge computing and described the power and software optimization of the orbital edge. Cui et al. [9] proposed a joint offloading and resource allocation scheme for satellite-assisted vehicle networking. Song et al. [10] proposed a satellite MEC framework for terrestrial IoT to minimize the energy consumption of IoT mobile devices. They also proposed a computational offloading and resource allocation scheme. In the above works, each of the authors proposed suitable task scheduling and resource allocation schemes; however, none of them included the strategy of multi-satellite cooperative computing in the research model.
Zhiyuan Ren et al. [11] proposed to form a satellite fog network using a small satellite formation and designing a task scheduling strategy using the improved particle swarm algorithm, which can reduce the task processing latency while meeting energy consumption constraints. However, this paper only considers formation flying satellites, whose topology will not change and has little reference value for task scheduling of highly dynamic LEO satellite constellations.
Xiaobo Guo et al. [1] proposed a satellites collaborative computing method using business graph drive in LEO satellite networks. In the paper, Guo combined the computing resources of multiple satellites and ISLs resources to schedule the task to the satellites on the transmission path for processing. However, the authors only considered the scheduling of a single task and did not consider the case of multiple tasks arriving in sequence. Wang Cheng et al. [12] proposed to use the steady-state matrix of time-expanded graphs to represent the steady-state topology of dynamic LEO satellite networks. Additionally, the author designed a diffusion algorithm based on the matrix to achieve optimal task assignment for LEO satellite networks, which could efficiently complete the computational tasks while meeting delay constraints. However, this paper only considered the scheduling algorithm for a single-task scenario.
Based on this problem, Min et al. [13] suggested using satellites to assist ground users in computational offloading, where multiple satellites can directly connect to ground users and provide offloading. However, due to orbital coverage issues, most satellites in the actual satellite constellation cannot connect directly to ground users and must be further offloaded through the inter-satellite link. Dong et al. [14] considered using the full satellite constellation for offloading, considering the effects of multi-hop delay and energy consumption. Li et al. [15] proposed offloading the computing tasks of ground users to the over-the-top satellite. To address the unevenness of satellite network nodes, they proposed transferring computational tasks on under-resourced satellite nodes to more resource-rich nodes for collaborative processing through inter-satellite links, using a linear programming approach to solve related problems. However, these authors only considered offloading problems within a single time slot, and dynamic offloading strategies for satellite-ground networks under multiple time slots have not been investigated.
Furthermore, Tao et al. [5] proposed to jointly study the collaborative computation and resource allocation among LEO satellite networks. In the paper, the user tasks are selected for Local computing or offloaded to the satellite for collaborative computing. Specifically, the arrival of tasks was modeled as a Poisson process, and the task completion rate was maximized under the delay constraint. However, the author only considered the metric of task completion rate and did not consider the impact on task processing delay and energy consumption. Besides that, the DQN algorithm uses an experience replay mechanism. The interaction of the algorithm with the environment requires a large amount of memory resources, which is not friendly to satellites with limited resources [16,17].
To address the shortcomings of the scenarios and algorithms in the aforementioned studies, this paper proposes a multi-task, multi-time slots, multi-satellites offloading scenario, and suggests a succinct and effective algorithm as the solution.

3. System Model and Problem Description

3.1. System Model

A typical architecture for satellite edge computing is first outlined, as shown in Figure 1. In this configuration, the LEO satellites are equipped with edge computing servers, to which computational tasks from ground users (e.g., ships, aircraft, monitoring devices, and mobile communication devices) are uploaded. It enables the direct processing of received tasks on the satellite nodes, without the need for traditional task transfer back to the ground cloud center for computing. The satellites can communicate with the surrounding satellites through ISLs. Meanwhile, in each time slot, information on the use of satellite resources and the received tasks information is transmitted to the ground station through the backhaul link. The ground station updates the offload decision in real time based on this information and sends it back to the satellite, taking into consideration the computing capabilities and task load status of each satellite in the constellation.
The aforementioned scenario involves a constellation of N satellites orbiting the Earth in a periodic manner, with each period being divided into multiple time slots of equal duration τ . At every time slot, each satellite can receive new tasks, which are defined by A i t = D i t , where D i t b i t represents the data amount of the task. Notably, the amount of user demand may vary depending on the geographic region covered by each satellite. For instance, in a given time slot, one satellite may be serving urban users, whereas another satellite remains idle over the ocean. In this scenario, the urban satellite could offload tasks to the idle ocean satellite for processing, effectively utilizing the constellation’s computing resources to their full potential. To illustrate this, not all satellite   k k N could receive a task A k t   at each time slot. The number of satellites that will receive a new task at each time slot, denoted by M M N , and   D i t follows a random distribution with a certain range λ m i n , λ m a x and is independent and identically distributed. The tasks received by each satellite can be offloaded to other satellite nodes via ISLs for assistance in processing. A simple task offload schematic is employed to depict the scheduling process, as shown in Figure 2.

3.2. Task Queue Model

The decision vector is defined as ο t = o 1 t , o 2 t , , o M t , in which o i t = o i 1 t , o i 2 t , , o i N t .   o i k t denotes the offload selection for time slot t, which will be defined as
  o i k t 0 , 1 , i 1 , 2 , , M , k 1 , 2 , , N .
The new task, A i t , is assigned to the k th satellite when o i k t = 1 , k 1 , 2 , , N . Furthermore, the task will remain in the   i th satellite for processing without being offloaded when o i k t = 1 , i = k . At time slot t , the quantity of data offloaded to the k th satellite is represented by the following equation
D k t = i = 1 M o i k t * D i t , i 1 , 2 , , M , k 1 , 2 , , N .
Specifically, to indicate that each task can only be offloaded to one satellite, we define
k = 1 N o i k t = 1 , i 1 , 2 , , M , k 1 , 2 , , N .
Furthermore, each satellite can only receive one task at a time slot. It is expressed as
i = 1 N o i k t = 1 , i 1 , 2 , , M , k 1 , 2 , , N .
The computational capacity of the satellite is denoted as   C k t   bit / s . This denotes the processing capacity of the k th satellite, measured in terms of the amount of data it can handle per unit time.
Then, at time slot t , the amount of data in the k th satellite’s task queue can be expressed as Q k t + 1 and is given by the following expression
Q k t + 1 = max Q k t C k t * τ + D k t , 0 , k 1 , 2 , , N .
Here, Q k 0 is initialized as zero for all k 1 , 2 , , N . Finally, we define the task queue stability requirement of the system [18] as follows:
lim T 1 T t = 0 T 1 E [ Q k t ] 0 , k 1 , 2 , , N .

3.3. Offloading Model

In this section, we will examine the impact of task offloading on both latency and energy consumption. Latency consists of four components: transmission latency, waiting latency, computation latency, and return latency. Typically, the return latency is negligible as the results are relatively small after computation. Energy consumption is comprised of two components: transmission energy and computational energy.
For the   k th satellite, if there are tasks offloaded at time slot t , the transmission latency can be calculated as follows:
T k t r a n s t = i = 1 M o i k t * D i t B * H o p i k t ,
in which B   represents the bandwidth of the ISL, and   H o p i k t   denotes the shortest hop from the i th satellite to the k th satellite at time slot t . It should be noted that, unlike fixed terrestrial networks, satellites move at high speeds, causing their topology to vary at different time slots. Therefore, the shortest hop between two satellites may vary at different time slots. However, the changing topology can be represented by a connection matrix [1], which allows us to obtain the shortest hop between any two satellites at any given time slot.
To prevent tasks from being split due to changes in the topology of the satellite network, we assume that the transmission time for a single hop does not exceed the length of a time slot τ   [18]. The propagation time for data is very short as the signal travels through space at the speed of light. Therefore, we ignore the propagation time to simplify the analysis.
The energy consumption associated with offloading to the k th satellite is defined as
E k t r a n s t = T k t r a n s t * P t r a n s ,
in which, P t r a n s   J / s is the transmission power of satellites.
T k c o m t = i = 1 M o i k t * D i t C k t , i 1 , 2 , , M .
The computational latency is defined as
And the computational energy consumption can be expressed as
E k c o m t = T k c o m t * P k c o m ,
in which, P k c o m   J / s is the computing power of the k th satellite. Furthermore, the waiting time for a task in the queue is defined as
T k w a i t t = Q k t   C k t .
Therefore, for the k th satellite, the latency at time slot t can be expressed as
T k t = T k t r a n s t + T k w a i t t + T k c o m t .
And the energy consumption is presented as
E k t = E k t r a n s t + E k c o m t .

3.4. Probelm Formulation

The optimization objective of this paper is to reduce the average weighted sum of latency and energy consumption over a long period of task offloading, while ensuring that the system queue is stable.
We define the cost function of offloading tasks to the k th satellite in time slot t   as C o s t = T k t + β * E k t , where β represents the weight assigned to energy consumption, reflecting its relative importance in the optimization problem. The optimization objective function can be defined as follows
P 1 :   min lim T 1 T t = 0 T 1 k = 1 N C o s t . s . t . 1 3 4 6

4. Task Offload Optimization Algorithm

4.1. Probelm Conversion

Long-term constraints and optimization objectives pose significant challenges to solving the optimization problem P 1 , primarily because obtaining task information for future time slots is challenging. P 1 can be characterized as a Markov decision process (MDP), which conventional MDP methods such as reinforcement learning can potentially address. However, the general MDP algorithm is highly complex, rendering it unsuitable for real-time communication requirements. Furthermore, the MDP algorithm requires storing the optimal action for each state, which can significantly occupy satellite storage space.
The Lyapunov optimization method is a promising online optimization approach that does not require a priori knowledge of statistical and future data [19]. One such approach is the Lyapunov-optimized dynamic task offloading strategy, which has been proposed by Dai et al. in their paper [20]. This approach optimizes the task offloading decision based on the Lyapunov optimization technique, which can effectively balance the trade-off between system stability and task completion time. Other recent studies in the field of mobile edge computing include the joint task offloading and resource allocation approach proposed by Jiang et al. [21]. The Lyapunov method can convert the optimization of long-term objectives into solving the minimal value for each time slot, based on theoretical principles.
First, we define the virtual task queues vector in the satellite constellation as
θ t Q 1 t , Q 2 t , , Q N t .
The Lyapunov function can be expressed as
L θ t 1 2 k = 1 N Q k t 2 .
The Lyapunov drift is defined as
Δ θ t = L θ t + 1 L θ t ,
which shows the variation in the system queue between two time slots. Analyze the Δ θ t as
Δ θ t = L θ t + 1 L θ t = 1 2 k = 1 N Q k t + 1 2 1 2 k = 1 N Q k t 2 1 2 k = 1 N Q k t C k t * τ + D k t 2 k = 1 N Q k t 2 = 1 2 k = 1 N Q k t 2 + 2 * k = 1 N Q k t * D k t C k t * τ + k = 1 N ( D k t C k t * τ 2 k = 1 N Q k t 2 = k = 1 N Q k t * D k t C k t * τ + 1 2 k = 1 N ( D k t C k t * τ 2 k = 1 N Q k t * D k t C k t * τ + 1 2 k = 1 N D k t 2 + ( C k t * τ ) 2 δ + k = 1 N Q k t * D k t C k t * τ
As D k t conforms to a random distribution with upper bound λ m a x and C k t is the satellite CPU’s computing capacity, 1 2 k = 1 N D k t 2 + ( C k t * τ ) 2 must have an exact max value δ at time slot t . Furthermore, we add up the k = 1 N T k t + β * E k t of each time slot to obtain
Δ θ t +   V k = 1 N T k t + β * E k t δ + k = 1 N Q k t * D k t C k t * τ + V k = 1 N ( T k t + β * E k t ) ,
in which V represents the weight to adjust the importance of the two metrics. The right half of the equation is called the drift plus penalty function. Summarize (19), and we can obtain
lim T 1 T ( t = 0 T 1 Δ θ t +   V k = 1 N T k t + β * E k t ) = lim T L θ t T + V T t = 0 T 1   k = 1 N T k t + β * E k t = lim T L θ t T + lim T V T t = 0 T 1   k = 1 N Cos t .
Hence, the long-term optimization problem P 1 is transformed into finding the offloading strategy for each time slot that minimizes the drift plus penalty function within that time slot. The objective function P 1   is converted to
P 2 : min O t , t ϵ T E δ + k = 1 N Q k t * D k t C k t * τ + V k = 1 N ( T k t + β * E k t ) . s . t . 1 3 4 #
Once P 2 is determined for all time slots, the solution for P 1 can be obtained. The optimal offloading strategy for each time slot can be computed based solely on the offloading decisions made during that time slot, without the need to consider offloading decisions made in other time slots. This greatly simplifies the optimization problem P 1 . The drift-plus-penalty algorithm is able to guarantee that the long-term constraint of a stable queue holds constantly, and similar proofs have been provided and will not be repeated in this paper [22,23]. Since the task queue of the LEO satellite satisfies boundedness assumptions, the proposed algorithm can achieve solutions that are arbitrarily close to optimal by setting V to a sufficiently large value while maintaining mean rate stable with O V for the virtual task queue [19].

4.2. Offloading Algorithm Based on The Hungarian Method

It is evident that for the transformed optimization objective P 2 , the offloading decisions for each time slot are sufficient to determine P 2 for that slot. Assuming that in cases where only a subset of the satellites in the constellation receives a new task at this time slot   ( M < N ) , a virtual task A l t = 0 is assigned to the remaining satellites. Specifically, in a specific time slot, the offloading decision o t   is defined as an N × N matrix, which is shown as
o = o 1 1 o 1 N o N 1 o N N .
It is supposed to find a specific offloading strategy π S to minimize P 2 , in which S is the set of all feasible solutions. Combined with constraints (1) (3) (4), the optimization problem P 2 can be defined as a classic assignment problem [24]. The Hungarian method is a widely adopted approach for solving this type of problem [24]. Referring to the offloading matrix o , we define a cost matrix of the same size as
L = L 1 1 L 1 N L N 1 L N N .
L i j L , i , j 1 , 2 , , N represents the value of objective function if task A i is offloaded to the j th satellite, which is calculated by   L i j = Q j t * D j t C j t * τ + V * ( T j t + β * E j t ) . The Hungarian method can solve the best matching that minimizes P 2 , i.e., the optimal solution of the problem by certain transformation. The detailed steps are shown below
  • For each row in the matrix L , identify its minimum entry and subtract it from all entries in that row;
  • For all entries L i j equal to 0, mark them as starred zeros, provided that there are no existing starred zeros in the same row or column;
  • Cover each column that contains a starred zero. If all columns are covered, proceed to Step 7;
  • Repeat the following procedure until all zeros in the matrix are covered: Find an uncovered zero and prime it. If there are no starred zeros in the same row as the primed zero, proceed to Step 5. Otherwise, cover this row and uncover the column containing the starred zero;
  • Continue to construct a series of alternating primed and starred zeros until no additional uncovered zeros can be found. Then, proceed to Step 6;
  • Locate the smallest entry among all uncovered entries in the matrix. Subtract this entry from all uncovered entries, and add it to all entries that are covered twice. Return to Step 4;
  • The algorithm terminates when all entries in the matrix are covered. The set of assignments corresponding to the starred zeros constitutes the optimal solution to the assignment problem.
According to the obtained optimal solution, then the optimization objective P 2 can be solved. The optimal solution for P 2 across all time slots is computed, followed by obtaining the optimal solution for P 1 . The procedure of the dynamic offloading algorithm that employs Lyapunov optimization and the Hungarian algorithm (DOALH) is shown in Algorithm 1.
Algorithm 1 The DOALH algorithm
Input: System parameter H o p , A t , C t , B ,   P t r a n s , P c o m , T
Algorithm
   1.
Obtain the optimization objective function based on P1;
   2.
Convert the objective function to P2 utilizing Lyapunov optimization;
   3.
For t < T:
     Using the Hungarian algorithm to determine the optimal offloading strategy in the specific time slot;
   4.
Counting the optimal solutions for all T time slots;
Output: The minimum mean value of Cost in T time slots
The complexity of the DOALH algorithm is T O N 2 .

5. Simulation and Analysis

5.1. Parameters Setting

The system has been constructed using the Iridium Next constellation [25]. To establish the specific simulation parameters of the DOALH algorithm, we referred to existing studies [1,11] and outlined them in Table 1. To validate the efficacy of the proposed algorithm, we present the following alternative approaches for comparison:
  • Local Computing (Local): All tasks are processed solely within the receiving satellite, without any computational offloading.
  • Greedy Offloading (Greedy): In each time slot, the task with the highest number of pending tasks is offloaded to the satellite with the lowest task queue for processing.
  • DQN Offloading (DQN): In a similar study, the authors modeled the computational offloading process as an MDP and used Deep Q-Networks (DQN) to determine the optimal offloading strategy. The reward function is set as P 2 [5].

5.2. Simulation Analysis

As we have previously analyzed, the value of V has a crucial impact on both the task queue length and the performance of the algorithm. As shown in Figure 3, M = 50 , β = 0.1 , B = 500 Mb / s (a) Average task queue length per satellite vs. V of DOALH algorithm; (b) Average task queue length per satellite vs. different algorithms. Figure 3a, when the value of V is small, the queue can be kept stable directly. However, when the value of V is large, the queue grows gradually and eventually converges to an approximately stable state. The stable length of the queue convergence is positively related to the value of V . As Figure 3b reveals, among the different algorithms, the DOALH algorithm guarantees the optimal solution for P 2 at each time slot, resulting in the shortest average queue length. The DQN algorithm adopts P 2 as the reward function, which also guarantees the convergence of the queue to a lower value. The Greedy algorithm also results in a shorter queue length compared with the Local algorithm due to its greedy strategy. The Local algorithm generates a large queue buildup because it only considers Local processing and does not make rational use of other available satellite resources.
According to Figure 4, the Greedy algorithm attains the highest average cost, primarily because it solely focuses on achieving an improved balance in the queue without considering the costs associated with delay and energy consumption resulting from ISL transmission. The Local and Greedy algorithms are simpler and are not impacted by the value of V , enabling them to maintain a consistent trend. However, both the DQN algorithm and the DOALH algorithm exhibit a substantial decreasing trend as the value of V increases. Eventually, they converge to a stable value. This phenomenon can be attributed to the fact that as the value of V increases, the algorithm places more emphasis on minimizing the C o s t incurred by the task, which allows it to achieve a more optimal solution. The simulation results align with the preceding analysis of the algorithm. Thus, V should be chosen for a good trade-off between the overall C o s t and the required task queue length.
Furthermore, we need to investigate the impact of the energy consumption weight β on performance. A larger β results in a higher weight of energy consumption. As demonstrated in Figure 5, the C o s t clearly increases as β increases. The algorithms exhibit linear growth, albeit with varying slopes, which correspond to the energy consumption per time slot of offloading strategies. The Greedy algorithm aims to balance the queue by offloading more tasks to other satellites, resulting in the highest energy consumption for offloading strategies. On the other hand, the DOLAH algorithm is capable of maintaining the lowest C o s t .
Next, we investigate the correlation between C o s t and the number of satellites that receive tasks during each time slot M . The value of M reflects the operational workload of the satellite constellation, where a larger value indicates that more tasks are assigned to satellites during each time slot, resulting in fewer idle satellites and computing resources in orbit. As depicted in Figure 6, the C o s t increases as M increases. This is due to the longer queue length of tasks with more tasks received in the constellation. With limited computational resources available to assist in processing, tasks require more waiting time. The DOALH algorithm always achieves optimal cost by ensuring that all satellite resources are fully utilized, regardless of the value of M .
The bandwidth of the ISL has a significant impact on the computational offload. In order to simulate both conventional band communication rates and possible future laser communication rates, the bandwidth was set between 100 Mb / s and 1000 Mb / s . This allows for an accurate assessment of the transmission capabilities of the link in relation to the offloading C o s t . The Local algorithm has remained largely unchanged, as it excludes the possibility of offloading tasks to other satellites for computational assistance. Changes in the bandwidth of ISLs do not have an impact on this algorithm. However, the other three algorithms have undergone various modifications. Specifically, the Greedy algorithm changes most significantly because it prioritizes offloading tasks to the satellite with the smallest queue for processing. Additionally, the DOALH algorithm still performs best, as depicted in Figure 7.
It is important to note that while the DQN algorithm showed some level of performance, it was not outstanding in comparison with the DOALH algorithm. Throughout the simulation, we made several parameter modifications to observe its performance, but it still fell short of the DOALH algorithm. Reinforcement learning algorithms typically require a large amount of historical data for training and a long training time to converge to a better solution. Additionally, their performance heavily depends on the algorithm parameter settings, making it challenging to implement in practical engineering applications. The DOALH algorithm, on the other hand, can quickly obtain optimal solutions without requiring any of the aforementioned information. As a result, it holds significant reference value for practical engineering applications.

6. Conclusions

We propose an offloading strategy for the dynamic task allocation problem in satellite constellations, utilizing a combination of Lyapunov and Hungarian algorithms. Firstly, we construct a dynamic model for task offloading among satellites and formulate an optimization problem that minimizes the average delay and energy consumption with a long-term constraint on the task queue length. To solve this problem, we employ Lyapunov optimization to convert the long-term optimization objective into an assignment problem within a single time slot. The Hungarian algorithm is then utilized to solve the resulting assignment problem. We validate the effectiveness of our algorithm through experimental simulations, investigating the impact of various parameters. Our results demonstrate the efficacy of our proposed approach.

7. Future Work

This paper provides some insights into the future deployment of satellite-based Internet services for terrestrial users. However, the offloading model proposed in this study remains relatively simplistic. Future research should aim to address the complexities introduced by the heterogeneity of satellite computing resources and communication capabilities, as well as the more uneven frequency of task generation. At the same time, this paper focuses solely on simulating the architecture of the Iridium NEXT constellation, and thus the impact of traditional satellite constellations on the proposed offloading strategy is explored. However, the potential impact of emerging giant constellations, such as Starlink, has yet to be studied. These factors are likely to further complicate the task offloading problem, and warrant further study.

Author Contributions

Conceptualization, Y.H.; Formal analysis, Y.H.; Investigation, Y.H.; Methodology, Y.H.; Project administration, W.G.; Software, Y.H.; Supervision, W.G.; Validation, Y.H.; Visualization, F.Z.; Writing—original draft, Y.H.; Writing—review and editing, F.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Guo, X.; Ren, Z.; Cheng, W.; Ji, Z. Inter-satellite cooperative computing scheme driven by business graph in leo satellite network. Space-Integr.-Ground Inf. Netw. 2021, 2, 35–44. [Google Scholar]
  2. Han, J.; Wang, H.; Wu, S.; Wei, J.; Yan, L. Task scheduling of high dynamic edge cluster in satellite edge computing. In Proceedings of the 2020 IEEE World Congress on Services (SERVICES), Online, 18–24 October 2020; IEEE: New York, NY, USA, 2020; pp. 287–293. [Google Scholar]
  3. Taleb, T.; Samdanis, K.; Mada, B.; Flinck, H.; Dutta, S.; Sabella, D. On multi-access edge computing: A survey of the emerging 5g network edge cloud architecture and orchestration. IEEE Commun. Surv. Tutor. 2017, 19, 1657–1681. [Google Scholar] [CrossRef] [Green Version]
  4. Tang, Q.; Fei, Z.; Li, B.; Han, Z. Computation offloading in leo satellite networks with hybrid cloud and edge computing. IEEE Internet Things J. 2021, 8, 9164–9176. [Google Scholar] [CrossRef]
  5. Leng, T.; Li, X.; Hu, D.; Cui, G.; Wang, W. Collaborative computing and resource allocation for leo satellite-assisted internet of things. Wirel. Commun. Mob. Comput. 2021, 2021, 4212548. [Google Scholar]
  6. Liu, J.; Du, X.; Cui, J.; Pan, M.; Wei, D. Task-oriented intelligent networking architecture for the space–air–ground–aqua integrated network. IEEE Internet Things J. 2020, 7, 5345–5358. [Google Scholar] [CrossRef]
  7. Xie, R.; Tang, Q.; Wang, Q.; Liu, X.; Yu, F.R.; Huang, T. Satellite-terrestrial integrated edge computing networks: Architecture, challenges, and open issues. IEEE Netw. 2020, 34, 224–231. [Google Scholar] [CrossRef]
  8. Denby, B.; Lucia, B. Orbital edge computing: Machine inference in space. IEEE Comput. Archit. Lett. 2019, 18, 59–62. [Google Scholar] [CrossRef]
  9. Cui, G.; Long, Y.; Xu, L.; Wang, W. Joint offloading and resource allocation for satellite assisted vehicle-to-vehicle communication. IEEE Syst. J. 2020, 15, 3958–3969. [Google Scholar] [CrossRef]
  10. Song, Z.; Hao, Y.; Liu, Y.; Sun, X. Energy-efficient multiaccess edge computing for terrestrial-satellite internet of things. IEEE Internet Things J. 2021, 8, 14202–14218. [Google Scholar] [CrossRef]
  11. Ren, Z.-Y.; Hou, X.-W.; Guo, K.; Zhang, H.-L.; Chen, C. Distributed satellite cloud-fog network and strategy of latency and power consumption. J. ZheJiang Univ. (Eng. Sci.) 2018, 52, 1474–1481. [Google Scholar]
  12. Wang, C.; Ren, Z.; Cheng, W.; Zheng, S.; Zhang, H. Time-expanded graph-based dispersed computing policy for leo space satellite computing. In Proceedings of the 2021 IEEE Wireless Communications and Networking Conference (WCNC), Nanjing, China, 29 March–1 April 2021; IEEE: New York, NY, USA, 2021; pp. 1–6. [Google Scholar]
  13. Jia, M.; Zhang, L.; Wu, J.; Guo, Q.; Gu, X. Joint computing and communication resource allocation for edge computing towards Huge LEO networks. China Commun. 2022, 19, 73–84. [Google Scholar] [CrossRef]
  14. Dong, F.; Huang, T.; Zhang, Y.; Sun, C.; Li, C. A Computation Offloading Strategy in LEO Constellation Edge Cloud Network. Electronics 2022, 11, 2024. [Google Scholar] [CrossRef]
  15. Chengcheng, L.; Yasheng, Z.; Chenhua, S. Computation Offloading for Satellite-based Edge Computing in LEO Satellite Network. Radio Commun. Technol. 2022, 48, 401–407. [Google Scholar]
  16. Zou, J.; Hao, T.; Yu, C.; Jin, H. A3c-do: A regional resource scheduling framework based on deep reinforcement learning in edge scenario. IEEE Trans. Comput. 2020, 70, 228–239. [Google Scholar] [CrossRef]
  17. Qi, F.; Zhuo, L.; Xin, C. Deep reinforcement learning based task scheduling in edge computing networks. In Proceedings of the 2020 IEEE/CIC International Conference on Communications in China (ICCC), Chongqing, China, 9–11 August 2020; IEEE: New York, NY, USA, 2020; pp. 835–840. [Google Scholar]
  18. Mao, Y.; Zhang, J.; Letaief, K.B. Dynamic computation offloading for mobile-edge computing with energy harvesting devices. IEEE J. Sel. Areas Commun. 2016, 34, 3590–3605. [Google Scholar] [CrossRef] [Green Version]
  19. Neely, M.J. Stochastic network optimization with application to communication and queueing systems. Synth. Lect. Commun. Netw. 2010, 3, 1–211. [Google Scholar]
  20. Dai, X.; Xiao, Z.; Jiang, H.; Alazab, M.; Lui, J.C.; Min, G.; Dustdar, S.; Liu, J. Task offloading for cloud-assisted fog computing with dynamic service caching in enterprise management systems. IEEE Trans. Ind. Inform. 2022, 19, 662–672. [Google Scholar] [CrossRef]
  21. Jiang, H.; Dai, X.; Xiao, Z.; Iyengar, A.K. Joint task offloading and resource allocation for energy-constrained mobile edge computing. IEEE Trans. Mob. Comput. 2022. [Google Scholar] [CrossRef]
  22. Li, N.; Hu, Y.; Chen, Y.; Zeng, B. Lyapunov optimized resource management for multiuser mobile video streaming. IEEE Trans. Circuits Syst. Video Technol. 2018, 29, 1795–1805. [Google Scholar] [CrossRef]
  23. Huang, C.; Wang, H.; Zeng, L.; Li, T. Resource scheduling and energy consumption optimization based on Lyapunov optimization in fog computing. Sensors 2022, 22, 3527. [Google Scholar] [CrossRef]
  24. Kuhn, H.W. The Hungarian method for the assignment problem. Nav. Res. Logist. Q. 1955, 2, 83–97. [Google Scholar] [CrossRef] [Green Version]
  25. Iridium. Available online: https://www.iridium.com/blog/iridium-next-review/ (accessed on 4 March 2023).
Figure 1. Satellites edge computing architecture.
Figure 1. Satellites edge computing architecture.
Applsci 13 04281 g001
Figure 2. Task Offload Schematic.
Figure 2. Task Offload Schematic.
Applsci 13 04281 g002
Figure 3. M = 50 , β = 0.1 , B = 500   Mb / s (a) Average task queue length per satellite vs. V of DOALH algorithm; (b) Average task queue length per satellite vs. different algorithms.
Figure 3. M = 50 , β = 0.1 , B = 500   Mb / s (a) Average task queue length per satellite vs. V of DOALH algorithm; (b) Average task queue length per satellite vs. different algorithms.
Applsci 13 04281 g003
Figure 4. M = 50 , β = 0.1 , B = 500   Mb / s Average   C o s t vs. V .
Figure 4. M = 50 , β = 0.1 , B = 500   Mb / s Average   C o s t vs. V .
Applsci 13 04281 g004
Figure 5. V = 10 , M = 50 , B = 500   Mb / s Average   C o s t vs. β .
Figure 5. V = 10 , M = 50 , B = 500   Mb / s Average   C o s t vs. β .
Applsci 13 04281 g005
Figure 6. V = 10 , β = 0.1 , B = 500   Mb / s Average   C o s t vs. M .
Figure 6. V = 10 , β = 0.1 , B = 500   Mb / s Average   C o s t vs. M .
Applsci 13 04281 g006
Figure 7. M = 50 , β = 0.1 , V = 10 Average   C o s t vs. ISL bandwidth.
Figure 7. M = 50 , β = 0.1 , V = 10 Average   C o s t vs. ISL bandwidth.
Applsci 13 04281 g007
Table 1. System parameters.
Table 1. System parameters.
Satellites   computational   capacity   C k   Mb / s [10, 12]
Number   of   satellites   in   the   constellation   N 6 × 11
The bound of random distribution   λ m i n , λ m a x Mb [10, 15]
Satellites transmission power P t r a n s   J / s 400
Satellites computational power P c o m   J / s [100, 200]
Length of one time slot τ   s 10
Simulation time slots   T 360
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Hu, Y.; Gong, W.; Zhou, F. A Lyapunov-Optimized Dynamic Task Offloading Strategy for Satellite Edge Computing. Appl. Sci. 2023, 13, 4281. https://doi.org/10.3390/app13074281

AMA Style

Hu Y, Gong W, Zhou F. A Lyapunov-Optimized Dynamic Task Offloading Strategy for Satellite Edge Computing. Applied Sciences. 2023; 13(7):4281. https://doi.org/10.3390/app13074281

Chicago/Turabian Style

Hu, Yifei, Wenbin Gong, and Fangming Zhou. 2023. "A Lyapunov-Optimized Dynamic Task Offloading Strategy for Satellite Edge Computing" Applied Sciences 13, no. 7: 4281. https://doi.org/10.3390/app13074281

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop