基于OpenWrt的智能路由系统研究与实现
发布时间:2018-04-15 20:37
本文选题:智能家居 + 物联网 ; 参考:《大连理工大学》2016年硕士论文
【摘要】:传统的智能家居系统采用的是有线的连接方式,室内综合布线的要求较高,需要专业人员进行布线、维护,搭建系统的时间周期较长,费用较高,而且灵活性和扩展性都比较差,系统升级的难度较高。随着物联网的快速发展,智能家居系统被重新定义。在物联网快速发展的时代下,智能家居系统使用无线连接的方式,传统有线连接方式带来的弊端都已经不再存在,因此,智能家居行业最近几年发展十分迅速,产业规模逐渐增大,并且已经开始实现商用。人们对智能家居的认知度也逐渐增高。智能路由对比传统路由具有更加方便的设置与管理方式和更高的传输速度;传统路由建立的是一个不可更改的静态系统,而智能路由具有强大的扩展能力,建立的是一个动态的系统,可以在不改变系统的条件下根据需求动态添加和移除功能软件。鉴于智能路由具有这样的特点,现有的智能家居系统绝大多数都是利用智能路由器作为中心控制节点,使用手机等终端进行远程操控。而实现智能路由的功能需要对Linux的系统架构和网络协议有着足够的了解。现有路由生产厂商彼此之间并没有形成统一的系统标准,系统固件的兼容性较差,二次开发难度大,定制成本较高。OpenWrt系统作为高度模块化的嵌入式Linux系统,具有良好的扩展性;支持x86、PowerPC、MIPS、ARM等多种架构的处理器;建立动态系统环境,支持动态添加和移除功能软件,可定制性较高。因此,研究基于OpenWrt系统的智能路由具有重要的工程应用价值。本文对OpenWrt智能路由系统研究与实现使用的是基于稳定性较高、功耗较低的MIPS架构处理器的硬件平台。使用源码编译硬件引导程序U-boot,移植到硬件开发平台,以便系统软件对底层硬件的调用。搭建系统开发环境,使用OpenWrt系统的trunk版本源码进行系统开发,在系统基础固件上搭建文件服务器、离线脱机下载、自动监控等智能路由功能;定制LuCI主题等,以实现系统个性化定制;移植优化RT2860v2版本的无线驱动到系统基础固件之中。最终在基于MIPS架构的硬件开发平台上实现设定的全部功能并完成了系统测试。
[Abstract]:The traditional smart home system adopts wired connection mode, the requirement of indoor integrated cabling is high, it needs professional personnel to arrange wiring, maintain, build system time cycle is longer, cost is higher,And flexibility and scalability are relatively poor, the system upgrade is more difficult.With the rapid development of the Internet of things, smart home systems have been redefined.In the era of rapid development of the Internet of things, smart home systems use wireless connection mode, traditional wired connection mode has no longer existed, therefore, smart home industry has developed very rapidly in recent years.The scale of the industry has gradually increased, and has begun to achieve commercial.People's awareness of the smart home is also gradually increasing.Intelligent routing is more convenient to set up and manage than traditional routing and has higher transmission speed, traditional routing is a static system that can not be changed, and intelligent routing has a powerful ability to expand.What is built is a dynamic system, which can dynamically add and remove the function software according to the requirement without changing the system.In view of the characteristics of intelligent routing, most of the existing smart home systems use intelligent routers as the central control node, and use mobile phones and other terminals for remote control.To realize the function of intelligent routing, we need to have a good understanding of the system architecture and network protocol of Linux.The existing routing manufacturers do not form a unified system standard between each other, the system firmware compatibility is poor, the secondary development is difficult, the customization cost is high. OpenWrt system, as a highly modular embedded Linux system, has good expansibility.It supports many kinds of processors, such as X86 PowerPC, MIPSN arm and so on, and establishes dynamic system environment, supports dynamic adding and removing function software, and has high customizability.Therefore, the research of intelligent routing based on OpenWrt system has important engineering application value.In this paper, the research and implementation of OpenWrt intelligent routing system is based on the MIPS architecture processor with high stability and low power consumption.Use the source code to compile the hardware boot program U-boot. transplant to the hardware development platform, so that the system software to the underlying hardware call.Build the system development environment, use the trunk version of the OpenWrt system source code for system development, build file server on the system basic firmware, offline download, automatic monitoring and other intelligent routing functions, customize the LuCI theme, etc.In order to realize system customization, the wireless driver of optimized RT2860v2 version is transplanted into the system basic firmware.Finally, all the functions are realized on the hardware development platform based on MIPS architecture and the system test is completed.
【学位授予单位】:大连理工大学
【学位级别】:硕士
【学位授予年份】:2016
【分类号】:TN915.05;TU855
【引证文献】
相关期刊论文 前1条
1 马良;;基于OpenWrt对路由器的智能扩展[J];电脑编程技巧与维护;2017年15期
,本文编号:1755677
本文链接:https://www.wllwen.com/guanlilunwen/chengjian/1755677.html