Research Article

A Study of AI-Oriented Development for HarmonyOS Applications

Zihan Wei*
Nanjing University of Posts and Telecommunications, No. 9 Wenyuan Road, Xianlin University Town, Nanjing City, China

* Corresponding author: [email protected]

Abstract

IoT and AI technologies are now deeply combined. The age of ubiquitous intelligence needs smarter applications. Huawei’s HarmonyOS is a distributed operating system for all scenarios. It provides a good platform for building smart IoT applications. But now, most studies about HarmonyOS application development only talk about common IoT tasks. There is no complete development method for adding AI functions. To solve this problem, this paper first looks at the current situation and difficulties of IoT and HarmonyOS application development. It points out the problems in supporting smart applications. Then, this paper puts forward an AI-based development method for HarmonyOS applications. It includes the whole process: setting up the environment, developing at the same time, distributed debugging, and putting applications into use. This method also explains the special benefits of combining HarmonyOS’s own AI modules, such as computer vision and natural language processing, with distributed technologies. To test if this method works well, the paper uses two examples: a "Smart Temperature and Humidity Monitoring and Early Warning System" and an "AI Visual Cleaning Robot." These examples show how to quickly build smart applications with edge computing and cross-device cooperation on the HarmonyOS platform. The results show that the development method given in this paper is useful. It helps developers use HarmonyOS’s AI functions fully. They can build high-performance smart applications for all kinds of IoT situations.

Keywords: OpenHarmony; IoT; AI applications; Software Development
Published: October 2, 2025
DOI: 10.54254/2755-2721/2025.LD27511
Volume: ACE Vol.184
pp. 187-195
Download PDF

References

  1. OpenHarmony. (2025). OpenHarmony operating system overview. https: //docs.openharmony.cn/pages/v4.1/zh-cn/OpenHarmony-Overview_zh.md
  2. Li, L., Gao, X., Sun, H., et al. (2023). Software engineering for OpenHarmony: A research roadmap. arXiv preprint arXiv: 2311.01311.
  3. Zhang, C., Li, X., & Wu, H. (2024). Application of HarmonyOS in wind tunnel data collection system. In Third International Conference on Electronic Information Engineering and Data Processing (EIEDP 2024) (Vol. 13184, pp. 932–936). SPIE.
  4. Liu, S., Rong, X., Li, S., et al. (2022). Design of HarmonyOS-based IoT system for wearable health monitoring. In International Conference on Internet of Things and Machine Learning (IoTML 2021) (Vol. 12174, pp. 66–71). SPIE.
  5. Ma, T., Zhao, Y., Li, L., et al. (2023). CiD4HMOS: A solution to HarmonyOS compatibility issues. In 2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE) (pp. 2006–2017). IEEE.
  6. Niu, Y., Zhou, L., & Liu, Z. (2022). A deep look at the code changes in OpenHarmony. In Asia-Pacific Web (APWeb) and Web-Age Information Management (WAIM) Joint International Conference on Web and Big Data (pp. 426–434). Cham: Springer Nature Switzerland.
  7. Tian, H., & Ye, K. (2023). CEESys: A cloud-edge-end system for data acquisition, transmission and processing based on HiSilicon and OpenHarmony. In International Conference on Metaverse (pp. 3–14). Cham: Springer Nature Switzerland.
  8. Xu, Y., Yang, J., Liang, D., et al. (2024). MQTT third-party library porting method and application based on the OpenHarmony standard system. In 2024 International Conference on Networking and Network Applications (NaNA) (pp. 305–310). IEEE.
  9. Chen, J., Zhuang, H., & Yang, M. (2023). A distributed vehicle-infrastructure cooperation system based on OpenHarmony. In International Conference on Cognitive Computation and Systems (pp. 258–271). Singapore: Springer Nature Singapore.
  10. Li, H., Zhang, B., Wu, Z., et al. (2024). A study on real-time monitoring of meter-driven data in power systems based on OpenHarmony. In 2024 International Conference on Artificial Intelligence and Power Systems (AIPS) (pp. 519–523). IEEE.
  11. Huawei. (2025). MindSpore: A new-generation all-scenario AI framework. https: //www.mindspore.cn/
  12. Redmon, J., Divvala, S., Girshick, R., & Farhadi, A. (2016). You only look once: Unified, real-time object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (pp. 779–788).
  13. OpenHarmony. (2025). Distributed RPC. https: //docs.openharmony.cn/pages/v4.1/zh-cn/application-dev/reference/apis-ability-kit/js-apis-inner-ability-wantAgent.md/