Android-VirtualBox跨界编译及动态迁移云平台系统研发.doc
MACROBUTTONMTEditEquationSection2SEQMTEqn\r\hSEQMTSec\r1\hSEQMTChap\r2\h
题目:Android/VirtualBox跨界编译及动态迁移云平台系统研发
学院电子与信息学院
专业信息工程
摘要
Contiki微操作系统作为一种小型的,开源的,极易移植的微操作系统,在物联网日益发展的今天,因为它多平台特定设备工作实现6LoWPAN功能,它的RFC兼容TCP/IP堆栈功能,提供支持给6LoWPAN和很多关联标准,因此被广泛地用于无线网络传感器。本文主要详细地介绍了Contiki微操作系统在Android/Linux跨界编译的原理及过程,并且开发出Contiki系统在不同的Android/Linux虚拟机之间迁移的调度程序,这对于Contiki系统的多平台运行有重要的意义。
本文首先简要介绍了Contiki操作系统、GCC编译、交叉编译、TCP/IP通信和通信加密算法等跨界编译和调度的基础,并对Contiki系统架构、源代码和进程调度做了研究分析,通过建立交叉编译链,实现Contiki操作系统在Android/Linux的跨界编译。接着介绍了RSA_AES加密算法的原理和加密步骤,在此基础上实现Contiki系统在不同Linux虚拟机之间、Linux和Android之间的动态迁移。
从实验结果以及截图可知实现了Contiki系统在Linux和Android虚拟机的跨平台编译,并且实现了Contiki系统在不同Linux虚拟机之间、Linux和Android之间的动态迁移,一定程度上解决了题目的要求。
关键词:Contiki微操作系统;Linux;安卓虚拟机;跨平台编译;迁移
Abstract
MicroContikioperatingsystemisasmall,open-source,easy-to-transplantmicrooperatingsystem,ingrowingthingstoday,becauseitismoreworktoachieveaspecificdeviceplatform6LoWPANfunctionality,andithasaRFC-compliantTCP/IPstackfunctionsprovidesupportfor6LoWPANandmanyrelatedstandards,whichiswidelyusedinwirelesssensornetworks.ThispaperdescribesindetailtheprincipleandprocessofthemicroContikioperatingsystemtocompileinAndroid/Linuxplatform.AnditalsodevelopsthetransplantationprogrambetweendifferentAndroid/LinuxvirtualmachinesforContikisystem,whichisveryimportantforContikitoruninmulti-platformsystems.
Thispaperfirstbrieflyintroducessomebasicknowledgeofcrosscompilationandscheduling,suchasContikioperatingsystem,GCCcompilation,crosscompilation,TCP/IPcommunicationandsoon.NexttheContikisystemarchitecture,sourcecodeandprocessschedulingarestudiedandanalyzed,usingtheestablishmentofcrosscompilechain,thecrosscompilingofContikioperatingsysteminAndroid/Linuxisrealized.ThenitintroducestheRS