基于Jabber的IM系统的研究与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
即时消息(IM)就是一种实时发送简短信息到在线用户的一种手段。即时消息结合了两个关键的技术—即时消息传递和存在信息—已经在互联网上很流行,并且产生了许多有趣的服务和特色。现在,即时消息服务正朝着移动领域发展,移动的即时消息增添了许多更吸引用户的特色。移动的即时消息主要的好处是访问即时消息服务变得更普遍,意味着用户能够交互即时消息和存在信息,不只是在电脑前。
     作者在本文中引入了即时消息系统如何支持移动性。设计了一个支持移动的即时消息系统原型—Jchat,它具有新的特点和功能。开源软件Jabber和它的开放的XML消息协议作为一个基本的即时消息的框架。在这个框架上,增加了支持无线设备用户的重要功能。Jchat为移动电话和桌面电脑提供客户端应用程序,它们分别是用Java 2 Micro Edition和Java 2 Standard Edition作为开发工具的。
     Jchat原型的基本特点是提供给用户具有扩展的感知信息。在存在的系统中,移动用户在不同的环境和设置中可能不能获得感知信息。在Jchat原型中,感知信息沿着三个不同的轴—存在,设备和内容。扩展的感知信息对于在移动环境中的用户改进通信是重要的。
     系统使用Jabber设计和实现,扩展Jabber支持移动性。
     研究了如下几个方向:
     ·真正的瘦客户端的处理,通过减少客户端的处理和通信
     ·单用户的多个同时活动的客户端
     ·在存在/感知协议里位置信息的集成
     ·对接收者,目标设备和位置的透明和不透明的消息的支持
Instant Messaging(IM) is a way of sending short,simple messages that are delivered immediately to online users.Instant Messaging combines two key technologies-instant message delivery and presence information-instant messaging services have proven popular on the Internet and have given birth to a range of other interesting services and features. Now,instant messaging services are moving to the mobile domain.The benefits of mobility adds a number of features to make it even more attractive to the user. The main added benefits is that access to IM services becomes ubiquitous,meaning that a user can access presence information and exchange IM messages ,not only when seated in front of a desktop PC
    In this thesis,the author has studied how support for mobility can be introduced in IM systems.New features and functionality is demonstrated in a prototype implementation of an EVI system with mobility support-Jchat.The open source software Jabber and its open XML message protocol is used as a framework for basic IM functionality.Upon this framework we added this functionality found important to support users on wireless devices. Jchat provides client applications for mobile phones and desktop PCs,developed with Java 2 Micro Edition and Java 2 Standard Edition,espectively
    Providing users with extended awareness information is a fundamental feature of the Jchat prototype, mobile users can be in different environments and settings not captured by the awareness information available in existing systems.The awareness information in Jchat is structured along three independent axes-presence,devices and context.Extended awareness information is important to improve communication between users in mobile environments.
    The system is designed and implemented using Jabber, extended to jabber support mobility.
    Several areas are to be investigated:
     handling of very thin clients, by reducing client processing and communication
    
    
     multiple simultaneously active clients for single person
     integration of location information in presence/awareness protocol
     support for both transparent and opaque messaging with respect to recipient, target device and location
