您现在的位置:网站首页答辩论文计算机毕业设计计算机论文计算机软件

基于嵌入式Linux远程升级设计与实现

  • 简介:摘要:随着信息技术、计算机网络技术的迅猛发展和广泛普及,人们对Internet的需求也越来越大,Internet带来的好处也越来越得到体现,许多信息家电、智能仪表等设备接入到互联网成为可能,实现网络化、智能化的集中管
    类型:word    页数:52    字数:13497   
    资料包括:论文 任务书 开题报告   
  • 论文简介
  • 相关论文
  • 论文下载
摘要:随着信息技术、计算机网络技术的迅猛发展和广泛普及,人们对Internet的需求也越来越大,Internet带来的好处也越来越得到体现,许多信息家电、智能仪表等设备接入到互联网成为可能,实现网络化、智能化的集中管理,从而带给人们更精彩、更方便的生活方式。
近年来我国电力需求不断增加,供应日趋紧张。为了保证电网安全、正确地商业化运营,必须有一套计量精确、功能强大的自动抄表系统。因此也需要设计一个升级程序,实现对自动抄表系统的远程升级。本论文考虑的就是如何设计和实现基于嵌入式Linux的远程升级系统
如果人工逐一对这些程序升级,存在两个问题。其一,需要耗费大量人力和物力,其二,人工操作不如电脑精细和方便。本课题研究的是如何利用主站应用程序对数据采集器进行远程升级。本论文详细阐述了设计系统的整体思路,系统各功能的实现,利用自己设计出的规约来实现断点续传的基本原理。同时也介绍了多线程设计,以及简单的加密和压缩方法。

关键词:远程升级,多线程设计,断点续传

Based on embedded Linux remote update design and implement

ABSTRACT:Along with the technical fast development and extensive universalities of information and networks, the people's need to the Internet is also more and more big, the advantage that Internet bring also gets materialize more and more now, make equipments, such as many information appliances and the intelligence appearance... etc .connect go into the Internet to make possible, thus carry out the network to turn, the centralized management that intelligence turn, bring the people the more fascinating and more convenient life style.
Considering that the demand of electric power is increasing ceaselessly in recent years, and the supply become more and more embarrassed. In order to assure the safety of the electricity supply and put the running of electricity into a right commercial way, a powerful and exactly computing system to gain the data automatically is essential.So,it also need to design a system to make it update automatically. This paper is considering how to design and implement the remote update system which based on the embedded Linux.
Updating system by manual work exist two disadvantage.First,it must waste a lost of manpower and time.Second,manual work usually make mistakes, to be contrary, the computer can make the work much more efficiently and correctly. This subject is studying how to implement the remote update of data collect system by the application. this paper detailed discusses the thought of the system analysis, and the implement of the system function, and the principle of continue transferring from breakpoint which make use of the stipulations of an agreement designed by myself. At the same time , it also introduce the multithreading design, simply encrypt and compress method and so on.

Keywords: long-distance update, multithreading design, continue transferring from breakpoint


目录
1. 绪论 1
1.1本课题的目的和意义 1
1.2本课题的课题来源 2
1.3目前国内外的发展情况 2
2. 嵌入式Linux基础 5
2.1嵌入式Linux系统概述 5
2.2 Linux在嵌入式系统中的优势 6
2.3 嵌入式Linux系统的技术发展 7
3. 总体方案设计 8
3.1系统总体结构 8
3.2升级方式选择 9
3.3工具软件选择 10
4. 多进程和多线程设计 11
4.1 Linux下多进程编程 11
4.1.1 Linux下进程的结构 11
4.1.2 如何创建进程 11
4.1.3 Linux的进程与Win32的进程/线程的区别 12
4.2多线程设计 12
4.3多线程具体实现代码 13
5. 断点续传的基本原理 17
5.1 主站请求文件信息 17
5.2主站设置升级文件信息 18
5.3文件传输 19
5.4实现断点续传 20
6.远程升级流程图 22
6.1升级流程时序图 23
6.2升级流程活动图 24
7. 测试结果和分析 25
7.1文件传输 25
7.2断点续传 26
7.3 错误检测 27
8. 工作总结和展望 29
8.1总结 29
8.2毕业设计的主要工作 29
8.3下一步工作 29
致谢 30
参考文献 31
附录 服务器端源代码 32

1. 绪论
21世纪是一个充满挑战性的时代,科学技术日新月异,特别是计算机网络己经成为人们广泛使用的工具。随着网络及通信技术的飞速发展,Internet的越来越普及到人们的日常生活中,人们对Internet的需求也越来越大,Internet所带来的好处也越来越得到体现使许多的信息家电智能仪表等非PC设备接入到互联网成为可能,从而实现网络化、智能化的集中管理,带给人们更精彩、更方便的生活方式。产品的设计包括硬件设计和软件设计,每种产品的设计部不可能做到尽善尽美。尤其是软件部分,由于其灵活性较大,也往往是最容易出错的地方,在一种新产品刚推上市场的过程中,往往会发现系统中存在某种可修复的"BUG",一种情况是通过软件的修改就可达到日的,另一种情况是虽然产品的软、硬件都没有问题,但随着形势的发展,用户提出了更高的要求,这种情况能够通过修改软件就能达到。
由于目前非PC智能设备不能满足现在的科学技术发展的需求,而且受工作地点的限制,无远程升级功能,不能很好的对其升级。如果要使设备得到升级换代,根据以往的做法,一种方式是将整个仪器换掉,另一种方式就是派专业人员到现场对仪表“开膛破肚”进行升级,这两种方式都要投入大量的人力物力,以及可能造成设备损坏,资源浪费大,效率低,给应用方带来使用上的不便。
查看评论 已有0位网友发表了看法
  • 验证码: