Multi-device task scheduling optimization algorithm in HarmonyOS distributed environment

To address the issue that existing scheduling algorithms do not fully utilize the low-latency communication and heterogeneous hardware virtualization capabilities of the HarmonyOS distributed soft bus, this paper proposes the IMOPSO (Improved Multi-Objective Particle Swarm Optimization) algorithm, which integrates a soft bus latency-aware model and heterogeneous computing power factors. First, an end-to-end latency matrix is established based on a customized UDP (User Datagram Protocol) of the HarmonyOS distributed soft bus, and the current load and energy efficiency ratio of each device’s CPU (Central Processing Unit), GPU (Graphics Processing Unit), and NPU (Neural Processing Unit) are collected in real time to construct a heterogeneous computing power factor matrix. This matrix serves as the input constraint for the particle swarm optimization, with each particle using a real-number encoding to map subtasks to the target device. The speed update formula incorporates a joint heuristic term combining the soft bus latency gradient and computing power heat. The fitness function has a dual objective: minimizing the task completion time and the weighted sum of multi-device energy consumption. An external archive is maintained through Pareto dominance, and the latency and computing power matrices are dynamically updated during iteration. When device changes are detected, Gaussian perturbation is used for reinitialization. Experimental results show that the proposed algorithm reduces the average task completion time to 1198.5 ms and the total system energy consumption to 9.88 J, the IMOPSO algorithm recovers stability within 12 scheduling steps for concurrent device changes and within 11 steps for channel quality mutations, with the Pareto front covering a more optimal region. The proposed method demonstrates the deep coupling between the scheduling strategy and the underlying characteristics of HarmonyOS.

Authors

Institutions

Publication Details

Journal
Discover Applied Sciences
Published
2026-12-03
DOI
https://doi.org/10.1007/s42452-026-09978-z
Primary Topic
IoT and Edge/Fog Computing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Multi-device task scheduling optimization algorithm in HarmonyOS distributed environment

Ran Li
Discover Applied Sciences
IoT and Edge/Fog Computing
article

Multi-device task scheduling optimization algorithm in HarmonyOS distributed environment

Ran Li
article en

Abstract

To address the issue that existing scheduling algorithms do not fully utilize the low-latency communication and heterogeneous hardware virtualization capabilities of the HarmonyOS distributed soft bus, this paper proposes the IMOPSO (Improved Multi-Objective Particle Swarm Optimization) algorithm, which integrates a soft bus latency-aware model and heterogeneous computing power factors. First, an end-to-end latency matrix is established based on a customized UDP (User Datagram Protocol) of the HarmonyOS distributed soft bus, and the current load and energy efficiency ratio of each device’s CPU (Central Processing Unit), GPU (Graphics Processing Unit), and NPU (Neural Processing Unit) are collected in real time to construct a heterogeneous computing power factor matrix. This matrix serves as the input constraint for the particle swarm optimization, with each particle using a real-number encoding to map subtasks to the target device. The speed update formula incorporates a joint heuristic term combining the soft bus latency gradient and computing power heat. The fitness function has a dual objective: minimizing the task completion time and the weighted sum of multi-device energy consumption. An external archive is maintained through Pareto dominance, and the latency and computing power matrices are dynamically updated during iteration. When device changes are detected, Gaussian perturbation is used for reinitialization. Experimental results show that the proposed algorithm reduces the average task completion time to 1198.5 ms and the total system energy consumption to 9.88 J, the IMOPSO algorithm recovers stability within 12 scheduling steps for concurrent device changes and within 11 steps for channel quality mutations, with the Pareto front covering a more optimal region. The proposed method demonstrates the deep coupling between the scheduling strategy and the underlying characteristics of HarmonyOS.

Discover Applied Sciences
Jingchu University of Technology (CN)
IoT and Edge/Fog Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon