Linux系统具有开源、安全和稳定等特点,在各行各业得到了广泛应用,但开发过程繁琐导致的重复工作以及操作系统过于“碎片化”导致的兼容性等问题都会造成资源浪费。本文基于Yocto对嵌入式Linux系统进行定制化开发,同时运用容器技术有效解决了跨平台应用开发的兼容性问题。采用QEMU工具进行仿真测试,结果表明,跨平台的应用程序在定制系统的容器中成功运行,开发效率得到大幅提升。
Abstract
The Linux system has been widely used due to its open source,security and stability characteristics.However,the repetitive work caused by the cumbersome development process and the compatibility problems caused by the operating system being too "fragmented" will cause a waste of resources.This article is based on Yocto's customized development of the Linux system,and at the same time using container technology,it effectively solves the compatibility problem of cross-platform application development.And use the QEMU tool to carry out the simulation test,the results show that cross-platform applications run successfully in containers on custom systems,and the development efficiency is greatly improved.
关键词
系统定制 /
嵌入式系统 /
Docker /
Yocto
Key words
system customization /
embedded system /
Docker /
Yocto
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[1] 赵正旭,徐棚,张庆海.基于国产操作系统独立GUI应用研究[J].计算机系统应用,2021,30(9):98103.
[2] 杜登科,胡爱兰,李林峰,等.基于Yocto订制嵌入式Linux发行版[J].微型机与应用,2016,35(14):6870.
[3] 吴平凡.基于龙芯平台的Docker移植与优化方法研究[D].大庆:东北石油大学,2020:69.
[4] 张磊,杨静远,李晓龙.一种基于QEMU的仿真技术[J].信息技术与信息化,2021(4):8182.
[5] 孙雅妮.基于Docker的Web应用部署与实现[J].中阿科技论坛(中英文),2021(9):8789.
[6] 陈伟,叶宏杰,周家宏,等.基于领域知识的Docker镜像自动构建方法[J].大数据,2021,7(1):6475.
[7] 吴金坛,陈路路,李智鑫.虚拟机和容器超融合试验研究[J].计算机应用与软件,2021,38(9):1015,59.
[8] Min Su Chae,Hwa Min Lee,Kiyeol Lee.A performance comparison of linux containers and virtual machines using Docker and KVM[J].Cluster Computing,2019,22(1):17651775.
[9] 张琦.基于Docker的CaaS管理平台架构研究与设计[J].计算机应用与软件,2018,35(11):3341,54.
[10] Eddy Truyen.A Comprehensive Feature Comparison Study of OpenSource Container Orchestration Frameworks[J].Applied Sciences,2019,9(5).