引文
[1]. ICQ Web Page. http://www.icq.com
    [2]. Recinto, Ronald Shooting the messenger? Red Herring, 93, March 2001
    [3]. AOL Instant Messenger Web Page. http://www.aim.com/
    [4]. P Dourish and V. Bellotti. Awareness and Coordination in Shared Workspaces. ACM CHI'92, pages 107-114, 1999
    [5]. Chediak, Mark. Instant messaging gets serious. Red Herring, 103, Septemper,2001
    [6]. MSN Messenger Web Page. http://messenger.msn.no/
    [7]. Yahoo! Messenger Web Page. http://messenger.yahoo.com/
    [8]. DJ Adams. Programming Jabber. O'Reilly, 2002
    [9]. J.Miller et. al. Jabber RFC.http://www.ietf.org/internet-drafts/draft-millerjab er-00.txt,Feb 2002
    [10].M. Day, S. Aggarwal, G Mohr, and J. Vincent. Instant Messaging/Presence Protocol Requirements. RFC 2779, IETE Feb 2000
    [11]. M. Day, J. Rosenberg, and H. Sugano. A Model for Presence and Instant Messaging. RFC 2778, IETF,Feb 2000
    [12].张绿林,雷春娟等编著.WAP技术及应用.人民邮电出版社 2001,6
    [13]. Donald Baker et al. Providing Customized Process and Situation Awareness in the Collaboration Management Infrastructure. CoopIS, 1999
    [14]. Bonnie A. Nardi, Steve Whittaker, and Erin Bradner. Interaction and Outeraction: Instant Messaging in Action. CSCW, 2000
    [15]. Madoka Mitsuoka et al. Instant Messaging with Mobil Phones to Support Awareness. IEEE, 2001
    [16]. J.C. Tang, N. Yankelovic, J. Begole, M.V. Kleek, F. Li, and J. Bhalodia. Con-Nexus to Awarenex. SIGCHI, April 2001
    [17]. Fran Bushmann and others. Pattern-oriented Software Architecture, volumel. November 1995
    [18]. NanoXml and kNanoXml, http://nanoxml.sourceforge.net/index.html
    
    
    [19].Joseph Schmuller.UML基础、案例与应用.李虎等译.人民邮电出版社,2002-6
    [20].James Rumbaugh.Ivar Jacobson.Grady Booch.UML参考手册.姚淑珍.唐发根等译.2001-1
    [21].Ivor Horton.Java 2编程指南.李昭智等译.北京:电子工业出版社,2003-1
    [22].苗凯.XMPP安全机制分析.通信技术2003年第八期:P101-105
    [23].Dreamtech 软件研发组.即时消息传递系统编程源代码解析.李军等译.北京:电子工业出版社,2002-8
    [24].Douglas E.Comer.用TCP/IP进行网际互联 第一卷:原理、协议与结构蒋慧等译.北京:电子工业出版社,2003-1
    [25].Pallavi Jain,Shadab Siddiqui.J2EE 专业项目实例开发.王雷等译.中国水利出版社,2003-2
    [26].Steven Holzner.JAVA 2 技术内幕.江帆等译.中国水利出版社,2002-5
    [27].Al Williams.JAVA2 网络协议内幕.何雄等译.中国水利出版社,2002
    [28].Tom Myers,Alexander Nakhimovsky. JAVA XML 编程指南.王辉等译.北京:电子工业出版社,2001-4
    [29]. Peter Saint-Andre.How Subscription Work.Jabber, Inc.,June 2003
    [30]. Jabber, Inc. Advantages of Jabber as a Platform for Developing Collaborative Applications,May, 2002
    [31]. Jabber, Inc.The Presence Value of Presence:Leveraging your Instant Messaging Investment.August,2003
    [32]. Peter Saint-Andre.Jabber Technology Overview.Jabber, Inc.,June 2002
    [33]. D.J.Adams.Programming Jabber.O' Reilly,2002
    [34]. Stephen.Lee, Terence Smelser.Jabber Programming.M&T Books.2002
    [35]. Iain Shigeoka.Instant Messaging in Java.Manning. 2002
    [36].Didier Martin.XML 高级编程.机械工业出版社.2001
    [37]. T.Berners-Lee.RFC1630:Universal Resource Indentifiers in WWW. IETF, 1994-6
    [38].谢希仁.计算机网络.第二版.北京:电子工业出版社,2001
    [39]. ISO 8601:2000,Data Elements And Interchange Formats.
    [40].邵维忠,杨芙清.面向对象的系统分析.北京:清华大学出版社,1998
    [4l].Herbert Schildt.Java 2参考大全.张玉清等译.北京:清华大学出版社,2002
    
    
    [42].Aaron Walsh,Justin Couch,Daniel H.Steinberg.Java 2 宝典.何黎芳等译.北京:电子工业出版社,2001
    [43].Elliotte Rusty Harold.XML 宝典.第二版.马云等译.北京:电子工业出版社,2002
    [44].H.M.Deitel,P.J.Dertel.XML 编程技术大全.康博译.北京:清华大学出版社,2002
    [45]. W3C Organization.XML Specification Version 1.0.http://www.w3.org/XML
    [46].魏威,曾庆济等.统一消息服务系统的分析与设计.计算机工程.2002第28卷,P187-188
    [47]. M.Rose.RFC3117:On the Design of Application Protocol.IETF,2001
    [48]. J.Postel.RFC793:Transmission Control Protocol. IETF, 1981-9
    [49].Joseph Sinclair.再谈客户端的Java技术——利用Java平台的特性建造一个令人瞩目的系统.http://www-900.ibm.com/developerW-orks/cn/java/j-client/index.Shtml.2001年3月
    [50].Bruce Eckel 著,侯捷译.Java 编程思想.北京:机械工业出版社,2002
    [51].Michael Morrison,et al.XML 揭密.陆新年等译.北京:清华大学出版社,2001