移动论坛系统的设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
近几年来,互联网技术为全球经济带来了革命性的影响,也改变了人们对世界的认识,但是它的影响力却由于条件的限制止步于电脑终端。而以手机、PDA等移动设备为终端的移动互联网技术弥补了它的不足,把网络延伸到每个人的口袋,真正做到无处不在,为原本高速发展的网络时代带来了更多的机遇。把互联网应用延伸到无线互联网上已经成为热点技术,基于J2ME和J2EE的移动论坛系统就是在这个大环境下应运而生的。
     本文首先分析了移动互联网应用的背景,看到了我国与国外在此领域的差距;然后介绍了相关的背景知识和对不同的技术进行了比较,结合J2ME与J2EE在移动应用中的优势,提出设计基于J2ME和J2EE的移动论坛系统技术;接着对本系统的特点进行分析,在考虑可维护性,可扩展性以及实用性的基础上确定了系统采用三层框架,即移动客户层,应用表示层,数据存储层;最后给出了系统各层关键部分的详细设计与实现。
     本文构建了一个基于J2ME和J2EE技术的移动论坛系统,该系统中用户可实现在线注册,身份验证,个人信息管理,好友管理,访问论坛,个人信箱等功能。其中个人信息管理分为:用户资料、公告栏、好友留言板等;系统采用六度空间理论来管理用户,好友采用分级管理,并且可以方便地查看任意用户与当前用户的六度关系;话题浏览具有树形结构浏览,归类浏览以及关键字搜索浏览等方式。
     采用J2ME和J2EE结合的方式使得系统具有很强的伸缩性、通用性、兼容性。并且本系统的核心技术还可推广到出其它类型的移动应用系统,如移动专家咨询系统,移动商务系统,手机在线游戏系统等。
In recent years, internet technology has brought a revolutionary impact on the global economy; it also changes the understanding of people about the world. But, its influence is limited to the computer terminal. And the mobile Internet technology which uses mobile phone as the terminals has made up for its shortages. It extends the network to everyone's pocket and makes the network be truly ubiquitous, and brings more opportunities to the high-speed development network. So, extending the network to wireless network has become a hot point. The Mobile forum system based on J2ME and J2EE is built in this environment.
     Firstly, this paper analyzes the background of mobile Internet application, which introduces the gap in the field between our country and the overseas countries. Secondly, introduces the relevant background knowledge and comparison between different technologies. This paper designs a mobile forum system based on J2ME and J2EE which uses the advantages of J2ME and J2EE in the mobile application. Thirdly, basing on the above discussion and analysis of the characteristics of the system and considering the maintainability, scalability and practicality, determines that the system uses three-layer framework. That is mobile client layer, application layer and data storage layer. Finally, presents the designation and implementation of the key part of the system in each layer.
     A mobile forum system based on J2ME and J2EE is built in this paper, and it can provide several functions for users, such as online register, figure validate, personal information management, friends management, accessing forum, personal mail box, etc. With the functions of personal information management, it includes these modules: users' data, bulletin board and message board, etc. This system uses six degrees of separation theory to manage the users, and then users can divide their friends into different degrees, with this management, the six dimension relationship between current user and any other one can be easily seen. Beside the two above, when the user accesses the forum, he can appear a new topic with the tree structure, except this, he can also use the same theme style to browse the forum, open the interesting topic from the searching results by key words.
     This system based on J2ME and J2EE is great flexibility, interchangeable, compatible. According the result of this paper researched, many other systems can be built such as mobile professor system, mobile electronic commerce, mobile games online and so on.
