Flexible Task Scheduling Based on Edge Computing and Cloud Collaboration

Suzhen Wang, Wenli Wang, Zhiting Jia, Chaoyi PangComputer 2022

Abstract

With the rapid development and popularization of 5G and the Internet of Things, a number of new applications have emerged, such as driverless cars. Most of these applications are time-delay sensitive, and some deficiencies were found during data processing through the cloud-centric architecture. The data generated by terminals at the edge of the network is an urgent problem to be solved at present. In 5G environments, edge computing can better meet the needs of low delay and wide connection applications, and support the fast request of terminal users. However, edge computing only has the edge layer computing advantage, and it is difficult to achieve global resource scheduling and configuration, which may lead to problems of low resource utilization rate, long task processing delay, and unbalanced system load, affecting the service quality of users. To solve this problem, this paper studies task scheduling and resource collaboration based on a Cloud-Edge-Terminal collaborative architecture, proposes a genetic simulated annealing fusion algorithm, called GSA-EDGE, to achieve task scheduling and resource allocation, and designs a series of experiments to verify the effectiveness of the GSA-EDGE algorithm. The experimental results show that the proposed method can reduce the time delay of task processing compared with the local task processing method and the task average allocation method.

Introduction

Modern applications like autonomous driving and industrial IoT require "ultra-low latency"—they need to process data almost instantly. Traditional cloud computing is often too slow because data must travel to distant data centers. While edge computing brings processing closer to the user, individual edge nodes often lack the "big picture" of network resources, leading to overloaded nodes and wasted capacity.

This paper identifies this as a combinatorial optimization problem: how to distribute a complex task (split into many subtasks) across a heterogeneous network of terminals, edge servers, and the cloud to minimize both time and power usage. Because this is an NP-complete problem, finding the perfect solution in a reasonable timeframe is mathematically difficult.

The Cloud-Edge-Terminal Architecture

The paper introduces a three-tier model designed to bridge the gap between local devices and central data centers. Instead of a simple binary relationship between a device and a server, this model uses the cloud as a global coordinator.

Layered structure of the Cloud-Edge-Terminal collaborative architecture.

As shown in the architecture, the cloud manages the global scheduling and infrastructure, while edge servers (gateways and controllers) handle the immediate heavy lifting, and terminals handle initial data generation and local interface requirements.

The GSA-EDGE Algorithm

To optimize this architecture, the authors developed the GSA-EDGE algorithm, a fusion of two established optimization techniques:

  1. Genetic Algorithm (GA): This mimics evolution, "breeding" different scheduling solutions to find the best one. However, GAs often get stuck in "local optima" (good solutions that aren't the best possible solution).
  2. Simulated Annealing (SA): To fix the GA's weakness, the authors added an annealing factor. Much like cooling metal, this allows the algorithm to occasionally accept a "worse" solution in the short term to explore the broader search space, eventually settling on a superior global solution.
Functional block diagram showing task flow and decision-making units across the network layers.

Tasks are modeled using Directed Acyclic Graphs (DAGs), allowing the system to understand dependencies between subtasks. This functional flow ensures that the "Decision creating unit" in the Center Cloud can effectively offload tasks to the most appropriate processing unit, whether at the edge or the terminal.

Experimental Evaluation

The study used simulated data generated via Python to test the framework under various stress levels. The simulation varied the number of edge servers (10–100) and terminals (100–1000), modeling specific CPU capacities, memory ranges ($10^9$–$10^{10}$ bytes for edge servers), and transmission bandwidths.

Key Insights

  • The Necessity of Offloading: Simply moving tasks away from the terminal reduced total delay by a staggering 91.4% compared to local-only processing.
  • Global vs. Local: Edge computing alone is insufficient. Without the cloud acting as a manager to balance the load across multiple edge nodes, the system becomes inefficient.
  • Optimization Convergence: Experimental results showed the GSA-EDGE algorithm stabilizes and finds near-optimal solutions after approximately 300 iterations, consistently finding lower-latency schedules than standard Genetic Algorithms.

Results

The GSA-EDGE algorithm was tested against local processing and "average allocation" (distributing tasks evenly without optimization):

  • Speedup: GSA-EDGE reduced task processing time by 43.35% compared to average allocation methods.
  • Latency Reduction: Compared to processing tasks purely on the local terminal, the proposed method reduced delay by 77.67%.
  • Scalability: As the number of tasks increased (from 100 to 700), the performance gap between GSA-EDGE and standard algorithms widened, proving the fusion approach is robust for high-traffic 5G scenarios.

Conclusion and Future Work

While the results are promising, the paper relies on simulated environments. Real-world 5G networks involve unpredictable jitter and signal interference which require further modeling. Future research will focus on integrating big data platforms like Apache Spark, exploring multi-cloud access where tasks can be sent to different competing providers, and incorporating user mobility to handle handoffs between edge servers.

Summary updated

BibTeX
@inproceedings{wang2022flexible,
  author = {Suzhen Wang and Wenli Wang and Zhiting Jia and Chaoyi Pang},
  title = {{Flexible Task Scheduling Based on Edge Computing and Cloud Collaboration}},
  booktitle = {Computer},
  year = {2022},
  doi = {10.32604/csse.2022.024021},
}
Figure