毕业论文___android、virtualbox跨界编译及动态迁移云平台系统研发.doc
文本预览下载声明
本科毕业设计(论文)
题目:Android/VirtualBox跨界编译
及动态迁移云平台系统研发
学 院 电子与信息学院
专 业 信息工程
学生姓名
学生学号
指导教师 陆以勤
提交日期 2015 年 5 月 20 日
摘 要
Contiki微操作系统作为一种小型的,开源的,极易移植的微操作系统。由于其对硬件平台要求较低,所以被广泛地用于无线网络传感器等低功耗应用场景。另外由于其小型化,给系统跨平台迁移提供了可能性。
本文首先简要介绍了Contiki操作系统、GCC编译、交叉编译、TCP/IP通信和通信加密算法等跨界编译和调度的基础,并对Contiki系统架构、源代码和进程调度做了研究分析。接着详细介绍了Contiki系统在Linux和Android虚拟机的跨平台编译,以及Contiki系统在不同Linux虚拟机之间、Linux和Android之间的动态迁移,为以后在大型并发运算系统架构上提供一个可行的参考方案。先将大计算量分解成若干个小的计算量,通过Contiki进程触发机制,让其运行在每个Contiki上。再通过平台的迁移自动运行,可实现多个Contiki的多方位交叉与计算并发,这对于Contiki系统的多平台运行有着重要意义,也这为以后物联网时代奠定一个新的系统解决方案。
实验结果及截图表明,本文建立相应的跨平台编译链,通过系统调用,在程序中实现了自动编译功能。并且通过建立网络传输通道,实现了不同平台间的动态迁移。这些也进一步验证了以Contiki为基础的计算并发系统解决方案的可行性。
关键词:Contiki微操作系统;Linux;安卓虚拟机;跨平台编译;迁移
Abstract
Micro Contiki operating system is a small, open-source, easy-to-transplant micro operating system.Because of its lower requirements for hardware platform, it is widely used in wireless network sensors and other low-power application scenarios.And because of its miniaturization, it provides the possibility for the system cross platform migration.
This paper first briefly introduces some basic knowledge of cross compilation and scheduling,such as Contiki operating system,GCC compilation,cross compilation,TCP/IP communication and so on.Next the Contiki system architecture, source code and process scheduling are studied and analyzed.Then this paper mainly introduces the automatic compiling and migrating of Contiki system between different Android/Linux virtual machines, which provides a feasible scheme for reference for the future in large-scale concurrent computing system architecture .First, the large amount of computation is decomposed into a number of small computational quantities.Using Contiki process trigger mechanism, it runs on each Contiki.Then through the migration of the platform autom
显示全部