基于嵌入式linux远程升级设计与实现.rar

RAR格式版权申诉手机打开展开

基于嵌入式linux远程升级设计与实现,基于嵌入式linux远程升级设计与实现1.3万字52页包括开题报告和任务书摘要随着信息技术、计算机网络技术的迅猛发展和广泛普及,人们对internet的需求也越来越大,internet带来的好处也越来越得到体现,许多信息家电、智能仪表等设备接入到互联网成为可能,实现网络化、智能化的集中管理,从而带给人们更精彩、更方便的...
编号:58-35051大小:165.20K
分类: 论文>计算机论文

该文档为压缩文件,包含的文件列表如下:

内容介绍

原文档由会员 20023286 发布

基于嵌入式Linux远程升级设计与实现
1.3万字 52页
包括开题报告和任务书


摘要

随着信息技术、计算机网络技术的迅猛发展和广泛普及,人们对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] 鲍卫兵,杜丰,周云水.GPRS 在远程抄表终端中应用[J]. 浙江工业大学学报, 2006,34(4):420-425.
[2] 赵睿明,钱东平,秦瑞果.配电网电力线远程集中抄表系统[J]. 微计算机信息, 2006,22(8):130-133.
[3] 吴军基,王文斌,张鹏.基于GSM短消息远程抄表系统研究[J]. 电力自动化设备, 2006,26(4):53-56.
[4] 王子健, 张军;,罗喜伶。基于TFFS的嵌入式系统在线升级设计与实现[J]. 计算机工程,2006,13(91):72-74.


附录 服务器端源代码
/*server.c*/
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
......