引文
[1] 付伟,朱悦冬.基于J2ME移动通讯设备软件的研究与开发.哈尔滨师范大学自然科学学报,2006(2):71-74.
    [2] 邓仲华.手机应用程序开发.北京:科学出版社,2004:65-66.
    [3] Andreas J, Helmut H. Programming interactive real-time games over WLAN for pocket PCs with J2ME and .NET CF. Computer Science, 2005(3):85-89.
    [4] Jiraporn B, Paul V.A Study of Application and Device Effects Between a WAP Phone and a Palm PDA. Computer Science, 2004(5):32-36.
    [5] Wright, William. J2ME and embedded systems. Dr. Dobb's Journal, 2003(28):54-58.
    [6] Kolsi O, Virtanen T. MIDP2.0 Security Enhancements. Dr. Dobb's Journal, 2004(11),75-77.
    [7] Bruce E. rhinking in Java. Prentice Hall, 2002:183-186.
    [8] 许向锋.基于J2ME的Java手机软件开发.微型机与应用,2002,21(1):35-36.
    [9] 侯晓强,徐春荣,勾海波.Java服务器编程实例.北京:清华大学出版社,2003:118-121
    [10] Mihailescu, Patrik. Optimising the performance of J2ME mobile applications. WSEAS Transactions on Systems, 2005(4):1891-1898.
    [11] Dennis K.Java面向对象程序设计教程.北京:机械工业出版社,2002:65-68.
    [12] 张申,张丽萍.电子商务系统的建立与数据仓库.交通与计算机,2006(1):59-61.
    [13] 鲁晓东,李育龙,杨健.JSP软件工程案例精解.北京:电子工业出版社,2005:76-92.
    [14] 张小玮.52ME无线平台应用开发.北京:清华大学出版社,2004:137-141.
    [15] 孙一林,彭波.Java数据库编程实例.北京:清华大学出版社,2005:97-102.
    [16] Michael,Yuan J.J2ME移动应用程序开发.北京:清华大学出版社,2004:43-48.
    [17] Deng Zhong-hua. Review of technique body based on J2ME forprogramming mobile phone games. Wireless Communications, Networking and Mobile Computing. 2005(2):147-151.
    [18] 王东民.基于J2ME技术的嵌入式系统的应用开发.计算机工程,2003,29(9):189-191.
    [19] 石乐义.基于J2ME/J2EE技术实现移动数据应用.微型机与应用,2004,23(9):10-12.
    [20] Erich G.李英军等译.设计模式—可复用面向对象软件基础.北京:机械工业出版社,2000:113-121.
    [21] 李敏,丁友东.Java图形与动画编程实例.北京:清华大学出版社,2003:142-145.
    [22] Kulkarni S. Device independent mobile application controller for remote administration of a server over a GPRS link using a J2ME cellular. Proceedings of the IEEE INDICON 2004-1st India Annual Conference, 2004:498-500.
    [23] 张秋余.基于J2ME的手机订票系统的研究.计算机应用与软件,2004,22(7):126-129.
    [24] 阎宏.Java与模式.北京:电子工业出版社.2002:35-39.
    [25] Paul J, Perrone, Venkata S R, Krishna R. J2EE Developer' sHandbook. Pearson Eductaion, 2003:62-65.
    [26] Thompson, Tom. Displaying GIF images on J2ME mobile phones. Dr. Dobb' s Journal, 2006 (31): 52-55.
    [27] Mikael H.无线XML开发人员指南.北京:清华大学出版社,2003:83-91.
    [28] Roman E, Scott A, Tyler J. Mastering enterprise JavaBeans second edition. John Wiley& Sons. 2004: 39-42.
    [29] 杨俊峰,吴晓,刘旭国等.基于MD5和RSA的数字签名系统的设计与实现.中国科技信息,2007(6):34-41.
    [30] 林碧英,赵锐,陈良臣.基于Lucene的全文检索引擎研究与应用.计算机技术与发展,2007(5):12-15.
    [31] 萨师煊,王珊.数据库系统概论.高等教育出版社,2002:62-65.
    [32] 谭莹宇,熊巍.基于C/s结构和SQL Server 2000的医院动态查询系统的设计.计算机与现代化,2007(11):78-83.