基于嵌入式系统的电子邮件处理软件的实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着掌上电脑这种功能强大、体积小巧、可灵活扩展的产品出现,掌上电脑决不再只是充当一个小小的个人信息管理工具了,更重要的是可以上网浏览、收发Email、发传真等,甚至还可以当作手机来用。而且,这些功能都还应该可以通过无线方式实现。然而就目前国内市场来说,并不是任何PDA都具备以上所有功能;即使具备,也可能由于缺乏相应的服务而不能实现。但可以预见,PDA发展的趋势和潮流就是计算、通信、网络、存储、娱乐、电子商务等多功能的融合。
     摩托罗拉公司的龙珠系列微处理器是专用于高级信息处理设备的芯片,在移动手持设备市场上占据领导地位。占据了全世界掌上电脑市场的75%以上的份额。基于Palm OS的PDA产品,其微处理器全是龙珠芯片。
     掌上电脑具有连网功能可以说是应具有的基本功能。通过对消费者的需求调查,用户对互联网业务提供种类需求的排名:Email首当其冲,认为是PDA和掌上电脑必备功能之一的占到90%左右。因此,各个PDA厂家都分别推出了自己的具有连网功能的产品。其中比较出名的有:国产联想的Pocket PC天玑5000,美国惠普的Jornada545/548,日本CASIO的E-125等,采用的是Windows CE操作系统;国产方正的风行180,长城公司的长城掌上王2001,美国Palm公司的Palm ⅥⅨ等,采用的是Palm OS操作系统;都具有通过外置Modem(或通过手机无线上网)快速上网,收发Email等功能。但也有不足之处:例如限制用户发送的电子邮件大小,有些厂家的产品限制每封邮件的大小要在200个汉字之内等:不具有邮件加密功能,而加密邮件在现今的商务活动中愈加显得重要;不具有发送附件的功能,而发送附件在某些行业应用中又是必不可少的功能。
     本文从掌上电脑的实际硬件条件出发,结合TCP/IP协议簇的相关标准,给出了一个电子邮件处理软件的总体设计方案;给出了一个软协议栈的实现方法。利用相关的RFC标准,实现了接收电子邮件和发送电子邮件的功能。其可以收发附件的功能和邮件加密功能是目前国内厂家生产的掌上电脑上所不具备的。
At present,PDA is not only used as a personal information manager,but also used to browse the websites,reccive and send email,even used as a mobile phone etc.But now,not every PDA has these functions.
    Motorola's DragonBall family of microprocessors has demonstrated leadership in the portable handheld market.Motorola's microprocessor is found in more than 75% of all the world's PDAS.Additionally,it's featured in all products based on Palm OS shipped tliroughout the world.At present,there are some products with Email functions.But there are also many limitations to customers,such as limiting the text length ,not support pending email with attachments etc.Actually,sending email attachments is an important function at some cases.
    In this paper, the author presents a way to design an email-processed software.Showing a method of i implementing a soft protocol stack .Using the related RFC standards,the author realizes these functions receiving Emails and displaying them properly ..sending Emails with attachments through modem (or mobile phone).supporting encrypting email's content.
引文
[1] W.Richard Stevens“TCP/IP详解卷1:协议”机械工业出版社(2000)。
    [2] DOUGLAS E.COMER“用TCP/IP进行网际互连第1卷:原理,协议和体系结构”电子工出版社(1998)。
    [3] J. Postel "User Datagram Protocol" RFC(768).
    [4] W. Simpson"The Point-to-Point Protocol (PPP)",RFC(1548).
    [5] W. McGregor"The PPP Internet Protocol Control Protocol (IPCP)",RFC(1332).
    [6] J. Romkey"A NONSTANDARD FOR TRANSMISSION OF IP DATAGRAMS OVER SERIAL LINES:SLIP",RFC(1055).
    [7] J. Postel"INTERNET PROTOCOL DARPA INTERNET PROGRAM PROTOCOL SPECIFICATION" RFC(791).
    [8] J. Postel "TRANSMISSION CONTROL PROTOCOL DARPA INTERNET PROGRAM PROTOCOL SPECIFICATION" RFC(793).
    [9] Jonathan B.Postel "SIMPLE MAIL TRANSFER PROTOCOL" RFC (821).
    [10] N. Borenstein "MIME (Multipurpose Internet Mail Extensions) Part One: Mechanisms for Specifying and Describing the Format of Internet Message Bodies" RFC(1521).
    [11] David H. Crocker"STANDARD FOR THE FORMAT OF ARPA INTERNET TEXT MESSAGES" RFC(822).
    [12] P. Mockapetris"DOMAIN NAMES-CONCEPTS AND FACILITIES" RFC(1034).
    [13] P. Mockapetris"DOMAIN NAMES-IMPLEMENTATION AND SPECIFICATION"RFC (1035).
    [14] J. Myers"Post Office Protocol-Version 3" RFC(1939).
    [15] M. Crispin "INTERNET MESSAGE ACCESS PROTOCOL-VERSION 4revl" RFC (2060).
    [1] Rivest, R., "The MD5 Message Digest Algorithm", RFC 1320, MIT and RSA Data Security, Inc., April 1992.
    [16] John Ray“TCP/IP开发使用手册”机械工业出版社(1999)。
    [17] 赵逢禹等“数据结构与C语言高级程序设计”北京航空航天大学出版社(1998)。