GithubHelp home page GithubHelp logo

amateur-rd / embedded-virtual-online-system Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 3.0 25.63 MB

Embedded-Virtual-Online-System(嵌入式虚拟在线实验系统),该系统支持批量用户同时进行嵌入式在线实验,并能够实现观测到嵌入式开发板的状态。

Java 4.25% JavaScript 58.18% Makefile 0.11% CSS 31.79% HTML 5.03% Shell 0.27% Perl 6 0.02% Python 0.33%

embedded-virtual-online-system's Introduction

Embedded-Virtual-Online-System

Embedded-Virtual-Online-System(嵌入式虚拟在线实验系统),该系统支持批量用户同时进行嵌入式在线实验,并能够实现观测到嵌入式开发板的状态。

需求描述

  • 服务器虚拟化为多个独立的虚拟机操作系统,用户可通过注册,获取账号密码,并获得自动分配的虚拟机,用户可以通过web访问到自己的系统。
  • 服务器通过USB转多路串口连接内网里的开发板,通过网线直连摄像头观察开发板。
  • 开发板ip地址固定,服务器虚拟机可以通过telnet远程登录到开发板。
  • 用户可以对操作进行管理,存储。设备可以对虚拟机进行管理,提供CPU、内存限制、系统快照,自动分配用户帐号密码。

技术路线

  • 虚拟化
    • Docker工具实现服务器虚拟化
  • Web访问
    • noVNC工具实现在线Web访问虚拟机
  • 系统实现
    • Java ssh2(Struts2 + Spring + Hibernate)实现整个系统的构建
  • 体系结构
    系统体系结构

功能实现

  • 使用Docker实现服务器虚拟化后,我们选取了桌面版的Docker镜像,在此基础上根据实验室需求构建了自己的桌面版的Docker镜像。
  • 使用开源工具noVNC实现Web在线访问虚拟机时,根据自身需求对noVNC源码进行了相关修改。具体实现方法可参考:教程

系统演示

系统演示
图1 系统演示

测试LED灯亮 图2 测试LED灯亮

embedded-virtual-online-system's People

Contributors

amateur-rd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

embedded-virtual-online-system's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.